2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.8.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.8.0'
274 PACKAGE_STRING
='wxWidgets 2.8.0'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os wx_top_builddir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET AROPTIONS NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING BK_DEPS GCC_PCH ICC_PCH BK_MAKE_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
789 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value
=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value
=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
861 ac_env_GST_LIBS_set
=${GST_LIBS+set}
862 ac_env_GST_LIBS_value
=$GST_LIBS
863 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value
=$GST_LIBS
867 # Report the --help message.
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
873 \`configure' configures wxWidgets 2.8.0 to adapt to many kinds of systems.
875 Usage: $0 [OPTION]... [VAR=VALUE]...
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
880 Defaults for the options are specified in brackets.
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
907 For better control, use the options below.
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
927 --x-includes=DIR X include files are
in DIR
928 --x-libraries=DIR X library files are
in DIR
931 --build=BUILD configure
for building on BUILD
[guessed
]
932 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
933 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short
| recursive
) echo "Configuration of wxWidgets 2.8.0:";;
944 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
945 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
952 --enable-gpe use GNOME PDA Environment features
if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL
for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C
++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
969 --enable-compat24 enable wxWidgets
2.4 compatibility
970 --disable-compat26 disable wxWidgets
2.6 compatibility
971 --disable-rpath disable use of rpath
for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig
(and derived
) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP
(requires wxProtocol
976 --enable-http use wxHTTP
(requires wxProtocol
977 --enable-fileproto use wxFileProto class
(requires wxProtocol
978 --enable-sockets use socket
/network classes
979 --enable-ole use OLE classes
(Win32 only
)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication
(wxSocket etc.
)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class
for getting backtraces
985 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class
for DLL loading
991 --enable-dynamicloader use
(new
) wxDynamicLibrary class
992 --enable-exceptions build exception
-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual
file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP
/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 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-constraints use layout
-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl
(Mac
)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context
2D drawing API
1046 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1047 --enable-prologio not available
; see contrib
1048 --enable-resources not available
; see contrib
1049 --enable-clipboard use wxClipboard class
1050 --enable-dnd use Drag
'n'Drop classes
1051 --enable-metafile use win32 metafiles
1052 --enable-controls use all usual controls
1053 --enable-accel use accelerators
1054 --enable-animatectrl use wxAnimationCtrl class
1055 --enable-button use wxButton class
1056 --enable-bmpbutton use wxBitmapButton class
1057 --enable-bmpcombobox use wxBitmapComboBox class
1058 --enable-calendar use wxCalendarCtrl class
1059 --enable-caret use wxCaret class
1060 --enable-checkbox use wxCheckBox class
1061 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1062 --enable-choice use wxChoice class
1063 --enable-choicebook use wxChoicebook class
1064 --enable-collpane use wxCollapsiblePane class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
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-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile
(Win32 only
)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images
(GIF
file format
)
1137 --enable-pcx use pcx images
(PCX
file format
)
1138 --enable-tga use tga images
(TGA
file format
)
1139 --enable-iff use iff images
(IFF
file format
)
1140 --enable-pnm use pnm images
(PNM
file format
)
1141 --enable-xpm use xpm images
(XPM
file format
)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1144 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1145 --disable-largefile omit support
for large files
1146 --disable-gtktest do not try to compile and run a
test GTK
+ program
1147 --disable-gtktest Do not try to compile and run a
test GTK program
1148 --disable-sdltest Do not try to compile and run a
test SDL program
1149 --enable-omf use OMF object format
(OS
/2)
1150 --disable-dependency-tracking
1151 don
't use dependency tracking even if the compiler
1153 --disable-precomp-headers
1154 don't use precompiled headers even
if compiler can
1157 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1158 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1159 --without-subdirs don
't generate makefiles for samples/demos/...
1160 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1161 --with-motif use Motif/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS-Windows
1166 --with-pm use OS/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1171 --with-libpng use libpng (PNG image format)
1172 --with-libjpeg use libjpeg (JPEG file format)
1173 --with-libtiff use libtiff (TIFF file format)
1174 --with-libxpm use libxpm (XPM file format)
1175 --with-libmspack use libmspack (CHM help files loading)
1176 --with-sdl use SDL for audio on Unix
1177 --with-gnomeprint use GNOME print for printing under GNOME
1178 --with-gnomevfs use GNOME VFS for associating MIME types
1179 --with-hildon use Hildon framework for Nokia 770
1180 --with-opengl use OpenGL (or Mesa)
1181 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1183 --with-regex enable support for wxRegEx class
1184 --with-zlib use zlib for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1197 Some influential environment variables:
1198 CC C compiler command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1201 nonstandard directory <lib dir>
1202 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1203 headers in a nonstandard directory <include dir>
1205 CXX C++ compiler command
1206 CXXFLAGS C++ compiler flags
1207 CXXCPP C++ preprocessor
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.8.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.8.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
=8
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
2185 DEFAULT_wxUSE_NANOX
=no
2187 DEFAULT_wxUSE_THREADS
=yes
2189 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2190 DEFAULT_wxUSE_OPTIMISE
=no
2191 DEFAULT_wxUSE_PROFILE
=no
2192 DEFAULT_wxUSE_NO_DEPS
=no
2193 DEFAULT_wxUSE_NO_RTTI
=no
2194 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2195 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2196 DEFAULT_wxUSE_RPATH
=yes
2197 DEFAULT_wxUSE_PERMISSIVE
=no
2198 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2199 DEFAULT_wxUSE_DEBUG_INFO
=yes
2200 DEFAULT_wxUSE_DEBUG_GDB
=yes
2201 DEFAULT_wxUSE_MEM_TRACING
=no
2202 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2203 DEFAULT_wxUSE_DMALLOC
=no
2204 DEFAULT_wxUSE_APPLE_IEEE
=no
2206 DEFAULT_wxUSE_EXCEPTIONS
=no
2207 DEFAULT_wxUSE_LOG
=yes
2208 DEFAULT_wxUSE_LOGWINDOW
=no
2209 DEFAULT_wxUSE_LOGGUI
=no
2210 DEFAULT_wxUSE_LOGDIALOG
=no
2212 DEFAULT_wxUSE_GUI
=yes
2213 DEFAULT_wxUSE_CONTROLS
=no
2215 DEFAULT_wxUSE_REGEX
=no
2216 DEFAULT_wxUSE_XML
=no
2217 DEFAULT_wxUSE_EXPAT
=no
2218 DEFAULT_wxUSE_ZLIB
=no
2219 DEFAULT_wxUSE_LIBPNG
=no
2220 DEFAULT_wxUSE_LIBJPEG
=no
2221 DEFAULT_wxUSE_LIBTIFF
=no
2222 DEFAULT_wxUSE_LIBXPM
=no
2223 DEFAULT_wxUSE_LIBMSPACK
=no
2224 DEFAULT_wxUSE_LIBSDL
=no
2225 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2226 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2227 DEFAULT_wxUSE_LIBHILDON
=no
2228 DEFAULT_wxUSE_ODBC
=no
2229 DEFAULT_wxUSE_OPENGL
=no
2231 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2232 DEFAULT_wxUSE_STACKWALKER
=no
2233 DEFAULT_wxUSE_DEBUGREPORT
=no
2234 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2235 DEFAULT_wxUSE_STD_IOSTREAM
=no
2236 DEFAULT_wxUSE_STD_STRING
=no
2237 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2238 DEFAULT_wxUSE_DATETIME
=no
2239 DEFAULT_wxUSE_TIMER
=no
2240 DEFAULT_wxUSE_STOPWATCH
=no
2241 DEFAULT_wxUSE_FILE
=no
2242 DEFAULT_wxUSE_FFILE
=no
2243 DEFAULT_wxUSE_STDPATHS
=no
2244 DEFAULT_wxUSE_TEXTBUFFER
=no
2245 DEFAULT_wxUSE_TEXTFILE
=no
2246 DEFAULT_wxUSE_SOUND
=no
2247 DEFAULT_wxUSE_MEDIACTRL
=no
2248 DEFAULT_wxUSE_GSTREAMER8
=no
2249 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2250 DEFAULT_wxUSE_INTL
=no
2251 DEFAULT_wxUSE_CONFIG
=no
2252 DEFAULT_wxUSE_FONTMAP
=no
2253 DEFAULT_wxUSE_STREAMS
=no
2254 DEFAULT_wxUSE_SOCKETS
=no
2255 DEFAULT_wxUSE_OLE
=no
2256 DEFAULT_wxUSE_DATAOBJ
=no
2257 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2258 DEFAULT_wxUSE_JOYSTICK
=no
2259 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2260 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2261 DEFAULT_wxUSE_LONGLONG
=no
2262 DEFAULT_wxUSE_GEOMETRY
=no
2264 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2265 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2266 DEFAULT_wxUSE_POSTSCRIPT
=no
2268 DEFAULT_wxUSE_CLIPBOARD
=no
2269 DEFAULT_wxUSE_TOOLTIPS
=no
2270 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2271 DEFAULT_wxUSE_DRAGIMAGE
=no
2272 DEFAULT_wxUSE_SPLINES
=no
2273 DEFAULT_wxUSE_MOUSEWHEEL
=no
2275 DEFAULT_wxUSE_MDI
=no
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2280 DEFAULT_wxUSE_RESOURCES
=no
2281 DEFAULT_wxUSE_CONSTRAINTS
=no
2282 DEFAULT_wxUSE_IPC
=no
2283 DEFAULT_wxUSE_HELP
=no
2284 DEFAULT_wxUSE_MS_HTML_HELP
=no
2285 DEFAULT_wxUSE_WXHTML_HELP
=no
2286 DEFAULT_wxUSE_TREELAYOUT
=no
2287 DEFAULT_wxUSE_METAFILE
=no
2288 DEFAULT_wxUSE_MIMETYPE
=no
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2290 DEFAULT_wxUSE_PROTOCOL
=no
2291 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2292 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2293 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2294 DEFAULT_wxUSE_URL
=no
2295 DEFAULT_wxUSE_VARIANT
=no
2297 DEFAULT_wxUSE_ABOUTDLG
=no
2298 DEFAULT_wxUSE_COMMONDLGS
=no
2299 DEFAULT_wxUSE_CHOICEDLG
=no
2300 DEFAULT_wxUSE_COLOURDLG
=no
2301 DEFAULT_wxUSE_DIRDLG
=no
2302 DEFAULT_wxUSE_FILEDLG
=no
2303 DEFAULT_wxUSE_FINDREPLDLG
=no
2304 DEFAULT_wxUSE_FONTDLG
=no
2305 DEFAULT_wxUSE_MSGDLG
=no
2306 DEFAULT_wxUSE_NUMBERDLG
=no
2307 DEFAULT_wxUSE_TEXTDLG
=no
2308 DEFAULT_wxUSE_SPLASH
=no
2309 DEFAULT_wxUSE_STARTUP_TIPS
=no
2310 DEFAULT_wxUSE_PROGRESSDLG
=no
2311 DEFAULT_wxUSE_WIZARDDLG
=no
2313 DEFAULT_wxUSE_MENUS
=no
2314 DEFAULT_wxUSE_MINIFRAME
=no
2315 DEFAULT_wxUSE_HTML
=no
2316 DEFAULT_wxUSE_RICHTEXT
=no
2317 DEFAULT_wxUSE_XRC
=no
2318 DEFAULT_wxUSE_AUI
=no
2319 DEFAULT_wxUSE_WEBKIT
=no
2320 DEFAULT_wxUSE_FILESYSTEM
=no
2321 DEFAULT_wxUSE_FS_INET
=no
2322 DEFAULT_wxUSE_FS_ZIP
=no
2323 DEFAULT_wxUSE_FS_ARCHIVE
=no
2324 DEFAULT_wxUSE_BUSYINFO
=no
2325 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2326 DEFAULT_wxUSE_ZIPSTREAM
=no
2327 DEFAULT_wxUSE_TARSTREAM
=no
2328 DEFAULT_wxUSE_VALIDATORS
=no
2330 DEFAULT_wxUSE_ACCEL
=no
2331 DEFAULT_wxUSE_ANIMATIONCTRL
=no
2332 DEFAULT_wxUSE_BUTTON
=no
2333 DEFAULT_wxUSE_BMPBUTTON
=no
2334 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2335 DEFAULT_wxUSE_CALCTRL
=no
2336 DEFAULT_wxUSE_CARET
=no
2337 DEFAULT_wxUSE_CHECKBOX
=no
2338 DEFAULT_wxUSE_CHECKLST
=no
2339 DEFAULT_wxUSE_CHOICE
=no
2340 DEFAULT_wxUSE_CHOICEBOOK
=no
2341 DEFAULT_wxUSE_COLLPANE
=no
2342 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2343 DEFAULT_wxUSE_COMBOBOX
=no
2344 DEFAULT_wxUSE_COMBOCTRL
=no
2345 DEFAULT_wxUSE_DATEPICKCTRL
=no
2346 DEFAULT_wxUSE_DISPLAY
=no
2347 DEFAULT_wxUSE_DETECT_SM
=no
2348 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2349 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2350 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2351 DEFAULT_wxUSE_GAUGE
=no
2352 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2353 DEFAULT_wxUSE_GRID
=no
2354 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2355 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2356 DEFAULT_wxUSE_IMAGLIST
=no
2357 DEFAULT_wxUSE_LISTBOOK
=no
2358 DEFAULT_wxUSE_LISTBOX
=no
2359 DEFAULT_wxUSE_LISTCTRL
=no
2360 DEFAULT_wxUSE_NOTEBOOK
=no
2361 DEFAULT_wxUSE_ODCOMBOBOX
=no
2362 DEFAULT_wxUSE_RADIOBOX
=no
2363 DEFAULT_wxUSE_RADIOBTN
=no
2364 DEFAULT_wxUSE_SASH
=no
2365 DEFAULT_wxUSE_SCROLLBAR
=no
2366 DEFAULT_wxUSE_SLIDER
=no
2367 DEFAULT_wxUSE_SPINBTN
=no
2368 DEFAULT_wxUSE_SPINCTRL
=no
2369 DEFAULT_wxUSE_SPLITTER
=no
2370 DEFAULT_wxUSE_STATBMP
=no
2371 DEFAULT_wxUSE_STATBOX
=no
2372 DEFAULT_wxUSE_STATLINE
=no
2373 DEFAULT_wxUSE_STATTEXT
=no
2374 DEFAULT_wxUSE_STATUSBAR
=yes
2375 DEFAULT_wxUSE_TAB_DIALOG
=no
2376 DEFAULT_wxUSE_TEXTCTRL
=no
2377 DEFAULT_wxUSE_TOGGLEBTN
=no
2378 DEFAULT_wxUSE_TOOLBAR
=no
2379 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2380 DEFAULT_wxUSE_TREEBOOK
=no
2381 DEFAULT_wxUSE_TOOLBOOK
=no
2382 DEFAULT_wxUSE_TREECTRL
=no
2383 DEFAULT_wxUSE_POPUPWIN
=no
2384 DEFAULT_wxUSE_TIPWINDOW
=no
2386 DEFAULT_wxUSE_UNICODE
=no
2387 DEFAULT_wxUSE_UNICODE_MSLU
=no
2388 DEFAULT_wxUSE_WCSRTOMBS
=no
2390 DEFAULT_wxUSE_PALETTE
=no
2391 DEFAULT_wxUSE_IMAGE
=no
2392 DEFAULT_wxUSE_GIF
=no
2393 DEFAULT_wxUSE_PCX
=no
2394 DEFAULT_wxUSE_TGA
=no
2395 DEFAULT_wxUSE_PNM
=no
2396 DEFAULT_wxUSE_IFF
=no
2397 DEFAULT_wxUSE_XPM
=no
2398 DEFAULT_wxUSE_ICO_CUR
=no
2399 DEFAULT_wxUSE_ACCESSIBILITY
=no
2401 DEFAULT_wxUSE_MONOLITHIC
=no
2402 DEFAULT_wxUSE_PLUGINS
=no
2403 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2405 DEFAULT_wxUSE_UNIVERSAL
=no
2406 DEFAULT_wxUSE_STL
=no
2408 DEFAULT_wxUSE_NANOX
=no
2410 DEFAULT_wxUSE_THREADS
=yes
2412 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2413 DEFAULT_wxUSE_OPTIMISE
=yes
2414 DEFAULT_wxUSE_PROFILE
=no
2415 DEFAULT_wxUSE_NO_DEPS
=no
2416 DEFAULT_wxUSE_NO_RTTI
=no
2417 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2418 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2419 DEFAULT_wxUSE_RPATH
=yes
2420 DEFAULT_wxUSE_PERMISSIVE
=no
2421 DEFAULT_wxUSE_DEBUG_FLAG
=no
2422 DEFAULT_wxUSE_DEBUG_INFO
=no
2423 DEFAULT_wxUSE_DEBUG_GDB
=no
2424 DEFAULT_wxUSE_MEM_TRACING
=no
2425 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2426 DEFAULT_wxUSE_DMALLOC
=no
2427 DEFAULT_wxUSE_APPLE_IEEE
=yes
2429 DEFAULT_wxUSE_EXCEPTIONS
=yes
2430 DEFAULT_wxUSE_LOG
=yes
2431 DEFAULT_wxUSE_LOGWINDOW
=yes
2432 DEFAULT_wxUSE_LOGGUI
=yes
2433 DEFAULT_wxUSE_LOGDIALOG
=yes
2435 DEFAULT_wxUSE_GUI
=yes
2437 DEFAULT_wxUSE_REGEX
=yes
2438 DEFAULT_wxUSE_XML
=yes
2439 DEFAULT_wxUSE_EXPAT
=yes
2440 DEFAULT_wxUSE_ZLIB
=yes
2441 DEFAULT_wxUSE_LIBPNG
=yes
2442 DEFAULT_wxUSE_LIBJPEG
=yes
2443 DEFAULT_wxUSE_LIBTIFF
=yes
2444 DEFAULT_wxUSE_LIBXPM
=yes
2445 DEFAULT_wxUSE_LIBMSPACK
=yes
2446 DEFAULT_wxUSE_LIBSDL
=no
2447 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2448 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2449 DEFAULT_wxUSE_LIBHILDON
=no
2450 DEFAULT_wxUSE_ODBC
=no
2451 DEFAULT_wxUSE_OPENGL
=no
2453 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2454 DEFAULT_wxUSE_STACKWALKER
=yes
2455 DEFAULT_wxUSE_DEBUGREPORT
=yes
2456 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2457 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2458 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2459 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2460 DEFAULT_wxUSE_DATETIME
=yes
2461 DEFAULT_wxUSE_TIMER
=yes
2462 DEFAULT_wxUSE_STOPWATCH
=yes
2463 DEFAULT_wxUSE_FILE
=yes
2464 DEFAULT_wxUSE_FFILE
=yes
2465 DEFAULT_wxUSE_STDPATHS
=yes
2466 DEFAULT_wxUSE_TEXTBUFFER
=yes
2467 DEFAULT_wxUSE_TEXTFILE
=yes
2468 DEFAULT_wxUSE_SOUND
=yes
2469 DEFAULT_wxUSE_MEDIACTRL
=no
2470 DEFAULT_wxUSE_GSTREAMER8
=no
2471 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2472 DEFAULT_wxUSE_INTL
=yes
2473 DEFAULT_wxUSE_CONFIG
=yes
2474 DEFAULT_wxUSE_FONTMAP
=yes
2475 DEFAULT_wxUSE_STREAMS
=yes
2476 DEFAULT_wxUSE_SOCKETS
=yes
2477 DEFAULT_wxUSE_OLE
=yes
2478 DEFAULT_wxUSE_DATAOBJ
=yes
2479 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2480 DEFAULT_wxUSE_JOYSTICK
=yes
2481 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2482 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2483 DEFAULT_wxUSE_LONGLONG
=yes
2484 DEFAULT_wxUSE_GEOMETRY
=yes
2486 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2487 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2488 DEFAULT_wxUSE_POSTSCRIPT
=yes
2490 DEFAULT_wxUSE_CLIPBOARD
=yes
2491 DEFAULT_wxUSE_TOOLTIPS
=yes
2492 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2493 DEFAULT_wxUSE_DRAGIMAGE
=yes
2494 DEFAULT_wxUSE_SPLINES
=yes
2495 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2497 DEFAULT_wxUSE_MDI
=yes
2498 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2499 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2500 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2502 DEFAULT_wxUSE_RESOURCES
=no
2503 DEFAULT_wxUSE_CONSTRAINTS
=yes
2504 DEFAULT_wxUSE_IPC
=yes
2505 DEFAULT_wxUSE_HELP
=yes
2506 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2507 DEFAULT_wxUSE_WXHTML_HELP
=yes
2508 DEFAULT_wxUSE_TREELAYOUT
=yes
2509 DEFAULT_wxUSE_METAFILE
=yes
2510 DEFAULT_wxUSE_MIMETYPE
=yes
2511 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2512 DEFAULT_wxUSE_PROTOCOL
=yes
2513 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2514 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2515 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2516 DEFAULT_wxUSE_URL
=yes
2517 DEFAULT_wxUSE_VARIANT
=yes
2519 DEFAULT_wxUSE_ABOUTDLG
=yes
2520 DEFAULT_wxUSE_COMMONDLGS
=yes
2521 DEFAULT_wxUSE_CHOICEDLG
=yes
2522 DEFAULT_wxUSE_COLOURDLG
=yes
2523 DEFAULT_wxUSE_DIRDLG
=yes
2524 DEFAULT_wxUSE_FILEDLG
=yes
2525 DEFAULT_wxUSE_FINDREPLDLG
=yes
2526 DEFAULT_wxUSE_FONTDLG
=yes
2527 DEFAULT_wxUSE_MSGDLG
=yes
2528 DEFAULT_wxUSE_NUMBERDLG
=yes
2529 DEFAULT_wxUSE_TEXTDLG
=yes
2530 DEFAULT_wxUSE_SPLASH
=yes
2531 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2532 DEFAULT_wxUSE_PROGRESSDLG
=yes
2533 DEFAULT_wxUSE_WIZARDDLG
=yes
2535 DEFAULT_wxUSE_MENUS
=yes
2536 DEFAULT_wxUSE_MINIFRAME
=yes
2537 DEFAULT_wxUSE_HTML
=yes
2538 DEFAULT_wxUSE_RICHTEXT
=yes
2539 DEFAULT_wxUSE_XRC
=yes
2540 DEFAULT_wxUSE_AUI
=yes
2541 DEFAULT_wxUSE_WEBKIT
=yes
2542 DEFAULT_wxUSE_FILESYSTEM
=yes
2543 DEFAULT_wxUSE_FS_INET
=yes
2544 DEFAULT_wxUSE_FS_ZIP
=yes
2545 DEFAULT_wxUSE_FS_ARCHIVE
=yes
2546 DEFAULT_wxUSE_BUSYINFO
=yes
2547 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2548 DEFAULT_wxUSE_ZIPSTREAM
=yes
2549 DEFAULT_wxUSE_TARSTREAM
=yes
2550 DEFAULT_wxUSE_VALIDATORS
=yes
2552 DEFAULT_wxUSE_ACCEL
=yes
2553 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2554 DEFAULT_wxUSE_BUTTON
=yes
2555 DEFAULT_wxUSE_BMPBUTTON
=yes
2556 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2557 DEFAULT_wxUSE_CALCTRL
=yes
2558 DEFAULT_wxUSE_CARET
=yes
2559 DEFAULT_wxUSE_CHECKBOX
=yes
2560 DEFAULT_wxUSE_CHECKLST
=yes
2561 DEFAULT_wxUSE_CHOICE
=yes
2562 DEFAULT_wxUSE_CHOICEBOOK
=yes
2563 DEFAULT_wxUSE_COLLPANE
=yes
2564 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2565 DEFAULT_wxUSE_COMBOBOX
=yes
2566 DEFAULT_wxUSE_COMBOCTRL
=yes
2567 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2568 DEFAULT_wxUSE_DISPLAY
=yes
2569 DEFAULT_wxUSE_DETECT_SM
=yes
2570 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2571 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2572 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2573 DEFAULT_wxUSE_GAUGE
=yes
2574 DEFAULT_wxUSE_GRID
=yes
2575 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2576 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2577 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2578 DEFAULT_wxUSE_IMAGLIST
=yes
2579 DEFAULT_wxUSE_LISTBOOK
=yes
2580 DEFAULT_wxUSE_LISTBOX
=yes
2581 DEFAULT_wxUSE_LISTCTRL
=yes
2582 DEFAULT_wxUSE_NOTEBOOK
=yes
2583 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2584 DEFAULT_wxUSE_RADIOBOX
=yes
2585 DEFAULT_wxUSE_RADIOBTN
=yes
2586 DEFAULT_wxUSE_SASH
=yes
2587 DEFAULT_wxUSE_SCROLLBAR
=yes
2588 DEFAULT_wxUSE_SLIDER
=yes
2589 DEFAULT_wxUSE_SPINBTN
=yes
2590 DEFAULT_wxUSE_SPINCTRL
=yes
2591 DEFAULT_wxUSE_SPLITTER
=yes
2592 DEFAULT_wxUSE_STATBMP
=yes
2593 DEFAULT_wxUSE_STATBOX
=yes
2594 DEFAULT_wxUSE_STATLINE
=yes
2595 DEFAULT_wxUSE_STATTEXT
=yes
2596 DEFAULT_wxUSE_STATUSBAR
=yes
2597 DEFAULT_wxUSE_TAB_DIALOG
=no
2598 DEFAULT_wxUSE_TEXTCTRL
=yes
2599 DEFAULT_wxUSE_TOGGLEBTN
=yes
2600 DEFAULT_wxUSE_TOOLBAR
=yes
2601 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2602 DEFAULT_wxUSE_TREEBOOK
=yes
2603 DEFAULT_wxUSE_TOOLBOOK
=yes
2604 DEFAULT_wxUSE_TREECTRL
=yes
2605 DEFAULT_wxUSE_POPUPWIN
=yes
2606 DEFAULT_wxUSE_TIPWINDOW
=yes
2608 DEFAULT_wxUSE_UNICODE
=no
2609 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2610 DEFAULT_wxUSE_WCSRTOMBS
=no
2612 DEFAULT_wxUSE_PALETTE
=yes
2613 DEFAULT_wxUSE_IMAGE
=yes
2614 DEFAULT_wxUSE_GIF
=yes
2615 DEFAULT_wxUSE_PCX
=yes
2616 DEFAULT_wxUSE_TGA
=yes
2617 DEFAULT_wxUSE_IFF
=no DEFAULT_wxUSE_PNM
=yes
2618 DEFAULT_wxUSE_XPM
=yes
2619 DEFAULT_wxUSE_ICO_CUR
=yes
2620 DEFAULT_wxUSE_ACCESSIBILITY
=no
2622 DEFAULT_wxUSE_MONOLITHIC
=no
2623 DEFAULT_wxUSE_PLUGINS
=no
2624 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2626 DEFAULT_wxUSE_GTK2
=yes
2632 for toolkit
in `echo $ALL_TOOLKITS`; do
2633 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2634 if test "x$LINE" != "x" ; then
2635 has_toolkit_in_cache
=1
2636 eval "DEFAULT_$LINE"
2637 eval "CACHE_$toolkit=1"
2639 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2640 if test "x$LINE" != "x" ; then
2641 eval "DEFAULT_$LINE"
2649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2650 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2652 # Check whether --enable-gui or --disable-gui was given.
2653 if test "${enable_gui+set}" = set; then
2654 enableval
="$enable_gui"
2656 if test "$enableval" = yes; then
2657 ac_cv_use_gui
='wxUSE_GUI=yes'
2659 ac_cv_use_gui
='wxUSE_GUI=no'
2664 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x
; then
2666 eval "DEFAULT_$LINE"
2671 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2675 eval "$ac_cv_use_gui"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2680 if test "$wxUSE_GUI" = yes; then
2681 echo "$as_me:$LINENO: result: yes" >&5
2682 echo "${ECHO_T}yes" >&6
2684 echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6
2690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2691 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2693 # Check whether --enable-monolithic or --disable-monolithic was given.
2694 if test "${enable_monolithic+set}" = set; then
2695 enableval
="$enable_monolithic"
2697 if test "$enableval" = yes; then
2698 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2700 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2705 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x
; then
2707 eval "DEFAULT_$LINE"
2712 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2716 eval "$ac_cv_use_monolithic"
2717 if test "$no_cache" != 1; then
2718 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2721 if test "$wxUSE_MONOLITHIC" = yes; then
2722 echo "$as_me:$LINENO: result: yes" >&5
2723 echo "${ECHO_T}yes" >&6
2725 echo "$as_me:$LINENO: result: no" >&5
2726 echo "${ECHO_T}no" >&6
2731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2732 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2734 # Check whether --enable-plugins or --disable-plugins was given.
2735 if test "${enable_plugins+set}" = set; then
2736 enableval
="$enable_plugins"
2738 if test "$enableval" = yes; then
2739 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2741 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2746 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x
; then
2748 eval "DEFAULT_$LINE"
2753 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2757 eval "$ac_cv_use_plugins"
2758 if test "$no_cache" != 1; then
2759 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2762 if test "$wxUSE_PLUGINS" = yes; then
2763 echo "$as_me:$LINENO: result: yes" >&5
2764 echo "${ECHO_T}yes" >&6
2766 echo "$as_me:$LINENO: result: no" >&5
2767 echo "${ECHO_T}no" >&6
2772 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2773 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2776 # Check whether --with-subdirs or --without-subdirs was given.
2777 if test "${with_subdirs+set}" = set; then
2778 withval
="$with_subdirs"
2780 if test "$withval" = yes; then
2781 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2783 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2788 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x
; then
2790 eval "DEFAULT_$LINE"
2795 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2799 eval "$ac_cv_use_subdirs"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2804 if test "$wxWITH_SUBDIRS" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2813 if test "$wxUSE_GUI" = "yes"; then
2817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2818 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2820 # Check whether --enable-universal or --disable-universal was given.
2821 if test "${enable_universal+set}" = set; then
2822 enableval
="$enable_universal"
2824 if test "$enableval" = yes; then
2825 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2827 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2832 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x
; then
2834 eval "DEFAULT_$LINE"
2839 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2843 eval "$ac_cv_use_universal"
2844 if test "$no_cache" != 1; then
2845 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2848 if test "$wxUSE_UNIVERSAL" = yes; then
2849 echo "$as_me:$LINENO: result: yes" >&5
2850 echo "${ECHO_T}yes" >&6
2852 echo "$as_me:$LINENO: result: no" >&5
2853 echo "${ECHO_T}no" >&6
2857 # Check whether --with-gtk or --without-gtk was given.
2858 if test "${with_gtk+set}" = set; then
2860 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2863 # Check whether --with-motif or --without-motif was given.
2864 if test "${with_motif+set}" = set; then
2865 withval
="$with_motif"
2866 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2869 # Check whether --with-mac or --without-mac was given.
2870 if test "${with_mac+set}" = set; then
2872 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2875 # Check whether --with-cocoa or --without-cocoa was given.
2876 if test "${with_cocoa+set}" = set; then
2877 withval
="$with_cocoa"
2878 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2881 # Check whether --with-wine or --without-wine was given.
2882 if test "${with_wine+set}" = set; then
2883 withval
="$with_wine"
2884 wxUSE_WINE
="$withval" CACHE_WINE
=1
2887 # Check whether --with-msw or --without-msw was given.
2888 if test "${with_msw+set}" = set; then
2890 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2893 # Check whether --with-pm or --without-pm was given.
2894 if test "${with_pm+set}" = set; then
2896 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2899 # Check whether --with-mgl or --without-mgl was given.
2900 if test "${with_mgl+set}" = set; then
2902 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2905 # Check whether --with-directfb or --without-directfb was given.
2906 if test "${with_directfb+set}" = set; then
2907 withval
="$with_directfb"
2908 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2911 # Check whether --with-microwin or --without-microwin was given.
2912 if test "${with_microwin+set}" = set; then
2913 withval
="$with_microwin"
2914 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2917 # Check whether --with-x11 or --without-x11 was given.
2918 if test "${with_x11+set}" = set; then
2920 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2925 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2927 # Check whether --enable-nanox or --disable-nanox was given.
2928 if test "${enable_nanox+set}" = set; then
2929 enableval
="$enable_nanox"
2931 if test "$enableval" = yes; then
2932 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2934 ac_cv_use_nanox
='wxUSE_NANOX=no'
2939 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2940 if test "x$LINE" != x
; then
2941 eval "DEFAULT_$LINE"
2946 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2950 eval "$ac_cv_use_nanox"
2951 if test "$no_cache" != 1; then
2952 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2955 if test "$wxUSE_NANOX" = yes; then
2956 echo "$as_me:$LINENO: result: yes" >&5
2957 echo "${ECHO_T}yes" >&6
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2964 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2965 if test "${enable_gtk2+set}" = set; then
2966 enableval
="$enable_gtk2"
2967 wxUSE_GTK2
="$enableval"
2971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2972 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2974 # Check whether --enable-gpe or --disable-gpe was given.
2975 if test "${enable_gpe+set}" = set; then
2976 enableval
="$enable_gpe"
2978 if test "$enableval" = yes; then
2979 ac_cv_use_gpe
='wxUSE_GPE=yes'
2981 ac_cv_use_gpe
='wxUSE_GPE=no'
2986 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2997 eval "$ac_cv_use_gpe"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3002 if test "$wxUSE_GPE" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3012 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3013 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3016 # Check whether --with-libpng or --without-libpng was given.
3017 if test "${with_libpng+set}" = set; then
3018 withval
="$with_libpng"
3020 if test "$withval" = yes; then
3021 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
3022 elif test "$withval" = no
; then
3023 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
3024 elif test "$withval" = sys
; then
3025 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
3026 elif test "$withval" = builtin; then
3027 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3029 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3030 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3031 { (exit 1); exit 1; }; }
3036 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x
; then
3038 eval "DEFAULT_$LINE"
3043 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3047 eval "$ac_cv_use_libpng"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3052 if test "$wxUSE_LIBPNG" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3055 elif test "$wxUSE_LIBPNG" = no
; then
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3058 elif test "$wxUSE_LIBPNG" = sys
; then
3059 echo "$as_me:$LINENO: result: system version" >&5
3060 echo "${ECHO_T}system version" >&6
3061 elif test "$wxUSE_LIBPNG" = builtin; then
3062 echo "$as_me:$LINENO: result: builtin version" >&5
3063 echo "${ECHO_T}builtin version" >&6
3065 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3066 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3067 { (exit 1); exit 1; }; }
3071 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3072 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3075 # Check whether --with-libjpeg or --without-libjpeg was given.
3076 if test "${with_libjpeg+set}" = set; then
3077 withval
="$with_libjpeg"
3079 if test "$withval" = yes; then
3080 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3081 elif test "$withval" = no
; then
3082 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3083 elif test "$withval" = sys
; then
3084 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3085 elif test "$withval" = builtin; then
3086 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3089 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3095 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3106 eval "$ac_cv_use_libjpeg"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3111 if test "$wxUSE_LIBJPEG" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3114 elif test "$wxUSE_LIBJPEG" = no
; then
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 elif test "$wxUSE_LIBJPEG" = sys
; then
3118 echo "$as_me:$LINENO: result: system version" >&5
3119 echo "${ECHO_T}system version" >&6
3120 elif test "$wxUSE_LIBJPEG" = builtin; then
3121 echo "$as_me:$LINENO: result: builtin version" >&5
3122 echo "${ECHO_T}builtin version" >&6
3124 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3125 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3126 { (exit 1); exit 1; }; }
3130 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3131 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3134 # Check whether --with-libtiff or --without-libtiff was given.
3135 if test "${with_libtiff+set}" = set; then
3136 withval
="$with_libtiff"
3138 if test "$withval" = yes; then
3139 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3140 elif test "$withval" = no
; then
3141 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3142 elif test "$withval" = sys
; then
3143 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3144 elif test "$withval" = builtin; then
3145 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3148 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3154 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x
; then
3156 eval "DEFAULT_$LINE"
3161 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3165 eval "$ac_cv_use_libtiff"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3170 if test "$wxUSE_LIBTIFF" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3173 elif test "$wxUSE_LIBTIFF" = no
; then
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3176 elif test "$wxUSE_LIBTIFF" = sys
; then
3177 echo "$as_me:$LINENO: result: system version" >&5
3178 echo "${ECHO_T}system version" >&6
3179 elif test "$wxUSE_LIBTIFF" = builtin; then
3180 echo "$as_me:$LINENO: result: builtin version" >&5
3181 echo "${ECHO_T}builtin version" >&6
3183 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3184 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3185 { (exit 1); exit 1; }; }
3189 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3190 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3193 # Check whether --with-libxpm or --without-libxpm was given.
3194 if test "${with_libxpm+set}" = set; then
3195 withval
="$with_libxpm"
3197 if test "$withval" = yes; then
3198 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3199 elif test "$withval" = no
; then
3200 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3201 elif test "$withval" = sys
; then
3202 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3203 elif test "$withval" = builtin; then
3204 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3206 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3207 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3208 { (exit 1); exit 1; }; }
3213 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x
; then
3215 eval "DEFAULT_$LINE"
3220 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3224 eval "$ac_cv_use_libxpm"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3229 if test "$wxUSE_LIBXPM" = yes; then
3230 echo "$as_me:$LINENO: result: yes" >&5
3231 echo "${ECHO_T}yes" >&6
3232 elif test "$wxUSE_LIBXPM" = no
; then
3233 echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6
3235 elif test "$wxUSE_LIBXPM" = sys
; then
3236 echo "$as_me:$LINENO: result: system version" >&5
3237 echo "${ECHO_T}system version" >&6
3238 elif test "$wxUSE_LIBXPM" = builtin; then
3239 echo "$as_me:$LINENO: result: builtin version" >&5
3240 echo "${ECHO_T}builtin version" >&6
3242 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3243 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3244 { (exit 1); exit 1; }; }
3249 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3250 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3253 # Check whether --with-libmspack or --without-libmspack was given.
3254 if test "${with_libmspack+set}" = set; then
3255 withval
="$with_libmspack"
3257 if test "$withval" = yes; then
3258 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3260 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3265 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x
; then
3267 eval "DEFAULT_$LINE"
3272 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3276 eval "$ac_cv_use_libmspack"
3277 if test "$no_cache" != 1; then
3278 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3281 if test "$wxUSE_LIBMSPACK" = yes; then
3282 echo "$as_me:$LINENO: result: yes" >&5
3283 echo "${ECHO_T}yes" >&6
3285 echo "$as_me:$LINENO: result: no" >&5
3286 echo "${ECHO_T}no" >&6
3291 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3292 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3295 # Check whether --with-sdl or --without-sdl was given.
3296 if test "${with_sdl+set}" = set; then
3299 if test "$withval" = yes; then
3300 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3302 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3307 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x
; then
3309 eval "DEFAULT_$LINE"
3314 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3318 eval "$ac_cv_use_sdl"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3323 if test "$wxUSE_LIBSDL" = yes; then
3324 echo "$as_me:$LINENO: result: yes" >&5
3325 echo "${ECHO_T}yes" >&6
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3333 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3334 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3337 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3338 if test "${with_gnomeprint+set}" = set; then
3339 withval
="$with_gnomeprint"
3341 if test "$withval" = yes; then
3342 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3344 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3349 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3350 if test "x$LINE" != x
; then
3351 eval "DEFAULT_$LINE"
3356 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3360 eval "$ac_cv_use_gnomeprint"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3365 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3369 echo "$as_me:$LINENO: result: no" >&5
3370 echo "${ECHO_T}no" >&6
3375 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3376 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3379 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3380 if test "${with_gnomevfs+set}" = set; then
3381 withval
="$with_gnomevfs"
3383 if test "$withval" = yes; then
3384 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3386 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3391 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3392 if test "x$LINE" != x
; then
3393 eval "DEFAULT_$LINE"
3398 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3402 eval "$ac_cv_use_gnomevfs"
3403 if test "$no_cache" != 1; then
3404 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3407 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3408 echo "$as_me:$LINENO: result: yes" >&5
3409 echo "${ECHO_T}yes" >&6
3411 echo "$as_me:$LINENO: result: no" >&5
3412 echo "${ECHO_T}no" >&6
3417 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3418 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3421 # Check whether --with-hildon or --without-hildon was given.
3422 if test "${with_hildon+set}" = set; then
3423 withval
="$with_hildon"
3425 if test "$withval" = yes; then
3426 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3428 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3433 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3434 if test "x$LINE" != x
; then
3435 eval "DEFAULT_$LINE"
3440 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3444 eval "$ac_cv_use_hildon"
3445 if test "$no_cache" != 1; then
3446 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3449 if test "$wxUSE_LIBHILDON" = yes; then
3450 echo "$as_me:$LINENO: result: yes" >&5
3451 echo "${ECHO_T}yes" >&6
3453 echo "$as_me:$LINENO: result: no" >&5
3454 echo "${ECHO_T}no" >&6
3459 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3460 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3463 # Check whether --with-opengl or --without-opengl was given.
3464 if test "${with_opengl+set}" = set; then
3465 withval
="$with_opengl"
3467 if test "$withval" = yes; then
3468 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3470 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3475 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x
; then
3477 eval "DEFAULT_$LINE"
3482 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3486 eval "$ac_cv_use_opengl"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3491 if test "$wxUSE_OPENGL" = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3500 if test "$wxUSE_UNIVERSAL" = "yes"; then
3502 # Check whether --with-themes or --without-themes was given.
3503 if test "${with_themes+set}" = set; then
3504 withval
="$with_themes"
3505 wxUNIV_THEMES
="$withval"
3513 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3514 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3517 # Check whether --with-dmalloc or --without-dmalloc was given.
3518 if test "${with_dmalloc+set}" = set; then
3519 withval
="$with_dmalloc"
3521 if test "$withval" = yes; then
3522 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3524 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3529 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x
; then
3531 eval "DEFAULT_$LINE"
3536 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3540 eval "$ac_cv_use_dmalloc"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3545 if test "$wxUSE_DMALLOC" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3554 echo "$as_me:$LINENO: checking for --with-regex" >&5
3555 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3558 # Check whether --with-regex or --without-regex was given.
3559 if test "${with_regex+set}" = set; then
3560 withval
="$with_regex"
3562 if test "$withval" = yes; then
3563 ac_cv_use_regex
='wxUSE_REGEX=yes'
3564 elif test "$withval" = no
; then
3565 ac_cv_use_regex
='wxUSE_REGEX=no'
3566 elif test "$withval" = sys
; then
3567 ac_cv_use_regex
='wxUSE_REGEX=sys'
3568 elif test "$withval" = builtin; then
3569 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3571 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3572 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3573 { (exit 1); exit 1; }; }
3578 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3579 if test "x$LINE" != x
; then
3580 eval "DEFAULT_$LINE"
3585 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3589 eval "$ac_cv_use_regex"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3594 if test "$wxUSE_REGEX" = yes; then
3595 echo "$as_me:$LINENO: result: yes" >&5
3596 echo "${ECHO_T}yes" >&6
3597 elif test "$wxUSE_REGEX" = no
; then
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3600 elif test "$wxUSE_REGEX" = sys
; then
3601 echo "$as_me:$LINENO: result: system version" >&5
3602 echo "${ECHO_T}system version" >&6
3603 elif test "$wxUSE_REGEX" = builtin; then
3604 echo "$as_me:$LINENO: result: builtin version" >&5
3605 echo "${ECHO_T}builtin version" >&6
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3613 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3614 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3617 # Check whether --with-zlib or --without-zlib was given.
3618 if test "${with_zlib+set}" = set; then
3619 withval
="$with_zlib"
3621 if test "$withval" = yes; then
3622 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3623 elif test "$withval" = no
; then
3624 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3625 elif test "$withval" = sys
; then
3626 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3627 elif test "$withval" = builtin; then
3628 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3630 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3631 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3632 { (exit 1); exit 1; }; }
3637 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x
; then
3639 eval "DEFAULT_$LINE"
3644 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3648 eval "$ac_cv_use_zlib"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3653 if test "$wxUSE_ZLIB" = yes; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3656 elif test "$wxUSE_ZLIB" = no
; then
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3659 elif test "$wxUSE_ZLIB" = sys
; then
3660 echo "$as_me:$LINENO: result: system version" >&5
3661 echo "${ECHO_T}system version" >&6
3662 elif test "$wxUSE_ZLIB" = builtin; then
3663 echo "$as_me:$LINENO: result: builtin version" >&5
3664 echo "${ECHO_T}builtin version" >&6
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3672 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3673 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3676 # Check whether --with-odbc or --without-odbc was given.
3677 if test "${with_odbc+set}" = set; then
3678 withval
="$with_odbc"
3680 if test "$withval" = yes; then
3681 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3682 elif test "$withval" = no
; then
3683 ac_cv_use_odbc
='wxUSE_ODBC=no'
3684 elif test "$withval" = sys
; then
3685 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3686 elif test "$withval" = builtin; then
3687 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3696 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x
; then
3698 eval "DEFAULT_$LINE"
3703 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3707 eval "$ac_cv_use_odbc"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3712 if test "$wxUSE_ODBC" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3715 elif test "$wxUSE_ODBC" = no
; then
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3718 elif test "$wxUSE_ODBC" = sys
; then
3719 echo "$as_me:$LINENO: result: system version" >&5
3720 echo "${ECHO_T}system version" >&6
3721 elif test "$wxUSE_ODBC" = builtin; then
3722 echo "$as_me:$LINENO: result: builtin version" >&5
3723 echo "${ECHO_T}builtin version" >&6
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3731 echo "$as_me:$LINENO: checking for --with-expat" >&5
3732 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3735 # Check whether --with-expat or --without-expat was given.
3736 if test "${with_expat+set}" = set; then
3737 withval
="$with_expat"
3739 if test "$withval" = yes; then
3740 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3741 elif test "$withval" = no
; then
3742 ac_cv_use_expat
='wxUSE_EXPAT=no'
3743 elif test "$withval" = sys
; then
3744 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3745 elif test "$withval" = builtin; then
3746 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3755 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x
; then
3757 eval "DEFAULT_$LINE"
3762 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3766 eval "$ac_cv_use_expat"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3771 if test "$wxUSE_EXPAT" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6
3774 elif test "$wxUSE_EXPAT" = no
; then
3775 echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6
3777 elif test "$wxUSE_EXPAT" = sys
; then
3778 echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6
3780 elif test "$wxUSE_EXPAT" = builtin; then
3781 echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3794 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3796 # Check whether --enable-shared or --disable-shared was given.
3797 if test "${enable_shared+set}" = set; then
3798 enableval
="$enable_shared"
3800 if test "$enableval" = yes; then
3801 ac_cv_use_shared
='wxUSE_SHARED=yes'
3803 ac_cv_use_shared
='wxUSE_SHARED=no'
3808 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x
; then
3810 eval "DEFAULT_$LINE"
3815 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3819 eval "$ac_cv_use_shared"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3824 if test "$wxUSE_SHARED" = yes; then
3825 echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3837 # Check whether --enable-optimise or --disable-optimise was given.
3838 if test "${enable_optimise+set}" = set; then
3839 enableval
="$enable_optimise"
3841 if test "$enableval" = yes; then
3842 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3844 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3849 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x
; then
3851 eval "DEFAULT_$LINE"
3856 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3860 eval "$ac_cv_use_optimise"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3865 if test "$wxUSE_OPTIMISE" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3878 # Check whether --enable-debug or --disable-debug was given.
3879 if test "${enable_debug+set}" = set; then
3880 enableval
="$enable_debug"
3882 if test "$enableval" = yes; then
3883 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3885 ac_cv_use_debug
='wxUSE_DEBUG=no'
3890 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x
; then
3892 eval "DEFAULT_$LINE"
3897 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3901 eval "$ac_cv_use_debug"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3906 if test "$wxUSE_DEBUG" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3917 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3919 # Check whether --enable-stl or --disable-stl was given.
3920 if test "${enable_stl+set}" = set; then
3921 enableval
="$enable_stl"
3923 if test "$enableval" = yes; then
3924 ac_cv_use_stl
='wxUSE_STL=yes'
3926 ac_cv_use_stl
='wxUSE_STL=no'
3931 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x
; then
3933 eval "DEFAULT_$LINE"
3938 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3942 eval "$ac_cv_use_stl"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3947 if test "$wxUSE_STL" = yes; then
3948 echo "$as_me:$LINENO: result: yes" >&5
3949 echo "${ECHO_T}yes" >&6
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3955 if test "$USE_OS2" = "1"; then
3956 DEFAULT_wxUSE_OMF
=no
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3962 # Check whether --enable-omf or --disable-omf was given.
3963 if test "${enable_omf+set}" = set; then
3964 enableval
="$enable_omf"
3966 if test "$enableval" = yes; then
3967 ac_cv_use_omf
='wxUSE_OMF=yes'
3969 ac_cv_use_omf
='wxUSE_OMF=no'
3974 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x
; then
3976 eval "DEFAULT_$LINE"
3981 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3985 eval "$ac_cv_use_omf"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3990 if test "$wxUSE_OMF" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
4000 if test "$wxUSE_DEBUG" = "yes"; then
4001 DEFAULT_wxUSE_DEBUG_FLAG
=yes
4002 DEFAULT_wxUSE_DEBUG_INFO
=yes
4004 elif test "$wxUSE_DEBUG" = "no"; then
4005 DEFAULT_wxUSE_DEBUG_FLAG
=no
4006 DEFAULT_wxUSE_DEBUG_INFO
=no
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4015 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4016 if test "${enable_debug_flag+set}" = set; then
4017 enableval
="$enable_debug_flag"
4019 if test "$enableval" = yes; then
4020 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4022 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4027 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x
; then
4029 eval "DEFAULT_$LINE"
4034 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4038 eval "$ac_cv_use_debug_flag"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4043 if test "$wxUSE_DEBUG_FLAG" = 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 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4056 # Check whether --enable-debug_info or --disable-debug_info was given.
4057 if test "${enable_debug_info+set}" = set; then
4058 enableval
="$enable_debug_info"
4060 if test "$enableval" = yes; then
4061 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4063 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4068 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x
; then
4070 eval "DEFAULT_$LINE"
4075 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4079 eval "$ac_cv_use_debug_info"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4084 if test "$wxUSE_DEBUG_INFO" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4097 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4098 if test "${enable_debug_gdb+set}" = set; then
4099 enableval
="$enable_debug_gdb"
4101 if test "$enableval" = yes; then
4102 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4104 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4109 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x
; then
4111 eval "DEFAULT_$LINE"
4116 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4120 eval "$ac_cv_use_debug_gdb"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4125 if test "$wxUSE_DEBUG_GDB" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4136 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4138 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4139 if test "${enable_debug_cntxt+set}" = set; then
4140 enableval
="$enable_debug_cntxt"
4142 if test "$enableval" = yes; then
4143 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4145 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4150 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x
; then
4152 eval "DEFAULT_$LINE"
4157 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4161 eval "$ac_cv_use_debug_cntxt"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4166 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4167 echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4179 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4180 if test "${enable_mem_tracing+set}" = set; then
4181 enableval
="$enable_mem_tracing"
4183 if test "$enableval" = yes; then
4184 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4186 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4191 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x
; then
4193 eval "DEFAULT_$LINE"
4198 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4202 eval "$ac_cv_use_mem_tracing"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4207 if test "$wxUSE_MEM_TRACING" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4220 # Check whether --enable-profile or --disable-profile was given.
4221 if test "${enable_profile+set}" = set; then
4222 enableval
="$enable_profile"
4224 if test "$enableval" = yes; then
4225 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4227 ac_cv_use_profile
='wxUSE_PROFILE=no'
4232 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x
; then
4234 eval "DEFAULT_$LINE"
4239 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4243 eval "$ac_cv_use_profile"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_PROFILE" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4261 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4262 if test "${enable_no_rtti+set}" = set; then
4263 enableval
="$enable_no_rtti"
4265 if test "$enableval" = yes; then
4266 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4268 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4273 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x
; then
4275 eval "DEFAULT_$LINE"
4280 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4284 eval "$ac_cv_use_no_rtti"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4289 if test "$wxUSE_NO_RTTI" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4302 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4303 if test "${enable_no_exceptions+set}" = set; then
4304 enableval
="$enable_no_exceptions"
4306 if test "$enableval" = yes; then
4307 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4309 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4314 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x
; then
4316 eval "DEFAULT_$LINE"
4321 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4325 eval "$ac_cv_use_no_exceptions"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4343 # Check whether --enable-permissive or --disable-permissive was given.
4344 if test "${enable_permissive+set}" = set; then
4345 enableval
="$enable_permissive"
4347 if test "$enableval" = yes; then
4348 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4350 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4355 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x
; then
4357 eval "DEFAULT_$LINE"
4362 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4366 eval "$ac_cv_use_permissive"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4371 if test "$wxUSE_PERMISSIVE" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4384 # Check whether --enable-no_deps or --disable-no_deps was given.
4385 if test "${enable_no_deps+set}" = set; then
4386 enableval
="$enable_no_deps"
4388 if test "$enableval" = yes; then
4389 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4391 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4396 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x
; then
4398 eval "DEFAULT_$LINE"
4403 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4407 eval "$ac_cv_use_no_deps"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4412 if test "$wxUSE_NO_DEPS" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4425 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4426 if test "${enable_universal_binary+set}" = set; then
4427 enableval
="$enable_universal_binary"
4429 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4433 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x
; then
4435 eval "DEFAULT_$LINE"
4436 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4439 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4444 eval "$wx_cv_use_universal_binary"
4445 if test "$no_cache" != 1; then
4446 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4449 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4450 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4458 # Check whether --enable-compat24 or --disable-compat24 was given.
4459 if test "${enable_compat24+set}" = set; then
4460 enableval
="$enable_compat24"
4462 if test "$enableval" = yes; then
4463 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4465 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4470 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x
; then
4472 eval "DEFAULT_$LINE"
4477 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4481 eval "$ac_cv_use_compat24"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4486 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4495 enablestring
=disable
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4499 # Check whether --enable-compat26 or --disable-compat26 was given.
4500 if test "${enable_compat26+set}" = set; then
4501 enableval
="$enable_compat26"
4503 if test "$enableval" = yes; then
4504 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4506 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4511 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x
; then
4513 eval "DEFAULT_$LINE"
4518 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4522 eval "$ac_cv_use_compat26"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4527 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4539 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4541 # Check whether --enable-rpath or --disable-rpath was given.
4542 if test "${enable_rpath+set}" = set; then
4543 enableval
="$enable_rpath"
4545 if test "$enableval" = yes; then
4546 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4548 ac_cv_use_rpath
='wxUSE_RPATH=no'
4553 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x
; then
4555 eval "DEFAULT_$LINE"
4560 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4564 eval "$ac_cv_use_rpath"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4569 if test "$wxUSE_RPATH" = yes; then
4570 echo "$as_me:$LINENO: result: yes" >&5
4571 echo "${ECHO_T}yes" >&6
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4585 # Check whether --enable-intl or --disable-intl was given.
4586 if test "${enable_intl+set}" = set; then
4587 enableval
="$enable_intl"
4589 if test "$enableval" = yes; then
4590 ac_cv_use_intl
='wxUSE_INTL=yes'
4592 ac_cv_use_intl
='wxUSE_INTL=no'
4597 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x
; then
4599 eval "DEFAULT_$LINE"
4604 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4608 eval "$ac_cv_use_intl"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4613 if test "$wxUSE_INTL" = yes; then
4614 echo "$as_me:$LINENO: result: yes" >&5
4615 echo "${ECHO_T}yes" >&6
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4626 # Check whether --enable-config or --disable-config was given.
4627 if test "${enable_config+set}" = set; then
4628 enableval
="$enable_config"
4630 if test "$enableval" = yes; then
4631 ac_cv_use_config
='wxUSE_CONFIG=yes'
4633 ac_cv_use_config
='wxUSE_CONFIG=no'
4638 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4639 if test "x$LINE" != x
; then
4640 eval "DEFAULT_$LINE"
4645 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4649 eval "$ac_cv_use_config"
4650 if test "$no_cache" != 1; then
4651 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4654 if test "$wxUSE_CONFIG" = yes; then
4655 echo "$as_me:$LINENO: result: yes" >&5
4656 echo "${ECHO_T}yes" >&6
4658 echo "$as_me:$LINENO: result: no" >&5
4659 echo "${ECHO_T}no" >&6
4665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4666 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4668 # Check whether --enable-protocols or --disable-protocols was given.
4669 if test "${enable_protocols+set}" = set; then
4670 enableval
="$enable_protocols"
4672 if test "$enableval" = yes; then
4673 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4675 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4680 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x
; then
4682 eval "DEFAULT_$LINE"
4687 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4691 eval "$ac_cv_use_protocols"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4696 if test "$wxUSE_PROTOCOL" = yes; then
4697 echo "$as_me:$LINENO: result: yes" >&5
4698 echo "${ECHO_T}yes" >&6
4700 echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6
4706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4709 # Check whether --enable-ftp or --disable-ftp was given.
4710 if test "${enable_ftp+set}" = set; then
4711 enableval
="$enable_ftp"
4713 if test "$enableval" = yes; then
4714 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4716 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4721 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x
; then
4723 eval "DEFAULT_$LINE"
4728 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4732 eval "$ac_cv_use_ftp"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4737 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4738 echo "$as_me:$LINENO: result: yes" >&5
4739 echo "${ECHO_T}yes" >&6
4741 echo "$as_me:$LINENO: result: no" >&5
4742 echo "${ECHO_T}no" >&6
4747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4750 # Check whether --enable-http or --disable-http was given.
4751 if test "${enable_http+set}" = set; then
4752 enableval
="$enable_http"
4754 if test "$enableval" = yes; then
4755 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4757 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4762 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x
; then
4764 eval "DEFAULT_$LINE"
4769 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4773 eval "$ac_cv_use_http"
4774 if test "$no_cache" != 1; then
4775 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4778 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4779 echo "$as_me:$LINENO: result: yes" >&5
4780 echo "${ECHO_T}yes" >&6
4782 echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6
4788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4791 # Check whether --enable-fileproto or --disable-fileproto was given.
4792 if test "${enable_fileproto+set}" = set; then
4793 enableval
="$enable_fileproto"
4795 if test "$enableval" = yes; then
4796 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4798 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4803 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x
; then
4805 eval "DEFAULT_$LINE"
4810 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4814 eval "$ac_cv_use_fileproto"
4815 if test "$no_cache" != 1; then
4816 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4819 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4820 echo "$as_me:$LINENO: result: yes" >&5
4821 echo "${ECHO_T}yes" >&6
4823 echo "$as_me:$LINENO: result: no" >&5
4824 echo "${ECHO_T}no" >&6
4829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4830 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4832 # Check whether --enable-sockets or --disable-sockets was given.
4833 if test "${enable_sockets+set}" = set; then
4834 enableval
="$enable_sockets"
4836 if test "$enableval" = yes; then
4837 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4839 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4844 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x
; then
4846 eval "DEFAULT_$LINE"
4851 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4855 eval "$ac_cv_use_sockets"
4856 if test "$no_cache" != 1; then
4857 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4860 if test "$wxUSE_SOCKETS" = yes; then
4861 echo "$as_me:$LINENO: result: yes" >&5
4862 echo "${ECHO_T}yes" >&6
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4873 # Check whether --enable-ole or --disable-ole was given.
4874 if test "${enable_ole+set}" = set; then
4875 enableval
="$enable_ole"
4877 if test "$enableval" = yes; then
4878 ac_cv_use_ole
='wxUSE_OLE=yes'
4880 ac_cv_use_ole
='wxUSE_OLE=no'
4885 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x
; then
4887 eval "DEFAULT_$LINE"
4892 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4896 eval "$ac_cv_use_ole"
4897 if test "$no_cache" != 1; then
4898 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4901 if test "$wxUSE_OLE" = yes; then
4902 echo "$as_me:$LINENO: result: yes" >&5
4903 echo "${ECHO_T}yes" >&6
4905 echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6
4911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4912 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4914 # Check whether --enable-dataobj or --disable-dataobj was given.
4915 if test "${enable_dataobj+set}" = set; then
4916 enableval
="$enable_dataobj"
4918 if test "$enableval" = yes; then
4919 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4921 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4926 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x
; then
4928 eval "DEFAULT_$LINE"
4933 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4937 eval "$ac_cv_use_dataobj"
4938 if test "$no_cache" != 1; then
4939 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4942 if test "$wxUSE_DATAOBJ" = yes; then
4943 echo "$as_me:$LINENO: result: yes" >&5
4944 echo "${ECHO_T}yes" >&6
4946 echo "$as_me:$LINENO: result: no" >&5
4947 echo "${ECHO_T}no" >&6
4953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4956 # Check whether --enable-ipc or --disable-ipc was given.
4957 if test "${enable_ipc+set}" = set; then
4958 enableval
="$enable_ipc"
4960 if test "$enableval" = yes; then
4961 ac_cv_use_ipc
='wxUSE_IPC=yes'
4963 ac_cv_use_ipc
='wxUSE_IPC=no'
4968 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4969 if test "x$LINE" != x
; then
4970 eval "DEFAULT_$LINE"
4975 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4979 eval "$ac_cv_use_ipc"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4984 if test "$wxUSE_IPC" = yes; then
4985 echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6
4988 echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4998 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4999 if test "${enable_apple_ieee+set}" = set; then
5000 enableval
="$enable_apple_ieee"
5002 if test "$enableval" = yes; then
5003 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
5005 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
5010 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x
; then
5012 eval "DEFAULT_$LINE"
5017 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5021 eval "$ac_cv_use_apple_ieee"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5026 if test "$wxUSE_APPLE_IEEE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5039 # Check whether --enable-arcstream or --disable-arcstream was given.
5040 if test "${enable_arcstream+set}" = set; then
5041 enableval
="$enable_arcstream"
5043 if test "$enableval" = yes; then
5044 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5046 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5051 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x
; then
5053 eval "DEFAULT_$LINE"
5058 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5062 eval "$ac_cv_use_arcstream"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5067 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5080 # Check whether --enable-backtrace or --disable-backtrace was given.
5081 if test "${enable_backtrace+set}" = set; then
5082 enableval
="$enable_backtrace"
5084 if test "$enableval" = yes; then
5085 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5087 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5092 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x
; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5103 eval "$ac_cv_use_backtrace"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5108 if test "$wxUSE_STACKWALKER" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5121 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5122 if test "${enable_catch_segvs+set}" = set; then
5123 enableval
="$enable_catch_segvs"
5125 if test "$enableval" = yes; then
5126 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5128 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5133 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x
; then
5135 eval "DEFAULT_$LINE"
5140 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5144 eval "$ac_cv_use_catch_segvs"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5149 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5162 # Check whether --enable-cmdline or --disable-cmdline was given.
5163 if test "${enable_cmdline+set}" = set; then
5164 enableval
="$enable_cmdline"
5166 if test "$enableval" = yes; then
5167 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5169 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5174 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x
; then
5176 eval "DEFAULT_$LINE"
5181 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5185 eval "$ac_cv_use_cmdline"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5190 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5203 # Check whether --enable-datetime or --disable-datetime was given.
5204 if test "${enable_datetime+set}" = set; then
5205 enableval
="$enable_datetime"
5207 if test "$enableval" = yes; then
5208 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5210 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5215 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x
; then
5217 eval "DEFAULT_$LINE"
5222 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5226 eval "$ac_cv_use_datetime"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5231 if test "$wxUSE_DATETIME" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5244 # Check whether --enable-debugreport or --disable-debugreport was given.
5245 if test "${enable_debugreport+set}" = set; then
5246 enableval
="$enable_debugreport"
5248 if test "$enableval" = yes; then
5249 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5251 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5256 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x
; then
5258 eval "DEFAULT_$LINE"
5263 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5267 eval "$ac_cv_use_debugreport"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5272 if test "$wxUSE_DEBUGREPORT" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5285 # Check whether --enable-dialupman or --disable-dialupman was given.
5286 if test "${enable_dialupman+set}" = set; then
5287 enableval
="$enable_dialupman"
5289 if test "$enableval" = yes; then
5290 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5292 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5297 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x
; then
5299 eval "DEFAULT_$LINE"
5304 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5308 eval "$ac_cv_use_dialupman"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5313 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5326 # Check whether --enable-dynlib or --disable-dynlib was given.
5327 if test "${enable_dynlib+set}" = set; then
5328 enableval
="$enable_dynlib"
5330 if test "$enableval" = yes; then
5331 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5333 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5338 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x
; then
5340 eval "DEFAULT_$LINE"
5345 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5349 eval "$ac_cv_use_dynlib"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5354 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5367 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5368 if test "${enable_dynamicloader+set}" = set; then
5369 enableval
="$enable_dynamicloader"
5371 if test "$enableval" = yes; then
5372 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5374 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5379 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x
; then
5381 eval "DEFAULT_$LINE"
5386 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5390 eval "$ac_cv_use_dynamicloader"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5395 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5408 # Check whether --enable-exceptions or --disable-exceptions was given.
5409 if test "${enable_exceptions+set}" = set; then
5410 enableval
="$enable_exceptions"
5412 if test "$enableval" = yes; then
5413 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5415 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5420 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x
; then
5422 eval "DEFAULT_$LINE"
5427 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5431 eval "$ac_cv_use_exceptions"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5436 if test "$wxUSE_EXCEPTIONS" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5449 # Check whether --enable-ffile or --disable-ffile was given.
5450 if test "${enable_ffile+set}" = set; then
5451 enableval
="$enable_ffile"
5453 if test "$enableval" = yes; then
5454 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5456 ac_cv_use_ffile
='wxUSE_FFILE=no'
5461 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x
; then
5463 eval "DEFAULT_$LINE"
5468 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5472 eval "$ac_cv_use_ffile"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5477 if test "$wxUSE_FFILE" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5490 # Check whether --enable-file or --disable-file was given.
5491 if test "${enable_file+set}" = set; then
5492 enableval
="$enable_file"
5494 if test "$enableval" = yes; then
5495 ac_cv_use_file
='wxUSE_FILE=yes'
5497 ac_cv_use_file
='wxUSE_FILE=no'
5502 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x
; then
5504 eval "DEFAULT_$LINE"
5509 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5513 eval "$ac_cv_use_file"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5518 if test "$wxUSE_FILE" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5531 # Check whether --enable-filesystem or --disable-filesystem was given.
5532 if test "${enable_filesystem+set}" = set; then
5533 enableval
="$enable_filesystem"
5535 if test "$enableval" = yes; then
5536 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5538 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5543 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x
; then
5545 eval "DEFAULT_$LINE"
5550 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5554 eval "$ac_cv_use_filesystem"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5559 if test "$wxUSE_FILESYSTEM" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5572 # Check whether --enable-fontmap or --disable-fontmap was given.
5573 if test "${enable_fontmap+set}" = set; then
5574 enableval
="$enable_fontmap"
5576 if test "$enableval" = yes; then
5577 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5579 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5584 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x
; then
5586 eval "DEFAULT_$LINE"
5591 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5595 eval "$ac_cv_use_fontmap"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5600 if test "$wxUSE_FONTMAP" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5613 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5614 if test "${enable_fs_archive+set}" = set; then
5615 enableval
="$enable_fs_archive"
5617 if test "$enableval" = yes; then
5618 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
5620 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
5625 LINE
=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x
; then
5627 eval "DEFAULT_$LINE"
5632 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5636 eval "$ac_cv_use_fs_archive"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5641 if test "$wxUSE_FS_ARCHIVE" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5654 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5655 if test "${enable_fs_inet+set}" = set; then
5656 enableval
="$enable_fs_inet"
5658 if test "$enableval" = yes; then
5659 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5661 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5666 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x
; then
5668 eval "DEFAULT_$LINE"
5673 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5677 eval "$ac_cv_use_fs_inet"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5682 if test "$wxUSE_FS_INET" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5695 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5696 if test "${enable_fs_zip+set}" = set; then
5697 enableval
="$enable_fs_zip"
5699 if test "$enableval" = yes; then
5700 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5702 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5707 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x
; then
5709 eval "DEFAULT_$LINE"
5714 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5718 eval "$ac_cv_use_fs_zip"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5723 if test "$wxUSE_FS_ZIP" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5736 # Check whether --enable-geometry or --disable-geometry was given.
5737 if test "${enable_geometry+set}" = set; then
5738 enableval
="$enable_geometry"
5740 if test "$enableval" = yes; then
5741 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5743 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5748 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x
; then
5750 eval "DEFAULT_$LINE"
5755 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5759 eval "$ac_cv_use_geometry"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5764 if test "$wxUSE_GEOMETRY" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5777 # Check whether --enable-log or --disable-log was given.
5778 if test "${enable_log+set}" = set; then
5779 enableval
="$enable_log"
5781 if test "$enableval" = yes; then
5782 ac_cv_use_log
='wxUSE_LOG=yes'
5784 ac_cv_use_log
='wxUSE_LOG=no'
5789 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x
; then
5791 eval "DEFAULT_$LINE"
5796 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5800 eval "$ac_cv_use_log"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5805 if test "$wxUSE_LOG" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5818 # Check whether --enable-longlong or --disable-longlong was given.
5819 if test "${enable_longlong+set}" = set; then
5820 enableval
="$enable_longlong"
5822 if test "$enableval" = yes; then
5823 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5825 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5830 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x
; then
5832 eval "DEFAULT_$LINE"
5837 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5841 eval "$ac_cv_use_longlong"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5846 if test "$wxUSE_LONGLONG" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5859 # Check whether --enable-mimetype or --disable-mimetype was given.
5860 if test "${enable_mimetype+set}" = set; then
5861 enableval
="$enable_mimetype"
5863 if test "$enableval" = yes; then
5864 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5866 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5871 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x
; then
5873 eval "DEFAULT_$LINE"
5878 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5882 eval "$ac_cv_use_mimetype"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5887 if test "$wxUSE_MIMETYPE" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5900 # Check whether --enable-mslu or --disable-mslu was given.
5901 if test "${enable_mslu+set}" = set; then
5902 enableval
="$enable_mslu"
5904 if test "$enableval" = yes; then
5905 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5907 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5912 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x
; then
5914 eval "DEFAULT_$LINE"
5919 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5923 eval "$ac_cv_use_mslu"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5928 if test "$wxUSE_UNICODE_MSLU" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5941 # Check whether --enable-snglinst or --disable-snglinst was given.
5942 if test "${enable_snglinst+set}" = set; then
5943 enableval
="$enable_snglinst"
5945 if test "$enableval" = yes; then
5946 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5948 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5953 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x
; then
5955 eval "DEFAULT_$LINE"
5960 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5964 eval "$ac_cv_use_snglinst"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5969 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5970 echo "$as_me:$LINENO: result: yes" >&5
5971 echo "${ECHO_T}yes" >&6
5973 echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6
5979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5982 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5983 if test "${enable_std_iostreams+set}" = set; then
5984 enableval
="$enable_std_iostreams"
5986 if test "$enableval" = yes; then
5987 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5989 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5994 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x
; then
5996 eval "DEFAULT_$LINE"
6001 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6005 eval "$ac_cv_use_std_iostreams"
6006 if test "$no_cache" != 1; then
6007 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6010 if test "$wxUSE_STD_IOSTREAM" = yes; then
6011 echo "$as_me:$LINENO: result: yes" >&5
6012 echo "${ECHO_T}yes" >&6
6014 echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6
6020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6023 # Check whether --enable-std_string or --disable-std_string was given.
6024 if test "${enable_std_string+set}" = set; then
6025 enableval
="$enable_std_string"
6027 if test "$enableval" = yes; then
6028 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
6030 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
6035 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x
; then
6037 eval "DEFAULT_$LINE"
6042 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6046 eval "$ac_cv_use_std_string"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6051 if test "$wxUSE_STD_STRING" = yes; then
6052 echo "$as_me:$LINENO: result: yes" >&5
6053 echo "${ECHO_T}yes" >&6
6055 echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6
6061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6064 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6065 if test "${enable_stdpaths+set}" = set; then
6066 enableval
="$enable_stdpaths"
6068 if test "$enableval" = yes; then
6069 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6071 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6076 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x
; then
6078 eval "DEFAULT_$LINE"
6083 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6087 eval "$ac_cv_use_stdpaths"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6092 if test "$wxUSE_STDPATHS" = yes; then
6093 echo "$as_me:$LINENO: result: yes" >&5
6094 echo "${ECHO_T}yes" >&6
6096 echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6
6102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6105 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6106 if test "${enable_stopwatch+set}" = set; then
6107 enableval
="$enable_stopwatch"
6109 if test "$enableval" = yes; then
6110 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6112 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6117 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x
; then
6119 eval "DEFAULT_$LINE"
6124 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6128 eval "$ac_cv_use_stopwatch"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6133 if test "$wxUSE_STOPWATCH" = yes; then
6134 echo "$as_me:$LINENO: result: yes" >&5
6135 echo "${ECHO_T}yes" >&6
6137 echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6
6143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6146 # Check whether --enable-streams or --disable-streams was given.
6147 if test "${enable_streams+set}" = set; then
6148 enableval
="$enable_streams"
6150 if test "$enableval" = yes; then
6151 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6153 ac_cv_use_streams
='wxUSE_STREAMS=no'
6158 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x
; then
6160 eval "DEFAULT_$LINE"
6165 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6169 eval "$ac_cv_use_streams"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6174 if test "$wxUSE_STREAMS" = yes; then
6175 echo "$as_me:$LINENO: result: yes" >&5
6176 echo "${ECHO_T}yes" >&6
6178 echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6
6184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6187 # Check whether --enable-system_options or --disable-system_options was given.
6188 if test "${enable_system_options+set}" = set; then
6189 enableval
="$enable_system_options"
6191 if test "$enableval" = yes; then
6192 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6194 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6199 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x
; then
6201 eval "DEFAULT_$LINE"
6206 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6210 eval "$ac_cv_use_system_options"
6211 if test "$no_cache" != 1; then
6212 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6215 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6216 echo "$as_me:$LINENO: result: yes" >&5
6217 echo "${ECHO_T}yes" >&6
6219 echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6
6225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6228 # Check whether --enable-tarstream or --disable-tarstream was given.
6229 if test "${enable_tarstream+set}" = set; then
6230 enableval
="$enable_tarstream"
6232 if test "$enableval" = yes; then
6233 ac_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
6235 ac_cv_use_tarstream
='wxUSE_TARSTREAM=no'
6240 LINE
=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x
; then
6242 eval "DEFAULT_$LINE"
6247 ac_cv_use_tarstream
='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6251 eval "$ac_cv_use_tarstream"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6256 if test "$wxUSE_TARSTREAM" = yes; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6
6260 echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6
6266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6267 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6269 # Check whether --enable-textbuf or --disable-textbuf was given.
6270 if test "${enable_textbuf+set}" = set; then
6271 enableval
="$enable_textbuf"
6273 if test "$enableval" = yes; then
6274 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6276 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6281 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x
; then
6283 eval "DEFAULT_$LINE"
6288 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6292 eval "$ac_cv_use_textbuf"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6297 if test "$wxUSE_TEXTBUFFER" = yes; then
6298 echo "$as_me:$LINENO: result: yes" >&5
6299 echo "${ECHO_T}yes" >&6
6301 echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6
6307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6310 # Check whether --enable-textfile or --disable-textfile was given.
6311 if test "${enable_textfile+set}" = set; then
6312 enableval
="$enable_textfile"
6314 if test "$enableval" = yes; then
6315 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6317 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6322 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x
; then
6324 eval "DEFAULT_$LINE"
6329 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6333 eval "$ac_cv_use_textfile"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6338 if test "$wxUSE_TEXTFILE" = yes; then
6339 echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6
6342 echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6
6348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6349 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6351 # Check whether --enable-timer or --disable-timer was given.
6352 if test "${enable_timer+set}" = set; then
6353 enableval
="$enable_timer"
6355 if test "$enableval" = yes; then
6356 ac_cv_use_timer
='wxUSE_TIMER=yes'
6358 ac_cv_use_timer
='wxUSE_TIMER=no'
6363 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x
; then
6365 eval "DEFAULT_$LINE"
6370 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6374 eval "$ac_cv_use_timer"
6375 if test "$no_cache" != 1; then
6376 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6379 if test "$wxUSE_TIMER" = yes; then
6380 echo "$as_me:$LINENO: result: yes" >&5
6381 echo "${ECHO_T}yes" >&6
6383 echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6
6389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6392 # Check whether --enable-unicode or --disable-unicode was given.
6393 if test "${enable_unicode+set}" = set; then
6394 enableval
="$enable_unicode"
6396 if test "$enableval" = yes; then
6397 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6399 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6404 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x
; then
6406 eval "DEFAULT_$LINE"
6411 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6415 eval "$ac_cv_use_unicode"
6416 if test "$no_cache" != 1; then
6417 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6420 if test "$wxUSE_UNICODE" = yes; then
6421 echo "$as_me:$LINENO: result: yes" >&5
6422 echo "${ECHO_T}yes" >&6
6424 echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6
6430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6433 # Check whether --enable-sound or --disable-sound was given.
6434 if test "${enable_sound+set}" = set; then
6435 enableval
="$enable_sound"
6437 if test "$enableval" = yes; then
6438 ac_cv_use_sound
='wxUSE_SOUND=yes'
6440 ac_cv_use_sound
='wxUSE_SOUND=no'
6445 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x
; then
6447 eval "DEFAULT_$LINE"
6452 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6456 eval "$ac_cv_use_sound"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6461 if test "$wxUSE_SOUND" = yes; then
6462 echo "$as_me:$LINENO: result: yes" >&5
6463 echo "${ECHO_T}yes" >&6
6465 echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6
6471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6474 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6475 if test "${enable_mediactrl+set}" = set; then
6476 enableval
="$enable_mediactrl"
6478 if test "$enableval" = yes; then
6479 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6481 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6486 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x
; then
6488 eval "DEFAULT_$LINE"
6493 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6497 eval "$ac_cv_use_mediactrl"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6502 if test "$wxUSE_MEDIACTRL" = yes; then
6503 echo "$as_me:$LINENO: result: yes" >&5
6504 echo "${ECHO_T}yes" >&6
6506 echo "$as_me:$LINENO: result: no" >&5
6507 echo "${ECHO_T}no" >&6
6512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6515 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6516 if test "${enable_gstreamer8+set}" = set; then
6517 enableval
="$enable_gstreamer8"
6519 if test "$enableval" = yes; then
6520 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6522 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6527 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x
; then
6529 eval "DEFAULT_$LINE"
6534 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6538 eval "$ac_cv_use_gstreamer8"
6539 if test "$no_cache" != 1; then
6540 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6543 if test "$wxUSE_GSTREAMER8" = yes; then
6544 echo "$as_me:$LINENO: result: yes" >&5
6545 echo "${ECHO_T}yes" >&6
6547 echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6
6553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6556 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6557 if test "${enable_printfposparam+set}" = set; then
6558 enableval
="$enable_printfposparam"
6560 if test "$enableval" = yes; then
6561 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6563 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6568 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x
; then
6570 eval "DEFAULT_$LINE"
6575 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6579 eval "$ac_cv_use_printfposparam"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6584 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6585 echo "$as_me:$LINENO: result: yes" >&5
6586 echo "${ECHO_T}yes" >&6
6588 echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6
6594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6597 # Check whether --enable-zipstream or --disable-zipstream was given.
6598 if test "${enable_zipstream+set}" = set; then
6599 enableval
="$enable_zipstream"
6601 if test "$enableval" = yes; then
6602 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6604 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6609 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x
; then
6611 eval "DEFAULT_$LINE"
6616 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6620 eval "$ac_cv_use_zipstream"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6625 if test "$wxUSE_ZIPSTREAM" = yes; then
6626 echo "$as_me:$LINENO: result: yes" >&5
6627 echo "${ECHO_T}yes" >&6
6629 echo "$as_me:$LINENO: result: no" >&5
6630 echo "${ECHO_T}no" >&6
6636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6639 # Check whether --enable-url or --disable-url was given.
6640 if test "${enable_url+set}" = set; then
6641 enableval
="$enable_url"
6643 if test "$enableval" = yes; then
6644 ac_cv_use_url
='wxUSE_URL=yes'
6646 ac_cv_use_url
='wxUSE_URL=no'
6651 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6652 if test "x$LINE" != x
; then
6653 eval "DEFAULT_$LINE"
6658 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6662 eval "$ac_cv_use_url"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6667 if test "$wxUSE_URL" = yes; then
6668 echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6
6671 echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6
6677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6680 # Check whether --enable-variant or --disable-variant was given.
6681 if test "${enable_variant+set}" = set; then
6682 enableval
="$enable_variant"
6684 if test "$enableval" = yes; then
6685 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6687 ac_cv_use_variant
='wxUSE_VARIANT=no'
6692 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6693 if test "x$LINE" != x
; then
6694 eval "DEFAULT_$LINE"
6699 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6703 eval "$ac_cv_use_variant"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6708 if test "$wxUSE_VARIANT" = yes; then
6709 echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6
6712 echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6
6718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6721 # Check whether --enable-protocol or --disable-protocol was given.
6722 if test "${enable_protocol+set}" = set; then
6723 enableval
="$enable_protocol"
6725 if test "$enableval" = yes; then
6726 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6728 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6733 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x
; then
6735 eval "DEFAULT_$LINE"
6740 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6744 eval "$ac_cv_use_protocol"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6749 if test "$wxUSE_PROTOCOL" = yes; then
6750 echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6
6753 echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6762 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6763 if test "${enable_protocol_http+set}" = set; then
6764 enableval
="$enable_protocol_http"
6766 if test "$enableval" = yes; then
6767 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6769 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6774 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x
; then
6776 eval "DEFAULT_$LINE"
6781 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6785 eval "$ac_cv_use_protocol_http"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6790 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6794 echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6803 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6804 if test "${enable_protocol_ftp+set}" = set; then
6805 enableval
="$enable_protocol_ftp"
6807 if test "$enableval" = yes; then
6808 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6810 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6815 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x
; then
6817 eval "DEFAULT_$LINE"
6822 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6826 eval "$ac_cv_use_protocol_ftp"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6831 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6844 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6845 if test "${enable_protocol_file+set}" = set; then
6846 enableval
="$enable_protocol_file"
6848 if test "$enableval" = yes; then
6849 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6851 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6856 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x
; then
6858 eval "DEFAULT_$LINE"
6863 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6867 eval "$ac_cv_use_protocol_file"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6872 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6873 echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6
6876 echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6888 # Check whether --enable-threads or --disable-threads was given.
6889 if test "${enable_threads+set}" = set; then
6890 enableval
="$enable_threads"
6892 if test "$enableval" = yes; then
6893 ac_cv_use_threads
='wxUSE_THREADS=yes'
6895 ac_cv_use_threads
='wxUSE_THREADS=no'
6900 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x
; then
6902 eval "DEFAULT_$LINE"
6907 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6911 eval "$ac_cv_use_threads"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6916 if test "$wxUSE_THREADS" = 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
6925 if test "$wxUSE_GUI" = "yes"; then
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6933 # Check whether --enable-docview or --disable-docview was given.
6934 if test "${enable_docview+set}" = set; then
6935 enableval
="$enable_docview"
6937 if test "$enableval" = yes; then
6938 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6940 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6945 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x
; then
6947 eval "DEFAULT_$LINE"
6952 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6956 eval "$ac_cv_use_docview"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6961 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6974 # Check whether --enable-help or --disable-help was given.
6975 if test "${enable_help+set}" = set; then
6976 enableval
="$enable_help"
6978 if test "$enableval" = yes; then
6979 ac_cv_use_help
='wxUSE_HELP=yes'
6981 ac_cv_use_help
='wxUSE_HELP=no'
6986 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x
; then
6988 eval "DEFAULT_$LINE"
6993 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6997 eval "$ac_cv_use_help"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7002 if test "$wxUSE_HELP" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7015 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7016 if test "${enable_mshtmlhelp+set}" = set; then
7017 enableval
="$enable_mshtmlhelp"
7019 if test "$enableval" = yes; then
7020 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
7022 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
7027 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x
; then
7029 eval "DEFAULT_$LINE"
7034 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7038 eval "$ac_cv_use_mshtmlhelp"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7043 if test "$wxUSE_MS_HTML_HELP" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7056 # Check whether --enable-html or --disable-html was given.
7057 if test "${enable_html+set}" = set; then
7058 enableval
="$enable_html"
7060 if test "$enableval" = yes; then
7061 ac_cv_use_html
='wxUSE_HTML=yes'
7063 ac_cv_use_html
='wxUSE_HTML=no'
7068 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x
; then
7070 eval "DEFAULT_$LINE"
7075 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7079 eval "$ac_cv_use_html"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7084 if test "$wxUSE_HTML" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7097 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7098 if test "${enable_htmlhelp+set}" = set; then
7099 enableval
="$enable_htmlhelp"
7101 if test "$enableval" = yes; then
7102 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
7104 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7109 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x
; then
7111 eval "DEFAULT_$LINE"
7116 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7120 eval "$ac_cv_use_htmlhelp"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7125 if test "$wxUSE_WXHTML_HELP" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7138 # Check whether --enable-xrc or --disable-xrc was given.
7139 if test "${enable_xrc+set}" = set; then
7140 enableval
="$enable_xrc"
7142 if test "$enableval" = yes; then
7143 ac_cv_use_xrc
='wxUSE_XRC=yes'
7145 ac_cv_use_xrc
='wxUSE_XRC=no'
7150 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x
; then
7152 eval "DEFAULT_$LINE"
7157 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7161 eval "$ac_cv_use_xrc"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7166 if test "$wxUSE_XRC" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7179 # Check whether --enable-aui or --disable-aui was given.
7180 if test "${enable_aui+set}" = set; then
7181 enableval
="$enable_aui"
7183 if test "$enableval" = yes; then
7184 ac_cv_use_aui
='wxUSE_AUI=yes'
7186 ac_cv_use_aui
='wxUSE_AUI=no'
7191 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x
; then
7193 eval "DEFAULT_$LINE"
7198 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7202 eval "$ac_cv_use_aui"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7207 if test "$wxUSE_AUI" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7220 # Check whether --enable-constraints or --disable-constraints was given.
7221 if test "${enable_constraints+set}" = set; then
7222 enableval
="$enable_constraints"
7224 if test "$enableval" = yes; then
7225 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7227 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7232 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x
; then
7234 eval "DEFAULT_$LINE"
7239 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7243 eval "$ac_cv_use_constraints"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7248 if test "$wxUSE_CONSTRAINTS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7261 # Check whether --enable-printarch or --disable-printarch was given.
7262 if test "${enable_printarch+set}" = set; then
7263 enableval
="$enable_printarch"
7265 if test "$enableval" = yes; then
7266 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7268 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7273 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x
; then
7275 eval "DEFAULT_$LINE"
7280 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7284 eval "$ac_cv_use_printarch"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7289 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7302 # Check whether --enable-mdi or --disable-mdi was given.
7303 if test "${enable_mdi+set}" = set; then
7304 enableval
="$enable_mdi"
7306 if test "$enableval" = yes; then
7307 ac_cv_use_mdi
='wxUSE_MDI=yes'
7309 ac_cv_use_mdi
='wxUSE_MDI=no'
7314 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x
; then
7316 eval "DEFAULT_$LINE"
7321 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7325 eval "$ac_cv_use_mdi"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7330 if test "$wxUSE_MDI" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7343 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7344 if test "${enable_mdidoc+set}" = set; then
7345 enableval
="$enable_mdidoc"
7347 if test "$enableval" = yes; then
7348 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7350 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7355 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x
; then
7357 eval "DEFAULT_$LINE"
7362 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7366 eval "$ac_cv_use_mdidoc"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7371 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7384 # Check whether --enable-loggui or --disable-loggui was given.
7385 if test "${enable_loggui+set}" = set; then
7386 enableval
="$enable_loggui"
7388 if test "$enableval" = yes; then
7389 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7391 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7396 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x
; then
7398 eval "DEFAULT_$LINE"
7403 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7407 eval "$ac_cv_use_loggui"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7412 if test "$wxUSE_LOGGUI" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7425 # Check whether --enable-logwin or --disable-logwin was given.
7426 if test "${enable_logwin+set}" = set; then
7427 enableval
="$enable_logwin"
7429 if test "$enableval" = yes; then
7430 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7432 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7437 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x
; then
7439 eval "DEFAULT_$LINE"
7444 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7448 eval "$ac_cv_use_logwin"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7453 if test "$wxUSE_LOGWINDOW" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7466 # Check whether --enable-logdialog or --disable-logdialog was given.
7467 if test "${enable_logdialog+set}" = set; then
7468 enableval
="$enable_logdialog"
7470 if test "$enableval" = yes; then
7471 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7473 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7478 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x
; then
7480 eval "DEFAULT_$LINE"
7485 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7489 eval "$ac_cv_use_logdialog"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7494 if test "$wxUSE_LOGDIALOG" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7507 # Check whether --enable-webkit or --disable-webkit was given.
7508 if test "${enable_webkit+set}" = set; then
7509 enableval
="$enable_webkit"
7511 if test "$enableval" = yes; then
7512 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7514 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7519 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x
; then
7521 eval "DEFAULT_$LINE"
7526 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7530 eval "$ac_cv_use_webkit"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7535 if test "$wxUSE_WEBKIT" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7548 # Check whether --enable-richtext or --disable-richtext was given.
7549 if test "${enable_richtext+set}" = set; then
7550 enableval
="$enable_richtext"
7552 if test "$enableval" = yes; then
7553 ac_cv_use_richtext
='wxUSE_RICHTEXT=yes'
7555 ac_cv_use_richtext
='wxUSE_RICHTEXT=no'
7560 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x
; then
7562 eval "DEFAULT_$LINE"
7567 ac_cv_use_richtext
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7571 eval "$ac_cv_use_richtext"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7576 if test "$wxUSE_RICHTEXT" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7589 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7590 if test "${enable_graphics_ctx+set}" = set; then
7591 enableval
="$enable_graphics_ctx"
7593 if test "$enableval" = yes; then
7594 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7596 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7601 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x
; then
7603 eval "DEFAULT_$LINE"
7608 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7612 eval "$ac_cv_use_graphics_ctx"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7617 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7631 # Check whether --enable-postscript or --disable-postscript was given.
7632 if test "${enable_postscript+set}" = set; then
7633 enableval
="$enable_postscript"
7635 if test "$enableval" = yes; then
7636 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7638 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7643 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x
; then
7645 eval "DEFAULT_$LINE"
7650 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7654 eval "$ac_cv_use_postscript"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7659 if test "$wxUSE_POSTSCRIPT" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7675 # Check whether --enable-prologio or --disable-prologio was given.
7676 if test "${enable_prologio+set}" = set; then
7677 enableval
="$enable_prologio"
7679 if test "$enableval" = yes; then
7680 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7682 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7687 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x
; then
7689 eval "DEFAULT_$LINE"
7694 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7698 eval "$ac_cv_use_prologio"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7703 if test "$wxUSE_PROLOGIO" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7716 # Check whether --enable-resources or --disable-resources was given.
7717 if test "${enable_resources+set}" = set; then
7718 enableval
="$enable_resources"
7720 if test "$enableval" = yes; then
7721 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7723 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7728 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x
; then
7730 eval "DEFAULT_$LINE"
7735 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7739 eval "$ac_cv_use_resources"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7744 if test "$wxUSE_RESOURCES" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7759 # Check whether --enable-clipboard or --disable-clipboard was given.
7760 if test "${enable_clipboard+set}" = set; then
7761 enableval
="$enable_clipboard"
7763 if test "$enableval" = yes; then
7764 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7766 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7771 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x
; then
7773 eval "DEFAULT_$LINE"
7778 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7782 eval "$ac_cv_use_clipboard"
7783 if test "$no_cache" != 1; then
7784 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7787 if test "$wxUSE_CLIPBOARD" = yes; then
7788 echo "$as_me:$LINENO: result: yes" >&5
7789 echo "${ECHO_T}yes" >&6
7791 echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6
7797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7800 # Check whether --enable-dnd or --disable-dnd was given.
7801 if test "${enable_dnd+set}" = set; then
7802 enableval
="$enable_dnd"
7804 if test "$enableval" = yes; then
7805 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7807 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7812 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x
; then
7814 eval "DEFAULT_$LINE"
7819 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7823 eval "$ac_cv_use_dnd"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7828 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7829 echo "$as_me:$LINENO: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6
7832 echo "$as_me:$LINENO: result: no" >&5
7833 echo "${ECHO_T}no" >&6
7838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7841 # Check whether --enable-metafile or --disable-metafile was given.
7842 if test "${enable_metafile+set}" = set; then
7843 enableval
="$enable_metafile"
7845 if test "$enableval" = yes; then
7846 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7848 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7853 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7854 if test "x$LINE" != x
; then
7855 eval "DEFAULT_$LINE"
7860 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7864 eval "$ac_cv_use_metafile"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7869 if test "$wxUSE_METAFILE" = yes; then
7870 echo "$as_me:$LINENO: result: yes" >&5
7871 echo "${ECHO_T}yes" >&6
7873 echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7885 # Check whether --enable-controls or --disable-controls was given.
7886 if test "${enable_controls+set}" = set; then
7887 enableval
="$enable_controls"
7889 if test "$enableval" = yes; then
7890 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7892 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7897 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x
; then
7899 eval "DEFAULT_$LINE"
7904 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7908 eval "$ac_cv_use_controls"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7913 if test "$wxUSE_CONTROLS" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7922 if test "$wxUSE_CONTROLS" = "yes"; then
7923 DEFAULT_wxUSE_ACCEL
=yes
7924 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7925 DEFAULT_wxUSE_BMPBUTTON
=yes
7926 DEFAULT_wxUSE_BUTTON
=yes
7927 DEFAULT_wxUSE_CALCTRL
=yes
7928 DEFAULT_wxUSE_CARET
=yes
7929 DEFAULT_wxUSE_COMBOBOX
=yes
7930 DEFAULT_wxUSE_CHECKBOX
=yes
7931 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7932 DEFAULT_wxUSE_CHOICE
=yes
7933 DEFAULT_wxUSE_CHOICEBOOK
=yes
7934 DEFAULT_wxUSE_COLLPANE
=yes
7935 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7936 DEFAULT_wxUSE_COMBOBOX
=yes
7937 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7938 DEFAULT_wxUSE_DISPLAY
=yes
7939 DEFAULT_wxUSE_DETECT_SM
=yes
7940 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7941 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7942 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7943 DEFAULT_wxUSE_GAUGE
=yes
7944 DEFAULT_wxUSE_GRID
=yes
7945 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7946 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7947 DEFAULT_wxUSE_IMAGLIST
=yes
7948 DEFAULT_wxUSE_LISTBOOK
=yes
7949 DEFAULT_wxUSE_LISTBOX
=yes
7950 DEFAULT_wxUSE_LISTCTRL
=yes
7951 DEFAULT_wxUSE_NOTEBOOK
=yes
7952 DEFAULT_wxUSE_RADIOBOX
=yes
7953 DEFAULT_wxUSE_RADIOBTN
=yes
7954 DEFAULT_wxUSE_SASH
=yes
7955 DEFAULT_wxUSE_SCROLLBAR
=yes
7956 DEFAULT_wxUSE_SLIDER
=yes
7957 DEFAULT_wxUSE_SPINBTN
=yes
7958 DEFAULT_wxUSE_SPINCTRL
=yes
7959 DEFAULT_wxUSE_SPLITTER
=yes
7960 DEFAULT_wxUSE_STATBMP
=yes
7961 DEFAULT_wxUSE_STATBOX
=yes
7962 DEFAULT_wxUSE_STATLINE
=yes
7963 DEFAULT_wxUSE_STATUSBAR
=yes
7964 DEFAULT_wxUSE_TAB_DIALOG
=yes
7965 DEFAULT_wxUSE_TOGGLEBTN
=yes
7966 DEFAULT_wxUSE_TOOLBAR
=yes
7967 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7968 DEFAULT_wxUSE_TOOLTIPS
=yes
7969 DEFAULT_wxUSE_TREEBOOK
=yes
7970 DEFAULT_wxUSE_TOOLBOOK
=yes
7971 DEFAULT_wxUSE_TREECTRL
=yes
7972 DEFAULT_wxUSE_POPUPWIN
=yes
7973 DEFAULT_wxUSE_TIPWINDOW
=yes
7974 elif test "$wxUSE_CONTROLS" = "no"; then
7975 DEFAULT_wxUSE_ACCEL
=no
7976 DEFAULT_wxUSE_ANIMATIONCTRL
=no
7977 DEFAULT_wxUSE_BMPBUTTON
=no
7978 DEFAULT_wxUSE_BUTTON
=no
7979 DEFAULT_wxUSE_CALCTRL
=no
7980 DEFAULT_wxUSE_CARET
=no
7981 DEFAULT_wxUSE_COLLPANE
=no
7982 DEFAULT_wxUSE_COMBOBOX
=no
7983 DEFAULT_wxUSE_CHECKBOX
=no
7984 DEFAULT_wxUSE_CHECKLISTBOX
=no
7985 DEFAULT_wxUSE_CHOICE
=no
7986 DEFAULT_wxUSE_CHOICEBOOK
=no
7987 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7988 DEFAULT_wxUSE_COMBOBOX
=no
7989 DEFAULT_wxUSE_DATEPICKCTRL
=no
7990 DEFAULT_wxUSE_DISPLAY
=no
7991 DEFAULT_wxUSE_DETECT_SM
=no
7992 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7993 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7994 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7995 DEFAULT_wxUSE_GAUGE
=no
7996 DEFAULT_wxUSE_GRID
=no
7997 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7998 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7999 DEFAULT_wxUSE_IMAGLIST
=no
8000 DEFAULT_wxUSE_LISTBOOK
=no
8001 DEFAULT_wxUSE_LISTBOX
=no
8002 DEFAULT_wxUSE_LISTCTRL
=no
8003 DEFAULT_wxUSE_NOTEBOOK
=no
8004 DEFAULT_wxUSE_RADIOBOX
=no
8005 DEFAULT_wxUSE_RADIOBTN
=no
8006 DEFAULT_wxUSE_SASH
=no
8007 DEFAULT_wxUSE_SCROLLBAR
=no
8008 DEFAULT_wxUSE_SLIDER
=no
8009 DEFAULT_wxUSE_SPINBTN
=no
8010 DEFAULT_wxUSE_SPINCTRL
=no
8011 DEFAULT_wxUSE_SPLITTER
=no
8012 DEFAULT_wxUSE_STATBMP
=no
8013 DEFAULT_wxUSE_STATBOX
=no
8014 DEFAULT_wxUSE_STATLINE
=no
8015 DEFAULT_wxUSE_STATUSBAR
=no
8016 DEFAULT_wxUSE_TAB_DIALOG
=no
8017 DEFAULT_wxUSE_TOGGLEBTN
=no
8018 DEFAULT_wxUSE_TOOLBAR
=no
8019 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
8020 DEFAULT_wxUSE_TOOLTIPS
=no
8021 DEFAULT_wxUSE_TREEBOOK
=no
8022 DEFAULT_wxUSE_TOOLBOOK
=no
8023 DEFAULT_wxUSE_TREECTRL
=no
8024 DEFAULT_wxUSE_POPUPWIN
=no
8025 DEFAULT_wxUSE_TIPWINDOW
=no
8030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8033 # Check whether --enable-accel or --disable-accel was given.
8034 if test "${enable_accel+set}" = set; then
8035 enableval
="$enable_accel"
8037 if test "$enableval" = yes; then
8038 ac_cv_use_accel
='wxUSE_ACCEL=yes'
8040 ac_cv_use_accel
='wxUSE_ACCEL=no'
8045 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8046 if test "x$LINE" != x
; then
8047 eval "DEFAULT_$LINE"
8052 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8056 eval "$ac_cv_use_accel"
8057 if test "$no_cache" != 1; then
8058 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8061 if test "$wxUSE_ACCEL" = yes; then
8062 echo "$as_me:$LINENO: result: yes" >&5
8063 echo "${ECHO_T}yes" >&6
8065 echo "$as_me:$LINENO: result: no" >&5
8066 echo "${ECHO_T}no" >&6
8071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8072 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8074 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8075 if test "${enable_animatectrl+set}" = set; then
8076 enableval
="$enable_animatectrl"
8078 if test "$enableval" = yes; then
8079 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
8081 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
8086 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8087 if test "x$LINE" != x
; then
8088 eval "DEFAULT_$LINE"
8093 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8097 eval "$ac_cv_use_animatectrl"
8098 if test "$no_cache" != 1; then
8099 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8102 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8103 echo "$as_me:$LINENO: result: yes" >&5
8104 echo "${ECHO_T}yes" >&6
8106 echo "$as_me:$LINENO: result: no" >&5
8107 echo "${ECHO_T}no" >&6
8112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8113 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8115 # Check whether --enable-button or --disable-button was given.
8116 if test "${enable_button+set}" = set; then
8117 enableval
="$enable_button"
8119 if test "$enableval" = yes; then
8120 ac_cv_use_button
='wxUSE_BUTTON=yes'
8122 ac_cv_use_button
='wxUSE_BUTTON=no'
8127 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x
; then
8129 eval "DEFAULT_$LINE"
8134 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8138 eval "$ac_cv_use_button"
8139 if test "$no_cache" != 1; then
8140 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8143 if test "$wxUSE_BUTTON" = yes; then
8144 echo "$as_me:$LINENO: result: yes" >&5
8145 echo "${ECHO_T}yes" >&6
8147 echo "$as_me:$LINENO: result: no" >&5
8148 echo "${ECHO_T}no" >&6
8153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8154 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8156 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8157 if test "${enable_bmpbutton+set}" = set; then
8158 enableval
="$enable_bmpbutton"
8160 if test "$enableval" = yes; then
8161 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8163 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8168 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8169 if test "x$LINE" != x
; then
8170 eval "DEFAULT_$LINE"
8175 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8179 eval "$ac_cv_use_bmpbutton"
8180 if test "$no_cache" != 1; then
8181 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8184 if test "$wxUSE_BMPBUTTON" = yes; then
8185 echo "$as_me:$LINENO: result: yes" >&5
8186 echo "${ECHO_T}yes" >&6
8188 echo "$as_me:$LINENO: result: no" >&5
8189 echo "${ECHO_T}no" >&6
8194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8197 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8198 if test "${enable_bmpcombobox+set}" = set; then
8199 enableval
="$enable_bmpcombobox"
8201 if test "$enableval" = yes; then
8202 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8204 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8209 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x
; then
8211 eval "DEFAULT_$LINE"
8216 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8220 eval "$ac_cv_use_bmpcombobox"
8221 if test "$no_cache" != 1; then
8222 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8225 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8226 echo "$as_me:$LINENO: result: yes" >&5
8227 echo "${ECHO_T}yes" >&6
8229 echo "$as_me:$LINENO: result: no" >&5
8230 echo "${ECHO_T}no" >&6
8235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8238 # Check whether --enable-calendar or --disable-calendar was given.
8239 if test "${enable_calendar+set}" = set; then
8240 enableval
="$enable_calendar"
8242 if test "$enableval" = yes; then
8243 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8245 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8250 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x
; then
8252 eval "DEFAULT_$LINE"
8257 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8261 eval "$ac_cv_use_calendar"
8262 if test "$no_cache" != 1; then
8263 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8266 if test "$wxUSE_CALCTRL" = yes; then
8267 echo "$as_me:$LINENO: result: yes" >&5
8268 echo "${ECHO_T}yes" >&6
8270 echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6
8276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8279 # Check whether --enable-caret or --disable-caret was given.
8280 if test "${enable_caret+set}" = set; then
8281 enableval
="$enable_caret"
8283 if test "$enableval" = yes; then
8284 ac_cv_use_caret
='wxUSE_CARET=yes'
8286 ac_cv_use_caret
='wxUSE_CARET=no'
8291 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x
; then
8293 eval "DEFAULT_$LINE"
8298 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8302 eval "$ac_cv_use_caret"
8303 if test "$no_cache" != 1; then
8304 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8307 if test "$wxUSE_CARET" = yes; then
8308 echo "$as_me:$LINENO: result: yes" >&5
8309 echo "${ECHO_T}yes" >&6
8311 echo "$as_me:$LINENO: result: no" >&5
8312 echo "${ECHO_T}no" >&6
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8320 # Check whether --enable-checkbox or --disable-checkbox was given.
8321 if test "${enable_checkbox+set}" = set; then
8322 enableval
="$enable_checkbox"
8324 if test "$enableval" = yes; then
8325 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8327 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8332 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x
; then
8334 eval "DEFAULT_$LINE"
8339 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8343 eval "$ac_cv_use_checkbox"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8348 if test "$wxUSE_CHECKBOX" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8361 # Check whether --enable-checklst or --disable-checklst was given.
8362 if test "${enable_checklst+set}" = set; then
8363 enableval
="$enable_checklst"
8365 if test "$enableval" = yes; then
8366 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8368 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8373 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x
; then
8375 eval "DEFAULT_$LINE"
8380 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8384 eval "$ac_cv_use_checklst"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8389 if test "$wxUSE_CHECKLST" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8402 # Check whether --enable-choice or --disable-choice was given.
8403 if test "${enable_choice+set}" = set; then
8404 enableval
="$enable_choice"
8406 if test "$enableval" = yes; then
8407 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8409 ac_cv_use_choice
='wxUSE_CHOICE=no'
8414 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x
; then
8416 eval "DEFAULT_$LINE"
8421 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8425 eval "$ac_cv_use_choice"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8430 if test "$wxUSE_CHOICE" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8443 # Check whether --enable-choicebook or --disable-choicebook was given.
8444 if test "${enable_choicebook+set}" = set; then
8445 enableval
="$enable_choicebook"
8447 if test "$enableval" = yes; then
8448 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8450 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8455 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x
; then
8457 eval "DEFAULT_$LINE"
8462 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8466 eval "$ac_cv_use_choicebook"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8471 if test "$wxUSE_CHOICEBOOK" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8484 # Check whether --enable-collpane or --disable-collpane was given.
8485 if test "${enable_collpane+set}" = set; then
8486 enableval
="$enable_collpane"
8488 if test "$enableval" = yes; then
8489 ac_cv_use_collpane
='wxUSE_COLLPANE=yes'
8491 ac_cv_use_collpane
='wxUSE_COLLPANE=no'
8496 LINE
=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x
; then
8498 eval "DEFAULT_$LINE"
8503 ac_cv_use_collpane
='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8507 eval "$ac_cv_use_collpane"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8512 if test "$wxUSE_COLLPANE" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8525 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8526 if test "${enable_colourpicker+set}" = set; then
8527 enableval
="$enable_colourpicker"
8529 if test "$enableval" = yes; then
8530 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8532 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8537 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x
; then
8539 eval "DEFAULT_$LINE"
8544 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8548 eval "$ac_cv_use_colourpicker"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8553 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8566 # Check whether --enable-combobox or --disable-combobox was given.
8567 if test "${enable_combobox+set}" = set; then
8568 enableval
="$enable_combobox"
8570 if test "$enableval" = yes; then
8571 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8573 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8578 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x
; then
8580 eval "DEFAULT_$LINE"
8585 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8589 eval "$ac_cv_use_combobox"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8594 if test "$wxUSE_COMBOBOX" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8607 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8608 if test "${enable_comboctrl+set}" = set; then
8609 enableval
="$enable_comboctrl"
8611 if test "$enableval" = yes; then
8612 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8614 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8619 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x
; then
8621 eval "DEFAULT_$LINE"
8626 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8630 eval "$ac_cv_use_comboctrl"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8635 if test "$wxUSE_COMBOCTRL" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8648 # Check whether --enable-datepick or --disable-datepick was given.
8649 if test "${enable_datepick+set}" = set; then
8650 enableval
="$enable_datepick"
8652 if test "$enableval" = yes; then
8653 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8655 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8660 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x
; then
8662 eval "DEFAULT_$LINE"
8667 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8671 eval "$ac_cv_use_datepick"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8676 if test "$wxUSE_DATEPICKCTRL" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8689 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8690 if test "${enable_dirpicker+set}" = set; then
8691 enableval
="$enable_dirpicker"
8693 if test "$enableval" = yes; then
8694 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8696 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8701 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x
; then
8703 eval "DEFAULT_$LINE"
8708 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8712 eval "$ac_cv_use_dirpicker"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8717 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8730 # Check whether --enable-display or --disable-display was given.
8731 if test "${enable_display+set}" = set; then
8732 enableval
="$enable_display"
8734 if test "$enableval" = yes; then
8735 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8737 ac_cv_use_display
='wxUSE_DISPLAY=no'
8742 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x
; then
8744 eval "DEFAULT_$LINE"
8749 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8753 eval "$ac_cv_use_display"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8758 if test "$wxUSE_DISPLAY" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8771 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8772 if test "${enable_detect_sm+set}" = set; then
8773 enableval
="$enable_detect_sm"
8775 if test "$enableval" = yes; then
8776 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
8778 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
8783 LINE
=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x
; then
8785 eval "DEFAULT_$LINE"
8790 ac_cv_use_detect_sm
='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8794 eval "$ac_cv_use_detect_sm"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8799 if test "$wxUSE_DETECT_SM" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8812 # Check whether --enable-filepicker or --disable-filepicker was given.
8813 if test "${enable_filepicker+set}" = set; then
8814 enableval
="$enable_filepicker"
8816 if test "$enableval" = yes; then
8817 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8819 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8824 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x
; then
8826 eval "DEFAULT_$LINE"
8831 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8835 eval "$ac_cv_use_filepicker"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8840 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8853 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8854 if test "${enable_fontpicker+set}" = set; then
8855 enableval
="$enable_fontpicker"
8857 if test "$enableval" = yes; then
8858 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8860 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8865 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x
; then
8867 eval "DEFAULT_$LINE"
8872 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8876 eval "$ac_cv_use_fontpicker"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8881 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8894 # Check whether --enable-gauge or --disable-gauge was given.
8895 if test "${enable_gauge+set}" = set; then
8896 enableval
="$enable_gauge"
8898 if test "$enableval" = yes; then
8899 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8901 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8906 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8907 if test "x$LINE" != x
; then
8908 eval "DEFAULT_$LINE"
8913 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8917 eval "$ac_cv_use_gauge"
8918 if test "$no_cache" != 1; then
8919 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8922 if test "$wxUSE_GAUGE" = yes; then
8923 echo "$as_me:$LINENO: result: yes" >&5
8924 echo "${ECHO_T}yes" >&6
8926 echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6
8932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8935 # Check whether --enable-grid or --disable-grid was given.
8936 if test "${enable_grid+set}" = set; then
8937 enableval
="$enable_grid"
8939 if test "$enableval" = yes; then
8940 ac_cv_use_grid
='wxUSE_GRID=yes'
8942 ac_cv_use_grid
='wxUSE_GRID=no'
8947 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x
; then
8949 eval "DEFAULT_$LINE"
8954 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8958 eval "$ac_cv_use_grid"
8959 if test "$no_cache" != 1; then
8960 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8963 if test "$wxUSE_GRID" = yes; then
8964 echo "$as_me:$LINENO: result: yes" >&5
8965 echo "${ECHO_T}yes" >&6
8967 echo "$as_me:$LINENO: result: no" >&5
8968 echo "${ECHO_T}no" >&6
8973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8976 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8977 if test "${enable_dataviewctrl+set}" = set; then
8978 enableval
="$enable_dataviewctrl"
8980 if test "$enableval" = yes; then
8981 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8983 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8988 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8989 if test "x$LINE" != x
; then
8990 eval "DEFAULT_$LINE"
8995 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8999 eval "$ac_cv_use_dataviewctrl"
9000 if test "$no_cache" != 1; then
9001 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9004 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9005 echo "$as_me:$LINENO: result: yes" >&5
9006 echo "${ECHO_T}yes" >&6
9008 echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6
9014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9017 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9018 if test "${enable_hyperlink+set}" = set; then
9019 enableval
="$enable_hyperlink"
9021 if test "$enableval" = yes; then
9022 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
9024 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
9029 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9030 if test "x$LINE" != x
; then
9031 eval "DEFAULT_$LINE"
9036 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9040 eval "$ac_cv_use_hyperlink"
9041 if test "$no_cache" != 1; then
9042 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9045 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9046 echo "$as_me:$LINENO: result: yes" >&5
9047 echo "${ECHO_T}yes" >&6
9049 echo "$as_me:$LINENO: result: no" >&5
9050 echo "${ECHO_T}no" >&6
9055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9058 # Check whether --enable-imaglist or --disable-imaglist was given.
9059 if test "${enable_imaglist+set}" = set; then
9060 enableval
="$enable_imaglist"
9062 if test "$enableval" = yes; then
9063 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
9065 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
9070 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9071 if test "x$LINE" != x
; then
9072 eval "DEFAULT_$LINE"
9077 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9081 eval "$ac_cv_use_imaglist"
9082 if test "$no_cache" != 1; then
9083 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9086 if test "$wxUSE_IMAGLIST" = yes; then
9087 echo "$as_me:$LINENO: result: yes" >&5
9088 echo "${ECHO_T}yes" >&6
9090 echo "$as_me:$LINENO: result: no" >&5
9091 echo "${ECHO_T}no" >&6
9096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9099 # Check whether --enable-listbook or --disable-listbook was given.
9100 if test "${enable_listbook+set}" = set; then
9101 enableval
="$enable_listbook"
9103 if test "$enableval" = yes; then
9104 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
9106 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
9111 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9112 if test "x$LINE" != x
; then
9113 eval "DEFAULT_$LINE"
9118 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9122 eval "$ac_cv_use_listbook"
9123 if test "$no_cache" != 1; then
9124 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9127 if test "$wxUSE_LISTBOOK" = yes; then
9128 echo "$as_me:$LINENO: result: yes" >&5
9129 echo "${ECHO_T}yes" >&6
9131 echo "$as_me:$LINENO: result: no" >&5
9132 echo "${ECHO_T}no" >&6
9137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9138 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9140 # Check whether --enable-listbox or --disable-listbox was given.
9141 if test "${enable_listbox+set}" = set; then
9142 enableval
="$enable_listbox"
9144 if test "$enableval" = yes; then
9145 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
9147 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
9152 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9153 if test "x$LINE" != x
; then
9154 eval "DEFAULT_$LINE"
9159 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9163 eval "$ac_cv_use_listbox"
9164 if test "$no_cache" != 1; then
9165 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9168 if test "$wxUSE_LISTBOX" = yes; then
9169 echo "$as_me:$LINENO: result: yes" >&5
9170 echo "${ECHO_T}yes" >&6
9172 echo "$as_me:$LINENO: result: no" >&5
9173 echo "${ECHO_T}no" >&6
9178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9179 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9181 # Check whether --enable-listctrl or --disable-listctrl was given.
9182 if test "${enable_listctrl+set}" = set; then
9183 enableval
="$enable_listctrl"
9185 if test "$enableval" = yes; then
9186 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
9188 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
9193 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9194 if test "x$LINE" != x
; then
9195 eval "DEFAULT_$LINE"
9200 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9204 eval "$ac_cv_use_listctrl"
9205 if test "$no_cache" != 1; then
9206 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9209 if test "$wxUSE_LISTCTRL" = yes; then
9210 echo "$as_me:$LINENO: result: yes" >&5
9211 echo "${ECHO_T}yes" >&6
9213 echo "$as_me:$LINENO: result: no" >&5
9214 echo "${ECHO_T}no" >&6
9219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9220 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9222 # Check whether --enable-notebook or --disable-notebook was given.
9223 if test "${enable_notebook+set}" = set; then
9224 enableval
="$enable_notebook"
9226 if test "$enableval" = yes; then
9227 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9229 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9234 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9235 if test "x$LINE" != x
; then
9236 eval "DEFAULT_$LINE"
9241 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9245 eval "$ac_cv_use_notebook"
9246 if test "$no_cache" != 1; then
9247 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9250 if test "$wxUSE_NOTEBOOK" = yes; then
9251 echo "$as_me:$LINENO: result: yes" >&5
9252 echo "${ECHO_T}yes" >&6
9254 echo "$as_me:$LINENO: result: no" >&5
9255 echo "${ECHO_T}no" >&6
9260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9263 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9264 if test "${enable_odcombobox+set}" = set; then
9265 enableval
="$enable_odcombobox"
9267 if test "$enableval" = yes; then
9268 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9270 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9275 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9276 if test "x$LINE" != x
; then
9277 eval "DEFAULT_$LINE"
9282 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9286 eval "$ac_cv_use_odcombobox"
9287 if test "$no_cache" != 1; then
9288 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9291 if test "$wxUSE_ODCOMBOBOX" = yes; then
9292 echo "$as_me:$LINENO: result: yes" >&5
9293 echo "${ECHO_T}yes" >&6
9295 echo "$as_me:$LINENO: result: no" >&5
9296 echo "${ECHO_T}no" >&6
9301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9302 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9304 # Check whether --enable-radiobox or --disable-radiobox was given.
9305 if test "${enable_radiobox+set}" = set; then
9306 enableval
="$enable_radiobox"
9308 if test "$enableval" = yes; then
9309 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9311 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9316 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9317 if test "x$LINE" != x
; then
9318 eval "DEFAULT_$LINE"
9323 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9327 eval "$ac_cv_use_radiobox"
9328 if test "$no_cache" != 1; then
9329 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9332 if test "$wxUSE_RADIOBOX" = yes; then
9333 echo "$as_me:$LINENO: result: yes" >&5
9334 echo "${ECHO_T}yes" >&6
9336 echo "$as_me:$LINENO: result: no" >&5
9337 echo "${ECHO_T}no" >&6
9342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9345 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9346 if test "${enable_radiobtn+set}" = set; then
9347 enableval
="$enable_radiobtn"
9349 if test "$enableval" = yes; then
9350 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9352 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9357 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9358 if test "x$LINE" != x
; then
9359 eval "DEFAULT_$LINE"
9364 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9368 eval "$ac_cv_use_radiobtn"
9369 if test "$no_cache" != 1; then
9370 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9373 if test "$wxUSE_RADIOBTN" = yes; then
9374 echo "$as_me:$LINENO: result: yes" >&5
9375 echo "${ECHO_T}yes" >&6
9377 echo "$as_me:$LINENO: result: no" >&5
9378 echo "${ECHO_T}no" >&6
9383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9386 # Check whether --enable-sash or --disable-sash was given.
9387 if test "${enable_sash+set}" = set; then
9388 enableval
="$enable_sash"
9390 if test "$enableval" = yes; then
9391 ac_cv_use_sash
='wxUSE_SASH=yes'
9393 ac_cv_use_sash
='wxUSE_SASH=no'
9398 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x
; then
9400 eval "DEFAULT_$LINE"
9405 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9409 eval "$ac_cv_use_sash"
9410 if test "$no_cache" != 1; then
9411 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9414 if test "$wxUSE_SASH" = yes; then
9415 echo "$as_me:$LINENO: result: yes" >&5
9416 echo "${ECHO_T}yes" >&6
9418 echo "$as_me:$LINENO: result: no" >&5
9419 echo "${ECHO_T}no" >&6
9424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9427 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9428 if test "${enable_scrollbar+set}" = set; then
9429 enableval
="$enable_scrollbar"
9431 if test "$enableval" = yes; then
9432 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9434 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9439 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9440 if test "x$LINE" != x
; then
9441 eval "DEFAULT_$LINE"
9446 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9450 eval "$ac_cv_use_scrollbar"
9451 if test "$no_cache" != 1; then
9452 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9455 if test "$wxUSE_SCROLLBAR" = yes; then
9456 echo "$as_me:$LINENO: result: yes" >&5
9457 echo "${ECHO_T}yes" >&6
9459 echo "$as_me:$LINENO: result: no" >&5
9460 echo "${ECHO_T}no" >&6
9465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9468 # Check whether --enable-slider or --disable-slider was given.
9469 if test "${enable_slider+set}" = set; then
9470 enableval
="$enable_slider"
9472 if test "$enableval" = yes; then
9473 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9475 ac_cv_use_slider
='wxUSE_SLIDER=no'
9480 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9481 if test "x$LINE" != x
; then
9482 eval "DEFAULT_$LINE"
9487 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9491 eval "$ac_cv_use_slider"
9492 if test "$no_cache" != 1; then
9493 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9496 if test "$wxUSE_SLIDER" = yes; then
9497 echo "$as_me:$LINENO: result: yes" >&5
9498 echo "${ECHO_T}yes" >&6
9500 echo "$as_me:$LINENO: result: no" >&5
9501 echo "${ECHO_T}no" >&6
9506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9507 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9509 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9510 if test "${enable_spinbtn+set}" = set; then
9511 enableval
="$enable_spinbtn"
9513 if test "$enableval" = yes; then
9514 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9516 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9521 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9522 if test "x$LINE" != x
; then
9523 eval "DEFAULT_$LINE"
9528 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9532 eval "$ac_cv_use_spinbtn"
9533 if test "$no_cache" != 1; then
9534 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9537 if test "$wxUSE_SPINBTN" = yes; then
9538 echo "$as_me:$LINENO: result: yes" >&5
9539 echo "${ECHO_T}yes" >&6
9541 echo "$as_me:$LINENO: result: no" >&5
9542 echo "${ECHO_T}no" >&6
9547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9548 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9550 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9551 if test "${enable_spinctrl+set}" = set; then
9552 enableval
="$enable_spinctrl"
9554 if test "$enableval" = yes; then
9555 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9557 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9562 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9563 if test "x$LINE" != x
; then
9564 eval "DEFAULT_$LINE"
9569 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9573 eval "$ac_cv_use_spinctrl"
9574 if test "$no_cache" != 1; then
9575 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9578 if test "$wxUSE_SPINCTRL" = yes; then
9579 echo "$as_me:$LINENO: result: yes" >&5
9580 echo "${ECHO_T}yes" >&6
9582 echo "$as_me:$LINENO: result: no" >&5
9583 echo "${ECHO_T}no" >&6
9588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9591 # Check whether --enable-splitter or --disable-splitter was given.
9592 if test "${enable_splitter+set}" = set; then
9593 enableval
="$enable_splitter"
9595 if test "$enableval" = yes; then
9596 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9598 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9603 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9604 if test "x$LINE" != x
; then
9605 eval "DEFAULT_$LINE"
9610 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9614 eval "$ac_cv_use_splitter"
9615 if test "$no_cache" != 1; then
9616 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9619 if test "$wxUSE_SPLITTER" = yes; then
9620 echo "$as_me:$LINENO: result: yes" >&5
9621 echo "${ECHO_T}yes" >&6
9623 echo "$as_me:$LINENO: result: no" >&5
9624 echo "${ECHO_T}no" >&6
9629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9630 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9632 # Check whether --enable-statbmp or --disable-statbmp was given.
9633 if test "${enable_statbmp+set}" = set; then
9634 enableval
="$enable_statbmp"
9636 if test "$enableval" = yes; then
9637 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9639 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9644 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9645 if test "x$LINE" != x
; then
9646 eval "DEFAULT_$LINE"
9651 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9655 eval "$ac_cv_use_statbmp"
9656 if test "$no_cache" != 1; then
9657 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9660 if test "$wxUSE_STATBMP" = yes; then
9661 echo "$as_me:$LINENO: result: yes" >&5
9662 echo "${ECHO_T}yes" >&6
9664 echo "$as_me:$LINENO: result: no" >&5
9665 echo "${ECHO_T}no" >&6
9670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9673 # Check whether --enable-statbox or --disable-statbox was given.
9674 if test "${enable_statbox+set}" = set; then
9675 enableval
="$enable_statbox"
9677 if test "$enableval" = yes; then
9678 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9680 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9685 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9686 if test "x$LINE" != x
; then
9687 eval "DEFAULT_$LINE"
9692 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9696 eval "$ac_cv_use_statbox"
9697 if test "$no_cache" != 1; then
9698 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9701 if test "$wxUSE_STATBOX" = yes; then
9702 echo "$as_me:$LINENO: result: yes" >&5
9703 echo "${ECHO_T}yes" >&6
9705 echo "$as_me:$LINENO: result: no" >&5
9706 echo "${ECHO_T}no" >&6
9711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9712 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9714 # Check whether --enable-statline or --disable-statline was given.
9715 if test "${enable_statline+set}" = set; then
9716 enableval
="$enable_statline"
9718 if test "$enableval" = yes; then
9719 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9721 ac_cv_use_statline
='wxUSE_STATLINE=no'
9726 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9727 if test "x$LINE" != x
; then
9728 eval "DEFAULT_$LINE"
9733 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9737 eval "$ac_cv_use_statline"
9738 if test "$no_cache" != 1; then
9739 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9742 if test "$wxUSE_STATLINE" = yes; then
9743 echo "$as_me:$LINENO: result: yes" >&5
9744 echo "${ECHO_T}yes" >&6
9746 echo "$as_me:$LINENO: result: no" >&5
9747 echo "${ECHO_T}no" >&6
9752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9753 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9755 # Check whether --enable-stattext or --disable-stattext was given.
9756 if test "${enable_stattext+set}" = set; then
9757 enableval
="$enable_stattext"
9759 if test "$enableval" = yes; then
9760 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9762 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9767 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9768 if test "x$LINE" != x
; then
9769 eval "DEFAULT_$LINE"
9774 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9778 eval "$ac_cv_use_stattext"
9779 if test "$no_cache" != 1; then
9780 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9783 if test "$wxUSE_STATTEXT" = yes; then
9784 echo "$as_me:$LINENO: result: yes" >&5
9785 echo "${ECHO_T}yes" >&6
9787 echo "$as_me:$LINENO: result: no" >&5
9788 echo "${ECHO_T}no" >&6
9793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9794 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9796 # Check whether --enable-statusbar or --disable-statusbar was given.
9797 if test "${enable_statusbar+set}" = set; then
9798 enableval
="$enable_statusbar"
9800 if test "$enableval" = yes; then
9801 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9803 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9808 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9809 if test "x$LINE" != x
; then
9810 eval "DEFAULT_$LINE"
9815 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9819 eval "$ac_cv_use_statusbar"
9820 if test "$no_cache" != 1; then
9821 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9824 if test "$wxUSE_STATUSBAR" = yes; then
9825 echo "$as_me:$LINENO: result: yes" >&5
9826 echo "${ECHO_T}yes" >&6
9828 echo "$as_me:$LINENO: result: no" >&5
9829 echo "${ECHO_T}no" >&6
9834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9835 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9837 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9838 if test "${enable_tabdialog+set}" = set; then
9839 enableval
="$enable_tabdialog"
9841 if test "$enableval" = yes; then
9842 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9844 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9849 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9850 if test "x$LINE" != x
; then
9851 eval "DEFAULT_$LINE"
9856 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9860 eval "$ac_cv_use_tabdialog"
9861 if test "$no_cache" != 1; then
9862 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9865 if test "$wxUSE_TAB_DIALOG" = yes; then
9866 echo "$as_me:$LINENO: result: yes" >&5
9867 echo "${ECHO_T}yes" >&6
9869 echo "$as_me:$LINENO: result: no" >&5
9870 echo "${ECHO_T}no" >&6
9875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9878 # Check whether --enable-textctrl or --disable-textctrl was given.
9879 if test "${enable_textctrl+set}" = set; then
9880 enableval
="$enable_textctrl"
9882 if test "$enableval" = yes; then
9883 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9885 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9890 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9891 if test "x$LINE" != x
; then
9892 eval "DEFAULT_$LINE"
9897 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9901 eval "$ac_cv_use_textctrl"
9902 if test "$no_cache" != 1; then
9903 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9906 if test "$wxUSE_TEXTCTRL" = yes; then
9907 echo "$as_me:$LINENO: result: yes" >&5
9908 echo "${ECHO_T}yes" >&6
9910 echo "$as_me:$LINENO: result: no" >&5
9911 echo "${ECHO_T}no" >&6
9916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9919 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9920 if test "${enable_togglebtn+set}" = set; then
9921 enableval
="$enable_togglebtn"
9923 if test "$enableval" = yes; then
9924 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9926 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9931 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x
; then
9933 eval "DEFAULT_$LINE"
9938 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9942 eval "$ac_cv_use_togglebtn"
9943 if test "$no_cache" != 1; then
9944 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9947 if test "$wxUSE_TOGGLEBTN" = yes; then
9948 echo "$as_me:$LINENO: result: yes" >&5
9949 echo "${ECHO_T}yes" >&6
9951 echo "$as_me:$LINENO: result: no" >&5
9952 echo "${ECHO_T}no" >&6
9957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9960 # Check whether --enable-toolbar or --disable-toolbar was given.
9961 if test "${enable_toolbar+set}" = set; then
9962 enableval
="$enable_toolbar"
9964 if test "$enableval" = yes; then
9965 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9967 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9972 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x
; then
9974 eval "DEFAULT_$LINE"
9979 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9983 eval "$ac_cv_use_toolbar"
9984 if test "$no_cache" != 1; then
9985 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9988 if test "$wxUSE_TOOLBAR" = yes; then
9989 echo "$as_me:$LINENO: result: yes" >&5
9990 echo "${ECHO_T}yes" >&6
9992 echo "$as_me:$LINENO: result: no" >&5
9993 echo "${ECHO_T}no" >&6
9998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9999 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10001 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10002 if test "${enable_tbarnative+set}" = set; then
10003 enableval
="$enable_tbarnative"
10005 if test "$enableval" = yes; then
10006 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
10008 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
10013 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10014 if test "x$LINE" != x
; then
10015 eval "DEFAULT_$LINE"
10020 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10024 eval "$ac_cv_use_tbarnative"
10025 if test "$no_cache" != 1; then
10026 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10029 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10030 echo "$as_me:$LINENO: result: yes" >&5
10031 echo "${ECHO_T}yes" >&6
10033 echo "$as_me:$LINENO: result: no" >&5
10034 echo "${ECHO_T}no" >&6
10039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10040 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10042 # Check whether --enable-treebook or --disable-treebook was given.
10043 if test "${enable_treebook+set}" = set; then
10044 enableval
="$enable_treebook"
10046 if test "$enableval" = yes; then
10047 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
10049 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
10054 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10055 if test "x$LINE" != x
; then
10056 eval "DEFAULT_$LINE"
10061 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10065 eval "$ac_cv_use_treebook"
10066 if test "$no_cache" != 1; then
10067 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10070 if test "$wxUSE_TREEBOOK" = yes; then
10071 echo "$as_me:$LINENO: result: yes" >&5
10072 echo "${ECHO_T}yes" >&6
10074 echo "$as_me:$LINENO: result: no" >&5
10075 echo "${ECHO_T}no" >&6
10080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10081 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10083 # Check whether --enable-toolbook or --disable-toolbook was given.
10084 if test "${enable_toolbook+set}" = set; then
10085 enableval
="$enable_toolbook"
10087 if test "$enableval" = yes; then
10088 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
10090 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
10095 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10096 if test "x$LINE" != x
; then
10097 eval "DEFAULT_$LINE"
10102 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10106 eval "$ac_cv_use_toolbook"
10107 if test "$no_cache" != 1; then
10108 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10111 if test "$wxUSE_TOOLBOOK" = yes; then
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10122 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10124 # Check whether --enable-treectrl or --disable-treectrl was given.
10125 if test "${enable_treectrl+set}" = set; then
10126 enableval
="$enable_treectrl"
10128 if test "$enableval" = yes; then
10129 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
10131 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
10136 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10137 if test "x$LINE" != x
; then
10138 eval "DEFAULT_$LINE"
10143 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10147 eval "$ac_cv_use_treectrl"
10148 if test "$no_cache" != 1; then
10149 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10152 if test "$wxUSE_TREECTRL" = yes; then
10153 echo "$as_me:$LINENO: result: yes" >&5
10154 echo "${ECHO_T}yes" >&6
10156 echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6
10162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10165 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10166 if test "${enable_tipwindow+set}" = set; then
10167 enableval
="$enable_tipwindow"
10169 if test "$enableval" = yes; then
10170 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
10172 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
10177 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10178 if test "x$LINE" != x
; then
10179 eval "DEFAULT_$LINE"
10184 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10188 eval "$ac_cv_use_tipwindow"
10189 if test "$no_cache" != 1; then
10190 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10193 if test "$wxUSE_TIPWINDOW" = yes; then
10194 echo "$as_me:$LINENO: result: yes" >&5
10195 echo "${ECHO_T}yes" >&6
10197 echo "$as_me:$LINENO: result: no" >&5
10198 echo "${ECHO_T}no" >&6
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10206 # Check whether --enable-popupwin or --disable-popupwin was given.
10207 if test "${enable_popupwin+set}" = set; then
10208 enableval
="$enable_popupwin"
10210 if test "$enableval" = yes; then
10211 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10213 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10218 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x
; then
10220 eval "DEFAULT_$LINE"
10225 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10229 eval "$ac_cv_use_popupwin"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10234 if test "$wxUSE_POPUPWIN" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10249 # Check whether --enable-commondlg or --disable-commondlg was given.
10250 if test "${enable_commondlg+set}" = set; then
10251 enableval
="$enable_commondlg"
10253 if test "$enableval" = yes; then
10254 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10256 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10261 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10262 if test "x$LINE" != x
; then
10263 eval "DEFAULT_$LINE"
10268 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10272 eval "$ac_cv_use_commondlg"
10273 if test "$no_cache" != 1; then
10274 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10277 if test "$wxUSE_COMMONDLGS" = yes; then
10278 echo "$as_me:$LINENO: result: yes" >&5
10279 echo "${ECHO_T}yes" >&6
10281 echo "$as_me:$LINENO: result: no" >&5
10282 echo "${ECHO_T}no" >&6
10287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10290 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10291 if test "${enable_aboutdlg+set}" = set; then
10292 enableval
="$enable_aboutdlg"
10294 if test "$enableval" = yes; then
10295 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10297 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10302 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10303 if test "x$LINE" != x
; then
10304 eval "DEFAULT_$LINE"
10309 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10313 eval "$ac_cv_use_aboutdlg"
10314 if test "$no_cache" != 1; then
10315 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10318 if test "$wxUSE_ABOUTDLG" = yes; then
10319 echo "$as_me:$LINENO: result: yes" >&5
10320 echo "${ECHO_T}yes" >&6
10322 echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6
10328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10331 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10332 if test "${enable_choicedlg+set}" = set; then
10333 enableval
="$enable_choicedlg"
10335 if test "$enableval" = yes; then
10336 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10338 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10343 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x
; then
10345 eval "DEFAULT_$LINE"
10350 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10354 eval "$ac_cv_use_choicedlg"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10359 if test "$wxUSE_CHOICEDLG" = yes; then
10360 echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6
10363 echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6
10369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10372 # Check whether --enable-coldlg or --disable-coldlg was given.
10373 if test "${enable_coldlg+set}" = set; then
10374 enableval
="$enable_coldlg"
10376 if test "$enableval" = yes; then
10377 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10379 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10384 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10385 if test "x$LINE" != x
; then
10386 eval "DEFAULT_$LINE"
10391 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10395 eval "$ac_cv_use_coldlg"
10396 if test "$no_cache" != 1; then
10397 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10400 if test "$wxUSE_COLOURDLG" = yes; then
10401 echo "$as_me:$LINENO: result: yes" >&5
10402 echo "${ECHO_T}yes" >&6
10404 echo "$as_me:$LINENO: result: no" >&5
10405 echo "${ECHO_T}no" >&6
10410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10413 # Check whether --enable-filedlg or --disable-filedlg was given.
10414 if test "${enable_filedlg+set}" = set; then
10415 enableval
="$enable_filedlg"
10417 if test "$enableval" = yes; then
10418 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10420 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10425 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10426 if test "x$LINE" != x
; then
10427 eval "DEFAULT_$LINE"
10432 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10436 eval "$ac_cv_use_filedlg"
10437 if test "$no_cache" != 1; then
10438 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10441 if test "$wxUSE_FILEDLG" = yes; then
10442 echo "$as_me:$LINENO: result: yes" >&5
10443 echo "${ECHO_T}yes" >&6
10445 echo "$as_me:$LINENO: result: no" >&5
10446 echo "${ECHO_T}no" >&6
10451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10452 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10454 # Check whether --enable-finddlg or --disable-finddlg was given.
10455 if test "${enable_finddlg+set}" = set; then
10456 enableval
="$enable_finddlg"
10458 if test "$enableval" = yes; then
10459 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10461 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10466 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10467 if test "x$LINE" != x
; then
10468 eval "DEFAULT_$LINE"
10473 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10477 eval "$ac_cv_use_finddlg"
10478 if test "$no_cache" != 1; then
10479 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10482 if test "$wxUSE_FINDREPLDLG" = yes; then
10483 echo "$as_me:$LINENO: result: yes" >&5
10484 echo "${ECHO_T}yes" >&6
10486 echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6
10492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10495 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10496 if test "${enable_fontdlg+set}" = set; then
10497 enableval
="$enable_fontdlg"
10499 if test "$enableval" = yes; then
10500 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10502 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10507 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10508 if test "x$LINE" != x
; then
10509 eval "DEFAULT_$LINE"
10514 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10518 eval "$ac_cv_use_fontdlg"
10519 if test "$no_cache" != 1; then
10520 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10523 if test "$wxUSE_FONTDLG" = yes; then
10524 echo "$as_me:$LINENO: result: yes" >&5
10525 echo "${ECHO_T}yes" >&6
10527 echo "$as_me:$LINENO: result: no" >&5
10528 echo "${ECHO_T}no" >&6
10533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10536 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10537 if test "${enable_dirdlg+set}" = set; then
10538 enableval
="$enable_dirdlg"
10540 if test "$enableval" = yes; then
10541 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10543 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10548 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10549 if test "x$LINE" != x
; then
10550 eval "DEFAULT_$LINE"
10555 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10559 eval "$ac_cv_use_dirdlg"
10560 if test "$no_cache" != 1; then
10561 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10564 if test "$wxUSE_DIRDLG" = yes; then
10565 echo "$as_me:$LINENO: result: yes" >&5
10566 echo "${ECHO_T}yes" >&6
10568 echo "$as_me:$LINENO: result: no" >&5
10569 echo "${ECHO_T}no" >&6
10574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10577 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10578 if test "${enable_msgdlg+set}" = set; then
10579 enableval
="$enable_msgdlg"
10581 if test "$enableval" = yes; then
10582 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10584 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10589 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10590 if test "x$LINE" != x
; then
10591 eval "DEFAULT_$LINE"
10596 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10600 eval "$ac_cv_use_msgdlg"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10605 if test "$wxUSE_MSGDLG" = yes; then
10606 echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10609 echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6
10615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10618 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10619 if test "${enable_numberdlg+set}" = set; then
10620 enableval
="$enable_numberdlg"
10622 if test "$enableval" = yes; then
10623 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10625 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10630 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10631 if test "x$LINE" != x
; then
10632 eval "DEFAULT_$LINE"
10637 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10641 eval "$ac_cv_use_numberdlg"
10642 if test "$no_cache" != 1; then
10643 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10646 if test "$wxUSE_NUMBERDLG" = yes; then
10647 echo "$as_me:$LINENO: result: yes" >&5
10648 echo "${ECHO_T}yes" >&6
10650 echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6
10656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10657 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10659 # Check whether --enable-splash or --disable-splash was given.
10660 if test "${enable_splash+set}" = set; then
10661 enableval
="$enable_splash"
10663 if test "$enableval" = yes; then
10664 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10666 ac_cv_use_splash
='wxUSE_SPLASH=no'
10671 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10672 if test "x$LINE" != x
; then
10673 eval "DEFAULT_$LINE"
10678 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10682 eval "$ac_cv_use_splash"
10683 if test "$no_cache" != 1; then
10684 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10687 if test "$wxUSE_SPLASH" = yes; then
10688 echo "$as_me:$LINENO: result: yes" >&5
10689 echo "${ECHO_T}yes" >&6
10691 echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6
10697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10698 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10700 # Check whether --enable-textdlg or --disable-textdlg was given.
10701 if test "${enable_textdlg+set}" = set; then
10702 enableval
="$enable_textdlg"
10704 if test "$enableval" = yes; then
10705 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10707 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10712 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10713 if test "x$LINE" != x
; then
10714 eval "DEFAULT_$LINE"
10719 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10723 eval "$ac_cv_use_textdlg"
10724 if test "$no_cache" != 1; then
10725 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10728 if test "$wxUSE_TEXTDLG" = yes; then
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10739 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10741 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10742 if test "${enable_tipdlg+set}" = set; then
10743 enableval
="$enable_tipdlg"
10745 if test "$enableval" = yes; then
10746 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10748 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10753 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10754 if test "x$LINE" != x
; then
10755 eval "DEFAULT_$LINE"
10760 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10764 eval "$ac_cv_use_tipdlg"
10765 if test "$no_cache" != 1; then
10766 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10769 if test "$wxUSE_STARTUP_TIPS" = yes; then
10770 echo "$as_me:$LINENO: result: yes" >&5
10771 echo "${ECHO_T}yes" >&6
10773 echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6
10779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10782 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10783 if test "${enable_progressdlg+set}" = set; then
10784 enableval
="$enable_progressdlg"
10786 if test "$enableval" = yes; then
10787 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10789 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10794 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10795 if test "x$LINE" != x
; then
10796 eval "DEFAULT_$LINE"
10801 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10805 eval "$ac_cv_use_progressdlg"
10806 if test "$no_cache" != 1; then
10807 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10810 if test "$wxUSE_PROGRESSDLG" = yes; then
10811 echo "$as_me:$LINENO: result: yes" >&5
10812 echo "${ECHO_T}yes" >&6
10814 echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6
10820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10823 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10824 if test "${enable_wizarddlg+set}" = set; then
10825 enableval
="$enable_wizarddlg"
10827 if test "$enableval" = yes; then
10828 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10830 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10835 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10836 if test "x$LINE" != x
; then
10837 eval "DEFAULT_$LINE"
10842 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10846 eval "$ac_cv_use_wizarddlg"
10847 if test "$no_cache" != 1; then
10848 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10851 if test "$wxUSE_WIZARDDLG" = yes; then
10852 echo "$as_me:$LINENO: result: yes" >&5
10853 echo "${ECHO_T}yes" >&6
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10866 # Check whether --enable-menus or --disable-menus was given.
10867 if test "${enable_menus+set}" = set; then
10868 enableval
="$enable_menus"
10870 if test "$enableval" = yes; then
10871 ac_cv_use_menus
='wxUSE_MENUS=yes'
10873 ac_cv_use_menus
='wxUSE_MENUS=no'
10878 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10879 if test "x$LINE" != x
; then
10880 eval "DEFAULT_$LINE"
10885 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10889 eval "$ac_cv_use_menus"
10890 if test "$no_cache" != 1; then
10891 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10894 if test "$wxUSE_MENUS" = yes; then
10895 echo "$as_me:$LINENO: result: yes" >&5
10896 echo "${ECHO_T}yes" >&6
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10907 # Check whether --enable-miniframe or --disable-miniframe was given.
10908 if test "${enable_miniframe+set}" = set; then
10909 enableval
="$enable_miniframe"
10911 if test "$enableval" = yes; then
10912 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10914 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10919 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10920 if test "x$LINE" != x
; then
10921 eval "DEFAULT_$LINE"
10926 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10930 eval "$ac_cv_use_miniframe"
10931 if test "$no_cache" != 1; then
10932 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10935 if test "$wxUSE_MINIFRAME" = yes; then
10936 echo "$as_me:$LINENO: result: yes" >&5
10937 echo "${ECHO_T}yes" >&6
10939 echo "$as_me:$LINENO: result: no" >&5
10940 echo "${ECHO_T}no" >&6
10945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10948 # Check whether --enable-tooltips or --disable-tooltips was given.
10949 if test "${enable_tooltips+set}" = set; then
10950 enableval
="$enable_tooltips"
10952 if test "$enableval" = yes; then
10953 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10955 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10960 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10961 if test "x$LINE" != x
; then
10962 eval "DEFAULT_$LINE"
10967 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10971 eval "$ac_cv_use_tooltips"
10972 if test "$no_cache" != 1; then
10973 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10976 if test "$wxUSE_TOOLTIPS" = yes; then
10977 echo "$as_me:$LINENO: result: yes" >&5
10978 echo "${ECHO_T}yes" >&6
10980 echo "$as_me:$LINENO: result: no" >&5
10981 echo "${ECHO_T}no" >&6
10986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10987 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10989 # Check whether --enable-splines or --disable-splines was given.
10990 if test "${enable_splines+set}" = set; then
10991 enableval
="$enable_splines"
10993 if test "$enableval" = yes; then
10994 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10996 ac_cv_use_splines
='wxUSE_SPLINES=no'
11001 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11002 if test "x$LINE" != x
; then
11003 eval "DEFAULT_$LINE"
11008 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11012 eval "$ac_cv_use_splines"
11013 if test "$no_cache" != 1; then
11014 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11017 if test "$wxUSE_SPLINES" = yes; then
11018 echo "$as_me:$LINENO: result: yes" >&5
11019 echo "${ECHO_T}yes" >&6
11021 echo "$as_me:$LINENO: result: no" >&5
11022 echo "${ECHO_T}no" >&6
11027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11030 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11031 if test "${enable_mousewheel+set}" = set; then
11032 enableval
="$enable_mousewheel"
11034 if test "$enableval" = yes; then
11035 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
11037 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
11042 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11043 if test "x$LINE" != x
; then
11044 eval "DEFAULT_$LINE"
11049 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11053 eval "$ac_cv_use_mousewheel"
11054 if test "$no_cache" != 1; then
11055 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11058 if test "$wxUSE_MOUSEWHEEL" = yes; then
11059 echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6
11062 echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6
11068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11069 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11071 # Check whether --enable-validators or --disable-validators was given.
11072 if test "${enable_validators+set}" = set; then
11073 enableval
="$enable_validators"
11075 if test "$enableval" = yes; then
11076 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
11078 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
11083 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11084 if test "x$LINE" != x
; then
11085 eval "DEFAULT_$LINE"
11090 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11094 eval "$ac_cv_use_validators"
11095 if test "$no_cache" != 1; then
11096 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11099 if test "$wxUSE_VALIDATORS" = yes; then
11100 echo "$as_me:$LINENO: result: yes" >&5
11101 echo "${ECHO_T}yes" >&6
11103 echo "$as_me:$LINENO: result: no" >&5
11104 echo "${ECHO_T}no" >&6
11109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11112 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11113 if test "${enable_busyinfo+set}" = set; then
11114 enableval
="$enable_busyinfo"
11116 if test "$enableval" = yes; then
11117 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
11119 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
11124 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11125 if test "x$LINE" != x
; then
11126 eval "DEFAULT_$LINE"
11131 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11135 eval "$ac_cv_use_busyinfo"
11136 if test "$no_cache" != 1; then
11137 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11140 if test "$wxUSE_BUSYINFO" = yes; then
11141 echo "$as_me:$LINENO: result: yes" >&5
11142 echo "${ECHO_T}yes" >&6
11144 echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6
11150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11151 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11153 # Check whether --enable-joystick or --disable-joystick was given.
11154 if test "${enable_joystick+set}" = set; then
11155 enableval
="$enable_joystick"
11157 if test "$enableval" = yes; then
11158 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
11160 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
11165 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11166 if test "x$LINE" != x
; then
11167 eval "DEFAULT_$LINE"
11172 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11176 eval "$ac_cv_use_joystick"
11177 if test "$no_cache" != 1; then
11178 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11181 if test "$wxUSE_JOYSTICK" = yes; then
11182 echo "$as_me:$LINENO: result: yes" >&5
11183 echo "${ECHO_T}yes" >&6
11185 echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6
11191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11192 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11194 # Check whether --enable-metafile or --disable-metafile was given.
11195 if test "${enable_metafile+set}" = set; then
11196 enableval
="$enable_metafile"
11198 if test "$enableval" = yes; then
11199 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11201 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11206 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11207 if test "x$LINE" != x
; then
11208 eval "DEFAULT_$LINE"
11213 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11217 eval "$ac_cv_use_metafile"
11218 if test "$no_cache" != 1; then
11219 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11222 if test "$wxUSE_METAFILE" = yes; then
11223 echo "$as_me:$LINENO: result: yes" >&5
11224 echo "${ECHO_T}yes" >&6
11226 echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6
11232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11235 # Check whether --enable-dragimage or --disable-dragimage was given.
11236 if test "${enable_dragimage+set}" = set; then
11237 enableval
="$enable_dragimage"
11239 if test "$enableval" = yes; then
11240 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11242 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11247 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11248 if test "x$LINE" != x
; then
11249 eval "DEFAULT_$LINE"
11254 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11258 eval "$ac_cv_use_dragimage"
11259 if test "$no_cache" != 1; then
11260 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11263 if test "$wxUSE_DRAGIMAGE" = yes; then
11264 echo "$as_me:$LINENO: result: yes" >&5
11265 echo "${ECHO_T}yes" >&6
11267 echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6
11273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11276 # Check whether --enable-accessibility or --disable-accessibility was given.
11277 if test "${enable_accessibility+set}" = set; then
11278 enableval
="$enable_accessibility"
11280 if test "$enableval" = yes; then
11281 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11283 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11288 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x
; then
11290 eval "DEFAULT_$LINE"
11295 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11299 eval "$ac_cv_use_accessibility"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11304 if test "$wxUSE_ACCESSIBILITY" = yes; then
11305 echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6
11308 echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6
11313 if test "$wxUSE_MSW" = "1"; then
11316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11317 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11319 # Check whether --enable-dccache or --disable-dccache was given.
11320 if test "${enable_dccache+set}" = set; then
11321 enableval
="$enable_dccache"
11323 if test "$enableval" = yes; then
11324 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11326 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11331 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11332 if test "x$LINE" != x
; then
11333 eval "DEFAULT_$LINE"
11338 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11342 eval "$ac_cv_use_dccache"
11343 if test "$no_cache" != 1; then
11344 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11347 if test "$wxUSE_DC_CACHEING" = yes; then
11348 echo "$as_me:$LINENO: result: yes" >&5
11349 echo "${ECHO_T}yes" >&6
11351 echo "$as_me:$LINENO: result: no" >&5
11352 echo "${ECHO_T}no" >&6
11360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11361 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11363 # Check whether --enable-palette or --disable-palette was given.
11364 if test "${enable_palette+set}" = set; then
11365 enableval
="$enable_palette"
11367 if test "$enableval" = yes; then
11368 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11370 ac_cv_use_palette
='wxUSE_PALETTE=no'
11375 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11376 if test "x$LINE" != x
; then
11377 eval "DEFAULT_$LINE"
11382 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11386 eval "$ac_cv_use_palette"
11387 if test "$no_cache" != 1; then
11388 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11391 if test "$wxUSE_PALETTE" = yes; then
11392 echo "$as_me:$LINENO: result: yes" >&5
11393 echo "${ECHO_T}yes" >&6
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11402 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11404 # Check whether --enable-image or --disable-image was given.
11405 if test "${enable_image+set}" = set; then
11406 enableval
="$enable_image"
11408 if test "$enableval" = yes; then
11409 ac_cv_use_image
='wxUSE_IMAGE=yes'
11411 ac_cv_use_image
='wxUSE_IMAGE=no'
11416 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11417 if test "x$LINE" != x
; then
11418 eval "DEFAULT_$LINE"
11423 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11427 eval "$ac_cv_use_image"
11428 if test "$no_cache" != 1; then
11429 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11432 if test "$wxUSE_IMAGE" = yes; then
11433 echo "$as_me:$LINENO: result: yes" >&5
11434 echo "${ECHO_T}yes" >&6
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11443 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11445 # Check whether --enable-gif or --disable-gif was given.
11446 if test "${enable_gif+set}" = set; then
11447 enableval
="$enable_gif"
11449 if test "$enableval" = yes; then
11450 ac_cv_use_gif
='wxUSE_GIF=yes'
11452 ac_cv_use_gif
='wxUSE_GIF=no'
11457 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11458 if test "x$LINE" != x
; then
11459 eval "DEFAULT_$LINE"
11464 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11468 eval "$ac_cv_use_gif"
11469 if test "$no_cache" != 1; then
11470 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11473 if test "$wxUSE_GIF" = yes; then
11474 echo "$as_me:$LINENO: result: yes" >&5
11475 echo "${ECHO_T}yes" >&6
11477 echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6
11483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11484 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11486 # Check whether --enable-pcx or --disable-pcx was given.
11487 if test "${enable_pcx+set}" = set; then
11488 enableval
="$enable_pcx"
11490 if test "$enableval" = yes; then
11491 ac_cv_use_pcx
='wxUSE_PCX=yes'
11493 ac_cv_use_pcx
='wxUSE_PCX=no'
11498 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11499 if test "x$LINE" != x
; then
11500 eval "DEFAULT_$LINE"
11505 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11509 eval "$ac_cv_use_pcx"
11510 if test "$no_cache" != 1; then
11511 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11514 if test "$wxUSE_PCX" = yes; then
11515 echo "$as_me:$LINENO: result: yes" >&5
11516 echo "${ECHO_T}yes" >&6
11518 echo "$as_me:$LINENO: result: no" >&5
11519 echo "${ECHO_T}no" >&6
11524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11527 # Check whether --enable-tga or --disable-tga was given.
11528 if test "${enable_tga+set}" = set; then
11529 enableval
="$enable_tga"
11531 if test "$enableval" = yes; then
11532 ac_cv_use_tga
='wxUSE_TGA=yes'
11534 ac_cv_use_tga
='wxUSE_TGA=no'
11539 LINE
=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11540 if test "x$LINE" != x
; then
11541 eval "DEFAULT_$LINE"
11546 ac_cv_use_tga
='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11550 eval "$ac_cv_use_tga"
11551 if test "$no_cache" != 1; then
11552 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11555 if test "$wxUSE_TGA" = 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
11565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11566 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11568 # Check whether --enable-iff or --disable-iff was given.
11569 if test "${enable_iff+set}" = set; then
11570 enableval
="$enable_iff"
11572 if test "$enableval" = yes; then
11573 ac_cv_use_iff
='wxUSE_IFF=yes'
11575 ac_cv_use_iff
='wxUSE_IFF=no'
11580 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11581 if test "x$LINE" != x
; then
11582 eval "DEFAULT_$LINE"
11587 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11591 eval "$ac_cv_use_iff"
11592 if test "$no_cache" != 1; then
11593 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11596 if test "$wxUSE_IFF" = yes; then
11597 echo "$as_me:$LINENO: result: yes" >&5
11598 echo "${ECHO_T}yes" >&6
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11607 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11609 # Check whether --enable-pnm or --disable-pnm was given.
11610 if test "${enable_pnm+set}" = set; then
11611 enableval
="$enable_pnm"
11613 if test "$enableval" = yes; then
11614 ac_cv_use_pnm
='wxUSE_PNM=yes'
11616 ac_cv_use_pnm
='wxUSE_PNM=no'
11621 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11622 if test "x$LINE" != x
; then
11623 eval "DEFAULT_$LINE"
11628 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11632 eval "$ac_cv_use_pnm"
11633 if test "$no_cache" != 1; then
11634 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11637 if test "$wxUSE_PNM" = yes; then
11638 echo "$as_me:$LINENO: result: yes" >&5
11639 echo "${ECHO_T}yes" >&6
11641 echo "$as_me:$LINENO: result: no" >&5
11642 echo "${ECHO_T}no" >&6
11647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11650 # Check whether --enable-xpm or --disable-xpm was given.
11651 if test "${enable_xpm+set}" = set; then
11652 enableval
="$enable_xpm"
11654 if test "$enableval" = yes; then
11655 ac_cv_use_xpm
='wxUSE_XPM=yes'
11657 ac_cv_use_xpm
='wxUSE_XPM=no'
11662 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11663 if test "x$LINE" != x
; then
11664 eval "DEFAULT_$LINE"
11669 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11673 eval "$ac_cv_use_xpm"
11674 if test "$no_cache" != 1; then
11675 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11678 if test "$wxUSE_XPM" = yes; then
11679 echo "$as_me:$LINENO: result: yes" >&5
11680 echo "${ECHO_T}yes" >&6
11682 echo "$as_me:$LINENO: result: no" >&5
11683 echo "${ECHO_T}no" >&6
11688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11689 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11691 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11692 if test "${enable_ico_cur+set}" = set; then
11693 enableval
="$enable_ico_cur"
11695 if test "$enableval" = yes; then
11696 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11698 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11703 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x
; then
11705 eval "DEFAULT_$LINE"
11710 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11714 eval "$ac_cv_use_ico_cur"
11715 if test "$no_cache" != 1; then
11716 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11719 if test "$wxUSE_ICO_CUR" = yes; then
11720 echo "$as_me:$LINENO: result: yes" >&5
11721 echo "${ECHO_T}yes" >&6
11723 echo "$as_me:$LINENO: result: no" >&5
11724 echo "${ECHO_T}no" >&6
11732 # Check whether --with-flavour or --without-flavour was given.
11733 if test "${with_flavour+set}" = set; then
11734 withval
="$with_flavour"
11735 WX_FLAVOUR
="$withval"
11741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11742 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11744 # Check whether --enable-official_build or --disable-official_build was given.
11745 if test "${enable_official_build+set}" = set; then
11746 enableval
="$enable_official_build"
11748 if test "$enableval" = yes; then
11749 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11751 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11756 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x
; then
11758 eval "DEFAULT_$LINE"
11763 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11767 eval "$ac_cv_use_official_build"
11768 if test "$no_cache" != 1; then
11769 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11772 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11773 echo "$as_me:$LINENO: result: yes" >&5
11774 echo "${ECHO_T}yes" >&6
11776 echo "$as_me:$LINENO: result: no" >&5
11777 echo "${ECHO_T}no" >&6
11780 # Check whether --enable-vendor or --disable-vendor was given.
11781 if test "${enable_vendor+set}" = set; then
11782 enableval
="$enable_vendor"
11783 VENDOR
="$enableval"
11785 if test "x$VENDOR" = "x"; then
11792 echo "saving argument cache $wx_arg_cache_file"
11793 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11797 echo "$as_me:$LINENO: checking for toolkit" >&5
11798 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11800 # In Wine, we need to default to MSW, not GTK or MOTIF
11801 if test "$wxUSE_WINE" = "yes"; then
11802 DEFAULT_DEFAULT_wxUSE_GTK
=0
11803 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11804 DEFAULT_DEFAULT_wxUSE_MSW
=1
11809 if test "$wxUSE_GUI" = "yes"; then
11811 if test "$USE_BEOS" = 1; then
11812 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11813 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11814 { (exit 1); exit 1; }; }
11817 if test "$TOOLKIT_GIVEN" = 1; then
11818 for toolkit
in `echo $ALL_TOOLKITS`; do
11820 eval "value=\$${var}"
11821 if test "x$value" = "xno"; then
11823 elif test "x$value" != "x"; then
11827 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11828 eval "wx${toolkit}_VERSION=$value"
11832 for toolkit
in `echo $ALL_TOOLKITS`; do
11833 if test "$has_toolkit_in_cache" != 1; then
11834 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11836 var
=DEFAULT_wxUSE_
$toolkit
11838 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11839 if test "x$version" != "x"; then
11840 eval "wx${toolkit}_VERSION=$version"
11843 eval "wxUSE_$toolkit=\$${var}"
11847 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11848 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11849 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11852 *-pc-os2_emx | *-pc-os2-emx )
11853 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11856 case "$NUM_TOOLKITS" in
11860 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11861 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11862 { (exit 1); exit 1; }; }
11865 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11866 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11867 { (exit 1); exit 1; }; }
11870 # to be removed when --disable-gtk2 isn't needed
11871 if test "x$wxUSE_GTK2" = "xyes"; then
11873 elif test "x$wxUSE_GTK2" = "xno"; then
11877 for toolkit
in `echo $ALL_TOOLKITS`; do
11879 eval "value=\$${var}"
11880 if test "x$value" != x
; then
11881 cache_var
=CACHE_
$toolkit
11882 eval "cache=\$${cache_var}"
11883 if test "$cache" = 1; then
11884 echo "$var=$value" >> ${wx_arg_cache_file}
11885 eval "version=\$wx${toolkit}_VERSION"
11886 if test "x$version" != "x"; then
11887 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11890 if test "$value" = 1; then
11891 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11892 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11893 echo "${ECHO_T}$toolkit_echo" >&6
11898 if test "x$host_alias" != "x"; then
11899 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11900 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11902 echo "$as_me:$LINENO: result: base only" >&5
11903 echo "${ECHO_T}base only" >&6
11908 cat >confcache
<<\_ACEOF
11909 # This file is a shell script that caches the results of configure
11910 # tests run on this system so they can be shared between configure
11911 # scripts and configure runs, see configure's option --config-cache.
11912 # It is not useful on other systems. If it contains results you don't
11913 # want to keep, you may remove or edit it.
11915 # config.status only pays attention to the cache file if you give it
11916 # the --recheck option to rerun configure.
11918 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11920 # following values.
11924 # The following way of writing the cache mishandles newlines in values,
11925 # but we know of no workaround that is simple, portable, and efficient.
11926 # So, don't put newlines in cache variables' values.
11927 # Ultrix sh set writes to stderr and can't be redirected directly,
11928 # and sets the high bit in the cache file unless we assign to the vars.
11931 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11933 # `set' does not quote correctly, so add quotes (double-quote
11934 # substitution turns \\\\ into \\, and sed turns \\ into \).
11937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11940 # `set' quotes correctly as required by POSIX, so do not add quotes.
11942 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11951 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11953 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11954 if test -w $cache_file; then
11955 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11956 cat confcache
>$cache_file
11958 echo "not updating unwritable cache $cache_file"
11968 ac_cpp
='$CPP $CPPFLAGS'
11969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11972 if test -n "$ac_tool_prefix"; then
11973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11974 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11975 echo "$as_me:$LINENO: checking for $ac_word" >&5
11976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11977 if test "${ac_cv_prog_CC+set}" = set; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11980 if test -n "$CC"; then
11981 ac_cv_prog_CC
="$CC" # Let the user override the test.
11983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11984 for as_dir
in $PATH
11987 test -z "$as_dir" && as_dir
=.
11988 for ac_exec_ext
in '' $ac_executable_extensions; do
11989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11990 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12000 if test -n "$CC"; then
12001 echo "$as_me:$LINENO: result: $CC" >&5
12002 echo "${ECHO_T}$CC" >&6
12004 echo "$as_me:$LINENO: result: no" >&5
12005 echo "${ECHO_T}no" >&6
12009 if test -z "$ac_cv_prog_CC"; then
12011 # Extract the first word of "gcc", so it can be a program name with args.
12012 set dummy gcc
; ac_word
=$2
12013 echo "$as_me:$LINENO: checking for $ac_word" >&5
12014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12018 if test -n "$ac_ct_CC"; then
12019 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12022 for as_dir
in $PATH
12025 test -z "$as_dir" && as_dir
=.
12026 for ac_exec_ext
in '' $ac_executable_extensions; do
12027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12028 ac_cv_prog_ac_ct_CC
="gcc"
12029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12037 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12038 if test -n "$ac_ct_CC"; then
12039 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12040 echo "${ECHO_T}$ac_ct_CC" >&6
12042 echo "$as_me:$LINENO: result: no" >&5
12043 echo "${ECHO_T}no" >&6
12048 CC
="$ac_cv_prog_CC"
12051 if test -z "$CC"; then
12052 if test -n "$ac_tool_prefix"; then
12053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12054 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12055 echo "$as_me:$LINENO: checking for $ac_word" >&5
12056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12057 if test "${ac_cv_prog_CC+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12060 if test -n "$CC"; then
12061 ac_cv_prog_CC
="$CC" # Let the user override the test.
12063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12064 for as_dir
in $PATH
12067 test -z "$as_dir" && as_dir
=.
12068 for ac_exec_ext
in '' $ac_executable_extensions; do
12069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12070 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12080 if test -n "$CC"; then
12081 echo "$as_me:$LINENO: result: $CC" >&5
12082 echo "${ECHO_T}$CC" >&6
12084 echo "$as_me:$LINENO: result: no" >&5
12085 echo "${ECHO_T}no" >&6
12089 if test -z "$ac_cv_prog_CC"; then
12091 # Extract the first word of "cc", so it can be a program name with args.
12092 set dummy cc
; ac_word
=$2
12093 echo "$as_me:$LINENO: checking for $ac_word" >&5
12094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12095 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12098 if test -n "$ac_ct_CC"; then
12099 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12102 for as_dir
in $PATH
12105 test -z "$as_dir" && as_dir
=.
12106 for ac_exec_ext
in '' $ac_executable_extensions; do
12107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12108 ac_cv_prog_ac_ct_CC
="cc"
12109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12117 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12118 if test -n "$ac_ct_CC"; then
12119 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12120 echo "${ECHO_T}$ac_ct_CC" >&6
12122 echo "$as_me:$LINENO: result: no" >&5
12123 echo "${ECHO_T}no" >&6
12128 CC
="$ac_cv_prog_CC"
12132 if test -z "$CC"; then
12133 # Extract the first word of "cc", so it can be a program name with args.
12134 set dummy cc
; ac_word
=$2
12135 echo "$as_me:$LINENO: checking for $ac_word" >&5
12136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12137 if test "${ac_cv_prog_CC+set}" = set; then
12138 echo $ECHO_N "(cached) $ECHO_C" >&6
12140 if test -n "$CC"; then
12141 ac_cv_prog_CC
="$CC" # Let the user override the test.
12143 ac_prog_rejected
=no
12144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12145 for as_dir
in $PATH
12148 test -z "$as_dir" && as_dir
=.
12149 for ac_exec_ext
in '' $ac_executable_extensions; do
12150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12151 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12152 ac_prog_rejected
=yes
12156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12162 if test $ac_prog_rejected = yes; then
12163 # We found a bogon in the path, so make sure we never use it.
12164 set dummy
$ac_cv_prog_CC
12166 if test $# != 0; then
12167 # We chose a different compiler from the bogus one.
12168 # However, it has the same basename, so the bogon will be chosen
12169 # first if we set CC to just the basename; use the full file name.
12171 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12177 if test -n "$CC"; then
12178 echo "$as_me:$LINENO: result: $CC" >&5
12179 echo "${ECHO_T}$CC" >&6
12181 echo "$as_me:$LINENO: result: no" >&5
12182 echo "${ECHO_T}no" >&6
12186 if test -z "$CC"; then
12187 if test -n "$ac_tool_prefix"; then
12190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12191 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12192 echo "$as_me:$LINENO: checking for $ac_word" >&5
12193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12194 if test "${ac_cv_prog_CC+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12197 if test -n "$CC"; then
12198 ac_cv_prog_CC
="$CC" # Let the user override the test.
12200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12201 for as_dir
in $PATH
12204 test -z "$as_dir" && as_dir
=.
12205 for ac_exec_ext
in '' $ac_executable_extensions; do
12206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12207 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12217 if test -n "$CC"; then
12218 echo "$as_me:$LINENO: result: $CC" >&5
12219 echo "${ECHO_T}$CC" >&6
12221 echo "$as_me:$LINENO: result: no" >&5
12222 echo "${ECHO_T}no" >&6
12225 test -n "$CC" && break
12228 if test -z "$CC"; then
12232 # Extract the first word of "$ac_prog", so it can be a program name with args.
12233 set dummy
$ac_prog; ac_word
=$2
12234 echo "$as_me:$LINENO: checking for $ac_word" >&5
12235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12236 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6
12239 if test -n "$ac_ct_CC"; then
12240 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12243 for as_dir
in $PATH
12246 test -z "$as_dir" && as_dir
=.
12247 for ac_exec_ext
in '' $ac_executable_extensions; do
12248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12249 ac_cv_prog_ac_ct_CC
="$ac_prog"
12250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12258 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12259 if test -n "$ac_ct_CC"; then
12260 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12261 echo "${ECHO_T}$ac_ct_CC" >&6
12263 echo "$as_me:$LINENO: result: no" >&5
12264 echo "${ECHO_T}no" >&6
12267 test -n "$ac_ct_CC" && break
12276 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12277 See \`config.log' for more details." >&5
12278 echo "$as_me: error: no acceptable C compiler found in \$PATH
12279 See \`config.log' for more details." >&2;}
12280 { (exit 1); exit 1; }; }
12282 # Provide some information about the compiler.
12283 echo "$as_me:$LINENO:" \
12284 "checking for C compiler version" >&5
12285 ac_compiler
=`set X $ac_compile; echo $2`
12286 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12287 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }
12291 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12292 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }
12296 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12297 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }
12302 cat >conftest.
$ac_ext <<_ACEOF
12305 cat confdefs.h
>>conftest.
$ac_ext
12306 cat >>conftest.
$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12317 ac_clean_files_save
=$ac_clean_files
12318 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12319 # Try to create an executable without -o first, disregard a.out.
12320 # It will help us diagnose broken compilers, and finding out an intuition
12322 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12323 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12324 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12325 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12326 (eval $ac_link_default) 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; then
12330 # Find the output, starting from the most likely. This scheme is
12331 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12334 # Be careful to initialize this variable, since it used to be cached.
12335 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12337 # b.out is created by i960 compilers.
12338 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12340 test -f "$ac_file" || continue
12342 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12345 # This is the source file.
12348 # We found the default executable, but exeext='' is most
12352 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12353 # FIXME: I believe we export ac_cv_exeext for Libtool,
12354 # but it would be cool to find out if it's true. Does anybody
12355 # maintain Libtool? --akim.
12356 export ac_cv_exeext
12363 echo "$as_me: failed program was:" >&5
12364 sed 's/^/| /' conftest.
$ac_ext >&5
12366 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12367 See \`config.log' for more details." >&5
12368 echo "$as_me: error: C compiler cannot create executables
12369 See \`config.log' for more details." >&2;}
12370 { (exit 77); exit 77; }; }
12373 ac_exeext
=$ac_cv_exeext
12374 echo "$as_me:$LINENO: result: $ac_file" >&5
12375 echo "${ECHO_T}$ac_file" >&6
12377 # Check the compiler produces executables we can run. If not, either
12378 # the compiler is broken, or we cross compile.
12379 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12380 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12381 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12382 # If not cross compiling, check that we can run a simple program.
12383 if test "$cross_compiling" != yes; then
12384 if { ac_try
='./$ac_file'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; }; then
12392 if test "$cross_compiling" = maybe
; then
12393 cross_compiling
=yes
12395 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12396 If you meant to cross compile, use \`--host'.
12397 See \`config.log' for more details." >&5
12398 echo "$as_me: error: cannot run C compiled programs.
12399 If you meant to cross compile, use \`--host'.
12400 See \`config.log' for more details." >&2;}
12401 { (exit 1); exit 1; }; }
12405 echo "$as_me:$LINENO: result: yes" >&5
12406 echo "${ECHO_T}yes" >&6
12408 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12409 ac_clean_files
=$ac_clean_files_save
12410 # Check the compiler produces executables we can run. If not, either
12411 # the compiler is broken, or we cross compile.
12412 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12413 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12414 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12415 echo "${ECHO_T}$cross_compiling" >&6
12417 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12418 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12420 (eval $ac_link) 2>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; then
12424 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12425 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12426 # work properly (i.e., refer to `conftest.exe'), while it won't with
12428 for ac_file
in conftest.exe conftest conftest.
*; do
12429 test -f "$ac_file" || continue
12431 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12432 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12433 export ac_cv_exeext
12439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12440 See \`config.log' for more details." >&5
12441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12442 See \`config.log' for more details." >&2;}
12443 { (exit 1); exit 1; }; }
12446 rm -f conftest
$ac_cv_exeext
12447 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12448 echo "${ECHO_T}$ac_cv_exeext" >&6
12450 rm -f conftest.
$ac_ext
12451 EXEEXT
=$ac_cv_exeext
12453 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12455 if test "${ac_cv_objext+set}" = set; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12458 cat >conftest.
$ac_ext <<_ACEOF
12461 cat confdefs.h
>>conftest.
$ac_ext
12462 cat >>conftest.
$ac_ext <<_ACEOF
12463 /* end confdefs.h. */
12473 rm -f conftest.o conftest.obj
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; then
12479 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12481 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12482 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.
$ac_ext >&5
12490 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12491 See \`config.log' for more details." >&5
12492 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12493 See \`config.log' for more details." >&2;}
12494 { (exit 1); exit 1; }; }
12497 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12499 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12500 echo "${ECHO_T}$ac_cv_objext" >&6
12501 OBJEXT
=$ac_cv_objext
12503 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12504 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12505 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12508 cat >conftest.
$ac_ext <<_ACEOF
12511 cat confdefs.h
>>conftest.
$ac_ext
12512 cat >>conftest.
$ac_ext <<_ACEOF
12513 /* end confdefs.h. */
12526 rm -f conftest.
$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>conftest.er1
12530 grep -v '^ *+' conftest.er1
>conftest.err
12532 cat conftest.err
>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } &&
12535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try
='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12547 ac_compiler_gnu
=yes
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.
$ac_ext >&5
12554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12555 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12558 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12559 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12560 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12561 ac_test_CFLAGS
=${CFLAGS+set}
12562 ac_save_CFLAGS
=$CFLAGS
12564 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12565 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12566 if test "${ac_cv_prog_cc_g+set}" = set; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12569 cat >conftest.
$ac_ext <<_ACEOF
12572 cat confdefs.h
>>conftest.
$ac_ext
12573 cat >>conftest.
$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12584 rm -f conftest.
$ac_objext
12585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12586 (eval $ac_compile) 2>conftest.er1
12588 grep -v '^ *+' conftest.er1
>conftest.err
12590 cat conftest.err
>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; } &&
12599 { ac_try
='test -s conftest.$ac_objext'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; }; then
12605 ac_cv_prog_cc_g
=yes
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.
$ac_ext >&5
12612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12614 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12616 if test "$ac_test_CFLAGS" = set; then
12617 CFLAGS
=$ac_save_CFLAGS
12618 elif test $ac_cv_prog_cc_g = yes; then
12619 if test "$GCC" = yes; then
12625 if test "$GCC" = yes; then
12631 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12632 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12633 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 ac_cv_prog_cc_stdc
=no
12638 cat >conftest.
$ac_ext <<_ACEOF
12641 cat confdefs.h
>>conftest.
$ac_ext
12642 cat >>conftest.
$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 #include <stdarg.h>
12646 #include <sys/types.h>
12647 #include <sys/stat.h>
12648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12649 struct buf { int x; };
12650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12651 static char *e (p, i)
12657 static char *f (char * (*g) (char **, int), char **p, ...)
12662 s = g (p, va_arg (v,int));
12667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12668 function prototypes and stuff, but not '\xHH' hex character constants.
12669 These don't provoke an error unfortunately, instead are silently treated
12670 as 'x'. The following induces an error, until -std1 is added to get
12671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12672 array size at least. It's necessary to write '\x00'==0 to get something
12673 that's true only with -std1. */
12674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12676 int test (int i, double x);
12677 struct s1 {int (*f) (int a);};
12678 struct s2 {int (*f) (double a);};
12679 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12685 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12690 # Don't try gcc -ansi; that turns off useful extensions and
12691 # breaks some systems' header files.
12692 # AIX -qlanglvl=ansi
12693 # Ultrix and OSF/1 -std1
12694 # HP-UX 10.20 and later -Ae
12695 # HP-UX older versions -Aa -D_HPUX_SOURCE
12696 # SVR4 -Xc -D__EXTENSIONS__
12697 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12699 CC
="$ac_save_CC $ac_arg"
12700 rm -f conftest.
$ac_objext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12702 (eval $ac_compile) 2>conftest.er1
12704 grep -v '^ *+' conftest.er1
>conftest.err
12706 cat conftest.err
>&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } &&
12709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12711 (eval $ac_try) 2>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); }; } &&
12715 { ac_try
='test -s conftest.$ac_objext'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; }; then
12721 ac_cv_prog_cc_stdc
=$ac_arg
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.
$ac_ext >&5
12728 rm -f conftest.err conftest.
$ac_objext
12730 rm -f conftest.
$ac_ext conftest.
$ac_objext
12735 case "x$ac_cv_prog_cc_stdc" in
12737 echo "$as_me:$LINENO: result: none needed" >&5
12738 echo "${ECHO_T}none needed" >&6 ;;
12740 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12741 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12742 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12745 # Some people use a C++ compiler to compile C. Since we use `exit',
12746 # in C++ we need to declare it. In case someone uses the same compiler
12747 # for both compiling C and C++ we need to have the C++ compiler decide
12748 # the declaration of exit, since it's the most demanding environment.
12749 cat >conftest.
$ac_ext <<_ACEOF
12750 #ifndef __cplusplus
12754 rm -f conftest.
$ac_objext
12755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12756 (eval $ac_compile) 2>conftest.er1
12758 grep -v '^ *+' conftest.er1
>conftest.err
12760 cat conftest.err
>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try
='test -s conftest.$ac_objext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 for ac_declaration
in \
12777 'extern "C" void std::exit (int) throw (); using std::exit;' \
12778 'extern "C" void std::exit (int); using std::exit;' \
12779 'extern "C" void exit (int) throw ();' \
12780 'extern "C" void exit (int);' \
12783 cat >conftest.
$ac_ext <<_ACEOF
12786 cat confdefs.h
>>conftest.
$ac_ext
12787 cat >>conftest.
$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12790 #include <stdlib.h>
12799 rm -f conftest.
$ac_objext
12800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12801 (eval $ac_compile) 2>conftest.er1
12803 grep -v '^ *+' conftest.er1
>conftest.err
12805 cat conftest.err
>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; } &&
12814 { ac_try
='test -s conftest.$ac_objext'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; }; then
12822 echo "$as_me: failed program was:" >&5
12823 sed 's/^/| /' conftest.
$ac_ext >&5
12827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12828 cat >conftest.
$ac_ext <<_ACEOF
12831 cat confdefs.h
>>conftest.
$ac_ext
12832 cat >>conftest.
$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
12843 rm -f conftest.
$ac_objext
12844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12845 (eval $ac_compile) 2>conftest.er1
12847 grep -v '^ *+' conftest.er1
>conftest.err
12849 cat conftest.err
>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } &&
12852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; } &&
12858 { ac_try
='test -s conftest.$ac_objext'
12859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 (eval $ac_try) 2>&5
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; }; then
12866 echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.
$ac_ext >&5
12870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12873 if test -n "$ac_declaration"; then
12874 echo '#ifdef __cplusplus' >>confdefs.h
12875 echo $ac_declaration >>confdefs.h
12876 echo '#endif' >>confdefs.h
12880 echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.
$ac_ext >&5
12884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12886 ac_cpp
='$CPP $CPPFLAGS'
12887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12894 ac_cpp
='$CPP $CPPFLAGS'
12895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12899 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12900 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12901 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12904 cat >conftest.
$ac_ext <<_ACEOF
12907 cat confdefs.h
>>conftest.
$ac_ext
12908 cat >>conftest.
$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12915 #ifndef __INTEL_COMPILER
12923 rm -f conftest.
$ac_objext
12924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12925 (eval $ac_compile) 2>conftest.er1
12927 grep -v '^ *+' conftest.er1
>conftest.err
12929 cat conftest.err
>&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } &&
12932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12934 (eval $ac_try) 2>&5
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); }; } &&
12938 { ac_try
='test -s conftest.$ac_objext'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; }; then
12944 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12946 echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.
$ac_ext >&5
12949 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12956 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12957 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12959 ac_cpp
='$CPP $CPPFLAGS'
12960 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12961 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12962 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12964 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12971 if test "x$GCC" != "xyes"; then
12972 if test "xCC" = "xC"; then
12973 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12974 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12975 if test "${bakefile_cv_c_exto+set}" = set; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12978 cat >conftest.
$ac_ext <<_ACEOF
12981 cat confdefs.h
>>conftest.
$ac_ext
12982 cat >>conftest.
$ac_ext <<_ACEOF
12983 /* end confdefs.h. */
12993 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12995 (eval $ac_compile) 2>&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; then
12999 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13001 conftest.
$ac_ext.o
)
13002 bakefile_cv_c_exto
="-ext o"
13009 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13010 See \`config.log' for more details." >&5
13011 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13012 See \`config.log' for more details." >&2;}
13013 { (exit 1); exit 1; }; }
13017 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13020 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13021 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13022 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13023 if test "c" = "c"; then
13024 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
13026 if test "c" = "cxx"; then
13027 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13031 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13032 unset ac_cv_prog_cc_g
13033 ac_test_CFLAGS
=${CFLAGS+set}
13034 ac_save_CFLAGS
=$CFLAGS
13036 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13037 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13038 if test "${ac_cv_prog_cc_g+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13041 cat >conftest.
$ac_ext <<_ACEOF
13044 cat confdefs.h
>>conftest.
$ac_ext
13045 cat >>conftest.
$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13056 rm -f conftest.
$ac_objext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13058 (eval $ac_compile) 2>conftest.er1
13060 grep -v '^ *+' conftest.er1
>conftest.err
13062 cat conftest.err
>&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } &&
13065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try
='test -s conftest.$ac_objext'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; }; then
13077 ac_cv_prog_cc_g
=yes
13079 echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.
$ac_ext >&5
13084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13086 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13087 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13088 if test "$ac_test_CFLAGS" = set; then
13089 CFLAGS
=$ac_save_CFLAGS
13090 elif test $ac_cv_prog_cc_g = yes; then
13091 if test "$GCC" = yes; then
13097 if test "$GCC" = yes; then
13109 ac_cpp
='$CPP $CPPFLAGS'
13110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13114 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13115 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13116 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 cat >conftest.
$ac_ext <<_ACEOF
13122 cat confdefs.h
>>conftest.
$ac_ext
13123 cat >>conftest.
$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13137 rm -f conftest.
$ac_objext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13139 (eval $ac_compile) 2>conftest.er1
13141 grep -v '^ *+' conftest.er1
>conftest.err
13143 cat conftest.err
>&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } &&
13146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148 (eval $ac_try) 2>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }; } &&
13152 { ac_try
='test -s conftest.$ac_objext'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then
13158 bakefile_compiler_xlc
=yes
13160 echo "$as_me: failed program was:" >&5
13161 sed 's/^/| /' conftest.
$ac_ext >&5
13163 bakefile_compiler_xlc
=no
13165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13166 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13169 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13170 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13172 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13174 ac_cpp
='$CPP $CPPFLAGS'
13175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13184 ac_cpp
='$CPP $CPPFLAGS'
13185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13189 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13190 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13191 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 cat >conftest.
$ac_ext <<_ACEOF
13197 cat confdefs.h
>>conftest.
$ac_ext
13198 cat >>conftest.
$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13212 rm -f conftest.
$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13216 grep -v '^ *+' conftest.er1
>conftest.err
13218 cat conftest.err
>&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try
='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 bakefile_compiler_mwerks
=yes
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.
$ac_ext >&5
13238 bakefile_compiler_mwerks
=no
13240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13241 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13244 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13245 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13247 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13249 ac_cpp
='$CPP $CPPFLAGS'
13250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13256 ac_cpp
='$CPP $CPPFLAGS'
13257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13261 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13262 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13263 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13266 cat >conftest.
$ac_ext <<_ACEOF
13269 cat confdefs.h
>>conftest.
$ac_ext
13270 cat >>conftest.
$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13284 rm -f conftest.
$ac_objext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13286 (eval $ac_compile) 2>conftest.er1
13288 grep -v '^ *+' conftest.er1
>conftest.err
13290 cat conftest.err
>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; } &&
13299 { ac_try
='test -s conftest.$ac_objext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 bakefile_compiler_xlc
=yes
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.
$ac_ext >&5
13310 bakefile_compiler_xlc
=no
13312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13313 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13316 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13317 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13319 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13321 ac_cpp
='$CPP $CPPFLAGS'
13322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13333 ac_cpp
='$CPP $CPPFLAGS'
13334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13338 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13339 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13340 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13341 echo $ECHO_N "(cached) $ECHO_C" >&6
13343 cat >conftest.
$ac_ext <<_ACEOF
13346 cat confdefs.h
>>conftest.
$ac_ext
13347 cat >>conftest.
$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13354 #ifndef _SGI_COMPILER_VERSION
13362 rm -f conftest.
$ac_objext
13363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13364 (eval $ac_compile) 2>conftest.er1
13366 grep -v '^ *+' conftest.er1
>conftest.err
13368 cat conftest.err
>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } &&
13371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
13377 { ac_try
='test -s conftest.$ac_objext'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; }; then
13383 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.
$ac_ext >&5
13388 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13395 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13396 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13398 ac_cpp
='$CPP $CPPFLAGS'
13399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13403 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13416 ac_cpp
='$CPP $CPPFLAGS'
13417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13421 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13422 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13423 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13426 cat >conftest.
$ac_ext <<_ACEOF
13429 cat confdefs.h
>>conftest.
$ac_ext
13430 cat >>conftest.
$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13445 rm -f conftest.
$ac_objext
13446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13447 (eval $ac_compile) 2>conftest.er1
13449 grep -v '^ *+' conftest.er1
>conftest.err
13451 cat conftest.err
>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } &&
13454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; } &&
13460 { ac_try
='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 bakefile_cv_c_compiler___HP_cc
=yes
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.
$ac_ext >&5
13471 bakefile_cv_c_compiler___HP_cc
=no
13474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13478 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13479 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13481 ac_cpp
='$CPP $CPPFLAGS'
13482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13486 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13499 ac_cpp
='$CPP $CPPFLAGS'
13500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13504 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13505 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13506 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6
13509 cat >conftest.
$ac_ext <<_ACEOF
13512 cat confdefs.h
>>conftest.
$ac_ext
13513 cat >>conftest.
$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13528 rm -f conftest.
$ac_objext
13529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13530 (eval $ac_compile) 2>conftest.er1
13532 grep -v '^ *+' conftest.er1
>conftest.err
13534 cat conftest.err
>&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); } &&
13537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; } &&
13543 { ac_try
='test -s conftest.$ac_objext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13549 bakefile_cv_c_compiler___DECC
=yes
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.
$ac_ext >&5
13554 bakefile_cv_c_compiler___DECC
=no
13557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13561 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13562 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13564 ac_cpp
='$CPP $CPPFLAGS'
13565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13569 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13582 ac_cpp
='$CPP $CPPFLAGS'
13583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13587 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13588 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13589 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13592 cat >conftest.
$ac_ext <<_ACEOF
13595 cat confdefs.h
>>conftest.
$ac_ext
13596 cat >>conftest.
$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13611 rm -f conftest.
$ac_objext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13613 (eval $ac_compile) 2>conftest.er1
13615 grep -v '^ *+' conftest.er1
>conftest.err
13617 cat conftest.err
>&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; } &&
13626 { ac_try
='test -s conftest.$ac_objext'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; }; then
13632 bakefile_cv_c_compiler___SUNPRO_C
=yes
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.
$ac_ext >&5
13637 bakefile_cv_c_compiler___SUNPRO_C
=no
13640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13644 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13645 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13647 ac_cpp
='$CPP $CPPFLAGS'
13648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13652 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13666 ac_cpp
='$CPP $CPPFLAGS'
13667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13670 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13671 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13672 # On Suns, sometimes $CPP names a directory.
13673 if test -n "$CPP" && test -d "$CPP"; then
13676 if test -z "$CPP"; then
13677 if test "${ac_cv_prog_CPP+set}" = set; then
13678 echo $ECHO_N "(cached) $ECHO_C" >&6
13680 # Double quotes because CPP needs to be expanded
13681 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13683 ac_preproc_ok
=false
13684 for ac_c_preproc_warn_flag
in '' yes
13686 # Use a header file that comes with gcc, so configuring glibc
13687 # with a fresh cross-compiler works.
13688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13689 # <limits.h> exists even on freestanding compilers.
13690 # On the NeXT, cc -E runs the code through the compiler's parser,
13691 # not just through cpp. "Syntax error" is here to catch this case.
13692 cat >conftest.
$ac_ext <<_ACEOF
13695 cat confdefs.h
>>conftest.
$ac_ext
13696 cat >>conftest.
$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13699 # include <limits.h>
13701 # include <assert.h>
13705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13706 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13708 grep -v '^ *+' conftest.er1
>conftest.err
13710 cat conftest.err
>&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } >/dev
/null
; then
13713 if test -s conftest.err
; then
13714 ac_cpp_err
=$ac_c_preproc_warn_flag
13715 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13722 if test -z "$ac_cpp_err"; then
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.
$ac_ext >&5
13728 # Broken: fails on valid input.
13731 rm -f conftest.err conftest.
$ac_ext
13733 # OK, works on sane cases. Now check whether non-existent headers
13734 # can be detected and how.
13735 cat >conftest.
$ac_ext <<_ACEOF
13738 cat confdefs.h
>>conftest.
$ac_ext
13739 cat >>conftest.
$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13741 #include <ac_nonexistent.h>
13743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13744 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13746 grep -v '^ *+' conftest.er1
>conftest.err
13748 cat conftest.err
>&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } >/dev
/null
; then
13751 if test -s conftest.err
; then
13752 ac_cpp_err
=$ac_c_preproc_warn_flag
13753 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13760 if test -z "$ac_cpp_err"; then
13761 # Broken: success on invalid input.
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.
$ac_ext >&5
13767 # Passes both tests.
13771 rm -f conftest.err conftest.
$ac_ext
13774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13775 rm -f conftest.err conftest.
$ac_ext
13776 if $ac_preproc_ok; then
13781 ac_cv_prog_CPP
=$CPP
13784 CPP
=$ac_cv_prog_CPP
13786 ac_cv_prog_CPP
=$CPP
13788 echo "$as_me:$LINENO: result: $CPP" >&5
13789 echo "${ECHO_T}$CPP" >&6
13790 ac_preproc_ok
=false
13791 for ac_c_preproc_warn_flag
in '' yes
13793 # Use a header file that comes with gcc, so configuring glibc
13794 # with a fresh cross-compiler works.
13795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13796 # <limits.h> exists even on freestanding compilers.
13797 # On the NeXT, cc -E runs the code through the compiler's parser,
13798 # not just through cpp. "Syntax error" is here to catch this case.
13799 cat >conftest.
$ac_ext <<_ACEOF
13802 cat confdefs.h
>>conftest.
$ac_ext
13803 cat >>conftest.
$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13806 # include <limits.h>
13808 # include <assert.h>
13812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13813 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13815 grep -v '^ *+' conftest.er1
>conftest.err
13817 cat conftest.err
>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } >/dev
/null
; then
13820 if test -s conftest.err
; then
13821 ac_cpp_err
=$ac_c_preproc_warn_flag
13822 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13829 if test -z "$ac_cpp_err"; then
13832 echo "$as_me: failed program was:" >&5
13833 sed 's/^/| /' conftest.
$ac_ext >&5
13835 # Broken: fails on valid input.
13838 rm -f conftest.err conftest.
$ac_ext
13840 # OK, works on sane cases. Now check whether non-existent headers
13841 # can be detected and how.
13842 cat >conftest.
$ac_ext <<_ACEOF
13845 cat confdefs.h
>>conftest.
$ac_ext
13846 cat >>conftest.
$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13848 #include <ac_nonexistent.h>
13850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13853 grep -v '^ *+' conftest.er1
>conftest.err
13855 cat conftest.err
>&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); } >/dev
/null
; then
13858 if test -s conftest.err
; then
13859 ac_cpp_err
=$ac_c_preproc_warn_flag
13860 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13867 if test -z "$ac_cpp_err"; then
13868 # Broken: success on invalid input.
13871 echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.
$ac_ext >&5
13874 # Passes both tests.
13878 rm -f conftest.err conftest.
$ac_ext
13881 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13882 rm -f conftest.err conftest.
$ac_ext
13883 if $ac_preproc_ok; then
13886 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13887 See \`config.log' for more details." >&5
13888 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13889 See \`config.log' for more details." >&2;}
13890 { (exit 1); exit 1; }; }
13894 ac_cpp
='$CPP $CPPFLAGS'
13895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13900 echo "$as_me:$LINENO: checking for egrep" >&5
13901 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13902 if test "${ac_cv_prog_egrep+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13906 then ac_cv_prog_egrep
='grep -E'
13907 else ac_cv_prog_egrep
='egrep'
13910 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13911 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13912 EGREP
=$ac_cv_prog_egrep
13915 if test $ac_cv_c_compiler_gnu = yes; then
13916 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13917 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13918 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13921 ac_pattern
="Autoconf.*'x'"
13922 cat >conftest.
$ac_ext <<_ACEOF
13925 cat confdefs.h
>>conftest.
$ac_ext
13926 cat >>conftest.
$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13932 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13933 ac_cv_prog_gcc_traditional
=yes
13935 ac_cv_prog_gcc_traditional
=no
13940 if test $ac_cv_prog_gcc_traditional = no
; then
13941 cat >conftest.
$ac_ext <<_ACEOF
13944 cat confdefs.h
>>conftest.
$ac_ext
13945 cat >>conftest.
$ac_ext <<_ACEOF
13946 /* end confdefs.h. */
13947 #include <termio.h>
13950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13951 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13952 ac_cv_prog_gcc_traditional
=yes
13958 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13959 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13960 if test $ac_cv_prog_gcc_traditional = yes; then
13961 CC
="$CC -traditional"
13966 CXXFLAGS
=${CXXFLAGS:=}
13971 ac_cpp
='$CXXCPP $CPPFLAGS'
13972 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13973 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13974 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13975 if test -n "$ac_tool_prefix"; then
13976 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13979 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13980 echo "$as_me:$LINENO: checking for $ac_word" >&5
13981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13982 if test "${ac_cv_prog_CXX+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13985 if test -n "$CXX"; then
13986 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13989 for as_dir
in $PATH
13992 test -z "$as_dir" && as_dir
=.
13993 for ac_exec_ext
in '' $ac_executable_extensions; do
13994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13995 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14004 CXX
=$ac_cv_prog_CXX
14005 if test -n "$CXX"; then
14006 echo "$as_me:$LINENO: result: $CXX" >&5
14007 echo "${ECHO_T}$CXX" >&6
14009 echo "$as_me:$LINENO: result: no" >&5
14010 echo "${ECHO_T}no" >&6
14013 test -n "$CXX" && break
14016 if test -z "$CXX"; then
14018 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14020 # Extract the first word of "$ac_prog", so it can be a program name with args.
14021 set dummy
$ac_prog; ac_word
=$2
14022 echo "$as_me:$LINENO: checking for $ac_word" >&5
14023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14024 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14025 echo $ECHO_N "(cached) $ECHO_C" >&6
14027 if test -n "$ac_ct_CXX"; then
14028 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14031 for as_dir
in $PATH
14034 test -z "$as_dir" && as_dir
=.
14035 for ac_exec_ext
in '' $ac_executable_extensions; do
14036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14037 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14046 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14047 if test -n "$ac_ct_CXX"; then
14048 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14049 echo "${ECHO_T}$ac_ct_CXX" >&6
14051 echo "$as_me:$LINENO: result: no" >&5
14052 echo "${ECHO_T}no" >&6
14055 test -n "$ac_ct_CXX" && break
14057 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14063 # Provide some information about the compiler.
14064 echo "$as_me:$LINENO:" \
14065 "checking for C++ compiler version" >&5
14066 ac_compiler
=`set X $ac_compile; echo $2`
14067 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14068 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); }
14072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14073 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); }
14077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14078 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }
14083 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14084 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14085 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14088 cat >conftest.
$ac_ext <<_ACEOF
14091 cat confdefs.h
>>conftest.
$ac_ext
14092 cat >>conftest.
$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14106 rm -f conftest.
$ac_objext
14107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14108 (eval $ac_compile) 2>conftest.er1
14110 grep -v '^ *+' conftest.er1
>conftest.err
14112 cat conftest.err
>&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } &&
14115 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 (eval $ac_try) 2>&5
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; } &&
14121 { ac_try
='test -s conftest.$ac_objext'
14122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14123 (eval $ac_try) 2>&5
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; }; then
14127 ac_compiler_gnu
=yes
14129 echo "$as_me: failed program was:" >&5
14130 sed 's/^/| /' conftest.
$ac_ext >&5
14134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14135 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14138 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14139 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14140 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14141 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14142 ac_save_CXXFLAGS
=$CXXFLAGS
14144 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14145 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14146 if test "${ac_cv_prog_cxx_g+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 cat >conftest.
$ac_ext <<_ACEOF
14152 cat confdefs.h
>>conftest.
$ac_ext
14153 cat >>conftest.
$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14164 rm -f conftest.
$ac_objext
14165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14166 (eval $ac_compile) 2>conftest.er1
14168 grep -v '^ *+' conftest.er1
>conftest.err
14170 cat conftest.err
>&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); } &&
14173 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; } &&
14179 { ac_try
='test -s conftest.$ac_objext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 ac_cv_prog_cxx_g
=yes
14187 echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.
$ac_ext >&5
14190 ac_cv_prog_cxx_g
=no
14192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14194 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14195 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14196 if test "$ac_test_CXXFLAGS" = set; then
14197 CXXFLAGS
=$ac_save_CXXFLAGS
14198 elif test $ac_cv_prog_cxx_g = yes; then
14199 if test "$GXX" = yes; then
14205 if test "$GXX" = yes; then
14211 for ac_declaration
in \
14213 'extern "C" void std::exit (int) throw (); using std::exit;' \
14214 'extern "C" void std::exit (int); using std::exit;' \
14215 'extern "C" void exit (int) throw ();' \
14216 'extern "C" void exit (int);' \
14219 cat >conftest.
$ac_ext <<_ACEOF
14222 cat confdefs.h
>>conftest.
$ac_ext
14223 cat >>conftest.
$ac_ext <<_ACEOF
14224 /* end confdefs.h. */
14226 #include <stdlib.h>
14235 rm -f conftest.
$ac_objext
14236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14237 (eval $ac_compile) 2>conftest.er1
14239 grep -v '^ *+' conftest.er1
>conftest.err
14241 cat conftest.err
>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); } &&
14244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14246 (eval $ac_try) 2>&5
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; } &&
14250 { ac_try
='test -s conftest.$ac_objext'
14251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252 (eval $ac_try) 2>&5
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); }; }; then
14258 echo "$as_me: failed program was:" >&5
14259 sed 's/^/| /' conftest.
$ac_ext >&5
14263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14264 cat >conftest.
$ac_ext <<_ACEOF
14267 cat confdefs.h
>>conftest.
$ac_ext
14268 cat >>conftest.
$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14279 rm -f conftest.
$ac_objext
14280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14281 (eval $ac_compile) 2>conftest.er1
14283 grep -v '^ *+' conftest.er1
>conftest.err
14285 cat conftest.err
>&5
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); } &&
14288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14290 (eval $ac_try) 2>&5
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); }; } &&
14294 { ac_try
='test -s conftest.$ac_objext'
14295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14296 (eval $ac_try) 2>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }; }; then
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.
$ac_ext >&5
14306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14309 if test -n "$ac_declaration"; then
14310 echo '#ifdef __cplusplus' >>confdefs.h
14311 echo $ac_declaration >>confdefs.h
14312 echo '#endif' >>confdefs.h
14316 ac_cpp
='$CPP $CPPFLAGS'
14317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14324 ac_cpp
='$CXXCPP $CPPFLAGS'
14325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14329 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14330 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14331 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14332 echo $ECHO_N "(cached) $ECHO_C" >&6
14334 cat >conftest.
$ac_ext <<_ACEOF
14337 cat confdefs.h
>>conftest.
$ac_ext
14338 cat >>conftest.
$ac_ext <<_ACEOF
14339 /* end confdefs.h. */
14345 #ifndef __INTEL_COMPILER
14353 rm -f conftest.
$ac_objext
14354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14355 (eval $ac_compile) 2>conftest.er1
14357 grep -v '^ *+' conftest.er1
>conftest.err
14359 cat conftest.err
>&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); } &&
14362 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364 (eval $ac_try) 2>&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; } &&
14368 { ac_try
='test -s conftest.$ac_objext'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; }; then
14374 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14376 echo "$as_me: failed program was:" >&5
14377 sed 's/^/| /' conftest.
$ac_ext >&5
14379 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14386 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14387 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14389 ac_cpp
='$CPP $CPPFLAGS'
14390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14394 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14401 if test "x$GCXX" != "xyes"; then
14402 if test "xCXX" = "xC"; then
14403 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14404 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14405 if test "${bakefile_cv_c_exto+set}" = set; then
14406 echo $ECHO_N "(cached) $ECHO_C" >&6
14408 cat >conftest.
$ac_ext <<_ACEOF
14411 cat confdefs.h
>>conftest.
$ac_ext
14412 cat >>conftest.
$ac_ext <<_ACEOF
14413 /* end confdefs.h. */
14423 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14425 (eval $ac_compile) 2>&5
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; then
14429 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14431 conftest.
$ac_ext.o
)
14432 bakefile_cv_c_exto
="-ext o"
14439 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14440 See \`config.log' for more details." >&5
14441 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14442 See \`config.log' for more details." >&2;}
14443 { (exit 1); exit 1; }; }
14447 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14450 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14451 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14452 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14453 if test "c" = "c"; then
14454 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
14456 if test "c" = "cxx"; then
14457 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
14461 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14462 unset ac_cv_prog_cc_g
14463 ac_test_CFLAGS
=${CFLAGS+set}
14464 ac_save_CFLAGS
=$CFLAGS
14466 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14467 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14468 if test "${ac_cv_prog_cc_g+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14471 cat >conftest.
$ac_ext <<_ACEOF
14474 cat confdefs.h
>>conftest.
$ac_ext
14475 cat >>conftest.
$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14486 rm -f conftest.
$ac_objext
14487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14488 (eval $ac_compile) 2>conftest.er1
14490 grep -v '^ *+' conftest.er1
>conftest.err
14492 cat conftest.err
>&5
14493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 (exit $ac_status); } &&
14495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14497 (eval $ac_try) 2>&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); }; } &&
14501 { ac_try
='test -s conftest.$ac_objext'
14502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; }; then
14507 ac_cv_prog_cc_g
=yes
14509 echo "$as_me: failed program was:" >&5
14510 sed 's/^/| /' conftest.
$ac_ext >&5
14514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14516 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14517 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14518 if test "$ac_test_CFLAGS" = set; then
14519 CFLAGS
=$ac_save_CFLAGS
14520 elif test $ac_cv_prog_cc_g = yes; then
14521 if test "$GCC" = yes; then
14527 if test "$GCC" = yes; then
14539 ac_cpp
='$CXXCPP $CPPFLAGS'
14540 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14541 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14542 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14544 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14545 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14546 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14547 echo $ECHO_N "(cached) $ECHO_C" >&6
14549 cat >conftest.
$ac_ext <<_ACEOF
14552 cat confdefs.h
>>conftest.
$ac_ext
14553 cat >>conftest.
$ac_ext <<_ACEOF
14554 /* end confdefs.h. */
14567 rm -f conftest.
$ac_objext
14568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14569 (eval $ac_compile) 2>conftest.er1
14571 grep -v '^ *+' conftest.er1
>conftest.err
14573 cat conftest.err
>&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); } &&
14576 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578 (eval $ac_try) 2>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); }; } &&
14582 { ac_try
='test -s conftest.$ac_objext'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; }; then
14588 bakefile_compiler_xlc
=yes
14590 echo "$as_me: failed program was:" >&5
14591 sed 's/^/| /' conftest.
$ac_ext >&5
14593 bakefile_compiler_xlc
=no
14595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14596 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14599 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14600 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14602 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14604 ac_cpp
='$CPP $CPPFLAGS'
14605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14614 ac_cpp
='$CXXCPP $CPPFLAGS'
14615 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14616 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14617 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14619 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14620 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14621 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14622 echo $ECHO_N "(cached) $ECHO_C" >&6
14624 cat >conftest.
$ac_ext <<_ACEOF
14627 cat confdefs.h
>>conftest.
$ac_ext
14628 cat >>conftest.
$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14642 rm -f conftest.
$ac_objext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14644 (eval $ac_compile) 2>conftest.er1
14646 grep -v '^ *+' conftest.er1
>conftest.err
14648 cat conftest.err
>&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 (eval $ac_try) 2>&5
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); }; } &&
14657 { ac_try
='test -s conftest.$ac_objext'
14658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14659 (eval $ac_try) 2>&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; }; then
14663 bakefile_compiler_mwerks
=yes
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.
$ac_ext >&5
14668 bakefile_compiler_mwerks
=no
14670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14671 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14674 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14675 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14677 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14679 ac_cpp
='$CPP $CPPFLAGS'
14680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14686 ac_cpp
='$CXXCPP $CPPFLAGS'
14687 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14688 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14689 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14691 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14692 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14693 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14694 echo $ECHO_N "(cached) $ECHO_C" >&6
14696 cat >conftest.
$ac_ext <<_ACEOF
14699 cat confdefs.h
>>conftest.
$ac_ext
14700 cat >>conftest.
$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14714 rm -f conftest.
$ac_objext
14715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14716 (eval $ac_compile) 2>conftest.er1
14718 grep -v '^ *+' conftest.er1
>conftest.err
14720 cat conftest.err
>&5
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); } &&
14723 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14725 (eval $ac_try) 2>&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; } &&
14729 { ac_try
='test -s conftest.$ac_objext'
14730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731 (eval $ac_try) 2>&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; }; then
14735 bakefile_compiler_xlc
=yes
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.
$ac_ext >&5
14740 bakefile_compiler_xlc
=no
14742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14743 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14746 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14747 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14749 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14751 ac_cpp
='$CPP $CPPFLAGS'
14752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14763 ac_cpp
='$CXXCPP $CPPFLAGS'
14764 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14765 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14766 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14768 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14769 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14770 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14773 cat >conftest.
$ac_ext <<_ACEOF
14776 cat confdefs.h
>>conftest.
$ac_ext
14777 cat >>conftest.
$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14784 #ifndef _SGI_COMPILER_VERSION
14792 rm -f conftest.
$ac_objext
14793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14794 (eval $ac_compile) 2>conftest.er1
14796 grep -v '^ *+' conftest.er1
>conftest.err
14798 cat conftest.err
>&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } &&
14801 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; } &&
14807 { ac_try
='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.
$ac_ext >&5
14818 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14825 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14826 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14828 ac_cpp
='$CPP $CPPFLAGS'
14829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14833 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
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 HP C++ compiler" >&5
14852 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14853 if test "${bakefile_cv_cxx_compiler___HP_aCC+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. */
14875 rm -f conftest.
$ac_objext
14876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14877 (eval $ac_compile) 2>conftest.er1
14879 grep -v '^ *+' conftest.er1
>conftest.err
14881 cat conftest.err
>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } &&
14884 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_cv_cxx_compiler___HP_aCC
=yes
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.
$ac_ext >&5
14901 bakefile_cv_cxx_compiler___HP_aCC
=no
14904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14908 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14909 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14911 ac_cpp
='$CPP $CPPFLAGS'
14912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14916 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
14929 ac_cpp
='$CXXCPP $CPPFLAGS'
14930 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14934 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14935 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14936 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14937 echo $ECHO_N "(cached) $ECHO_C" >&6
14939 cat >conftest.
$ac_ext <<_ACEOF
14942 cat confdefs.h
>>conftest.
$ac_ext
14943 cat >>conftest.
$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14958 rm -f conftest.
$ac_objext
14959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14960 (eval $ac_compile) 2>conftest.er1
14962 grep -v '^ *+' conftest.er1
>conftest.err
14964 cat conftest.err
>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; } &&
14973 { ac_try
='test -s conftest.$ac_objext'
14974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14975 (eval $ac_try) 2>&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); }; }; then
14979 bakefile_cv_cxx_compiler___DECCXX
=yes
14981 echo "$as_me: failed program was:" >&5
14982 sed 's/^/| /' conftest.
$ac_ext >&5
14984 bakefile_cv_cxx_compiler___DECCXX
=no
14987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14991 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14992 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14994 ac_cpp
='$CPP $CPPFLAGS'
14995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14999 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15012 ac_cpp
='$CXXCPP $CPPFLAGS'
15013 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15014 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15015 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15017 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15018 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15019 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15020 echo $ECHO_N "(cached) $ECHO_C" >&6
15022 cat >conftest.
$ac_ext <<_ACEOF
15025 cat confdefs.h
>>conftest.
$ac_ext
15026 cat >>conftest.
$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15033 #ifndef __SUNPRO_CC
15041 rm -f conftest.
$ac_objext
15042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15043 (eval $ac_compile) 2>conftest.er1
15045 grep -v '^ *+' conftest.er1
>conftest.err
15047 cat conftest.err
>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } &&
15050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15052 (eval $ac_try) 2>&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); }; } &&
15056 { ac_try
='test -s conftest.$ac_objext'
15057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058 (eval $ac_try) 2>&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; }; then
15062 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15064 echo "$as_me: failed program was:" >&5
15065 sed 's/^/| /' conftest.
$ac_ext >&5
15067 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15074 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15075 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15077 ac_cpp
='$CPP $CPPFLAGS'
15078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15082 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15095 if test -n "$ac_tool_prefix"; then
15096 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15097 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15098 echo "$as_me:$LINENO: checking for $ac_word" >&5
15099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15100 if test "${ac_cv_prog_RANLIB+set}" = set; then
15101 echo $ECHO_N "(cached) $ECHO_C" >&6
15103 if test -n "$RANLIB"; then
15104 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15107 for as_dir
in $PATH
15110 test -z "$as_dir" && as_dir
=.
15111 for ac_exec_ext
in '' $ac_executable_extensions; do
15112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15113 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15122 RANLIB
=$ac_cv_prog_RANLIB
15123 if test -n "$RANLIB"; then
15124 echo "$as_me:$LINENO: result: $RANLIB" >&5
15125 echo "${ECHO_T}$RANLIB" >&6
15127 echo "$as_me:$LINENO: result: no" >&5
15128 echo "${ECHO_T}no" >&6
15132 if test -z "$ac_cv_prog_RANLIB"; then
15133 ac_ct_RANLIB
=$RANLIB
15134 # Extract the first word of "ranlib", so it can be a program name with args.
15135 set dummy ranlib
; ac_word
=$2
15136 echo "$as_me:$LINENO: checking for $ac_word" >&5
15137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15138 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15141 if test -n "$ac_ct_RANLIB"; then
15142 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15145 for as_dir
in $PATH
15148 test -z "$as_dir" && as_dir
=.
15149 for ac_exec_ext
in '' $ac_executable_extensions; do
15150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15151 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15158 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15161 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15162 if test -n "$ac_ct_RANLIB"; then
15163 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15164 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15166 echo "$as_me:$LINENO: result: no" >&5
15167 echo "${ECHO_T}no" >&6
15170 RANLIB
=$ac_ct_RANLIB
15172 RANLIB
="$ac_cv_prog_RANLIB"
15176 if test -n "$ac_tool_prefix"; then
15177 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15178 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15179 echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15181 if test "${ac_cv_prog_AR+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 if test -n "$AR"; then
15185 ac_cv_prog_AR
="$AR" # Let the user override the test.
15187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15188 for as_dir
in $PATH
15191 test -z "$as_dir" && as_dir
=.
15192 for ac_exec_ext
in '' $ac_executable_extensions; do
15193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15194 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15204 if test -n "$AR"; then
15205 echo "$as_me:$LINENO: result: $AR" >&5
15206 echo "${ECHO_T}$AR" >&6
15208 echo "$as_me:$LINENO: result: no" >&5
15209 echo "${ECHO_T}no" >&6
15213 if test -z "$ac_cv_prog_AR"; then
15215 # Extract the first word of "ar", so it can be a program name with args.
15216 set dummy
ar; ac_word
=$2
15217 echo "$as_me:$LINENO: checking for $ac_word" >&5
15218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15219 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 if test -n "$ac_ct_AR"; then
15223 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15226 for as_dir
in $PATH
15229 test -z "$as_dir" && as_dir
=.
15230 for ac_exec_ext
in '' $ac_executable_extensions; do
15231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15232 ac_cv_prog_ac_ct_AR
="ar"
15233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15241 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15242 if test -n "$ac_ct_AR"; then
15243 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15244 echo "${ECHO_T}$ac_ct_AR" >&6
15246 echo "$as_me:$LINENO: result: no" >&5
15247 echo "${ECHO_T}no" >&6
15252 AR
="$ac_cv_prog_AR"
15255 if test "x$AR" = "x" ; then
15256 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15257 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15258 { (exit 1); exit 1; }; }
15261 # Find a good install program. We prefer a C program (faster),
15262 # so one script is as good as another. But avoid the broken or
15263 # incompatible versions:
15264 # SysV /etc/install, /usr/sbin/install
15265 # SunOS /usr/etc/install
15266 # IRIX /sbin/install
15268 # AmigaOS /C/install, which installs bootblocks on floppy discs
15269 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15270 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15271 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15272 # OS/2's system install, which has a completely different semantic
15273 # ./install, which can be erroneously created by make from ./install.sh.
15274 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15275 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15276 if test -z "$INSTALL"; then
15277 if test "${ac_cv_path_install+set}" = set; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6
15280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15281 for as_dir
in $PATH
15284 test -z "$as_dir" && as_dir
=.
15285 # Account for people who put trailing slashes in PATH elements.
15287 .
/ | .
// | /cC
/* | \
15288 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15289 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15292 # OSF1 and SCO ODT 3.0 have their own names for install.
15293 # Don't use installbsd from OSF since it installs stuff as root
15295 for ac_prog
in ginstall scoinst
install; do
15296 for ac_exec_ext
in '' $ac_executable_extensions; do
15297 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15298 if test $ac_prog = install &&
15299 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15300 # AIX install. It has an incompatible calling convention.
15302 elif test $ac_prog = install &&
15303 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15304 # program-specific install script used by HP pwplus--don't use.
15307 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15319 if test "${ac_cv_path_install+set}" = set; then
15320 INSTALL
=$ac_cv_path_install
15322 # As a last resort, use the slow shell script. We don't cache a
15323 # path for INSTALL within a source directory, because that will
15324 # break other packages using the cache if that directory is
15325 # removed, or if the path is relative.
15326 INSTALL
=$ac_install_sh
15329 echo "$as_me:$LINENO: result: $INSTALL" >&5
15330 echo "${ECHO_T}$INSTALL" >&6
15332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15333 # It thinks the first close brace ends the variable substitution.
15334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15336 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15338 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15344 ?
:* ) # Drive letter, considered as absolute.
15347 INSTALL
=`pwd`/${INSTALL} ;;
15354 INSTALL_PROGRAM
="cp -fp"
15355 INSTALL_DATA
="cp -fp"
15361 if test -n "$ac_tool_prefix"; then
15362 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15363 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15364 echo "$as_me:$LINENO: checking for $ac_word" >&5
15365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15366 if test "${ac_cv_prog_STRIP+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15369 if test -n "$STRIP"; then
15370 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15373 for as_dir
in $PATH
15376 test -z "$as_dir" && as_dir
=.
15377 for ac_exec_ext
in '' $ac_executable_extensions; do
15378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15379 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15388 STRIP
=$ac_cv_prog_STRIP
15389 if test -n "$STRIP"; then
15390 echo "$as_me:$LINENO: result: $STRIP" >&5
15391 echo "${ECHO_T}$STRIP" >&6
15393 echo "$as_me:$LINENO: result: no" >&5
15394 echo "${ECHO_T}no" >&6
15398 if test -z "$ac_cv_prog_STRIP"; then
15400 # Extract the first word of "strip", so it can be a program name with args.
15401 set dummy strip
; ac_word
=$2
15402 echo "$as_me:$LINENO: checking for $ac_word" >&5
15403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15404 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15407 if test -n "$ac_ct_STRIP"; then
15408 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15411 for as_dir
in $PATH
15414 test -z "$as_dir" && as_dir
=.
15415 for ac_exec_ext
in '' $ac_executable_extensions; do
15416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15417 ac_cv_prog_ac_ct_STRIP
="strip"
15418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15424 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15427 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15428 if test -n "$ac_ct_STRIP"; then
15429 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15430 echo "${ECHO_T}$ac_ct_STRIP" >&6
15432 echo "$as_me:$LINENO: result: no" >&5
15433 echo "${ECHO_T}no" >&6
15438 STRIP
="$ac_cv_prog_STRIP"
15442 if test "$wxUSE_WINE" = "yes"; then
15443 if test -n "$ac_tool_prefix"; then
15444 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15445 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15446 echo "$as_me:$LINENO: checking for $ac_word" >&5
15447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15448 if test "${ac_cv_prog_WINDRES+set}" = set; then
15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15451 if test -n "$WINDRES"; then
15452 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15455 for as_dir
in $PATH
15458 test -z "$as_dir" && as_dir
=.
15459 for ac_exec_ext
in '' $ac_executable_extensions; do
15460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15461 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15470 WINDRES
=$ac_cv_prog_WINDRES
15471 if test -n "$WINDRES"; then
15472 echo "$as_me:$LINENO: result: $WINDRES" >&5
15473 echo "${ECHO_T}$WINDRES" >&6
15475 echo "$as_me:$LINENO: result: no" >&5
15476 echo "${ECHO_T}no" >&6
15480 if test -z "$ac_cv_prog_WINDRES"; then
15481 ac_ct_WINDRES
=$WINDRES
15482 # Extract the first word of "wrc", so it can be a program name with args.
15483 set dummy wrc
; ac_word
=$2
15484 echo "$as_me:$LINENO: checking for $ac_word" >&5
15485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15486 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 if test -n "$ac_ct_WINDRES"; then
15490 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15493 for as_dir
in $PATH
15496 test -z "$as_dir" && as_dir
=.
15497 for ac_exec_ext
in '' $ac_executable_extensions; do
15498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15499 ac_cv_prog_ac_ct_WINDRES
="wrc"
15500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15508 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15509 if test -n "$ac_ct_WINDRES"; then
15510 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15511 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15513 echo "$as_me:$LINENO: result: no" >&5
15514 echo "${ECHO_T}no" >&6
15517 WINDRES
=$ac_ct_WINDRES
15519 WINDRES
="$ac_cv_prog_WINDRES"
15525 *-*-cygwin* | *-*-mingw32* )
15526 if test -n "$ac_tool_prefix"; then
15527 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15528 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15529 echo "$as_me:$LINENO: checking for $ac_word" >&5
15530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15531 if test "${ac_cv_prog_WINDRES+set}" = set; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 if test -n "$WINDRES"; then
15535 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15538 for as_dir
in $PATH
15541 test -z "$as_dir" && as_dir
=.
15542 for ac_exec_ext
in '' $ac_executable_extensions; do
15543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15544 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15553 WINDRES
=$ac_cv_prog_WINDRES
15554 if test -n "$WINDRES"; then
15555 echo "$as_me:$LINENO: result: $WINDRES" >&5
15556 echo "${ECHO_T}$WINDRES" >&6
15558 echo "$as_me:$LINENO: result: no" >&5
15559 echo "${ECHO_T}no" >&6
15563 if test -z "$ac_cv_prog_WINDRES"; then
15564 ac_ct_WINDRES
=$WINDRES
15565 # Extract the first word of "windres", so it can be a program name with args.
15566 set dummy windres
; ac_word
=$2
15567 echo "$as_me:$LINENO: checking for $ac_word" >&5
15568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15569 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15572 if test -n "$ac_ct_WINDRES"; then
15573 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15576 for as_dir
in $PATH
15579 test -z "$as_dir" && as_dir
=.
15580 for ac_exec_ext
in '' $ac_executable_extensions; do
15581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15582 ac_cv_prog_ac_ct_WINDRES
="windres"
15583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15591 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15592 if test -n "$ac_ct_WINDRES"; then
15593 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15594 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15596 echo "$as_me:$LINENO: result: no" >&5
15597 echo "${ECHO_T}no" >&6
15600 WINDRES
=$ac_ct_WINDRES
15602 WINDRES
="$ac_cv_prog_WINDRES"
15606 if test -n "$ac_tool_prefix"; then
15607 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15608 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15609 echo "$as_me:$LINENO: checking for $ac_word" >&5
15610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15611 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 if test -n "$DLLTOOL"; then
15615 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15618 for as_dir
in $PATH
15621 test -z "$as_dir" && as_dir
=.
15622 for ac_exec_ext
in '' $ac_executable_extensions; do
15623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15624 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15633 DLLTOOL
=$ac_cv_prog_DLLTOOL
15634 if test -n "$DLLTOOL"; then
15635 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15636 echo "${ECHO_T}$DLLTOOL" >&6
15638 echo "$as_me:$LINENO: result: no" >&5
15639 echo "${ECHO_T}no" >&6
15643 if test -z "$ac_cv_prog_DLLTOOL"; then
15644 ac_ct_DLLTOOL
=$DLLTOOL
15645 # Extract the first word of "dlltool", so it can be a program name with args.
15646 set dummy dlltool
; ac_word
=$2
15647 echo "$as_me:$LINENO: checking for $ac_word" >&5
15648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15649 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15652 if test -n "$ac_ct_DLLTOOL"; then
15653 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15656 for as_dir
in $PATH
15659 test -z "$as_dir" && as_dir
=.
15660 for ac_exec_ext
in '' $ac_executable_extensions; do
15661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15662 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15671 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15672 if test -n "$ac_ct_DLLTOOL"; then
15673 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15674 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15676 echo "$as_me:$LINENO: result: no" >&5
15677 echo "${ECHO_T}no" >&6
15680 DLLTOOL
=$ac_ct_DLLTOOL
15682 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15689 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15690 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15691 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15696 egrep -s GNU
> /dev
/null
); then
15697 wx_cv_prog_makeisgnu
="yes"
15699 wx_cv_prog_makeisgnu
="no"
15703 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15704 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15706 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15714 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15715 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15716 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15717 if test "${wx_cv_prog_makevpath+set}" = set; then
15718 echo $ECHO_N "(cached) $ECHO_C" >&6
15721 cat - << EOF > confMake
15727 if test ! -d sub
; then
15730 echo dummy
> sub
/file
15731 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15733 rm -f sub
/file check final_file confMake
15735 if test "$RESULT" = 0; then
15736 wx_cv_prog_makevpath
="yes"
15738 wx_cv_prog_makevpath
="no"
15742 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15743 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15745 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15746 { { echo "$as_me:$LINENO: error:
15747 You need a make-utility that is able to use the variable
15749 If your version of make does not support VPATH correctly,
15750 please install GNU-make (possibly as gmake), and start
15751 configure with the following command:
15752 export MAKE=gmake; ./configure for sh-type shells
15753 setenv MAKE gmake; ./configure for csh-type shells
15754 Also please do remember to use gmake in this case every time
15755 you are trying to compile.
15757 echo "$as_me: error:
15758 You need a make-utility that is able to use the variable
15760 If your version of make does not support VPATH correctly,
15761 please install GNU-make (possibly as gmake), and start
15762 configure with the following command:
15763 export MAKE=gmake; ./configure for sh-type shells
15764 setenv MAKE gmake; ./configure for csh-type shells
15765 Also please do remember to use gmake in this case every time
15766 you are trying to compile.
15768 { (exit 1); exit 1; }; }
15770 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15771 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15773 if test "$LN_S" = "ln -s"; then
15774 echo "$as_me:$LINENO: result: yes" >&5
15775 echo "${ECHO_T}yes" >&6
15777 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15778 echo "${ECHO_T}no, using $LN_S" >&6
15784 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15785 CXXFLAGS
="-qunique $CXXFLAGS"
15789 powerpc
-*-darwin* )
15790 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15791 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15792 cat >conftest.
$ac_ext <<_ACEOF
15795 cat confdefs.h
>>conftest.
$ac_ext
15796 cat >>conftest.
$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15802 #ifndef __POWERPC__
15803 choke me for lack of PowerPC
15810 rm -f conftest.
$ac_objext
15811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15812 (eval $ac_compile) 2>conftest.er1
15814 grep -v '^ *+' conftest.er1
>conftest.err
15816 cat conftest.err
>&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } &&
15819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; } &&
15825 { ac_try
='test -s conftest.$ac_objext'
15826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15827 (eval $ac_try) 2>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); }; }; then
15831 echo "$as_me:$LINENO: result: yes" >&5
15832 echo "${ECHO_T}yes" >&6
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.
$ac_ext >&5
15837 echo "$as_me:$LINENO: result: no" >&5
15838 echo "${ECHO_T}no" >&6
15839 cat >>confdefs.h
<<\_ACEOF
15840 #define __POWERPC__ 1
15845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15851 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15852 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15853 cat >conftest.
$ac_ext <<_ACEOF
15856 cat confdefs.h
>>conftest.
$ac_ext
15857 cat >>conftest.
$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15859 #include <CoreFoundation/CFBase.h>
15869 rm -f conftest.
$ac_objext
15870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15871 (eval $ac_compile) 2>conftest.er1
15873 grep -v '^ *+' conftest.er1
>conftest.err
15875 cat conftest.err
>&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } &&
15878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15880 (eval $ac_try) 2>&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; } &&
15884 { ac_try
='test -s conftest.$ac_objext'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; }; then
15890 echo "$as_me:$LINENO: result: yes" >&5
15891 echo "${ECHO_T}yes" >&6
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.
$ac_ext >&5
15896 echo "$as_me:$LINENO: result: no" >&5
15897 echo "${ECHO_T}no" >&6
15898 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15899 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15900 cat >conftest.
$ac_ext <<_ACEOF
15903 cat confdefs.h
>>conftest.
$ac_ext
15904 cat >>conftest.
$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15906 #define __CF_USE_FRAMEWORK_INCLUDES__
15907 #include <CoreFoundation/CFBase.h>
15917 rm -f conftest.
$ac_objext
15918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15919 (eval $ac_compile) 2>conftest.er1
15921 grep -v '^ *+' conftest.er1
>conftest.err
15923 cat conftest.err
>&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } &&
15926 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; } &&
15932 { ac_try
='test -s conftest.$ac_objext'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; }; then
15938 echo "$as_me:$LINENO: result: yes" >&5
15939 echo "${ECHO_T}yes" >&6
15940 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15942 echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.
$ac_ext >&5
15945 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15946 See \`config.log' for more details." >&5
15947 echo "$as_me: error: no. CoreFoundation not available.
15948 See \`config.log' for more details." >&2;}
15949 { (exit 1); exit 1; }; }
15952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15961 doesnt_want_win32
=0
15964 if test "$wxUSE_MSW" = 1 ; then
15967 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
15968 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
15969 if test "${wx_cv_nocygwin+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 cat >conftest.
$ac_ext <<_ACEOF
15976 cat confdefs.h
>>conftest.
$ac_ext
15977 cat >>conftest.
$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15992 rm -f conftest.
$ac_objext
15993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15994 (eval $ac_compile) 2>conftest.er1
15996 grep -v '^ *+' conftest.er1
>conftest.err
15998 cat conftest.err
>&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } &&
16001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16003 (eval $ac_try) 2>&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); }; } &&
16007 { ac_try
='test -s conftest.$ac_objext'
16008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16009 (eval $ac_try) 2>&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); }; }; then
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.
$ac_ext >&5
16021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16025 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16026 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16028 if test "$wx_cv_nocygwin" = "yes"; then
16031 doesnt_want_win32
=1
16034 if test "$wants_win32" = 1 ; then
16035 BAKEFILE_FORCE_PLATFORM
=win32
16043 if test "$wxUSE_WINE" = "yes"; then
16047 LDFLAGS_GUI
="-mwindows"
16050 if test "$wants_win32" = 1 ; then
16053 cat >>confdefs.h
<<\_ACEOF
16054 #define __WIN32__ 1
16057 cat >>confdefs.h
<<\_ACEOF
16058 #define __WIN95__ 1
16061 cat >>confdefs.h
<<\_ACEOF
16062 #define __WINDOWS__ 1
16065 cat >>confdefs.h
<<\_ACEOF
16066 #define __GNUWIN32__ 1
16069 cat >>confdefs.h
<<\_ACEOF
16074 if test "$doesnt_want_win32" = 1 ; then
16079 if test "$USE_UNIX" = 1 ; then
16081 cat >>confdefs.h
<<\_ACEOF
16088 *-pc-os2_emx | *-pc-os2-emx )
16089 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16090 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16091 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16092 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16093 echo $ECHO_N "(cached) $ECHO_C" >&6
16095 ac_check_lib_save_LIBS
=$LIBS
16096 LIBS
="-lcExt $LIBS"
16097 cat >conftest.
$ac_ext <<_ACEOF
16100 cat confdefs.h
>>conftest.
$ac_ext
16101 cat >>conftest.
$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16104 /* Override any gcc2 internal prototype to avoid an error. */
16108 /* We use char because int might match the return type of a gcc2
16109 builtin and then its argument prototype would still apply. */
16119 rm -f conftest.
$ac_objext conftest
$ac_exeext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16121 (eval $ac_link) 2>conftest.er1
16123 grep -v '^ *+' conftest.er1
>conftest.err
16125 cat conftest.err
>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; } &&
16134 { ac_try
='test -s conftest$ac_exeext'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; }; then
16140 ac_cv_lib_cExt_drand48
=yes
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.
$ac_ext >&5
16145 ac_cv_lib_cExt_drand48
=no
16147 rm -f conftest.err conftest.
$ac_objext \
16148 conftest
$ac_exeext conftest.
$ac_ext
16149 LIBS
=$ac_check_lib_save_LIBS
16151 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16152 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16153 if test $ac_cv_lib_cExt_drand48 = yes; then
16154 LIBS
="$LIBS -lcExt"
16158 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16160 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16161 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16162 if test "${wx_cv_gccversion+set}" = set; then
16163 echo $ECHO_N "(cached) $ECHO_C" >&6
16166 if test "$cross_compiling" = yes; then
16167 wx_cv_gccversion
="EMX2"
16170 cat >conftest.
$ac_ext <<_ACEOF
16173 cat confdefs.h
>>conftest.
$ac_ext
16174 cat >>conftest.
$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16181 FILE *f=fopen("conftestval", "w");
16186 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16188 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16198 rm -f conftest
$ac_exeext
16199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16200 (eval $ac_link) 2>&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16209 wx_cv_gccversion
=`cat conftestval`
16211 echo "$as_me: program exited with status $ac_status" >&5
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.
$ac_ext >&5
16215 ( exit $ac_status )
16216 wx_cv_gccversion
="EMX2"
16218 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16222 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16223 echo "${ECHO_T}$wx_cv_gccversion" >&6
16224 if test "$wx_cv_gccversion" = "EMX2"; then
16225 LIBS
="$LIBS -lstdcpp"
16226 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16228 if test "$wx_cv_gccversion" = "EMX3"; then
16229 LIBS
="$LIBS -lstdcxx -lgcc"
16230 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16232 LIBS
="$LIBS -lstdc++"
16235 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16236 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16237 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16244 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16245 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16246 if test "${ac_cv_string_strcasecmp+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16250 cat >conftest.
$ac_ext <<_ACEOF
16253 cat confdefs.h
>>conftest.
$ac_ext
16254 cat >>conftest.
$ac_ext <<_ACEOF
16255 /* end confdefs.h. */
16257 #include <string.h>
16263 strcasecmp("foo", "bar");
16269 rm -f conftest.
$ac_objext conftest
$ac_exeext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16271 (eval $ac_link) 2>conftest.er1
16273 grep -v '^ *+' conftest.er1
>conftest.err
16275 cat conftest.err
>&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } &&
16278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try
='test -s conftest$ac_exeext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16290 ac_cv_string_strcasecmp
=yes
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.
$ac_ext >&5
16295 ac_cv_string_strcasecmp
=no
16298 rm -f conftest.err conftest.
$ac_objext \
16299 conftest
$ac_exeext conftest.
$ac_ext
16302 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16303 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16305 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16306 cat >>confdefs.h
<<\_ACEOF
16307 #define HAVE_STRCASECMP_IN_STRING_H 1
16311 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16312 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16313 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16314 echo $ECHO_N "(cached) $ECHO_C" >&6
16317 cat >conftest.
$ac_ext <<_ACEOF
16320 cat confdefs.h
>>conftest.
$ac_ext
16321 cat >>conftest.
$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16324 #include <strings.h>
16330 strcasecmp("foo", "bar");
16336 rm -f conftest.
$ac_objext conftest
$ac_exeext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16338 (eval $ac_link) 2>conftest.er1
16340 grep -v '^ *+' conftest.er1
>conftest.err
16342 cat conftest.err
>&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; } &&
16351 { ac_try
='test -s conftest$ac_exeext'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; }; then
16357 ac_cv_strings_strcasecmp
=yes
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.
$ac_ext >&5
16362 ac_cv_strings_strcasecmp
=no
16365 rm -f conftest.err conftest.
$ac_objext \
16366 conftest
$ac_exeext conftest.
$ac_ext
16369 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16370 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16372 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16373 cat >>confdefs.h
<<\_ACEOF
16374 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16378 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16379 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16380 { (exit 1); exit 1; }; }
16388 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16389 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16390 if test "${ac_cv_header_stdc+set}" = set; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6
16393 cat >conftest.
$ac_ext <<_ACEOF
16396 cat confdefs.h
>>conftest.
$ac_ext
16397 cat >>conftest.
$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16399 #include <stdlib.h>
16400 #include <stdarg.h>
16401 #include <string.h>
16412 rm -f conftest.
$ac_objext
16413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16414 (eval $ac_compile) 2>conftest.er1
16416 grep -v '^ *+' conftest.er1
>conftest.err
16418 cat conftest.err
>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } &&
16421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; } &&
16427 { ac_try
='test -s conftest.$ac_objext'
16428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16429 (eval $ac_try) 2>&5
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); }; }; then
16433 ac_cv_header_stdc
=yes
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.
$ac_ext >&5
16438 ac_cv_header_stdc
=no
16440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16442 if test $ac_cv_header_stdc = yes; then
16443 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16444 cat >conftest.
$ac_ext <<_ACEOF
16447 cat confdefs.h
>>conftest.
$ac_ext
16448 cat >>conftest.
$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 #include <string.h>
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "memchr" >/dev
/null
2>&1; then
16457 ac_cv_header_stdc
=no
16463 if test $ac_cv_header_stdc = yes; then
16464 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16465 cat >conftest.
$ac_ext <<_ACEOF
16468 cat confdefs.h
>>conftest.
$ac_ext
16469 cat >>conftest.
$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 #include <stdlib.h>
16474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16475 $EGREP "free" >/dev
/null
2>&1; then
16478 ac_cv_header_stdc
=no
16484 if test $ac_cv_header_stdc = yes; then
16485 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16486 if test "$cross_compiling" = yes; then
16489 cat >conftest.
$ac_ext <<_ACEOF
16492 cat confdefs.h
>>conftest.
$ac_ext
16493 cat >>conftest.
$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16496 #if ((' ' & 0x0FF) == 0x020)
16497 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16498 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16500 # define ISLOWER(c) \
16501 (('a' <= (c) && (c) <= 'i') \
16502 || ('j' <= (c) && (c) <= 'r') \
16503 || ('s' <= (c) && (c) <= 'z'))
16504 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16507 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16512 for (i = 0; i < 256; i++)
16513 if (XOR (islower (i), ISLOWER (i))
16514 || toupper (i) != TOUPPER (i))
16519 rm -f conftest
$ac_exeext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16521 (eval $ac_link) 2>&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16526 (eval $ac_try) 2>&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); }; }; then
16532 echo "$as_me: program exited with status $ac_status" >&5
16533 echo "$as_me: failed program was:" >&5
16534 sed 's/^/| /' conftest.
$ac_ext >&5
16536 ( exit $ac_status )
16537 ac_cv_header_stdc
=no
16539 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16543 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16544 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16545 if test $ac_cv_header_stdc = yes; then
16547 cat >>confdefs.h
<<\_ACEOF
16548 #define STDC_HEADERS 1
16553 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16563 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16564 inttypes.h stdint.h unistd.h
16566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16567 echo "$as_me:$LINENO: checking for $ac_header" >&5
16568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 cat >conftest.
$ac_ext <<_ACEOF
16575 cat confdefs.h
>>conftest.
$ac_ext
16576 cat >>conftest.
$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 $ac_includes_default
16580 #include <$ac_header>
16582 rm -f conftest.
$ac_objext
16583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16584 (eval $ac_compile) 2>conftest.er1
16586 grep -v '^ *+' conftest.er1
>conftest.err
16588 cat conftest.err
>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); } &&
16591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; } &&
16597 { ac_try
='test -s conftest.$ac_objext'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; }; then
16603 eval "$as_ac_Header=yes"
16605 echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.
$ac_ext >&5
16608 eval "$as_ac_Header=no"
16610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16615 cat >>confdefs.h
<<_ACEOF
16616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16630 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16632 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16634 echo "$as_me:$LINENO: checking for $ac_header" >&5
16635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16637 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16642 # Is the header compilable?
16643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16645 cat >conftest.
$ac_ext <<_ACEOF
16648 cat confdefs.h
>>conftest.
$ac_ext
16649 cat >>conftest.
$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 $ac_includes_default
16652 #include <$ac_header>
16654 rm -f conftest.
$ac_objext
16655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16656 (eval $ac_compile) 2>conftest.er1
16658 grep -v '^ *+' conftest.er1
>conftest.err
16660 cat conftest.err
>&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); } &&
16663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; } &&
16669 { ac_try
='test -s conftest.$ac_objext'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; }; then
16675 ac_header_compiler
=yes
16677 echo "$as_me: failed program was:" >&5
16678 sed 's/^/| /' conftest.
$ac_ext >&5
16680 ac_header_compiler
=no
16682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16684 echo "${ECHO_T}$ac_header_compiler" >&6
16686 # Is the header present?
16687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16689 cat >conftest.
$ac_ext <<_ACEOF
16692 cat confdefs.h
>>conftest.
$ac_ext
16693 cat >>conftest.
$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 #include <$ac_header>
16697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16700 grep -v '^ *+' conftest.er1
>conftest.err
16702 cat conftest.err
>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } >/dev
/null
; then
16705 if test -s conftest.err
; then
16706 ac_cpp_err
=$ac_c_preproc_warn_flag
16707 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16714 if test -z "$ac_cpp_err"; then
16715 ac_header_preproc
=yes
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.
$ac_ext >&5
16720 ac_header_preproc
=no
16722 rm -f conftest.err conftest.
$ac_ext
16723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16724 echo "${ECHO_T}$ac_header_preproc" >&6
16726 # So? What about this header?
16727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16733 ac_header_preproc
=yes
16736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16750 ## ----------------------------------------- ##
16751 ## Report this to wx-dev@lists.wxwidgets.org ##
16752 ## ----------------------------------------- ##
16755 sed "s/^/$as_me: WARNING: /" >&2
16758 echo "$as_me:$LINENO: checking for $ac_header" >&5
16759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 eval "$as_ac_Header=\$ac_header_preproc"
16765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16770 cat >>confdefs.h
<<_ACEOF
16771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16779 if test "$ac_cv_header_wchar_h" != "yes"; then
16781 for ac_header
in wcstr.h
16783 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16785 echo "$as_me:$LINENO: checking for $ac_header" >&5
16786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16793 # Is the header compilable?
16794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16796 cat >conftest.
$ac_ext <<_ACEOF
16799 cat confdefs.h
>>conftest.
$ac_ext
16800 cat >>conftest.
$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 $ac_includes_default
16803 #include <$ac_header>
16805 rm -f conftest.
$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16809 grep -v '^ *+' conftest.er1
>conftest.err
16811 cat conftest.err
>&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16816 (eval $ac_try) 2>&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); }; } &&
16820 { ac_try
='test -s conftest.$ac_objext'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; }; then
16826 ac_header_compiler
=yes
16828 echo "$as_me: failed program was:" >&5
16829 sed 's/^/| /' conftest.
$ac_ext >&5
16831 ac_header_compiler
=no
16833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16835 echo "${ECHO_T}$ac_header_compiler" >&6
16837 # Is the header present?
16838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16840 cat >conftest.
$ac_ext <<_ACEOF
16843 cat confdefs.h
>>conftest.
$ac_ext
16844 cat >>conftest.
$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 #include <$ac_header>
16848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16851 grep -v '^ *+' conftest.er1
>conftest.err
16853 cat conftest.err
>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } >/dev
/null
; then
16856 if test -s conftest.err
; then
16857 ac_cpp_err
=$ac_c_preproc_warn_flag
16858 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16865 if test -z "$ac_cpp_err"; then
16866 ac_header_preproc
=yes
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.
$ac_ext >&5
16871 ac_header_preproc
=no
16873 rm -f conftest.err conftest.
$ac_ext
16874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16875 echo "${ECHO_T}$ac_header_preproc" >&6
16877 # So? What about this header?
16878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16884 ac_header_preproc
=yes
16887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16901 ## ----------------------------------------- ##
16902 ## Report this to wx-dev@lists.wxwidgets.org ##
16903 ## ----------------------------------------- ##
16906 sed "s/^/$as_me: WARNING: /" >&2
16909 echo "$as_me:$LINENO: checking for $ac_header" >&5
16910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16912 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 eval "$as_ac_Header=\$ac_header_preproc"
16916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16921 cat >>confdefs.h
<<_ACEOF
16922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16932 *-pc-os2_emx | *-pc-os2-emx )
16933 if test $ac_cv_header_langinfo_h = "yes" \
16934 -a \
( "$wx_cv_gccversion" = "EMX2" \
16935 -o "$wx_cv_gccversion" = "EMX3" \
16936 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16937 LIBS
="$LIBS -lintl"
16942 if test "$USE_UNIX" = 1 ; then
16944 for ac_header
in sys
/select.h
16946 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16948 echo "$as_me:$LINENO: checking for $ac_header" >&5
16949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16956 # Is the header compilable?
16957 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16958 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16959 cat >conftest.
$ac_ext <<_ACEOF
16962 cat confdefs.h
>>conftest.
$ac_ext
16963 cat >>conftest.
$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16965 $ac_includes_default
16966 #include <$ac_header>
16968 rm -f conftest.
$ac_objext
16969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16970 (eval $ac_compile) 2>conftest.er1
16972 grep -v '^ *+' conftest.er1
>conftest.err
16974 cat conftest.err
>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); } &&
16977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979 (eval $ac_try) 2>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }; } &&
16983 { ac_try
='test -s conftest.$ac_objext'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; }; then
16989 ac_header_compiler
=yes
16991 echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.
$ac_ext >&5
16994 ac_header_compiler
=no
16996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16998 echo "${ECHO_T}$ac_header_compiler" >&6
17000 # Is the header present?
17001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17003 cat >conftest.
$ac_ext <<_ACEOF
17006 cat confdefs.h
>>conftest.
$ac_ext
17007 cat >>conftest.
$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009 #include <$ac_header>
17011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17012 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17014 grep -v '^ *+' conftest.er1
>conftest.err
17016 cat conftest.err
>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } >/dev
/null
; then
17019 if test -s conftest.err
; then
17020 ac_cpp_err
=$ac_c_preproc_warn_flag
17021 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17028 if test -z "$ac_cpp_err"; then
17029 ac_header_preproc
=yes
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.
$ac_ext >&5
17034 ac_header_preproc
=no
17036 rm -f conftest.err conftest.
$ac_ext
17037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17038 echo "${ECHO_T}$ac_header_preproc" >&6
17040 # So? What about this header?
17041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17047 ac_header_preproc
=yes
17050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17064 ## ----------------------------------------- ##
17065 ## Report this to wx-dev@lists.wxwidgets.org ##
17066 ## ----------------------------------------- ##
17069 sed "s/^/$as_me: WARNING: /" >&2
17072 echo "$as_me:$LINENO: checking for $ac_header" >&5
17073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17075 echo $ECHO_N "(cached) $ECHO_C" >&6
17077 eval "$as_ac_Header=\$ac_header_preproc"
17079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17084 cat >>confdefs.h
<<_ACEOF
17085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17095 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17096 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17097 if test "${ac_cv_c_const+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17100 cat >conftest.
$ac_ext <<_ACEOF
17103 cat confdefs.h
>>conftest.
$ac_ext
17104 cat >>conftest.
$ac_ext <<_ACEOF
17105 /* end confdefs.h. */
17110 /* FIXME: Include the comments suggested by Paul. */
17111 #ifndef __cplusplus
17112 /* Ultrix mips cc rejects this. */
17113 typedef int charset[2];
17115 /* SunOS 4.1.1 cc rejects this. */
17116 char const *const *ccp;
17118 /* NEC SVR4.0.2 mips cc rejects this. */
17119 struct point {int x, y;};
17120 static struct point const zero = {0,0};
17121 /* AIX XL C 1.02.0.0 rejects this.
17122 It does not let you subtract one const X* pointer from another in
17123 an arm of an if-expression whose if-part is not a constant
17125 const char *g = "string";
17126 ccp = &g + (g ? g-g : 0);
17127 /* HPUX 7.0 cc rejects these. */
17130 ccp = (char const *const *) p;
17131 { /* SCO 3.2v4 cc rejects this. */
17133 char const *s = 0 ? (char *) 0 : (char const *) 0;
17137 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17138 int x[] = {25, 17};
17139 const int *foo = &x[0];
17142 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17143 typedef const int *iptr;
17147 { /* AIX XL C 1.02.0.0 rejects this saying
17148 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17149 struct s { int j; const int *ap[3]; };
17150 struct s *b; b->j = 5;
17152 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17153 const int foo = 10;
17161 rm -f conftest.
$ac_objext
17162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17163 (eval $ac_compile) 2>conftest.er1
17165 grep -v '^ *+' conftest.er1
>conftest.err
17167 cat conftest.err
>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } &&
17170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172 (eval $ac_try) 2>&5
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; } &&
17176 { ac_try
='test -s conftest.$ac_objext'
17177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178 (eval $ac_try) 2>&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); }; }; then
17184 echo "$as_me: failed program was:" >&5
17185 sed 's/^/| /' conftest.
$ac_ext >&5
17189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17191 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17192 echo "${ECHO_T}$ac_cv_c_const" >&6
17193 if test $ac_cv_c_const = no
; then
17195 cat >>confdefs.h
<<\_ACEOF
17201 echo "$as_me:$LINENO: checking for inline" >&5
17202 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17203 if test "${ac_cv_c_inline+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 for ac_kw
in inline __inline__ __inline
; do
17208 cat >conftest.
$ac_ext <<_ACEOF
17211 cat confdefs.h
>>conftest.
$ac_ext
17212 cat >>conftest.
$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 #ifndef __cplusplus
17216 static $ac_kw foo_t static_foo () {return 0; }
17217 $ac_kw foo_t foo () {return 0; }
17221 rm -f conftest.
$ac_objext
17222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17223 (eval $ac_compile) 2>conftest.er1
17225 grep -v '^ *+' conftest.er1
>conftest.err
17227 cat conftest.err
>&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } &&
17230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17232 (eval $ac_try) 2>&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); }; } &&
17236 { ac_try
='test -s conftest.$ac_objext'
17237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17238 (eval $ac_try) 2>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); }; }; then
17242 ac_cv_c_inline
=$ac_kw; break
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.
$ac_ext >&5
17248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17252 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17253 echo "${ECHO_T}$ac_cv_c_inline" >&6
17256 case $ac_cv_c_inline in
17259 case $ac_cv_c_inline in
17261 *) ac_val
=$ac_cv_c_inline;;
17263 cat >>confdefs.h
<<_ACEOF
17264 #ifndef __cplusplus
17265 #define inline $ac_val
17272 echo "$as_me:$LINENO: checking for char" >&5
17273 echo $ECHO_N "checking for char... $ECHO_C" >&6
17274 if test "${ac_cv_type_char+set}" = set; then
17275 echo $ECHO_N "(cached) $ECHO_C" >&6
17277 cat >conftest.
$ac_ext <<_ACEOF
17280 cat confdefs.h
>>conftest.
$ac_ext
17281 cat >>conftest.
$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283 $ac_includes_default
17295 rm -f conftest.
$ac_objext
17296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17297 (eval $ac_compile) 2>conftest.er1
17299 grep -v '^ *+' conftest.er1
>conftest.err
17301 cat conftest.err
>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } &&
17304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; } &&
17310 { ac_try
='test -s conftest.$ac_objext'
17311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17312 (eval $ac_try) 2>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); }; }; then
17316 ac_cv_type_char
=yes
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.
$ac_ext >&5
17323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17325 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17326 echo "${ECHO_T}$ac_cv_type_char" >&6
17328 echo "$as_me:$LINENO: checking size of char" >&5
17329 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17330 if test "${ac_cv_sizeof_char+set}" = set; then
17331 echo $ECHO_N "(cached) $ECHO_C" >&6
17333 if test "$ac_cv_type_char" = yes; then
17334 # The cast to unsigned long works around a bug in the HP C Compiler
17335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17337 # This bug is HP SR number 8606223364.
17338 if test "$cross_compiling" = yes; then
17339 # Depending upon the size, compute the lo and hi bounds.
17340 cat >conftest.
$ac_ext <<_ACEOF
17343 cat confdefs.h
>>conftest.
$ac_ext
17344 cat >>conftest.
$ac_ext <<_ACEOF
17345 /* end confdefs.h. */
17346 $ac_includes_default
17350 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17357 rm -f conftest.
$ac_objext
17358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17359 (eval $ac_compile) 2>conftest.er1
17361 grep -v '^ *+' conftest.er1
>conftest.err
17363 cat conftest.err
>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } &&
17366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; } &&
17372 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17380 cat >conftest.
$ac_ext <<_ACEOF
17383 cat confdefs.h
>>conftest.
$ac_ext
17384 cat >>conftest.
$ac_ext <<_ACEOF
17385 /* end confdefs.h. */
17386 $ac_includes_default
17390 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17397 rm -f conftest.
$ac_objext
17398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17399 (eval $ac_compile) 2>conftest.er1
17401 grep -v '^ *+' conftest.er1
>conftest.err
17403 cat conftest.err
>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } &&
17406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408 (eval $ac_try) 2>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); }; } &&
17412 { ac_try
='test -s conftest.$ac_objext'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; }; then
17418 ac_hi
=$ac_mid; break
17420 echo "$as_me: failed program was:" >&5
17421 sed 's/^/| /' conftest.
$ac_ext >&5
17423 ac_lo
=`expr $ac_mid + 1`
17424 if test $ac_lo -le $ac_mid; then
17428 ac_mid
=`expr 2 '*' $ac_mid + 1`
17430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17433 echo "$as_me: failed program was:" >&5
17434 sed 's/^/| /' conftest.
$ac_ext >&5
17436 cat >conftest.
$ac_ext <<_ACEOF
17439 cat confdefs.h
>>conftest.
$ac_ext
17440 cat >>conftest.
$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 $ac_includes_default
17446 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17453 rm -f conftest.
$ac_objext
17454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17455 (eval $ac_compile) 2>conftest.er1
17457 grep -v '^ *+' conftest.er1
>conftest.err
17459 cat conftest.err
>&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } &&
17462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try
='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17476 cat >conftest.
$ac_ext <<_ACEOF
17479 cat confdefs.h
>>conftest.
$ac_ext
17480 cat >>conftest.
$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17482 $ac_includes_default
17486 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17493 rm -f conftest.
$ac_objext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>conftest.er1
17497 grep -v '^ *+' conftest.er1
>conftest.err
17499 cat conftest.err
>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; } &&
17508 { ac_try
='test -s conftest.$ac_objext'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; }; then
17514 ac_lo
=$ac_mid; break
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.
$ac_ext >&5
17519 ac_hi
=`expr '(' $ac_mid ')' - 1`
17520 if test $ac_mid -le $ac_hi; then
17524 ac_mid
=`expr 2 '*' $ac_mid`
17526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17529 echo "$as_me: failed program was:" >&5
17530 sed 's/^/| /' conftest.
$ac_ext >&5
17534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17537 # Binary search between lo and hi bounds.
17538 while test "x$ac_lo" != "x$ac_hi"; do
17539 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17540 cat >conftest.
$ac_ext <<_ACEOF
17543 cat confdefs.h
>>conftest.
$ac_ext
17544 cat >>conftest.
$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 $ac_includes_default
17550 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17557 rm -f conftest.
$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559 (eval $ac_compile) 2>conftest.er1
17561 grep -v '^ *+' conftest.er1
>conftest.err
17563 cat conftest.err
>&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } &&
17566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try
='test -s conftest.$ac_objext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.
$ac_ext >&5
17583 ac_lo
=`expr '(' $ac_mid ')' + 1`
17585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17588 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17589 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17590 See \`config.log' for more details." >&5
17591 echo "$as_me: error: cannot compute sizeof (char), 77
17592 See \`config.log' for more details." >&2;}
17593 { (exit 1); exit 1; }; } ;;
17596 if test "$cross_compiling" = yes; then
17597 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17598 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17599 { (exit 1); exit 1; }; }
17601 cat >conftest.
$ac_ext <<_ACEOF
17604 cat confdefs.h
>>conftest.
$ac_ext
17605 cat >>conftest.
$ac_ext <<_ACEOF
17606 /* end confdefs.h. */
17607 $ac_includes_default
17608 long longval () { return (long) (sizeof (char)); }
17609 unsigned long ulongval () { return (long) (sizeof (char)); }
17611 #include <stdlib.h>
17616 FILE *f = fopen ("conftest.val", "w");
17619 if (((long) (sizeof (char))) < 0)
17621 long i = longval ();
17622 if (i != ((long) (sizeof (char))))
17624 fprintf (f, "%ld\n", i);
17628 unsigned long i = ulongval ();
17629 if (i != ((long) (sizeof (char))))
17631 fprintf (f, "%lu\n", i);
17633 exit (ferror (f) || fclose (f) != 0);
17639 rm -f conftest
$ac_exeext
17640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17641 (eval $ac_link) 2>&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17650 ac_cv_sizeof_char
=`cat conftest.val`
17652 echo "$as_me: program exited with status $ac_status" >&5
17653 echo "$as_me: failed program was:" >&5
17654 sed 's/^/| /' conftest.
$ac_ext >&5
17656 ( exit $ac_status )
17657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17658 See \`config.log' for more details." >&5
17659 echo "$as_me: error: cannot compute sizeof (char), 77
17660 See \`config.log' for more details." >&2;}
17661 { (exit 1); exit 1; }; }
17663 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17668 ac_cv_sizeof_char
=0
17671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17672 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17673 cat >>confdefs.h
<<_ACEOF
17674 #define SIZEOF_CHAR $ac_cv_sizeof_char
17678 echo "$as_me:$LINENO: checking for short" >&5
17679 echo $ECHO_N "checking for short... $ECHO_C" >&6
17680 if test "${ac_cv_type_short+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 cat >conftest.
$ac_ext <<_ACEOF
17686 cat confdefs.h
>>conftest.
$ac_ext
17687 cat >>conftest.
$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17695 if (sizeof (short))
17701 rm -f conftest.
$ac_objext
17702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17703 (eval $ac_compile) 2>conftest.er1
17705 grep -v '^ *+' conftest.er1
>conftest.err
17707 cat conftest.err
>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } &&
17710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try
='test -s conftest.$ac_objext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17722 ac_cv_type_short
=yes
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.
$ac_ext >&5
17727 ac_cv_type_short
=no
17729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17731 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17732 echo "${ECHO_T}$ac_cv_type_short" >&6
17734 echo "$as_me:$LINENO: checking size of short" >&5
17735 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17736 if test "${ac_cv_sizeof_short+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 if test "$ac_cv_type_short" = yes; then
17740 # The cast to unsigned long works around a bug in the HP C Compiler
17741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17742 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17743 # This bug is HP SR number 8606223364.
17744 if test "$cross_compiling" = yes; then
17745 # Depending upon the size, compute the lo and hi bounds.
17746 cat >conftest.
$ac_ext <<_ACEOF
17749 cat confdefs.h
>>conftest.
$ac_ext
17750 cat >>conftest.
$ac_ext <<_ACEOF
17751 /* end confdefs.h. */
17752 $ac_includes_default
17756 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17763 rm -f conftest.
$ac_objext
17764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17765 (eval $ac_compile) 2>conftest.er1
17767 grep -v '^ *+' conftest.er1
>conftest.err
17769 cat conftest.err
>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } &&
17772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; } &&
17778 { ac_try
='test -s conftest.$ac_objext'
17779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17780 (eval $ac_try) 2>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }; }; then
17786 cat >conftest.
$ac_ext <<_ACEOF
17789 cat confdefs.h
>>conftest.
$ac_ext
17790 cat >>conftest.
$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 $ac_includes_default
17796 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17803 rm -f conftest.
$ac_objext
17804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17805 (eval $ac_compile) 2>conftest.er1
17807 grep -v '^ *+' conftest.er1
>conftest.err
17809 cat conftest.err
>&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); } &&
17812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; } &&
17818 { ac_try
='test -s conftest.$ac_objext'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; }; then
17824 ac_hi
=$ac_mid; break
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.
$ac_ext >&5
17829 ac_lo
=`expr $ac_mid + 1`
17830 if test $ac_lo -le $ac_mid; then
17834 ac_mid
=`expr 2 '*' $ac_mid + 1`
17836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.
$ac_ext >&5
17842 cat >conftest.
$ac_ext <<_ACEOF
17845 cat confdefs.h
>>conftest.
$ac_ext
17846 cat >>conftest.
$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 $ac_includes_default
17852 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17859 rm -f conftest.
$ac_objext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17861 (eval $ac_compile) 2>conftest.er1
17863 grep -v '^ *+' conftest.er1
>conftest.err
17865 cat conftest.err
>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } &&
17868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; } &&
17874 { ac_try
='test -s conftest.$ac_objext'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; }; then
17882 cat >conftest.
$ac_ext <<_ACEOF
17885 cat confdefs.h
>>conftest.
$ac_ext
17886 cat >>conftest.
$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17892 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17899 rm -f conftest.
$ac_objext
17900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17901 (eval $ac_compile) 2>conftest.er1
17903 grep -v '^ *+' conftest.er1
>conftest.err
17905 cat conftest.err
>&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } &&
17908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; } &&
17914 { ac_try
='test -s conftest.$ac_objext'
17915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916 (eval $ac_try) 2>&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; }; then
17920 ac_lo
=$ac_mid; break
17922 echo "$as_me: failed program was:" >&5
17923 sed 's/^/| /' conftest.
$ac_ext >&5
17925 ac_hi
=`expr '(' $ac_mid ')' - 1`
17926 if test $ac_mid -le $ac_hi; then
17930 ac_mid
=`expr 2 '*' $ac_mid`
17932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17935 echo "$as_me: failed program was:" >&5
17936 sed 's/^/| /' conftest.
$ac_ext >&5
17940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17943 # Binary search between lo and hi bounds.
17944 while test "x$ac_lo" != "x$ac_hi"; do
17945 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17946 cat >conftest.
$ac_ext <<_ACEOF
17949 cat confdefs.h
>>conftest.
$ac_ext
17950 cat >>conftest.
$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 $ac_includes_default
17956 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17963 rm -f conftest.
$ac_objext
17964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17965 (eval $ac_compile) 2>conftest.er1
17967 grep -v '^ *+' conftest.er1
>conftest.err
17969 cat conftest.err
>&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } &&
17972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974 (eval $ac_try) 2>&5
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); }; } &&
17978 { ac_try
='test -s conftest.$ac_objext'
17979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980 (eval $ac_try) 2>&5
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); }; }; then
17986 echo "$as_me: failed program was:" >&5
17987 sed 's/^/| /' conftest.
$ac_ext >&5
17989 ac_lo
=`expr '(' $ac_mid ')' + 1`
17991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17994 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17995 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17996 See \`config.log' for more details." >&5
17997 echo "$as_me: error: cannot compute sizeof (short), 77
17998 See \`config.log' for more details." >&2;}
17999 { (exit 1); exit 1; }; } ;;
18002 if test "$cross_compiling" = yes; then
18003 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18004 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18005 { (exit 1); exit 1; }; }
18007 cat >conftest.
$ac_ext <<_ACEOF
18010 cat confdefs.h
>>conftest.
$ac_ext
18011 cat >>conftest.
$ac_ext <<_ACEOF
18012 /* end confdefs.h. */
18013 $ac_includes_default
18014 long longval () { return (long) (sizeof (short)); }
18015 unsigned long ulongval () { return (long) (sizeof (short)); }
18017 #include <stdlib.h>
18022 FILE *f = fopen ("conftest.val", "w");
18025 if (((long) (sizeof (short))) < 0)
18027 long i = longval ();
18028 if (i != ((long) (sizeof (short))))
18030 fprintf (f, "%ld\n", i);
18034 unsigned long i = ulongval ();
18035 if (i != ((long) (sizeof (short))))
18037 fprintf (f, "%lu\n", i);
18039 exit (ferror (f) || fclose (f) != 0);
18045 rm -f conftest
$ac_exeext
18046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18047 (eval $ac_link) 2>&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 ac_cv_sizeof_short
=`cat conftest.val`
18058 echo "$as_me: program exited with status $ac_status" >&5
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.
$ac_ext >&5
18062 ( exit $ac_status )
18063 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18064 See \`config.log' for more details." >&5
18065 echo "$as_me: error: cannot compute sizeof (short), 77
18066 See \`config.log' for more details." >&2;}
18067 { (exit 1); exit 1; }; }
18069 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18074 ac_cv_sizeof_short
=0
18077 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18078 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18079 cat >>confdefs.h
<<_ACEOF
18080 #define SIZEOF_SHORT $ac_cv_sizeof_short
18084 echo "$as_me:$LINENO: checking for void *" >&5
18085 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18086 if test "${ac_cv_type_void_p+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18089 cat >conftest.
$ac_ext <<_ACEOF
18092 cat confdefs.h
>>conftest.
$ac_ext
18093 cat >>conftest.
$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 $ac_includes_default
18101 if (sizeof (void *))
18107 rm -f conftest.
$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>conftest.er1
18111 grep -v '^ *+' conftest.er1
>conftest.err
18113 cat conftest.err
>&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } &&
18116 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; } &&
18122 { ac_try
='test -s conftest.$ac_objext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_cv_type_void_p
=yes
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.
$ac_ext >&5
18133 ac_cv_type_void_p
=no
18135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18137 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18138 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18140 echo "$as_me:$LINENO: checking size of void *" >&5
18141 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18142 if test "${ac_cv_sizeof_void_p+set}" = set; then
18143 echo $ECHO_N "(cached) $ECHO_C" >&6
18145 if test "$ac_cv_type_void_p" = yes; then
18146 # The cast to unsigned long works around a bug in the HP C Compiler
18147 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18148 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18149 # This bug is HP SR number 8606223364.
18150 if test "$cross_compiling" = yes; then
18151 # Depending upon the size, compute the lo and hi bounds.
18152 cat >conftest.
$ac_ext <<_ACEOF
18155 cat confdefs.h
>>conftest.
$ac_ext
18156 cat >>conftest.
$ac_ext <<_ACEOF
18157 /* end confdefs.h. */
18158 $ac_includes_default
18162 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18169 rm -f conftest.
$ac_objext
18170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18171 (eval $ac_compile) 2>conftest.er1
18173 grep -v '^ *+' conftest.er1
>conftest.err
18175 cat conftest.err
>&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } &&
18178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; } &&
18184 { ac_try
='test -s conftest.$ac_objext'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; }; then
18192 cat >conftest.
$ac_ext <<_ACEOF
18195 cat confdefs.h
>>conftest.
$ac_ext
18196 cat >>conftest.
$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18198 $ac_includes_default
18202 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18209 rm -f conftest.
$ac_objext
18210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18211 (eval $ac_compile) 2>conftest.er1
18213 grep -v '^ *+' conftest.er1
>conftest.err
18215 cat conftest.err
>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } &&
18218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; } &&
18224 { ac_try
='test -s conftest.$ac_objext'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; }; then
18230 ac_hi
=$ac_mid; break
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.
$ac_ext >&5
18235 ac_lo
=`expr $ac_mid + 1`
18236 if test $ac_lo -le $ac_mid; then
18240 ac_mid
=`expr 2 '*' $ac_mid + 1`
18242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.
$ac_ext >&5
18248 cat >conftest.
$ac_ext <<_ACEOF
18251 cat confdefs.h
>>conftest.
$ac_ext
18252 cat >>conftest.
$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18254 $ac_includes_default
18258 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18265 rm -f conftest.
$ac_objext
18266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18267 (eval $ac_compile) 2>conftest.er1
18269 grep -v '^ *+' conftest.er1
>conftest.err
18271 cat conftest.err
>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } &&
18274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; } &&
18280 { ac_try
='test -s conftest.$ac_objext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18288 cat >conftest.
$ac_ext <<_ACEOF
18291 cat confdefs.h
>>conftest.
$ac_ext
18292 cat >>conftest.
$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18294 $ac_includes_default
18298 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18305 rm -f conftest.
$ac_objext
18306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18307 (eval $ac_compile) 2>conftest.er1
18309 grep -v '^ *+' conftest.er1
>conftest.err
18311 cat conftest.err
>&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } &&
18314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; } &&
18320 { ac_try
='test -s conftest.$ac_objext'
18321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322 (eval $ac_try) 2>&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; }; then
18326 ac_lo
=$ac_mid; break
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.
$ac_ext >&5
18331 ac_hi
=`expr '(' $ac_mid ')' - 1`
18332 if test $ac_mid -le $ac_hi; then
18336 ac_mid
=`expr 2 '*' $ac_mid`
18338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.
$ac_ext >&5
18346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18349 # Binary search between lo and hi bounds.
18350 while test "x$ac_lo" != "x$ac_hi"; do
18351 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18352 cat >conftest.
$ac_ext <<_ACEOF
18355 cat confdefs.h
>>conftest.
$ac_ext
18356 cat >>conftest.
$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358 $ac_includes_default
18362 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18369 rm -f conftest.
$ac_objext
18370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18371 (eval $ac_compile) 2>conftest.er1
18373 grep -v '^ *+' conftest.er1
>conftest.err
18375 cat conftest.err
>&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); } &&
18378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; } &&
18384 { ac_try
='test -s conftest.$ac_objext'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; }; then
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.
$ac_ext >&5
18395 ac_lo
=`expr '(' $ac_mid ')' + 1`
18397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18400 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18401 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18402 See \`config.log' for more details." >&5
18403 echo "$as_me: error: cannot compute sizeof (void *), 77
18404 See \`config.log' for more details." >&2;}
18405 { (exit 1); exit 1; }; } ;;
18408 if test "$cross_compiling" = yes; then
18409 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18410 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18411 { (exit 1); exit 1; }; }
18413 cat >conftest.
$ac_ext <<_ACEOF
18416 cat confdefs.h
>>conftest.
$ac_ext
18417 cat >>conftest.
$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18420 long longval () { return (long) (sizeof (void *)); }
18421 unsigned long ulongval () { return (long) (sizeof (void *)); }
18423 #include <stdlib.h>
18428 FILE *f = fopen ("conftest.val", "w");
18431 if (((long) (sizeof (void *))) < 0)
18433 long i = longval ();
18434 if (i != ((long) (sizeof (void *))))
18436 fprintf (f, "%ld\n", i);
18440 unsigned long i = ulongval ();
18441 if (i != ((long) (sizeof (void *))))
18443 fprintf (f, "%lu\n", i);
18445 exit (ferror (f) || fclose (f) != 0);
18451 rm -f conftest
$ac_exeext
18452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18453 (eval $ac_link) 2>&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18458 (eval $ac_try) 2>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; }; then
18462 ac_cv_sizeof_void_p
=`cat conftest.val`
18464 echo "$as_me: program exited with status $ac_status" >&5
18465 echo "$as_me: failed program was:" >&5
18466 sed 's/^/| /' conftest.
$ac_ext >&5
18468 ( exit $ac_status )
18469 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18470 See \`config.log' for more details." >&5
18471 echo "$as_me: error: cannot compute sizeof (void *), 77
18472 See \`config.log' for more details." >&2;}
18473 { (exit 1); exit 1; }; }
18475 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18480 ac_cv_sizeof_void_p
=0
18483 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18484 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18485 cat >>confdefs.h
<<_ACEOF
18486 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18490 echo "$as_me:$LINENO: checking for int" >&5
18491 echo $ECHO_N "checking for int... $ECHO_C" >&6
18492 if test "${ac_cv_type_int+set}" = set; then
18493 echo $ECHO_N "(cached) $ECHO_C" >&6
18495 cat >conftest.
$ac_ext <<_ACEOF
18498 cat confdefs.h
>>conftest.
$ac_ext
18499 cat >>conftest.
$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 $ac_includes_default
18513 rm -f conftest.
$ac_objext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18515 (eval $ac_compile) 2>conftest.er1
18517 grep -v '^ *+' conftest.er1
>conftest.err
18519 cat conftest.err
>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try
='test -s conftest.$ac_objext'
18529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 (eval $ac_try) 2>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; }; then
18536 echo "$as_me: failed program was:" >&5
18537 sed 's/^/| /' conftest.
$ac_ext >&5
18541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18543 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18544 echo "${ECHO_T}$ac_cv_type_int" >&6
18546 echo "$as_me:$LINENO: checking size of int" >&5
18547 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18548 if test "${ac_cv_sizeof_int+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18551 if test "$ac_cv_type_int" = yes; then
18552 # The cast to unsigned long works around a bug in the HP C Compiler
18553 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18554 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18555 # This bug is HP SR number 8606223364.
18556 if test "$cross_compiling" = yes; then
18557 # Depending upon the size, compute the lo and hi bounds.
18558 cat >conftest.
$ac_ext <<_ACEOF
18561 cat confdefs.h
>>conftest.
$ac_ext
18562 cat >>conftest.
$ac_ext <<_ACEOF
18563 /* end confdefs.h. */
18564 $ac_includes_default
18568 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18575 rm -f conftest.
$ac_objext
18576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18577 (eval $ac_compile) 2>conftest.er1
18579 grep -v '^ *+' conftest.er1
>conftest.err
18581 cat conftest.err
>&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } &&
18584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18586 (eval $ac_try) 2>&5
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); }; } &&
18590 { ac_try
='test -s conftest.$ac_objext'
18591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18592 (eval $ac_try) 2>&5
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); }; }; then
18598 cat >conftest.
$ac_ext <<_ACEOF
18601 cat confdefs.h
>>conftest.
$ac_ext
18602 cat >>conftest.
$ac_ext <<_ACEOF
18603 /* end confdefs.h. */
18604 $ac_includes_default
18608 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18615 rm -f conftest.
$ac_objext
18616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18617 (eval $ac_compile) 2>conftest.er1
18619 grep -v '^ *+' conftest.er1
>conftest.err
18621 cat conftest.err
>&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } &&
18624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626 (eval $ac_try) 2>&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); }; } &&
18630 { ac_try
='test -s conftest.$ac_objext'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; }; then
18636 ac_hi
=$ac_mid; break
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.
$ac_ext >&5
18641 ac_lo
=`expr $ac_mid + 1`
18642 if test $ac_lo -le $ac_mid; then
18646 ac_mid
=`expr 2 '*' $ac_mid + 1`
18648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18651 echo "$as_me: failed program was:" >&5
18652 sed 's/^/| /' conftest.
$ac_ext >&5
18654 cat >conftest.
$ac_ext <<_ACEOF
18657 cat confdefs.h
>>conftest.
$ac_ext
18658 cat >>conftest.
$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 $ac_includes_default
18664 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18671 rm -f conftest.
$ac_objext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18673 (eval $ac_compile) 2>conftest.er1
18675 grep -v '^ *+' conftest.er1
>conftest.err
18677 cat conftest.err
>&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } &&
18680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18682 (eval $ac_try) 2>&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); }; } &&
18686 { ac_try
='test -s conftest.$ac_objext'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; }; then
18694 cat >conftest.
$ac_ext <<_ACEOF
18697 cat confdefs.h
>>conftest.
$ac_ext
18698 cat >>conftest.
$ac_ext <<_ACEOF
18699 /* end confdefs.h. */
18700 $ac_includes_default
18704 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18711 rm -f conftest.
$ac_objext
18712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18713 (eval $ac_compile) 2>conftest.er1
18715 grep -v '^ *+' conftest.er1
>conftest.err
18717 cat conftest.err
>&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } &&
18720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18722 (eval $ac_try) 2>&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); }; } &&
18726 { ac_try
='test -s conftest.$ac_objext'
18727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18728 (eval $ac_try) 2>&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); }; }; then
18732 ac_lo
=$ac_mid; break
18734 echo "$as_me: failed program was:" >&5
18735 sed 's/^/| /' conftest.
$ac_ext >&5
18737 ac_hi
=`expr '(' $ac_mid ')' - 1`
18738 if test $ac_mid -le $ac_hi; then
18742 ac_mid
=`expr 2 '*' $ac_mid`
18744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.
$ac_ext >&5
18752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18755 # Binary search between lo and hi bounds.
18756 while test "x$ac_lo" != "x$ac_hi"; do
18757 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18758 cat >conftest.
$ac_ext <<_ACEOF
18761 cat confdefs.h
>>conftest.
$ac_ext
18762 cat >>conftest.
$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18764 $ac_includes_default
18768 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18775 rm -f conftest.
$ac_objext
18776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18777 (eval $ac_compile) 2>conftest.er1
18779 grep -v '^ *+' conftest.er1
>conftest.err
18781 cat conftest.err
>&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } &&
18784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18786 (eval $ac_try) 2>&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); }; } &&
18790 { ac_try
='test -s conftest.$ac_objext'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; }; then
18798 echo "$as_me: failed program was:" >&5
18799 sed 's/^/| /' conftest.
$ac_ext >&5
18801 ac_lo
=`expr '(' $ac_mid ')' + 1`
18803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18806 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18807 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18808 See \`config.log' for more details." >&5
18809 echo "$as_me: error: cannot compute sizeof (int), 77
18810 See \`config.log' for more details." >&2;}
18811 { (exit 1); exit 1; }; } ;;
18814 if test "$cross_compiling" = yes; then
18815 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18816 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18817 { (exit 1); exit 1; }; }
18819 cat >conftest.
$ac_ext <<_ACEOF
18822 cat confdefs.h
>>conftest.
$ac_ext
18823 cat >>conftest.
$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18825 $ac_includes_default
18826 long longval () { return (long) (sizeof (int)); }
18827 unsigned long ulongval () { return (long) (sizeof (int)); }
18829 #include <stdlib.h>
18834 FILE *f = fopen ("conftest.val", "w");
18837 if (((long) (sizeof (int))) < 0)
18839 long i = longval ();
18840 if (i != ((long) (sizeof (int))))
18842 fprintf (f, "%ld\n", i);
18846 unsigned long i = ulongval ();
18847 if (i != ((long) (sizeof (int))))
18849 fprintf (f, "%lu\n", i);
18851 exit (ferror (f) || fclose (f) != 0);
18857 rm -f conftest
$ac_exeext
18858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18859 (eval $ac_link) 2>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864 (eval $ac_try) 2>&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); }; }; then
18868 ac_cv_sizeof_int
=`cat conftest.val`
18870 echo "$as_me: program exited with status $ac_status" >&5
18871 echo "$as_me: failed program was:" >&5
18872 sed 's/^/| /' conftest.
$ac_ext >&5
18874 ( exit $ac_status )
18875 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18876 See \`config.log' for more details." >&5
18877 echo "$as_me: error: cannot compute sizeof (int), 77
18878 See \`config.log' for more details." >&2;}
18879 { (exit 1); exit 1; }; }
18881 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18889 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18890 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18891 cat >>confdefs.h
<<_ACEOF
18892 #define SIZEOF_INT $ac_cv_sizeof_int
18896 echo "$as_me:$LINENO: checking for long" >&5
18897 echo $ECHO_N "checking for long... $ECHO_C" >&6
18898 if test "${ac_cv_type_long+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 cat >conftest.
$ac_ext <<_ACEOF
18904 cat confdefs.h
>>conftest.
$ac_ext
18905 cat >>conftest.
$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 $ac_includes_default
18919 rm -f conftest.
$ac_objext
18920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18921 (eval $ac_compile) 2>conftest.er1
18923 grep -v '^ *+' conftest.er1
>conftest.err
18925 cat conftest.err
>&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } &&
18928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18930 (eval $ac_try) 2>&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); }; } &&
18934 { ac_try
='test -s conftest.$ac_objext'
18935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18936 (eval $ac_try) 2>&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); }; }; then
18940 ac_cv_type_long
=yes
18942 echo "$as_me: failed program was:" >&5
18943 sed 's/^/| /' conftest.
$ac_ext >&5
18947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18949 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18950 echo "${ECHO_T}$ac_cv_type_long" >&6
18952 echo "$as_me:$LINENO: checking size of long" >&5
18953 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18954 if test "${ac_cv_sizeof_long+set}" = set; then
18955 echo $ECHO_N "(cached) $ECHO_C" >&6
18957 if test "$ac_cv_type_long" = yes; then
18958 # The cast to unsigned long works around a bug in the HP C Compiler
18959 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18960 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18961 # This bug is HP SR number 8606223364.
18962 if test "$cross_compiling" = yes; then
18963 # Depending upon the size, compute the lo and hi bounds.
18964 cat >conftest.
$ac_ext <<_ACEOF
18967 cat confdefs.h
>>conftest.
$ac_ext
18968 cat >>conftest.
$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 $ac_includes_default
18974 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18981 rm -f conftest.
$ac_objext
18982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18983 (eval $ac_compile) 2>conftest.er1
18985 grep -v '^ *+' conftest.er1
>conftest.err
18987 cat conftest.err
>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } &&
18990 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18992 (eval $ac_try) 2>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; } &&
18996 { ac_try
='test -s conftest.$ac_objext'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; }; then
19004 cat >conftest.
$ac_ext <<_ACEOF
19007 cat confdefs.h
>>conftest.
$ac_ext
19008 cat >>conftest.
$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19010 $ac_includes_default
19014 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19021 rm -f conftest.
$ac_objext
19022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19023 (eval $ac_compile) 2>conftest.er1
19025 grep -v '^ *+' conftest.er1
>conftest.err
19027 cat conftest.err
>&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); } &&
19030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; } &&
19036 { ac_try
='test -s conftest.$ac_objext'
19037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19038 (eval $ac_try) 2>&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); }; }; then
19042 ac_hi
=$ac_mid; break
19044 echo "$as_me: failed program was:" >&5
19045 sed 's/^/| /' conftest.
$ac_ext >&5
19047 ac_lo
=`expr $ac_mid + 1`
19048 if test $ac_lo -le $ac_mid; then
19052 ac_mid
=`expr 2 '*' $ac_mid + 1`
19054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19057 echo "$as_me: failed program was:" >&5
19058 sed 's/^/| /' conftest.
$ac_ext >&5
19060 cat >conftest.
$ac_ext <<_ACEOF
19063 cat confdefs.h
>>conftest.
$ac_ext
19064 cat >>conftest.
$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066 $ac_includes_default
19070 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19077 rm -f conftest.
$ac_objext
19078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19079 (eval $ac_compile) 2>conftest.er1
19081 grep -v '^ *+' conftest.er1
>conftest.err
19083 cat conftest.err
>&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); } &&
19086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088 (eval $ac_try) 2>&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; } &&
19092 { ac_try
='test -s conftest.$ac_objext'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; }; then
19100 cat >conftest.
$ac_ext <<_ACEOF
19103 cat confdefs.h
>>conftest.
$ac_ext
19104 cat >>conftest.
$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19106 $ac_includes_default
19110 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19117 rm -f conftest.
$ac_objext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19119 (eval $ac_compile) 2>conftest.er1
19121 grep -v '^ *+' conftest.er1
>conftest.err
19123 cat conftest.err
>&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } &&
19126 { ac_try
='test -z "$ac_c_werror_flag" || 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 (long))) <= $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" || test ! -s conftest.err'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; } &&
19196 { ac_try
='test -s conftest.$ac_objext'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; }; then
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.
$ac_ext >&5
19207 ac_lo
=`expr '(' $ac_mid ')' + 1`
19209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19212 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19213 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19214 See \`config.log' for more details." >&5
19215 echo "$as_me: error: cannot compute sizeof (long), 77
19216 See \`config.log' for more details." >&2;}
19217 { (exit 1); exit 1; }; } ;;
19220 if test "$cross_compiling" = yes; then
19221 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19222 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19223 { (exit 1); exit 1; }; }
19225 cat >conftest.
$ac_ext <<_ACEOF
19228 cat confdefs.h
>>conftest.
$ac_ext
19229 cat >>conftest.
$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 $ac_includes_default
19232 long longval () { return (long) (sizeof (long)); }
19233 unsigned long ulongval () { return (long) (sizeof (long)); }
19235 #include <stdlib.h>
19240 FILE *f = fopen ("conftest.val", "w");
19243 if (((long) (sizeof (long))) < 0)
19245 long i = longval ();
19246 if (i != ((long) (sizeof (long))))
19248 fprintf (f, "%ld\n", i);
19252 unsigned long i = ulongval ();
19253 if (i != ((long) (sizeof (long))))
19255 fprintf (f, "%lu\n", i);
19257 exit (ferror (f) || fclose (f) != 0);
19263 rm -f conftest
$ac_exeext
19264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19265 (eval $ac_link) 2>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 ac_cv_sizeof_long
=`cat conftest.val`
19276 echo "$as_me: program exited with status $ac_status" >&5
19277 echo "$as_me: failed program was:" >&5
19278 sed 's/^/| /' conftest.
$ac_ext >&5
19280 ( exit $ac_status )
19281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19282 See \`config.log' for more details." >&5
19283 echo "$as_me: error: cannot compute sizeof (long), 77
19284 See \`config.log' for more details." >&2;}
19285 { (exit 1); exit 1; }; }
19287 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19292 ac_cv_sizeof_long
=0
19295 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19296 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19297 cat >>confdefs.h
<<_ACEOF
19298 #define SIZEOF_LONG $ac_cv_sizeof_long
19302 echo "$as_me:$LINENO: checking for size_t" >&5
19303 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19304 if test "${ac_cv_type_size_t+set}" = set; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 cat >conftest.
$ac_ext <<_ACEOF
19310 cat confdefs.h
>>conftest.
$ac_ext
19311 cat >>conftest.
$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 $ac_includes_default
19319 if (sizeof (size_t))
19325 rm -f conftest.
$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>conftest.er1
19329 grep -v '^ *+' conftest.er1
>conftest.err
19331 cat conftest.err
>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try
='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_type_size_t
=yes
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.
$ac_ext >&5
19351 ac_cv_type_size_t
=no
19353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19355 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19356 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19358 echo "$as_me:$LINENO: checking size of size_t" >&5
19359 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19360 if test "${ac_cv_sizeof_size_t+set}" = set; then
19361 echo $ECHO_N "(cached) $ECHO_C" >&6
19363 if test "$ac_cv_type_size_t" = yes; then
19364 # The cast to unsigned long works around a bug in the HP C Compiler
19365 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19366 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19367 # This bug is HP SR number 8606223364.
19368 if test "$cross_compiling" = yes; then
19369 # Depending upon the size, compute the lo and hi bounds.
19370 cat >conftest.
$ac_ext <<_ACEOF
19373 cat confdefs.h
>>conftest.
$ac_ext
19374 cat >>conftest.
$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376 $ac_includes_default
19380 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19387 rm -f conftest.
$ac_objext
19388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19389 (eval $ac_compile) 2>conftest.er1
19391 grep -v '^ *+' conftest.er1
>conftest.err
19393 cat conftest.err
>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } &&
19396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; } &&
19402 { ac_try
='test -s conftest.$ac_objext'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; }; then
19410 cat >conftest.
$ac_ext <<_ACEOF
19413 cat confdefs.h
>>conftest.
$ac_ext
19414 cat >>conftest.
$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416 $ac_includes_default
19420 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19427 rm -f conftest.
$ac_objext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429 (eval $ac_compile) 2>conftest.er1
19431 grep -v '^ *+' conftest.er1
>conftest.err
19433 cat conftest.err
>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } &&
19436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try
='test -s conftest.$ac_objext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448 ac_hi
=$ac_mid; break
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.
$ac_ext >&5
19453 ac_lo
=`expr $ac_mid + 1`
19454 if test $ac_lo -le $ac_mid; then
19458 ac_mid
=`expr 2 '*' $ac_mid + 1`
19460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.
$ac_ext >&5
19466 cat >conftest.
$ac_ext <<_ACEOF
19469 cat confdefs.h
>>conftest.
$ac_ext
19470 cat >>conftest.
$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 $ac_includes_default
19476 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19483 rm -f conftest.
$ac_objext
19484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19485 (eval $ac_compile) 2>conftest.er1
19487 grep -v '^ *+' conftest.er1
>conftest.err
19489 cat conftest.err
>&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); } &&
19492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19494 (eval $ac_try) 2>&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); }; } &&
19498 { ac_try
='test -s conftest.$ac_objext'
19499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19500 (eval $ac_try) 2>&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); }; }; then
19506 cat >conftest.
$ac_ext <<_ACEOF
19509 cat confdefs.h
>>conftest.
$ac_ext
19510 cat >>conftest.
$ac_ext <<_ACEOF
19511 /* end confdefs.h. */
19512 $ac_includes_default
19516 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19523 rm -f conftest.
$ac_objext
19524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19525 (eval $ac_compile) 2>conftest.er1
19527 grep -v '^ *+' conftest.er1
>conftest.err
19529 cat conftest.err
>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } &&
19532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; } &&
19538 { ac_try
='test -s conftest.$ac_objext'
19539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540 (eval $ac_try) 2>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; }; then
19544 ac_lo
=$ac_mid; break
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.
$ac_ext >&5
19549 ac_hi
=`expr '(' $ac_mid ')' - 1`
19550 if test $ac_mid -le $ac_hi; then
19554 ac_mid
=`expr 2 '*' $ac_mid`
19556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.
$ac_ext >&5
19564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19567 # Binary search between lo and hi bounds.
19568 while test "x$ac_lo" != "x$ac_hi"; do
19569 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19570 cat >conftest.
$ac_ext <<_ACEOF
19573 cat confdefs.h
>>conftest.
$ac_ext
19574 cat >>conftest.
$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 $ac_includes_default
19580 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19587 rm -f conftest.
$ac_objext
19588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19589 (eval $ac_compile) 2>conftest.er1
19591 grep -v '^ *+' conftest.er1
>conftest.err
19593 cat conftest.err
>&5
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); } &&
19596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19598 (eval $ac_try) 2>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); }; } &&
19602 { ac_try
='test -s conftest.$ac_objext'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; }; then
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.
$ac_ext >&5
19613 ac_lo
=`expr '(' $ac_mid ')' + 1`
19615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19618 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19619 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19620 See \`config.log' for more details." >&5
19621 echo "$as_me: error: cannot compute sizeof (size_t), 77
19622 See \`config.log' for more details." >&2;}
19623 { (exit 1); exit 1; }; } ;;
19626 if test "$cross_compiling" = yes; then
19627 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19628 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19629 { (exit 1); exit 1; }; }
19631 cat >conftest.
$ac_ext <<_ACEOF
19634 cat confdefs.h
>>conftest.
$ac_ext
19635 cat >>conftest.
$ac_ext <<_ACEOF
19636 /* end confdefs.h. */
19637 $ac_includes_default
19638 long longval () { return (long) (sizeof (size_t)); }
19639 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19641 #include <stdlib.h>
19646 FILE *f = fopen ("conftest.val", "w");
19649 if (((long) (sizeof (size_t))) < 0)
19651 long i = longval ();
19652 if (i != ((long) (sizeof (size_t))))
19654 fprintf (f, "%ld\n", i);
19658 unsigned long i = ulongval ();
19659 if (i != ((long) (sizeof (size_t))))
19661 fprintf (f, "%lu\n", i);
19663 exit (ferror (f) || fclose (f) != 0);
19669 rm -f conftest
$ac_exeext
19670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19671 (eval $ac_link) 2>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19680 ac_cv_sizeof_size_t
=`cat conftest.val`
19682 echo "$as_me: program exited with status $ac_status" >&5
19683 echo "$as_me: failed program was:" >&5
19684 sed 's/^/| /' conftest.
$ac_ext >&5
19686 ( exit $ac_status )
19687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19688 See \`config.log' for more details." >&5
19689 echo "$as_me: error: cannot compute sizeof (size_t), 77
19690 See \`config.log' for more details." >&2;}
19691 { (exit 1); exit 1; }; }
19693 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19698 ac_cv_sizeof_size_t
=0
19701 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19702 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19703 cat >>confdefs.h
<<_ACEOF
19704 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19711 echo "$as_me:$LINENO: checking for long long" >&5
19712 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19713 if test "${ac_cv_type_long_long+set}" = set; then
19714 echo $ECHO_N "(cached) $ECHO_C" >&6
19716 cat >conftest.
$ac_ext <<_ACEOF
19719 cat confdefs.h
>>conftest.
$ac_ext
19720 cat >>conftest.
$ac_ext <<_ACEOF
19721 /* end confdefs.h. */
19722 $ac_includes_default
19726 if ((long long *) 0)
19728 if (sizeof (long long))
19734 rm -f conftest.
$ac_objext
19735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19736 (eval $ac_compile) 2>conftest.er1
19738 grep -v '^ *+' conftest.er1
>conftest.err
19740 cat conftest.err
>&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } &&
19743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; } &&
19749 { ac_try
='test -s conftest.$ac_objext'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 ac_cv_type_long_long
=yes
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.
$ac_ext >&5
19760 ac_cv_type_long_long
=no
19762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19764 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19765 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19767 echo "$as_me:$LINENO: checking size of long long" >&5
19768 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19769 if test "${ac_cv_sizeof_long_long+set}" = set; then
19770 echo $ECHO_N "(cached) $ECHO_C" >&6
19772 if test "$ac_cv_type_long_long" = yes; then
19773 # The cast to unsigned long works around a bug in the HP C Compiler
19774 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19775 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19776 # This bug is HP SR number 8606223364.
19777 if test "$cross_compiling" = yes; then
19778 # Depending upon the size, compute the lo and hi bounds.
19779 cat >conftest.
$ac_ext <<_ACEOF
19782 cat confdefs.h
>>conftest.
$ac_ext
19783 cat >>conftest.
$ac_ext <<_ACEOF
19784 /* end confdefs.h. */
19785 $ac_includes_default
19789 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19796 rm -f conftest.
$ac_objext
19797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19798 (eval $ac_compile) 2>conftest.er1
19800 grep -v '^ *+' conftest.er1
>conftest.err
19802 cat conftest.err
>&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); } &&
19805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807 (eval $ac_try) 2>&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); }; } &&
19811 { ac_try
='test -s conftest.$ac_objext'
19812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19813 (eval $ac_try) 2>&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); }; }; then
19819 cat >conftest.
$ac_ext <<_ACEOF
19822 cat confdefs.h
>>conftest.
$ac_ext
19823 cat >>conftest.
$ac_ext <<_ACEOF
19824 /* end confdefs.h. */
19825 $ac_includes_default
19829 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19836 rm -f conftest.
$ac_objext
19837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19838 (eval $ac_compile) 2>conftest.er1
19840 grep -v '^ *+' conftest.er1
>conftest.err
19842 cat conftest.err
>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } &&
19845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try
='test -s conftest.$ac_objext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19857 ac_hi
=$ac_mid; break
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.
$ac_ext >&5
19862 ac_lo
=`expr $ac_mid + 1`
19863 if test $ac_lo -le $ac_mid; then
19867 ac_mid
=`expr 2 '*' $ac_mid + 1`
19869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.
$ac_ext >&5
19875 cat >conftest.
$ac_ext <<_ACEOF
19878 cat confdefs.h
>>conftest.
$ac_ext
19879 cat >>conftest.
$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 $ac_includes_default
19885 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19892 rm -f conftest.
$ac_objext
19893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19894 (eval $ac_compile) 2>conftest.er1
19896 grep -v '^ *+' conftest.er1
>conftest.err
19898 cat conftest.err
>&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } &&
19901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19903 (eval $ac_try) 2>&5
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); }; } &&
19907 { ac_try
='test -s conftest.$ac_objext'
19908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19909 (eval $ac_try) 2>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; }; then
19915 cat >conftest.
$ac_ext <<_ACEOF
19918 cat confdefs.h
>>conftest.
$ac_ext
19919 cat >>conftest.
$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 $ac_includes_default
19925 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19932 rm -f conftest.
$ac_objext
19933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19934 (eval $ac_compile) 2>conftest.er1
19936 grep -v '^ *+' conftest.er1
>conftest.err
19938 cat conftest.err
>&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } &&
19941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19943 (eval $ac_try) 2>&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); }; } &&
19947 { ac_try
='test -s conftest.$ac_objext'
19948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19949 (eval $ac_try) 2>&5
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); }; }; then
19953 ac_lo
=$ac_mid; break
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.
$ac_ext >&5
19958 ac_hi
=`expr '(' $ac_mid ')' - 1`
19959 if test $ac_mid -le $ac_hi; then
19963 ac_mid
=`expr 2 '*' $ac_mid`
19965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.
$ac_ext >&5
19973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19976 # Binary search between lo and hi bounds.
19977 while test "x$ac_lo" != "x$ac_hi"; do
19978 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19979 cat >conftest.
$ac_ext <<_ACEOF
19982 cat confdefs.h
>>conftest.
$ac_ext
19983 cat >>conftest.
$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19985 $ac_includes_default
19989 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19996 rm -f conftest.
$ac_objext
19997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19998 (eval $ac_compile) 2>conftest.er1
20000 grep -v '^ *+' conftest.er1
>conftest.err
20002 cat conftest.err
>&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } &&
20005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; } &&
20011 { ac_try
='test -s conftest.$ac_objext'
20012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013 (eval $ac_try) 2>&5
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; }; then
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.
$ac_ext >&5
20022 ac_lo
=`expr '(' $ac_mid ')' + 1`
20024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20027 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20028 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20029 See \`config.log' for more details." >&5
20030 echo "$as_me: error: cannot compute sizeof (long long), 77
20031 See \`config.log' for more details." >&2;}
20032 { (exit 1); exit 1; }; } ;;
20035 if test "$cross_compiling" = yes; then
20036 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20037 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20038 { (exit 1); exit 1; }; }
20040 cat >conftest.
$ac_ext <<_ACEOF
20043 cat confdefs.h
>>conftest.
$ac_ext
20044 cat >>conftest.
$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 long longval () { return (long) (sizeof (long long)); }
20048 unsigned long ulongval () { return (long) (sizeof (long long)); }
20050 #include <stdlib.h>
20055 FILE *f = fopen ("conftest.val", "w");
20058 if (((long) (sizeof (long long))) < 0)
20060 long i = longval ();
20061 if (i != ((long) (sizeof (long long))))
20063 fprintf (f, "%ld\n", i);
20067 unsigned long i = ulongval ();
20068 if (i != ((long) (sizeof (long long))))
20070 fprintf (f, "%lu\n", i);
20072 exit (ferror (f) || fclose (f) != 0);
20078 rm -f conftest
$ac_exeext
20079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20080 (eval $ac_link) 2>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 ac_cv_sizeof_long_long
=`cat conftest.val`
20091 echo "$as_me: program exited with status $ac_status" >&5
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.
$ac_ext >&5
20095 ( exit $ac_status )
20096 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20097 See \`config.log' for more details." >&5
20098 echo "$as_me: error: cannot compute sizeof (long long), 77
20099 See \`config.log' for more details." >&2;}
20100 { (exit 1); exit 1; }; }
20102 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20107 ac_cv_sizeof_long_long
=0
20110 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20111 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20112 cat >>confdefs.h
<<_ACEOF
20113 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20119 echo "$as_me:$LINENO: checking for long long" >&5
20120 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20121 if test "${ac_cv_type_long_long+set}" = set; then
20122 echo $ECHO_N "(cached) $ECHO_C" >&6
20124 cat >conftest.
$ac_ext <<_ACEOF
20127 cat confdefs.h
>>conftest.
$ac_ext
20128 cat >>conftest.
$ac_ext <<_ACEOF
20129 /* end confdefs.h. */
20130 $ac_includes_default
20134 if ((long long *) 0)
20136 if (sizeof (long long))
20142 rm -f conftest.
$ac_objext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20144 (eval $ac_compile) 2>conftest.er1
20146 grep -v '^ *+' conftest.er1
>conftest.err
20148 cat conftest.err
>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153 (eval $ac_try) 2>&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; } &&
20157 { ac_try
='test -s conftest.$ac_objext'
20158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20159 (eval $ac_try) 2>&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); }; }; then
20163 ac_cv_type_long_long
=yes
20165 echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.
$ac_ext >&5
20168 ac_cv_type_long_long
=no
20170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20172 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20173 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20175 echo "$as_me:$LINENO: checking size of long long" >&5
20176 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20177 if test "${ac_cv_sizeof_long_long+set}" = set; then
20178 echo $ECHO_N "(cached) $ECHO_C" >&6
20180 if test "$ac_cv_type_long_long" = yes; then
20181 # The cast to unsigned long works around a bug in the HP C Compiler
20182 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20183 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20184 # This bug is HP SR number 8606223364.
20185 if test "$cross_compiling" = yes; then
20186 # Depending upon the size, compute the lo and hi bounds.
20187 cat >conftest.
$ac_ext <<_ACEOF
20190 cat confdefs.h
>>conftest.
$ac_ext
20191 cat >>conftest.
$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20193 $ac_includes_default
20197 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20204 rm -f conftest.
$ac_objext
20205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20206 (eval $ac_compile) 2>conftest.er1
20208 grep -v '^ *+' conftest.er1
>conftest.err
20210 cat conftest.err
>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); } &&
20213 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20215 (eval $ac_try) 2>&5
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); }; } &&
20219 { ac_try
='test -s conftest.$ac_objext'
20220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20221 (eval $ac_try) 2>&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); }; }; then
20227 cat >conftest.
$ac_ext <<_ACEOF
20230 cat confdefs.h
>>conftest.
$ac_ext
20231 cat >>conftest.
$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20237 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20244 rm -f conftest.
$ac_objext
20245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20246 (eval $ac_compile) 2>conftest.er1
20248 grep -v '^ *+' conftest.er1
>conftest.err
20250 cat conftest.err
>&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); } &&
20253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; } &&
20259 { ac_try
='test -s conftest.$ac_objext'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; }; then
20265 ac_hi
=$ac_mid; break
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.
$ac_ext >&5
20270 ac_lo
=`expr $ac_mid + 1`
20271 if test $ac_lo -le $ac_mid; then
20275 ac_mid
=`expr 2 '*' $ac_mid + 1`
20277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.
$ac_ext >&5
20283 cat >conftest.
$ac_ext <<_ACEOF
20286 cat confdefs.h
>>conftest.
$ac_ext
20287 cat >>conftest.
$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20289 $ac_includes_default
20293 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20300 rm -f conftest.
$ac_objext
20301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20302 (eval $ac_compile) 2>conftest.er1
20304 grep -v '^ *+' conftest.er1
>conftest.err
20306 cat conftest.err
>&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } &&
20309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311 (eval $ac_try) 2>&5
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); }; } &&
20315 { ac_try
='test -s conftest.$ac_objext'
20316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20317 (eval $ac_try) 2>&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); }; }; then
20323 cat >conftest.
$ac_ext <<_ACEOF
20326 cat confdefs.h
>>conftest.
$ac_ext
20327 cat >>conftest.
$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20329 $ac_includes_default
20333 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20340 rm -f conftest.
$ac_objext
20341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20342 (eval $ac_compile) 2>conftest.er1
20344 grep -v '^ *+' conftest.er1
>conftest.err
20346 cat conftest.err
>&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } &&
20349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; } &&
20355 { ac_try
='test -s conftest.$ac_objext'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; }; then
20361 ac_lo
=$ac_mid; break
20363 echo "$as_me: failed program was:" >&5
20364 sed 's/^/| /' conftest.
$ac_ext >&5
20366 ac_hi
=`expr '(' $ac_mid ')' - 1`
20367 if test $ac_mid -le $ac_hi; then
20371 ac_mid
=`expr 2 '*' $ac_mid`
20373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.
$ac_ext >&5
20381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20384 # Binary search between lo and hi bounds.
20385 while test "x$ac_lo" != "x$ac_hi"; do
20386 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20387 cat >conftest.
$ac_ext <<_ACEOF
20390 cat confdefs.h
>>conftest.
$ac_ext
20391 cat >>conftest.
$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20397 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20404 rm -f conftest.
$ac_objext
20405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20406 (eval $ac_compile) 2>conftest.er1
20408 grep -v '^ *+' conftest.er1
>conftest.err
20410 cat conftest.err
>&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } &&
20413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try
='test -s conftest.$ac_objext'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; }; then
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.
$ac_ext >&5
20430 ac_lo
=`expr '(' $ac_mid ')' + 1`
20432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20435 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20436 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20437 See \`config.log' for more details." >&5
20438 echo "$as_me: error: cannot compute sizeof (long long), 77
20439 See \`config.log' for more details." >&2;}
20440 { (exit 1); exit 1; }; } ;;
20443 if test "$cross_compiling" = yes; then
20444 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20445 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20446 { (exit 1); exit 1; }; }
20448 cat >conftest.
$ac_ext <<_ACEOF
20451 cat confdefs.h
>>conftest.
$ac_ext
20452 cat >>conftest.
$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20454 $ac_includes_default
20455 long longval () { return (long) (sizeof (long long)); }
20456 unsigned long ulongval () { return (long) (sizeof (long long)); }
20458 #include <stdlib.h>
20463 FILE *f = fopen ("conftest.val", "w");
20466 if (((long) (sizeof (long long))) < 0)
20468 long i = longval ();
20469 if (i != ((long) (sizeof (long long))))
20471 fprintf (f, "%ld\n", i);
20475 unsigned long i = ulongval ();
20476 if (i != ((long) (sizeof (long long))))
20478 fprintf (f, "%lu\n", i);
20480 exit (ferror (f) || fclose (f) != 0);
20486 rm -f conftest
$ac_exeext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20488 (eval $ac_link) 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20493 (eval $ac_try) 2>&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); }; }; then
20497 ac_cv_sizeof_long_long
=`cat conftest.val`
20499 echo "$as_me: program exited with status $ac_status" >&5
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.
$ac_ext >&5
20503 ( exit $ac_status )
20504 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20505 See \`config.log' for more details." >&5
20506 echo "$as_me: error: cannot compute sizeof (long long), 77
20507 See \`config.log' for more details." >&2;}
20508 { (exit 1); exit 1; }; }
20510 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20515 ac_cv_sizeof_long_long
=0
20518 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20519 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20520 cat >>confdefs.h
<<_ACEOF
20521 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20525 if test "$ac_cv_sizeof_long_long" != "0"; then
20526 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20530 echo "$as_me:$LINENO: checking for long long" >&5
20531 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20532 if test "${ac_cv_type_long_long+set}" = set; then
20533 echo $ECHO_N "(cached) $ECHO_C" >&6
20535 cat >conftest.
$ac_ext <<_ACEOF
20538 cat confdefs.h
>>conftest.
$ac_ext
20539 cat >>conftest.
$ac_ext <<_ACEOF
20540 /* end confdefs.h. */
20541 $ac_includes_default
20545 if ((long long *) 0)
20547 if (sizeof (long long))
20553 rm -f conftest.
$ac_objext
20554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20555 (eval $ac_compile) 2>conftest.er1
20557 grep -v '^ *+' conftest.er1
>conftest.err
20559 cat conftest.err
>&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } &&
20562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564 (eval $ac_try) 2>&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); }; } &&
20568 { ac_try
='test -s conftest.$ac_objext'
20569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20570 (eval $ac_try) 2>&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; }; then
20574 ac_cv_type_long_long
=yes
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.
$ac_ext >&5
20579 ac_cv_type_long_long
=no
20581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20583 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20584 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20586 echo "$as_me:$LINENO: checking size of long long" >&5
20587 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20588 if test "${ac_cv_sizeof_long_long+set}" = set; then
20589 echo $ECHO_N "(cached) $ECHO_C" >&6
20591 if test "$ac_cv_type_long_long" = yes; then
20592 # The cast to unsigned long works around a bug in the HP C Compiler
20593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20595 # This bug is HP SR number 8606223364.
20596 if test "$cross_compiling" = yes; then
20597 # Depending upon the size, compute the lo and hi bounds.
20598 cat >conftest.
$ac_ext <<_ACEOF
20601 cat confdefs.h
>>conftest.
$ac_ext
20602 cat >>conftest.
$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 $ac_includes_default
20608 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20615 rm -f conftest.
$ac_objext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20617 (eval $ac_compile) 2>conftest.er1
20619 grep -v '^ *+' conftest.er1
>conftest.err
20621 cat conftest.err
>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try
='test -s conftest.$ac_objext'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; }; then
20638 cat >conftest.
$ac_ext <<_ACEOF
20641 cat confdefs.h
>>conftest.
$ac_ext
20642 cat >>conftest.
$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 $ac_includes_default
20648 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20655 rm -f conftest.
$ac_objext
20656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20657 (eval $ac_compile) 2>conftest.er1
20659 grep -v '^ *+' conftest.er1
>conftest.err
20661 cat conftest.err
>&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } &&
20664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20666 (eval $ac_try) 2>&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; } &&
20670 { ac_try
='test -s conftest.$ac_objext'
20671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20672 (eval $ac_try) 2>&5
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); }; }; then
20676 ac_hi
=$ac_mid; break
20678 echo "$as_me: failed program was:" >&5
20679 sed 's/^/| /' conftest.
$ac_ext >&5
20681 ac_lo
=`expr $ac_mid + 1`
20682 if test $ac_lo -le $ac_mid; then
20686 ac_mid
=`expr 2 '*' $ac_mid + 1`
20688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.
$ac_ext >&5
20694 cat >conftest.
$ac_ext <<_ACEOF
20697 cat confdefs.h
>>conftest.
$ac_ext
20698 cat >>conftest.
$ac_ext <<_ACEOF
20699 /* end confdefs.h. */
20700 $ac_includes_default
20704 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20711 rm -f conftest.
$ac_objext
20712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20713 (eval $ac_compile) 2>conftest.er1
20715 grep -v '^ *+' conftest.er1
>conftest.err
20717 cat conftest.err
>&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); } &&
20720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20722 (eval $ac_try) 2>&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); }; } &&
20726 { ac_try
='test -s conftest.$ac_objext'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; }; then
20734 cat >conftest.
$ac_ext <<_ACEOF
20737 cat confdefs.h
>>conftest.
$ac_ext
20738 cat >>conftest.
$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20740 $ac_includes_default
20744 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20751 rm -f conftest.
$ac_objext
20752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20753 (eval $ac_compile) 2>conftest.er1
20755 grep -v '^ *+' conftest.er1
>conftest.err
20757 cat conftest.err
>&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20762 (eval $ac_try) 2>&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); }; } &&
20766 { ac_try
='test -s conftest.$ac_objext'
20767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20768 (eval $ac_try) 2>&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); }; }; then
20772 ac_lo
=$ac_mid; break
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.
$ac_ext >&5
20777 ac_hi
=`expr '(' $ac_mid ')' - 1`
20778 if test $ac_mid -le $ac_hi; then
20782 ac_mid
=`expr 2 '*' $ac_mid`
20784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.
$ac_ext >&5
20792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20795 # Binary search between lo and hi bounds.
20796 while test "x$ac_lo" != "x$ac_hi"; do
20797 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20798 cat >conftest.
$ac_ext <<_ACEOF
20801 cat confdefs.h
>>conftest.
$ac_ext
20802 cat >>conftest.
$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804 $ac_includes_default
20808 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20815 rm -f conftest.
$ac_objext
20816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20817 (eval $ac_compile) 2>conftest.er1
20819 grep -v '^ *+' conftest.er1
>conftest.err
20821 cat conftest.err
>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); } &&
20824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20826 (eval $ac_try) 2>&5
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); }; } &&
20830 { ac_try
='test -s conftest.$ac_objext'
20831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20832 (eval $ac_try) 2>&5
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); }; }; then
20838 echo "$as_me: failed program was:" >&5
20839 sed 's/^/| /' conftest.
$ac_ext >&5
20841 ac_lo
=`expr '(' $ac_mid ')' + 1`
20843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20846 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20847 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20848 See \`config.log' for more details." >&5
20849 echo "$as_me: error: cannot compute sizeof (long long), 77
20850 See \`config.log' for more details." >&2;}
20851 { (exit 1); exit 1; }; } ;;
20854 if test "$cross_compiling" = yes; then
20855 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20856 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20857 { (exit 1); exit 1; }; }
20859 cat >conftest.
$ac_ext <<_ACEOF
20862 cat confdefs.h
>>conftest.
$ac_ext
20863 cat >>conftest.
$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 $ac_includes_default
20866 long longval () { return (long) (sizeof (long long)); }
20867 unsigned long ulongval () { return (long) (sizeof (long long)); }
20869 #include <stdlib.h>
20874 FILE *f = fopen ("conftest.val", "w");
20877 if (((long) (sizeof (long long))) < 0)
20879 long i = longval ();
20880 if (i != ((long) (sizeof (long long))))
20882 fprintf (f, "%ld\n", i);
20886 unsigned long i = ulongval ();
20887 if (i != ((long) (sizeof (long long))))
20889 fprintf (f, "%lu\n", i);
20891 exit (ferror (f) || fclose (f) != 0);
20897 rm -f conftest
$ac_exeext
20898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20899 (eval $ac_link) 2>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904 (eval $ac_try) 2>&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); }; }; then
20908 ac_cv_sizeof_long_long
=`cat conftest.val`
20910 echo "$as_me: program exited with status $ac_status" >&5
20911 echo "$as_me: failed program was:" >&5
20912 sed 's/^/| /' conftest.
$ac_ext >&5
20914 ( exit $ac_status )
20915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20916 See \`config.log' for more details." >&5
20917 echo "$as_me: error: cannot compute sizeof (long long), 77
20918 See \`config.log' for more details." >&2;}
20919 { (exit 1); exit 1; }; }
20921 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20926 ac_cv_sizeof_long_long
=0
20929 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20930 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20931 cat >>confdefs.h
<<_ACEOF
20932 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20938 echo "$as_me:$LINENO: checking for wchar_t" >&5
20939 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20940 if test "${ac_cv_type_wchar_t+set}" = set; then
20941 echo $ECHO_N "(cached) $ECHO_C" >&6
20943 cat >conftest.
$ac_ext <<_ACEOF
20946 cat confdefs.h
>>conftest.
$ac_ext
20947 cat >>conftest.
$ac_ext <<_ACEOF
20948 /* end confdefs.h. */
20950 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20951 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20952 # error "fake wchar_t"
20954 #ifdef HAVE_WCHAR_H
20956 # include <stddef.h>
20958 # include <wchar.h>
20960 #ifdef HAVE_STDLIB_H
20961 # include <stdlib.h>
20972 if (sizeof (wchar_t))
20978 rm -f conftest.
$ac_objext
20979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20980 (eval $ac_compile) 2>conftest.er1
20982 grep -v '^ *+' conftest.er1
>conftest.err
20984 cat conftest.err
>&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); } &&
20987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20989 (eval $ac_try) 2>&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); }; } &&
20993 { ac_try
='test -s conftest.$ac_objext'
20994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20995 (eval $ac_try) 2>&5
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); }; }; then
20999 ac_cv_type_wchar_t
=yes
21001 echo "$as_me: failed program was:" >&5
21002 sed 's/^/| /' conftest.
$ac_ext >&5
21004 ac_cv_type_wchar_t
=no
21006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21008 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21009 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21011 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21012 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21013 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21014 echo $ECHO_N "(cached) $ECHO_C" >&6
21016 if test "$ac_cv_type_wchar_t" = yes; then
21017 # The cast to unsigned long works around a bug in the HP C Compiler
21018 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21019 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21020 # This bug is HP SR number 8606223364.
21021 if test "$cross_compiling" = yes; then
21022 # Depending upon the size, compute the lo and hi bounds.
21023 cat >conftest.
$ac_ext <<_ACEOF
21026 cat confdefs.h
>>conftest.
$ac_ext
21027 cat >>conftest.
$ac_ext <<_ACEOF
21028 /* end confdefs.h. */
21030 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21031 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21032 # error "fake wchar_t"
21034 #ifdef HAVE_WCHAR_H
21036 # include <stddef.h>
21038 # include <wchar.h>
21040 #ifdef HAVE_STDLIB_H
21041 # include <stdlib.h>
21050 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21057 rm -f conftest.
$ac_objext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21059 (eval $ac_compile) 2>conftest.er1
21061 grep -v '^ *+' conftest.er1
>conftest.err
21063 cat conftest.err
>&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } &&
21066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21068 (eval $ac_try) 2>&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); }; } &&
21072 { ac_try
='test -s conftest.$ac_objext'
21073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074 (eval $ac_try) 2>&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; }; then
21080 cat >conftest.
$ac_ext <<_ACEOF
21083 cat confdefs.h
>>conftest.
$ac_ext
21084 cat >>conftest.
$ac_ext <<_ACEOF
21085 /* end confdefs.h. */
21087 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21088 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21089 # error "fake wchar_t"
21091 #ifdef HAVE_WCHAR_H
21093 # include <stddef.h>
21095 # include <wchar.h>
21097 #ifdef HAVE_STDLIB_H
21098 # include <stdlib.h>
21107 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21114 rm -f conftest.
$ac_objext
21115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21116 (eval $ac_compile) 2>conftest.er1
21118 grep -v '^ *+' conftest.er1
>conftest.err
21120 cat conftest.err
>&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } &&
21123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; } &&
21129 { ac_try
='test -s conftest.$ac_objext'
21130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21131 (eval $ac_try) 2>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; }; then
21135 ac_hi
=$ac_mid; break
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.
$ac_ext >&5
21140 ac_lo
=`expr $ac_mid + 1`
21141 if test $ac_lo -le $ac_mid; then
21145 ac_mid
=`expr 2 '*' $ac_mid + 1`
21147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.
$ac_ext >&5
21153 cat >conftest.
$ac_ext <<_ACEOF
21156 cat confdefs.h
>>conftest.
$ac_ext
21157 cat >>conftest.
$ac_ext <<_ACEOF
21158 /* end confdefs.h. */
21160 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21161 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21162 # error "fake wchar_t"
21164 #ifdef HAVE_WCHAR_H
21166 # include <stddef.h>
21168 # include <wchar.h>
21170 #ifdef HAVE_STDLIB_H
21171 # include <stdlib.h>
21180 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21187 rm -f conftest.
$ac_objext
21188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21189 (eval $ac_compile) 2>conftest.er1
21191 grep -v '^ *+' conftest.er1
>conftest.err
21193 cat conftest.err
>&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } &&
21196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; } &&
21202 { ac_try
='test -s conftest.$ac_objext'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; }; then
21210 cat >conftest.
$ac_ext <<_ACEOF
21213 cat confdefs.h
>>conftest.
$ac_ext
21214 cat >>conftest.
$ac_ext <<_ACEOF
21215 /* end confdefs.h. */
21217 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21218 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21219 # error "fake wchar_t"
21221 #ifdef HAVE_WCHAR_H
21223 # include <stddef.h>
21225 # include <wchar.h>
21227 #ifdef HAVE_STDLIB_H
21228 # include <stdlib.h>
21237 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21244 rm -f conftest.
$ac_objext
21245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21246 (eval $ac_compile) 2>conftest.er1
21248 grep -v '^ *+' conftest.er1
>conftest.err
21250 cat conftest.err
>&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } &&
21253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21255 (eval $ac_try) 2>&5
21257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21258 (exit $ac_status); }; } &&
21259 { ac_try
='test -s conftest.$ac_objext'
21260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21261 (eval $ac_try) 2>&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); }; }; then
21265 ac_lo
=$ac_mid; break
21267 echo "$as_me: failed program was:" >&5
21268 sed 's/^/| /' conftest.
$ac_ext >&5
21270 ac_hi
=`expr '(' $ac_mid ')' - 1`
21271 if test $ac_mid -le $ac_hi; then
21275 ac_mid
=`expr 2 '*' $ac_mid`
21277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.
$ac_ext >&5
21285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21288 # Binary search between lo and hi bounds.
21289 while test "x$ac_lo" != "x$ac_hi"; do
21290 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21291 cat >conftest.
$ac_ext <<_ACEOF
21294 cat confdefs.h
>>conftest.
$ac_ext
21295 cat >>conftest.
$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21298 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21299 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21300 # error "fake wchar_t"
21302 #ifdef HAVE_WCHAR_H
21304 # include <stddef.h>
21306 # include <wchar.h>
21308 #ifdef HAVE_STDLIB_H
21309 # include <stdlib.h>
21318 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21325 rm -f conftest.
$ac_objext
21326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21327 (eval $ac_compile) 2>conftest.er1
21329 grep -v '^ *+' conftest.er1
>conftest.err
21331 cat conftest.err
>&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } &&
21334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21336 (eval $ac_try) 2>&5
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); }; } &&
21340 { ac_try
='test -s conftest.$ac_objext'
21341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21342 (eval $ac_try) 2>&5
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); }; }; then
21348 echo "$as_me: failed program was:" >&5
21349 sed 's/^/| /' conftest.
$ac_ext >&5
21351 ac_lo
=`expr '(' $ac_mid ')' + 1`
21353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21356 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21357 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21358 See \`config.log' for more details." >&5
21359 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21360 See \`config.log' for more details." >&2;}
21361 { (exit 1); exit 1; }; } ;;
21364 if test "$cross_compiling" = yes; then
21365 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21366 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21367 { (exit 1); exit 1; }; }
21369 cat >conftest.
$ac_ext <<_ACEOF
21372 cat confdefs.h
>>conftest.
$ac_ext
21373 cat >>conftest.
$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21376 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21377 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21378 # error "fake wchar_t"
21380 #ifdef HAVE_WCHAR_H
21382 # include <stddef.h>
21384 # include <wchar.h>
21386 #ifdef HAVE_STDLIB_H
21387 # include <stdlib.h>
21393 long longval () { return (long) (sizeof (wchar_t)); }
21394 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21396 #include <stdlib.h>
21401 FILE *f = fopen ("conftest.val", "w");
21404 if (((long) (sizeof (wchar_t))) < 0)
21406 long i = longval ();
21407 if (i != ((long) (sizeof (wchar_t))))
21409 fprintf (f, "%ld\n", i);
21413 unsigned long i = ulongval ();
21414 if (i != ((long) (sizeof (wchar_t))))
21416 fprintf (f, "%lu\n", i);
21418 exit (ferror (f) || fclose (f) != 0);
21424 rm -f conftest
$ac_exeext
21425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21426 (eval $ac_link) 2>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; }; then
21435 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21437 echo "$as_me: program exited with status $ac_status" >&5
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.
$ac_ext >&5
21441 ( exit $ac_status )
21442 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21443 See \`config.log' for more details." >&5
21444 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21445 See \`config.log' for more details." >&2;}
21446 { (exit 1); exit 1; }; }
21448 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21453 ac_cv_sizeof_wchar_t
=0
21456 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21457 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21458 cat >>confdefs.h
<<_ACEOF
21459 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21463 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21469 echo "$as_me:$LINENO: checking for va_copy" >&5
21470 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21471 if test "${wx_cv_func_va_copy+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21475 cat >conftest.
$ac_ext <<_ACEOF
21477 #include <stdarg.h>
21478 void foo(char *f, ...)
21492 rm -f conftest.
$ac_objext conftest
$ac_exeext
21493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21494 (eval $ac_link) 2>conftest.er1
21496 grep -v '^ *+' conftest.er1
>conftest.err
21498 cat conftest.err
>&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } &&
21501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21503 (eval $ac_try) 2>&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); }; } &&
21507 { ac_try
='test -s conftest$ac_exeext'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; }; then
21513 wx_cv_func_va_copy
=yes
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.
$ac_ext >&5
21518 wx_cv_func_va_copy
=no
21521 rm -f conftest.err conftest.
$ac_objext \
21522 conftest
$ac_exeext conftest.
$ac_ext
21526 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21527 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21529 if test $wx_cv_func_va_copy = "yes"; then
21530 cat >>confdefs.h
<<\_ACEOF
21531 #define HAVE_VA_COPY 1
21535 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21536 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21537 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21538 echo $ECHO_N "(cached) $ECHO_C" >&6
21541 if test "$cross_compiling" = yes; then
21542 wx_cv_type_va_list_lvalue
=yes
21545 cat >conftest.
$ac_ext <<_ACEOF
21547 #include <stdarg.h>
21548 int foo(char *f, ...)
21553 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21561 return foo("hi", 17);
21564 rm -f conftest
$ac_exeext
21565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21566 (eval $ac_link) 2>&5
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571 (eval $ac_try) 2>&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 wx_cv_type_va_list_lvalue
=yes
21577 echo "$as_me: program exited with status $ac_status" >&5
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.
$ac_ext >&5
21581 ( exit $ac_status )
21582 wx_cv_type_va_list_lvalue
=no
21584 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21589 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21590 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21592 if test $wx_cv_type_va_list_lvalue != "yes"; then
21593 cat >>confdefs.h
<<\_ACEOF
21594 #define VA_LIST_IS_ARRAY 1
21600 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21601 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21602 if test "${wx_cv_have_variadic_macros+set}" = set; then
21603 echo $ECHO_N "(cached) $ECHO_C" >&6
21607 ac_cpp
='$CXXCPP $CPPFLAGS'
21608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21612 cat >conftest.
$ac_ext <<_ACEOF
21615 cat confdefs.h
>>conftest.
$ac_ext
21616 cat >>conftest.
$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21620 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21626 test("%s %d %p", "test", 1, 0);
21633 rm -f conftest.
$ac_objext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21635 (eval $ac_compile) 2>conftest.er1
21637 grep -v '^ *+' conftest.er1
>conftest.err
21639 cat conftest.err
>&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; } &&
21648 { ac_try
='test -s conftest.$ac_objext'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; }; then
21654 wx_cv_have_variadic_macros
=yes
21656 echo "$as_me: failed program was:" >&5
21657 sed 's/^/| /' conftest.
$ac_ext >&5
21659 wx_cv_have_variadic_macros
=no
21662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21664 ac_cpp
='$CPP $CPPFLAGS'
21665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21672 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21673 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21675 if test $wx_cv_have_variadic_macros = "yes"; then
21676 cat >>confdefs.h
<<\_ACEOF
21677 #define HAVE_VARIADIC_MACROS 1
21682 # Check whether --enable-largefile or --disable-largefile was given.
21683 if test "${enable_largefile+set}" = set; then
21684 enableval
="$enable_largefile"
21687 if test "$enable_largefile" != no
; then
21690 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21691 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21692 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21693 echo $ECHO_N "(cached) $ECHO_C" >&6
21696 cat >conftest.
$ac_ext <<_ACEOF
21699 cat confdefs.h
>>conftest.
$ac_ext
21700 cat >>conftest.
$ac_ext <<_ACEOF
21701 /* end confdefs.h. */
21702 #define _FILE_OFFSET_BITS 64
21703 #include <sys/types.h>
21708 unsigned int field: sizeof(off_t) == 8;
21715 rm -f conftest.
$ac_objext
21716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21717 (eval $ac_compile) 2>conftest.er1
21719 grep -v '^ *+' conftest.er1
>conftest.err
21721 cat conftest.err
>&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } &&
21724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21726 (eval $ac_try) 2>&5
21728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); }; } &&
21730 { ac_try
='test -s conftest.$ac_objext'
21731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21732 (eval $ac_try) 2>&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); }; }; then
21736 ac_cv_sys_file_offset_bits
=64
21738 echo "$as_me: failed program was:" >&5
21739 sed 's/^/| /' conftest.
$ac_ext >&5
21741 ac_cv_sys_file_offset_bits
=no
21743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21747 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21748 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21750 if test "$ac_cv_sys_file_offset_bits" != no
; then
21752 cat >>confdefs.h
<<_ACEOF
21753 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21758 if test "x$wx_largefile" != "xyes"; then
21760 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21761 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21762 if test "${ac_cv_sys_large_files+set}" = set; then
21763 echo $ECHO_N "(cached) $ECHO_C" >&6
21766 cat >conftest.
$ac_ext <<_ACEOF
21769 cat confdefs.h
>>conftest.
$ac_ext
21770 cat >>conftest.
$ac_ext <<_ACEOF
21771 /* end confdefs.h. */
21772 #define _LARGE_FILES 1
21773 #include <sys/types.h>
21778 unsigned int field: sizeof(off_t) == 8;
21785 rm -f conftest.
$ac_objext
21786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21787 (eval $ac_compile) 2>conftest.er1
21789 grep -v '^ *+' conftest.er1
>conftest.err
21791 cat conftest.err
>&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } &&
21794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21796 (eval $ac_try) 2>&5
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); }; } &&
21800 { ac_try
='test -s conftest.$ac_objext'
21801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21802 (eval $ac_try) 2>&5
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); }; }; then
21806 ac_cv_sys_large_files
=1
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.
$ac_ext >&5
21811 ac_cv_sys_large_files
=no
21813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21817 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21818 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21820 if test "$ac_cv_sys_large_files" != no
; then
21822 cat >>confdefs.h
<<_ACEOF
21823 #define _LARGE_FILES $ac_cv_sys_large_files
21830 echo "$as_me:$LINENO: checking if large file support is available" >&5
21831 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21832 if test "x$wx_largefile" = "xyes"; then
21833 cat >>confdefs.h
<<\_ACEOF
21834 #define HAVE_LARGEFILE_SUPPORT 1
21838 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21839 echo "${ECHO_T}$wx_largefile" >&6
21843 if test "x$wx_largefile" = "xyes"; then
21844 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21845 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21847 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21848 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21849 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21850 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21855 ac_cpp
='$CXXCPP $CPPFLAGS'
21856 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21857 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21858 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21860 cat >conftest.
$ac_ext <<_ACEOF
21863 cat confdefs.h
>>conftest.
$ac_ext
21864 cat >>conftest.
$ac_ext <<_ACEOF
21865 /* end confdefs.h. */
21871 #ifndef __STDC_EXT__
21879 rm -f conftest.
$ac_objext
21880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21881 (eval $ac_compile) 2>conftest.er1
21883 grep -v '^ *+' conftest.er1
>conftest.err
21885 cat conftest.err
>&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } &&
21888 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21890 (eval $ac_try) 2>&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); }; } &&
21894 { ac_try
='test -s conftest.$ac_objext'
21895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21896 (eval $ac_try) 2>&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); }; }; then
21900 wx_cv_STDC_EXT_required
=no
21902 echo "$as_me: failed program was:" >&5
21903 sed 's/^/| /' conftest.
$ac_ext >&5
21905 wx_cv_STDC_EXT_required
=yes
21908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21910 ac_cpp
='$CPP $CPPFLAGS'
21911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21918 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21919 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21920 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21921 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21925 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21927 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21928 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21929 if test "${ac_cv_sys_largefile_source+set}" = set; then
21930 echo $ECHO_N "(cached) $ECHO_C" >&6
21933 ac_cv_sys_largefile_source
=no
21934 cat >conftest.
$ac_ext <<_ACEOF
21937 cat confdefs.h
>>conftest.
$ac_ext
21938 cat >>conftest.
$ac_ext <<_ACEOF
21939 /* end confdefs.h. */
21949 rm -f conftest.
$ac_objext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21951 (eval $ac_compile) 2>conftest.er1
21953 grep -v '^ *+' conftest.er1
>conftest.err
21955 cat conftest.err
>&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } &&
21958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21960 (eval $ac_try) 2>&5
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); }; } &&
21964 { ac_try
='test -s conftest.$ac_objext'
21965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21966 (eval $ac_try) 2>&5
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); }; }; then
21972 echo "$as_me: failed program was:" >&5
21973 sed 's/^/| /' conftest.
$ac_ext >&5
21976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21977 cat >conftest.
$ac_ext <<_ACEOF
21980 cat confdefs.h
>>conftest.
$ac_ext
21981 cat >>conftest.
$ac_ext <<_ACEOF
21982 /* end confdefs.h. */
21983 #define _LARGEFILE_SOURCE 1
21993 rm -f conftest.
$ac_objext
21994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21995 (eval $ac_compile) 2>conftest.er1
21997 grep -v '^ *+' conftest.er1
>conftest.err
21999 cat conftest.err
>&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); } &&
22002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22004 (eval $ac_try) 2>&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; } &&
22008 { ac_try
='test -s conftest.$ac_objext'
22009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010 (eval $ac_try) 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; }; then
22014 ac_cv_sys_largefile_source
=1; break
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.
$ac_ext >&5
22020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22024 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22025 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22026 if test "$ac_cv_sys_largefile_source" != no
; then
22028 cat >>confdefs.h
<<_ACEOF
22029 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22035 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22036 # in glibc 2.1.3, but that breaks too many other things.
22037 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22038 echo "$as_me:$LINENO: checking for fseeko" >&5
22039 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22040 if test "${ac_cv_func_fseeko+set}" = set; then
22041 echo $ECHO_N "(cached) $ECHO_C" >&6
22043 cat >conftest.
$ac_ext <<_ACEOF
22046 cat confdefs.h
>>conftest.
$ac_ext
22047 cat >>conftest.
$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22053 return fseeko && fseeko (stdin, 0, 0);
22058 rm -f conftest.
$ac_objext conftest
$ac_exeext
22059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22060 (eval $ac_link) 2>conftest.er1
22062 grep -v '^ *+' conftest.er1
>conftest.err
22064 cat conftest.err
>&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } &&
22067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; } &&
22073 { ac_try
='test -s conftest$ac_exeext'
22074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22075 (eval $ac_try) 2>&5
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); }; }; then
22079 ac_cv_func_fseeko
=yes
22081 echo "$as_me: failed program was:" >&5
22082 sed 's/^/| /' conftest.
$ac_ext >&5
22084 ac_cv_func_fseeko
=no
22086 rm -f conftest.err conftest.
$ac_objext \
22087 conftest
$ac_exeext conftest.
$ac_ext
22089 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22090 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22091 if test $ac_cv_func_fseeko = yes; then
22093 cat >>confdefs.h
<<\_ACEOF
22094 #define HAVE_FSEEKO 1
22099 if test "$ac_cv_sys_largefile_source" != no
; then
22100 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22104 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22105 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22106 if test "${ac_cv_c_bigendian+set}" = set; then
22107 echo $ECHO_N "(cached) $ECHO_C" >&6
22109 ac_cv_c_bigendian
=unknown
22110 # See if sys/param.h defines the BYTE_ORDER macro.
22111 cat >conftest.
$ac_ext <<_ACEOF
22114 cat confdefs.h
>>conftest.
$ac_ext
22115 cat >>conftest.
$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117 #include <sys/types.h>
22118 #include <sys/param.h>
22123 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22124 bogus endian macros
22130 rm -f conftest.
$ac_objext
22131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22132 (eval $ac_compile) 2>conftest.er1
22134 grep -v '^ *+' conftest.er1
>conftest.err
22136 cat conftest.err
>&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } &&
22139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22141 (eval $ac_try) 2>&5
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); }; } &&
22145 { ac_try
='test -s conftest.$ac_objext'
22146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147 (eval $ac_try) 2>&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; }; then
22151 # It does; now see whether it defined to BIG_ENDIAN or not.
22152 cat >conftest.
$ac_ext <<_ACEOF
22155 cat confdefs.h
>>conftest.
$ac_ext
22156 cat >>conftest.
$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22158 #include <sys/types.h>
22159 #include <sys/param.h>
22164 #if BYTE_ORDER != BIG_ENDIAN
22171 rm -f conftest.
$ac_objext
22172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22173 (eval $ac_compile) 2>conftest.er1
22175 grep -v '^ *+' conftest.er1
>conftest.err
22177 cat conftest.err
>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); } &&
22180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22182 (eval $ac_try) 2>&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); }; } &&
22186 { ac_try
='test -s conftest.$ac_objext'
22187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22188 (eval $ac_try) 2>&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); }; }; then
22192 ac_cv_c_bigendian
=yes
22194 echo "$as_me: failed program was:" >&5
22195 sed 's/^/| /' conftest.
$ac_ext >&5
22197 ac_cv_c_bigendian
=no
22199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22201 echo "$as_me: failed program was:" >&5
22202 sed 's/^/| /' conftest.
$ac_ext >&5
22205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22206 if test $ac_cv_c_bigendian = unknown
; then
22207 if test "$cross_compiling" = yes; then
22208 ac_cv_c_bigendian
=unknown
22210 cat >conftest.
$ac_ext <<_ACEOF
22213 cat confdefs.h
>>conftest.
$ac_ext
22214 cat >>conftest.
$ac_ext <<_ACEOF
22215 /* end confdefs.h. */
22217 /* Are we little or big endian? From Harbison&Steele. */
22221 char c[sizeof (long)];
22224 exit (u.c[sizeof (long) - 1] == 1);
22227 rm -f conftest
$ac_exeext
22228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22229 (eval $ac_link) 2>&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234 (eval $ac_try) 2>&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); }; }; then
22238 ac_cv_c_bigendian
=no
22240 echo "$as_me: program exited with status $ac_status" >&5
22241 echo "$as_me: failed program was:" >&5
22242 sed 's/^/| /' conftest.
$ac_ext >&5
22244 ( exit $ac_status )
22245 ac_cv_c_bigendian
=yes
22247 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22251 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22252 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22253 if test $ac_cv_c_bigendian = unknown
; then
22254 { 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
22255 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;}
22257 if test $ac_cv_c_bigendian = yes; then
22258 cat >>confdefs.h
<<\_ACEOF
22259 #define WORDS_BIGENDIAN 1
22266 ac_cpp
='$CXXCPP $CPPFLAGS'
22267 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22268 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22269 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22270 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
22271 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
22272 if test -z "$CXXCPP"; then
22273 if test "${ac_cv_prog_CXXCPP+set}" = set; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6
22276 # Double quotes because CXXCPP needs to be expanded
22277 for CXXCPP
in "$CXX -E" "/lib/cpp"
22279 ac_preproc_ok
=false
22280 for ac_cxx_preproc_warn_flag
in '' yes
22282 # Use a header file that comes with gcc, so configuring glibc
22283 # with a fresh cross-compiler works.
22284 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22285 # <limits.h> exists even on freestanding compilers.
22286 # On the NeXT, cc -E runs the code through the compiler's parser,
22287 # not just through cpp. "Syntax error" is here to catch this case.
22288 cat >conftest.
$ac_ext <<_ACEOF
22291 cat confdefs.h
>>conftest.
$ac_ext
22292 cat >>conftest.
$ac_ext <<_ACEOF
22293 /* end confdefs.h. */
22295 # include <limits.h>
22297 # include <assert.h>
22301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22304 grep -v '^ *+' conftest.er1
>conftest.err
22306 cat conftest.err
>&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); } >/dev
/null
; then
22309 if test -s conftest.err
; then
22310 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22311 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22318 if test -z "$ac_cpp_err"; then
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.
$ac_ext >&5
22324 # Broken: fails on valid input.
22327 rm -f conftest.err conftest.
$ac_ext
22329 # OK, works on sane cases. Now check whether non-existent headers
22330 # can be detected and how.
22331 cat >conftest.
$ac_ext <<_ACEOF
22334 cat confdefs.h
>>conftest.
$ac_ext
22335 cat >>conftest.
$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 #include <ac_nonexistent.h>
22339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22340 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22342 grep -v '^ *+' conftest.er1
>conftest.err
22344 cat conftest.err
>&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } >/dev
/null
; then
22347 if test -s conftest.err
; then
22348 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22349 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22356 if test -z "$ac_cpp_err"; then
22357 # Broken: success on invalid input.
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.
$ac_ext >&5
22363 # Passes both tests.
22367 rm -f conftest.err conftest.
$ac_ext
22370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22371 rm -f conftest.err conftest.
$ac_ext
22372 if $ac_preproc_ok; then
22377 ac_cv_prog_CXXCPP
=$CXXCPP
22380 CXXCPP
=$ac_cv_prog_CXXCPP
22382 ac_cv_prog_CXXCPP
=$CXXCPP
22384 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22385 echo "${ECHO_T}$CXXCPP" >&6
22386 ac_preproc_ok
=false
22387 for ac_cxx_preproc_warn_flag
in '' yes
22389 # Use a header file that comes with gcc, so configuring glibc
22390 # with a fresh cross-compiler works.
22391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22392 # <limits.h> exists even on freestanding compilers.
22393 # On the NeXT, cc -E runs the code through the compiler's parser,
22394 # not just through cpp. "Syntax error" is here to catch this case.
22395 cat >conftest.
$ac_ext <<_ACEOF
22398 cat confdefs.h
>>conftest.
$ac_ext
22399 cat >>conftest.
$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22402 # include <limits.h>
22404 # include <assert.h>
22408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22409 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22411 grep -v '^ *+' conftest.er1
>conftest.err
22413 cat conftest.err
>&5
22414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); } >/dev
/null
; then
22416 if test -s conftest.err
; then
22417 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22418 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22425 if test -z "$ac_cpp_err"; then
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.
$ac_ext >&5
22431 # Broken: fails on valid input.
22434 rm -f conftest.err conftest.
$ac_ext
22436 # OK, works on sane cases. Now check whether non-existent headers
22437 # can be detected and how.
22438 cat >conftest.
$ac_ext <<_ACEOF
22441 cat confdefs.h
>>conftest.
$ac_ext
22442 cat >>conftest.
$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 #include <ac_nonexistent.h>
22446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22447 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22449 grep -v '^ *+' conftest.er1
>conftest.err
22451 cat conftest.err
>&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } >/dev
/null
; then
22454 if test -s conftest.err
; then
22455 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22456 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22463 if test -z "$ac_cpp_err"; then
22464 # Broken: success on invalid input.
22467 echo "$as_me: failed program was:" >&5
22468 sed 's/^/| /' conftest.
$ac_ext >&5
22470 # Passes both tests.
22474 rm -f conftest.err conftest.
$ac_ext
22477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22478 rm -f conftest.err conftest.
$ac_ext
22479 if $ac_preproc_ok; then
22482 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22483 See \`config.log' for more details." >&5
22484 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22485 See \`config.log' for more details." >&2;}
22486 { (exit 1); exit 1; }; }
22490 ac_cpp
='$CXXCPP $CPPFLAGS'
22491 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22500 ac_cpp
='$CXXCPP $CPPFLAGS'
22501 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22502 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22503 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22507 for ac_header
in iostream
22509 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22511 echo "$as_me:$LINENO: checking for $ac_header" >&5
22512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22514 echo $ECHO_N "(cached) $ECHO_C" >&6
22516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22519 # Is the header compilable?
22520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22522 cat >conftest.
$ac_ext <<_ACEOF
22525 cat confdefs.h
>>conftest.
$ac_ext
22526 cat >>conftest.
$ac_ext <<_ACEOF
22527 /* end confdefs.h. */
22528 $ac_includes_default
22529 #include <$ac_header>
22531 rm -f conftest.
$ac_objext
22532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22533 (eval $ac_compile) 2>conftest.er1
22535 grep -v '^ *+' conftest.er1
>conftest.err
22537 cat conftest.err
>&5
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); } &&
22540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542 (eval $ac_try) 2>&5
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }; } &&
22546 { ac_try
='test -s conftest.$ac_objext'
22547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22548 (eval $ac_try) 2>&5
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); }; }; then
22552 ac_header_compiler
=yes
22554 echo "$as_me: failed program was:" >&5
22555 sed 's/^/| /' conftest.
$ac_ext >&5
22557 ac_header_compiler
=no
22559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22561 echo "${ECHO_T}$ac_header_compiler" >&6
22563 # Is the header present?
22564 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22565 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22566 cat >conftest.
$ac_ext <<_ACEOF
22569 cat confdefs.h
>>conftest.
$ac_ext
22570 cat >>conftest.
$ac_ext <<_ACEOF
22571 /* end confdefs.h. */
22572 #include <$ac_header>
22574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22575 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22577 grep -v '^ *+' conftest.er1
>conftest.err
22579 cat conftest.err
>&5
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); } >/dev
/null
; then
22582 if test -s conftest.err
; then
22583 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22584 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22591 if test -z "$ac_cpp_err"; then
22592 ac_header_preproc
=yes
22594 echo "$as_me: failed program was:" >&5
22595 sed 's/^/| /' conftest.
$ac_ext >&5
22597 ac_header_preproc
=no
22599 rm -f conftest.err conftest.
$ac_ext
22600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22601 echo "${ECHO_T}$ac_header_preproc" >&6
22603 # So? What about this header?
22604 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22609 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22610 ac_header_preproc
=yes
22613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22617 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22618 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22619 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22620 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22623 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22624 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22627 ## ----------------------------------------- ##
22628 ## Report this to wx-dev@lists.wxwidgets.org ##
22629 ## ----------------------------------------- ##
22632 sed "s/^/$as_me: WARNING: /" >&2
22635 echo "$as_me:$LINENO: checking for $ac_header" >&5
22636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22638 echo $ECHO_N "(cached) $ECHO_C" >&6
22640 eval "$as_ac_Header=\$ac_header_preproc"
22642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22647 cat >>confdefs.h
<<_ACEOF
22648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22656 if test "$ac_cv_header_iostream" = "yes" ; then
22659 cat >>confdefs.h
<<\_ACEOF
22660 #define wxUSE_IOSTREAMH 1
22666 ac_cpp
='$CPP $CPPFLAGS'
22667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22674 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22675 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22676 if test "${wx_cv_cpp_bool+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22683 ac_cpp
='$CXXCPP $CPPFLAGS'
22684 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22689 cat >conftest.
$ac_ext <<_ACEOF
22692 cat confdefs.h
>>conftest.
$ac_ext
22693 cat >>conftest.
$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22709 rm -f conftest.
$ac_objext
22710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22711 (eval $ac_compile) 2>conftest.er1
22713 grep -v '^ *+' conftest.er1
>conftest.err
22715 cat conftest.err
>&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); } &&
22718 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22720 (eval $ac_try) 2>&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); }; } &&
22724 { ac_try
='test -s conftest.$ac_objext'
22725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726 (eval $ac_try) 2>&5
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); }; }; then
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.
$ac_ext >&5
22742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22745 ac_cpp
='$CPP $CPPFLAGS'
22746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22752 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22753 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22755 if test "$wx_cv_cpp_bool" = "yes"; then
22756 cat >>confdefs.h
<<\_ACEOF
22757 #define HAVE_BOOL 1
22764 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22765 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22766 if test "${wx_cv_explicit+set}" = set; then
22767 echo $ECHO_N "(cached) $ECHO_C" >&6
22773 ac_cpp
='$CXXCPP $CPPFLAGS'
22774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22779 cat >conftest.
$ac_ext <<_ACEOF
22782 cat confdefs.h
>>conftest.
$ac_ext
22783 cat >>conftest.
$ac_ext <<_ACEOF
22784 /* end confdefs.h. */
22786 class Foo { public: explicit Foo(int) {} };
22798 rm -f conftest.
$ac_objext
22799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22800 (eval $ac_compile) 2>conftest.er1
22802 grep -v '^ *+' conftest.er1
>conftest.err
22804 cat conftest.err
>&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } &&
22807 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22809 (eval $ac_try) 2>&5
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); }; } &&
22813 { ac_try
='test -s conftest.$ac_objext'
22814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22815 (eval $ac_try) 2>&5
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); }; }; then
22820 cat >conftest.
$ac_ext <<_ACEOF
22823 cat confdefs.h
>>conftest.
$ac_ext
22824 cat >>conftest.
$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22827 class Foo { public: explicit Foo(int) {} };
22828 static void TakeFoo(const Foo& foo) { }
22841 rm -f conftest.
$ac_objext
22842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22843 (eval $ac_compile) 2>conftest.er1
22845 grep -v '^ *+' conftest.er1
>conftest.err
22847 cat conftest.err
>&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); } &&
22850 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22852 (eval $ac_try) 2>&5
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); }; } &&
22856 { ac_try
='test -s conftest.$ac_objext'
22857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858 (eval $ac_try) 2>&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; }; then
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.
$ac_ext >&5
22870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.
$ac_ext >&5
22879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22882 ac_cpp
='$CPP $CPPFLAGS'
22883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22889 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22890 echo "${ECHO_T}$wx_cv_explicit" >&6
22892 if test "$wx_cv_explicit" = "yes"; then
22893 cat >>confdefs.h
<<\_ACEOF
22894 #define HAVE_EXPLICIT 1
22900 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22901 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22902 if test "${ac_cv_cxx_const_cast+set}" = set; then
22903 echo $ECHO_N "(cached) $ECHO_C" >&6
22908 ac_cpp
='$CXXCPP $CPPFLAGS'
22909 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22913 cat >conftest.
$ac_ext <<_ACEOF
22916 cat confdefs.h
>>conftest.
$ac_ext
22917 cat >>conftest.
$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22923 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22928 rm -f conftest.
$ac_objext
22929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22930 (eval $ac_compile) 2>conftest.er1
22932 grep -v '^ *+' conftest.er1
>conftest.err
22934 cat conftest.err
>&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } &&
22937 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22939 (eval $ac_try) 2>&5
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; } &&
22943 { ac_try
='test -s conftest.$ac_objext'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; }; then
22949 ac_cv_cxx_const_cast
=yes
22951 echo "$as_me: failed program was:" >&5
22952 sed 's/^/| /' conftest.
$ac_ext >&5
22954 ac_cv_cxx_const_cast
=no
22956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22958 ac_cpp
='$CPP $CPPFLAGS'
22959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22965 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22966 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22967 if test "$ac_cv_cxx_const_cast" = yes; then
22969 cat >>confdefs.h
<<\_ACEOF
22970 #define HAVE_CONST_CAST
22975 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22976 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22977 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22978 echo $ECHO_N "(cached) $ECHO_C" >&6
22983 ac_cpp
='$CXXCPP $CPPFLAGS'
22984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22988 cat >conftest.
$ac_ext <<_ACEOF
22991 cat confdefs.h
>>conftest.
$ac_ext
22992 cat >>conftest.
$ac_ext <<_ACEOF
22993 /* end confdefs.h. */
22994 #include <typeinfo>
22995 class Base { public : Base () {} virtual void f () = 0;};
22996 class Derived : public Base { public : Derived () {} virtual void f () {} };
22997 class Unrelated { public : Unrelated () {} };
22998 int g (Unrelated&) { return 0; }
23003 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23008 rm -f conftest.
$ac_objext
23009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23010 (eval $ac_compile) 2>conftest.er1
23012 grep -v '^ *+' conftest.er1
>conftest.err
23014 cat conftest.err
>&5
23015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016 (exit $ac_status); } &&
23017 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23019 (eval $ac_try) 2>&5
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); }; } &&
23023 { ac_try
='test -s conftest.$ac_objext'
23024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23025 (eval $ac_try) 2>&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); }; }; then
23029 ac_cv_cxx_reinterpret_cast
=yes
23031 echo "$as_me: failed program was:" >&5
23032 sed 's/^/| /' conftest.
$ac_ext >&5
23034 ac_cv_cxx_reinterpret_cast
=no
23036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23038 ac_cpp
='$CPP $CPPFLAGS'
23039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23045 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23046 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23047 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23049 cat >>confdefs.h
<<\_ACEOF
23050 #define HAVE_REINTERPRET_CAST
23055 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23056 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23057 if test "${ac_cv_cxx_static_cast+set}" = set; then
23058 echo $ECHO_N "(cached) $ECHO_C" >&6
23063 ac_cpp
='$CXXCPP $CPPFLAGS'
23064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23068 cat >conftest.
$ac_ext <<_ACEOF
23071 cat confdefs.h
>>conftest.
$ac_ext
23072 cat >>conftest.
$ac_ext <<_ACEOF
23073 /* end confdefs.h. */
23074 #include <typeinfo>
23075 class Base { public : Base () {} virtual void f () = 0; };
23076 class Derived : public Base { public : Derived () {} virtual void f () {} };
23077 int g (Derived&) { return 0; }
23082 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23087 rm -f conftest.
$ac_objext
23088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23089 (eval $ac_compile) 2>conftest.er1
23091 grep -v '^ *+' conftest.er1
>conftest.err
23093 cat conftest.err
>&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); } &&
23096 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098 (eval $ac_try) 2>&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; } &&
23102 { ac_try
='test -s conftest.$ac_objext'
23103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23104 (eval $ac_try) 2>&5
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); }; }; then
23108 ac_cv_cxx_static_cast
=yes
23110 echo "$as_me: failed program was:" >&5
23111 sed 's/^/| /' conftest.
$ac_ext >&5
23113 ac_cv_cxx_static_cast
=no
23115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23117 ac_cpp
='$CPP $CPPFLAGS'
23118 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23124 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23125 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23126 if test "$ac_cv_cxx_static_cast" = yes; then
23128 cat >>confdefs.h
<<\_ACEOF
23129 #define HAVE_STATIC_CAST
23135 if test "x$SUNCXX" = xyes
; then
23136 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23139 if test "x$SUNCC" = xyes
; then
23140 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23143 if test "x$SGICC" = "xyes"; then
23144 CFLAGS
="-woff 3970 $CFLAGS"
23146 if test "x$SGICXX" = "xyes"; then
23147 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23150 if test "x$HPCC" = "xyes"; then
23151 CFLAGS
="+W 2011,2450 $CFLAGS"
23153 if test "x$HPCXX" = "xyes"; then
23154 CXXFLAGS
="+W 2340 $CXXFLAGS"
23157 if test "x$COMPAQCXX" = "xyes"; then
23158 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23162 ac_cpp
='$CXXCPP $CPPFLAGS'
23163 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23168 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23169 if test "$wxUSE_UNICODE" = "yes"; then
23170 std_string
="std::wstring"
23171 char_type
="wchar_t"
23173 std_string
="std::string"
23177 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23178 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23179 if test "${wx_cv_class_stdstring+set}" = set; then
23180 echo $ECHO_N "(cached) $ECHO_C" >&6
23183 cat >conftest.
$ac_ext <<_ACEOF
23186 cat confdefs.h
>>conftest.
$ac_ext
23187 cat >>conftest.
$ac_ext <<_ACEOF
23188 /* end confdefs.h. */
23198 rm -f conftest.
$ac_objext
23199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23200 (eval $ac_compile) 2>conftest.er1
23202 grep -v '^ *+' conftest.er1
>conftest.err
23204 cat conftest.err
>&5
23205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23206 (exit $ac_status); } &&
23207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23209 (eval $ac_try) 2>&5
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); }; } &&
23213 { ac_try
='test -s conftest.$ac_objext'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; }; then
23219 wx_cv_class_stdstring
=yes
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.
$ac_ext >&5
23224 wx_cv_class_stdstring
=no
23227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23231 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23232 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
23234 if test "$wx_cv_class_stdstring" = yes; then
23235 if test "$wxUSE_UNICODE" = "yes"; then
23236 cat >>confdefs.h
<<\_ACEOF
23237 #define HAVE_STD_WSTRING 1
23242 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23243 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23244 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23245 echo $ECHO_N "(cached) $ECHO_C" >&6
23248 cat >conftest.
$ac_ext <<_ACEOF
23251 cat confdefs.h
>>conftest.
$ac_ext
23252 cat >>conftest.
$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23255 #ifdef HAVE_WCHAR_H
23257 # include <stddef.h>
23259 # include <wchar.h>
23261 #ifdef HAVE_STDLIB_H
23262 # include <stdlib.h>
23270 std::basic_string<$char_type> foo;
23271 const $char_type* dummy = foo.c_str();
23276 rm -f conftest.
$ac_objext
23277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23278 (eval $ac_compile) 2>conftest.er1
23280 grep -v '^ *+' conftest.er1
>conftest.err
23282 cat conftest.err
>&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } &&
23285 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23287 (eval $ac_try) 2>&5
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); }; } &&
23291 { ac_try
='test -s conftest.$ac_objext'
23292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23293 (eval $ac_try) 2>&5
23295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); }; }; then
23297 wx_cv_class_stdbasicstring
=yes
23299 echo "$as_me: failed program was:" >&5
23300 sed 's/^/| /' conftest.
$ac_ext >&5
23302 wx_cv_class_stdbasicstring
=no
23305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23309 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23310 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
23312 if test "$wx_cv_class_stdbasicstring" != yes; then
23313 if test "$wxUSE_STL" = "yes"; then
23314 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23315 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23316 { (exit 1); exit 1; }; }
23317 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23318 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23319 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23320 { (exit 1); exit 1; }; }
23322 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23323 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23324 wxUSE_STD_STRING
=no
23330 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23331 echo "$as_me:$LINENO: checking for std::istream" >&5
23332 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23333 if test "${ac_cv_type_std__istream+set}" = set; then
23334 echo $ECHO_N "(cached) $ECHO_C" >&6
23336 cat >conftest.
$ac_ext <<_ACEOF
23339 cat confdefs.h
>>conftest.
$ac_ext
23340 cat >>conftest.
$ac_ext <<_ACEOF
23341 /* end confdefs.h. */
23342 #include <iostream>
23347 if ((std::istream *) 0)
23349 if (sizeof (std::istream))
23355 rm -f conftest.
$ac_objext
23356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23357 (eval $ac_compile) 2>conftest.er1
23359 grep -v '^ *+' conftest.er1
>conftest.err
23361 cat conftest.err
>&5
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); } &&
23364 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23366 (eval $ac_try) 2>&5
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); }; } &&
23370 { ac_try
='test -s conftest.$ac_objext'
23371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23372 (eval $ac_try) 2>&5
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; }; then
23376 ac_cv_type_std__istream
=yes
23378 echo "$as_me: failed program was:" >&5
23379 sed 's/^/| /' conftest.
$ac_ext >&5
23381 ac_cv_type_std__istream
=no
23383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23385 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23386 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23387 if test $ac_cv_type_std__istream = yes; then
23389 cat >>confdefs.h
<<_ACEOF
23390 #define HAVE_STD__ISTREAM 1
23395 wxUSE_STD_IOSTREAM
=no
23397 echo "$as_me:$LINENO: checking for std::ostream" >&5
23398 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23399 if test "${ac_cv_type_std__ostream+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23402 cat >conftest.
$ac_ext <<_ACEOF
23405 cat confdefs.h
>>conftest.
$ac_ext
23406 cat >>conftest.
$ac_ext <<_ACEOF
23407 /* end confdefs.h. */
23408 #include <iostream>
23413 if ((std::ostream *) 0)
23415 if (sizeof (std::ostream))
23421 rm -f conftest.
$ac_objext
23422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23423 (eval $ac_compile) 2>conftest.er1
23425 grep -v '^ *+' conftest.er1
>conftest.err
23427 cat conftest.err
>&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); } &&
23430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; } &&
23436 { ac_try
='test -s conftest.$ac_objext'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; }; then
23442 ac_cv_type_std__ostream
=yes
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.
$ac_ext >&5
23447 ac_cv_type_std__ostream
=no
23449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23451 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23452 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23453 if test $ac_cv_type_std__ostream = yes; then
23455 cat >>confdefs.h
<<_ACEOF
23456 #define HAVE_STD__OSTREAM 1
23461 wxUSE_STD_IOSTREAM
=no
23465 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23466 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23467 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23468 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23469 { (exit 1); exit 1; }; }
23471 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23472 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23477 if test "$wxUSE_STL" = "yes"; then
23478 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23479 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23480 if test "${wx_cv_lib_stl+set}" = set; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23483 cat >conftest.
$ac_ext <<_ACEOF
23486 cat confdefs.h
>>conftest.
$ac_ext
23487 cat >>conftest.
$ac_ext <<_ACEOF
23488 /* end confdefs.h. */
23490 #include <functional>
23491 #include <algorithm>
23497 std::vector<int> moo;
23498 std::list<int> foo;
23499 std::vector<int>::iterator it =
23500 std::find_if(moo.begin(), moo.end(),
23501 std::bind2nd(std::less<int>(), 3));
23506 rm -f conftest.
$ac_objext
23507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23508 (eval $ac_compile) 2>conftest.er1
23510 grep -v '^ *+' conftest.er1
>conftest.err
23512 cat conftest.err
>&5
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); } &&
23515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23517 (eval $ac_try) 2>&5
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); }; } &&
23521 { ac_try
='test -s conftest.$ac_objext'
23522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23523 (eval $ac_try) 2>&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); }; }; then
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.
$ac_ext >&5
23535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23538 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23539 echo "${ECHO_T}$wx_cv_lib_stl" >&6
23541 if test "$wx_cv_lib_stl" != yes; then
23542 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23543 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23544 { (exit 1); exit 1; }; }
23547 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23548 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23549 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23550 echo $ECHO_N "(cached) $ECHO_C" >&6
23552 cat >conftest.
$ac_ext <<_ACEOF
23555 cat confdefs.h
>>conftest.
$ac_ext
23556 cat >>conftest.
$ac_ext <<_ACEOF
23557 /* end confdefs.h. */
23562 std::string foo, bar;
23564 foo.compare(1, 1, bar);
23565 foo.compare(1, 1, bar, 1, 1);
23567 foo.compare(1, 1, "");
23568 foo.compare(1, 1, "", 2);
23573 rm -f conftest.
$ac_objext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23575 (eval $ac_compile) 2>conftest.er1
23577 grep -v '^ *+' conftest.er1
>conftest.err
23579 cat conftest.err
>&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } &&
23582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23584 (eval $ac_try) 2>&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; } &&
23588 { ac_try
='test -s conftest.$ac_objext'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; }; then
23594 wx_cv_func_stdstring_compare
=yes
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.
$ac_ext >&5
23599 wx_cv_func_stdstring_compare
=no
23602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23605 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23606 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
23608 if test "$wx_cv_func_stdstring_compare" = yes; then
23609 cat >>confdefs.h
<<\_ACEOF
23610 #define HAVE_STD_STRING_COMPARE 1
23615 if test "${ac_cv_header_hash_map+set}" = set; then
23616 echo "$as_me:$LINENO: checking for hash_map" >&5
23617 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23618 if test "${ac_cv_header_hash_map+set}" = set; then
23619 echo $ECHO_N "(cached) $ECHO_C" >&6
23621 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23622 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23624 # Is the header compilable?
23625 echo "$as_me:$LINENO: checking hash_map usability" >&5
23626 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23627 cat >conftest.
$ac_ext <<_ACEOF
23630 cat confdefs.h
>>conftest.
$ac_ext
23631 cat >>conftest.
$ac_ext <<_ACEOF
23632 /* end confdefs.h. */
23633 $ac_includes_default
23634 #include <hash_map>
23636 rm -f conftest.
$ac_objext
23637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23638 (eval $ac_compile) 2>conftest.er1
23640 grep -v '^ *+' conftest.er1
>conftest.err
23642 cat conftest.err
>&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); } &&
23645 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23647 (eval $ac_try) 2>&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); }; } &&
23651 { ac_try
='test -s conftest.$ac_objext'
23652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23653 (eval $ac_try) 2>&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); }; }; then
23657 ac_header_compiler
=yes
23659 echo "$as_me: failed program was:" >&5
23660 sed 's/^/| /' conftest.
$ac_ext >&5
23662 ac_header_compiler
=no
23664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23666 echo "${ECHO_T}$ac_header_compiler" >&6
23668 # Is the header present?
23669 echo "$as_me:$LINENO: checking hash_map presence" >&5
23670 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23671 cat >conftest.
$ac_ext <<_ACEOF
23674 cat confdefs.h
>>conftest.
$ac_ext
23675 cat >>conftest.
$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23677 #include <hash_map>
23679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23680 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23682 grep -v '^ *+' conftest.er1
>conftest.err
23684 cat conftest.err
>&5
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); } >/dev
/null
; then
23687 if test -s conftest.err
; then
23688 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23689 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23696 if test -z "$ac_cpp_err"; then
23697 ac_header_preproc
=yes
23699 echo "$as_me: failed program was:" >&5
23700 sed 's/^/| /' conftest.
$ac_ext >&5
23702 ac_header_preproc
=no
23704 rm -f conftest.err conftest.
$ac_ext
23705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23706 echo "${ECHO_T}$ac_header_preproc" >&6
23708 # So? What about this header?
23709 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23711 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23712 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23713 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23714 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23715 ac_header_preproc
=yes
23718 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23719 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23720 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23721 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23722 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23723 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23724 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23725 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23726 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23727 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23728 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23729 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23732 ## ----------------------------------------- ##
23733 ## Report this to wx-dev@lists.wxwidgets.org ##
23734 ## ----------------------------------------- ##
23737 sed "s/^/$as_me: WARNING: /" >&2
23740 echo "$as_me:$LINENO: checking for hash_map" >&5
23741 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23742 if test "${ac_cv_header_hash_map+set}" = set; then
23743 echo $ECHO_N "(cached) $ECHO_C" >&6
23745 ac_cv_header_hash_map
=$ac_header_preproc
23747 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23748 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23751 if test $ac_cv_header_hash_map = yes; then
23752 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23753 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23754 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 cat >conftest.
$ac_ext <<_ACEOF
23760 cat confdefs.h
>>conftest.
$ac_ext
23761 cat >>conftest.
$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23763 #include <hash_map>
23764 #include <hash_set>
23768 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23769 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23774 rm -f conftest.
$ac_objext
23775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23776 (eval $ac_compile) 2>conftest.er1
23778 grep -v '^ *+' conftest.er1
>conftest.err
23780 cat conftest.err
>&5
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); } &&
23783 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23785 (eval $ac_try) 2>&5
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); }; } &&
23789 { ac_try
='test -s conftest.$ac_objext'
23790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23791 (eval $ac_try) 2>&5
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); }; }; then
23795 wx_cv_class_stdhashmapset
=yes
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.
$ac_ext >&5
23800 wx_cv_class_stdhashmapset
=no
23802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23806 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23807 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23813 if test "$wx_cv_class_stdhashmapset" = yes; then
23814 cat >>confdefs.h
<<\_ACEOF
23815 #define HAVE_HASH_MAP 1
23818 cat >>confdefs.h
<<\_ACEOF
23819 #define HAVE_STD_HASH_MAP 1
23824 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23825 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23826 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23827 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23828 echo $ECHO_N "(cached) $ECHO_C" >&6
23830 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23831 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23833 # Is the header compilable?
23834 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23835 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23836 cat >conftest.
$ac_ext <<_ACEOF
23839 cat confdefs.h
>>conftest.
$ac_ext
23840 cat >>conftest.
$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 $ac_includes_default
23843 #include <ext/hash_map>
23845 rm -f conftest.
$ac_objext
23846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23847 (eval $ac_compile) 2>conftest.er1
23849 grep -v '^ *+' conftest.er1
>conftest.err
23851 cat conftest.err
>&5
23852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23853 (exit $ac_status); } &&
23854 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23856 (eval $ac_try) 2>&5
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); }; } &&
23860 { ac_try
='test -s conftest.$ac_objext'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; }; then
23866 ac_header_compiler
=yes
23868 echo "$as_me: failed program was:" >&5
23869 sed 's/^/| /' conftest.
$ac_ext >&5
23871 ac_header_compiler
=no
23873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23875 echo "${ECHO_T}$ac_header_compiler" >&6
23877 # Is the header present?
23878 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23879 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23880 cat >conftest.
$ac_ext <<_ACEOF
23883 cat confdefs.h
>>conftest.
$ac_ext
23884 cat >>conftest.
$ac_ext <<_ACEOF
23885 /* end confdefs.h. */
23886 #include <ext/hash_map>
23888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23889 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23891 grep -v '^ *+' conftest.er1
>conftest.err
23893 cat conftest.err
>&5
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); } >/dev
/null
; then
23896 if test -s conftest.err
; then
23897 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23898 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23905 if test -z "$ac_cpp_err"; then
23906 ac_header_preproc
=yes
23908 echo "$as_me: failed program was:" >&5
23909 sed 's/^/| /' conftest.
$ac_ext >&5
23911 ac_header_preproc
=no
23913 rm -f conftest.err conftest.
$ac_ext
23914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23915 echo "${ECHO_T}$ac_header_preproc" >&6
23917 # So? What about this header?
23918 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23920 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23921 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23922 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23923 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23924 ac_header_preproc
=yes
23927 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23928 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23929 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23930 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23931 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23932 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23933 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23934 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23935 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23936 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23937 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23938 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23941 ## ----------------------------------------- ##
23942 ## Report this to wx-dev@lists.wxwidgets.org ##
23943 ## ----------------------------------------- ##
23946 sed "s/^/$as_me: WARNING: /" >&2
23949 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23950 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23951 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23952 echo $ECHO_N "(cached) $ECHO_C" >&6
23954 ac_cv_header_ext_hash_map
=$ac_header_preproc
23956 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23957 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23960 if test $ac_cv_header_ext_hash_map = yes; then
23961 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23962 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
23963 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23964 echo $ECHO_N "(cached) $ECHO_C" >&6
23966 cat >conftest.
$ac_ext <<_ACEOF
23969 cat confdefs.h
>>conftest.
$ac_ext
23970 cat >>conftest.
$ac_ext <<_ACEOF
23971 /* end confdefs.h. */
23972 #include <ext/hash_map>
23973 #include <ext/hash_set>
23977 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23978 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23983 rm -f conftest.
$ac_objext
23984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23985 (eval $ac_compile) 2>conftest.er1
23987 grep -v '^ *+' conftest.er1
>conftest.err
23989 cat conftest.err
>&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); } &&
23992 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23994 (eval $ac_try) 2>&5
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); }; } &&
23998 { ac_try
='test -s conftest.$ac_objext'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; }; then
24004 wx_cv_class_gnuhashmapset
=yes
24006 echo "$as_me: failed program was:" >&5
24007 sed 's/^/| /' conftest.
$ac_ext >&5
24009 wx_cv_class_gnuhashmapset
=no
24011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24015 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24016 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
24022 if test "$wx_cv_class_gnuhashmapset" = yes; then
24023 cat >>confdefs.h
<<\_ACEOF
24024 #define HAVE_EXT_HASH_MAP 1
24027 cat >>confdefs.h
<<\_ACEOF
24028 #define HAVE_GNU_CXX_HASH_MAP 1
24035 ac_cpp
='$CPP $CPPFLAGS'
24036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24043 /usr/local/include \
24045 /usr/Motif-2.1/include \
24046 /usr/Motif-1.2/include \
24047 /usr/include/Motif1.2 \
24050 /usr/openwin/include \
24054 /usr/X11R6/include \
24055 /usr/X11R6.4/include \
24056 /usr/X11R5/include \
24057 /usr/X11R4/include \
24059 /usr/include/X11R6 \
24060 /usr/include/X11R5 \
24061 /usr/include/X11R4 \
24063 /usr/local/X11R6/include \
24064 /usr/local/X11R5/include \
24065 /usr/local/X11R4/include \
24067 /usr/local/include/X11R6 \
24068 /usr/local/include/X11R5 \
24069 /usr/local/include/X11R4 \
24073 /usr/local/X11/include \
24074 /usr/local/include/X11 \
24076 /usr/XFree86/include/X11 \
24079 /usr/openwin/share/include"
24081 echo "$as_me:$LINENO: checking for libraries directory" >&5
24082 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24086 if test "${wx_cv_std_libpath+set}" = set; then
24087 echo $ECHO_N "(cached) $ECHO_C" >&6
24090 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24091 for e
in a so sl dylib dll.a
; do
24093 if test -f $libc; then
24096 cat >conftest.
$ac_ext <<_ACEOF
24097 int main() { return 0; }
24099 rm -f conftest.
$ac_objext conftest
$ac_exeext
24100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24101 (eval $ac_link) 2>conftest.er1
24103 grep -v '^ *+' conftest.er1
>conftest.err
24105 cat conftest.err
>&5
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); } &&
24108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24110 (eval $ac_try) 2>&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; } &&
24114 { ac_try
='test -s conftest$ac_exeext'
24115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24116 (eval $ac_try) 2>&5
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); }; }; then
24120 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24122 echo "$as_me: failed program was:" >&5
24123 sed 's/^/| /' conftest.
$ac_ext >&5
24126 rm -f conftest.err conftest.
$ac_objext \
24127 conftest
$ac_exeext conftest.
$ac_ext
24129 if test "x$wx_cv_std_libpath" != "x"; then
24135 if test "x$wx_cv_std_libpath" = "x"; then
24136 wx_cv_std_libpath
="lib"
24145 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24146 wx_cv_std_libpath
="lib/64"
24148 wx_cv_std_libpath
="lib"
24153 if test "$ac_cv_sizeof_void_p" = 8 -a \
24154 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24155 wx_cv_std_libpath
="lib64"
24157 wx_cv_std_libpath
="lib"
24162 wx_cv_std_libpath
="lib";
24166 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24167 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24169 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24171 if test "$build" != "$host" -a "$GCC" = yes; then
24172 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24173 cross_root
=`dirname $cross_root`
24174 cross_root
=`dirname $cross_root`
24176 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24177 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24178 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24180 if test -z "$PKG_CONFIG_PATH"; then
24181 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24182 export PKG_CONFIG_PATH
24185 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24188 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24190 if test -f "$ac_dir/X11/Intrinsic.h"; then
24191 ac_find_includes
=$ac_dir
24196 x_includes
=$ac_find_includes
24198 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24201 for ac_dir
in $SEARCH_LIB;
24203 for ac_extension
in a so sl dylib dll.a
; do
24204 if test -f "$ac_dir/libXt.$ac_extension"; then
24205 ac_find_libraries
=$ac_dir
24211 x_libraries
=$ac_find_libraries
24217 cat >confcache
<<\_ACEOF
24218 # This file is a shell script that caches the results of configure
24219 # tests run on this system so they can be shared between configure
24220 # scripts and configure runs, see configure's option --config-cache.
24221 # It is not useful on other systems. If it contains results you don't
24222 # want to keep, you may remove or edit it.
24224 # config.status only pays attention to the cache file if you give it
24225 # the --recheck option to rerun configure.
24227 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24228 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24229 # following values.
24233 # The following way of writing the cache mishandles newlines in values,
24234 # but we know of no workaround that is simple, portable, and efficient.
24235 # So, don't put newlines in cache variables' values.
24236 # Ultrix sh set writes to stderr and can't be redirected directly,
24237 # and sets the high bit in the cache file unless we assign to the vars.
24240 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24242 # `set' does not quote correctly, so add quotes (double-quote
24243 # substitution turns \\\\ into \\, and sed turns \\ into \).
24246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24249 # `set' quotes correctly as required by POSIX, so do not add quotes.
24251 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24258 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24260 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24262 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24263 if test -w $cache_file; then
24264 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24265 cat confcache
>$cache_file
24267 echo "not updating unwritable cache $cache_file"
24272 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24273 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24274 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24275 if test "${wx_cv_lib_glibc21+set}" = set; then
24276 echo $ECHO_N "(cached) $ECHO_C" >&6
24279 cat >conftest.
$ac_ext <<_ACEOF
24282 cat confdefs.h
>>conftest.
$ac_ext
24283 cat >>conftest.
$ac_ext <<_ACEOF
24284 /* end confdefs.h. */
24285 #include <features.h>
24290 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24298 rm -f conftest.
$ac_objext
24299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24300 (eval $ac_compile) 2>conftest.er1
24302 grep -v '^ *+' conftest.er1
>conftest.err
24304 cat conftest.err
>&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } &&
24307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24309 (eval $ac_try) 2>&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); }; } &&
24313 { ac_try
='test -s conftest.$ac_objext'
24314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315 (eval $ac_try) 2>&5
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); }; }; then
24320 wx_cv_lib_glibc21
=yes
24323 echo "$as_me: failed program was:" >&5
24324 sed 's/^/| /' conftest.
$ac_ext >&5
24327 wx_cv_lib_glibc21
=no
24331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24334 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24335 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24336 if test "$wx_cv_lib_glibc21" = "yes"; then
24337 cat >>confdefs.h
<<\_ACEOF
24338 #define wxHAVE_GLIBC2 1
24344 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24345 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24346 cat >>confdefs.h
<<\_ACEOF
24347 #define _GNU_SOURCE 1
24358 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24359 echo "$as_me:$LINENO: checking for $ac_func" >&5
24360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24361 if eval "test \"\${$as_ac_var+set}\" = set"; then
24362 echo $ECHO_N "(cached) $ECHO_C" >&6
24364 cat >conftest.
$ac_ext <<_ACEOF
24367 cat confdefs.h
>>conftest.
$ac_ext
24368 cat >>conftest.
$ac_ext <<_ACEOF
24369 /* end confdefs.h. */
24370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24372 #define $ac_func innocuous_$ac_func
24374 /* System header to define __stub macros and hopefully few prototypes,
24375 which can conflict with char $ac_func (); below.
24376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24377 <limits.h> exists even on freestanding compilers. */
24380 # include <limits.h>
24382 # include <assert.h>
24387 /* Override any gcc2 internal prototype to avoid an error. */
24392 /* We use char because int might match the return type of a gcc2
24393 builtin and then its argument prototype would still apply. */
24395 /* The GNU C library defines this for functions which it implements
24396 to always fail with ENOSYS. Some functions are actually named
24397 something starting with __ and the normal name is an alias. */
24398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24401 char (*f) () = $ac_func;
24410 return f != $ac_func;
24415 rm -f conftest.
$ac_objext conftest
$ac_exeext
24416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24417 (eval $ac_link) 2>conftest.er1
24419 grep -v '^ *+' conftest.er1
>conftest.err
24421 cat conftest.err
>&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } &&
24424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24426 (eval $ac_try) 2>&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); }; } &&
24430 { ac_try
='test -s conftest$ac_exeext'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; }; then
24436 eval "$as_ac_var=yes"
24438 echo "$as_me: failed program was:" >&5
24439 sed 's/^/| /' conftest.
$ac_ext >&5
24441 eval "$as_ac_var=no"
24443 rm -f conftest.err conftest.
$ac_objext \
24444 conftest
$ac_exeext conftest.
$ac_ext
24446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24448 if test `eval echo '${'$as_ac_var'}'` = yes; then
24449 cat >>confdefs.h
<<_ACEOF
24450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24457 for ac_func
in floor
24459 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24460 echo "$as_me:$LINENO: checking for $ac_func" >&5
24461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24462 if eval "test \"\${$as_ac_var+set}\" = set"; then
24463 echo $ECHO_N "(cached) $ECHO_C" >&6
24465 cat >conftest.
$ac_ext <<_ACEOF
24468 cat confdefs.h
>>conftest.
$ac_ext
24469 cat >>conftest.
$ac_ext <<_ACEOF
24470 /* end confdefs.h. */
24471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24473 #define $ac_func innocuous_$ac_func
24475 /* System header to define __stub macros and hopefully few prototypes,
24476 which can conflict with char $ac_func (); below.
24477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24478 <limits.h> exists even on freestanding compilers. */
24481 # include <limits.h>
24483 # include <assert.h>
24488 /* Override any gcc2 internal prototype to avoid an error. */
24493 /* We use char because int might match the return type of a gcc2
24494 builtin and then its argument prototype would still apply. */
24496 /* The GNU C library defines this for functions which it implements
24497 to always fail with ENOSYS. Some functions are actually named
24498 something starting with __ and the normal name is an alias. */
24499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24502 char (*f) () = $ac_func;
24511 return f != $ac_func;
24516 rm -f conftest.
$ac_objext conftest
$ac_exeext
24517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24518 (eval $ac_link) 2>conftest.er1
24520 grep -v '^ *+' conftest.er1
>conftest.err
24522 cat conftest.err
>&5
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); } &&
24525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24527 (eval $ac_try) 2>&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); }; } &&
24531 { ac_try
='test -s conftest$ac_exeext'
24532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24533 (eval $ac_try) 2>&5
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536 (exit $ac_status); }; }; then
24537 eval "$as_ac_var=yes"
24539 echo "$as_me: failed program was:" >&5
24540 sed 's/^/| /' conftest.
$ac_ext >&5
24542 eval "$as_ac_var=no"
24544 rm -f conftest.err conftest.
$ac_objext \
24545 conftest
$ac_exeext conftest.
$ac_ext
24547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24549 if test `eval echo '${'$as_ac_var'}'` = yes; then
24550 cat >>confdefs.h
<<_ACEOF
24551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24557 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24558 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24559 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24560 echo "$as_me:$LINENO: result: yes" >&5
24561 echo "${ECHO_T}yes" >&6
24563 echo "$as_me:$LINENO: result: no" >&5
24564 echo "${ECHO_T}no" >&6
24566 # use different functions to avoid configure caching
24572 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24573 echo "$as_me:$LINENO: checking for $ac_func" >&5
24574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24575 if eval "test \"\${$as_ac_var+set}\" = set"; then
24576 echo $ECHO_N "(cached) $ECHO_C" >&6
24578 cat >conftest.
$ac_ext <<_ACEOF
24581 cat confdefs.h
>>conftest.
$ac_ext
24582 cat >>conftest.
$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24586 #define $ac_func innocuous_$ac_func
24588 /* System header to define __stub macros and hopefully few prototypes,
24589 which can conflict with char $ac_func (); below.
24590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24591 <limits.h> exists even on freestanding compilers. */
24594 # include <limits.h>
24596 # include <assert.h>
24601 /* Override any gcc2 internal prototype to avoid an error. */
24606 /* We use char because int might match the return type of a gcc2
24607 builtin and then its argument prototype would still apply. */
24609 /* The GNU C library defines this for functions which it implements
24610 to always fail with ENOSYS. Some functions are actually named
24611 something starting with __ and the normal name is an alias. */
24612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24615 char (*f) () = $ac_func;
24624 return f != $ac_func;
24629 rm -f conftest.
$ac_objext conftest
$ac_exeext
24630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24631 (eval $ac_link) 2>conftest.er1
24633 grep -v '^ *+' conftest.er1
>conftest.err
24635 cat conftest.err
>&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); } &&
24638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24640 (eval $ac_try) 2>&5
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); }; } &&
24644 { ac_try
='test -s conftest$ac_exeext'
24645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646 (eval $ac_try) 2>&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; }; then
24650 eval "$as_ac_var=yes"
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.
$ac_ext >&5
24655 eval "$as_ac_var=no"
24657 rm -f conftest.err conftest.
$ac_objext \
24658 conftest
$ac_exeext conftest.
$ac_ext
24660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24662 if test `eval echo '${'$as_ac_var'}'` = yes; then
24663 cat >>confdefs.h
<<_ACEOF
24664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24671 for ac_func
in ceil
24673 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24674 echo "$as_me:$LINENO: checking for $ac_func" >&5
24675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24676 if eval "test \"\${$as_ac_var+set}\" = set"; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24679 cat >conftest.
$ac_ext <<_ACEOF
24682 cat confdefs.h
>>conftest.
$ac_ext
24683 cat >>conftest.
$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24687 #define $ac_func innocuous_$ac_func
24689 /* System header to define __stub macros and hopefully few prototypes,
24690 which can conflict with char $ac_func (); below.
24691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24692 <limits.h> exists even on freestanding compilers. */
24695 # include <limits.h>
24697 # include <assert.h>
24702 /* Override any gcc2 internal prototype to avoid an error. */
24707 /* We use char because int might match the return type of a gcc2
24708 builtin and then its argument prototype would still apply. */
24710 /* The GNU C library defines this for functions which it implements
24711 to always fail with ENOSYS. Some functions are actually named
24712 something starting with __ and the normal name is an alias. */
24713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24716 char (*f) () = $ac_func;
24725 return f != $ac_func;
24730 rm -f conftest.
$ac_objext conftest
$ac_exeext
24731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24732 (eval $ac_link) 2>conftest.er1
24734 grep -v '^ *+' conftest.er1
>conftest.err
24736 cat conftest.err
>&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } &&
24739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; } &&
24745 { ac_try
='test -s conftest$ac_exeext'
24746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24747 (eval $ac_try) 2>&5
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); }; }; then
24751 eval "$as_ac_var=yes"
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.
$ac_ext >&5
24756 eval "$as_ac_var=no"
24758 rm -f conftest.err conftest.
$ac_objext \
24759 conftest
$ac_exeext conftest.
$ac_ext
24761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24763 if test `eval echo '${'$as_ac_var'}'` = yes; then
24764 cat >>confdefs.h
<<_ACEOF
24765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24771 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24772 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24773 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24774 echo "$as_me:$LINENO: result: yes" >&5
24775 echo "${ECHO_T}yes" >&6
24777 echo "$as_me:$LINENO: result: no" >&5
24778 echo "${ECHO_T}no" >&6
24779 # not sure we should warn the user, crash, etc.
24783 if test "wxUSE_UNICODE" = "yes"; then
24785 for wx_func
in wcstoull
24787 echo "$as_me:$LINENO: checking for $wx_func" >&5
24788 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24789 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24790 echo $ECHO_N "(cached) $ECHO_C" >&6
24793 cat >conftest.
$ac_ext <<_ACEOF
24797 cat confdefs.h
>>conftest.
$ac_ext
24798 cat >>conftest.
$ac_ext <<_ACEOF
24799 /* end confdefs.h. */
24802 $ac_includes_default
24818 rm -f conftest.
$ac_objext conftest
$ac_exeext
24819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24820 (eval $ac_link) 2>conftest.er1
24822 grep -v '^ *+' conftest.er1
>conftest.err
24824 cat conftest.err
>&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } &&
24827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24829 (eval $ac_try) 2>&5
24831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832 (exit $ac_status); }; } &&
24833 { ac_try
='test -s conftest$ac_exeext'
24834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24835 (eval $ac_try) 2>&5
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); }; }; then
24839 eval wx_cv_func_
$wx_func=yes
24841 echo "$as_me: failed program was:" >&5
24842 sed 's/^/| /' conftest.
$ac_ext >&5
24844 eval wx_cv_func_
$wx_func=no
24846 rm -f conftest.err conftest.
$ac_objext \
24847 conftest
$ac_exeext conftest.
$ac_ext
24850 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24851 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24853 if eval test \
$wx_cv_func_$wx_func = yes
24855 cat >>confdefs.h
<<_ACEOF
24856 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24868 for wx_func
in strtoull
24870 echo "$as_me:$LINENO: checking for $wx_func" >&5
24871 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24872 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24873 echo $ECHO_N "(cached) $ECHO_C" >&6
24876 cat >conftest.
$ac_ext <<_ACEOF
24880 cat confdefs.h
>>conftest.
$ac_ext
24881 cat >>conftest.
$ac_ext <<_ACEOF
24882 /* end confdefs.h. */
24885 $ac_includes_default
24901 rm -f conftest.
$ac_objext conftest
$ac_exeext
24902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24903 (eval $ac_link) 2>conftest.er1
24905 grep -v '^ *+' conftest.er1
>conftest.err
24907 cat conftest.err
>&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } &&
24910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912 (eval $ac_try) 2>&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; } &&
24916 { ac_try
='test -s conftest$ac_exeext'
24917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918 (eval $ac_try) 2>&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); }; }; then
24922 eval wx_cv_func_
$wx_func=yes
24924 echo "$as_me: failed program was:" >&5
24925 sed 's/^/| /' conftest.
$ac_ext >&5
24927 eval wx_cv_func_
$wx_func=no
24929 rm -f conftest.err conftest.
$ac_objext \
24930 conftest
$ac_exeext conftest.
$ac_ext
24933 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24934 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24936 if eval test \
$wx_cv_func_$wx_func = yes
24938 cat >>confdefs.h
<<_ACEOF
24939 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24953 if test "$wxUSE_REGEX" != "no"; then
24954 cat >>confdefs.h
<<\_ACEOF
24955 #define wxUSE_REGEX 1
24959 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24960 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24961 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24962 wxUSE_REGEX
=builtin
24965 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24966 if test "${ac_cv_header_regex_h+set}" = set; then
24967 echo "$as_me:$LINENO: checking for regex.h" >&5
24968 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24969 if test "${ac_cv_header_regex_h+set}" = set; then
24970 echo $ECHO_N "(cached) $ECHO_C" >&6
24972 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24973 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24975 # Is the header compilable?
24976 echo "$as_me:$LINENO: checking regex.h usability" >&5
24977 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24978 cat >conftest.
$ac_ext <<_ACEOF
24981 cat confdefs.h
>>conftest.
$ac_ext
24982 cat >>conftest.
$ac_ext <<_ACEOF
24983 /* end confdefs.h. */
24984 $ac_includes_default
24987 rm -f conftest.
$ac_objext
24988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24989 (eval $ac_compile) 2>conftest.er1
24991 grep -v '^ *+' conftest.er1
>conftest.err
24993 cat conftest.err
>&5
24994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24995 (exit $ac_status); } &&
24996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24998 (eval $ac_try) 2>&5
25000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001 (exit $ac_status); }; } &&
25002 { ac_try
='test -s conftest.$ac_objext'
25003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25004 (eval $ac_try) 2>&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); }; }; then
25008 ac_header_compiler
=yes
25010 echo "$as_me: failed program was:" >&5
25011 sed 's/^/| /' conftest.
$ac_ext >&5
25013 ac_header_compiler
=no
25015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25016 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25017 echo "${ECHO_T}$ac_header_compiler" >&6
25019 # Is the header present?
25020 echo "$as_me:$LINENO: checking regex.h presence" >&5
25021 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25022 cat >conftest.
$ac_ext <<_ACEOF
25025 cat confdefs.h
>>conftest.
$ac_ext
25026 cat >>conftest.
$ac_ext <<_ACEOF
25027 /* end confdefs.h. */
25030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25031 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25033 grep -v '^ *+' conftest.er1
>conftest.err
25035 cat conftest.err
>&5
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); } >/dev
/null
; then
25038 if test -s conftest.err
; then
25039 ac_cpp_err
=$ac_c_preproc_warn_flag
25040 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25047 if test -z "$ac_cpp_err"; then
25048 ac_header_preproc
=yes
25050 echo "$as_me: failed program was:" >&5
25051 sed 's/^/| /' conftest.
$ac_ext >&5
25053 ac_header_preproc
=no
25055 rm -f conftest.err conftest.
$ac_ext
25056 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25057 echo "${ECHO_T}$ac_header_preproc" >&6
25059 # So? What about this header?
25060 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25062 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25063 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25064 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25065 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25066 ac_header_preproc
=yes
25069 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25070 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25071 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25072 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25073 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25074 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25075 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25076 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25077 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25078 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25079 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25080 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25083 ## ----------------------------------------- ##
25084 ## Report this to wx-dev@lists.wxwidgets.org ##
25085 ## ----------------------------------------- ##
25088 sed "s/^/$as_me: WARNING: /" >&2
25091 echo "$as_me:$LINENO: checking for regex.h" >&5
25092 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25093 if test "${ac_cv_header_regex_h+set}" = set; then
25094 echo $ECHO_N "(cached) $ECHO_C" >&6
25096 ac_cv_header_regex_h
=$ac_header_preproc
25098 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25099 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25102 if test $ac_cv_header_regex_h = yes; then
25105 for ac_func
in regcomp re_search
25107 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25108 echo "$as_me:$LINENO: checking for $ac_func" >&5
25109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25110 if eval "test \"\${$as_ac_var+set}\" = set"; then
25111 echo $ECHO_N "(cached) $ECHO_C" >&6
25113 cat >conftest.
$ac_ext <<_ACEOF
25116 cat confdefs.h
>>conftest.
$ac_ext
25117 cat >>conftest.
$ac_ext <<_ACEOF
25118 /* end confdefs.h. */
25119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25121 #define $ac_func innocuous_$ac_func
25123 /* System header to define __stub macros and hopefully few prototypes,
25124 which can conflict with char $ac_func (); below.
25125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25126 <limits.h> exists even on freestanding compilers. */
25129 # include <limits.h>
25131 # include <assert.h>
25136 /* Override any gcc2 internal prototype to avoid an error. */
25141 /* We use char because int might match the return type of a gcc2
25142 builtin and then its argument prototype would still apply. */
25144 /* The GNU C library defines this for functions which it implements
25145 to always fail with ENOSYS. Some functions are actually named
25146 something starting with __ and the normal name is an alias. */
25147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25150 char (*f) () = $ac_func;
25159 return f != $ac_func;
25164 rm -f conftest.
$ac_objext conftest
$ac_exeext
25165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25166 (eval $ac_link) 2>conftest.er1
25168 grep -v '^ *+' conftest.er1
>conftest.err
25170 cat conftest.err
>&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } &&
25173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25175 (eval $ac_try) 2>&5
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); }; } &&
25179 { ac_try
='test -s conftest$ac_exeext'
25180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25181 (eval $ac_try) 2>&5
25183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25184 (exit $ac_status); }; }; then
25185 eval "$as_ac_var=yes"
25187 echo "$as_me: failed program was:" >&5
25188 sed 's/^/| /' conftest.
$ac_ext >&5
25190 eval "$as_ac_var=no"
25192 rm -f conftest.err conftest.
$ac_objext \
25193 conftest
$ac_exeext conftest.
$ac_ext
25195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25197 if test `eval echo '${'$as_ac_var'}'` = yes; then
25198 cat >>confdefs.h
<<_ACEOF
25199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25209 if test "x$ac_cv_func_regcomp" != "xyes"; then
25210 if test "$wxUSE_REGEX" = "sys" ; then
25211 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25212 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25213 { (exit 1); exit 1; }; }
25215 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25216 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25217 wxUSE_REGEX
=builtin
25221 cat >>confdefs.h
<<\_ACEOF
25222 #define WX_NO_REGEX_ADVANCED 1
25231 if test "$wxUSE_ZLIB" != "no" ; then
25232 cat >>confdefs.h
<<\_ACEOF
25233 #define wxUSE_ZLIB 1
25237 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25238 if test "$USE_DARWIN" = 1; then
25239 system_zlib_h_ok
="yes"
25241 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25242 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25243 if test "${ac_cv_header_zlib_h+set}" = set; then
25244 echo $ECHO_N "(cached) $ECHO_C" >&6
25246 if test "$cross_compiling" = yes; then
25247 unset ac_cv_header_zlib_h
25250 cat >conftest.
$ac_ext <<_ACEOF
25253 cat confdefs.h
>>conftest.
$ac_ext
25254 cat >>conftest.
$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25262 FILE *f=fopen("conftestval", "w");
25265 ZLIB_VERSION[0] == '1' &&
25266 (ZLIB_VERSION[2] > '1' ||
25267 (ZLIB_VERSION[2] == '1' &&
25268 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25273 rm -f conftest
$ac_exeext
25274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25275 (eval $ac_link) 2>&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25280 (eval $ac_try) 2>&5
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); }; }; then
25284 ac_cv_header_zlib_h
=`cat conftestval`
25286 echo "$as_me: program exited with status $ac_status" >&5
25287 echo "$as_me: failed program was:" >&5
25288 sed 's/^/| /' conftest.
$ac_ext >&5
25290 ( exit $ac_status )
25291 ac_cv_header_zlib_h
=no
25293 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25297 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25298 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25299 if test "${ac_cv_header_zlib_h+set}" = set; then
25300 echo "$as_me:$LINENO: checking for zlib.h" >&5
25301 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25302 if test "${ac_cv_header_zlib_h+set}" = set; then
25303 echo $ECHO_N "(cached) $ECHO_C" >&6
25305 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25306 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25308 # Is the header compilable?
25309 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25310 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25311 cat >conftest.
$ac_ext <<_ACEOF
25314 cat confdefs.h
>>conftest.
$ac_ext
25315 cat >>conftest.
$ac_ext <<_ACEOF
25316 /* end confdefs.h. */
25317 $ac_includes_default
25320 rm -f conftest.
$ac_objext
25321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25322 (eval $ac_compile) 2>conftest.er1
25324 grep -v '^ *+' conftest.er1
>conftest.err
25326 cat conftest.err
>&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } &&
25329 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25331 (eval $ac_try) 2>&5
25333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25334 (exit $ac_status); }; } &&
25335 { ac_try
='test -s conftest.$ac_objext'
25336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25337 (eval $ac_try) 2>&5
25339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340 (exit $ac_status); }; }; then
25341 ac_header_compiler
=yes
25343 echo "$as_me: failed program was:" >&5
25344 sed 's/^/| /' conftest.
$ac_ext >&5
25346 ac_header_compiler
=no
25348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25350 echo "${ECHO_T}$ac_header_compiler" >&6
25352 # Is the header present?
25353 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25354 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25355 cat >conftest.
$ac_ext <<_ACEOF
25358 cat confdefs.h
>>conftest.
$ac_ext
25359 cat >>conftest.
$ac_ext <<_ACEOF
25360 /* end confdefs.h. */
25363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25364 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25366 grep -v '^ *+' conftest.er1
>conftest.err
25368 cat conftest.err
>&5
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } >/dev
/null
; then
25371 if test -s conftest.err
; then
25372 ac_cpp_err
=$ac_c_preproc_warn_flag
25373 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25380 if test -z "$ac_cpp_err"; then
25381 ac_header_preproc
=yes
25383 echo "$as_me: failed program was:" >&5
25384 sed 's/^/| /' conftest.
$ac_ext >&5
25386 ac_header_preproc
=no
25388 rm -f conftest.err conftest.
$ac_ext
25389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25390 echo "${ECHO_T}$ac_header_preproc" >&6
25392 # So? What about this header?
25393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25395 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25396 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25397 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25398 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25399 ac_header_preproc
=yes
25402 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25403 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25404 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25405 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25406 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25407 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25408 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25409 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25410 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25411 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25412 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25413 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25416 ## ----------------------------------------- ##
25417 ## Report this to wx-dev@lists.wxwidgets.org ##
25418 ## ----------------------------------------- ##
25421 sed "s/^/$as_me: WARNING: /" >&2
25424 echo "$as_me:$LINENO: checking for zlib.h" >&5
25425 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25426 if test "${ac_cv_header_zlib_h+set}" = set; then
25427 echo $ECHO_N "(cached) $ECHO_C" >&6
25429 ac_cv_header_zlib_h
=$ac_header_preproc
25431 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25432 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25438 system_zlib_h_ok
=$ac_cv_header_zlib_h
25441 if test "$system_zlib_h_ok" = "yes"; then
25442 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25443 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25444 if test "${ac_cv_lib_z_deflate+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25447 ac_check_lib_save_LIBS
=$LIBS
25449 cat >conftest.
$ac_ext <<_ACEOF
25452 cat confdefs.h
>>conftest.
$ac_ext
25453 cat >>conftest.
$ac_ext <<_ACEOF
25454 /* end confdefs.h. */
25456 /* Override any gcc2 internal prototype to avoid an error. */
25460 /* We use char because int might match the return type of a gcc2
25461 builtin and then its argument prototype would still apply. */
25471 rm -f conftest.
$ac_objext conftest
$ac_exeext
25472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25473 (eval $ac_link) 2>conftest.er1
25475 grep -v '^ *+' conftest.er1
>conftest.err
25477 cat conftest.err
>&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } &&
25480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25482 (eval $ac_try) 2>&5
25484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25485 (exit $ac_status); }; } &&
25486 { ac_try
='test -s conftest$ac_exeext'
25487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25488 (eval $ac_try) 2>&5
25490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491 (exit $ac_status); }; }; then
25492 ac_cv_lib_z_deflate
=yes
25494 echo "$as_me: failed program was:" >&5
25495 sed 's/^/| /' conftest.
$ac_ext >&5
25497 ac_cv_lib_z_deflate
=no
25499 rm -f conftest.err conftest.
$ac_objext \
25500 conftest
$ac_exeext conftest.
$ac_ext
25501 LIBS
=$ac_check_lib_save_LIBS
25503 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25504 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25505 if test $ac_cv_lib_z_deflate = yes; then
25511 if test "x$ZLIB_LINK" = "x" ; then
25512 if test "$wxUSE_ZLIB" = "sys" ; then
25513 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25514 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25515 { (exit 1); exit 1; }; }
25517 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25518 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25529 if test "$wxUSE_LIBPNG" != "no" ; then
25530 cat >>confdefs.h
<<\_ACEOF
25531 #define wxUSE_LIBPNG 1
25535 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25536 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25537 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25541 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25542 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25543 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25544 wxUSE_LIBPNG
=builtin
25547 if test "$wxUSE_MGL" != 1 ; then
25548 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25549 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25550 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25551 if test "${ac_cv_header_png_h+set}" = set; then
25552 echo $ECHO_N "(cached) $ECHO_C" >&6
25554 if test "$cross_compiling" = yes; then
25555 unset ac_cv_header_png_h
25558 cat >conftest.
$ac_ext <<_ACEOF
25561 cat confdefs.h
>>conftest.
$ac_ext
25562 cat >>conftest.
$ac_ext <<_ACEOF
25563 /* end confdefs.h. */
25570 FILE *f=fopen("conftestval", "w");
25573 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25578 rm -f conftest
$ac_exeext
25579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25580 (eval $ac_link) 2>&5
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25585 (eval $ac_try) 2>&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); }; }; then
25589 ac_cv_header_png_h
=`cat conftestval`
25591 echo "$as_me: program exited with status $ac_status" >&5
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.
$ac_ext >&5
25595 ( exit $ac_status )
25596 ac_cv_header_png_h
=no
25598 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25602 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25603 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25604 if test "${ac_cv_header_png_h+set}" = set; then
25605 echo "$as_me:$LINENO: checking for png.h" >&5
25606 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25607 if test "${ac_cv_header_png_h+set}" = set; then
25608 echo $ECHO_N "(cached) $ECHO_C" >&6
25610 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25611 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25613 # Is the header compilable?
25614 echo "$as_me:$LINENO: checking png.h usability" >&5
25615 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25616 cat >conftest.
$ac_ext <<_ACEOF
25619 cat confdefs.h
>>conftest.
$ac_ext
25620 cat >>conftest.
$ac_ext <<_ACEOF
25621 /* end confdefs.h. */
25622 $ac_includes_default
25625 rm -f conftest.
$ac_objext
25626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25627 (eval $ac_compile) 2>conftest.er1
25629 grep -v '^ *+' conftest.er1
>conftest.err
25631 cat conftest.err
>&5
25632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25633 (exit $ac_status); } &&
25634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25636 (eval $ac_try) 2>&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); }; } &&
25640 { ac_try
='test -s conftest.$ac_objext'
25641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25642 (eval $ac_try) 2>&5
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); }; }; then
25646 ac_header_compiler
=yes
25648 echo "$as_me: failed program was:" >&5
25649 sed 's/^/| /' conftest.
$ac_ext >&5
25651 ac_header_compiler
=no
25653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25655 echo "${ECHO_T}$ac_header_compiler" >&6
25657 # Is the header present?
25658 echo "$as_me:$LINENO: checking png.h presence" >&5
25659 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25660 cat >conftest.
$ac_ext <<_ACEOF
25663 cat confdefs.h
>>conftest.
$ac_ext
25664 cat >>conftest.
$ac_ext <<_ACEOF
25665 /* end confdefs.h. */
25668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25669 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25671 grep -v '^ *+' conftest.er1
>conftest.err
25673 cat conftest.err
>&5
25674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675 (exit $ac_status); } >/dev
/null
; then
25676 if test -s conftest.err
; then
25677 ac_cpp_err
=$ac_c_preproc_warn_flag
25678 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25685 if test -z "$ac_cpp_err"; then
25686 ac_header_preproc
=yes
25688 echo "$as_me: failed program was:" >&5
25689 sed 's/^/| /' conftest.
$ac_ext >&5
25691 ac_header_preproc
=no
25693 rm -f conftest.err conftest.
$ac_ext
25694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25695 echo "${ECHO_T}$ac_header_preproc" >&6
25697 # So? What about this header?
25698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25700 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25701 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25702 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25703 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25704 ac_header_preproc
=yes
25707 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25708 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25709 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25710 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25711 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25712 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25713 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25714 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25715 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25716 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25717 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25718 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25721 ## ----------------------------------------- ##
25722 ## Report this to wx-dev@lists.wxwidgets.org ##
25723 ## ----------------------------------------- ##
25726 sed "s/^/$as_me: WARNING: /" >&2
25729 echo "$as_me:$LINENO: checking for png.h" >&5
25730 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25731 if test "${ac_cv_header_png_h+set}" = set; then
25732 echo $ECHO_N "(cached) $ECHO_C" >&6
25734 ac_cv_header_png_h
=$ac_header_preproc
25736 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25737 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25743 if test "$ac_cv_header_png_h" = "yes"; then
25744 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25745 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25746 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 ac_check_lib_save_LIBS
=$LIBS
25750 LIBS
="-lpng -lz -lm $LIBS"
25751 cat >conftest.
$ac_ext <<_ACEOF
25754 cat confdefs.h
>>conftest.
$ac_ext
25755 cat >>conftest.
$ac_ext <<_ACEOF
25756 /* end confdefs.h. */
25758 /* Override any gcc2 internal prototype to avoid an error. */
25762 /* We use char because int might match the return type of a gcc2
25763 builtin and then its argument prototype would still apply. */
25764 char png_check_sig ();
25773 rm -f conftest.
$ac_objext conftest
$ac_exeext
25774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25775 (eval $ac_link) 2>conftest.er1
25777 grep -v '^ *+' conftest.er1
>conftest.err
25779 cat conftest.err
>&5
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); } &&
25782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25784 (eval $ac_try) 2>&5
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); }; } &&
25788 { ac_try
='test -s conftest$ac_exeext'
25789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25790 (eval $ac_try) 2>&5
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); }; }; then
25794 ac_cv_lib_png_png_check_sig
=yes
25796 echo "$as_me: failed program was:" >&5
25797 sed 's/^/| /' conftest.
$ac_ext >&5
25799 ac_cv_lib_png_png_check_sig
=no
25801 rm -f conftest.err conftest.
$ac_objext \
25802 conftest
$ac_exeext conftest.
$ac_ext
25803 LIBS
=$ac_check_lib_save_LIBS
25805 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25806 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25807 if test $ac_cv_lib_png_png_check_sig = yes; then
25808 PNG_LINK
=" -lpng -lz"
25813 if test "x$PNG_LINK" = "x" ; then
25814 if test "$wxUSE_LIBPNG" = "sys" ; then
25815 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25816 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25817 { (exit 1); exit 1; }; }
25819 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25820 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25821 wxUSE_LIBPNG
=builtin
25829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25834 if test "$wxUSE_LIBJPEG" != "no" ; then
25835 cat >>confdefs.h
<<\_ACEOF
25836 #define wxUSE_LIBJPEG 1
25840 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25841 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25842 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25846 if test "$wxUSE_MGL" != 1 ; then
25847 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25848 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25849 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25850 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25851 echo $ECHO_N "(cached) $ECHO_C" >&6
25853 cat >conftest.
$ac_ext <<_ACEOF
25856 cat confdefs.h
>>conftest.
$ac_ext
25857 cat >>conftest.
$ac_ext <<_ACEOF
25858 /* end confdefs.h. */
25860 #undef HAVE_STDLIB_H
25862 #include <jpeglib.h>
25873 rm -f conftest.
$ac_objext
25874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25875 (eval $ac_compile) 2>conftest.er1
25877 grep -v '^ *+' conftest.er1
>conftest.err
25879 cat conftest.err
>&5
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); } &&
25882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25884 (eval $ac_try) 2>&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); }; } &&
25888 { ac_try
='test -s conftest.$ac_objext'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; }; then
25894 ac_cv_header_jpeglib_h
=yes
25896 echo "$as_me: failed program was:" >&5
25897 sed 's/^/| /' conftest.
$ac_ext >&5
25899 ac_cv_header_jpeglib_h
=no
25902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25906 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25907 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25909 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25910 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25911 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25912 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25915 ac_check_lib_save_LIBS
=$LIBS
25916 LIBS
="-ljpeg $LIBS"
25917 cat >conftest.
$ac_ext <<_ACEOF
25920 cat confdefs.h
>>conftest.
$ac_ext
25921 cat >>conftest.
$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25924 /* Override any gcc2 internal prototype to avoid an error. */
25928 /* We use char because int might match the return type of a gcc2
25929 builtin and then its argument prototype would still apply. */
25930 char jpeg_read_header ();
25934 jpeg_read_header ();
25939 rm -f conftest.
$ac_objext conftest
$ac_exeext
25940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25941 (eval $ac_link) 2>conftest.er1
25943 grep -v '^ *+' conftest.er1
>conftest.err
25945 cat conftest.err
>&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } &&
25948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25950 (eval $ac_try) 2>&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); }; } &&
25954 { ac_try
='test -s conftest$ac_exeext'
25955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25956 (eval $ac_try) 2>&5
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); }; }; then
25960 ac_cv_lib_jpeg_jpeg_read_header
=yes
25962 echo "$as_me: failed program was:" >&5
25963 sed 's/^/| /' conftest.
$ac_ext >&5
25965 ac_cv_lib_jpeg_jpeg_read_header
=no
25967 rm -f conftest.err conftest.
$ac_objext \
25968 conftest
$ac_exeext conftest.
$ac_ext
25969 LIBS
=$ac_check_lib_save_LIBS
25971 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25972 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25973 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25974 JPEG_LINK
=" -ljpeg"
25979 if test "x$JPEG_LINK" = "x" ; then
25980 if test "$wxUSE_LIBJPEG" = "sys" ; then
25981 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25982 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25983 { (exit 1); exit 1; }; }
25985 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25986 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25987 wxUSE_LIBJPEG
=builtin
25998 TIFF_PREREQ_LINKS
=-lm
25999 if test "$wxUSE_LIBTIFF" != "no" ; then
26000 cat >>confdefs.h
<<\_ACEOF
26001 #define wxUSE_LIBTIFF 1
26005 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26006 if test "$wxUSE_LIBJPEG" = "sys"; then
26007 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26009 if test "$wxUSE_ZLIB" = "sys"; then
26010 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26012 if test "${ac_cv_header_tiffio_h+set}" = set; then
26013 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26014 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26015 if test "${ac_cv_header_tiffio_h+set}" = set; then
26016 echo $ECHO_N "(cached) $ECHO_C" >&6
26018 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26019 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26021 # Is the header compilable?
26022 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26023 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26024 cat >conftest.
$ac_ext <<_ACEOF
26027 cat confdefs.h
>>conftest.
$ac_ext
26028 cat >>conftest.
$ac_ext <<_ACEOF
26029 /* end confdefs.h. */
26030 $ac_includes_default
26031 #include <tiffio.h>
26033 rm -f conftest.
$ac_objext
26034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26035 (eval $ac_compile) 2>conftest.er1
26037 grep -v '^ *+' conftest.er1
>conftest.err
26039 cat conftest.err
>&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); } &&
26042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; } &&
26048 { ac_try
='test -s conftest.$ac_objext'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; }; then
26054 ac_header_compiler
=yes
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.
$ac_ext >&5
26059 ac_header_compiler
=no
26061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26063 echo "${ECHO_T}$ac_header_compiler" >&6
26065 # Is the header present?
26066 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26067 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26068 cat >conftest.
$ac_ext <<_ACEOF
26071 cat confdefs.h
>>conftest.
$ac_ext
26072 cat >>conftest.
$ac_ext <<_ACEOF
26073 /* end confdefs.h. */
26074 #include <tiffio.h>
26076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26079 grep -v '^ *+' conftest.er1
>conftest.err
26081 cat conftest.err
>&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); } >/dev
/null
; then
26084 if test -s conftest.err
; then
26085 ac_cpp_err
=$ac_c_preproc_warn_flag
26086 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26093 if test -z "$ac_cpp_err"; then
26094 ac_header_preproc
=yes
26096 echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.
$ac_ext >&5
26099 ac_header_preproc
=no
26101 rm -f conftest.err conftest.
$ac_ext
26102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26103 echo "${ECHO_T}$ac_header_preproc" >&6
26105 # So? What about this header?
26106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26108 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26109 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26110 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26111 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26112 ac_header_preproc
=yes
26115 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26116 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26117 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26118 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26119 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26120 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26121 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26122 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26123 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26124 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26125 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26126 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26129 ## ----------------------------------------- ##
26130 ## Report this to wx-dev@lists.wxwidgets.org ##
26131 ## ----------------------------------------- ##
26134 sed "s/^/$as_me: WARNING: /" >&2
26137 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26138 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26139 if test "${ac_cv_header_tiffio_h+set}" = set; then
26140 echo $ECHO_N "(cached) $ECHO_C" >&6
26142 ac_cv_header_tiffio_h
=$ac_header_preproc
26144 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26145 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26148 if test $ac_cv_header_tiffio_h = yes; then
26150 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26151 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26152 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26153 echo $ECHO_N "(cached) $ECHO_C" >&6
26155 ac_check_lib_save_LIBS
=$LIBS
26156 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26157 cat >conftest.
$ac_ext <<_ACEOF
26160 cat confdefs.h
>>conftest.
$ac_ext
26161 cat >>conftest.
$ac_ext <<_ACEOF
26162 /* end confdefs.h. */
26164 /* Override any gcc2 internal prototype to avoid an error. */
26168 /* We use char because int might match the return type of a gcc2
26169 builtin and then its argument prototype would still apply. */
26179 rm -f conftest.
$ac_objext conftest
$ac_exeext
26180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26181 (eval $ac_link) 2>conftest.er1
26183 grep -v '^ *+' conftest.er1
>conftest.err
26185 cat conftest.err
>&5
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); } &&
26188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26190 (eval $ac_try) 2>&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); }; } &&
26194 { ac_try
='test -s conftest$ac_exeext'
26195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26196 (eval $ac_try) 2>&5
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); }; }; then
26200 ac_cv_lib_tiff_TIFFError
=yes
26202 echo "$as_me: failed program was:" >&5
26203 sed 's/^/| /' conftest.
$ac_ext >&5
26205 ac_cv_lib_tiff_TIFFError
=no
26207 rm -f conftest.err conftest.
$ac_objext \
26208 conftest
$ac_exeext conftest.
$ac_ext
26209 LIBS
=$ac_check_lib_save_LIBS
26211 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26212 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26213 if test $ac_cv_lib_tiff_TIFFError = yes; then
26214 TIFF_LINK
=" -ltiff"
26223 if test "x$TIFF_LINK" = "x" ; then
26224 if test "$wxUSE_LIBTIFF" = "sys" ; then
26225 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26226 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26227 { (exit 1); exit 1; }; }
26229 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26230 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26231 wxUSE_LIBTIFF
=builtin
26240 if test "$wxUSE_WCHAR_T" != "yes"; then
26241 if test "$wxUSE_EXPAT" != "no"; then
26242 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26243 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26246 if test "$wxUSE_XML" != "no"; then
26247 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26248 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26253 if test "$wxUSE_EXPAT" != "no"; then
26255 cat >>confdefs.h
<<\_ACEOF
26256 #define wxUSE_EXPAT 1
26259 cat >>confdefs.h
<<\_ACEOF
26260 #define wxUSE_XML 1
26264 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26265 if test "${ac_cv_header_expat_h+set}" = set; then
26266 echo "$as_me:$LINENO: checking for expat.h" >&5
26267 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26268 if test "${ac_cv_header_expat_h+set}" = set; then
26269 echo $ECHO_N "(cached) $ECHO_C" >&6
26271 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26272 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26274 # Is the header compilable?
26275 echo "$as_me:$LINENO: checking expat.h usability" >&5
26276 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26277 cat >conftest.
$ac_ext <<_ACEOF
26280 cat confdefs.h
>>conftest.
$ac_ext
26281 cat >>conftest.
$ac_ext <<_ACEOF
26282 /* end confdefs.h. */
26283 $ac_includes_default
26286 rm -f conftest.
$ac_objext
26287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26288 (eval $ac_compile) 2>conftest.er1
26290 grep -v '^ *+' conftest.er1
>conftest.err
26292 cat conftest.err
>&5
26293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26294 (exit $ac_status); } &&
26295 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26297 (eval $ac_try) 2>&5
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); }; } &&
26301 { ac_try
='test -s conftest.$ac_objext'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; }; then
26307 ac_header_compiler
=yes
26309 echo "$as_me: failed program was:" >&5
26310 sed 's/^/| /' conftest.
$ac_ext >&5
26312 ac_header_compiler
=no
26314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26316 echo "${ECHO_T}$ac_header_compiler" >&6
26318 # Is the header present?
26319 echo "$as_me:$LINENO: checking expat.h presence" >&5
26320 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26321 cat >conftest.
$ac_ext <<_ACEOF
26324 cat confdefs.h
>>conftest.
$ac_ext
26325 cat >>conftest.
$ac_ext <<_ACEOF
26326 /* end confdefs.h. */
26329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26330 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26332 grep -v '^ *+' conftest.er1
>conftest.err
26334 cat conftest.err
>&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } >/dev
/null
; then
26337 if test -s conftest.err
; then
26338 ac_cpp_err
=$ac_c_preproc_warn_flag
26339 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26346 if test -z "$ac_cpp_err"; then
26347 ac_header_preproc
=yes
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.
$ac_ext >&5
26352 ac_header_preproc
=no
26354 rm -f conftest.err conftest.
$ac_ext
26355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26356 echo "${ECHO_T}$ac_header_preproc" >&6
26358 # So? What about this header?
26359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26361 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26362 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26363 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26364 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26365 ac_header_preproc
=yes
26368 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26369 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26370 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26371 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26372 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26373 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26374 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26375 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26376 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26377 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26378 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26379 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26382 ## ----------------------------------------- ##
26383 ## Report this to wx-dev@lists.wxwidgets.org ##
26384 ## ----------------------------------------- ##
26387 sed "s/^/$as_me: WARNING: /" >&2
26390 echo "$as_me:$LINENO: checking for expat.h" >&5
26391 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26392 if test "${ac_cv_header_expat_h+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26395 ac_cv_header_expat_h
=$ac_header_preproc
26397 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26398 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26401 if test $ac_cv_header_expat_h = yes; then
26406 if test "x$found_expat_h" = "x1"; then
26407 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26408 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26409 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26410 echo $ECHO_N "(cached) $ECHO_C" >&6
26414 ac_cpp
='$CXXCPP $CPPFLAGS'
26415 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26416 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26417 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26419 cat >conftest.
$ac_ext <<_ACEOF
26422 cat confdefs.h
>>conftest.
$ac_ext
26423 cat >>conftest.
$ac_ext <<_ACEOF
26424 /* end confdefs.h. */
26434 rm -f conftest.
$ac_objext
26435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26436 (eval $ac_compile) 2>conftest.er1
26438 grep -v '^ *+' conftest.er1
>conftest.err
26440 cat conftest.err
>&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } &&
26443 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26445 (eval $ac_try) 2>&5
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); }; } &&
26449 { ac_try
='test -s conftest.$ac_objext'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; }; then
26455 wx_cv_expat_is_not_broken
=yes
26457 echo "$as_me: failed program was:" >&5
26458 sed 's/^/| /' conftest.
$ac_ext >&5
26460 wx_cv_expat_is_not_broken
=no
26463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26465 ac_cpp
='$CPP $CPPFLAGS'
26466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26473 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26474 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26475 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26476 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26477 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26478 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26479 echo $ECHO_N "(cached) $ECHO_C" >&6
26481 ac_check_lib_save_LIBS
=$LIBS
26482 LIBS
="-lexpat $LIBS"
26483 cat >conftest.
$ac_ext <<_ACEOF
26486 cat confdefs.h
>>conftest.
$ac_ext
26487 cat >>conftest.
$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26490 /* Override any gcc2 internal prototype to avoid an error. */
26494 /* We use char because int might match the return type of a gcc2
26495 builtin and then its argument prototype would still apply. */
26496 char XML_ParserCreate ();
26500 XML_ParserCreate ();
26505 rm -f conftest.
$ac_objext conftest
$ac_exeext
26506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26507 (eval $ac_link) 2>conftest.er1
26509 grep -v '^ *+' conftest.er1
>conftest.err
26511 cat conftest.err
>&5
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); } &&
26514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26516 (eval $ac_try) 2>&5
26518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26519 (exit $ac_status); }; } &&
26520 { ac_try
='test -s conftest$ac_exeext'
26521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26522 (eval $ac_try) 2>&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); }; }; then
26526 ac_cv_lib_expat_XML_ParserCreate
=yes
26528 echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.
$ac_ext >&5
26531 ac_cv_lib_expat_XML_ParserCreate
=no
26533 rm -f conftest.err conftest.
$ac_objext \
26534 conftest
$ac_exeext conftest.
$ac_ext
26535 LIBS
=$ac_check_lib_save_LIBS
26537 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26538 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26539 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26540 EXPAT_LINK
=" -lexpat"
26545 if test "x$EXPAT_LINK" = "x" ; then
26546 if test "$wxUSE_EXPAT" = "sys" ; then
26547 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26548 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26549 { (exit 1); exit 1; }; }
26551 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26552 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26553 wxUSE_EXPAT
=builtin
26559 if test "$wxUSE_EXPAT" = "builtin" ; then
26562 subdirs
="$subdirs src/expat"
26569 if test "$wxUSE_LIBMSPACK" != "no"; then
26570 if test "${ac_cv_header_mspack_h+set}" = set; then
26571 echo "$as_me:$LINENO: checking for mspack.h" >&5
26572 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26573 if test "${ac_cv_header_mspack_h+set}" = set; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26576 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26577 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26579 # Is the header compilable?
26580 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26581 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26582 cat >conftest.
$ac_ext <<_ACEOF
26585 cat confdefs.h
>>conftest.
$ac_ext
26586 cat >>conftest.
$ac_ext <<_ACEOF
26587 /* end confdefs.h. */
26588 $ac_includes_default
26589 #include <mspack.h>
26591 rm -f conftest.
$ac_objext
26592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26593 (eval $ac_compile) 2>conftest.er1
26595 grep -v '^ *+' conftest.er1
>conftest.err
26597 cat conftest.err
>&5
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); } &&
26600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602 (eval $ac_try) 2>&5
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; } &&
26606 { ac_try
='test -s conftest.$ac_objext'
26607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26608 (eval $ac_try) 2>&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); }; }; then
26612 ac_header_compiler
=yes
26614 echo "$as_me: failed program was:" >&5
26615 sed 's/^/| /' conftest.
$ac_ext >&5
26617 ac_header_compiler
=no
26619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26621 echo "${ECHO_T}$ac_header_compiler" >&6
26623 # Is the header present?
26624 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26625 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26626 cat >conftest.
$ac_ext <<_ACEOF
26629 cat confdefs.h
>>conftest.
$ac_ext
26630 cat >>conftest.
$ac_ext <<_ACEOF
26631 /* end confdefs.h. */
26632 #include <mspack.h>
26634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26635 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26637 grep -v '^ *+' conftest.er1
>conftest.err
26639 cat conftest.err
>&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); } >/dev
/null
; then
26642 if test -s conftest.err
; then
26643 ac_cpp_err
=$ac_c_preproc_warn_flag
26644 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26651 if test -z "$ac_cpp_err"; then
26652 ac_header_preproc
=yes
26654 echo "$as_me: failed program was:" >&5
26655 sed 's/^/| /' conftest.
$ac_ext >&5
26657 ac_header_preproc
=no
26659 rm -f conftest.err conftest.
$ac_ext
26660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26661 echo "${ECHO_T}$ac_header_preproc" >&6
26663 # So? What about this header?
26664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26666 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26667 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26668 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26669 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26670 ac_header_preproc
=yes
26673 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26674 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26675 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26676 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26677 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26678 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26679 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26680 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26681 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26682 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26683 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26684 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26687 ## ----------------------------------------- ##
26688 ## Report this to wx-dev@lists.wxwidgets.org ##
26689 ## ----------------------------------------- ##
26692 sed "s/^/$as_me: WARNING: /" >&2
26695 echo "$as_me:$LINENO: checking for mspack.h" >&5
26696 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26697 if test "${ac_cv_header_mspack_h+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26700 ac_cv_header_mspack_h
=$ac_header_preproc
26702 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26703 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26706 if test $ac_cv_header_mspack_h = yes; then
26711 if test "x$found_mspack_h" = "x1"; then
26712 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26713 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26714 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26715 echo $ECHO_N "(cached) $ECHO_C" >&6
26717 ac_check_lib_save_LIBS
=$LIBS
26718 LIBS
="-lmspack $LIBS"
26719 cat >conftest.
$ac_ext <<_ACEOF
26722 cat confdefs.h
>>conftest.
$ac_ext
26723 cat >>conftest.
$ac_ext <<_ACEOF
26724 /* end confdefs.h. */
26726 /* Override any gcc2 internal prototype to avoid an error. */
26730 /* We use char because int might match the return type of a gcc2
26731 builtin and then its argument prototype would still apply. */
26732 char mspack_create_chm_decompressor ();
26736 mspack_create_chm_decompressor ();
26741 rm -f conftest.
$ac_objext conftest
$ac_exeext
26742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26743 (eval $ac_link) 2>conftest.er1
26745 grep -v '^ *+' conftest.er1
>conftest.err
26747 cat conftest.err
>&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26752 (eval $ac_try) 2>&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); }; } &&
26756 { ac_try
='test -s 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
26762 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26764 echo "$as_me: failed program was:" >&5
26765 sed 's/^/| /' conftest.
$ac_ext >&5
26767 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26769 rm -f conftest.err conftest.
$ac_objext \
26770 conftest
$ac_exeext conftest.
$ac_ext
26771 LIBS
=$ac_check_lib_save_LIBS
26773 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26774 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26775 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26776 MSPACK_LINK
=" -lmspack"
26780 if test "x$MSPACK_LINK" = "x" ; then
26785 if test "$wxUSE_LIBMSPACK" != "no"; then
26786 cat >>confdefs.h
<<\_ACEOF
26787 #define wxUSE_LIBMSPACK 1
26801 if test "$USE_WIN32" = 1 ; then
26803 for ac_header
in w32api.h
26805 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26807 echo "$as_me:$LINENO: checking for $ac_header" >&5
26808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26810 echo $ECHO_N "(cached) $ECHO_C" >&6
26812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26815 # Is the header compilable?
26816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26818 cat >conftest.
$ac_ext <<_ACEOF
26821 cat confdefs.h
>>conftest.
$ac_ext
26822 cat >>conftest.
$ac_ext <<_ACEOF
26823 /* end confdefs.h. */
26824 $ac_includes_default
26825 #include <$ac_header>
26827 rm -f conftest.
$ac_objext
26828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26829 (eval $ac_compile) 2>conftest.er1
26831 grep -v '^ *+' conftest.er1
>conftest.err
26833 cat conftest.err
>&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); } &&
26836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26838 (eval $ac_try) 2>&5
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); }; } &&
26842 { ac_try
='test -s conftest.$ac_objext'
26843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26844 (eval $ac_try) 2>&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); }; }; then
26848 ac_header_compiler
=yes
26850 echo "$as_me: failed program was:" >&5
26851 sed 's/^/| /' conftest.
$ac_ext >&5
26853 ac_header_compiler
=no
26855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26857 echo "${ECHO_T}$ac_header_compiler" >&6
26859 # Is the header present?
26860 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26862 cat >conftest.
$ac_ext <<_ACEOF
26865 cat confdefs.h
>>conftest.
$ac_ext
26866 cat >>conftest.
$ac_ext <<_ACEOF
26867 /* end confdefs.h. */
26868 #include <$ac_header>
26870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26871 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26873 grep -v '^ *+' conftest.er1
>conftest.err
26875 cat conftest.err
>&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); } >/dev
/null
; then
26878 if test -s conftest.err
; then
26879 ac_cpp_err
=$ac_c_preproc_warn_flag
26880 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26887 if test -z "$ac_cpp_err"; then
26888 ac_header_preproc
=yes
26890 echo "$as_me: failed program was:" >&5
26891 sed 's/^/| /' conftest.
$ac_ext >&5
26893 ac_header_preproc
=no
26895 rm -f conftest.err conftest.
$ac_ext
26896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26897 echo "${ECHO_T}$ac_header_preproc" >&6
26899 # So? What about this header?
26900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26905 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26906 ac_header_preproc
=yes
26909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26913 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26914 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26915 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26916 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26919 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26920 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26923 ## ----------------------------------------- ##
26924 ## Report this to wx-dev@lists.wxwidgets.org ##
26925 ## ----------------------------------------- ##
26928 sed "s/^/$as_me: WARNING: /" >&2
26931 echo "$as_me:$LINENO: checking for $ac_header" >&5
26932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26934 echo $ECHO_N "(cached) $ECHO_C" >&6
26936 eval "$as_ac_Header=\$ac_header_preproc"
26938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26943 cat >>confdefs.h
<<_ACEOF
26944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26951 if test "${ac_cv_header_windows_h+set}" = set; then
26952 echo "$as_me:$LINENO: checking for windows.h" >&5
26953 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26954 if test "${ac_cv_header_windows_h+set}" = set; then
26955 echo $ECHO_N "(cached) $ECHO_C" >&6
26957 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26958 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26960 # Is the header compilable?
26961 echo "$as_me:$LINENO: checking windows.h usability" >&5
26962 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26963 cat >conftest.
$ac_ext <<_ACEOF
26966 cat confdefs.h
>>conftest.
$ac_ext
26967 cat >>conftest.
$ac_ext <<_ACEOF
26968 /* end confdefs.h. */
26969 $ac_includes_default
26970 #include <windows.h>
26972 rm -f conftest.
$ac_objext
26973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26974 (eval $ac_compile) 2>conftest.er1
26976 grep -v '^ *+' conftest.er1
>conftest.err
26978 cat conftest.err
>&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); } &&
26981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; } &&
26987 { ac_try
='test -s conftest.$ac_objext'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; }; then
26993 ac_header_compiler
=yes
26995 echo "$as_me: failed program was:" >&5
26996 sed 's/^/| /' conftest.
$ac_ext >&5
26998 ac_header_compiler
=no
27000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27002 echo "${ECHO_T}$ac_header_compiler" >&6
27004 # Is the header present?
27005 echo "$as_me:$LINENO: checking windows.h presence" >&5
27006 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27007 cat >conftest.
$ac_ext <<_ACEOF
27010 cat confdefs.h
>>conftest.
$ac_ext
27011 cat >>conftest.
$ac_ext <<_ACEOF
27012 /* end confdefs.h. */
27013 #include <windows.h>
27015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27016 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27018 grep -v '^ *+' conftest.er1
>conftest.err
27020 cat conftest.err
>&5
27021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022 (exit $ac_status); } >/dev
/null
; then
27023 if test -s conftest.err
; then
27024 ac_cpp_err
=$ac_c_preproc_warn_flag
27025 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27032 if test -z "$ac_cpp_err"; then
27033 ac_header_preproc
=yes
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.
$ac_ext >&5
27038 ac_header_preproc
=no
27040 rm -f conftest.err conftest.
$ac_ext
27041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27042 echo "${ECHO_T}$ac_header_preproc" >&6
27044 # So? What about this header?
27045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27047 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27048 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27049 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27050 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27051 ac_header_preproc
=yes
27054 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27055 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27056 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27057 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27058 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27059 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27060 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27061 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27062 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27063 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27064 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27065 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27068 ## ----------------------------------------- ##
27069 ## Report this to wx-dev@lists.wxwidgets.org ##
27070 ## ----------------------------------------- ##
27073 sed "s/^/$as_me: WARNING: /" >&2
27076 echo "$as_me:$LINENO: checking for windows.h" >&5
27077 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27078 if test "${ac_cv_header_windows_h+set}" = set; then
27079 echo $ECHO_N "(cached) $ECHO_C" >&6
27081 ac_cv_header_windows_h
=$ac_header_preproc
27083 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27084 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27087 if test $ac_cv_header_windows_h = yes; then
27091 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27092 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27093 { (exit 1); exit 1; }; }
27099 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27101 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27102 LIBS
="$LIBS -loleacc"
27107 LIBS
="$LIBS -lkernel32 -luser32"
27110 if test "$wxUSE_ODBC" = "sys" ; then
27113 if test "$wxUSE_ODBC" = "yes" ; then
27114 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27115 cat >>confdefs.h
<<\_ACEOF
27116 #define wxUSE_ODBC 1
27121 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27122 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27124 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27126 WIN32INSTALL
=win32install
27128 echo "$as_me:$LINENO: checking for boolean" >&5
27129 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27130 if test "${ac_cv_type_boolean+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27133 cat >conftest.
$ac_ext <<_ACEOF
27136 cat confdefs.h
>>conftest.
$ac_ext
27137 cat >>conftest.
$ac_ext <<_ACEOF
27138 /* end confdefs.h. */
27139 #include <windows.h>
27146 if (sizeof (boolean))
27152 rm -f conftest.
$ac_objext
27153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27154 (eval $ac_compile) 2>conftest.er1
27156 grep -v '^ *+' conftest.er1
>conftest.err
27158 cat conftest.err
>&5
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); } &&
27161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27163 (eval $ac_try) 2>&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); }; } &&
27167 { ac_try
='test -s conftest.$ac_objext'
27168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169 (eval $ac_try) 2>&5
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); }; }; then
27173 ac_cv_type_boolean
=yes
27175 echo "$as_me: failed program was:" >&5
27176 sed 's/^/| /' conftest.
$ac_ext >&5
27178 ac_cv_type_boolean
=no
27180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27182 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27183 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27184 if test $ac_cv_type_boolean = yes; then
27186 cat >>confdefs.h
<<_ACEOF
27187 #define HAVE_BOOLEAN 1
27195 for ac_header
in pbt.h
27197 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27199 echo "$as_me:$LINENO: checking for $ac_header" >&5
27200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27202 echo $ECHO_N "(cached) $ECHO_C" >&6
27204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27207 # Is the header compilable?
27208 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27209 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27210 cat >conftest.
$ac_ext <<_ACEOF
27213 cat confdefs.h
>>conftest.
$ac_ext
27214 cat >>conftest.
$ac_ext <<_ACEOF
27215 /* end confdefs.h. */
27216 $ac_includes_default
27217 #include <$ac_header>
27219 rm -f conftest.
$ac_objext
27220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27221 (eval $ac_compile) 2>conftest.er1
27223 grep -v '^ *+' conftest.er1
>conftest.err
27225 cat conftest.err
>&5
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); } &&
27228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27230 (eval $ac_try) 2>&5
27232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233 (exit $ac_status); }; } &&
27234 { ac_try
='test -s conftest.$ac_objext'
27235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27236 (eval $ac_try) 2>&5
27238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27239 (exit $ac_status); }; }; then
27240 ac_header_compiler
=yes
27242 echo "$as_me: failed program was:" >&5
27243 sed 's/^/| /' conftest.
$ac_ext >&5
27245 ac_header_compiler
=no
27247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27249 echo "${ECHO_T}$ac_header_compiler" >&6
27251 # Is the header present?
27252 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27253 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27254 cat >conftest.
$ac_ext <<_ACEOF
27257 cat confdefs.h
>>conftest.
$ac_ext
27258 cat >>conftest.
$ac_ext <<_ACEOF
27259 /* end confdefs.h. */
27260 #include <$ac_header>
27262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27265 grep -v '^ *+' conftest.er1
>conftest.err
27267 cat conftest.err
>&5
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); } >/dev
/null
; then
27270 if test -s conftest.err
; then
27271 ac_cpp_err
=$ac_c_preproc_warn_flag
27272 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27279 if test -z "$ac_cpp_err"; then
27280 ac_header_preproc
=yes
27282 echo "$as_me: failed program was:" >&5
27283 sed 's/^/| /' conftest.
$ac_ext >&5
27285 ac_header_preproc
=no
27287 rm -f conftest.err conftest.
$ac_ext
27288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27289 echo "${ECHO_T}$ac_header_preproc" >&6
27291 # So? What about this header?
27292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27294 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27295 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27297 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27298 ac_header_preproc
=yes
27301 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27302 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27303 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27304 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27305 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27306 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27307 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27308 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27311 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27312 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27315 ## ----------------------------------------- ##
27316 ## Report this to wx-dev@lists.wxwidgets.org ##
27317 ## ----------------------------------------- ##
27320 sed "s/^/$as_me: WARNING: /" >&2
27323 echo "$as_me:$LINENO: checking for $ac_header" >&5
27324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27326 echo $ECHO_N "(cached) $ECHO_C" >&6
27328 eval "$as_ac_Header=\$ac_header_preproc"
27330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27335 cat >>confdefs.h
<<_ACEOF
27336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27340 cat >>confdefs.h
<<\_ACEOF
27341 #define NEED_PBT_H 1
27350 if test "$wxUSE_GUI" = "yes"; then
27360 if test "$wxUSE_COCOA" = 1 ; then
27361 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27362 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27363 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27364 wxUSE_PRINTING_ARCHITECTURE
=no
27366 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27367 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27368 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27369 wxUSE_DRAG_AND_DROP
=no
27371 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27372 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27373 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27378 if test "$wxUSE_MSW" = 1 ; then
27384 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27388 if test "$wxUSE_GTK" = 1; then
27389 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27390 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27392 gtk_version_cached
=1
27393 if test "${wx_cv_lib_gtk+set}" = set; then
27394 echo $ECHO_N "(cached) $ECHO_C" >&6
27397 gtk_version_cached
=0
27398 echo "$as_me:$LINENO: result: " >&5
27399 echo "${ECHO_T}" >&6
27402 if test "$wxUSE_THREADS" = "yes"; then
27403 GTK_MODULES
=gthread
27407 if test "x$wxGTK_VERSION" != "x1"
27411 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27416 # Check whether --enable-gtktest or --disable-gtktest was given.
27417 if test "${enable_gtktest+set}" = set; then
27418 enableval
="$enable_gtktest"
27424 pkg_config_args
=gtk
+-2.0
27425 for module
in .
$GTK_MODULES
27429 pkg_config_args
="$pkg_config_args gthread-2.0"
27436 # Extract the first word of "pkg-config", so it can be a program name with args.
27437 set dummy pkg
-config; ac_word
=$2
27438 echo "$as_me:$LINENO: checking for $ac_word" >&5
27439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27440 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27441 echo $ECHO_N "(cached) $ECHO_C" >&6
27443 case $PKG_CONFIG in
27445 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27449 for as_dir
in $PATH
27452 test -z "$as_dir" && as_dir
=.
27453 for ac_exec_ext
in '' $ac_executable_extensions; do
27454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27455 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27462 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27466 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27468 if test -n "$PKG_CONFIG"; then
27469 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27470 echo "${ECHO_T}$PKG_CONFIG" >&6
27472 echo "$as_me:$LINENO: result: no" >&5
27473 echo "${ECHO_T}no" >&6
27477 if test x
$PKG_CONFIG != xno
; then
27478 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27481 echo "*** pkg-config too old; version 0.7 or better required."
27489 min_gtk_version
=2.0.0
27490 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27491 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27493 if test x
$PKG_CONFIG != xno
; then
27494 ## don't try to run the test against uninstalled libtool libs
27495 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27496 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27500 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27507 if test x
"$no_gtk" = x
; then
27508 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27509 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27510 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27511 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27512 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27513 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27514 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27515 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27516 if test "x$enable_gtktest" = "xyes" ; then
27517 ac_save_CFLAGS
="$CFLAGS"
27518 ac_save_LIBS
="$LIBS"
27519 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27520 LIBS
="$GTK_LIBS $LIBS"
27522 if test "$cross_compiling" = yes; then
27523 echo $ac_n "cross compiling; assumed OK... $ac_c"
27525 cat >conftest.
$ac_ext <<_ACEOF
27528 cat confdefs.h
>>conftest.
$ac_ext
27529 cat >>conftest.
$ac_ext <<_ACEOF
27530 /* end confdefs.h. */
27532 #include <gtk/gtk.h>
27534 #include <stdlib.h>
27539 int major, minor, micro;
27542 system ("touch conf.gtktest");
27544 /* HP/UX 9 (%@#!) writes to sscanf strings */
27545 tmp_version = g_strdup("$min_gtk_version");
27546 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27547 printf("%s, bad version string\n", "$min_gtk_version");
27551 if ((gtk_major_version != $gtk_config_major_version) ||
27552 (gtk_minor_version != $gtk_config_minor_version) ||
27553 (gtk_micro_version != $gtk_config_micro_version))
27555 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27556 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27557 gtk_major_version, gtk_minor_version, gtk_micro_version);
27558 printf ("*** was found! If pkg-config was correct, then it is best\n");
27559 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27560 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27561 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27562 printf("*** required on your system.\n");
27563 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27564 printf("*** to point to the correct configuration files\n");
27566 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27567 (gtk_minor_version != GTK_MINOR_VERSION) ||
27568 (gtk_micro_version != GTK_MICRO_VERSION))
27570 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27571 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27572 printf("*** library (version %d.%d.%d)\n",
27573 gtk_major_version, gtk_minor_version, gtk_micro_version);
27577 if ((gtk_major_version > major) ||
27578 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27579 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27585 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27586 gtk_major_version, gtk_minor_version, gtk_micro_version);
27587 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27588 major, minor, micro);
27589 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27591 printf("*** If you have already installed a sufficiently new version, this error\n");
27592 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27593 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27594 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27595 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27596 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27597 printf("*** so that the correct libraries are found at run-time))\n");
27604 rm -f conftest
$ac_exeext
27605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27606 (eval $ac_link) 2>&5
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27611 (eval $ac_try) 2>&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); }; }; then
27617 echo "$as_me: program exited with status $ac_status" >&5
27618 echo "$as_me: failed program was:" >&5
27619 sed 's/^/| /' conftest.
$ac_ext >&5
27621 ( exit $ac_status )
27624 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27626 CFLAGS
="$ac_save_CFLAGS"
27627 LIBS
="$ac_save_LIBS"
27630 if test "x$no_gtk" = x
; then
27631 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27632 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27635 echo "$as_me:$LINENO: result: no" >&5
27636 echo "${ECHO_T}no" >&6
27637 if test "$PKG_CONFIG" = "no" ; then
27638 echo "*** A new enough version of pkg-config was not found."
27639 echo "*** See http://pkgconfig.sourceforge.net"
27641 if test -f conf.gtktest
; then
27644 echo "*** Could not run GTK+ test program, checking why..."
27645 ac_save_CFLAGS
="$CFLAGS"
27646 ac_save_LIBS
="$LIBS"
27647 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27648 LIBS
="$LIBS $GTK_LIBS"
27649 cat >conftest.
$ac_ext <<_ACEOF
27652 cat confdefs.h
>>conftest.
$ac_ext
27653 cat >>conftest.
$ac_ext <<_ACEOF
27654 /* end confdefs.h. */
27656 #include <gtk/gtk.h>
27662 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27667 rm -f conftest.
$ac_objext conftest
$ac_exeext
27668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27669 (eval $ac_link) 2>conftest.er1
27671 grep -v '^ *+' conftest.er1
>conftest.err
27673 cat conftest.err
>&5
27674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675 (exit $ac_status); } &&
27676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27678 (eval $ac_try) 2>&5
27680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27681 (exit $ac_status); }; } &&
27682 { ac_try
='test -s conftest$ac_exeext'
27683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27684 (eval $ac_try) 2>&5
27686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27687 (exit $ac_status); }; }; then
27688 echo "*** The test program compiled, but did not run. This usually means"
27689 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27690 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27691 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27692 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27693 echo "*** is required on your system"
27695 echo "*** If you have an old version installed, it is best to remove it, although"
27696 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27698 echo "$as_me: failed program was:" >&5
27699 sed 's/^/| /' conftest.
$ac_ext >&5
27701 echo "*** The test program failed to compile or link. See the file config.log for the"
27702 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27704 rm -f conftest.err conftest.
$ac_objext \
27705 conftest
$ac_exeext conftest.
$ac_ext
27706 CFLAGS
="$ac_save_CFLAGS"
27707 LIBS
="$ac_save_LIBS"
27721 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27722 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27723 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27725 if test "$wxUSE_SHARED" != "yes"; then
27726 GTK_LIBS
="$GTK_LIBS -lX11"
27731 if test -z "$wx_cv_lib_gtk"; then
27732 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27734 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27735 if test "${with_gtk_prefix+set}" = set; then
27736 withval
="$with_gtk_prefix"
27737 gtk_config_prefix
="$withval"
27739 gtk_config_prefix
=""
27742 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27743 if test "${with_gtk_exec_prefix+set}" = set; then
27744 withval
="$with_gtk_exec_prefix"
27745 gtk_config_exec_prefix
="$withval"
27747 gtk_config_exec_prefix
=""
27749 # Check whether --enable-gtktest or --disable-gtktest was given.
27750 if test "${enable_gtktest+set}" = set; then
27751 enableval
="$enable_gtktest"
27757 for module
in .
$GTK_MODULES
27761 gtk_config_args
="$gtk_config_args gthread"
27766 if test x
$gtk_config_exec_prefix != x
; then
27767 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27768 if test x
${GTK_CONFIG+set} != xset
; then
27769 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27772 if test x
$gtk_config_prefix != x
; then
27773 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27774 if test x
${GTK_CONFIG+set} != xset
; then
27775 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27779 # Extract the first word of "gtk-config", so it can be a program name with args.
27780 set dummy gtk
-config; ac_word
=$2
27781 echo "$as_me:$LINENO: checking for $ac_word" >&5
27782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27783 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27784 echo $ECHO_N "(cached) $ECHO_C" >&6
27786 case $GTK_CONFIG in
27788 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27792 for as_dir
in $PATH
27795 test -z "$as_dir" && as_dir
=.
27796 for ac_exec_ext
in '' $ac_executable_extensions; do
27797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27798 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27805 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27809 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27811 if test -n "$GTK_CONFIG"; then
27812 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27813 echo "${ECHO_T}$GTK_CONFIG" >&6
27815 echo "$as_me:$LINENO: result: no" >&5
27816 echo "${ECHO_T}no" >&6
27819 min_gtk_version
=1.2.7
27820 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27821 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27823 if test "$GTK_CONFIG" = "no" ; then
27826 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27827 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27828 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27830 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27832 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27834 if test "x$enable_gtktest" = "xyes" ; then
27835 ac_save_CFLAGS
="$CFLAGS"
27836 ac_save_LIBS
="$LIBS"
27837 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27838 LIBS
="$GTK_LIBS $LIBS"
27840 if test "$cross_compiling" = yes; then
27841 echo $ac_n "cross compiling; assumed OK... $ac_c"
27843 cat >conftest.
$ac_ext <<_ACEOF
27846 cat confdefs.h
>>conftest.
$ac_ext
27847 cat >>conftest.
$ac_ext <<_ACEOF
27848 /* end confdefs.h. */
27850 #include <gtk/gtk.h>
27852 #include <stdlib.h>
27857 int major, minor, micro;
27860 system ("touch conf.gtktest");
27862 /* HP/UX 9 (%@#!) writes to sscanf strings */
27863 tmp_version = g_strdup("$min_gtk_version");
27864 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27865 printf("%s, bad version string\n", "$min_gtk_version");
27869 if ((gtk_major_version != $gtk_config_major_version) ||
27870 (gtk_minor_version != $gtk_config_minor_version) ||
27871 (gtk_micro_version != $gtk_config_micro_version))
27873 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27874 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27875 gtk_major_version, gtk_minor_version, gtk_micro_version);
27876 printf ("*** was found! If gtk-config was correct, then it is best\n");
27877 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27878 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27879 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27880 printf("*** required on your system.\n");
27881 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27882 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27883 printf("*** before re-running configure\n");
27885 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27886 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27887 (gtk_minor_version != GTK_MINOR_VERSION) ||
27888 (gtk_micro_version != GTK_MICRO_VERSION))
27890 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27891 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27892 printf("*** library (version %d.%d.%d)\n",
27893 gtk_major_version, gtk_minor_version, gtk_micro_version);
27895 #endif /* defined (GTK_MAJOR_VERSION) ... */
27898 if ((gtk_major_version > major) ||
27899 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27900 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27906 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27907 gtk_major_version, gtk_minor_version, gtk_micro_version);
27908 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27909 major, minor, micro);
27910 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27912 printf("*** If you have already installed a sufficiently new version, this error\n");
27913 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27914 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27915 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27916 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27917 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27918 printf("*** so that the correct libraries are found at run-time))\n");
27925 rm -f conftest
$ac_exeext
27926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27927 (eval $ac_link) 2>&5
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27932 (eval $ac_try) 2>&5
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); }; }; then
27938 echo "$as_me: program exited with status $ac_status" >&5
27939 echo "$as_me: failed program was:" >&5
27940 sed 's/^/| /' conftest.
$ac_ext >&5
27942 ( exit $ac_status )
27945 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27947 CFLAGS
="$ac_save_CFLAGS"
27948 LIBS
="$ac_save_LIBS"
27951 if test "x$no_gtk" = x
; then
27952 echo "$as_me:$LINENO: result: yes" >&5
27953 echo "${ECHO_T}yes" >&6
27954 wx_cv_lib_gtk
=1.2.7
27956 echo "$as_me:$LINENO: result: no" >&5
27957 echo "${ECHO_T}no" >&6
27958 if test "$GTK_CONFIG" = "no" ; then
27959 echo "*** The gtk-config script installed by GTK could not be found"
27960 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27961 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27962 echo "*** full path to gtk-config."
27964 if test -f conf.gtktest
; then
27967 echo "*** Could not run GTK test program, checking why..."
27968 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27969 LIBS
="$LIBS $GTK_LIBS"
27970 cat >conftest.
$ac_ext <<_ACEOF
27973 cat confdefs.h
>>conftest.
$ac_ext
27974 cat >>conftest.
$ac_ext <<_ACEOF
27975 /* end confdefs.h. */
27977 #include <gtk/gtk.h>
27983 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27988 rm -f conftest.
$ac_objext conftest
$ac_exeext
27989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27990 (eval $ac_link) 2>conftest.er1
27992 grep -v '^ *+' conftest.er1
>conftest.err
27994 cat conftest.err
>&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); } &&
27997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27999 (eval $ac_try) 2>&5
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); }; } &&
28003 { ac_try
='test -s conftest$ac_exeext'
28004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28005 (eval $ac_try) 2>&5
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); }; }; then
28009 echo "*** The test program compiled, but did not run. This usually means"
28010 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28011 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28012 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28013 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28014 echo "*** is required on your system"
28016 echo "*** If you have an old version installed, it is best to remove it, although"
28017 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28019 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28020 echo "*** came with the system with the command"
28022 echo "*** rpm --erase --nodeps gtk gtk-devel"
28024 echo "$as_me: failed program was:" >&5
28025 sed 's/^/| /' conftest.
$ac_ext >&5
28027 echo "*** The test program failed to compile or link. See the file config.log for the"
28028 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28029 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28030 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28032 rm -f conftest.err conftest.
$ac_objext \
28033 conftest
$ac_exeext conftest.
$ac_ext
28034 CFLAGS
="$ac_save_CFLAGS"
28035 LIBS
="$ac_save_LIBS"
28047 if test -z "$wx_cv_lib_gtk"; then
28049 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28050 if test "${with_gtk_prefix+set}" = set; then
28051 withval
="$with_gtk_prefix"
28052 gtk_config_prefix
="$withval"
28054 gtk_config_prefix
=""
28057 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28058 if test "${with_gtk_exec_prefix+set}" = set; then
28059 withval
="$with_gtk_exec_prefix"
28060 gtk_config_exec_prefix
="$withval"
28062 gtk_config_exec_prefix
=""
28064 # Check whether --enable-gtktest or --disable-gtktest was given.
28065 if test "${enable_gtktest+set}" = set; then
28066 enableval
="$enable_gtktest"
28072 for module
in .
$GTK_MODULES
28076 gtk_config_args
="$gtk_config_args gthread"
28081 if test x
$gtk_config_exec_prefix != x
; then
28082 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28083 if test x
${GTK_CONFIG+set} != xset
; then
28084 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28087 if test x
$gtk_config_prefix != x
; then
28088 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28089 if test x
${GTK_CONFIG+set} != xset
; then
28090 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28094 # Extract the first word of "gtk-config", so it can be a program name with args.
28095 set dummy gtk
-config; ac_word
=$2
28096 echo "$as_me:$LINENO: checking for $ac_word" >&5
28097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28098 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28099 echo $ECHO_N "(cached) $ECHO_C" >&6
28101 case $GTK_CONFIG in
28103 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28107 for as_dir
in $PATH
28110 test -z "$as_dir" && as_dir
=.
28111 for ac_exec_ext
in '' $ac_executable_extensions; do
28112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28113 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28120 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28124 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28126 if test -n "$GTK_CONFIG"; then
28127 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28128 echo "${ECHO_T}$GTK_CONFIG" >&6
28130 echo "$as_me:$LINENO: result: no" >&5
28131 echo "${ECHO_T}no" >&6
28134 min_gtk_version
=1.2.3
28135 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28136 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28138 if test "$GTK_CONFIG" = "no" ; then
28141 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28142 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28143 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28145 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28147 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28149 if test "x$enable_gtktest" = "xyes" ; then
28150 ac_save_CFLAGS
="$CFLAGS"
28151 ac_save_LIBS
="$LIBS"
28152 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28153 LIBS
="$GTK_LIBS $LIBS"
28155 if test "$cross_compiling" = yes; then
28156 echo $ac_n "cross compiling; assumed OK... $ac_c"
28158 cat >conftest.
$ac_ext <<_ACEOF
28161 cat confdefs.h
>>conftest.
$ac_ext
28162 cat >>conftest.
$ac_ext <<_ACEOF
28163 /* end confdefs.h. */
28165 #include <gtk/gtk.h>
28167 #include <stdlib.h>
28172 int major, minor, micro;
28175 system ("touch conf.gtktest");
28177 /* HP/UX 9 (%@#!) writes to sscanf strings */
28178 tmp_version = g_strdup("$min_gtk_version");
28179 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28180 printf("%s, bad version string\n", "$min_gtk_version");
28184 if ((gtk_major_version != $gtk_config_major_version) ||
28185 (gtk_minor_version != $gtk_config_minor_version) ||
28186 (gtk_micro_version != $gtk_config_micro_version))
28188 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28189 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28190 gtk_major_version, gtk_minor_version, gtk_micro_version);
28191 printf ("*** was found! If gtk-config was correct, then it is best\n");
28192 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28193 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28194 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28195 printf("*** required on your system.\n");
28196 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28197 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28198 printf("*** before re-running configure\n");
28200 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28201 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28202 (gtk_minor_version != GTK_MINOR_VERSION) ||
28203 (gtk_micro_version != GTK_MICRO_VERSION))
28205 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28206 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28207 printf("*** library (version %d.%d.%d)\n",
28208 gtk_major_version, gtk_minor_version, gtk_micro_version);
28210 #endif /* defined (GTK_MAJOR_VERSION) ... */
28213 if ((gtk_major_version > major) ||
28214 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28215 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28221 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28222 gtk_major_version, gtk_minor_version, gtk_micro_version);
28223 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28224 major, minor, micro);
28225 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28227 printf("*** If you have already installed a sufficiently new version, this error\n");
28228 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28229 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28230 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28231 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28232 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28233 printf("*** so that the correct libraries are found at run-time))\n");
28240 rm -f conftest
$ac_exeext
28241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28242 (eval $ac_link) 2>&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28247 (eval $ac_try) 2>&5
28249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28250 (exit $ac_status); }; }; then
28253 echo "$as_me: program exited with status $ac_status" >&5
28254 echo "$as_me: failed program was:" >&5
28255 sed 's/^/| /' conftest.
$ac_ext >&5
28257 ( exit $ac_status )
28260 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28262 CFLAGS
="$ac_save_CFLAGS"
28263 LIBS
="$ac_save_LIBS"
28266 if test "x$no_gtk" = x
; then
28267 echo "$as_me:$LINENO: result: yes" >&5
28268 echo "${ECHO_T}yes" >&6
28269 wx_cv_lib_gtk
=1.2.3
28271 echo "$as_me:$LINENO: result: no" >&5
28272 echo "${ECHO_T}no" >&6
28273 if test "$GTK_CONFIG" = "no" ; then
28274 echo "*** The gtk-config script installed by GTK could not be found"
28275 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28276 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28277 echo "*** full path to gtk-config."
28279 if test -f conf.gtktest
; then
28282 echo "*** Could not run GTK test program, checking why..."
28283 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28284 LIBS
="$LIBS $GTK_LIBS"
28285 cat >conftest.
$ac_ext <<_ACEOF
28288 cat confdefs.h
>>conftest.
$ac_ext
28289 cat >>conftest.
$ac_ext <<_ACEOF
28290 /* end confdefs.h. */
28292 #include <gtk/gtk.h>
28298 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28303 rm -f conftest.
$ac_objext conftest
$ac_exeext
28304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28305 (eval $ac_link) 2>conftest.er1
28307 grep -v '^ *+' conftest.er1
>conftest.err
28309 cat conftest.err
>&5
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); } &&
28312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28314 (eval $ac_try) 2>&5
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); }; } &&
28318 { ac_try
='test -s conftest$ac_exeext'
28319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28320 (eval $ac_try) 2>&5
28322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323 (exit $ac_status); }; }; then
28324 echo "*** The test program compiled, but did not run. This usually means"
28325 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28326 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28327 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28328 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28329 echo "*** is required on your system"
28331 echo "*** If you have an old version installed, it is best to remove it, although"
28332 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28334 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28335 echo "*** came with the system with the command"
28337 echo "*** rpm --erase --nodeps gtk gtk-devel"
28339 echo "$as_me: failed program was:" >&5
28340 sed 's/^/| /' conftest.
$ac_ext >&5
28342 echo "*** The test program failed to compile or link. See the file config.log for the"
28343 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28344 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28345 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28347 rm -f conftest.err conftest.
$ac_objext \
28348 conftest
$ac_exeext conftest.
$ac_ext
28349 CFLAGS
="$ac_save_CFLAGS"
28350 LIBS
="$ac_save_LIBS"
28365 if test -z "$wx_cv_lib_gtk"; then
28368 wx_cv_cflags_gtk
=$GTK_CFLAGS
28369 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28376 if test "$gtk_version_cached" = 1; then
28377 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28378 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28381 case "$wx_cv_lib_gtk" in
28390 *) { { echo "$as_me:$LINENO: error:
28391 The development files for GTK+ were not found. For GTK+ 2, please
28392 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28393 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28394 and that the version is 1.2.3 or above. Also check that the
28395 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28396 --libs' are in the LD_LIBRARY_PATH or equivalent.
28398 echo "$as_me: error:
28399 The development files for GTK+ were not found. For GTK+ 2, please
28400 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28401 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28402 and that the version is 1.2.3 or above. Also check that the
28403 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28404 --libs' are in the LD_LIBRARY_PATH or equivalent.
28406 { (exit 1); exit 1; }; }
28410 if test "$WXGTK20" = 1; then
28411 save_CFLAGS
="$CFLAGS"
28413 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28414 LIBS
="$LIBS $wx_cv_libs_gtk"
28416 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28417 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28418 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28419 echo $ECHO_N "(cached) $ECHO_C" >&6
28421 cat >conftest.
$ac_ext <<_ACEOF
28424 cat confdefs.h
>>conftest.
$ac_ext
28425 cat >>conftest.
$ac_ext <<_ACEOF
28426 /* end confdefs.h. */
28427 #include <gtk/gtk.h>
28432 #ifndef gtk_icon_size_lookup
28433 char *p = (char *) gtk_icon_size_lookup;
28440 rm -f conftest.
$ac_objext
28441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28442 (eval $ac_compile) 2>conftest.er1
28444 grep -v '^ *+' conftest.er1
>conftest.err
28446 cat conftest.err
>&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); } &&
28449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28451 (eval $ac_try) 2>&5
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); }; } &&
28455 { ac_try
='test -s conftest.$ac_objext'
28456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28457 (eval $ac_try) 2>&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); }; }; then
28461 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28463 echo "$as_me: failed program was:" >&5
28464 sed 's/^/| /' conftest.
$ac_ext >&5
28466 ac_cv_have_decl_gtk_icon_size_lookup
=no
28468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28470 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28471 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28472 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28474 cat >>confdefs.h
<<_ACEOF
28475 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28480 cat >>confdefs.h
<<_ACEOF
28481 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28484 cat >>confdefs.h
<<\_ACEOF
28485 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28492 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28493 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28494 cat >conftest.
$ac_ext <<_ACEOF
28497 cat confdefs.h
>>conftest.
$ac_ext
28498 cat >>conftest.
$ac_ext <<_ACEOF
28499 /* end confdefs.h. */
28501 #include <gtk/gtk.h>
28507 #if !GTK_CHECK_VERSION(2,6,0)
28515 rm -f conftest.
$ac_objext
28516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28517 (eval $ac_compile) 2>conftest.er1
28519 grep -v '^ *+' conftest.er1
>conftest.err
28521 cat conftest.err
>&5
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); } &&
28524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28526 (eval $ac_try) 2>&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); }; } &&
28530 { ac_try
='test -s conftest.$ac_objext'
28531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28532 (eval $ac_try) 2>&5
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); }; }; then
28537 cat >>confdefs.h
<<\_ACEOF
28538 #define __WXGTK26__ 1
28541 cat >>confdefs.h
<<\_ACEOF
28542 #define __WXGTK24__ 1
28545 echo "$as_me:$LINENO: result: yes" >&5
28546 echo "${ECHO_T}yes" >&6
28550 echo "$as_me: failed program was:" >&5
28551 sed 's/^/| /' conftest.
$ac_ext >&5
28554 echo "$as_me:$LINENO: result: no" >&5
28555 echo "${ECHO_T}no" >&6
28559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28561 if test "$ac_wxgtk26" = 0; then
28562 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28563 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28564 cat >conftest.
$ac_ext <<_ACEOF
28567 cat confdefs.h
>>conftest.
$ac_ext
28568 cat >>conftest.
$ac_ext <<_ACEOF
28569 /* end confdefs.h. */
28571 #include <gtk/gtk.h>
28577 #if !GTK_CHECK_VERSION(2,4,0)
28585 rm -f conftest.
$ac_objext
28586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28587 (eval $ac_compile) 2>conftest.er1
28589 grep -v '^ *+' conftest.er1
>conftest.err
28591 cat conftest.err
>&5
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); } &&
28594 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; } &&
28600 { ac_try
='test -s conftest.$ac_objext'
28601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28602 (eval $ac_try) 2>&5
28604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28605 (exit $ac_status); }; }; then
28607 cat >>confdefs.h
<<\_ACEOF
28608 #define __WXGTK24__ 1
28611 echo "$as_me:$LINENO: result: yes" >&5
28612 echo "${ECHO_T}yes" >&6
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.
$ac_ext >&5
28619 echo "$as_me:$LINENO: result: no" >&5
28620 echo "${ECHO_T}no" >&6
28623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28626 CFLAGS
="$save_CFLAGS"
28629 if test "$wxUSE_UNICODE" = "yes"; then
28630 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28631 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28635 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28636 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28637 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28638 echo $ECHO_N "(cached) $ECHO_C" >&6
28640 ac_check_lib_save_LIBS
=$LIBS
28642 cat >conftest.
$ac_ext <<_ACEOF
28645 cat confdefs.h
>>conftest.
$ac_ext
28646 cat >>conftest.
$ac_ext <<_ACEOF
28647 /* end confdefs.h. */
28649 /* Override any gcc2 internal prototype to avoid an error. */
28653 /* We use char because int might match the return type of a gcc2
28654 builtin and then its argument prototype would still apply. */
28655 char gdk_im_open ();
28664 rm -f conftest.
$ac_objext conftest
$ac_exeext
28665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28666 (eval $ac_link) 2>conftest.er1
28668 grep -v '^ *+' conftest.er1
>conftest.err
28670 cat conftest.err
>&5
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); } &&
28673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28675 (eval $ac_try) 2>&5
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); }; } &&
28679 { ac_try
='test -s conftest$ac_exeext'
28680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28681 (eval $ac_try) 2>&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); }; }; then
28685 ac_cv_lib_gdk_gdk_im_open
=yes
28687 echo "$as_me: failed program was:" >&5
28688 sed 's/^/| /' conftest.
$ac_ext >&5
28690 ac_cv_lib_gdk_gdk_im_open
=no
28692 rm -f conftest.err conftest.
$ac_objext \
28693 conftest
$ac_exeext conftest.
$ac_ext
28694 LIBS
=$ac_check_lib_save_LIBS
28696 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28697 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28698 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28699 cat >>confdefs.h
<<\_ACEOF
28707 if test "$USE_DARWIN" != 1; then
28709 for ac_func
in poll
28711 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28712 echo "$as_me:$LINENO: checking for $ac_func" >&5
28713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28714 if eval "test \"\${$as_ac_var+set}\" = set"; then
28715 echo $ECHO_N "(cached) $ECHO_C" >&6
28717 cat >conftest.
$ac_ext <<_ACEOF
28720 cat confdefs.h
>>conftest.
$ac_ext
28721 cat >>conftest.
$ac_ext <<_ACEOF
28722 /* end confdefs.h. */
28723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28725 #define $ac_func innocuous_$ac_func
28727 /* System header to define __stub macros and hopefully few prototypes,
28728 which can conflict with char $ac_func (); below.
28729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28730 <limits.h> exists even on freestanding compilers. */
28733 # include <limits.h>
28735 # include <assert.h>
28740 /* Override any gcc2 internal prototype to avoid an error. */
28745 /* We use char because int might match the return type of a gcc2
28746 builtin and then its argument prototype would still apply. */
28748 /* The GNU C library defines this for functions which it implements
28749 to always fail with ENOSYS. Some functions are actually named
28750 something starting with __ and the normal name is an alias. */
28751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28754 char (*f) () = $ac_func;
28763 return f != $ac_func;
28768 rm -f conftest.
$ac_objext conftest
$ac_exeext
28769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28770 (eval $ac_link) 2>conftest.er1
28772 grep -v '^ *+' conftest.er1
>conftest.err
28774 cat conftest.err
>&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } &&
28777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28779 (eval $ac_try) 2>&5
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); }; } &&
28783 { ac_try
='test -s conftest$ac_exeext'
28784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28785 (eval $ac_try) 2>&5
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); }; }; then
28789 eval "$as_ac_var=yes"
28791 echo "$as_me: failed program was:" >&5
28792 sed 's/^/| /' conftest.
$ac_ext >&5
28794 eval "$as_ac_var=no"
28796 rm -f conftest.err conftest.
$ac_objext \
28797 conftest
$ac_exeext conftest.
$ac_ext
28799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28801 if test `eval echo '${'$as_ac_var'}'` = yes; then
28802 cat >>confdefs.h
<<_ACEOF
28803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28811 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28812 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28814 AFMINSTALL
=afminstall
28818 if test "$wxUSE_GPE" = "yes"; then
28819 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28820 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28823 for ac_dir
in $SEARCH_LIB;
28825 for ac_extension
in a so sl dylib dll.a
; do
28826 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28827 ac_find_libraries
=$ac_dir
28833 if test "$ac_find_libraries" != "" ; then
28835 if test "$ac_find_libraries" = "default location"; then
28838 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28840 if test $result = 0; then
28843 ac_path_to_link
=" -L$ac_find_libraries"
28847 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28849 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28850 echo "${ECHO_T}found in $ac_find_libraries" >&6
28852 echo "$as_me:$LINENO: result: not found" >&5
28853 echo "${ECHO_T}not found" >&6
28859 if test "$wxUSE_MGL" = 1; then
28860 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28861 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28862 if test "x$MGL_ROOT" = x
; then
28863 echo "$as_me:$LINENO: result: not found" >&5
28864 echo "${ECHO_T}not found" >&6
28865 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28866 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28867 { (exit 1); exit 1; }; }
28869 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28870 echo "${ECHO_T}$MGL_ROOT" >&6
28873 echo "$as_me:$LINENO: checking for libmgl location" >&5
28874 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28877 if test "x$wxUSE_SHARED" = xyes
; then
28878 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28880 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28884 mgl_os_candidates
="dos32/dj2"
28887 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28888 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28889 { (exit 1); exit 1; }; }
28895 for mgl_os_i
in $mgl_os_candidates ; do
28896 if test "x$mgl_os" = x
; then
28897 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28898 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
28899 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
28904 if test "x$mgl_lib_type" = x
; then
28905 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
28906 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
28907 mgl_lib_type
=release
28914 if test "x$mgl_os" = x
; then
28915 echo "$as_me:$LINENO: result: not found" >&5
28916 echo "${ECHO_T}not found" >&6
28917 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28918 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28919 { (exit 1); exit 1; }; }
28921 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28922 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28924 wxUSE_UNIVERSAL
="yes"
28926 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
28927 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28929 AFMINSTALL
=afminstall
28934 if test "$wxUSE_DFB" = 1; then
28937 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28938 if test -n "$ac_tool_prefix"; then
28939 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28940 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28941 echo "$as_me:$LINENO: checking for $ac_word" >&5
28942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28943 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28944 echo $ECHO_N "(cached) $ECHO_C" >&6
28946 case $PKG_CONFIG in
28948 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28952 for as_dir
in $PATH
28955 test -z "$as_dir" && as_dir
=.
28956 for ac_exec_ext
in '' $ac_executable_extensions; do
28957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28958 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28968 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28970 if test -n "$PKG_CONFIG"; then
28971 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28972 echo "${ECHO_T}$PKG_CONFIG" >&6
28974 echo "$as_me:$LINENO: result: no" >&5
28975 echo "${ECHO_T}no" >&6
28979 if test -z "$ac_cv_path_PKG_CONFIG"; then
28980 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28981 # Extract the first word of "pkg-config", so it can be a program name with args.
28982 set dummy pkg
-config; ac_word
=$2
28983 echo "$as_me:$LINENO: checking for $ac_word" >&5
28984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28985 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28986 echo $ECHO_N "(cached) $ECHO_C" >&6
28988 case $ac_pt_PKG_CONFIG in
28990 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28994 for as_dir
in $PATH
28997 test -z "$as_dir" && as_dir
=.
28998 for ac_exec_ext
in '' $ac_executable_extensions; do
28999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29000 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29010 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29012 if test -n "$ac_pt_PKG_CONFIG"; then
29013 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29014 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29016 echo "$as_me:$LINENO: result: no" >&5
29017 echo "${ECHO_T}no" >&6
29020 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29022 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29026 if test -n "$PKG_CONFIG"; then
29027 _pkg_min_version
=0.9.0
29028 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29029 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29030 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29031 echo "$as_me:$LINENO: result: yes" >&5
29032 echo "${ECHO_T}yes" >&6
29034 echo "$as_me:$LINENO: result: no" >&5
29035 echo "${ECHO_T}no" >&6
29043 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29044 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29046 if test -n "$PKG_CONFIG"; then
29047 if test -n "$DIRECTFB_CFLAGS"; then
29048 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29050 if test -n "$PKG_CONFIG" && \
29051 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29052 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); }; then
29056 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29064 if test -n "$PKG_CONFIG"; then
29065 if test -n "$DIRECTFB_LIBS"; then
29066 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29068 if test -n "$PKG_CONFIG" && \
29069 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29070 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29073 (exit $ac_status); }; then
29074 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29085 if test $pkg_failed = yes; then
29087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29088 _pkg_short_errors_supported
=yes
29090 _pkg_short_errors_supported
=no
29092 if test $_pkg_short_errors_supported = yes; then
29093 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29095 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29097 # Put the nasty error message in config.log where it belongs
29098 echo "$DIRECTFB_PKG_ERRORS" >&5
29101 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29102 echo "$as_me: error: DirectFB not found." >&2;}
29103 { (exit 1); exit 1; }; }
29106 elif test $pkg_failed = untried
; then
29108 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29109 echo "$as_me: error: DirectFB not found." >&2;}
29110 { (exit 1); exit 1; }; }
29114 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29115 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29116 echo "$as_me:$LINENO: result: yes" >&5
29117 echo "${ECHO_T}yes" >&6
29119 wxUSE_UNIVERSAL
="yes"
29120 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29121 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29128 if test "$wxUSE_MICROWIN" = 1; then
29129 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29130 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29131 if test "x$MICROWINDOWS" = x
; then
29132 echo "$as_me:$LINENO: result: not found" >&5
29133 echo "${ECHO_T}not found" >&6
29134 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29135 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29136 { (exit 1); exit 1; }; }
29138 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29139 echo "${ECHO_T}$MICROWINDOWS" >&6
29142 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29143 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29144 echo "${ECHO_T}MicroWindows' libraries found." >&6
29146 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29147 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29148 { (exit 1); exit 1; }; }
29151 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29152 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29154 wxUSE_UNIVERSAL
="yes"
29156 AFMINSTALL
=afminstall
29158 GUIDIST
=MICROWIN_DIST
29160 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29163 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29165 if test "x$ac_path_x_has_been_run" != xyes
; then
29166 echo "$as_me:$LINENO: checking for X" >&5
29167 echo $ECHO_N "checking for X... $ECHO_C" >&6
29169 ac_path_x_has_been_run
=yes
29171 # Check whether --with-x or --without-x was given.
29172 if test "${with_x+set}" = set; then
29176 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29177 if test "x$with_x" = xno
; then
29178 # The user explicitly disabled X.
29181 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29182 # Both variables are already set.
29185 if test "${ac_cv_have_x+set}" = set; then
29186 echo $ECHO_N "(cached) $ECHO_C" >&6
29188 # One or both of the vars are not set, and there is no cached value.
29189 ac_x_includes
=no ac_x_libraries
=no
29190 rm -fr conftest.dir
29191 if mkdir conftest.dir
; then
29193 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29194 cat >Imakefile
<<'_ACEOF'
29196 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29198 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29199 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29200 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29201 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29202 for ac_extension
in a so sl
; do
29203 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29204 test -f $ac_im_libdir/libX11.
$ac_extension; then
29205 ac_im_usrlibdir
=$ac_im_libdir; break
29208 # Screen out bogus values from the imake configuration. They are
29209 # bogus both because they are the default anyway, and because
29210 # using them would break gcc on systems where it needs fixed includes.
29211 case $ac_im_incroot in
29213 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29215 case $ac_im_usrlibdir in
29216 /usr
/lib
| /lib
) ;;
29217 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29221 rm -fr conftest.dir
29224 # Standard set of common directories for X headers.
29225 # Check X11 before X11Rn because it is often a symlink to the current release.
29237 /usr/local/X11/include
29238 /usr/local/X11R6/include
29239 /usr/local/X11R5/include
29240 /usr/local/X11R4/include
29242 /usr/local/include/X11
29243 /usr/local/include/X11R6
29244 /usr/local/include/X11R5
29245 /usr/local/include/X11R4
29249 /usr/XFree86/include/X11
29253 /usr/unsupported/include
29254 /usr/athena/include
29255 /usr/local/x11r5/include
29256 /usr/lpp/Xamples/include
29258 /usr/openwin/include
29259 /usr/openwin/share/include'
29261 if test "$ac_x_includes" = no
; then
29262 # Guess where to find include files, by looking for a specified header file.
29263 # First, try using that file with no special directory specified.
29264 cat >conftest.
$ac_ext <<_ACEOF
29267 cat confdefs.h
>>conftest.
$ac_ext
29268 cat >>conftest.
$ac_ext <<_ACEOF
29269 /* end confdefs.h. */
29270 #include <X11/Xlib.h>
29272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29273 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29275 grep -v '^ *+' conftest.er1
>conftest.err
29277 cat conftest.err
>&5
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); } >/dev
/null
; then
29280 if test -s conftest.err
; then
29281 ac_cpp_err
=$ac_c_preproc_warn_flag
29282 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29289 if test -z "$ac_cpp_err"; then
29290 # We can compile using X headers with no special include directory.
29293 echo "$as_me: failed program was:" >&5
29294 sed 's/^/| /' conftest.
$ac_ext >&5
29296 for ac_dir
in $ac_x_header_dirs; do
29297 if test -r "$ac_dir/X11/Xlib.h"; then
29298 ac_x_includes
=$ac_dir
29303 rm -f conftest.err conftest.
$ac_ext
29304 fi # $ac_x_includes = no
29306 if test "$ac_x_libraries" = no
; then
29307 # Check for the libraries.
29308 # See if we find them without any special options.
29309 # Don't add to $LIBS permanently.
29312 cat >conftest.
$ac_ext <<_ACEOF
29315 cat confdefs.h
>>conftest.
$ac_ext
29316 cat >>conftest.
$ac_ext <<_ACEOF
29317 /* end confdefs.h. */
29318 #include <X11/Xlib.h>
29327 rm -f conftest.
$ac_objext conftest
$ac_exeext
29328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29329 (eval $ac_link) 2>conftest.er1
29331 grep -v '^ *+' conftest.er1
>conftest.err
29333 cat conftest.err
>&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } &&
29336 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29338 (eval $ac_try) 2>&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); }; } &&
29342 { ac_try
='test -s conftest$ac_exeext'
29343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29344 (eval $ac_try) 2>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); }; }; then
29349 # We can link X programs with no special library path.
29352 echo "$as_me: failed program was:" >&5
29353 sed 's/^/| /' conftest.
$ac_ext >&5
29356 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29358 # Don't even attempt the hair of trying to link an X program!
29359 for ac_extension
in a so sl
; do
29360 if test -r $ac_dir/libX11.
$ac_extension; then
29361 ac_x_libraries
=$ac_dir
29367 rm -f conftest.err conftest.
$ac_objext \
29368 conftest
$ac_exeext conftest.
$ac_ext
29369 fi # $ac_x_libraries = no
29371 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29372 # Didn't find X anywhere. Cache the known absence of X.
29373 ac_cv_have_x
="have_x=no"
29375 # Record where we found X for the cache.
29376 ac_cv_have_x
="have_x=yes \
29377 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29382 eval "$ac_cv_have_x"
29385 if test "$have_x" != yes; then
29386 echo "$as_me:$LINENO: result: $have_x" >&5
29387 echo "${ECHO_T}$have_x" >&6
29390 # If each of the values was on the command line, it overrides each guess.
29391 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29392 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29393 # Update the cache value to reflect the command line values.
29394 ac_cv_have_x
="have_x=yes \
29395 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29396 # It might be that x_includes is empty (headers are found in the
29397 # standard search path. Then output the corresponding message
29398 ac_out_x_includes
=$x_includes
29399 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29400 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29401 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29405 if test "$no_x" = yes; then
29406 # Not all programs may use this symbol, but it does not hurt to define it.
29408 cat >>confdefs.h
<<\_ACEOF
29409 #define X_DISPLAY_MISSING 1
29412 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29414 if test -n "$x_includes"; then
29415 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29418 # It would also be nice to do this for all -L options, not just this one.
29419 if test -n "$x_libraries"; then
29420 X_LIBS
="$X_LIBS -L$x_libraries"
29421 # For Solaris; some versions of Sun CC require a space after -R and
29422 # others require no space. Words are not sufficient . . . .
29423 case `(uname -sr) 2>/dev/null` in
29425 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29426 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29427 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29428 cat >conftest.
$ac_ext <<_ACEOF
29431 cat confdefs.h
>>conftest.
$ac_ext
29432 cat >>conftest.
$ac_ext <<_ACEOF
29433 /* end confdefs.h. */
29443 rm -f conftest.
$ac_objext conftest
$ac_exeext
29444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29445 (eval $ac_link) 2>conftest.er1
29447 grep -v '^ *+' conftest.er1
>conftest.err
29449 cat conftest.err
>&5
29450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451 (exit $ac_status); } &&
29452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29454 (eval $ac_try) 2>&5
29456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29457 (exit $ac_status); }; } &&
29458 { ac_try
='test -s conftest$ac_exeext'
29459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29460 (eval $ac_try) 2>&5
29462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29463 (exit $ac_status); }; }; then
29466 echo "$as_me: failed program was:" >&5
29467 sed 's/^/| /' conftest.
$ac_ext >&5
29471 rm -f conftest.err conftest.
$ac_objext \
29472 conftest
$ac_exeext conftest.
$ac_ext
29473 if test $ac_R_nospace = yes; then
29474 echo "$as_me:$LINENO: result: no" >&5
29475 echo "${ECHO_T}no" >&6
29476 X_LIBS
="$X_LIBS -R$x_libraries"
29478 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29479 cat >conftest.
$ac_ext <<_ACEOF
29482 cat confdefs.h
>>conftest.
$ac_ext
29483 cat >>conftest.
$ac_ext <<_ACEOF
29484 /* end confdefs.h. */
29494 rm -f conftest.
$ac_objext conftest
$ac_exeext
29495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29496 (eval $ac_link) 2>conftest.er1
29498 grep -v '^ *+' conftest.er1
>conftest.err
29500 cat conftest.err
>&5
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); } &&
29503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29505 (eval $ac_try) 2>&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); }; } &&
29509 { ac_try
='test -s conftest$ac_exeext'
29510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29511 (eval $ac_try) 2>&5
29513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29514 (exit $ac_status); }; }; then
29517 echo "$as_me: failed program was:" >&5
29518 sed 's/^/| /' conftest.
$ac_ext >&5
29522 rm -f conftest.err conftest.
$ac_objext \
29523 conftest
$ac_exeext conftest.
$ac_ext
29524 if test $ac_R_space = yes; then
29525 echo "$as_me:$LINENO: result: yes" >&5
29526 echo "${ECHO_T}yes" >&6
29527 X_LIBS
="$X_LIBS -R $x_libraries"
29529 echo "$as_me:$LINENO: result: neither works" >&5
29530 echo "${ECHO_T}neither works" >&6
29533 LIBS
=$ac_xsave_LIBS
29537 # Check for system-dependent libraries X programs must link with.
29538 # Do this before checking for the system-independent R6 libraries
29539 # (-lICE), since we may need -lsocket or whatever for X linking.
29541 if test "$ISC" = yes; then
29542 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29544 # Martyn Johnson says this is needed for Ultrix, if the X
29545 # libraries were built with DECnet support. And Karl Berry says
29546 # the Alpha needs dnet_stub (dnet does not exist).
29547 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29548 cat >conftest.
$ac_ext <<_ACEOF
29551 cat confdefs.h
>>conftest.
$ac_ext
29552 cat >>conftest.
$ac_ext <<_ACEOF
29553 /* end confdefs.h. */
29555 /* Override any gcc2 internal prototype to avoid an error. */
29559 /* We use char because int might match the return type of a gcc2
29560 builtin and then its argument prototype would still apply. */
29561 char XOpenDisplay ();
29570 rm -f conftest.
$ac_objext conftest
$ac_exeext
29571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29572 (eval $ac_link) 2>conftest.er1
29574 grep -v '^ *+' conftest.er1
>conftest.err
29576 cat conftest.err
>&5
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); } &&
29579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29581 (eval $ac_try) 2>&5
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); }; } &&
29585 { ac_try
='test -s conftest$ac_exeext'
29586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29587 (eval $ac_try) 2>&5
29589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590 (exit $ac_status); }; }; then
29593 echo "$as_me: failed program was:" >&5
29594 sed 's/^/| /' conftest.
$ac_ext >&5
29596 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29597 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29598 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29599 echo $ECHO_N "(cached) $ECHO_C" >&6
29601 ac_check_lib_save_LIBS
=$LIBS
29602 LIBS
="-ldnet $LIBS"
29603 cat >conftest.
$ac_ext <<_ACEOF
29606 cat confdefs.h
>>conftest.
$ac_ext
29607 cat >>conftest.
$ac_ext <<_ACEOF
29608 /* end confdefs.h. */
29610 /* Override any gcc2 internal prototype to avoid an error. */
29614 /* We use char because int might match the return type of a gcc2
29615 builtin and then its argument prototype would still apply. */
29625 rm -f conftest.
$ac_objext conftest
$ac_exeext
29626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29627 (eval $ac_link) 2>conftest.er1
29629 grep -v '^ *+' conftest.er1
>conftest.err
29631 cat conftest.err
>&5
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); } &&
29634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29636 (eval $ac_try) 2>&5
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); }; } &&
29640 { ac_try
='test -s conftest$ac_exeext'
29641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29642 (eval $ac_try) 2>&5
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); }; }; then
29646 ac_cv_lib_dnet_dnet_ntoa
=yes
29648 echo "$as_me: failed program was:" >&5
29649 sed 's/^/| /' conftest.
$ac_ext >&5
29651 ac_cv_lib_dnet_dnet_ntoa
=no
29653 rm -f conftest.err conftest.
$ac_objext \
29654 conftest
$ac_exeext conftest.
$ac_ext
29655 LIBS
=$ac_check_lib_save_LIBS
29657 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29658 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29659 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29660 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29663 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29664 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29665 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29666 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29669 ac_check_lib_save_LIBS
=$LIBS
29670 LIBS
="-ldnet_stub $LIBS"
29671 cat >conftest.
$ac_ext <<_ACEOF
29674 cat confdefs.h
>>conftest.
$ac_ext
29675 cat >>conftest.
$ac_ext <<_ACEOF
29676 /* end confdefs.h. */
29678 /* Override any gcc2 internal prototype to avoid an error. */
29682 /* We use char because int might match the return type of a gcc2
29683 builtin and then its argument prototype would still apply. */
29693 rm -f conftest.
$ac_objext conftest
$ac_exeext
29694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29695 (eval $ac_link) 2>conftest.er1
29697 grep -v '^ *+' conftest.er1
>conftest.err
29699 cat conftest.err
>&5
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); } &&
29702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29704 (eval $ac_try) 2>&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); }; } &&
29708 { ac_try
='test -s conftest$ac_exeext'
29709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29710 (eval $ac_try) 2>&5
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); }; }; then
29714 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.
$ac_ext >&5
29719 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29721 rm -f conftest.err conftest.
$ac_objext \
29722 conftest
$ac_exeext conftest.
$ac_ext
29723 LIBS
=$ac_check_lib_save_LIBS
29725 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29726 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29727 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29728 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29733 rm -f conftest.err conftest.
$ac_objext \
29734 conftest
$ac_exeext conftest.
$ac_ext
29735 LIBS
="$ac_xsave_LIBS"
29737 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29738 # to get the SysV transport functions.
29739 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29741 # The nsl library prevents programs from opening the X display
29742 # on Irix 5.2, according to T.E. Dickey.
29743 # The functions gethostbyname, getservbyname, and inet_addr are
29744 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29745 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29746 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29747 if test "${ac_cv_func_gethostbyname+set}" = set; then
29748 echo $ECHO_N "(cached) $ECHO_C" >&6
29750 cat >conftest.
$ac_ext <<_ACEOF
29753 cat confdefs.h
>>conftest.
$ac_ext
29754 cat >>conftest.
$ac_ext <<_ACEOF
29755 /* end confdefs.h. */
29756 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29758 #define gethostbyname innocuous_gethostbyname
29760 /* System header to define __stub macros and hopefully few prototypes,
29761 which can conflict with char gethostbyname (); below.
29762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29763 <limits.h> exists even on freestanding compilers. */
29766 # include <limits.h>
29768 # include <assert.h>
29771 #undef gethostbyname
29773 /* Override any gcc2 internal prototype to avoid an error. */
29778 /* We use char because int might match the return type of a gcc2
29779 builtin and then its argument prototype would still apply. */
29780 char gethostbyname ();
29781 /* The GNU C library defines this for functions which it implements
29782 to always fail with ENOSYS. Some functions are actually named
29783 something starting with __ and the normal name is an alias. */
29784 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29787 char (*f) () = gethostbyname;
29796 return f != gethostbyname;
29801 rm -f conftest.
$ac_objext conftest
$ac_exeext
29802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29803 (eval $ac_link) 2>conftest.er1
29805 grep -v '^ *+' conftest.er1
>conftest.err
29807 cat conftest.err
>&5
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); } &&
29810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29812 (eval $ac_try) 2>&5
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; } &&
29816 { ac_try
='test -s conftest$ac_exeext'
29817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29818 (eval $ac_try) 2>&5
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); }; }; then
29822 ac_cv_func_gethostbyname
=yes
29824 echo "$as_me: failed program was:" >&5
29825 sed 's/^/| /' conftest.
$ac_ext >&5
29827 ac_cv_func_gethostbyname
=no
29829 rm -f conftest.err conftest.
$ac_objext \
29830 conftest
$ac_exeext conftest.
$ac_ext
29832 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29833 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29835 if test $ac_cv_func_gethostbyname = no
; then
29836 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29837 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29838 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29839 echo $ECHO_N "(cached) $ECHO_C" >&6
29841 ac_check_lib_save_LIBS
=$LIBS
29843 cat >conftest.
$ac_ext <<_ACEOF
29846 cat confdefs.h
>>conftest.
$ac_ext
29847 cat >>conftest.
$ac_ext <<_ACEOF
29848 /* end confdefs.h. */
29850 /* Override any gcc2 internal prototype to avoid an error. */
29854 /* We use char because int might match the return type of a gcc2
29855 builtin and then its argument prototype would still apply. */
29856 char gethostbyname ();
29865 rm -f conftest.
$ac_objext conftest
$ac_exeext
29866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29867 (eval $ac_link) 2>conftest.er1
29869 grep -v '^ *+' conftest.er1
>conftest.err
29871 cat conftest.err
>&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); } &&
29874 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29876 (eval $ac_try) 2>&5
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); }; } &&
29880 { ac_try
='test -s conftest$ac_exeext'
29881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29882 (eval $ac_try) 2>&5
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); }; }; then
29886 ac_cv_lib_nsl_gethostbyname
=yes
29888 echo "$as_me: failed program was:" >&5
29889 sed 's/^/| /' conftest.
$ac_ext >&5
29891 ac_cv_lib_nsl_gethostbyname
=no
29893 rm -f conftest.err conftest.
$ac_objext \
29894 conftest
$ac_exeext conftest.
$ac_ext
29895 LIBS
=$ac_check_lib_save_LIBS
29897 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29898 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29899 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29900 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29903 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29904 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29905 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29906 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29907 echo $ECHO_N "(cached) $ECHO_C" >&6
29909 ac_check_lib_save_LIBS
=$LIBS
29911 cat >conftest.
$ac_ext <<_ACEOF
29914 cat confdefs.h
>>conftest.
$ac_ext
29915 cat >>conftest.
$ac_ext <<_ACEOF
29916 /* end confdefs.h. */
29918 /* Override any gcc2 internal prototype to avoid an error. */
29922 /* We use char because int might match the return type of a gcc2
29923 builtin and then its argument prototype would still apply. */
29924 char gethostbyname ();
29933 rm -f conftest.
$ac_objext conftest
$ac_exeext
29934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29935 (eval $ac_link) 2>conftest.er1
29937 grep -v '^ *+' conftest.er1
>conftest.err
29939 cat conftest.err
>&5
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); } &&
29942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29944 (eval $ac_try) 2>&5
29946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947 (exit $ac_status); }; } &&
29948 { ac_try
='test -s conftest$ac_exeext'
29949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29950 (eval $ac_try) 2>&5
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); }; }; then
29954 ac_cv_lib_bsd_gethostbyname
=yes
29956 echo "$as_me: failed program was:" >&5
29957 sed 's/^/| /' conftest.
$ac_ext >&5
29959 ac_cv_lib_bsd_gethostbyname
=no
29961 rm -f conftest.err conftest.
$ac_objext \
29962 conftest
$ac_exeext conftest.
$ac_ext
29963 LIBS
=$ac_check_lib_save_LIBS
29965 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29966 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29967 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29968 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
29974 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29975 # socket/setsockopt and other routines are undefined under SCO ODT
29976 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29977 # on later versions), says Simon Leinen: it contains gethostby*
29978 # variants that don't use the name server (or something). -lsocket
29979 # must be given before -lnsl if both are needed. We assume that
29980 # if connect needs -lnsl, so does gethostbyname.
29981 echo "$as_me:$LINENO: checking for connect" >&5
29982 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29983 if test "${ac_cv_func_connect+set}" = set; then
29984 echo $ECHO_N "(cached) $ECHO_C" >&6
29986 cat >conftest.
$ac_ext <<_ACEOF
29989 cat confdefs.h
>>conftest.
$ac_ext
29990 cat >>conftest.
$ac_ext <<_ACEOF
29991 /* end confdefs.h. */
29992 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29994 #define connect innocuous_connect
29996 /* System header to define __stub macros and hopefully few prototypes,
29997 which can conflict with char connect (); below.
29998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29999 <limits.h> exists even on freestanding compilers. */
30002 # include <limits.h>
30004 # include <assert.h>
30009 /* Override any gcc2 internal prototype to avoid an error. */
30014 /* We use char because int might match the return type of a gcc2
30015 builtin and then its argument prototype would still apply. */
30017 /* The GNU C library defines this for functions which it implements
30018 to always fail with ENOSYS. Some functions are actually named
30019 something starting with __ and the normal name is an alias. */
30020 #if defined (__stub_connect) || defined (__stub___connect)
30023 char (*f) () = connect;
30032 return f != connect;
30037 rm -f conftest.
$ac_objext conftest
$ac_exeext
30038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30039 (eval $ac_link) 2>conftest.er1
30041 grep -v '^ *+' conftest.er1
>conftest.err
30043 cat conftest.err
>&5
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 (exit $ac_status); } &&
30046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; } &&
30052 { ac_try
='test -s conftest$ac_exeext'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; }; then
30058 ac_cv_func_connect
=yes
30060 echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.
$ac_ext >&5
30063 ac_cv_func_connect
=no
30065 rm -f conftest.err conftest.
$ac_objext \
30066 conftest
$ac_exeext conftest.
$ac_ext
30068 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30069 echo "${ECHO_T}$ac_cv_func_connect" >&6
30071 if test $ac_cv_func_connect = no
; then
30072 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30073 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30074 if test "${ac_cv_lib_socket_connect+set}" = set; then
30075 echo $ECHO_N "(cached) $ECHO_C" >&6
30077 ac_check_lib_save_LIBS
=$LIBS
30078 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30079 cat >conftest.
$ac_ext <<_ACEOF
30082 cat confdefs.h
>>conftest.
$ac_ext
30083 cat >>conftest.
$ac_ext <<_ACEOF
30084 /* end confdefs.h. */
30086 /* Override any gcc2 internal prototype to avoid an error. */
30090 /* We use char because int might match the return type of a gcc2
30091 builtin and then its argument prototype would still apply. */
30101 rm -f conftest.
$ac_objext conftest
$ac_exeext
30102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30103 (eval $ac_link) 2>conftest.er1
30105 grep -v '^ *+' conftest.er1
>conftest.err
30107 cat conftest.err
>&5
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); } &&
30110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30112 (eval $ac_try) 2>&5
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); }; } &&
30116 { ac_try
='test -s conftest$ac_exeext'
30117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30118 (eval $ac_try) 2>&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); }; }; then
30122 ac_cv_lib_socket_connect
=yes
30124 echo "$as_me: failed program was:" >&5
30125 sed 's/^/| /' conftest.
$ac_ext >&5
30127 ac_cv_lib_socket_connect
=no
30129 rm -f conftest.err conftest.
$ac_objext \
30130 conftest
$ac_exeext conftest.
$ac_ext
30131 LIBS
=$ac_check_lib_save_LIBS
30133 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30134 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30135 if test $ac_cv_lib_socket_connect = yes; then
30136 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30141 # Guillermo Gomez says -lposix is necessary on A/UX.
30142 echo "$as_me:$LINENO: checking for remove" >&5
30143 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30144 if test "${ac_cv_func_remove+set}" = set; then
30145 echo $ECHO_N "(cached) $ECHO_C" >&6
30147 cat >conftest.
$ac_ext <<_ACEOF
30150 cat confdefs.h
>>conftest.
$ac_ext
30151 cat >>conftest.
$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30155 #define remove innocuous_remove
30157 /* System header to define __stub macros and hopefully few prototypes,
30158 which can conflict with char remove (); below.
30159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30160 <limits.h> exists even on freestanding compilers. */
30163 # include <limits.h>
30165 # include <assert.h>
30170 /* Override any gcc2 internal prototype to avoid an error. */
30175 /* We use char because int might match the return type of a gcc2
30176 builtin and then its argument prototype would still apply. */
30178 /* The GNU C library defines this for functions which it implements
30179 to always fail with ENOSYS. Some functions are actually named
30180 something starting with __ and the normal name is an alias. */
30181 #if defined (__stub_remove) || defined (__stub___remove)
30184 char (*f) () = remove;
30193 return f != remove;
30198 rm -f conftest.
$ac_objext conftest
$ac_exeext
30199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30200 (eval $ac_link) 2>conftest.er1
30202 grep -v '^ *+' conftest.er1
>conftest.err
30204 cat conftest.err
>&5
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); } &&
30207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30209 (eval $ac_try) 2>&5
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); }; } &&
30213 { ac_try
='test -s conftest$ac_exeext'
30214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30215 (eval $ac_try) 2>&5
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); }; }; then
30219 ac_cv_func_remove
=yes
30221 echo "$as_me: failed program was:" >&5
30222 sed 's/^/| /' conftest.
$ac_ext >&5
30224 ac_cv_func_remove
=no
30226 rm -f conftest.err conftest.
$ac_objext \
30227 conftest
$ac_exeext conftest.
$ac_ext
30229 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30230 echo "${ECHO_T}$ac_cv_func_remove" >&6
30232 if test $ac_cv_func_remove = no
; then
30233 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30234 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30235 if test "${ac_cv_lib_posix_remove+set}" = set; then
30236 echo $ECHO_N "(cached) $ECHO_C" >&6
30238 ac_check_lib_save_LIBS
=$LIBS
30239 LIBS
="-lposix $LIBS"
30240 cat >conftest.
$ac_ext <<_ACEOF
30243 cat confdefs.h
>>conftest.
$ac_ext
30244 cat >>conftest.
$ac_ext <<_ACEOF
30245 /* end confdefs.h. */
30247 /* Override any gcc2 internal prototype to avoid an error. */
30251 /* We use char because int might match the return type of a gcc2
30252 builtin and then its argument prototype would still apply. */
30262 rm -f conftest.
$ac_objext conftest
$ac_exeext
30263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30264 (eval $ac_link) 2>conftest.er1
30266 grep -v '^ *+' conftest.er1
>conftest.err
30268 cat conftest.err
>&5
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); } &&
30271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30273 (eval $ac_try) 2>&5
30275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276 (exit $ac_status); }; } &&
30277 { ac_try
='test -s conftest$ac_exeext'
30278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30279 (eval $ac_try) 2>&5
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); }; }; then
30283 ac_cv_lib_posix_remove
=yes
30285 echo "$as_me: failed program was:" >&5
30286 sed 's/^/| /' conftest.
$ac_ext >&5
30288 ac_cv_lib_posix_remove
=no
30290 rm -f conftest.err conftest.
$ac_objext \
30291 conftest
$ac_exeext conftest.
$ac_ext
30292 LIBS
=$ac_check_lib_save_LIBS
30294 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30295 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30296 if test $ac_cv_lib_posix_remove = yes; then
30297 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30302 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30303 echo "$as_me:$LINENO: checking for shmat" >&5
30304 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30305 if test "${ac_cv_func_shmat+set}" = set; then
30306 echo $ECHO_N "(cached) $ECHO_C" >&6
30308 cat >conftest.
$ac_ext <<_ACEOF
30311 cat confdefs.h
>>conftest.
$ac_ext
30312 cat >>conftest.
$ac_ext <<_ACEOF
30313 /* end confdefs.h. */
30314 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30316 #define shmat innocuous_shmat
30318 /* System header to define __stub macros and hopefully few prototypes,
30319 which can conflict with char shmat (); below.
30320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30321 <limits.h> exists even on freestanding compilers. */
30324 # include <limits.h>
30326 # include <assert.h>
30331 /* Override any gcc2 internal prototype to avoid an error. */
30336 /* We use char because int might match the return type of a gcc2
30337 builtin and then its argument prototype would still apply. */
30339 /* The GNU C library defines this for functions which it implements
30340 to always fail with ENOSYS. Some functions are actually named
30341 something starting with __ and the normal name is an alias. */
30342 #if defined (__stub_shmat) || defined (__stub___shmat)
30345 char (*f) () = shmat;
30359 rm -f conftest.
$ac_objext conftest
$ac_exeext
30360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30361 (eval $ac_link) 2>conftest.er1
30363 grep -v '^ *+' conftest.er1
>conftest.err
30365 cat conftest.err
>&5
30366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30367 (exit $ac_status); } &&
30368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30370 (eval $ac_try) 2>&5
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); }; } &&
30374 { ac_try
='test -s conftest$ac_exeext'
30375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30376 (eval $ac_try) 2>&5
30378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379 (exit $ac_status); }; }; then
30380 ac_cv_func_shmat
=yes
30382 echo "$as_me: failed program was:" >&5
30383 sed 's/^/| /' conftest.
$ac_ext >&5
30385 ac_cv_func_shmat
=no
30387 rm -f conftest.err conftest.
$ac_objext \
30388 conftest
$ac_exeext conftest.
$ac_ext
30390 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30391 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30393 if test $ac_cv_func_shmat = no
; then
30394 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30395 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30396 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30397 echo $ECHO_N "(cached) $ECHO_C" >&6
30399 ac_check_lib_save_LIBS
=$LIBS
30401 cat >conftest.
$ac_ext <<_ACEOF
30404 cat confdefs.h
>>conftest.
$ac_ext
30405 cat >>conftest.
$ac_ext <<_ACEOF
30406 /* end confdefs.h. */
30408 /* Override any gcc2 internal prototype to avoid an error. */
30412 /* We use char because int might match the return type of a gcc2
30413 builtin and then its argument prototype would still apply. */
30423 rm -f conftest.
$ac_objext conftest
$ac_exeext
30424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30425 (eval $ac_link) 2>conftest.er1
30427 grep -v '^ *+' conftest.er1
>conftest.err
30429 cat conftest.err
>&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); } &&
30432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30434 (eval $ac_try) 2>&5
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); }; } &&
30438 { ac_try
='test -s conftest$ac_exeext'
30439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30440 (eval $ac_try) 2>&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); }; }; then
30444 ac_cv_lib_ipc_shmat
=yes
30446 echo "$as_me: failed program was:" >&5
30447 sed 's/^/| /' conftest.
$ac_ext >&5
30449 ac_cv_lib_ipc_shmat
=no
30451 rm -f conftest.err conftest.
$ac_objext \
30452 conftest
$ac_exeext conftest.
$ac_ext
30453 LIBS
=$ac_check_lib_save_LIBS
30455 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30456 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30457 if test $ac_cv_lib_ipc_shmat = yes; then
30458 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30464 # Check for libraries that X11R6 Xt/Xaw programs need.
30465 ac_save_LDFLAGS
=$LDFLAGS
30466 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30467 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30468 # check for ICE first), but we must link in the order -lSM -lICE or
30469 # we get undefined symbols. So assume we have SM if we have ICE.
30470 # These have to be linked with before -lX11, unlike the other
30471 # libraries we check for below, so use a different variable.
30472 # John Interrante, Karl Berry
30473 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30474 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30475 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30476 echo $ECHO_N "(cached) $ECHO_C" >&6
30478 ac_check_lib_save_LIBS
=$LIBS
30479 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30480 cat >conftest.
$ac_ext <<_ACEOF
30483 cat confdefs.h
>>conftest.
$ac_ext
30484 cat >>conftest.
$ac_ext <<_ACEOF
30485 /* end confdefs.h. */
30487 /* Override any gcc2 internal prototype to avoid an error. */
30491 /* We use char because int might match the return type of a gcc2
30492 builtin and then its argument prototype would still apply. */
30493 char IceConnectionNumber ();
30497 IceConnectionNumber ();
30502 rm -f conftest.
$ac_objext conftest
$ac_exeext
30503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30504 (eval $ac_link) 2>conftest.er1
30506 grep -v '^ *+' conftest.er1
>conftest.err
30508 cat conftest.err
>&5
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); } &&
30511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30513 (eval $ac_try) 2>&5
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); }; } &&
30517 { ac_try
='test -s conftest$ac_exeext'
30518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30519 (eval $ac_try) 2>&5
30521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522 (exit $ac_status); }; }; then
30523 ac_cv_lib_ICE_IceConnectionNumber
=yes
30525 echo "$as_me: failed program was:" >&5
30526 sed 's/^/| /' conftest.
$ac_ext >&5
30528 ac_cv_lib_ICE_IceConnectionNumber
=no
30530 rm -f conftest.err conftest.
$ac_objext \
30531 conftest
$ac_exeext conftest.
$ac_ext
30532 LIBS
=$ac_check_lib_save_LIBS
30534 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30535 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30536 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30537 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30540 LDFLAGS
=$ac_save_LDFLAGS
30545 if test "$no_x" = "yes"; then
30546 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30547 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30548 { (exit 1); exit 1; }; }
30551 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30552 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30553 AFMINSTALL
=afminstall
30554 COMPILED_X_PROGRAM
=0
30558 if test "$wxUSE_X11" = 1; then
30559 if test "$wxUSE_NANOX" = "yes"; then
30560 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30561 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30562 if test "x$MICROWIN" = x
; then
30563 echo "$as_me:$LINENO: result: not found" >&5
30564 echo "${ECHO_T}not found" >&6
30565 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30566 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30567 { (exit 1); exit 1; }; }
30569 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30570 echo "${ECHO_T}$MICROWIN" >&6
30571 cat >>confdefs.h
<<\_ACEOF
30572 #define wxUSE_NANOX 1
30578 if test "$wxUSE_UNICODE" = "yes"; then
30581 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30582 if test -n "$ac_tool_prefix"; then
30583 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30584 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30585 echo "$as_me:$LINENO: checking for $ac_word" >&5
30586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30587 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30588 echo $ECHO_N "(cached) $ECHO_C" >&6
30590 case $PKG_CONFIG in
30592 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30596 for as_dir
in $PATH
30599 test -z "$as_dir" && as_dir
=.
30600 for ac_exec_ext
in '' $ac_executable_extensions; do
30601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30602 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30612 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30614 if test -n "$PKG_CONFIG"; then
30615 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30616 echo "${ECHO_T}$PKG_CONFIG" >&6
30618 echo "$as_me:$LINENO: result: no" >&5
30619 echo "${ECHO_T}no" >&6
30623 if test -z "$ac_cv_path_PKG_CONFIG"; then
30624 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30625 # Extract the first word of "pkg-config", so it can be a program name with args.
30626 set dummy pkg
-config; ac_word
=$2
30627 echo "$as_me:$LINENO: checking for $ac_word" >&5
30628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30629 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30630 echo $ECHO_N "(cached) $ECHO_C" >&6
30632 case $ac_pt_PKG_CONFIG in
30634 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30638 for as_dir
in $PATH
30641 test -z "$as_dir" && as_dir
=.
30642 for ac_exec_ext
in '' $ac_executable_extensions; do
30643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30644 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30654 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30656 if test -n "$ac_pt_PKG_CONFIG"; then
30657 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30658 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30660 echo "$as_me:$LINENO: result: no" >&5
30661 echo "${ECHO_T}no" >&6
30664 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30666 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30670 if test -n "$PKG_CONFIG"; then
30671 _pkg_min_version
=0.9.0
30672 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30673 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30674 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30675 echo "$as_me:$LINENO: result: yes" >&5
30676 echo "${ECHO_T}yes" >&6
30678 echo "$as_me:$LINENO: result: no" >&5
30679 echo "${ECHO_T}no" >&6
30687 echo "$as_me:$LINENO: checking for PANGOX" >&5
30688 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30690 if test -n "$PKG_CONFIG"; then
30691 if test -n "$PANGOX_CFLAGS"; then
30692 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30694 if test -n "$PKG_CONFIG" && \
30695 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30696 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); }; then
30700 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30708 if test -n "$PKG_CONFIG"; then
30709 if test -n "$PANGOX_LIBS"; then
30710 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30712 if test -n "$PKG_CONFIG" && \
30713 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30714 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30717 (exit $ac_status); }; then
30718 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30729 if test $pkg_failed = yes; then
30731 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30732 _pkg_short_errors_supported
=yes
30734 _pkg_short_errors_supported
=no
30736 if test $_pkg_short_errors_supported = yes; then
30737 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30739 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30741 # Put the nasty error message in config.log where it belongs
30742 echo "$PANGOX_PKG_ERRORS" >&5
30745 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30746 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30747 { (exit 1); exit 1; }; }
30750 elif test $pkg_failed = untried
; then
30752 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30753 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30754 { (exit 1); exit 1; }; }
30758 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30759 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30760 echo "$as_me:$LINENO: result: yes" >&5
30761 echo "${ECHO_T}yes" >&6
30763 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
30764 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30765 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30770 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30771 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30773 if test -n "$PKG_CONFIG"; then
30774 if test -n "$PANGOFT2_CFLAGS"; then
30775 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30777 if test -n "$PKG_CONFIG" && \
30778 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30779 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); }; then
30783 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30791 if test -n "$PKG_CONFIG"; then
30792 if test -n "$PANGOFT2_LIBS"; then
30793 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30795 if test -n "$PKG_CONFIG" && \
30796 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30797 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); }; then
30801 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30812 if test $pkg_failed = yes; then
30814 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30815 _pkg_short_errors_supported
=yes
30817 _pkg_short_errors_supported
=no
30819 if test $_pkg_short_errors_supported = yes; then
30820 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30822 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30824 # Put the nasty error message in config.log where it belongs
30825 echo "$PANGOFT2_PKG_ERRORS" >&5
30828 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30829 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30830 wxUSE_PRINTING_ARCHITECTURE
="no"
30833 elif test $pkg_failed = untried
; then
30835 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30836 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30837 wxUSE_PRINTING_ARCHITECTURE
="no"
30841 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30842 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30843 echo "$as_me:$LINENO: result: yes" >&5
30844 echo "${ECHO_T}yes" >&6
30846 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
30847 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30848 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30853 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30854 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30856 if test -n "$PKG_CONFIG"; then
30857 if test -n "$PANGOXFT_CFLAGS"; then
30858 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30860 if test -n "$PKG_CONFIG" && \
30861 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30862 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30865 (exit $ac_status); }; then
30866 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30874 if test -n "$PKG_CONFIG"; then
30875 if test -n "$PANGOXFT_LIBS"; then
30876 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30878 if test -n "$PKG_CONFIG" && \
30879 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30880 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883 (exit $ac_status); }; then
30884 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30895 if test $pkg_failed = yes; then
30897 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30898 _pkg_short_errors_supported
=yes
30900 _pkg_short_errors_supported
=no
30902 if test $_pkg_short_errors_supported = yes; then
30903 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30905 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30907 # Put the nasty error message in config.log where it belongs
30908 echo "$PANGOXFT_PKG_ERRORS" >&5
30911 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30912 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30915 elif test $pkg_failed = untried
; then
30917 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30918 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30922 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30923 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30924 echo "$as_me:$LINENO: result: yes" >&5
30925 echo "${ECHO_T}yes" >&6
30927 cat >>confdefs.h
<<\_ACEOF
30928 #define HAVE_PANGO_XFT 1
30931 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
30932 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30933 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30937 LIBS
="$LIBS $PANGOX_LIBS"
30939 for ac_func
in pango_font_family_is_monospace
30941 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30942 echo "$as_me:$LINENO: checking for $ac_func" >&5
30943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30944 if eval "test \"\${$as_ac_var+set}\" = set"; then
30945 echo $ECHO_N "(cached) $ECHO_C" >&6
30947 cat >conftest.
$ac_ext <<_ACEOF
30950 cat confdefs.h
>>conftest.
$ac_ext
30951 cat >>conftest.
$ac_ext <<_ACEOF
30952 /* end confdefs.h. */
30953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30955 #define $ac_func innocuous_$ac_func
30957 /* System header to define __stub macros and hopefully few prototypes,
30958 which can conflict with char $ac_func (); below.
30959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30960 <limits.h> exists even on freestanding compilers. */
30963 # include <limits.h>
30965 # include <assert.h>
30970 /* Override any gcc2 internal prototype to avoid an error. */
30975 /* We use char because int might match the return type of a gcc2
30976 builtin and then its argument prototype would still apply. */
30978 /* The GNU C library defines this for functions which it implements
30979 to always fail with ENOSYS. Some functions are actually named
30980 something starting with __ and the normal name is an alias. */
30981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30984 char (*f) () = $ac_func;
30993 return f != $ac_func;
30998 rm -f conftest.
$ac_objext conftest
$ac_exeext
30999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31000 (eval $ac_link) 2>conftest.er1
31002 grep -v '^ *+' conftest.er1
>conftest.err
31004 cat conftest.err
>&5
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); } &&
31007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31009 (eval $ac_try) 2>&5
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); }; } &&
31013 { ac_try
='test -s conftest$ac_exeext'
31014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31015 (eval $ac_try) 2>&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); }; }; then
31019 eval "$as_ac_var=yes"
31021 echo "$as_me: failed program was:" >&5
31022 sed 's/^/| /' conftest.
$ac_ext >&5
31024 eval "$as_ac_var=no"
31026 rm -f conftest.err conftest.
$ac_objext \
31027 conftest
$ac_exeext conftest.
$ac_ext
31029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31031 if test `eval echo '${'$as_ac_var'}'` = yes; then
31032 cat >>confdefs.h
<<_ACEOF
31033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31042 wxUSE_UNIVERSAL
="yes"
31044 if test "$wxUSE_NANOX" = "yes"; then
31045 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31046 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"
31047 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31049 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31056 if test "$wxUSE_MOTIF" = 1; then
31057 if test "$wxUSE_UNICODE" = "yes"; then
31058 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31059 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31060 { (exit 1); exit 1; }; }
31063 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31064 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31067 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31069 if test -f "$ac_dir/Xm/Xm.h"; then
31070 ac_find_includes
=$ac_dir
31075 if test "$ac_find_includes" != "" ; then
31076 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31077 echo "${ECHO_T}found in $ac_find_includes" >&6
31079 if test "x$ac_find_includes" = "x/usr/include"; then
31080 ac_path_to_include
=""
31082 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31084 if test $result = 0; then
31085 ac_path_to_include
=""
31087 ac_path_to_include
=" -I$ac_find_includes"
31091 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31093 save_CFLAGS
=$CFLAGS
31094 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31096 cat >conftest.
$ac_ext <<_ACEOF
31099 cat confdefs.h
>>conftest.
$ac_ext
31100 cat >>conftest.
$ac_ext <<_ACEOF
31101 /* end confdefs.h. */
31110 version = xmUseVersion;
31116 rm -f conftest.
$ac_objext
31117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31118 (eval $ac_compile) 2>conftest.er1
31120 grep -v '^ *+' conftest.er1
>conftest.err
31122 cat conftest.err
>&5
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); } &&
31125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31127 (eval $ac_try) 2>&5
31129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31130 (exit $ac_status); }; } &&
31131 { ac_try
='test -s conftest.$ac_objext'
31132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31133 (eval $ac_try) 2>&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); }; }; then
31138 echo "$as_me:$LINENO: result: found in default search path" >&5
31139 echo "${ECHO_T}found in default search path" >&6
31140 COMPILED_X_PROGRAM
=1
31143 echo "$as_me: failed program was:" >&5
31144 sed 's/^/| /' conftest.
$ac_ext >&5
31147 echo "$as_me:$LINENO: result: no" >&5
31148 echo "${ECHO_T}no" >&6
31149 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31150 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31151 { (exit 1); exit 1; }; }
31155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31157 CFLAGS
=$save_CFLAGS
31161 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31162 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31165 for ac_dir
in $SEARCH_LIB;
31167 for ac_extension
in a so sl dylib dll.a
; do
31168 if test -f "$ac_dir/libXm.$ac_extension"; then
31169 ac_find_libraries
=$ac_dir
31176 if test "x$ac_find_libraries" != "x" ; then
31177 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31178 echo "${ECHO_T}found in $ac_find_libraries" >&6
31181 if test "$ac_find_libraries" = "default location"; then
31184 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31186 if test $result = 0; then
31189 ac_path_to_link
=" -L$ac_find_libraries"
31193 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31195 save_CFLAGS
=$CFLAGS
31196 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31198 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31200 cat >conftest.
$ac_ext <<_ACEOF
31203 cat confdefs.h
>>conftest.
$ac_ext
31204 cat >>conftest.
$ac_ext <<_ACEOF
31205 /* end confdefs.h. */
31214 version = xmUseVersion;
31220 rm -f conftest.
$ac_objext conftest
$ac_exeext
31221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31222 (eval $ac_link) 2>conftest.er1
31224 grep -v '^ *+' conftest.er1
>conftest.err
31226 cat conftest.err
>&5
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); } &&
31229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31231 (eval $ac_try) 2>&5
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); }; } &&
31235 { ac_try
='test -s conftest$ac_exeext'
31236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31237 (eval $ac_try) 2>&5
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); }; }; then
31242 echo "$as_me:$LINENO: result: found in default search path" >&5
31243 echo "${ECHO_T}found in default search path" >&6
31244 COMPILED_X_PROGRAM
=1
31247 echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.
$ac_ext >&5
31251 echo "$as_me:$LINENO: result: no" >&5
31252 echo "${ECHO_T}no" >&6
31253 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31254 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31255 { (exit 1); exit 1; }; }
31259 rm -f conftest.err conftest.
$ac_objext \
31260 conftest
$ac_exeext conftest.
$ac_ext
31262 CFLAGS
=$save_CFLAGS
31266 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31267 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31271 for libp
in "" " -lXp"; do
31272 if test "$libs_found" = "0"; then
31273 for libsm_ice
in "" " -lSM -lICE"; do
31274 if test "$libs_found" = "0"; then
31276 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31277 save_CFLAGS
=$CFLAGS
31278 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31280 cat >conftest.
$ac_ext <<_ACEOF
31283 cat confdefs.h
>>conftest.
$ac_ext
31284 cat >>conftest.
$ac_ext <<_ACEOF
31285 /* end confdefs.h. */
31288 #include <Xm/List.h>
31294 XmString string = NULL;
31297 XmListAddItem(w, string, position);
31303 rm -f conftest.
$ac_objext conftest
$ac_exeext
31304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31305 (eval $ac_link) 2>conftest.er1
31307 grep -v '^ *+' conftest.er1
>conftest.err
31309 cat conftest.err
>&5
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); } &&
31312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31314 (eval $ac_try) 2>&5
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); }; } &&
31318 { ac_try
='test -s conftest$ac_exeext'
31319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31320 (eval $ac_try) 2>&5
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); }; }; then
31326 libsm_ice_link
="$libsm_ice"
31327 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31328 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31332 echo "$as_me: failed program was:" >&5
31333 sed 's/^/| /' conftest.
$ac_ext >&5
31338 rm -f conftest.err conftest.
$ac_objext \
31339 conftest
$ac_exeext conftest.
$ac_ext
31342 CFLAGS
=$save_CFLAGS
31348 if test "$libs_found" = "0"; then
31349 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31350 echo "${ECHO_T}can't find the right libraries" >&6
31351 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31352 echo "$as_me: error: can't link a simple motif program" >&2;}
31353 { (exit 1); exit 1; }; }
31356 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31357 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31358 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31359 echo $ECHO_N "(cached) $ECHO_C" >&6
31361 ac_check_lib_save_LIBS
=$LIBS
31363 cat >conftest.
$ac_ext <<_ACEOF
31366 cat confdefs.h
>>conftest.
$ac_ext
31367 cat >>conftest.
$ac_ext <<_ACEOF
31368 /* end confdefs.h. */
31370 /* Override any gcc2 internal prototype to avoid an error. */
31374 /* We use char because int might match the return type of a gcc2
31375 builtin and then its argument prototype would still apply. */
31376 char SgCreateList ();
31385 rm -f conftest.
$ac_objext conftest
$ac_exeext
31386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31387 (eval $ac_link) 2>conftest.er1
31389 grep -v '^ *+' conftest.er1
>conftest.err
31391 cat conftest.err
>&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); } &&
31394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31396 (eval $ac_try) 2>&5
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); }; } &&
31400 { ac_try
='test -s conftest$ac_exeext'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; }; then
31406 ac_cv_lib_Sgm_SgCreateList
=yes
31408 echo "$as_me: failed program was:" >&5
31409 sed 's/^/| /' conftest.
$ac_ext >&5
31411 ac_cv_lib_Sgm_SgCreateList
=no
31413 rm -f conftest.err conftest.
$ac_objext \
31414 conftest
$ac_exeext conftest.
$ac_ext
31415 LIBS
=$ac_check_lib_save_LIBS
31417 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31418 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31419 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31420 libsgm_link
=" -lSgm"
31424 save_CFLAGS
=$CFLAGS
31425 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31427 echo "$as_me:$LINENO: checking for Motif 2" >&5
31428 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31429 if test "${wx_cv_lib_motif2+set}" = set; then
31430 echo $ECHO_N "(cached) $ECHO_C" >&6
31432 cat >conftest.
$ac_ext <<_ACEOF
31435 cat confdefs.h
>>conftest.
$ac_ext
31436 cat >>conftest.
$ac_ext <<_ACEOF
31437 /* end confdefs.h. */
31445 #if XmVersion < 2000
31453 rm -f conftest.
$ac_objext
31454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31455 (eval $ac_compile) 2>conftest.er1
31457 grep -v '^ *+' conftest.er1
>conftest.err
31459 cat conftest.err
>&5
31460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461 (exit $ac_status); } &&
31462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31464 (eval $ac_try) 2>&5
31466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31467 (exit $ac_status); }; } &&
31468 { ac_try
='test -s conftest.$ac_objext'
31469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31470 (eval $ac_try) 2>&5
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); }; }; then
31474 wx_cv_lib_motif2
="yes"
31476 echo "$as_me: failed program was:" >&5
31477 sed 's/^/| /' conftest.
$ac_ext >&5
31479 wx_cv_lib_motif2
="no"
31481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31483 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31484 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31485 if test "$wx_cv_lib_motif2" = "yes"; then
31486 cat >>confdefs.h
<<\_ACEOF
31487 #define __WXMOTIF20__ 1
31491 cat >>confdefs.h
<<\_ACEOF
31492 #define __WXMOTIF20__ 0
31497 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31498 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31499 if test "${wx_cv_lib_lesstif+set}" = set; then
31500 echo $ECHO_N "(cached) $ECHO_C" >&6
31502 cat >conftest.
$ac_ext <<_ACEOF
31505 cat confdefs.h
>>conftest.
$ac_ext
31506 cat >>conftest.
$ac_ext <<_ACEOF
31507 /* end confdefs.h. */
31515 #if !defined(LesstifVersion) || LesstifVersion <= 0
31523 rm -f conftest.
$ac_objext
31524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31525 (eval $ac_compile) 2>conftest.er1
31527 grep -v '^ *+' conftest.er1
>conftest.err
31529 cat conftest.err
>&5
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); } &&
31532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31534 (eval $ac_try) 2>&5
31536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31537 (exit $ac_status); }; } &&
31538 { ac_try
='test -s conftest.$ac_objext'
31539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31540 (eval $ac_try) 2>&5
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); }; }; then
31544 wx_cv_lib_lesstif
="yes"
31546 echo "$as_me: failed program was:" >&5
31547 sed 's/^/| /' conftest.
$ac_ext >&5
31549 wx_cv_lib_lesstif
="no"
31551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31554 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31555 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31556 if test "$wx_cv_lib_lesstif" = "yes"; then
31557 cat >>confdefs.h
<<\_ACEOF
31558 #define __WXLESSTIF__ 1
31562 cat >>confdefs.h
<<\_ACEOF
31563 #define __WXLESSTIF__ 0
31568 CFLAGS
=$save_CFLAGS
31570 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31575 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31576 if test "$wxUSE_LIBXPM" = "sys"; then
31577 echo "$as_me:$LINENO: checking for Xpm library" >&5
31578 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31581 for ac_dir
in $SEARCH_LIB;
31583 for ac_extension
in a so sl dylib dll.a
; do
31584 if test -f "$ac_dir/libXpm.$ac_extension"; then
31585 ac_find_libraries
=$ac_dir
31591 if test "$ac_find_libraries" != "" ; then
31593 if test "$ac_find_libraries" = "default location"; then
31596 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31598 if test $result = 0; then
31601 ac_path_to_link
=" -L$ac_find_libraries"
31605 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31606 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31607 echo "${ECHO_T}found in $ac_find_libraries" >&6
31609 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31610 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31611 if test "${wx_cv_x11_xpm_h+set}" = set; then
31612 echo $ECHO_N "(cached) $ECHO_C" >&6
31615 save_CFLAGS
=$CFLAGS
31616 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31618 cat >conftest.
$ac_ext <<_ACEOF
31621 cat confdefs.h
>>conftest.
$ac_ext
31622 cat >>conftest.
$ac_ext <<_ACEOF
31623 /* end confdefs.h. */
31625 #include <X11/xpm.h>
31632 version = XpmLibraryVersion();
31638 rm -f conftest.
$ac_objext
31639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31640 (eval $ac_compile) 2>conftest.er1
31642 grep -v '^ *+' conftest.er1
>conftest.err
31644 cat conftest.err
>&5
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); } &&
31647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31649 (eval $ac_try) 2>&5
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; } &&
31653 { ac_try
='test -s conftest.$ac_objext'
31654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31655 (eval $ac_try) 2>&5
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); }; }; then
31659 wx_cv_x11_xpm_h
=yes
31661 echo "$as_me: failed program was:" >&5
31662 sed 's/^/| /' conftest.
$ac_ext >&5
31667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31669 CFLAGS
=$save_CFLAGS
31673 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31674 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31676 if test $wx_cv_x11_xpm_h = "yes"; then
31677 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31678 cat >>confdefs.h
<<\_ACEOF
31679 #define wxHAVE_LIB_XPM 1
31683 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31684 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31690 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31691 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31692 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31693 echo $ECHO_N "(cached) $ECHO_C" >&6
31695 ac_check_lib_save_LIBS
=$LIBS
31696 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31697 cat >conftest.
$ac_ext <<_ACEOF
31700 cat confdefs.h
>>conftest.
$ac_ext
31701 cat >>conftest.
$ac_ext <<_ACEOF
31702 /* end confdefs.h. */
31704 /* Override any gcc2 internal prototype to avoid an error. */
31708 /* We use char because int might match the return type of a gcc2
31709 builtin and then its argument prototype would still apply. */
31710 char XShapeQueryExtension ();
31714 XShapeQueryExtension ();
31719 rm -f conftest.
$ac_objext conftest
$ac_exeext
31720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31721 (eval $ac_link) 2>conftest.er1
31723 grep -v '^ *+' conftest.er1
>conftest.err
31725 cat conftest.err
>&5
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); } &&
31728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31730 (eval $ac_try) 2>&5
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); }; } &&
31734 { ac_try
='test -s conftest$ac_exeext'
31735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31736 (eval $ac_try) 2>&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); }; }; then
31740 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31742 echo "$as_me: failed program was:" >&5
31743 sed 's/^/| /' conftest.
$ac_ext >&5
31745 ac_cv_lib_Xext_XShapeQueryExtension
=no
31747 rm -f conftest.err conftest.
$ac_objext \
31748 conftest
$ac_exeext conftest.
$ac_ext
31749 LIBS
=$ac_check_lib_save_LIBS
31751 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31752 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31753 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31755 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31761 if test "$wxHAVE_XEXT_LIB" = 1; then
31762 save_CFLAGS
="$CFLAGS"
31763 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31765 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31766 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31767 cat >conftest.
$ac_ext <<_ACEOF
31770 cat confdefs.h
>>conftest.
$ac_ext
31771 cat >>conftest.
$ac_ext <<_ACEOF
31772 /* end confdefs.h. */
31774 #include <X11/Xlib.h>
31775 #include <X11/extensions/shape.h>
31781 int dummy1, dummy2;
31782 XShapeQueryExtension((Display*)NULL,
31783 (int*)NULL, (int*)NULL);
31789 rm -f conftest.
$ac_objext
31790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31791 (eval $ac_compile) 2>conftest.er1
31793 grep -v '^ *+' conftest.er1
>conftest.err
31795 cat conftest.err
>&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); } &&
31798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31800 (eval $ac_try) 2>&5
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); }; } &&
31804 { ac_try
='test -s conftest.$ac_objext'
31805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806 (eval $ac_try) 2>&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; }; then
31811 cat >>confdefs.h
<<\_ACEOF
31812 #define HAVE_XSHAPE 1
31815 echo "$as_me:$LINENO: result: found" >&5
31816 echo "${ECHO_T}found" >&6
31819 echo "$as_me: failed program was:" >&5
31820 sed 's/^/| /' conftest.
$ac_ext >&5
31823 echo "$as_me:$LINENO: result: not found" >&5
31824 echo "${ECHO_T}not found" >&6
31827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31828 CFLAGS
="$save_CFLAGS"
31833 if test "$wxUSE_MAC" = 1; then
31834 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31835 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31836 if test "$GCC" = yes; then
31837 echo "$as_me:$LINENO: result: gcc" >&5
31838 echo "${ECHO_T}gcc" >&6
31839 CPPFLAGS_PASCAL
="-fpascal-strings"
31840 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31841 echo "$as_me:$LINENO: result: xlc" >&5
31842 echo "${ECHO_T}xlc" >&6
31843 CPPFLAGS_PASCAL
="-qmacpstr"
31845 echo "$as_me:$LINENO: result: none" >&5
31846 echo "${ECHO_T}none" >&6
31849 if test "x$wxUSE_UNIX" = "xyes"; then
31850 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31852 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31857 WXBASEPORT
="_carbon"
31860 if test "$wxUSE_COCOA" = 1; then
31865 if test "$wxUSE_PM" = 1; then
31868 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31869 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31870 if test "${wx_cv_spbcdata+set}" = set; then
31871 echo $ECHO_N "(cached) $ECHO_C" >&6
31874 cat >conftest.
$ac_ext <<_ACEOF
31877 cat confdefs.h
>>conftest.
$ac_ext
31878 cat >>conftest.
$ac_ext <<_ACEOF
31879 /* end confdefs.h. */
31894 rm -f conftest.
$ac_objext
31895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31896 (eval $ac_compile) 2>conftest.er1
31898 grep -v '^ *+' conftest.er1
>conftest.err
31900 cat conftest.err
>&5
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); } &&
31903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31905 (eval $ac_try) 2>&5
31907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 (exit $ac_status); }; } &&
31909 { ac_try
='test -s conftest.$ac_objext'
31910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31911 (eval $ac_try) 2>&5
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); }; }; then
31917 echo "$as_me: failed program was:" >&5
31918 sed 's/^/| /' conftest.
$ac_ext >&5
31923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31927 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31928 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31930 if test $wx_cv_spbcdata = "yes"; then
31931 cat >>confdefs.h
<<\_ACEOF
31932 #define HAVE_SPBCDATA 1
31938 if test "$TOOLKIT" = "PM" ; then
31941 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31944 if test "$wxUSE_UNIVERSAL" = "yes"; then
31945 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31949 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31950 DISTDIR
="wx\$(TOOLKIT)"
31956 if test "$USE_WIN32" = 1 ; then
31960 GUIDIST
="BASE_DIST"
31965 if test "$wxUSE_GUI" = "yes"; then
31966 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31968 for ac_header
in X
11/Xlib.h
31970 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31972 echo "$as_me:$LINENO: checking for $ac_header" >&5
31973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31975 echo $ECHO_N "(cached) $ECHO_C" >&6
31977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31980 # Is the header compilable?
31981 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31982 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31983 cat >conftest.
$ac_ext <<_ACEOF
31986 cat confdefs.h
>>conftest.
$ac_ext
31987 cat >>conftest.
$ac_ext <<_ACEOF
31988 /* end confdefs.h. */
31989 $ac_includes_default
31990 #include <$ac_header>
31992 rm -f conftest.
$ac_objext
31993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31994 (eval $ac_compile) 2>conftest.er1
31996 grep -v '^ *+' conftest.er1
>conftest.err
31998 cat conftest.err
>&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } &&
32001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32003 (eval $ac_try) 2>&5
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); }; } &&
32007 { ac_try
='test -s conftest.$ac_objext'
32008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32009 (eval $ac_try) 2>&5
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); }; }; then
32013 ac_header_compiler
=yes
32015 echo "$as_me: failed program was:" >&5
32016 sed 's/^/| /' conftest.
$ac_ext >&5
32018 ac_header_compiler
=no
32020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32022 echo "${ECHO_T}$ac_header_compiler" >&6
32024 # Is the header present?
32025 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32027 cat >conftest.
$ac_ext <<_ACEOF
32030 cat confdefs.h
>>conftest.
$ac_ext
32031 cat >>conftest.
$ac_ext <<_ACEOF
32032 /* end confdefs.h. */
32033 #include <$ac_header>
32035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32036 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32038 grep -v '^ *+' conftest.er1
>conftest.err
32040 cat conftest.err
>&5
32041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 (exit $ac_status); } >/dev
/null
; then
32043 if test -s conftest.err
; then
32044 ac_cpp_err
=$ac_c_preproc_warn_flag
32045 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32052 if test -z "$ac_cpp_err"; then
32053 ac_header_preproc
=yes
32055 echo "$as_me: failed program was:" >&5
32056 sed 's/^/| /' conftest.
$ac_ext >&5
32058 ac_header_preproc
=no
32060 rm -f conftest.err conftest.
$ac_ext
32061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32062 echo "${ECHO_T}$ac_header_preproc" >&6
32064 # So? What about this header?
32065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32071 ac_header_preproc
=yes
32074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32088 ## ----------------------------------------- ##
32089 ## Report this to wx-dev@lists.wxwidgets.org ##
32090 ## ----------------------------------------- ##
32093 sed "s/^/$as_me: WARNING: /" >&2
32096 echo "$as_me:$LINENO: checking for $ac_header" >&5
32097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32099 echo $ECHO_N "(cached) $ECHO_C" >&6
32101 eval "$as_ac_Header=\$ac_header_preproc"
32103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32108 cat >>confdefs.h
<<_ACEOF
32109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32117 for ac_header
in X
11/XKBlib.h
32119 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32120 echo "$as_me:$LINENO: checking for $ac_header" >&5
32121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32123 echo $ECHO_N "(cached) $ECHO_C" >&6
32125 cat >conftest.
$ac_ext <<_ACEOF
32128 cat confdefs.h
>>conftest.
$ac_ext
32129 cat >>conftest.
$ac_ext <<_ACEOF
32130 /* end confdefs.h. */
32132 #if HAVE_X11_XLIB_H
32133 #include <X11/Xlib.h>
32137 #include <$ac_header>
32139 rm -f conftest.
$ac_objext
32140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32141 (eval $ac_compile) 2>conftest.er1
32143 grep -v '^ *+' conftest.er1
>conftest.err
32145 cat conftest.err
>&5
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); } &&
32148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32150 (eval $ac_try) 2>&5
32152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32153 (exit $ac_status); }; } &&
32154 { ac_try
='test -s conftest.$ac_objext'
32155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32156 (eval $ac_try) 2>&5
32158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32159 (exit $ac_status); }; }; then
32160 eval "$as_ac_Header=yes"
32162 echo "$as_me: failed program was:" >&5
32163 sed 's/^/| /' conftest.
$ac_ext >&5
32165 eval "$as_ac_Header=no"
32167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32172 cat >>confdefs.h
<<_ACEOF
32173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32188 if test "$TOOLKIT" != "MSW" ; then
32190 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32192 if test "${ac_cv_header_sql_h+set}" = set; then
32193 echo "$as_me:$LINENO: checking for sql.h" >&5
32194 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32195 if test "${ac_cv_header_sql_h+set}" = set; then
32196 echo $ECHO_N "(cached) $ECHO_C" >&6
32198 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32199 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32201 # Is the header compilable?
32202 echo "$as_me:$LINENO: checking sql.h usability" >&5
32203 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32204 cat >conftest.
$ac_ext <<_ACEOF
32207 cat confdefs.h
>>conftest.
$ac_ext
32208 cat >>conftest.
$ac_ext <<_ACEOF
32209 /* end confdefs.h. */
32210 $ac_includes_default
32213 rm -f conftest.
$ac_objext
32214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32215 (eval $ac_compile) 2>conftest.er1
32217 grep -v '^ *+' conftest.er1
>conftest.err
32219 cat conftest.err
>&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); } &&
32222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32224 (eval $ac_try) 2>&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); }; } &&
32228 { ac_try
='test -s conftest.$ac_objext'
32229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32230 (eval $ac_try) 2>&5
32232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32233 (exit $ac_status); }; }; then
32234 ac_header_compiler
=yes
32236 echo "$as_me: failed program was:" >&5
32237 sed 's/^/| /' conftest.
$ac_ext >&5
32239 ac_header_compiler
=no
32241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32243 echo "${ECHO_T}$ac_header_compiler" >&6
32245 # Is the header present?
32246 echo "$as_me:$LINENO: checking sql.h presence" >&5
32247 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32248 cat >conftest.
$ac_ext <<_ACEOF
32251 cat confdefs.h
>>conftest.
$ac_ext
32252 cat >>conftest.
$ac_ext <<_ACEOF
32253 /* end confdefs.h. */
32256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32257 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32259 grep -v '^ *+' conftest.er1
>conftest.err
32261 cat conftest.err
>&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); } >/dev
/null
; then
32264 if test -s conftest.err
; then
32265 ac_cpp_err
=$ac_c_preproc_warn_flag
32266 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32273 if test -z "$ac_cpp_err"; then
32274 ac_header_preproc
=yes
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.
$ac_ext >&5
32279 ac_header_preproc
=no
32281 rm -f conftest.err conftest.
$ac_ext
32282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32283 echo "${ECHO_T}$ac_header_preproc" >&6
32285 # So? What about this header?
32286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32288 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32289 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32290 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32291 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32292 ac_header_preproc
=yes
32295 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32296 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32297 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32298 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32299 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32300 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32301 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32302 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32303 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32304 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32305 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32306 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32309 ## ----------------------------------------- ##
32310 ## Report this to wx-dev@lists.wxwidgets.org ##
32311 ## ----------------------------------------- ##
32314 sed "s/^/$as_me: WARNING: /" >&2
32317 echo "$as_me:$LINENO: checking for sql.h" >&5
32318 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32319 if test "${ac_cv_header_sql_h+set}" = set; then
32320 echo $ECHO_N "(cached) $ECHO_C" >&6
32322 ac_cv_header_sql_h
=$ac_header_preproc
32324 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32325 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32328 if test $ac_cv_header_sql_h = yes; then
32333 if test "x$found_sql_h" = "x1" ; then
32334 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32335 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32336 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32337 echo $ECHO_N "(cached) $ECHO_C" >&6
32339 ac_check_lib_save_LIBS
=$LIBS
32340 LIBS
="-liodbc $LIBS"
32341 cat >conftest.
$ac_ext <<_ACEOF
32344 cat confdefs.h
>>conftest.
$ac_ext
32345 cat >>conftest.
$ac_ext <<_ACEOF
32346 /* end confdefs.h. */
32348 /* Override any gcc2 internal prototype to avoid an error. */
32352 /* We use char because int might match the return type of a gcc2
32353 builtin and then its argument prototype would still apply. */
32354 char SQLAllocEnv ();
32363 rm -f conftest.
$ac_objext conftest
$ac_exeext
32364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32365 (eval $ac_link) 2>conftest.er1
32367 grep -v '^ *+' conftest.er1
>conftest.err
32369 cat conftest.err
>&5
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); } &&
32372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32374 (eval $ac_try) 2>&5
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); }; } &&
32378 { ac_try
='test -s conftest$ac_exeext'
32379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32380 (eval $ac_try) 2>&5
32382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32383 (exit $ac_status); }; }; then
32384 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32386 echo "$as_me: failed program was:" >&5
32387 sed 's/^/| /' conftest.
$ac_ext >&5
32389 ac_cv_lib_iodbc_SQLAllocEnv
=no
32391 rm -f conftest.err conftest.
$ac_objext \
32392 conftest
$ac_exeext conftest.
$ac_ext
32393 LIBS
=$ac_check_lib_save_LIBS
32395 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32396 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32397 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32398 ODBC_LINK
=" -liodbc"
32401 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32402 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32403 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32404 echo $ECHO_N "(cached) $ECHO_C" >&6
32406 ac_check_lib_save_LIBS
=$LIBS
32407 LIBS
="-lunixodbc $LIBS"
32408 cat >conftest.
$ac_ext <<_ACEOF
32411 cat confdefs.h
>>conftest.
$ac_ext
32412 cat >>conftest.
$ac_ext <<_ACEOF
32413 /* end confdefs.h. */
32415 /* Override any gcc2 internal prototype to avoid an error. */
32419 /* We use char because int might match the return type of a gcc2
32420 builtin and then its argument prototype would still apply. */
32421 char SQLAllocEnv ();
32430 rm -f conftest.
$ac_objext conftest
$ac_exeext
32431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32432 (eval $ac_link) 2>conftest.er1
32434 grep -v '^ *+' conftest.er1
>conftest.err
32436 cat conftest.err
>&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); } &&
32439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; } &&
32445 { ac_try
='test -s conftest$ac_exeext'
32446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32447 (eval $ac_try) 2>&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); }; }; then
32451 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32453 echo "$as_me: failed program was:" >&5
32454 sed 's/^/| /' conftest.
$ac_ext >&5
32456 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32458 rm -f conftest.err conftest.
$ac_objext \
32459 conftest
$ac_exeext conftest.
$ac_ext
32460 LIBS
=$ac_check_lib_save_LIBS
32462 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32463 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32464 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32465 ODBC_LINK
=" -lunixodbc"
32468 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32469 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32470 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32471 echo $ECHO_N "(cached) $ECHO_C" >&6
32473 ac_check_lib_save_LIBS
=$LIBS
32474 LIBS
="-lodbc $LIBS"
32475 cat >conftest.
$ac_ext <<_ACEOF
32478 cat confdefs.h
>>conftest.
$ac_ext
32479 cat >>conftest.
$ac_ext <<_ACEOF
32480 /* end confdefs.h. */
32482 /* Override any gcc2 internal prototype to avoid an error. */
32486 /* We use char because int might match the return type of a gcc2
32487 builtin and then its argument prototype would still apply. */
32488 char SQLAllocEnv ();
32497 rm -f conftest.
$ac_objext conftest
$ac_exeext
32498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32499 (eval $ac_link) 2>conftest.er1
32501 grep -v '^ *+' conftest.er1
>conftest.err
32503 cat conftest.err
>&5
32504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505 (exit $ac_status); } &&
32506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32508 (eval $ac_try) 2>&5
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); }; } &&
32512 { ac_try
='test -s conftest$ac_exeext'
32513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32514 (eval $ac_try) 2>&5
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); }; }; then
32518 ac_cv_lib_odbc_SQLAllocEnv
=yes
32520 echo "$as_me: failed program was:" >&5
32521 sed 's/^/| /' conftest.
$ac_ext >&5
32523 ac_cv_lib_odbc_SQLAllocEnv
=no
32525 rm -f conftest.err conftest.
$ac_objext \
32526 conftest
$ac_exeext conftest.
$ac_ext
32527 LIBS
=$ac_check_lib_save_LIBS
32529 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32530 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32531 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32532 ODBC_LINK
=" -lodbc"
32542 if test "x$ODBC_LINK" = "x" ; then
32543 if test "$wxUSE_ODBC" = "sys" ; then
32544 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32545 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32546 { (exit 1); exit 1; }; }
32548 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32549 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32557 if test "$wxUSE_ODBC" = "builtin" ; then
32558 cat >>confdefs.h
<<\_ACEOF
32559 #define wxUSE_BUILTIN_IODBC 1
32565 if test "$wxUSE_ODBC" != "no" ; then
32566 cat >>confdefs.h
<<\_ACEOF
32567 #define wxUSE_ODBC 1
32570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32572 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32576 if test "$wxUSE_DISPLAY" = "yes"; then
32577 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32578 echo "$as_me:$LINENO: checking for Xinerama" >&5
32579 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32582 for ac_dir
in $SEARCH_LIB;
32584 for ac_extension
in a so sl dylib dll.a
; do
32585 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32586 ac_find_libraries
=$ac_dir
32592 if test "$ac_find_libraries" != "" ; then
32594 if test "$ac_find_libraries" = "default location"; then
32597 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32599 if test $result = 0; then
32602 ac_path_to_link
=" -L$ac_find_libraries"
32606 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32607 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32609 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32610 echo "$as_me:$LINENO: result: yes" >&5
32611 echo "${ECHO_T}yes" >&6
32613 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32614 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32617 for ac_dir
in $SEARCH_LIB;
32619 for ac_extension
in a so sl dylib dll.a
; do
32620 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32621 ac_find_libraries
=$ac_dir
32627 if test "$ac_find_libraries" != "" ; then
32628 echo "$as_me:$LINENO: result: yes" >&5
32629 echo "${ECHO_T}yes" >&6
32631 for ac_header
in X
11/extensions
/xf86vmode.h
32633 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32634 echo "$as_me:$LINENO: checking for $ac_header" >&5
32635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32637 echo $ECHO_N "(cached) $ECHO_C" >&6
32639 cat >conftest.
$ac_ext <<_ACEOF
32642 cat confdefs.h
>>conftest.
$ac_ext
32643 cat >>conftest.
$ac_ext <<_ACEOF
32644 /* end confdefs.h. */
32646 #if HAVE_X11_XLIB_H
32647 #include <X11/Xlib.h>
32651 #include <$ac_header>
32653 rm -f conftest.
$ac_objext
32654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32655 (eval $ac_compile) 2>conftest.er1
32657 grep -v '^ *+' conftest.er1
>conftest.err
32659 cat conftest.err
>&5
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); } &&
32662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32664 (eval $ac_try) 2>&5
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); }; } &&
32668 { ac_try
='test -s conftest.$ac_objext'
32669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32670 (eval $ac_try) 2>&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); }; }; then
32674 eval "$as_ac_Header=yes"
32676 echo "$as_me: failed program was:" >&5
32677 sed 's/^/| /' conftest.
$ac_ext >&5
32679 eval "$as_ac_Header=no"
32681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32686 cat >>confdefs.h
<<_ACEOF
32687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32690 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32697 echo "$as_me:$LINENO: result: no" >&5
32698 echo "${ECHO_T}no" >&6
32702 echo "$as_me:$LINENO: result: no" >&5
32703 echo "${ECHO_T}no" >&6
32704 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32705 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32708 elif test "$wxUSE_MSW" = 1; then
32710 for ac_header
in ddraw.h
32712 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32713 echo "$as_me:$LINENO: checking for $ac_header" >&5
32714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32716 echo $ECHO_N "(cached) $ECHO_C" >&6
32718 cat >conftest.
$ac_ext <<_ACEOF
32721 cat confdefs.h
>>conftest.
$ac_ext
32722 cat >>conftest.
$ac_ext <<_ACEOF
32723 /* end confdefs.h. */
32724 #include <windows.h>
32726 #include <$ac_header>
32728 rm -f conftest.
$ac_objext
32729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32730 (eval $ac_compile) 2>conftest.er1
32732 grep -v '^ *+' conftest.er1
>conftest.err
32734 cat conftest.err
>&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); } &&
32737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; } &&
32743 { ac_try
='test -s conftest.$ac_objext'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; }; then
32749 eval "$as_ac_Header=yes"
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.
$ac_ext >&5
32754 eval "$as_ac_Header=no"
32756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32761 cat >>confdefs.h
<<_ACEOF
32762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32772 if test "$wxUSE_DETECT_SM" = "yes"; then
32773 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32774 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32775 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
32778 for ac_dir
in $SEARCH_LIB;
32780 for ac_extension
in a so sl dylib dll.a
; do
32781 if test -f "$ac_dir/libSM.$ac_extension"; then
32782 ac_find_libraries
=$ac_dir
32788 if test "$ac_find_libraries" != "" ; then
32790 if test "$ac_find_libraries" = "default location"; then
32793 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32795 if test $result = 0; then
32798 ac_path_to_link
=" -L$ac_find_libraries"
32802 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32803 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32805 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
32806 echo "$as_me:$LINENO: result: yes" >&5
32807 echo "${ECHO_T}yes" >&6
32809 echo "$as_me:$LINENO: result: no" >&5
32810 echo "${ECHO_T}no" >&6
32811 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32812 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32813 wxUSE_DETECT_SM
="no"
32816 wxUSE_DETECT_SM
="no"
32823 if test "$wxUSE_OPENGL" = "yes"; then
32824 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32825 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32826 elif test "$wxUSE_MSW" = 1; then
32827 OPENGL_LIBS
="-lopengl32 -lglu32"
32829 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32830 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
32833 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
32835 if test -f "$ac_dir/GL/gl.h"; then
32836 ac_find_includes
=$ac_dir
32841 if test "$ac_find_includes" != "" ; then
32842 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32843 echo "${ECHO_T}found in $ac_find_includes" >&6
32845 if test "x$ac_find_includes" = "x/usr/include"; then
32846 ac_path_to_include
=""
32848 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32850 if test $result = 0; then
32851 ac_path_to_include
=""
32853 ac_path_to_include
=" -I$ac_find_includes"
32857 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32859 echo "$as_me:$LINENO: result: not found" >&5
32860 echo "${ECHO_T}not found" >&6
32863 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32864 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32865 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32866 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32867 echo $ECHO_N "(cached) $ECHO_C" >&6
32869 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32870 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32872 # Is the header compilable?
32873 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32874 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32875 cat >conftest.
$ac_ext <<_ACEOF
32878 cat confdefs.h
>>conftest.
$ac_ext
32879 cat >>conftest.
$ac_ext <<_ACEOF
32880 /* end confdefs.h. */
32881 $ac_includes_default
32884 rm -f conftest.
$ac_objext
32885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32886 (eval $ac_compile) 2>conftest.er1
32888 grep -v '^ *+' conftest.er1
>conftest.err
32890 cat conftest.err
>&5
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); } &&
32893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32895 (eval $ac_try) 2>&5
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); }; } &&
32899 { ac_try
='test -s conftest.$ac_objext'
32900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32901 (eval $ac_try) 2>&5
32903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32904 (exit $ac_status); }; }; then
32905 ac_header_compiler
=yes
32907 echo "$as_me: failed program was:" >&5
32908 sed 's/^/| /' conftest.
$ac_ext >&5
32910 ac_header_compiler
=no
32912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32914 echo "${ECHO_T}$ac_header_compiler" >&6
32916 # Is the header present?
32917 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32918 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32919 cat >conftest.
$ac_ext <<_ACEOF
32922 cat confdefs.h
>>conftest.
$ac_ext
32923 cat >>conftest.
$ac_ext <<_ACEOF
32924 /* end confdefs.h. */
32927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32930 grep -v '^ *+' conftest.er1
>conftest.err
32932 cat conftest.err
>&5
32933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32934 (exit $ac_status); } >/dev
/null
; then
32935 if test -s conftest.err
; then
32936 ac_cpp_err
=$ac_c_preproc_warn_flag
32937 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32944 if test -z "$ac_cpp_err"; then
32945 ac_header_preproc
=yes
32947 echo "$as_me: failed program was:" >&5
32948 sed 's/^/| /' conftest.
$ac_ext >&5
32950 ac_header_preproc
=no
32952 rm -f conftest.err conftest.
$ac_ext
32953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32954 echo "${ECHO_T}$ac_header_preproc" >&6
32956 # So? What about this header?
32957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32959 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32960 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32961 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32962 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32963 ac_header_preproc
=yes
32966 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32967 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32968 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32969 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32970 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32971 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32972 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32973 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32974 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32975 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32976 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32977 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32980 ## ----------------------------------------- ##
32981 ## Report this to wx-dev@lists.wxwidgets.org ##
32982 ## ----------------------------------------- ##
32985 sed "s/^/$as_me: WARNING: /" >&2
32988 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32989 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32990 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32991 echo $ECHO_N "(cached) $ECHO_C" >&6
32993 ac_cv_header_GL_gl_h
=$ac_header_preproc
32995 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32996 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32999 if test $ac_cv_header_GL_gl_h = yes; then
33001 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33002 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33003 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33004 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33005 echo $ECHO_N "(cached) $ECHO_C" >&6
33007 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33008 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33010 # Is the header compilable?
33011 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33012 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33013 cat >conftest.
$ac_ext <<_ACEOF
33016 cat confdefs.h
>>conftest.
$ac_ext
33017 cat >>conftest.
$ac_ext <<_ACEOF
33018 /* end confdefs.h. */
33019 $ac_includes_default
33020 #include <GL/glu.h>
33022 rm -f conftest.
$ac_objext
33023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33024 (eval $ac_compile) 2>conftest.er1
33026 grep -v '^ *+' conftest.er1
>conftest.err
33028 cat conftest.err
>&5
33029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); } &&
33031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33033 (eval $ac_try) 2>&5
33035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33036 (exit $ac_status); }; } &&
33037 { ac_try
='test -s conftest.$ac_objext'
33038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33039 (eval $ac_try) 2>&5
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); }; }; then
33043 ac_header_compiler
=yes
33045 echo "$as_me: failed program was:" >&5
33046 sed 's/^/| /' conftest.
$ac_ext >&5
33048 ac_header_compiler
=no
33050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33051 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33052 echo "${ECHO_T}$ac_header_compiler" >&6
33054 # Is the header present?
33055 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33056 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33057 cat >conftest.
$ac_ext <<_ACEOF
33060 cat confdefs.h
>>conftest.
$ac_ext
33061 cat >>conftest.
$ac_ext <<_ACEOF
33062 /* end confdefs.h. */
33063 #include <GL/glu.h>
33065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33066 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33068 grep -v '^ *+' conftest.er1
>conftest.err
33070 cat conftest.err
>&5
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); } >/dev
/null
; then
33073 if test -s conftest.err
; then
33074 ac_cpp_err
=$ac_c_preproc_warn_flag
33075 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33082 if test -z "$ac_cpp_err"; then
33083 ac_header_preproc
=yes
33085 echo "$as_me: failed program was:" >&5
33086 sed 's/^/| /' conftest.
$ac_ext >&5
33088 ac_header_preproc
=no
33090 rm -f conftest.err conftest.
$ac_ext
33091 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33092 echo "${ECHO_T}$ac_header_preproc" >&6
33094 # So? What about this header?
33095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33097 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33098 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33099 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33100 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33101 ac_header_preproc
=yes
33104 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33105 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33106 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33107 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33108 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33109 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33110 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33111 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33112 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33113 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33114 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33115 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33118 ## ----------------------------------------- ##
33119 ## Report this to wx-dev@lists.wxwidgets.org ##
33120 ## ----------------------------------------- ##
33123 sed "s/^/$as_me: WARNING: /" >&2
33126 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33127 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33128 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33129 echo $ECHO_N "(cached) $ECHO_C" >&6
33131 ac_cv_header_GL_glu_h
=$ac_header_preproc
33133 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33134 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33137 if test $ac_cv_header_GL_glu_h = yes; then
33141 echo "$as_me:$LINENO: checking for -lGL" >&5
33142 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33145 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
33147 for ac_extension
in a so sl dylib dll.a
; do
33148 if test -f "$ac_dir/libGL.$ac_extension"; then
33149 ac_find_libraries
=$ac_dir
33155 if test "$ac_find_libraries" != "" ; then
33156 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33157 echo "${ECHO_T}found in $ac_find_libraries" >&6
33160 if test "$ac_find_libraries" = "default location"; then
33163 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33165 if test $result = 0; then
33168 ac_path_to_link
=" -L$ac_find_libraries"
33172 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33173 LDFLAGS_GL
="$ac_path_to_link"
33176 echo "$as_me:$LINENO: checking for -lGLU" >&5
33177 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33180 for ac_dir
in $SEARCH_LIB;
33182 for ac_extension
in a so sl dylib dll.a
; do
33183 if test -f "$ac_dir/libGLU.$ac_extension"; then
33184 ac_find_libraries
=$ac_dir
33190 if test "$ac_find_libraries" != "" ; then
33192 if test "$ac_find_libraries" = "default location"; then
33195 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33197 if test $result = 0; then
33200 ac_path_to_link
=" -L$ac_find_libraries"
33204 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33205 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33206 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33210 OPENGL_LIBS
="-lGL -lGLU"
33211 echo "$as_me:$LINENO: result: yes" >&5
33212 echo "${ECHO_T}yes" >&6
33214 echo "$as_me:$LINENO: result: no" >&5
33215 echo "${ECHO_T}no" >&6
33218 echo "$as_me:$LINENO: result: no" >&5
33219 echo "${ECHO_T}no" >&6
33222 if test "$found_gl" != 1; then
33223 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33224 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33227 for ac_dir
in $SEARCH_LIB;
33229 for ac_extension
in a so sl dylib dll.a
; do
33230 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33231 ac_find_libraries
=$ac_dir
33237 if test "$ac_find_libraries" != "" ; then
33239 if test "$ac_find_libraries" = "default location"; then
33242 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33244 if test $result = 0; then
33247 ac_path_to_link
=" -L$ac_find_libraries"
33251 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33252 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33253 echo "$as_me:$LINENO: result: yes" >&5
33254 echo "${ECHO_T}yes" >&6
33256 echo "$as_me:$LINENO: result: no" >&5
33257 echo "${ECHO_T}no" >&6
33269 if test "x$OPENGL_LIBS" = "x"; then
33270 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33271 echo "$as_me: error: OpenGL libraries not available" >&2;}
33272 { (exit 1); exit 1; }; }
33276 if test "$wxUSE_OPENGL" = "yes"; then
33278 cat >>confdefs.h
<<\_ACEOF
33279 #define wxUSE_OPENGL 1
33282 cat >>confdefs.h
<<\_ACEOF
33283 #define wxUSE_GLCANVAS 1
33286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33291 if test -n "$TOOLKIT" ; then
33292 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33297 if test "$wxUSE_SHARED" = "yes"; then
33301 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33302 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33307 if test "$wxUSE_SHARED" = "yes"; then
33311 *-*-cygwin* | *-*-mingw* )
33312 wx_cv_version_script
=no
33316 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33317 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33318 if test "${wx_cv_version_script+set}" = set; then
33319 echo $ECHO_N "(cached) $ECHO_C" >&6
33322 echo "VER_1 { *; };" >conftest.sym
33323 echo "int main() { return 0; }" >conftest.cpp
33326 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33327 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33329 (eval $ac_try) 2>&5
33331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33332 (exit $ac_status); }; } ; then
33333 if test -s conftest.stderr
; then
33334 wx_cv_version_script
=no
33336 wx_cv_version_script
=yes
33339 wx_cv_version_script
=no
33342 if test $wx_cv_version_script = yes
33344 echo "struct B { virtual ~B() { } }; \
33345 struct D : public B { }; \
33346 void F() { D d; }" > conftest.cpp
33349 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33350 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33352 (eval $ac_try) 2>&5
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); }; } &&
33357 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33358 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33360 (eval $ac_try) 2>&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); }; }
33366 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33367 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33369 (eval $ac_try) 2>&5
33371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33372 (exit $ac_status); }; }
33374 wx_cv_version_script
=yes
33376 wx_cv_version_script
=no
33381 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33382 rm -f conftest1.output conftest2.output conftest3.output
33385 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33386 echo "${ECHO_T}$wx_cv_version_script" >&6
33388 if test $wx_cv_version_script = yes ; then
33389 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33396 *-*-linux* | *-*-gnu* )
33397 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33398 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33402 if test "$GCC" = yes ; then
33403 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33405 saveLdflags
="$LDFLAGS"
33406 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33407 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33408 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33409 cat >conftest.
$ac_ext <<_ACEOF
33412 cat confdefs.h
>>conftest.
$ac_ext
33413 cat >>conftest.
$ac_ext <<_ACEOF
33414 /* end confdefs.h. */
33424 rm -f conftest.
$ac_objext conftest
$ac_exeext
33425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33426 (eval $ac_link) 2>conftest.er1
33428 grep -v '^ *+' conftest.er1
>conftest.err
33430 cat conftest.err
>&5
33431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33432 (exit $ac_status); } &&
33433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33435 (eval $ac_try) 2>&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); }; } &&
33439 { ac_try
='test -s conftest$ac_exeext'
33440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33441 (eval $ac_try) 2>&5
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; }; then
33446 echo "$as_me:$LINENO: result: yes" >&5
33447 echo "${ECHO_T}yes" >&6
33448 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33449 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33452 echo "$as_me: failed program was:" >&5
33453 sed 's/^/| /' conftest.
$ac_ext >&5
33456 echo "$as_me:$LINENO: result: no" >&5
33457 echo "${ECHO_T}no" >&6
33458 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33459 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33460 LDFLAGS
="$saveLdflags -Wl,-R,/"
33461 cat >conftest.
$ac_ext <<_ACEOF
33464 cat confdefs.h
>>conftest.
$ac_ext
33465 cat >>conftest.
$ac_ext <<_ACEOF
33466 /* end confdefs.h. */
33476 rm -f conftest.
$ac_objext conftest
$ac_exeext
33477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33478 (eval $ac_link) 2>conftest.er1
33480 grep -v '^ *+' conftest.er1
>conftest.err
33482 cat conftest.err
>&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); } &&
33485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33487 (eval $ac_try) 2>&5
33489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490 (exit $ac_status); }; } &&
33491 { ac_try
='test -s conftest$ac_exeext'
33492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33493 (eval $ac_try) 2>&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); }; }; then
33498 echo "$as_me:$LINENO: result: yes" >&5
33499 echo "${ECHO_T}yes" >&6
33500 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33501 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33504 echo "$as_me: failed program was:" >&5
33505 sed 's/^/| /' conftest.
$ac_ext >&5
33508 echo "$as_me:$LINENO: result: no" >&5
33509 echo "${ECHO_T}no" >&6
33512 rm -f conftest.err conftest.
$ac_objext \
33513 conftest
$ac_exeext conftest.
$ac_ext
33516 rm -f conftest.err conftest.
$ac_objext \
33517 conftest
$ac_exeext conftest.
$ac_ext
33518 LDFLAGS
="$saveLdflags"
33520 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33521 WXCONFIG_RPATH
="-R\$libdir"
33526 install_name_tool
=`which install_name_tool`
33527 if test "$install_name_tool" -a -x "$install_name_tool"; then
33528 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33529 cat <<EOF >change-install-names
33531 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33532 inst_cmd="install_name_tool "
33533 for i in \${libnames} ; do
33534 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33538 chmod +x change
-install-names
33542 *-*-cygwin* | *-*-mingw32* )
33543 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33547 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33548 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33553 if test $wxUSE_RPATH = "no"; then
33554 SAMPLES_RPATH_FLAG
=''
33555 SAMPLES_RPATH_POSTLINK
=''
33563 config_linkage_component
="-static"
33570 lib_unicode_suffix
=
33572 if test "$wxUSE_UNICODE" = "yes"; then
33573 lib_unicode_suffix
=u
33574 WX_CHARTYPE
="unicode"
33579 WX_DEBUGTYPE
="release"
33581 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33583 WX_DEBUGTYPE
="debug"
33587 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33588 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33591 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33595 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33597 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33599 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33601 if test "$cross_compiling" = "yes"; then
33602 HOST_SUFFIX
="-$host_alias"
33603 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33604 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33607 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33608 if test "${TOOLKIT_DIR}" = "os2"; then
33609 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33611 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33616 if test "$wxUSE_COCOA" = 1; then
33620 ac_cpp
='$CPP $CPPFLAGS'
33621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33627 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33628 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33629 cat >conftest.
$ac_ext <<_ACEOF
33632 cat confdefs.h
>>conftest.
$ac_ext
33633 cat >>conftest.
$ac_ext <<_ACEOF
33634 /* end confdefs.h. */
33635 #include <AppKit/NSEvent.h>
33636 #include <CoreFoundation/CoreFoundation.h>
33646 rm -f conftest.
$ac_objext
33647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33648 (eval $ac_compile) 2>conftest.er1
33650 grep -v '^ *+' conftest.er1
>conftest.err
33652 cat conftest.err
>&5
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); } &&
33655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657 (eval $ac_try) 2>&5
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); }; } &&
33661 { ac_try
='test -s conftest.$ac_objext'
33662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33663 (eval $ac_try) 2>&5
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); }; }; then
33667 echo "$as_me:$LINENO: result: no" >&5
33668 echo "${ECHO_T}no" >&6
33670 echo "$as_me: failed program was:" >&5
33671 sed 's/^/| /' conftest.
$ac_ext >&5
33673 echo "$as_me:$LINENO: result: yes" >&5
33674 echo "${ECHO_T}yes" >&6
33675 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33676 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33677 cat >conftest.
$ac_ext <<_ACEOF
33680 cat confdefs.h
>>conftest.
$ac_ext
33681 cat >>conftest.
$ac_ext <<_ACEOF
33682 /* end confdefs.h. */
33683 #define __Point__ 1
33684 #include <AppKit/NSEvent.h>
33685 #include <CoreFoundation/CoreFoundation.h>
33695 rm -f conftest.
$ac_objext
33696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33697 (eval $ac_compile) 2>conftest.er1
33699 grep -v '^ *+' conftest.er1
>conftest.err
33701 cat conftest.err
>&5
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); } &&
33704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33706 (eval $ac_try) 2>&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); }; } &&
33710 { ac_try
='test -s conftest.$ac_objext'
33711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33712 (eval $ac_try) 2>&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); }; }; then
33716 echo "$as_me:$LINENO: result: yes" >&5
33717 echo "${ECHO_T}yes" >&6
33718 cat >>confdefs.h
<<\_ACEOF
33719 #define __Point__ 1
33724 echo "$as_me: failed program was:" >&5
33725 sed 's/^/| /' conftest.
$ac_ext >&5
33727 { { echo "$as_me:$LINENO: error: no
33728 See \`config.log' for more details." >&5
33729 echo "$as_me: error: no
33730 See \`config.log' for more details." >&2;}
33731 { (exit 1); exit 1; }; }
33734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33739 ac_cpp
='$CPP $CPPFLAGS'
33740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33746 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33747 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33748 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33750 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33752 # Extract the first word of "Rez", so it can be a program name with args.
33753 set dummy Rez
; ac_word
=$2
33754 echo "$as_me:$LINENO: checking for $ac_word" >&5
33755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33756 if test "${ac_cv_prog_REZ+set}" = set; then
33757 echo $ECHO_N "(cached) $ECHO_C" >&6
33759 if test -n "$REZ"; then
33760 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33763 for as_dir
in $PATH
33766 test -z "$as_dir" && as_dir
=.
33767 for ac_exec_ext
in '' $ac_executable_extensions; do
33768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33769 ac_cv_prog_REZ
="Rez"
33770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33776 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33779 REZ
=$ac_cv_prog_REZ
33780 if test -n "$REZ"; then
33781 echo "$as_me:$LINENO: result: $REZ" >&5
33782 echo "${ECHO_T}$REZ" >&6
33784 echo "$as_me:$LINENO: result: no" >&5
33785 echo "${ECHO_T}no" >&6
33788 # Extract the first word of "DeRez", so it can be a program name with args.
33789 set dummy DeRez
; ac_word
=$2
33790 echo "$as_me:$LINENO: checking for $ac_word" >&5
33791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33792 if test "${ac_cv_prog_DEREZ+set}" = set; then
33793 echo $ECHO_N "(cached) $ECHO_C" >&6
33795 if test -n "$DEREZ"; then
33796 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33799 for as_dir
in $PATH
33802 test -z "$as_dir" && as_dir
=.
33803 for ac_exec_ext
in '' $ac_executable_extensions; do
33804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33805 ac_cv_prog_DEREZ
="DeRez"
33806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33812 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33815 DEREZ
=$ac_cv_prog_DEREZ
33816 if test -n "$DEREZ"; then
33817 echo "$as_me:$LINENO: result: $DEREZ" >&5
33818 echo "${ECHO_T}$DEREZ" >&6
33820 echo "$as_me:$LINENO: result: no" >&5
33821 echo "${ECHO_T}no" >&6
33824 # Extract the first word of "SetFile", so it can be a program name with args.
33825 set dummy SetFile
; ac_word
=$2
33826 echo "$as_me:$LINENO: checking for $ac_word" >&5
33827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33828 if test "${ac_cv_prog_SETFILE+set}" = set; then
33829 echo $ECHO_N "(cached) $ECHO_C" >&6
33831 if test -n "$SETFILE"; then
33832 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33835 for as_dir
in $PATH
33838 test -z "$as_dir" && as_dir
=.
33839 for ac_exec_ext
in '' $ac_executable_extensions; do
33840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33841 ac_cv_prog_SETFILE
="SetFile"
33842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33848 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33851 SETFILE
=$ac_cv_prog_SETFILE
33852 if test -n "$SETFILE"; then
33853 echo "$as_me:$LINENO: result: $SETFILE" >&5
33854 echo "${ECHO_T}$SETFILE" >&6
33856 echo "$as_me:$LINENO: result: no" >&5
33857 echo "${ECHO_T}no" >&6
33861 MACSETFILE
="\$(SETFILE)"
33863 if test "$wxUSE_MAC" = 1; then
33864 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33866 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33868 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33869 RESCOMP
="echo -n \| $REZ"
33870 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33876 if test "$wxUSE_PM" = 1; then
33878 WXCONFIG_RESFLAGS
="-ep"
33880 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33882 POSTLINK_COMMAND
="@true"
33889 echo "$as_me:$LINENO: checking for mode_t" >&5
33890 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33891 if test "${ac_cv_type_mode_t+set}" = set; then
33892 echo $ECHO_N "(cached) $ECHO_C" >&6
33894 cat >conftest.
$ac_ext <<_ACEOF
33897 cat confdefs.h
>>conftest.
$ac_ext
33898 cat >>conftest.
$ac_ext <<_ACEOF
33899 /* end confdefs.h. */
33900 $ac_includes_default
33906 if (sizeof (mode_t))
33912 rm -f conftest.
$ac_objext
33913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33914 (eval $ac_compile) 2>conftest.er1
33916 grep -v '^ *+' conftest.er1
>conftest.err
33918 cat conftest.err
>&5
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); } &&
33921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33923 (eval $ac_try) 2>&5
33925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33926 (exit $ac_status); }; } &&
33927 { ac_try
='test -s conftest.$ac_objext'
33928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33929 (eval $ac_try) 2>&5
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); }; }; then
33933 ac_cv_type_mode_t
=yes
33935 echo "$as_me: failed program was:" >&5
33936 sed 's/^/| /' conftest.
$ac_ext >&5
33938 ac_cv_type_mode_t
=no
33940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33942 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33943 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33944 if test $ac_cv_type_mode_t = yes; then
33948 cat >>confdefs.h
<<_ACEOF
33954 echo "$as_me:$LINENO: checking for off_t" >&5
33955 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33956 if test "${ac_cv_type_off_t+set}" = set; then
33957 echo $ECHO_N "(cached) $ECHO_C" >&6
33959 cat >conftest.
$ac_ext <<_ACEOF
33962 cat confdefs.h
>>conftest.
$ac_ext
33963 cat >>conftest.
$ac_ext <<_ACEOF
33964 /* end confdefs.h. */
33965 $ac_includes_default
33971 if (sizeof (off_t))
33977 rm -f conftest.
$ac_objext
33978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33979 (eval $ac_compile) 2>conftest.er1
33981 grep -v '^ *+' conftest.er1
>conftest.err
33983 cat conftest.err
>&5
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); } &&
33986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33988 (eval $ac_try) 2>&5
33990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33991 (exit $ac_status); }; } &&
33992 { ac_try
='test -s conftest.$ac_objext'
33993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33994 (eval $ac_try) 2>&5
33996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33997 (exit $ac_status); }; }; then
33998 ac_cv_type_off_t
=yes
34000 echo "$as_me: failed program was:" >&5
34001 sed 's/^/| /' conftest.
$ac_ext >&5
34003 ac_cv_type_off_t
=no
34005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34007 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34008 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34009 if test $ac_cv_type_off_t = yes; then
34013 cat >>confdefs.h
<<_ACEOF
34019 echo "$as_me:$LINENO: checking for pid_t" >&5
34020 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34021 if test "${ac_cv_type_pid_t+set}" = set; then
34022 echo $ECHO_N "(cached) $ECHO_C" >&6
34024 cat >conftest.
$ac_ext <<_ACEOF
34027 cat confdefs.h
>>conftest.
$ac_ext
34028 cat >>conftest.
$ac_ext <<_ACEOF
34029 /* end confdefs.h. */
34030 $ac_includes_default
34036 if (sizeof (pid_t))
34042 rm -f conftest.
$ac_objext
34043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34044 (eval $ac_compile) 2>conftest.er1
34046 grep -v '^ *+' conftest.er1
>conftest.err
34048 cat conftest.err
>&5
34049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050 (exit $ac_status); } &&
34051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34053 (eval $ac_try) 2>&5
34055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056 (exit $ac_status); }; } &&
34057 { ac_try
='test -s conftest.$ac_objext'
34058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34059 (eval $ac_try) 2>&5
34061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34062 (exit $ac_status); }; }; then
34063 ac_cv_type_pid_t
=yes
34065 echo "$as_me: failed program was:" >&5
34066 sed 's/^/| /' conftest.
$ac_ext >&5
34068 ac_cv_type_pid_t
=no
34070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34072 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34073 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34074 if test $ac_cv_type_pid_t = yes; then
34078 cat >>confdefs.h
<<_ACEOF
34084 echo "$as_me:$LINENO: checking for size_t" >&5
34085 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34086 if test "${ac_cv_type_size_t+set}" = set; then
34087 echo $ECHO_N "(cached) $ECHO_C" >&6
34089 cat >conftest.
$ac_ext <<_ACEOF
34092 cat confdefs.h
>>conftest.
$ac_ext
34093 cat >>conftest.
$ac_ext <<_ACEOF
34094 /* end confdefs.h. */
34095 $ac_includes_default
34101 if (sizeof (size_t))
34107 rm -f conftest.
$ac_objext
34108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34109 (eval $ac_compile) 2>conftest.er1
34111 grep -v '^ *+' conftest.er1
>conftest.err
34113 cat conftest.err
>&5
34114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34115 (exit $ac_status); } &&
34116 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34118 (eval $ac_try) 2>&5
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); }; } &&
34122 { ac_try
='test -s conftest.$ac_objext'
34123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34124 (eval $ac_try) 2>&5
34126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34127 (exit $ac_status); }; }; then
34128 ac_cv_type_size_t
=yes
34130 echo "$as_me: failed program was:" >&5
34131 sed 's/^/| /' conftest.
$ac_ext >&5
34133 ac_cv_type_size_t
=no
34135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34137 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34138 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34139 if test $ac_cv_type_size_t = yes; then
34143 cat >>confdefs.h
<<_ACEOF
34144 #define size_t unsigned
34149 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34150 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34151 if test "${ac_cv_type_uid_t+set}" = set; then
34152 echo $ECHO_N "(cached) $ECHO_C" >&6
34154 cat >conftest.
$ac_ext <<_ACEOF
34157 cat confdefs.h
>>conftest.
$ac_ext
34158 cat >>conftest.
$ac_ext <<_ACEOF
34159 /* end confdefs.h. */
34160 #include <sys/types.h>
34163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34164 $EGREP "uid_t" >/dev
/null
2>&1; then
34165 ac_cv_type_uid_t
=yes
34167 ac_cv_type_uid_t
=no
34172 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34173 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34174 if test $ac_cv_type_uid_t = no
; then
34176 cat >>confdefs.h
<<\_ACEOF
34181 cat >>confdefs.h
<<\_ACEOF
34188 echo "$as_me:$LINENO: checking for ssize_t" >&5
34189 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34190 if test "${ac_cv_type_ssize_t+set}" = set; then
34191 echo $ECHO_N "(cached) $ECHO_C" >&6
34193 cat >conftest.
$ac_ext <<_ACEOF
34196 cat confdefs.h
>>conftest.
$ac_ext
34197 cat >>conftest.
$ac_ext <<_ACEOF
34198 /* end confdefs.h. */
34199 $ac_includes_default
34205 if (sizeof (ssize_t))
34211 rm -f conftest.
$ac_objext
34212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34213 (eval $ac_compile) 2>conftest.er1
34215 grep -v '^ *+' conftest.er1
>conftest.err
34217 cat conftest.err
>&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); } &&
34220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34222 (eval $ac_try) 2>&5
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); }; } &&
34226 { ac_try
='test -s conftest.$ac_objext'
34227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34228 (eval $ac_try) 2>&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); }; }; then
34232 ac_cv_type_ssize_t
=yes
34234 echo "$as_me: failed program was:" >&5
34235 sed 's/^/| /' conftest.
$ac_ext >&5
34237 ac_cv_type_ssize_t
=no
34239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34241 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34242 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34243 if test $ac_cv_type_ssize_t = yes; then
34245 cat >>confdefs.h
<<_ACEOF
34246 #define HAVE_SSIZE_T 1
34254 ac_cpp
='$CXXCPP $CPPFLAGS'
34255 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34256 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34257 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34258 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34259 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34260 if test "${wx_cv_size_t_is_uint+set}" = set; then
34261 echo $ECHO_N "(cached) $ECHO_C" >&6
34264 cat >conftest.
$ac_ext <<_ACEOF
34267 cat confdefs.h
>>conftest.
$ac_ext
34268 cat >>conftest.
$ac_ext <<_ACEOF
34269 /* end confdefs.h. */
34270 #include <stddef.h>
34277 struct Foo { void foo(size_t); void foo(unsigned int); };
34285 rm -f conftest.
$ac_objext
34286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34287 (eval $ac_compile) 2>conftest.er1
34289 grep -v '^ *+' conftest.er1
>conftest.err
34291 cat conftest.err
>&5
34292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34293 (exit $ac_status); } &&
34294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34296 (eval $ac_try) 2>&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); }; } &&
34300 { ac_try
='test -s conftest.$ac_objext'
34301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302 (eval $ac_try) 2>&5
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); }; }; then
34306 wx_cv_size_t_is_uint
=no
34308 echo "$as_me: failed program was:" >&5
34309 sed 's/^/| /' conftest.
$ac_ext >&5
34311 wx_cv_size_t_is_uint
=yes
34314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34318 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34319 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34321 if test "$wx_cv_size_t_is_uint" = "yes"; then
34322 cat >>confdefs.h
<<\_ACEOF
34323 #define wxSIZE_T_IS_UINT 1
34327 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34328 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34329 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34330 echo $ECHO_N "(cached) $ECHO_C" >&6
34332 cat >conftest.
$ac_ext <<_ACEOF
34335 cat confdefs.h
>>conftest.
$ac_ext
34336 cat >>conftest.
$ac_ext <<_ACEOF
34337 /* end confdefs.h. */
34338 #include <stddef.h>
34345 struct Foo { void foo(size_t); void foo(unsigned long); };
34353 rm -f conftest.
$ac_objext
34354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34355 (eval $ac_compile) 2>conftest.er1
34357 grep -v '^ *+' conftest.er1
>conftest.err
34359 cat conftest.err
>&5
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); } &&
34362 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34364 (eval $ac_try) 2>&5
34366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34367 (exit $ac_status); }; } &&
34368 { ac_try
='test -s conftest.$ac_objext'
34369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34370 (eval $ac_try) 2>&5
34372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34373 (exit $ac_status); }; }; then
34374 wx_cv_size_t_is_ulong
=no
34376 echo "$as_me: failed program was:" >&5
34377 sed 's/^/| /' conftest.
$ac_ext >&5
34379 wx_cv_size_t_is_ulong
=yes
34382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34385 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34386 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34388 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34389 cat >>confdefs.h
<<\_ACEOF
34390 #define wxSIZE_T_IS_ULONG 1
34397 ac_cpp
='$CPP $CPPFLAGS'
34398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34403 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34404 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34405 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34406 echo $ECHO_N "(cached) $ECHO_C" >&6
34409 cat >conftest.
$ac_ext <<_ACEOF
34412 cat confdefs.h
>>conftest.
$ac_ext
34413 cat >>conftest.
$ac_ext <<_ACEOF
34414 /* end confdefs.h. */
34428 rm -f conftest.
$ac_objext
34429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34430 (eval $ac_compile) 2>conftest.er1
34432 grep -v '^ *+' conftest.er1
>conftest.err
34434 cat conftest.err
>&5
34435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34436 (exit $ac_status); } &&
34437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34439 (eval $ac_try) 2>&5
34441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34442 (exit $ac_status); }; } &&
34443 { ac_try
='test -s conftest.$ac_objext'
34444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34445 (eval $ac_try) 2>&5
34447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34448 (exit $ac_status); }; }; then
34450 wx_cv_struct_pw_gecos
=yes
34453 echo "$as_me: failed program was:" >&5
34454 sed 's/^/| /' conftest.
$ac_ext >&5
34457 wx_cv_struct_pw_gecos
=no
34461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34465 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34466 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34468 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34469 cat >>confdefs.h
<<\_ACEOF
34470 #define HAVE_PW_GECOS 1
34476 if test "$wxUSE_WCHAR_T" = "yes"; then
34477 cat >>confdefs.h
<<\_ACEOF
34478 #define wxUSE_WCHAR_T 1
34485 for ac_func
in wcslen
34487 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34488 echo "$as_me:$LINENO: checking for $ac_func" >&5
34489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34490 if eval "test \"\${$as_ac_var+set}\" = set"; then
34491 echo $ECHO_N "(cached) $ECHO_C" >&6
34493 cat >conftest.
$ac_ext <<_ACEOF
34496 cat confdefs.h
>>conftest.
$ac_ext
34497 cat >>conftest.
$ac_ext <<_ACEOF
34498 /* end confdefs.h. */
34499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34501 #define $ac_func innocuous_$ac_func
34503 /* System header to define __stub macros and hopefully few prototypes,
34504 which can conflict with char $ac_func (); below.
34505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34506 <limits.h> exists even on freestanding compilers. */
34509 # include <limits.h>
34511 # include <assert.h>
34516 /* Override any gcc2 internal prototype to avoid an error. */
34521 /* We use char because int might match the return type of a gcc2
34522 builtin and then its argument prototype would still apply. */
34524 /* The GNU C library defines this for functions which it implements
34525 to always fail with ENOSYS. Some functions are actually named
34526 something starting with __ and the normal name is an alias. */
34527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34530 char (*f) () = $ac_func;
34539 return f != $ac_func;
34544 rm -f conftest.
$ac_objext conftest
$ac_exeext
34545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34546 (eval $ac_link) 2>conftest.er1
34548 grep -v '^ *+' conftest.er1
>conftest.err
34550 cat conftest.err
>&5
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); } &&
34553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34555 (eval $ac_try) 2>&5
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); }; } &&
34559 { ac_try
='test -s conftest$ac_exeext'
34560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34561 (eval $ac_try) 2>&5
34563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564 (exit $ac_status); }; }; then
34565 eval "$as_ac_var=yes"
34567 echo "$as_me: failed program was:" >&5
34568 sed 's/^/| /' conftest.
$ac_ext >&5
34570 eval "$as_ac_var=no"
34572 rm -f conftest.err conftest.
$ac_objext \
34573 conftest
$ac_exeext conftest.
$ac_ext
34575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34577 if test `eval echo '${'$as_ac_var'}'` = yes; then
34578 cat >>confdefs.h
<<_ACEOF
34579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34586 if test "$WCSLEN_FOUND" = 0; then
34587 if test "$TOOLKIT" = "MSW"; then
34588 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34589 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34590 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34591 echo $ECHO_N "(cached) $ECHO_C" >&6
34593 ac_check_lib_save_LIBS
=$LIBS
34594 LIBS
="-lmsvcrt $LIBS"
34595 cat >conftest.
$ac_ext <<_ACEOF
34598 cat confdefs.h
>>conftest.
$ac_ext
34599 cat >>conftest.
$ac_ext <<_ACEOF
34600 /* end confdefs.h. */
34602 /* Override any gcc2 internal prototype to avoid an error. */
34606 /* We use char because int might match the return type of a gcc2
34607 builtin and then its argument prototype would still apply. */
34617 rm -f conftest.
$ac_objext conftest
$ac_exeext
34618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34619 (eval $ac_link) 2>conftest.er1
34621 grep -v '^ *+' conftest.er1
>conftest.err
34623 cat conftest.err
>&5
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); } &&
34626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; } &&
34632 { ac_try
='test -s conftest$ac_exeext'
34633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34634 (eval $ac_try) 2>&5
34636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637 (exit $ac_status); }; }; then
34638 ac_cv_lib_msvcrt_wcslen
=yes
34640 echo "$as_me: failed program was:" >&5
34641 sed 's/^/| /' conftest.
$ac_ext >&5
34643 ac_cv_lib_msvcrt_wcslen
=no
34645 rm -f conftest.err conftest.
$ac_objext \
34646 conftest
$ac_exeext conftest.
$ac_ext
34647 LIBS
=$ac_check_lib_save_LIBS
34649 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34650 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34651 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34656 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34657 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34658 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34659 echo $ECHO_N "(cached) $ECHO_C" >&6
34661 ac_check_lib_save_LIBS
=$LIBS
34663 cat >conftest.
$ac_ext <<_ACEOF
34666 cat confdefs.h
>>conftest.
$ac_ext
34667 cat >>conftest.
$ac_ext <<_ACEOF
34668 /* end confdefs.h. */
34670 /* Override any gcc2 internal prototype to avoid an error. */
34674 /* We use char because int might match the return type of a gcc2
34675 builtin and then its argument prototype would still apply. */
34685 rm -f conftest.
$ac_objext conftest
$ac_exeext
34686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34687 (eval $ac_link) 2>conftest.er1
34689 grep -v '^ *+' conftest.er1
>conftest.err
34691 cat conftest.err
>&5
34692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34693 (exit $ac_status); } &&
34694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34696 (eval $ac_try) 2>&5
34698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34699 (exit $ac_status); }; } &&
34700 { ac_try
='test -s conftest$ac_exeext'
34701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34702 (eval $ac_try) 2>&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); }; }; then
34706 ac_cv_lib_w_wcslen
=yes
34708 echo "$as_me: failed program was:" >&5
34709 sed 's/^/| /' conftest.
$ac_ext >&5
34711 ac_cv_lib_w_wcslen
=no
34713 rm -f conftest.err conftest.
$ac_objext \
34714 conftest
$ac_exeext conftest.
$ac_ext
34715 LIBS
=$ac_check_lib_save_LIBS
34717 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34718 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34719 if test $ac_cv_lib_w_wcslen = yes; then
34729 if test "$WCSLEN_FOUND" = 1; then
34730 cat >>confdefs.h
<<\_ACEOF
34731 #define HAVE_WCSLEN 1
34736 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34737 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34740 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34741 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34742 if test "${ac_cv_type_mbstate_t+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34745 cat >conftest.
$ac_ext <<_ACEOF
34748 cat confdefs.h
>>conftest.
$ac_ext
34749 cat >>conftest.
$ac_ext <<_ACEOF
34750 /* end confdefs.h. */
34756 if ((mbstate_t *) 0)
34758 if (sizeof (mbstate_t))
34764 rm -f conftest.
$ac_objext
34765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34766 (eval $ac_compile) 2>conftest.er1
34768 grep -v '^ *+' conftest.er1
>conftest.err
34770 cat conftest.err
>&5
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); } &&
34773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34775 (eval $ac_try) 2>&5
34777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34778 (exit $ac_status); }; } &&
34779 { ac_try
='test -s conftest.$ac_objext'
34780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34781 (eval $ac_try) 2>&5
34783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784 (exit $ac_status); }; }; then
34785 ac_cv_type_mbstate_t
=yes
34787 echo "$as_me: failed program was:" >&5
34788 sed 's/^/| /' conftest.
$ac_ext >&5
34790 ac_cv_type_mbstate_t
=no
34792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34794 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34795 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34796 if test $ac_cv_type_mbstate_t = yes; then
34798 cat >>confdefs.h
<<_ACEOF
34799 #define HAVE_MBSTATE_T 1
34803 for ac_func
in wcsrtombs
34805 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34806 echo "$as_me:$LINENO: checking for $ac_func" >&5
34807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34808 if eval "test \"\${$as_ac_var+set}\" = set"; then
34809 echo $ECHO_N "(cached) $ECHO_C" >&6
34811 cat >conftest.
$ac_ext <<_ACEOF
34814 cat confdefs.h
>>conftest.
$ac_ext
34815 cat >>conftest.
$ac_ext <<_ACEOF
34816 /* end confdefs.h. */
34817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34819 #define $ac_func innocuous_$ac_func
34821 /* System header to define __stub macros and hopefully few prototypes,
34822 which can conflict with char $ac_func (); below.
34823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34824 <limits.h> exists even on freestanding compilers. */
34827 # include <limits.h>
34829 # include <assert.h>
34834 /* Override any gcc2 internal prototype to avoid an error. */
34839 /* We use char because int might match the return type of a gcc2
34840 builtin and then its argument prototype would still apply. */
34842 /* The GNU C library defines this for functions which it implements
34843 to always fail with ENOSYS. Some functions are actually named
34844 something starting with __ and the normal name is an alias. */
34845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34848 char (*f) () = $ac_func;
34857 return f != $ac_func;
34862 rm -f conftest.
$ac_objext conftest
$ac_exeext
34863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34864 (eval $ac_link) 2>conftest.er1
34866 grep -v '^ *+' conftest.er1
>conftest.err
34868 cat conftest.err
>&5
34869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34870 (exit $ac_status); } &&
34871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34873 (eval $ac_try) 2>&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); }; } &&
34877 { ac_try
='test -s conftest$ac_exeext'
34878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34879 (eval $ac_try) 2>&5
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); }; }; then
34883 eval "$as_ac_var=yes"
34885 echo "$as_me: failed program was:" >&5
34886 sed 's/^/| /' conftest.
$ac_ext >&5
34888 eval "$as_ac_var=no"
34890 rm -f conftest.err conftest.
$ac_objext \
34891 conftest
$ac_exeext conftest.
$ac_ext
34893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34895 if test `eval echo '${'$as_ac_var'}'` = yes; then
34896 cat >>confdefs.h
<<_ACEOF
34897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34906 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34907 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34912 for ac_func
in snprintf vsnprintf
34914 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34915 echo "$as_me:$LINENO: checking for $ac_func" >&5
34916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34917 if eval "test \"\${$as_ac_var+set}\" = set"; then
34918 echo $ECHO_N "(cached) $ECHO_C" >&6
34920 cat >conftest.
$ac_ext <<_ACEOF
34923 cat confdefs.h
>>conftest.
$ac_ext
34924 cat >>conftest.
$ac_ext <<_ACEOF
34925 /* end confdefs.h. */
34926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34928 #define $ac_func innocuous_$ac_func
34930 /* System header to define __stub macros and hopefully few prototypes,
34931 which can conflict with char $ac_func (); below.
34932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34933 <limits.h> exists even on freestanding compilers. */
34936 # include <limits.h>
34938 # include <assert.h>
34943 /* Override any gcc2 internal prototype to avoid an error. */
34948 /* We use char because int might match the return type of a gcc2
34949 builtin and then its argument prototype would still apply. */
34951 /* The GNU C library defines this for functions which it implements
34952 to always fail with ENOSYS. Some functions are actually named
34953 something starting with __ and the normal name is an alias. */
34954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34957 char (*f) () = $ac_func;
34966 return f != $ac_func;
34971 rm -f conftest.
$ac_objext conftest
$ac_exeext
34972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34973 (eval $ac_link) 2>conftest.er1
34975 grep -v '^ *+' conftest.er1
>conftest.err
34977 cat conftest.err
>&5
34978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979 (exit $ac_status); } &&
34980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34982 (eval $ac_try) 2>&5
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); }; } &&
34986 { ac_try
='test -s conftest$ac_exeext'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; }; then
34992 eval "$as_ac_var=yes"
34994 echo "$as_me: failed program was:" >&5
34995 sed 's/^/| /' conftest.
$ac_ext >&5
34997 eval "$as_ac_var=no"
34999 rm -f conftest.err conftest.
$ac_objext \
35000 conftest
$ac_exeext conftest.
$ac_ext
35002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35004 if test `eval echo '${'$as_ac_var'}'` = yes; then
35005 cat >>confdefs.h
<<_ACEOF
35006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35013 if test "$ac_cv_func_vsnprintf" = "yes"; then
35014 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35015 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35016 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35017 echo $ECHO_N "(cached) $ECHO_C" >&6
35020 cat >conftest.
$ac_ext <<_ACEOF
35023 cat confdefs.h
>>conftest.
$ac_ext
35024 cat >>conftest.
$ac_ext <<_ACEOF
35025 /* end confdefs.h. */
35028 #include <stdarg.h>
35030 #if __MSL__ >= 0x6000
35032 using namespace std;
35042 vsnprintf(buf, 10u, "%s", ap);
35048 rm -f conftest.
$ac_objext
35049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35050 (eval $ac_compile) 2>conftest.er1
35052 grep -v '^ *+' conftest.er1
>conftest.err
35054 cat conftest.err
>&5
35055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35056 (exit $ac_status); } &&
35057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35059 (eval $ac_try) 2>&5
35061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35062 (exit $ac_status); }; } &&
35063 { ac_try
='test -s conftest.$ac_objext'
35064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35065 (eval $ac_try) 2>&5
35067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35068 (exit $ac_status); }; }; then
35069 wx_cv_func_vsnprintf_decl
=yes
35071 echo "$as_me: failed program was:" >&5
35072 sed 's/^/| /' conftest.
$ac_ext >&5
35074 wx_cv_func_vsnprintf_decl
=no
35077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35081 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35082 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35084 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35085 cat >>confdefs.h
<<\_ACEOF
35086 #define HAVE_VSNPRINTF_DECL 1
35090 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35091 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35092 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35093 echo $ECHO_N "(cached) $ECHO_C" >&6
35096 cat >conftest.
$ac_ext <<_ACEOF
35099 cat confdefs.h
>>conftest.
$ac_ext
35100 cat >>conftest.
$ac_ext <<_ACEOF
35101 /* end confdefs.h. */
35104 #include <stdarg.h>
35106 #if __MSL__ >= 0x6000
35108 using namespace std;
35118 const char *fmt = "%s";
35119 vsnprintf(buf, 10u, fmt, ap);
35125 rm -f conftest.
$ac_objext
35126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35127 (eval $ac_compile) 2>conftest.er1
35129 grep -v '^ *+' conftest.er1
>conftest.err
35131 cat conftest.err
>&5
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); } &&
35134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35136 (eval $ac_try) 2>&5
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); }; } &&
35140 { ac_try
='test -s conftest.$ac_objext'
35141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35142 (eval $ac_try) 2>&5
35144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35145 (exit $ac_status); }; }; then
35146 wx_cv_func_broken_vsnprintf_decl
=no
35148 echo "$as_me: failed program was:" >&5
35149 sed 's/^/| /' conftest.
$ac_ext >&5
35151 wx_cv_func_broken_vsnprintf_decl
=yes
35154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35158 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35159 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35161 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35162 cat >>confdefs.h
<<\_ACEOF
35163 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35170 if test "$ac_cv_func_snprintf" = "yes"; then
35171 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35172 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35173 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35174 echo $ECHO_N "(cached) $ECHO_C" >&6
35177 cat >conftest.
$ac_ext <<_ACEOF
35180 cat confdefs.h
>>conftest.
$ac_ext
35181 cat >>conftest.
$ac_ext <<_ACEOF
35182 /* end confdefs.h. */
35185 #include <stdarg.h>
35187 #if __MSL__ >= 0x6000
35189 using namespace std;
35198 snprintf(buf, 10u, "%s", "wx");
35204 rm -f conftest.
$ac_objext
35205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35206 (eval $ac_compile) 2>conftest.er1
35208 grep -v '^ *+' conftest.er1
>conftest.err
35210 cat conftest.err
>&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } &&
35213 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35215 (eval $ac_try) 2>&5
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); }; } &&
35219 { ac_try
='test -s conftest.$ac_objext'
35220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35221 (eval $ac_try) 2>&5
35223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224 (exit $ac_status); }; }; then
35225 wx_cv_func_snprintf_decl
=yes
35227 echo "$as_me: failed program was:" >&5
35228 sed 's/^/| /' conftest.
$ac_ext >&5
35230 wx_cv_func_snprintf_decl
=no
35233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35237 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35238 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35240 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35241 cat >>confdefs.h
<<\_ACEOF
35242 #define HAVE_SNPRINTF_DECL 1
35246 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35247 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35248 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35249 echo $ECHO_N "(cached) $ECHO_C" >&6
35252 cat >conftest.
$ac_ext <<_ACEOF
35255 cat confdefs.h
>>conftest.
$ac_ext
35256 cat >>conftest.
$ac_ext <<_ACEOF
35257 /* end confdefs.h. */
35260 #include <stdarg.h>
35262 #if __MSL__ >= 0x6000
35264 using namespace std;
35273 const char *fmt = "%s";
35274 snprintf(buf, 10u, fmt, "wx");
35280 rm -f conftest.
$ac_objext
35281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35282 (eval $ac_compile) 2>conftest.er1
35284 grep -v '^ *+' conftest.er1
>conftest.err
35286 cat conftest.err
>&5
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); } &&
35289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35291 (eval $ac_try) 2>&5
35293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35294 (exit $ac_status); }; } &&
35295 { ac_try
='test -s conftest.$ac_objext'
35296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35297 (eval $ac_try) 2>&5
35299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35300 (exit $ac_status); }; }; then
35301 wx_cv_func_broken_snprintf_decl
=no
35303 echo "$as_me: failed program was:" >&5
35304 sed 's/^/| /' conftest.
$ac_ext >&5
35306 wx_cv_func_broken_snprintf_decl
=yes
35309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35313 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35314 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35316 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35317 cat >>confdefs.h
<<\_ACEOF
35318 #define HAVE_BROKEN_SNPRINTF_DECL 1
35324 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35326 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35327 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35328 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35329 echo $ECHO_N "(cached) $ECHO_C" >&6
35332 if test "$cross_compiling" = yes; then
35334 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35335 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35336 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35337 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35338 wx_cv_func_snprintf_pos_params
=no
35342 cat >conftest.
$ac_ext <<_ACEOF
35345 cat confdefs.h
>>conftest.
$ac_ext
35346 cat >>conftest.
$ac_ext <<_ACEOF
35347 /* end confdefs.h. */
35354 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35355 if (strcmp ("2 3 1", buffer) == 0)
35361 rm -f conftest
$ac_exeext
35362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35363 (eval $ac_link) 2>&5
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35368 (eval $ac_try) 2>&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); }; }; then
35372 wx_cv_func_snprintf_pos_params
=no
35374 echo "$as_me: program exited with status $ac_status" >&5
35375 echo "$as_me: failed program was:" >&5
35376 sed 's/^/| /' conftest.
$ac_ext >&5
35378 ( exit $ac_status )
35379 wx_cv_func_snprintf_pos_params
=yes
35381 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35386 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35387 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35389 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35390 cat >>confdefs.h
<<\_ACEOF
35391 #define HAVE_UNIX98_PRINTF 1
35398 if test "$wxUSE_UNICODE" = yes; then
35401 for ac_func
in swprintf
35403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35404 echo "$as_me:$LINENO: checking for $ac_func" >&5
35405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35406 if eval "test \"\${$as_ac_var+set}\" = set"; then
35407 echo $ECHO_N "(cached) $ECHO_C" >&6
35409 cat >conftest.
$ac_ext <<_ACEOF
35412 cat confdefs.h
>>conftest.
$ac_ext
35413 cat >>conftest.
$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35417 #define $ac_func innocuous_$ac_func
35419 /* System header to define __stub macros and hopefully few prototypes,
35420 which can conflict with char $ac_func (); below.
35421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35422 <limits.h> exists even on freestanding compilers. */
35425 # include <limits.h>
35427 # include <assert.h>
35432 /* Override any gcc2 internal prototype to avoid an error. */
35437 /* We use char because int might match the return type of a gcc2
35438 builtin and then its argument prototype would still apply. */
35440 /* The GNU C library defines this for functions which it implements
35441 to always fail with ENOSYS. Some functions are actually named
35442 something starting with __ and the normal name is an alias. */
35443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35446 char (*f) () = $ac_func;
35455 return f != $ac_func;
35460 rm -f conftest.
$ac_objext conftest
$ac_exeext
35461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35462 (eval $ac_link) 2>conftest.er1
35464 grep -v '^ *+' conftest.er1
>conftest.err
35466 cat conftest.err
>&5
35467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35468 (exit $ac_status); } &&
35469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35471 (eval $ac_try) 2>&5
35473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35474 (exit $ac_status); }; } &&
35475 { ac_try
='test -s conftest$ac_exeext'
35476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35477 (eval $ac_try) 2>&5
35479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35480 (exit $ac_status); }; }; then
35481 eval "$as_ac_var=yes"
35483 echo "$as_me: failed program was:" >&5
35484 sed 's/^/| /' conftest.
$ac_ext >&5
35486 eval "$as_ac_var=no"
35488 rm -f conftest.err conftest.
$ac_objext \
35489 conftest
$ac_exeext conftest.
$ac_ext
35491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35493 if test `eval echo '${'$as_ac_var'}'` = yes; then
35494 cat >>confdefs.h
<<_ACEOF
35495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35502 if test "$ac_cv_func_swprintf" = "yes"; then
35503 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35504 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35505 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35506 echo $ECHO_N "(cached) $ECHO_C" >&6
35509 cat >conftest.
$ac_ext <<_ACEOF
35512 cat confdefs.h
>>conftest.
$ac_ext
35513 cat >>conftest.
$ac_ext <<_ACEOF
35514 /* end confdefs.h. */
35517 #include <stdarg.h>
35525 const wchar_t *fmt = L"test";
35526 swprintf(buf, 10u, fmt);
35532 rm -f conftest.
$ac_objext
35533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35534 (eval $ac_compile) 2>conftest.er1
35536 grep -v '^ *+' conftest.er1
>conftest.err
35538 cat conftest.err
>&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); } &&
35541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543 (eval $ac_try) 2>&5
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); }; } &&
35547 { ac_try
='test -s conftest.$ac_objext'
35548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35549 (eval $ac_try) 2>&5
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); }; }; then
35553 wx_cv_func_broken_swprintf_decl
=no
35555 echo "$as_me: failed program was:" >&5
35556 sed 's/^/| /' conftest.
$ac_ext >&5
35558 wx_cv_func_broken_swprintf_decl
=yes
35561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35565 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35566 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35568 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35569 cat >>confdefs.h
<<\_ACEOF
35570 #define HAVE_BROKEN_SWPRINTF_DECL 1
35576 wchar_headers
="#include <stdio.h>
35577 #include <wchar.h>"
35581 for ac_header
in widec.h
35583 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35585 echo "$as_me:$LINENO: checking for $ac_header" >&5
35586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35588 echo $ECHO_N "(cached) $ECHO_C" >&6
35590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35593 # Is the header compilable?
35594 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35595 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35596 cat >conftest.
$ac_ext <<_ACEOF
35599 cat confdefs.h
>>conftest.
$ac_ext
35600 cat >>conftest.
$ac_ext <<_ACEOF
35601 /* end confdefs.h. */
35602 $ac_includes_default
35603 #include <$ac_header>
35605 rm -f conftest.
$ac_objext
35606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35607 (eval $ac_compile) 2>conftest.er1
35609 grep -v '^ *+' conftest.er1
>conftest.err
35611 cat conftest.err
>&5
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); } &&
35614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35616 (eval $ac_try) 2>&5
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); }; } &&
35620 { ac_try
='test -s conftest.$ac_objext'
35621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35622 (eval $ac_try) 2>&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); }; }; then
35626 ac_header_compiler
=yes
35628 echo "$as_me: failed program was:" >&5
35629 sed 's/^/| /' conftest.
$ac_ext >&5
35631 ac_header_compiler
=no
35633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35635 echo "${ECHO_T}$ac_header_compiler" >&6
35637 # Is the header present?
35638 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35640 cat >conftest.
$ac_ext <<_ACEOF
35643 cat confdefs.h
>>conftest.
$ac_ext
35644 cat >>conftest.
$ac_ext <<_ACEOF
35645 /* end confdefs.h. */
35646 #include <$ac_header>
35648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35649 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35651 grep -v '^ *+' conftest.er1
>conftest.err
35653 cat conftest.err
>&5
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 (exit $ac_status); } >/dev
/null
; then
35656 if test -s conftest.err
; then
35657 ac_cpp_err
=$ac_c_preproc_warn_flag
35658 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35665 if test -z "$ac_cpp_err"; then
35666 ac_header_preproc
=yes
35668 echo "$as_me: failed program was:" >&5
35669 sed 's/^/| /' conftest.
$ac_ext >&5
35671 ac_header_preproc
=no
35673 rm -f conftest.err conftest.
$ac_ext
35674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35675 echo "${ECHO_T}$ac_header_preproc" >&6
35677 # So? What about this header?
35678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35680 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35683 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35684 ac_header_preproc
=yes
35687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35691 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35692 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35693 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35694 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35697 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35698 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35701 ## ----------------------------------------- ##
35702 ## Report this to wx-dev@lists.wxwidgets.org ##
35703 ## ----------------------------------------- ##
35706 sed "s/^/$as_me: WARNING: /" >&2
35709 echo "$as_me:$LINENO: checking for $ac_header" >&5
35710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35712 echo $ECHO_N "(cached) $ECHO_C" >&6
35714 eval "$as_ac_Header=\$ac_header_preproc"
35716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35721 cat >>confdefs.h
<<_ACEOF
35722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35729 if test "$ac_cv_header_widec_h" = "yes"; then
35730 wchar_headers
="$wchar_headers
35731 #include <widec.h>"
35736 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
35738 echo "$as_me:$LINENO: checking for $wx_func" >&5
35739 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35740 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35741 echo $ECHO_N "(cached) $ECHO_C" >&6
35744 cat >conftest.
$ac_ext <<_ACEOF
35748 cat confdefs.h
>>conftest.
$ac_ext
35749 cat >>conftest.
$ac_ext <<_ACEOF
35750 /* end confdefs.h. */
35753 $ac_includes_default
35769 rm -f conftest.
$ac_objext conftest
$ac_exeext
35770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35771 (eval $ac_link) 2>conftest.er1
35773 grep -v '^ *+' conftest.er1
>conftest.err
35775 cat conftest.err
>&5
35776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35777 (exit $ac_status); } &&
35778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35780 (eval $ac_try) 2>&5
35782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35783 (exit $ac_status); }; } &&
35784 { ac_try
='test -s conftest$ac_exeext'
35785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35786 (eval $ac_try) 2>&5
35788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35789 (exit $ac_status); }; }; then
35790 eval wx_cv_func_
$wx_func=yes
35792 echo "$as_me: failed program was:" >&5
35793 sed 's/^/| /' conftest.
$ac_ext >&5
35795 eval wx_cv_func_
$wx_func=no
35797 rm -f conftest.err conftest.
$ac_objext \
35798 conftest
$ac_exeext conftest.
$ac_ext
35801 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35802 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35804 if eval test \
$wx_cv_func_$wx_func = yes
35806 cat >>confdefs.h
<<_ACEOF
35807 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35818 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35819 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35820 cat >conftest.
$ac_ext <<_ACEOF
35823 cat confdefs.h
>>conftest.
$ac_ext
35824 cat >>conftest.
$ac_ext <<_ACEOF
35825 /* end confdefs.h. */
35835 rm -f conftest.
$ac_objext
35836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35837 (eval $ac_compile) 2>conftest.er1
35839 grep -v '^ *+' conftest.er1
>conftest.err
35841 cat conftest.err
>&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); } &&
35844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35846 (eval $ac_try) 2>&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); }; } &&
35850 { ac_try
='test -s conftest.$ac_objext'
35851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35852 (eval $ac_try) 2>&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); }; }; then
35856 echo "$as_me:$LINENO: result: yes" >&5
35857 echo "${ECHO_T}yes" >&6
35858 cat >>confdefs.h
<<\_ACEOF
35859 #define HAVE__VSNWPRINTF 1
35863 echo "$as_me: failed program was:" >&5
35864 sed 's/^/| /' conftest.
$ac_ext >&5
35866 echo "$as_me:$LINENO: result: no" >&5
35867 echo "${ECHO_T}no" >&6
35869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35872 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35874 for wx_func
in fnmatch
35876 echo "$as_me:$LINENO: checking for $wx_func" >&5
35877 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35878 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35879 echo $ECHO_N "(cached) $ECHO_C" >&6
35882 cat >conftest.
$ac_ext <<_ACEOF
35886 cat confdefs.h
>>conftest.
$ac_ext
35887 cat >>conftest.
$ac_ext <<_ACEOF
35888 /* end confdefs.h. */
35890 #include <fnmatch.h>
35891 $ac_includes_default
35907 rm -f conftest.
$ac_objext conftest
$ac_exeext
35908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35909 (eval $ac_link) 2>conftest.er1
35911 grep -v '^ *+' conftest.er1
>conftest.err
35913 cat conftest.err
>&5
35914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35915 (exit $ac_status); } &&
35916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35918 (eval $ac_try) 2>&5
35920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35921 (exit $ac_status); }; } &&
35922 { ac_try
='test -s conftest$ac_exeext'
35923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35924 (eval $ac_try) 2>&5
35926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35927 (exit $ac_status); }; }; then
35928 eval wx_cv_func_
$wx_func=yes
35930 echo "$as_me: failed program was:" >&5
35931 sed 's/^/| /' conftest.
$ac_ext >&5
35933 eval wx_cv_func_
$wx_func=no
35935 rm -f conftest.err conftest.
$ac_objext \
35936 conftest
$ac_exeext conftest.
$ac_ext
35939 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35940 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35942 if eval test \
$wx_cv_func_$wx_func = yes
35944 cat >>confdefs.h
<<_ACEOF
35945 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35957 if test "$wxUSE_FILE" = "yes"; then
35959 for wx_func
in fsync
35961 echo "$as_me:$LINENO: checking for $wx_func" >&5
35962 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35963 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35964 echo $ECHO_N "(cached) $ECHO_C" >&6
35967 cat >conftest.
$ac_ext <<_ACEOF
35971 cat confdefs.h
>>conftest.
$ac_ext
35972 cat >>conftest.
$ac_ext <<_ACEOF
35973 /* end confdefs.h. */
35976 $ac_includes_default
35992 rm -f conftest.
$ac_objext conftest
$ac_exeext
35993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35994 (eval $ac_link) 2>conftest.er1
35996 grep -v '^ *+' conftest.er1
>conftest.err
35998 cat conftest.err
>&5
35999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36000 (exit $ac_status); } &&
36001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36003 (eval $ac_try) 2>&5
36005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36006 (exit $ac_status); }; } &&
36007 { ac_try
='test -s conftest$ac_exeext'
36008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36009 (eval $ac_try) 2>&5
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); }; }; then
36013 eval wx_cv_func_
$wx_func=yes
36015 echo "$as_me: failed program was:" >&5
36016 sed 's/^/| /' conftest.
$ac_ext >&5
36018 eval wx_cv_func_
$wx_func=no
36020 rm -f conftest.err conftest.
$ac_objext \
36021 conftest
$ac_exeext conftest.
$ac_ext
36024 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36025 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36027 if eval test \
$wx_cv_func_$wx_func = yes
36029 cat >>confdefs.h
<<_ACEOF
36030 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36043 for wx_func
in round
36045 echo "$as_me:$LINENO: checking for $wx_func" >&5
36046 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36047 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36048 echo $ECHO_N "(cached) $ECHO_C" >&6
36051 cat >conftest.
$ac_ext <<_ACEOF
36055 cat confdefs.h
>>conftest.
$ac_ext
36056 cat >>conftest.
$ac_ext <<_ACEOF
36057 /* end confdefs.h. */
36060 $ac_includes_default
36076 rm -f conftest.
$ac_objext conftest
$ac_exeext
36077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36078 (eval $ac_link) 2>conftest.er1
36080 grep -v '^ *+' conftest.er1
>conftest.err
36082 cat conftest.err
>&5
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); } &&
36085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36087 (eval $ac_try) 2>&5
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); }; } &&
36091 { ac_try
='test -s conftest$ac_exeext'
36092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36093 (eval $ac_try) 2>&5
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); }; }; then
36097 eval wx_cv_func_
$wx_func=yes
36099 echo "$as_me: failed program was:" >&5
36100 sed 's/^/| /' conftest.
$ac_ext >&5
36102 eval wx_cv_func_
$wx_func=no
36104 rm -f conftest.err conftest.
$ac_objext \
36105 conftest
$ac_exeext conftest.
$ac_ext
36108 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36109 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36111 if eval test \
$wx_cv_func_$wx_func = yes
36113 cat >>confdefs.h
<<_ACEOF
36114 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36125 if test "$TOOLKIT" != "MSW"; then
36131 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36132 if test "${with_libiconv_prefix+set}" = set; then
36133 withval
="$with_libiconv_prefix"
36135 for dir
in `echo "$withval" | tr : ' '`; do
36136 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36137 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36142 echo "$as_me:$LINENO: checking for iconv" >&5
36143 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36144 if test "${am_cv_func_iconv+set}" = set; then
36145 echo $ECHO_N "(cached) $ECHO_C" >&6
36148 am_cv_func_iconv
="no, consider installing GNU libiconv"
36150 cat >conftest.
$ac_ext <<_ACEOF
36153 cat confdefs.h
>>conftest.
$ac_ext
36154 cat >>conftest.
$ac_ext <<_ACEOF
36155 /* end confdefs.h. */
36156 #include <stdlib.h>
36161 iconv_t cd = iconv_open("","");
36162 iconv(cd,NULL,NULL,NULL,NULL);
36168 rm -f conftest.
$ac_objext conftest
$ac_exeext
36169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36170 (eval $ac_link) 2>conftest.er1
36172 grep -v '^ *+' conftest.er1
>conftest.err
36174 cat conftest.err
>&5
36175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36176 (exit $ac_status); } &&
36177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36179 (eval $ac_try) 2>&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); }; } &&
36183 { ac_try
='test -s conftest$ac_exeext'
36184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36185 (eval $ac_try) 2>&5
36187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36188 (exit $ac_status); }; }; then
36189 am_cv_func_iconv
=yes
36191 echo "$as_me: failed program was:" >&5
36192 sed 's/^/| /' conftest.
$ac_ext >&5
36195 rm -f conftest.err conftest.
$ac_objext \
36196 conftest
$ac_exeext conftest.
$ac_ext
36197 if test "$am_cv_func_iconv" != yes; then
36198 am_save_LIBS
="$LIBS"
36199 LIBS
="$LIBS -liconv"
36200 cat >conftest.
$ac_ext <<_ACEOF
36203 cat confdefs.h
>>conftest.
$ac_ext
36204 cat >>conftest.
$ac_ext <<_ACEOF
36205 /* end confdefs.h. */
36206 #include <stdlib.h>
36211 iconv_t cd = iconv_open("","");
36212 iconv(cd,NULL,NULL,NULL,NULL);
36218 rm -f conftest.
$ac_objext conftest
$ac_exeext
36219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36220 (eval $ac_link) 2>conftest.er1
36222 grep -v '^ *+' conftest.er1
>conftest.err
36224 cat conftest.err
>&5
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); } &&
36227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36229 (eval $ac_try) 2>&5
36231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36232 (exit $ac_status); }; } &&
36233 { ac_try
='test -s conftest$ac_exeext'
36234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36235 (eval $ac_try) 2>&5
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); }; }; then
36239 am_cv_lib_iconv
=yes
36240 am_cv_func_iconv
=yes
36242 echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.
$ac_ext >&5
36246 rm -f conftest.err conftest.
$ac_objext \
36247 conftest
$ac_exeext conftest.
$ac_ext
36248 LIBS
="$am_save_LIBS"
36252 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36253 echo "${ECHO_T}$am_cv_func_iconv" >&6
36254 if test "$am_cv_func_iconv" = yes; then
36256 cat >>confdefs.h
<<\_ACEOF
36257 #define HAVE_ICONV 1
36260 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36261 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36262 if test "${wx_cv_func_iconv_const+set}" = set; then
36263 echo $ECHO_N "(cached) $ECHO_C" >&6
36265 cat >conftest.
$ac_ext <<_ACEOF
36268 cat confdefs.h
>>conftest.
$ac_ext
36269 cat >>conftest.
$ac_ext <<_ACEOF
36270 /* end confdefs.h. */
36272 #include <stdlib.h>
36278 #if defined(__STDC__) || defined(__cplusplus)
36279 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36292 rm -f conftest.
$ac_objext
36293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36294 (eval $ac_compile) 2>conftest.er1
36296 grep -v '^ *+' conftest.er1
>conftest.err
36298 cat conftest.err
>&5
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); } &&
36301 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36303 (eval $ac_try) 2>&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); }; } &&
36307 { ac_try
='test -s conftest.$ac_objext'
36308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36309 (eval $ac_try) 2>&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); }; }; then
36313 wx_cv_func_iconv_const
="no"
36315 echo "$as_me: failed program was:" >&5
36316 sed 's/^/| /' conftest.
$ac_ext >&5
36318 wx_cv_func_iconv_const
="yes"
36321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36324 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36325 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36328 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36329 iconv_const
="const"
36333 cat >>confdefs.h
<<_ACEOF
36334 #define ICONV_CONST $iconv_const
36339 if test "$am_cv_lib_iconv" = yes; then
36344 LIBS
="$LIBICONV $LIBS"
36346 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36348 for ac_func
in sigaction
36350 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36351 echo "$as_me:$LINENO: checking for $ac_func" >&5
36352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36353 if eval "test \"\${$as_ac_var+set}\" = set"; then
36354 echo $ECHO_N "(cached) $ECHO_C" >&6
36356 cat >conftest.
$ac_ext <<_ACEOF
36359 cat confdefs.h
>>conftest.
$ac_ext
36360 cat >>conftest.
$ac_ext <<_ACEOF
36361 /* end confdefs.h. */
36362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36364 #define $ac_func innocuous_$ac_func
36366 /* System header to define __stub macros and hopefully few prototypes,
36367 which can conflict with char $ac_func (); below.
36368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36369 <limits.h> exists even on freestanding compilers. */
36372 # include <limits.h>
36374 # include <assert.h>
36379 /* Override any gcc2 internal prototype to avoid an error. */
36384 /* We use char because int might match the return type of a gcc2
36385 builtin and then its argument prototype would still apply. */
36387 /* The GNU C library defines this for functions which it implements
36388 to always fail with ENOSYS. Some functions are actually named
36389 something starting with __ and the normal name is an alias. */
36390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36393 char (*f) () = $ac_func;
36402 return f != $ac_func;
36407 rm -f conftest.
$ac_objext conftest
$ac_exeext
36408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36409 (eval $ac_link) 2>conftest.er1
36411 grep -v '^ *+' conftest.er1
>conftest.err
36413 cat conftest.err
>&5
36414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36415 (exit $ac_status); } &&
36416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36418 (eval $ac_try) 2>&5
36420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36421 (exit $ac_status); }; } &&
36422 { ac_try
='test -s conftest$ac_exeext'
36423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36424 (eval $ac_try) 2>&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); }; }; then
36428 eval "$as_ac_var=yes"
36430 echo "$as_me: failed program was:" >&5
36431 sed 's/^/| /' conftest.
$ac_ext >&5
36433 eval "$as_ac_var=no"
36435 rm -f conftest.err conftest.
$ac_objext \
36436 conftest
$ac_exeext conftest.
$ac_ext
36438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36440 if test `eval echo '${'$as_ac_var'}'` = yes; then
36441 cat >>confdefs.h
<<_ACEOF
36442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36449 if test "$ac_cv_func_sigaction" = "no"; then
36450 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36451 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36452 wxUSE_ON_FATAL_EXCEPTION
=no
36455 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36456 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36457 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36458 if test "${wx_cv_type_sa_handler+set}" = set; then
36459 echo $ECHO_N "(cached) $ECHO_C" >&6
36463 ac_cpp
='$CXXCPP $CPPFLAGS'
36464 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36465 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36466 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36468 cat >conftest.
$ac_ext <<_ACEOF
36471 cat confdefs.h
>>conftest.
$ac_ext
36472 cat >>conftest.
$ac_ext <<_ACEOF
36473 /* end confdefs.h. */
36474 #include <signal.h>
36479 extern void testSigHandler(int);
36481 struct sigaction sa;
36482 sa.sa_handler = testSigHandler;
36488 rm -f conftest.
$ac_objext
36489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36490 (eval $ac_compile) 2>conftest.er1
36492 grep -v '^ *+' conftest.er1
>conftest.err
36494 cat conftest.err
>&5
36495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36496 (exit $ac_status); } &&
36497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36499 (eval $ac_try) 2>&5
36501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36502 (exit $ac_status); }; } &&
36503 { ac_try
='test -s conftest.$ac_objext'
36504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36505 (eval $ac_try) 2>&5
36507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508 (exit $ac_status); }; }; then
36510 wx_cv_type_sa_handler
=int
36513 echo "$as_me: failed program was:" >&5
36514 sed 's/^/| /' conftest.
$ac_ext >&5
36517 wx_cv_type_sa_handler
=void
36520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36522 ac_cpp
='$CPP $CPPFLAGS'
36523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36529 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36530 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36532 cat >>confdefs.h
<<_ACEOF
36533 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36539 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36540 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36541 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36542 if test "${wx_cv_func_backtrace+set}" = set; then
36543 echo $ECHO_N "(cached) $ECHO_C" >&6
36547 ac_cpp
='$CXXCPP $CPPFLAGS'
36548 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36549 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36550 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36552 cat >conftest.
$ac_ext <<_ACEOF
36555 cat confdefs.h
>>conftest.
$ac_ext
36556 cat >>conftest.
$ac_ext <<_ACEOF
36557 /* end confdefs.h. */
36558 #include <execinfo.h>
36566 backtrace(trace, 1);
36567 messages = backtrace_symbols(trace, 1);
36573 rm -f conftest.
$ac_objext
36574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36575 (eval $ac_compile) 2>conftest.er1
36577 grep -v '^ *+' conftest.er1
>conftest.err
36579 cat conftest.err
>&5
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); } &&
36582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36584 (eval $ac_try) 2>&5
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); }; } &&
36588 { ac_try
='test -s conftest.$ac_objext'
36589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36590 (eval $ac_try) 2>&5
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); }; }; then
36594 wx_cv_func_backtrace
=yes
36596 echo "$as_me: failed program was:" >&5
36597 sed 's/^/| /' conftest.
$ac_ext >&5
36599 wx_cv_func_backtrace
=no
36602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36604 ac_cpp
='$CPP $CPPFLAGS'
36605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36612 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36613 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36616 if test "$wx_cv_func_backtrace" = "no"; then
36617 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36618 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36619 wxUSE_STACKWALKER
=no
36621 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36622 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36623 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36624 echo $ECHO_N "(cached) $ECHO_C" >&6
36628 ac_cpp
='$CXXCPP $CPPFLAGS'
36629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36633 cat >conftest.
$ac_ext <<_ACEOF
36636 cat confdefs.h
>>conftest.
$ac_ext
36637 cat >>conftest.
$ac_ext <<_ACEOF
36638 /* end confdefs.h. */
36639 #include <cxxabi.h>
36645 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36651 rm -f conftest.
$ac_objext conftest
$ac_exeext
36652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36653 (eval $ac_link) 2>conftest.er1
36655 grep -v '^ *+' conftest.er1
>conftest.err
36657 cat conftest.err
>&5
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); } &&
36660 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36662 (eval $ac_try) 2>&5
36664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36665 (exit $ac_status); }; } &&
36666 { ac_try
='test -s conftest$ac_exeext'
36667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36668 (eval $ac_try) 2>&5
36670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36671 (exit $ac_status); }; }; then
36672 wx_cv_func_cxa_demangle
=yes
36674 echo "$as_me: failed program was:" >&5
36675 sed 's/^/| /' conftest.
$ac_ext >&5
36677 wx_cv_func_cxa_demangle
=no
36680 rm -f conftest.err conftest.
$ac_objext \
36681 conftest
$ac_exeext conftest.
$ac_ext
36683 ac_cpp
='$CPP $CPPFLAGS'
36684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36691 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36692 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36694 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36695 cat >>confdefs.h
<<\_ACEOF
36696 #define HAVE_CXA_DEMANGLE 1
36703 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36704 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36705 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36706 wxUSE_STACKWALKER
=no
36712 for ac_func
in mkstemp mktemp
36714 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36715 echo "$as_me:$LINENO: checking for $ac_func" >&5
36716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36717 if eval "test \"\${$as_ac_var+set}\" = set"; then
36718 echo $ECHO_N "(cached) $ECHO_C" >&6
36720 cat >conftest.
$ac_ext <<_ACEOF
36723 cat confdefs.h
>>conftest.
$ac_ext
36724 cat >>conftest.
$ac_ext <<_ACEOF
36725 /* end confdefs.h. */
36726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36728 #define $ac_func innocuous_$ac_func
36730 /* System header to define __stub macros and hopefully few prototypes,
36731 which can conflict with char $ac_func (); below.
36732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36733 <limits.h> exists even on freestanding compilers. */
36736 # include <limits.h>
36738 # include <assert.h>
36743 /* Override any gcc2 internal prototype to avoid an error. */
36748 /* We use char because int might match the return type of a gcc2
36749 builtin and then its argument prototype would still apply. */
36751 /* The GNU C library defines this for functions which it implements
36752 to always fail with ENOSYS. Some functions are actually named
36753 something starting with __ and the normal name is an alias. */
36754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36757 char (*f) () = $ac_func;
36766 return f != $ac_func;
36771 rm -f conftest.
$ac_objext conftest
$ac_exeext
36772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36773 (eval $ac_link) 2>conftest.er1
36775 grep -v '^ *+' conftest.er1
>conftest.err
36777 cat conftest.err
>&5
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); } &&
36780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36782 (eval $ac_try) 2>&5
36784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36785 (exit $ac_status); }; } &&
36786 { ac_try
='test -s conftest$ac_exeext'
36787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36788 (eval $ac_try) 2>&5
36790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36791 (exit $ac_status); }; }; then
36792 eval "$as_ac_var=yes"
36794 echo "$as_me: failed program was:" >&5
36795 sed 's/^/| /' conftest.
$ac_ext >&5
36797 eval "$as_ac_var=no"
36799 rm -f conftest.err conftest.
$ac_objext \
36800 conftest
$ac_exeext conftest.
$ac_ext
36802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36804 if test `eval echo '${'$as_ac_var'}'` = yes; then
36805 cat >>confdefs.h
<<_ACEOF
36806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36813 echo "$as_me:$LINENO: checking for statfs" >&5
36814 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36815 if test "${wx_cv_func_statfs+set}" = set; then
36816 echo $ECHO_N "(cached) $ECHO_C" >&6
36818 cat >conftest.
$ac_ext <<_ACEOF
36821 cat confdefs.h
>>conftest.
$ac_ext
36822 cat >>conftest.
$ac_ext <<_ACEOF
36823 /* end confdefs.h. */
36825 #if defined(__BSD__)
36826 #include <sys/param.h>
36827 #include <sys/mount.h>
36829 #include <sys/vfs.h>
36847 rm -f conftest.
$ac_objext
36848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36849 (eval $ac_compile) 2>conftest.er1
36851 grep -v '^ *+' conftest.er1
>conftest.err
36853 cat conftest.err
>&5
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); } &&
36856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36858 (eval $ac_try) 2>&5
36860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36861 (exit $ac_status); }; } &&
36862 { ac_try
='test -s conftest.$ac_objext'
36863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36864 (eval $ac_try) 2>&5
36866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36867 (exit $ac_status); }; }; then
36868 wx_cv_func_statfs
=yes
36870 echo "$as_me: failed program was:" >&5
36871 sed 's/^/| /' conftest.
$ac_ext >&5
36873 wx_cv_func_statfs
=no
36876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36879 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36880 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36882 if test "$wx_cv_func_statfs" = "yes"; then
36883 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36884 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36885 if test "${wx_cv_func_statfs_decl+set}" = set; then
36886 echo $ECHO_N "(cached) $ECHO_C" >&6
36889 ac_cpp
='$CXXCPP $CPPFLAGS'
36890 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36891 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36894 cat >conftest.
$ac_ext <<_ACEOF
36897 cat confdefs.h
>>conftest.
$ac_ext
36898 cat >>conftest.
$ac_ext <<_ACEOF
36899 /* end confdefs.h. */
36901 #if defined(__BSD__)
36902 #include <sys/param.h>
36903 #include <sys/mount.h>
36905 #include <sys/vfs.h>
36919 rm -f conftest.
$ac_objext
36920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36921 (eval $ac_compile) 2>conftest.er1
36923 grep -v '^ *+' conftest.er1
>conftest.err
36925 cat conftest.err
>&5
36926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36927 (exit $ac_status); } &&
36928 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36930 (eval $ac_try) 2>&5
36932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36933 (exit $ac_status); }; } &&
36934 { ac_try
='test -s conftest.$ac_objext'
36935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36936 (eval $ac_try) 2>&5
36938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36939 (exit $ac_status); }; }; then
36940 wx_cv_func_statfs_decl
=yes
36942 echo "$as_me: failed program was:" >&5
36943 sed 's/^/| /' conftest.
$ac_ext >&5
36945 wx_cv_func_statfs_decl
=no
36948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36950 ac_cpp
='$CPP $CPPFLAGS'
36951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36957 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36958 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36960 if test "$wx_cv_func_statfs_decl" = "yes"; then
36961 cat >>confdefs.h
<<\_ACEOF
36962 #define HAVE_STATFS_DECL 1
36967 wx_cv_type_statvfs_t
="struct statfs"
36968 cat >>confdefs.h
<<\_ACEOF
36969 #define HAVE_STATFS 1
36973 echo "$as_me:$LINENO: checking for statvfs" >&5
36974 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36975 if test "${wx_cv_func_statvfs+set}" = set; then
36976 echo $ECHO_N "(cached) $ECHO_C" >&6
36978 cat >conftest.
$ac_ext <<_ACEOF
36981 cat confdefs.h
>>conftest.
$ac_ext
36982 cat >>conftest.
$ac_ext <<_ACEOF
36983 /* end confdefs.h. */
36985 #include <stddef.h>
36986 #include <sys/statvfs.h>
36992 statvfs("/", NULL);
36998 rm -f conftest.
$ac_objext
36999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37000 (eval $ac_compile) 2>conftest.er1
37002 grep -v '^ *+' conftest.er1
>conftest.err
37004 cat conftest.err
>&5
37005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37006 (exit $ac_status); } &&
37007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37009 (eval $ac_try) 2>&5
37011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37012 (exit $ac_status); }; } &&
37013 { ac_try
='test -s conftest.$ac_objext'
37014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37015 (eval $ac_try) 2>&5
37017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37018 (exit $ac_status); }; }; then
37019 wx_cv_func_statvfs
=yes
37021 echo "$as_me: failed program was:" >&5
37022 sed 's/^/| /' conftest.
$ac_ext >&5
37024 wx_cv_func_statvfs
=no
37027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37030 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37031 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37033 if test "$wx_cv_func_statvfs" = "yes"; then
37034 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37035 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37036 if test "${wx_cv_type_statvfs_t+set}" = set; then
37037 echo $ECHO_N "(cached) $ECHO_C" >&6
37040 ac_cpp
='$CXXCPP $CPPFLAGS'
37041 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37042 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37043 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37045 cat >conftest.
$ac_ext <<_ACEOF
37048 cat confdefs.h
>>conftest.
$ac_ext
37049 cat >>conftest.
$ac_ext <<_ACEOF
37050 /* end confdefs.h. */
37052 #include <sys/statvfs.h>
37069 rm -f conftest.
$ac_objext
37070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37071 (eval $ac_compile) 2>conftest.er1
37073 grep -v '^ *+' conftest.er1
>conftest.err
37075 cat conftest.err
>&5
37076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37077 (exit $ac_status); } &&
37078 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37080 (eval $ac_try) 2>&5
37082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37083 (exit $ac_status); }; } &&
37084 { ac_try
='test -s conftest.$ac_objext'
37085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37086 (eval $ac_try) 2>&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); }; }; then
37090 wx_cv_type_statvfs_t
=statvfs_t
37092 echo "$as_me: failed program was:" >&5
37093 sed 's/^/| /' conftest.
$ac_ext >&5
37096 cat >conftest.
$ac_ext <<_ACEOF
37099 cat confdefs.h
>>conftest.
$ac_ext
37100 cat >>conftest.
$ac_ext <<_ACEOF
37101 /* end confdefs.h. */
37103 #include <sys/statvfs.h>
37120 rm -f conftest.
$ac_objext
37121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37122 (eval $ac_compile) 2>conftest.er1
37124 grep -v '^ *+' conftest.er1
>conftest.err
37126 cat conftest.err
>&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); } &&
37129 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37131 (eval $ac_try) 2>&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); }; } &&
37135 { ac_try
='test -s conftest.$ac_objext'
37136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37137 (eval $ac_try) 2>&5
37139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37140 (exit $ac_status); }; }; then
37141 wx_cv_type_statvfs_t
="struct statvfs"
37143 echo "$as_me: failed program was:" >&5
37144 sed 's/^/| /' conftest.
$ac_ext >&5
37146 wx_cv_type_statvfs_t
="unknown"
37149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37155 ac_cpp
='$CPP $CPPFLAGS'
37156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37162 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37163 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37165 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37166 cat >>confdefs.h
<<\_ACEOF
37167 #define HAVE_STATVFS 1
37172 wx_cv_type_statvfs_t
="unknown"
37176 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37177 cat >>confdefs.h
<<_ACEOF
37178 #define WX_STATFS_T $wx_cv_type_statvfs_t
37182 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37183 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37186 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37189 for ac_func
in fcntl flock
37191 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37192 echo "$as_me:$LINENO: checking for $ac_func" >&5
37193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37194 if eval "test \"\${$as_ac_var+set}\" = set"; then
37195 echo $ECHO_N "(cached) $ECHO_C" >&6
37197 cat >conftest.
$ac_ext <<_ACEOF
37200 cat confdefs.h
>>conftest.
$ac_ext
37201 cat >>conftest.
$ac_ext <<_ACEOF
37202 /* end confdefs.h. */
37203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37205 #define $ac_func innocuous_$ac_func
37207 /* System header to define __stub macros and hopefully few prototypes,
37208 which can conflict with char $ac_func (); below.
37209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37210 <limits.h> exists even on freestanding compilers. */
37213 # include <limits.h>
37215 # include <assert.h>
37220 /* Override any gcc2 internal prototype to avoid an error. */
37225 /* We use char because int might match the return type of a gcc2
37226 builtin and then its argument prototype would still apply. */
37228 /* The GNU C library defines this for functions which it implements
37229 to always fail with ENOSYS. Some functions are actually named
37230 something starting with __ and the normal name is an alias. */
37231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37234 char (*f) () = $ac_func;
37243 return f != $ac_func;
37248 rm -f conftest.
$ac_objext conftest
$ac_exeext
37249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37250 (eval $ac_link) 2>conftest.er1
37252 grep -v '^ *+' conftest.er1
>conftest.err
37254 cat conftest.err
>&5
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); } &&
37257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37259 (eval $ac_try) 2>&5
37261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37262 (exit $ac_status); }; } &&
37263 { ac_try
='test -s conftest$ac_exeext'
37264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37265 (eval $ac_try) 2>&5
37267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268 (exit $ac_status); }; }; then
37269 eval "$as_ac_var=yes"
37271 echo "$as_me: failed program was:" >&5
37272 sed 's/^/| /' conftest.
$ac_ext >&5
37274 eval "$as_ac_var=no"
37276 rm -f conftest.err conftest.
$ac_objext \
37277 conftest
$ac_exeext conftest.
$ac_ext
37279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37281 if test `eval echo '${'$as_ac_var'}'` = yes; then
37282 cat >>confdefs.h
<<_ACEOF
37283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37290 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37291 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37292 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37293 wxUSE_SNGLINST_CHECKER
=no
37298 for ac_func
in timegm
37300 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37301 echo "$as_me:$LINENO: checking for $ac_func" >&5
37302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37303 if eval "test \"\${$as_ac_var+set}\" = set"; then
37304 echo $ECHO_N "(cached) $ECHO_C" >&6
37306 cat >conftest.
$ac_ext <<_ACEOF
37309 cat confdefs.h
>>conftest.
$ac_ext
37310 cat >>conftest.
$ac_ext <<_ACEOF
37311 /* end confdefs.h. */
37312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37314 #define $ac_func innocuous_$ac_func
37316 /* System header to define __stub macros and hopefully few prototypes,
37317 which can conflict with char $ac_func (); below.
37318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37319 <limits.h> exists even on freestanding compilers. */
37322 # include <limits.h>
37324 # include <assert.h>
37329 /* Override any gcc2 internal prototype to avoid an error. */
37334 /* We use char because int might match the return type of a gcc2
37335 builtin and then its argument prototype would still apply. */
37337 /* The GNU C library defines this for functions which it implements
37338 to always fail with ENOSYS. Some functions are actually named
37339 something starting with __ and the normal name is an alias. */
37340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37343 char (*f) () = $ac_func;
37352 return f != $ac_func;
37357 rm -f conftest.
$ac_objext conftest
$ac_exeext
37358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37359 (eval $ac_link) 2>conftest.er1
37361 grep -v '^ *+' conftest.er1
>conftest.err
37363 cat conftest.err
>&5
37364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365 (exit $ac_status); } &&
37366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37368 (eval $ac_try) 2>&5
37370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37371 (exit $ac_status); }; } &&
37372 { ac_try
='test -s conftest$ac_exeext'
37373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37374 (eval $ac_try) 2>&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); }; }; then
37378 eval "$as_ac_var=yes"
37380 echo "$as_me: failed program was:" >&5
37381 sed 's/^/| /' conftest.
$ac_ext >&5
37383 eval "$as_ac_var=no"
37385 rm -f conftest.err conftest.
$ac_objext \
37386 conftest
$ac_exeext conftest.
$ac_ext
37388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37390 if test `eval echo '${'$as_ac_var'}'` = yes; then
37391 cat >>confdefs.h
<<_ACEOF
37392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37401 for ac_func
in putenv setenv
37403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37404 echo "$as_me:$LINENO: checking for $ac_func" >&5
37405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37406 if eval "test \"\${$as_ac_var+set}\" = set"; then
37407 echo $ECHO_N "(cached) $ECHO_C" >&6
37409 cat >conftest.
$ac_ext <<_ACEOF
37412 cat confdefs.h
>>conftest.
$ac_ext
37413 cat >>conftest.
$ac_ext <<_ACEOF
37414 /* end confdefs.h. */
37415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37417 #define $ac_func innocuous_$ac_func
37419 /* System header to define __stub macros and hopefully few prototypes,
37420 which can conflict with char $ac_func (); below.
37421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37422 <limits.h> exists even on freestanding compilers. */
37425 # include <limits.h>
37427 # include <assert.h>
37432 /* Override any gcc2 internal prototype to avoid an error. */
37437 /* We use char because int might match the return type of a gcc2
37438 builtin and then its argument prototype would still apply. */
37440 /* The GNU C library defines this for functions which it implements
37441 to always fail with ENOSYS. Some functions are actually named
37442 something starting with __ and the normal name is an alias. */
37443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37446 char (*f) () = $ac_func;
37455 return f != $ac_func;
37460 rm -f conftest.
$ac_objext conftest
$ac_exeext
37461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37462 (eval $ac_link) 2>conftest.er1
37464 grep -v '^ *+' conftest.er1
>conftest.err
37466 cat conftest.err
>&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } &&
37469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37471 (eval $ac_try) 2>&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); }; } &&
37475 { ac_try
='test -s conftest$ac_exeext'
37476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37477 (eval $ac_try) 2>&5
37479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37480 (exit $ac_status); }; }; then
37481 eval "$as_ac_var=yes"
37483 echo "$as_me: failed program was:" >&5
37484 sed 's/^/| /' conftest.
$ac_ext >&5
37486 eval "$as_ac_var=no"
37488 rm -f conftest.err conftest.
$ac_objext \
37489 conftest
$ac_exeext conftest.
$ac_ext
37491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37493 if test `eval echo '${'$as_ac_var'}'` = yes; then
37494 cat >>confdefs.h
<<_ACEOF
37495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37502 HAVE_SOME_SLEEP_FUNC
=0
37503 if test "$USE_BEOS" = 1; then
37504 cat >>confdefs.h
<<\_ACEOF
37505 #define HAVE_SLEEP 1
37508 HAVE_SOME_SLEEP_FUNC
=1
37511 if test "$USE_DARWIN" = 1; then
37512 cat >>confdefs.h
<<\_ACEOF
37513 #define HAVE_USLEEP 1
37516 HAVE_SOME_SLEEP_FUNC
=1
37519 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37522 for ac_func
in nanosleep
37524 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37525 echo "$as_me:$LINENO: checking for $ac_func" >&5
37526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37527 if eval "test \"\${$as_ac_var+set}\" = set"; then
37528 echo $ECHO_N "(cached) $ECHO_C" >&6
37530 cat >conftest.
$ac_ext <<_ACEOF
37533 cat confdefs.h
>>conftest.
$ac_ext
37534 cat >>conftest.
$ac_ext <<_ACEOF
37535 /* end confdefs.h. */
37536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37538 #define $ac_func innocuous_$ac_func
37540 /* System header to define __stub macros and hopefully few prototypes,
37541 which can conflict with char $ac_func (); below.
37542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37543 <limits.h> exists even on freestanding compilers. */
37546 # include <limits.h>
37548 # include <assert.h>
37553 /* Override any gcc2 internal prototype to avoid an error. */
37558 /* We use char because int might match the return type of a gcc2
37559 builtin and then its argument prototype would still apply. */
37561 /* The GNU C library defines this for functions which it implements
37562 to always fail with ENOSYS. Some functions are actually named
37563 something starting with __ and the normal name is an alias. */
37564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37567 char (*f) () = $ac_func;
37576 return f != $ac_func;
37581 rm -f conftest.
$ac_objext conftest
$ac_exeext
37582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37583 (eval $ac_link) 2>conftest.er1
37585 grep -v '^ *+' conftest.er1
>conftest.err
37587 cat conftest.err
>&5
37588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37589 (exit $ac_status); } &&
37590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37592 (eval $ac_try) 2>&5
37594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37595 (exit $ac_status); }; } &&
37596 { ac_try
='test -s conftest$ac_exeext'
37597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37598 (eval $ac_try) 2>&5
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); }; }; then
37602 eval "$as_ac_var=yes"
37604 echo "$as_me: failed program was:" >&5
37605 sed 's/^/| /' conftest.
$ac_ext >&5
37607 eval "$as_ac_var=no"
37609 rm -f conftest.err conftest.
$ac_objext \
37610 conftest
$ac_exeext conftest.
$ac_ext
37612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37614 if test `eval echo '${'$as_ac_var'}'` = yes; then
37615 cat >>confdefs.h
<<_ACEOF
37616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37618 cat >>confdefs.h
<<\_ACEOF
37619 #define HAVE_NANOSLEEP 1
37624 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37625 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37626 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37627 echo $ECHO_N "(cached) $ECHO_C" >&6
37629 ac_check_lib_save_LIBS
=$LIBS
37630 LIBS
="-lposix4 $LIBS"
37631 cat >conftest.
$ac_ext <<_ACEOF
37634 cat confdefs.h
>>conftest.
$ac_ext
37635 cat >>conftest.
$ac_ext <<_ACEOF
37636 /* end confdefs.h. */
37638 /* Override any gcc2 internal prototype to avoid an error. */
37642 /* We use char because int might match the return type of a gcc2
37643 builtin and then its argument prototype would still apply. */
37653 rm -f conftest.
$ac_objext conftest
$ac_exeext
37654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37655 (eval $ac_link) 2>conftest.er1
37657 grep -v '^ *+' conftest.er1
>conftest.err
37659 cat conftest.err
>&5
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); } &&
37662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37664 (eval $ac_try) 2>&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); }; } &&
37668 { ac_try
='test -s conftest$ac_exeext'
37669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37670 (eval $ac_try) 2>&5
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); }; }; then
37674 ac_cv_lib_posix4_nanosleep
=yes
37676 echo "$as_me: failed program was:" >&5
37677 sed 's/^/| /' conftest.
$ac_ext >&5
37679 ac_cv_lib_posix4_nanosleep
=no
37681 rm -f conftest.err conftest.
$ac_objext \
37682 conftest
$ac_exeext conftest.
$ac_ext
37683 LIBS
=$ac_check_lib_save_LIBS
37685 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37686 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37687 if test $ac_cv_lib_posix4_nanosleep = yes; then
37689 cat >>confdefs.h
<<\_ACEOF
37690 #define HAVE_NANOSLEEP 1
37693 POSIX4_LINK
=" -lposix4"
37698 for wx_func
in usleep
37700 echo "$as_me:$LINENO: checking for $wx_func" >&5
37701 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37702 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37703 echo $ECHO_N "(cached) $ECHO_C" >&6
37706 cat >conftest.
$ac_ext <<_ACEOF
37710 cat confdefs.h
>>conftest.
$ac_ext
37711 cat >>conftest.
$ac_ext <<_ACEOF
37712 /* end confdefs.h. */
37715 $ac_includes_default
37731 rm -f conftest.
$ac_objext conftest
$ac_exeext
37732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37733 (eval $ac_link) 2>conftest.er1
37735 grep -v '^ *+' conftest.er1
>conftest.err
37737 cat conftest.err
>&5
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); } &&
37740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37742 (eval $ac_try) 2>&5
37744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37745 (exit $ac_status); }; } &&
37746 { ac_try
='test -s conftest$ac_exeext'
37747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37748 (eval $ac_try) 2>&5
37750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37751 (exit $ac_status); }; }; then
37752 eval wx_cv_func_
$wx_func=yes
37754 echo "$as_me: failed program was:" >&5
37755 sed 's/^/| /' conftest.
$ac_ext >&5
37757 eval wx_cv_func_
$wx_func=no
37759 rm -f conftest.err conftest.
$ac_objext \
37760 conftest
$ac_exeext conftest.
$ac_ext
37763 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37764 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37766 if eval test \
$wx_cv_func_$wx_func = yes
37768 cat >>confdefs.h
<<_ACEOF
37769 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37775 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37776 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37793 for wx_func
in uname
37795 echo "$as_me:$LINENO: checking for $wx_func" >&5
37796 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37797 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37798 echo $ECHO_N "(cached) $ECHO_C" >&6
37801 cat >conftest.
$ac_ext <<_ACEOF
37805 cat confdefs.h
>>conftest.
$ac_ext
37806 cat >>conftest.
$ac_ext <<_ACEOF
37807 /* end confdefs.h. */
37809 #include <sys/utsname.h>
37810 $ac_includes_default
37826 rm -f conftest.
$ac_objext conftest
$ac_exeext
37827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37828 (eval $ac_link) 2>conftest.er1
37830 grep -v '^ *+' conftest.er1
>conftest.err
37832 cat conftest.err
>&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); } &&
37835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37837 (eval $ac_try) 2>&5
37839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37840 (exit $ac_status); }; } &&
37841 { ac_try
='test -s conftest$ac_exeext'
37842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37843 (eval $ac_try) 2>&5
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); }; }; then
37847 eval wx_cv_func_
$wx_func=yes
37849 echo "$as_me: failed program was:" >&5
37850 sed 's/^/| /' conftest.
$ac_ext >&5
37852 eval wx_cv_func_
$wx_func=no
37854 rm -f conftest.err conftest.
$ac_objext \
37855 conftest
$ac_exeext conftest.
$ac_ext
37858 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37859 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37861 if eval test \
$wx_cv_func_$wx_func = yes
37863 cat >>confdefs.h
<<_ACEOF
37864 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37874 if test "$wx_cv_func_uname" != yes; then
37876 for wx_func
in gethostname
37878 echo "$as_me:$LINENO: checking for $wx_func" >&5
37879 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37880 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37881 echo $ECHO_N "(cached) $ECHO_C" >&6
37884 cat >conftest.
$ac_ext <<_ACEOF
37888 cat confdefs.h
>>conftest.
$ac_ext
37889 cat >>conftest.
$ac_ext <<_ACEOF
37890 /* end confdefs.h. */
37893 $ac_includes_default
37909 rm -f conftest.
$ac_objext conftest
$ac_exeext
37910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37911 (eval $ac_link) 2>conftest.er1
37913 grep -v '^ *+' conftest.er1
>conftest.err
37915 cat conftest.err
>&5
37916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37917 (exit $ac_status); } &&
37918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37920 (eval $ac_try) 2>&5
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); }; } &&
37924 { ac_try
='test -s conftest$ac_exeext'
37925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37926 (eval $ac_try) 2>&5
37928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37929 (exit $ac_status); }; }; then
37930 eval wx_cv_func_
$wx_func=yes
37932 echo "$as_me: failed program was:" >&5
37933 sed 's/^/| /' conftest.
$ac_ext >&5
37935 eval wx_cv_func_
$wx_func=no
37937 rm -f conftest.err conftest.
$ac_objext \
37938 conftest
$ac_exeext conftest.
$ac_ext
37941 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37942 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37944 if eval test \
$wx_cv_func_$wx_func = yes
37946 cat >>confdefs.h
<<_ACEOF
37947 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37960 for wx_func
in strtok_r
37962 echo "$as_me:$LINENO: checking for $wx_func" >&5
37963 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37964 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37965 echo $ECHO_N "(cached) $ECHO_C" >&6
37968 cat >conftest.
$ac_ext <<_ACEOF
37972 cat confdefs.h
>>conftest.
$ac_ext
37973 cat >>conftest.
$ac_ext <<_ACEOF
37974 /* end confdefs.h. */
37977 $ac_includes_default
37993 rm -f conftest.
$ac_objext conftest
$ac_exeext
37994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37995 (eval $ac_link) 2>conftest.er1
37997 grep -v '^ *+' conftest.er1
>conftest.err
37999 cat conftest.err
>&5
38000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38001 (exit $ac_status); } &&
38002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38004 (eval $ac_try) 2>&5
38006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38007 (exit $ac_status); }; } &&
38008 { ac_try
='test -s conftest$ac_exeext'
38009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38010 (eval $ac_try) 2>&5
38012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38013 (exit $ac_status); }; }; then
38014 eval wx_cv_func_
$wx_func=yes
38016 echo "$as_me: failed program was:" >&5
38017 sed 's/^/| /' conftest.
$ac_ext >&5
38019 eval wx_cv_func_
$wx_func=no
38021 rm -f conftest.err conftest.
$ac_objext \
38022 conftest
$ac_exeext conftest.
$ac_ext
38025 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38026 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38028 if eval test \
$wx_cv_func_$wx_func = yes
38030 cat >>confdefs.h
<<_ACEOF
38031 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38044 for ac_func
in inet_addr
38046 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38047 echo "$as_me:$LINENO: checking for $ac_func" >&5
38048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38049 if eval "test \"\${$as_ac_var+set}\" = set"; then
38050 echo $ECHO_N "(cached) $ECHO_C" >&6
38052 cat >conftest.
$ac_ext <<_ACEOF
38055 cat confdefs.h
>>conftest.
$ac_ext
38056 cat >>conftest.
$ac_ext <<_ACEOF
38057 /* end confdefs.h. */
38058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38060 #define $ac_func innocuous_$ac_func
38062 /* System header to define __stub macros and hopefully few prototypes,
38063 which can conflict with char $ac_func (); below.
38064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38065 <limits.h> exists even on freestanding compilers. */
38068 # include <limits.h>
38070 # include <assert.h>
38075 /* Override any gcc2 internal prototype to avoid an error. */
38080 /* We use char because int might match the return type of a gcc2
38081 builtin and then its argument prototype would still apply. */
38083 /* The GNU C library defines this for functions which it implements
38084 to always fail with ENOSYS. Some functions are actually named
38085 something starting with __ and the normal name is an alias. */
38086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38089 char (*f) () = $ac_func;
38098 return f != $ac_func;
38103 rm -f conftest.
$ac_objext conftest
$ac_exeext
38104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38105 (eval $ac_link) 2>conftest.er1
38107 grep -v '^ *+' conftest.er1
>conftest.err
38109 cat conftest.err
>&5
38110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111 (exit $ac_status); } &&
38112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38114 (eval $ac_try) 2>&5
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); }; } &&
38118 { ac_try
='test -s conftest$ac_exeext'
38119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38120 (eval $ac_try) 2>&5
38122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38123 (exit $ac_status); }; }; then
38124 eval "$as_ac_var=yes"
38126 echo "$as_me: failed program was:" >&5
38127 sed 's/^/| /' conftest.
$ac_ext >&5
38129 eval "$as_ac_var=no"
38131 rm -f conftest.err conftest.
$ac_objext \
38132 conftest
$ac_exeext conftest.
$ac_ext
38134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38136 if test `eval echo '${'$as_ac_var'}'` = yes; then
38137 cat >>confdefs.h
<<_ACEOF
38138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38140 cat >>confdefs.h
<<\_ACEOF
38141 #define HAVE_INET_ADDR 1
38146 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38147 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38148 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38149 echo $ECHO_N "(cached) $ECHO_C" >&6
38151 ac_check_lib_save_LIBS
=$LIBS
38153 cat >conftest.
$ac_ext <<_ACEOF
38156 cat confdefs.h
>>conftest.
$ac_ext
38157 cat >>conftest.
$ac_ext <<_ACEOF
38158 /* end confdefs.h. */
38160 /* Override any gcc2 internal prototype to avoid an error. */
38164 /* We use char because int might match the return type of a gcc2
38165 builtin and then its argument prototype would still apply. */
38175 rm -f conftest.
$ac_objext conftest
$ac_exeext
38176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38177 (eval $ac_link) 2>conftest.er1
38179 grep -v '^ *+' conftest.er1
>conftest.err
38181 cat conftest.err
>&5
38182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38183 (exit $ac_status); } &&
38184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38186 (eval $ac_try) 2>&5
38188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38189 (exit $ac_status); }; } &&
38190 { ac_try
='test -s conftest$ac_exeext'
38191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38192 (eval $ac_try) 2>&5
38194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38195 (exit $ac_status); }; }; then
38196 ac_cv_lib_nsl_inet_addr
=yes
38198 echo "$as_me: failed program was:" >&5
38199 sed 's/^/| /' conftest.
$ac_ext >&5
38201 ac_cv_lib_nsl_inet_addr
=no
38203 rm -f conftest.err conftest.
$ac_objext \
38204 conftest
$ac_exeext conftest.
$ac_ext
38205 LIBS
=$ac_check_lib_save_LIBS
38207 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38208 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38209 if test $ac_cv_lib_nsl_inet_addr = yes; then
38213 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38214 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38215 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38216 echo $ECHO_N "(cached) $ECHO_C" >&6
38218 ac_check_lib_save_LIBS
=$LIBS
38219 LIBS
="-lresolv $LIBS"
38220 cat >conftest.
$ac_ext <<_ACEOF
38223 cat confdefs.h
>>conftest.
$ac_ext
38224 cat >>conftest.
$ac_ext <<_ACEOF
38225 /* end confdefs.h. */
38227 /* Override any gcc2 internal prototype to avoid an error. */
38231 /* We use char because int might match the return type of a gcc2
38232 builtin and then its argument prototype would still apply. */
38242 rm -f conftest.
$ac_objext conftest
$ac_exeext
38243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38244 (eval $ac_link) 2>conftest.er1
38246 grep -v '^ *+' conftest.er1
>conftest.err
38248 cat conftest.err
>&5
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); } &&
38251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38253 (eval $ac_try) 2>&5
38255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38256 (exit $ac_status); }; } &&
38257 { ac_try
='test -s conftest$ac_exeext'
38258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38259 (eval $ac_try) 2>&5
38261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262 (exit $ac_status); }; }; then
38263 ac_cv_lib_resolv_inet_addr
=yes
38265 echo "$as_me: failed program was:" >&5
38266 sed 's/^/| /' conftest.
$ac_ext >&5
38268 ac_cv_lib_resolv_inet_addr
=no
38270 rm -f conftest.err conftest.
$ac_objext \
38271 conftest
$ac_exeext conftest.
$ac_ext
38272 LIBS
=$ac_check_lib_save_LIBS
38274 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38275 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38276 if test $ac_cv_lib_resolv_inet_addr = yes; then
38280 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38281 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38282 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38283 echo $ECHO_N "(cached) $ECHO_C" >&6
38285 ac_check_lib_save_LIBS
=$LIBS
38286 LIBS
="-lsocket $LIBS"
38287 cat >conftest.
$ac_ext <<_ACEOF
38290 cat confdefs.h
>>conftest.
$ac_ext
38291 cat >>conftest.
$ac_ext <<_ACEOF
38292 /* end confdefs.h. */
38294 /* Override any gcc2 internal prototype to avoid an error. */
38298 /* We use char because int might match the return type of a gcc2
38299 builtin and then its argument prototype would still apply. */
38309 rm -f conftest.
$ac_objext conftest
$ac_exeext
38310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38311 (eval $ac_link) 2>conftest.er1
38313 grep -v '^ *+' conftest.er1
>conftest.err
38315 cat conftest.err
>&5
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); } &&
38318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38320 (eval $ac_try) 2>&5
38322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38323 (exit $ac_status); }; } &&
38324 { ac_try
='test -s conftest$ac_exeext'
38325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38326 (eval $ac_try) 2>&5
38328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38329 (exit $ac_status); }; }; then
38330 ac_cv_lib_socket_inet_addr
=yes
38332 echo "$as_me: failed program was:" >&5
38333 sed 's/^/| /' conftest.
$ac_ext >&5
38335 ac_cv_lib_socket_inet_addr
=no
38337 rm -f conftest.err conftest.
$ac_objext \
38338 conftest
$ac_exeext conftest.
$ac_ext
38339 LIBS
=$ac_check_lib_save_LIBS
38341 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38342 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38343 if test $ac_cv_lib_socket_inet_addr = yes; then
38363 for ac_func
in inet_aton
38365 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38366 echo "$as_me:$LINENO: checking for $ac_func" >&5
38367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38368 if eval "test \"\${$as_ac_var+set}\" = set"; then
38369 echo $ECHO_N "(cached) $ECHO_C" >&6
38371 cat >conftest.
$ac_ext <<_ACEOF
38374 cat confdefs.h
>>conftest.
$ac_ext
38375 cat >>conftest.
$ac_ext <<_ACEOF
38376 /* end confdefs.h. */
38377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38379 #define $ac_func innocuous_$ac_func
38381 /* System header to define __stub macros and hopefully few prototypes,
38382 which can conflict with char $ac_func (); below.
38383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38384 <limits.h> exists even on freestanding compilers. */
38387 # include <limits.h>
38389 # include <assert.h>
38394 /* Override any gcc2 internal prototype to avoid an error. */
38399 /* We use char because int might match the return type of a gcc2
38400 builtin and then its argument prototype would still apply. */
38402 /* The GNU C library defines this for functions which it implements
38403 to always fail with ENOSYS. Some functions are actually named
38404 something starting with __ and the normal name is an alias. */
38405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38408 char (*f) () = $ac_func;
38417 return f != $ac_func;
38422 rm -f conftest.
$ac_objext conftest
$ac_exeext
38423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38424 (eval $ac_link) 2>conftest.er1
38426 grep -v '^ *+' conftest.er1
>conftest.err
38428 cat conftest.err
>&5
38429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38430 (exit $ac_status); } &&
38431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38433 (eval $ac_try) 2>&5
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); }; } &&
38437 { ac_try
='test -s conftest$ac_exeext'
38438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38439 (eval $ac_try) 2>&5
38441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38442 (exit $ac_status); }; }; then
38443 eval "$as_ac_var=yes"
38445 echo "$as_me: failed program was:" >&5
38446 sed 's/^/| /' conftest.
$ac_ext >&5
38448 eval "$as_ac_var=no"
38450 rm -f conftest.err conftest.
$ac_objext \
38451 conftest
$ac_exeext conftest.
$ac_ext
38453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38455 if test `eval echo '${'$as_ac_var'}'` = yes; then
38456 cat >>confdefs.h
<<_ACEOF
38457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38459 cat >>confdefs.h
<<\_ACEOF
38460 #define HAVE_INET_ATON 1
38465 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38466 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38467 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38468 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38469 echo $ECHO_N "(cached) $ECHO_C" >&6
38471 ac_check_lib_save_LIBS
=$LIBS
38472 LIBS
="-l$INET_LINK $LIBS"
38473 cat >conftest.
$ac_ext <<_ACEOF
38476 cat confdefs.h
>>conftest.
$ac_ext
38477 cat >>conftest.
$ac_ext <<_ACEOF
38478 /* end confdefs.h. */
38480 /* Override any gcc2 internal prototype to avoid an error. */
38484 /* We use char because int might match the return type of a gcc2
38485 builtin and then its argument prototype would still apply. */
38495 rm -f conftest.
$ac_objext conftest
$ac_exeext
38496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38497 (eval $ac_link) 2>conftest.er1
38499 grep -v '^ *+' conftest.er1
>conftest.err
38501 cat conftest.err
>&5
38502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38503 (exit $ac_status); } &&
38504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38506 (eval $ac_try) 2>&5
38508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38509 (exit $ac_status); }; } &&
38510 { ac_try
='test -s conftest$ac_exeext'
38511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38512 (eval $ac_try) 2>&5
38514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38515 (exit $ac_status); }; }; then
38516 eval "$as_ac_Lib=yes"
38518 echo "$as_me: failed program was:" >&5
38519 sed 's/^/| /' conftest.
$ac_ext >&5
38521 eval "$as_ac_Lib=no"
38523 rm -f conftest.err conftest.
$ac_objext \
38524 conftest
$ac_exeext conftest.
$ac_ext
38525 LIBS
=$ac_check_lib_save_LIBS
38527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38528 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38529 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38530 cat >>confdefs.h
<<\_ACEOF
38531 #define HAVE_INET_ATON 1
38541 if test "x$INET_LINK" != "x"; then
38542 cat >>confdefs.h
<<\_ACEOF
38543 #define HAVE_INET_ADDR 1
38546 INET_LINK
=" -l$INET_LINK"
38550 for wx_func
in fdopen
38552 echo "$as_me:$LINENO: checking for $wx_func" >&5
38553 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38554 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38555 echo $ECHO_N "(cached) $ECHO_C" >&6
38558 cat >conftest.
$ac_ext <<_ACEOF
38562 cat confdefs.h
>>conftest.
$ac_ext
38563 cat >>conftest.
$ac_ext <<_ACEOF
38564 /* end confdefs.h. */
38567 $ac_includes_default
38583 rm -f conftest.
$ac_objext conftest
$ac_exeext
38584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38585 (eval $ac_link) 2>conftest.er1
38587 grep -v '^ *+' conftest.er1
>conftest.err
38589 cat conftest.err
>&5
38590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38591 (exit $ac_status); } &&
38592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38594 (eval $ac_try) 2>&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); }; } &&
38598 { ac_try
='test -s conftest$ac_exeext'
38599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38600 (eval $ac_try) 2>&5
38602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38603 (exit $ac_status); }; }; then
38604 eval wx_cv_func_
$wx_func=yes
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.
$ac_ext >&5
38609 eval wx_cv_func_
$wx_func=no
38611 rm -f conftest.err conftest.
$ac_objext \
38612 conftest
$ac_exeext conftest.
$ac_ext
38615 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38616 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38618 if eval test \
$wx_cv_func_$wx_func = yes
38620 cat >>confdefs.h
<<_ACEOF
38621 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38638 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38639 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38640 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38641 echo $ECHO_N "(cached) $ECHO_C" >&6
38643 ac_check_lib_save_LIBS
=$LIBS
38645 cat >conftest.
$ac_ext <<_ACEOF
38648 cat confdefs.h
>>conftest.
$ac_ext
38649 cat >>conftest.
$ac_ext <<_ACEOF
38650 /* end confdefs.h. */
38652 /* Override any gcc2 internal prototype to avoid an error. */
38656 /* We use char because int might match the return type of a gcc2
38657 builtin and then its argument prototype would still apply. */
38667 rm -f conftest.
$ac_objext conftest
$ac_exeext
38668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38669 (eval $ac_link) 2>conftest.er1
38671 grep -v '^ *+' conftest.er1
>conftest.err
38673 cat conftest.err
>&5
38674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38675 (exit $ac_status); } &&
38676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38678 (eval $ac_try) 2>&5
38680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38681 (exit $ac_status); }; } &&
38682 { ac_try
='test -s conftest$ac_exeext'
38683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38684 (eval $ac_try) 2>&5
38686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38687 (exit $ac_status); }; }; then
38688 ac_cv_lib_esd_esd_close
=yes
38690 echo "$as_me: failed program was:" >&5
38691 sed 's/^/| /' conftest.
$ac_ext >&5
38693 ac_cv_lib_esd_esd_close
=no
38695 rm -f conftest.err conftest.
$ac_objext \
38696 conftest
$ac_exeext conftest.
$ac_ext
38697 LIBS
=$ac_check_lib_save_LIBS
38699 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38700 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38701 if test $ac_cv_lib_esd_esd_close = yes; then
38704 for ac_header
in esd.h
38706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38708 echo "$as_me:$LINENO: checking for $ac_header" >&5
38709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38711 echo $ECHO_N "(cached) $ECHO_C" >&6
38713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38716 # Is the header compilable?
38717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38719 cat >conftest.
$ac_ext <<_ACEOF
38722 cat confdefs.h
>>conftest.
$ac_ext
38723 cat >>conftest.
$ac_ext <<_ACEOF
38724 /* end confdefs.h. */
38725 $ac_includes_default
38726 #include <$ac_header>
38728 rm -f conftest.
$ac_objext
38729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38730 (eval $ac_compile) 2>conftest.er1
38732 grep -v '^ *+' conftest.er1
>conftest.err
38734 cat conftest.err
>&5
38735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38736 (exit $ac_status); } &&
38737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38739 (eval $ac_try) 2>&5
38741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742 (exit $ac_status); }; } &&
38743 { ac_try
='test -s conftest.$ac_objext'
38744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38745 (eval $ac_try) 2>&5
38747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38748 (exit $ac_status); }; }; then
38749 ac_header_compiler
=yes
38751 echo "$as_me: failed program was:" >&5
38752 sed 's/^/| /' conftest.
$ac_ext >&5
38754 ac_header_compiler
=no
38756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38758 echo "${ECHO_T}$ac_header_compiler" >&6
38760 # Is the header present?
38761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38763 cat >conftest.
$ac_ext <<_ACEOF
38766 cat confdefs.h
>>conftest.
$ac_ext
38767 cat >>conftest.
$ac_ext <<_ACEOF
38768 /* end confdefs.h. */
38769 #include <$ac_header>
38771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38772 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38774 grep -v '^ *+' conftest.er1
>conftest.err
38776 cat conftest.err
>&5
38777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38778 (exit $ac_status); } >/dev
/null
; then
38779 if test -s conftest.err
; then
38780 ac_cpp_err
=$ac_c_preproc_warn_flag
38781 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38788 if test -z "$ac_cpp_err"; then
38789 ac_header_preproc
=yes
38791 echo "$as_me: failed program was:" >&5
38792 sed 's/^/| /' conftest.
$ac_ext >&5
38794 ac_header_preproc
=no
38796 rm -f conftest.err conftest.
$ac_ext
38797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38798 echo "${ECHO_T}$ac_header_preproc" >&6
38800 # So? What about this header?
38801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38807 ac_header_preproc
=yes
38810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38824 ## ----------------------------------------- ##
38825 ## Report this to wx-dev@lists.wxwidgets.org ##
38826 ## ----------------------------------------- ##
38829 sed "s/^/$as_me: WARNING: /" >&2
38832 echo "$as_me:$LINENO: checking for $ac_header" >&5
38833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38835 echo $ECHO_N "(cached) $ECHO_C" >&6
38837 eval "$as_ac_Header=\$ac_header_preproc"
38839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38844 cat >>confdefs.h
<<_ACEOF
38845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38848 EXTRALIBS_ESD
="-lesd"
38859 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38860 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38861 cat >conftest.
$ac_ext <<_ACEOF
38864 cat confdefs.h
>>conftest.
$ac_ext
38865 cat >>conftest.
$ac_ext <<_ACEOF
38866 /* end confdefs.h. */
38868 #include <linux/cdrom.h>
38871 #include <sys/cdio.h>
38877 struct cdrom_tocentry entry, old_entry;
38882 rm -f conftest.
$ac_objext
38883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38884 (eval $ac_compile) 2>conftest.er1
38886 grep -v '^ *+' conftest.er1
>conftest.err
38888 cat conftest.err
>&5
38889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38890 (exit $ac_status); } &&
38891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38893 (eval $ac_try) 2>&5
38895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38896 (exit $ac_status); }; } &&
38897 { ac_try
='test -s conftest.$ac_objext'
38898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38899 (eval $ac_try) 2>&5
38901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38902 (exit $ac_status); }; }; then
38903 echo "$as_me:$LINENO: result: yes" >&5
38904 echo "${ECHO_T}yes" >&6
38905 cat >>confdefs.h
<<\_ACEOF
38906 #define HAVE_KNOWN_CDROM_INTERFACE 1
38910 echo "$as_me: failed program was:" >&5
38911 sed 's/^/| /' conftest.
$ac_ext >&5
38913 echo "$as_me:$LINENO: result: no" >&5
38914 echo "${ECHO_T}no" >&6
38916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38919 cat >confcache
<<\_ACEOF
38920 # This file is a shell script that caches the results of configure
38921 # tests run on this system so they can be shared between configure
38922 # scripts and configure runs, see configure's option --config-cache.
38923 # It is not useful on other systems. If it contains results you don't
38924 # want to keep, you may remove or edit it.
38926 # config.status only pays attention to the cache file if you give it
38927 # the --recheck option to rerun configure.
38929 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38931 # following values.
38935 # The following way of writing the cache mishandles newlines in values,
38936 # but we know of no workaround that is simple, portable, and efficient.
38937 # So, don't put newlines in cache variables' values.
38938 # Ultrix sh set writes to stderr and can't be redirected directly,
38939 # and sets the high bit in the cache file unless we assign to the vars.
38942 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38944 # `set' does not quote correctly, so add quotes (double-quote
38945 # substitution turns \\\\ into \\, and sed turns \\ into \).
38948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38951 # `set' quotes correctly as required by POSIX, so do not add quotes.
38953 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38960 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38962 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38964 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38965 if test -w $cache_file; then
38966 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38967 cat confcache
>$cache_file
38969 echo "not updating unwritable cache $cache_file"
38975 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38981 if test "$wxUSE_THREADS" = "yes" ; then
38982 if test "$USE_BEOS" = 1; then
38983 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38984 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38989 if test "$wxUSE_THREADS" = "yes" ; then
38992 THREAD_OPTS
="-pthread"
38994 *-*-solaris2* | *-*-sunos4* )
38995 if test "x$GCC" = "xyes"; then
38996 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38998 THREAD_OPTS
="-mt $THREAD_OPTS"
39002 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39004 *-*-darwin* | *-*-cygwin* )
39008 THREAD_OPTS
="pthreads"
39011 if test "x$GCC" = "xyes"; then
39012 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39020 if test "x$GCC" = "xyes"; then
39026 if test "x$GCC" != "xyes"; then
39027 THREAD_OPTS
="-Ethread"
39032 THREAD_OPTS
="$THREAD_OPTS pthread none"
39035 for flag
in $THREAD_OPTS; do
39038 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39039 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39043 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39044 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39045 THREADS_CFLAGS
="$flag"
39049 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39050 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39051 THREADS_LINK
="-l$flag"
39056 save_CFLAGS
="$CFLAGS"
39057 LIBS
="$THREADS_LINK $LIBS"
39058 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39060 cat >conftest.
$ac_ext <<_ACEOF
39063 cat confdefs.h
>>conftest.
$ac_ext
39064 cat >>conftest.
$ac_ext <<_ACEOF
39065 /* end confdefs.h. */
39066 #include <pthread.h>
39070 pthread_create(0,0,0,0);
39075 rm -f conftest.
$ac_objext conftest
$ac_exeext
39076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39077 (eval $ac_link) 2>conftest.er1
39079 grep -v '^ *+' conftest.er1
>conftest.err
39081 cat conftest.err
>&5
39082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39083 (exit $ac_status); } &&
39084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39086 (eval $ac_try) 2>&5
39088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39089 (exit $ac_status); }; } &&
39090 { ac_try
='test -s conftest$ac_exeext'
39091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39092 (eval $ac_try) 2>&5
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); }; }; then
39098 echo "$as_me: failed program was:" >&5
39099 sed 's/^/| /' conftest.
$ac_ext >&5
39102 rm -f conftest.err conftest.
$ac_objext \
39103 conftest
$ac_exeext conftest.
$ac_ext
39106 CFLAGS
="$save_CFLAGS"
39108 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39109 echo "${ECHO_T}$THREADS_OK" >&6
39110 if test "x$THREADS_OK" = "xyes"; then
39118 if test "x$THREADS_OK" != "xyes"; then
39120 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39121 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39123 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
39124 LIBS
="$THREADS_LINK $LIBS"
39126 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39127 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39131 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39132 flag
="-D_THREAD_SAFE"
39135 flag
="-D_THREAD_SAFE"
39138 flag
="-D_REENTRANT"
39139 if test "x$GCC" != "xyes"; then
39140 flag
="$flag -D_RWSTD_MULTI_THREAD"
39143 *solaris
* | alpha
*-osf*)
39144 flag
="-D_REENTRANT"
39147 echo "$as_me:$LINENO: result: ${flag}" >&5
39148 echo "${ECHO_T}${flag}" >&6
39149 if test "x$flag" != xno
; then
39150 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
39153 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39157 if test "$wxUSE_THREADS" = "yes" ; then
39159 for ac_func
in thr_setconcurrency
39161 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39162 echo "$as_me:$LINENO: checking for $ac_func" >&5
39163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39164 if eval "test \"\${$as_ac_var+set}\" = set"; then
39165 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 cat >conftest.
$ac_ext <<_ACEOF
39170 cat confdefs.h
>>conftest.
$ac_ext
39171 cat >>conftest.
$ac_ext <<_ACEOF
39172 /* end confdefs.h. */
39173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39175 #define $ac_func innocuous_$ac_func
39177 /* System header to define __stub macros and hopefully few prototypes,
39178 which can conflict with char $ac_func (); below.
39179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39180 <limits.h> exists even on freestanding compilers. */
39183 # include <limits.h>
39185 # include <assert.h>
39190 /* Override any gcc2 internal prototype to avoid an error. */
39195 /* We use char because int might match the return type of a gcc2
39196 builtin and then its argument prototype would still apply. */
39198 /* The GNU C library defines this for functions which it implements
39199 to always fail with ENOSYS. Some functions are actually named
39200 something starting with __ and the normal name is an alias. */
39201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39204 char (*f) () = $ac_func;
39213 return f != $ac_func;
39218 rm -f conftest.
$ac_objext conftest
$ac_exeext
39219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39220 (eval $ac_link) 2>conftest.er1
39222 grep -v '^ *+' conftest.er1
>conftest.err
39224 cat conftest.err
>&5
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); } &&
39227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39229 (eval $ac_try) 2>&5
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); }; } &&
39233 { ac_try
='test -s conftest$ac_exeext'
39234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39235 (eval $ac_try) 2>&5
39237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39238 (exit $ac_status); }; }; then
39239 eval "$as_ac_var=yes"
39241 echo "$as_me: failed program was:" >&5
39242 sed 's/^/| /' conftest.
$ac_ext >&5
39244 eval "$as_ac_var=no"
39246 rm -f conftest.err conftest.
$ac_objext \
39247 conftest
$ac_exeext conftest.
$ac_ext
39249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39251 if test `eval echo '${'$as_ac_var'}'` = yes; then
39252 cat >>confdefs.h
<<_ACEOF
39253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39260 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39261 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39262 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39263 echo $ECHO_N "(cached) $ECHO_C" >&6
39266 cat >conftest.
$ac_ext <<_ACEOF
39269 cat confdefs.h
>>conftest.
$ac_ext
39270 cat >>conftest.
$ac_ext <<_ACEOF
39271 /* end confdefs.h. */
39272 #include <pthread.h>
39273 void ThreadCleanupFunc(void *p);
39280 pthread_cleanup_push(ThreadCleanupFunc, p);
39281 pthread_cleanup_pop(0);
39287 rm -f conftest.
$ac_objext
39288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39289 (eval $ac_compile) 2>conftest.er1
39291 grep -v '^ *+' conftest.er1
>conftest.err
39293 cat conftest.err
>&5
39294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39295 (exit $ac_status); } &&
39296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39298 (eval $ac_try) 2>&5
39300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39301 (exit $ac_status); }; } &&
39302 { ac_try
='test -s conftest.$ac_objext'
39303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39304 (eval $ac_try) 2>&5
39306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39307 (exit $ac_status); }; }; then
39309 wx_cv_func_pthread_cleanup
=yes
39312 echo "$as_me: failed program was:" >&5
39313 sed 's/^/| /' conftest.
$ac_ext >&5
39316 wx_cv_func_pthread_cleanup
=no
39320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39323 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39324 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39325 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39326 cat >>confdefs.h
<<\_ACEOF
39327 #define wxHAVE_PTHREAD_CLEANUP 1
39333 for ac_header
in sched.h
39335 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39337 echo "$as_me:$LINENO: checking for $ac_header" >&5
39338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39340 echo $ECHO_N "(cached) $ECHO_C" >&6
39342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39345 # Is the header compilable?
39346 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39347 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39348 cat >conftest.
$ac_ext <<_ACEOF
39351 cat confdefs.h
>>conftest.
$ac_ext
39352 cat >>conftest.
$ac_ext <<_ACEOF
39353 /* end confdefs.h. */
39354 $ac_includes_default
39355 #include <$ac_header>
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" || test ! -s conftest.err'
39367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39368 (eval $ac_try) 2>&5
39370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371 (exit $ac_status); }; } &&
39372 { ac_try
='test -s conftest.$ac_objext'
39373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39374 (eval $ac_try) 2>&5
39376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39377 (exit $ac_status); }; }; then
39378 ac_header_compiler
=yes
39380 echo "$as_me: failed program was:" >&5
39381 sed 's/^/| /' conftest.
$ac_ext >&5
39383 ac_header_compiler
=no
39385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39387 echo "${ECHO_T}$ac_header_compiler" >&6
39389 # Is the header present?
39390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39392 cat >conftest.
$ac_ext <<_ACEOF
39395 cat confdefs.h
>>conftest.
$ac_ext
39396 cat >>conftest.
$ac_ext <<_ACEOF
39397 /* end confdefs.h. */
39398 #include <$ac_header>
39400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39403 grep -v '^ *+' conftest.er1
>conftest.err
39405 cat conftest.err
>&5
39406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39407 (exit $ac_status); } >/dev
/null
; then
39408 if test -s conftest.err
; then
39409 ac_cpp_err
=$ac_c_preproc_warn_flag
39410 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39417 if test -z "$ac_cpp_err"; then
39418 ac_header_preproc
=yes
39420 echo "$as_me: failed program was:" >&5
39421 sed 's/^/| /' conftest.
$ac_ext >&5
39423 ac_header_preproc
=no
39425 rm -f conftest.err conftest.
$ac_ext
39426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39427 echo "${ECHO_T}$ac_header_preproc" >&6
39429 # So? What about this header?
39430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39436 ac_header_preproc
=yes
39439 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39441 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39442 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39443 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39445 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39446 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39449 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39453 ## ----------------------------------------- ##
39454 ## Report this to wx-dev@lists.wxwidgets.org ##
39455 ## ----------------------------------------- ##
39458 sed "s/^/$as_me: WARNING: /" >&2
39461 echo "$as_me:$LINENO: checking for $ac_header" >&5
39462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39464 echo $ECHO_N "(cached) $ECHO_C" >&6
39466 eval "$as_ac_Header=\$ac_header_preproc"
39468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39473 cat >>confdefs.h
<<_ACEOF
39474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39481 if test "$ac_cv_header_sched_h" = "yes"; then
39482 echo "$as_me:$LINENO: checking for sched_yield" >&5
39483 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39484 if test "${ac_cv_func_sched_yield+set}" = set; then
39485 echo $ECHO_N "(cached) $ECHO_C" >&6
39487 cat >conftest.
$ac_ext <<_ACEOF
39490 cat confdefs.h
>>conftest.
$ac_ext
39491 cat >>conftest.
$ac_ext <<_ACEOF
39492 /* end confdefs.h. */
39493 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39495 #define sched_yield innocuous_sched_yield
39497 /* System header to define __stub macros and hopefully few prototypes,
39498 which can conflict with char sched_yield (); below.
39499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39500 <limits.h> exists even on freestanding compilers. */
39503 # include <limits.h>
39505 # include <assert.h>
39510 /* Override any gcc2 internal prototype to avoid an error. */
39515 /* We use char because int might match the return type of a gcc2
39516 builtin and then its argument prototype would still apply. */
39517 char sched_yield ();
39518 /* The GNU C library defines this for functions which it implements
39519 to always fail with ENOSYS. Some functions are actually named
39520 something starting with __ and the normal name is an alias. */
39521 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39524 char (*f) () = sched_yield;
39533 return f != sched_yield;
39538 rm -f conftest.
$ac_objext conftest
$ac_exeext
39539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39540 (eval $ac_link) 2>conftest.er1
39542 grep -v '^ *+' conftest.er1
>conftest.err
39544 cat conftest.err
>&5
39545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39546 (exit $ac_status); } &&
39547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39549 (eval $ac_try) 2>&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); }; } &&
39553 { ac_try
='test -s conftest$ac_exeext'
39554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39555 (eval $ac_try) 2>&5
39557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39558 (exit $ac_status); }; }; then
39559 ac_cv_func_sched_yield
=yes
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.
$ac_ext >&5
39564 ac_cv_func_sched_yield
=no
39566 rm -f conftest.err conftest.
$ac_objext \
39567 conftest
$ac_exeext conftest.
$ac_ext
39569 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39570 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39571 if test $ac_cv_func_sched_yield = yes; then
39572 cat >>confdefs.h
<<\_ACEOF
39573 #define HAVE_SCHED_YIELD 1
39578 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39579 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39580 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39581 echo $ECHO_N "(cached) $ECHO_C" >&6
39583 ac_check_lib_save_LIBS
=$LIBS
39584 LIBS
="-lposix4 $LIBS"
39585 cat >conftest.
$ac_ext <<_ACEOF
39588 cat confdefs.h
>>conftest.
$ac_ext
39589 cat >>conftest.
$ac_ext <<_ACEOF
39590 /* end confdefs.h. */
39592 /* Override any gcc2 internal prototype to avoid an error. */
39596 /* We use char because int might match the return type of a gcc2
39597 builtin and then its argument prototype would still apply. */
39598 char sched_yield ();
39607 rm -f conftest.
$ac_objext conftest
$ac_exeext
39608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39609 (eval $ac_link) 2>conftest.er1
39611 grep -v '^ *+' conftest.er1
>conftest.err
39613 cat conftest.err
>&5
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); } &&
39616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39618 (eval $ac_try) 2>&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); }; } &&
39622 { ac_try
='test -s conftest$ac_exeext'
39623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39624 (eval $ac_try) 2>&5
39626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39627 (exit $ac_status); }; }; then
39628 ac_cv_lib_posix4_sched_yield
=yes
39630 echo "$as_me: failed program was:" >&5
39631 sed 's/^/| /' conftest.
$ac_ext >&5
39633 ac_cv_lib_posix4_sched_yield
=no
39635 rm -f conftest.err conftest.
$ac_objext \
39636 conftest
$ac_exeext conftest.
$ac_ext
39637 LIBS
=$ac_check_lib_save_LIBS
39639 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39640 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39641 if test $ac_cv_lib_posix4_sched_yield = yes; then
39642 cat >>confdefs.h
<<\_ACEOF
39643 #define HAVE_SCHED_YIELD 1
39645 POSIX4_LINK
=" -lposix4"
39647 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39648 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39659 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39660 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39661 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39662 echo $ECHO_N "(cached) $ECHO_C" >&6
39664 cat >conftest.
$ac_ext <<_ACEOF
39667 cat confdefs.h
>>conftest.
$ac_ext
39668 cat >>conftest.
$ac_ext <<_ACEOF
39669 /* end confdefs.h. */
39670 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39672 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39674 /* System header to define __stub macros and hopefully few prototypes,
39675 which can conflict with char pthread_attr_getschedpolicy (); below.
39676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39677 <limits.h> exists even on freestanding compilers. */
39680 # include <limits.h>
39682 # include <assert.h>
39685 #undef pthread_attr_getschedpolicy
39687 /* Override any gcc2 internal prototype to avoid an error. */
39692 /* We use char because int might match the return type of a gcc2
39693 builtin and then its argument prototype would still apply. */
39694 char pthread_attr_getschedpolicy ();
39695 /* The GNU C library defines this for functions which it implements
39696 to always fail with ENOSYS. Some functions are actually named
39697 something starting with __ and the normal name is an alias. */
39698 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39701 char (*f) () = pthread_attr_getschedpolicy;
39710 return f != pthread_attr_getschedpolicy;
39715 rm -f conftest.
$ac_objext conftest
$ac_exeext
39716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39717 (eval $ac_link) 2>conftest.er1
39719 grep -v '^ *+' conftest.er1
>conftest.err
39721 cat conftest.err
>&5
39722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39723 (exit $ac_status); } &&
39724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39726 (eval $ac_try) 2>&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); }; } &&
39730 { ac_try
='test -s conftest$ac_exeext'
39731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39732 (eval $ac_try) 2>&5
39734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39735 (exit $ac_status); }; }; then
39736 ac_cv_func_pthread_attr_getschedpolicy
=yes
39738 echo "$as_me: failed program was:" >&5
39739 sed 's/^/| /' conftest.
$ac_ext >&5
39741 ac_cv_func_pthread_attr_getschedpolicy
=no
39743 rm -f conftest.err conftest.
$ac_objext \
39744 conftest
$ac_exeext conftest.
$ac_ext
39746 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39747 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39748 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39749 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39750 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39751 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39752 echo $ECHO_N "(cached) $ECHO_C" >&6
39754 cat >conftest.
$ac_ext <<_ACEOF
39757 cat confdefs.h
>>conftest.
$ac_ext
39758 cat >>conftest.
$ac_ext <<_ACEOF
39759 /* end confdefs.h. */
39760 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39762 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39764 /* System header to define __stub macros and hopefully few prototypes,
39765 which can conflict with char pthread_attr_setschedparam (); below.
39766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39767 <limits.h> exists even on freestanding compilers. */
39770 # include <limits.h>
39772 # include <assert.h>
39775 #undef pthread_attr_setschedparam
39777 /* Override any gcc2 internal prototype to avoid an error. */
39782 /* We use char because int might match the return type of a gcc2
39783 builtin and then its argument prototype would still apply. */
39784 char pthread_attr_setschedparam ();
39785 /* The GNU C library defines this for functions which it implements
39786 to always fail with ENOSYS. Some functions are actually named
39787 something starting with __ and the normal name is an alias. */
39788 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39791 char (*f) () = pthread_attr_setschedparam;
39800 return f != pthread_attr_setschedparam;
39805 rm -f conftest.
$ac_objext conftest
$ac_exeext
39806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39807 (eval $ac_link) 2>conftest.er1
39809 grep -v '^ *+' conftest.er1
>conftest.err
39811 cat conftest.err
>&5
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); } &&
39814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39816 (eval $ac_try) 2>&5
39818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39819 (exit $ac_status); }; } &&
39820 { ac_try
='test -s conftest$ac_exeext'
39821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39822 (eval $ac_try) 2>&5
39824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39825 (exit $ac_status); }; }; then
39826 ac_cv_func_pthread_attr_setschedparam
=yes
39828 echo "$as_me: failed program was:" >&5
39829 sed 's/^/| /' conftest.
$ac_ext >&5
39831 ac_cv_func_pthread_attr_setschedparam
=no
39833 rm -f conftest.err conftest.
$ac_objext \
39834 conftest
$ac_exeext conftest.
$ac_ext
39836 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39837 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39838 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39839 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39840 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39841 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39842 echo $ECHO_N "(cached) $ECHO_C" >&6
39844 cat >conftest.
$ac_ext <<_ACEOF
39847 cat confdefs.h
>>conftest.
$ac_ext
39848 cat >>conftest.
$ac_ext <<_ACEOF
39849 /* end confdefs.h. */
39850 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39852 #define sched_get_priority_max innocuous_sched_get_priority_max
39854 /* System header to define __stub macros and hopefully few prototypes,
39855 which can conflict with char sched_get_priority_max (); below.
39856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39857 <limits.h> exists even on freestanding compilers. */
39860 # include <limits.h>
39862 # include <assert.h>
39865 #undef sched_get_priority_max
39867 /* Override any gcc2 internal prototype to avoid an error. */
39872 /* We use char because int might match the return type of a gcc2
39873 builtin and then its argument prototype would still apply. */
39874 char sched_get_priority_max ();
39875 /* The GNU C library defines this for functions which it implements
39876 to always fail with ENOSYS. Some functions are actually named
39877 something starting with __ and the normal name is an alias. */
39878 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39881 char (*f) () = sched_get_priority_max;
39890 return f != sched_get_priority_max;
39895 rm -f conftest.
$ac_objext conftest
$ac_exeext
39896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39897 (eval $ac_link) 2>conftest.er1
39899 grep -v '^ *+' conftest.er1
>conftest.err
39901 cat conftest.err
>&5
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); } &&
39904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906 (eval $ac_try) 2>&5
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); }; } &&
39910 { ac_try
='test -s conftest$ac_exeext'
39911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39912 (eval $ac_try) 2>&5
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); }; }; then
39916 ac_cv_func_sched_get_priority_max
=yes
39918 echo "$as_me: failed program was:" >&5
39919 sed 's/^/| /' conftest.
$ac_ext >&5
39921 ac_cv_func_sched_get_priority_max
=no
39923 rm -f conftest.err conftest.
$ac_objext \
39924 conftest
$ac_exeext conftest.
$ac_ext
39926 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39927 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39928 if test $ac_cv_func_sched_get_priority_max = yes; then
39931 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39932 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39933 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39934 echo $ECHO_N "(cached) $ECHO_C" >&6
39936 ac_check_lib_save_LIBS
=$LIBS
39937 LIBS
="-lposix4 $LIBS"
39938 cat >conftest.
$ac_ext <<_ACEOF
39941 cat confdefs.h
>>conftest.
$ac_ext
39942 cat >>conftest.
$ac_ext <<_ACEOF
39943 /* end confdefs.h. */
39945 /* Override any gcc2 internal prototype to avoid an error. */
39949 /* We use char because int might match the return type of a gcc2
39950 builtin and then its argument prototype would still apply. */
39951 char sched_get_priority_max ();
39955 sched_get_priority_max ();
39960 rm -f conftest.
$ac_objext conftest
$ac_exeext
39961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39962 (eval $ac_link) 2>conftest.er1
39964 grep -v '^ *+' conftest.er1
>conftest.err
39966 cat conftest.err
>&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } &&
39969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39971 (eval $ac_try) 2>&5
39973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39974 (exit $ac_status); }; } &&
39975 { ac_try
='test -s conftest$ac_exeext'
39976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39977 (eval $ac_try) 2>&5
39979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39980 (exit $ac_status); }; }; then
39981 ac_cv_lib_posix4_sched_get_priority_max
=yes
39983 echo "$as_me: failed program was:" >&5
39984 sed 's/^/| /' conftest.
$ac_ext >&5
39986 ac_cv_lib_posix4_sched_get_priority_max
=no
39988 rm -f conftest.err conftest.
$ac_objext \
39989 conftest
$ac_exeext conftest.
$ac_ext
39990 LIBS
=$ac_check_lib_save_LIBS
39992 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39993 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39994 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39997 POSIX4_LINK
=" -lposix4"
40011 if test "$HAVE_PRIOR_FUNCS" = 1; then
40012 cat >>confdefs.h
<<\_ACEOF
40013 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40017 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40018 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40021 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40022 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40023 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40024 echo $ECHO_N "(cached) $ECHO_C" >&6
40026 cat >conftest.
$ac_ext <<_ACEOF
40029 cat confdefs.h
>>conftest.
$ac_ext
40030 cat >>conftest.
$ac_ext <<_ACEOF
40031 /* end confdefs.h. */
40032 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40034 #define pthread_cancel innocuous_pthread_cancel
40036 /* System header to define __stub macros and hopefully few prototypes,
40037 which can conflict with char pthread_cancel (); below.
40038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40039 <limits.h> exists even on freestanding compilers. */
40042 # include <limits.h>
40044 # include <assert.h>
40047 #undef pthread_cancel
40049 /* Override any gcc2 internal prototype to avoid an error. */
40054 /* We use char because int might match the return type of a gcc2
40055 builtin and then its argument prototype would still apply. */
40056 char pthread_cancel ();
40057 /* The GNU C library defines this for functions which it implements
40058 to always fail with ENOSYS. Some functions are actually named
40059 something starting with __ and the normal name is an alias. */
40060 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40063 char (*f) () = pthread_cancel;
40072 return f != pthread_cancel;
40077 rm -f conftest.
$ac_objext conftest
$ac_exeext
40078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40079 (eval $ac_link) 2>conftest.er1
40081 grep -v '^ *+' conftest.er1
>conftest.err
40083 cat conftest.err
>&5
40084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40085 (exit $ac_status); } &&
40086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40088 (eval $ac_try) 2>&5
40090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40091 (exit $ac_status); }; } &&
40092 { ac_try
='test -s conftest$ac_exeext'
40093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40094 (eval $ac_try) 2>&5
40096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40097 (exit $ac_status); }; }; then
40098 ac_cv_func_pthread_cancel
=yes
40100 echo "$as_me: failed program was:" >&5
40101 sed 's/^/| /' conftest.
$ac_ext >&5
40103 ac_cv_func_pthread_cancel
=no
40105 rm -f conftest.err conftest.
$ac_objext \
40106 conftest
$ac_exeext conftest.
$ac_ext
40108 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40109 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40110 if test $ac_cv_func_pthread_cancel = yes; then
40111 cat >>confdefs.h
<<\_ACEOF
40112 #define HAVE_PTHREAD_CANCEL 1
40116 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40117 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40121 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40122 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40123 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40124 echo $ECHO_N "(cached) $ECHO_C" >&6
40126 cat >conftest.
$ac_ext <<_ACEOF
40129 cat confdefs.h
>>conftest.
$ac_ext
40130 cat >>conftest.
$ac_ext <<_ACEOF
40131 /* end confdefs.h. */
40132 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40134 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40136 /* System header to define __stub macros and hopefully few prototypes,
40137 which can conflict with char pthread_attr_setstacksize (); below.
40138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40139 <limits.h> exists even on freestanding compilers. */
40142 # include <limits.h>
40144 # include <assert.h>
40147 #undef pthread_attr_setstacksize
40149 /* Override any gcc2 internal prototype to avoid an error. */
40154 /* We use char because int might match the return type of a gcc2
40155 builtin and then its argument prototype would still apply. */
40156 char pthread_attr_setstacksize ();
40157 /* The GNU C library defines this for functions which it implements
40158 to always fail with ENOSYS. Some functions are actually named
40159 something starting with __ and the normal name is an alias. */
40160 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40163 char (*f) () = pthread_attr_setstacksize;
40172 return f != pthread_attr_setstacksize;
40177 rm -f conftest.
$ac_objext conftest
$ac_exeext
40178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40179 (eval $ac_link) 2>conftest.er1
40181 grep -v '^ *+' conftest.er1
>conftest.err
40183 cat conftest.err
>&5
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); } &&
40186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40188 (eval $ac_try) 2>&5
40190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191 (exit $ac_status); }; } &&
40192 { ac_try
='test -s conftest$ac_exeext'
40193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40194 (eval $ac_try) 2>&5
40196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40197 (exit $ac_status); }; }; then
40198 ac_cv_func_pthread_attr_setstacksize
=yes
40200 echo "$as_me: failed program was:" >&5
40201 sed 's/^/| /' conftest.
$ac_ext >&5
40203 ac_cv_func_pthread_attr_setstacksize
=no
40205 rm -f conftest.err conftest.
$ac_objext \
40206 conftest
$ac_exeext conftest.
$ac_ext
40208 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40209 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40210 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40211 cat >>confdefs.h
<<\_ACEOF
40212 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40219 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40220 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40221 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40222 echo $ECHO_N "(cached) $ECHO_C" >&6
40225 cat >conftest.
$ac_ext <<_ACEOF
40228 cat confdefs.h
>>conftest.
$ac_ext
40229 cat >>conftest.
$ac_ext <<_ACEOF
40230 /* end confdefs.h. */
40231 #include <pthread.h>
40236 pthread_mutexattr_t attr;
40237 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40243 rm -f conftest.
$ac_objext
40244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40245 (eval $ac_compile) 2>conftest.er1
40247 grep -v '^ *+' conftest.er1
>conftest.err
40249 cat conftest.err
>&5
40250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40251 (exit $ac_status); } &&
40252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40254 (eval $ac_try) 2>&5
40256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40257 (exit $ac_status); }; } &&
40258 { ac_try
='test -s conftest.$ac_objext'
40259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40260 (eval $ac_try) 2>&5
40262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263 (exit $ac_status); }; }; then
40264 wx_cv_type_pthread_mutexattr_t
=yes
40266 echo "$as_me: failed program was:" >&5
40267 sed 's/^/| /' conftest.
$ac_ext >&5
40269 wx_cv_type_pthread_mutexattr_t
=no
40272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40275 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40276 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40278 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40279 cat >>confdefs.h
<<\_ACEOF
40280 #define HAVE_PTHREAD_MUTEXATTR_T 1
40284 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40285 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40286 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40287 echo $ECHO_N "(cached) $ECHO_C" >&6
40290 cat >conftest.
$ac_ext <<_ACEOF
40293 cat confdefs.h
>>conftest.
$ac_ext
40294 cat >>conftest.
$ac_ext <<_ACEOF
40295 /* end confdefs.h. */
40296 #include <pthread.h>
40301 pthread_mutexattr_t attr;
40302 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40308 rm -f conftest.
$ac_objext
40309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40310 (eval $ac_compile) 2>conftest.er1
40312 grep -v '^ *+' conftest.er1
>conftest.err
40314 cat conftest.err
>&5
40315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40316 (exit $ac_status); } &&
40317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40319 (eval $ac_try) 2>&5
40321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40322 (exit $ac_status); }; } &&
40323 { ac_try
='test -s conftest.$ac_objext'
40324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40325 (eval $ac_try) 2>&5
40327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40328 (exit $ac_status); }; }; then
40329 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40331 echo "$as_me: failed program was:" >&5
40332 sed 's/^/| /' conftest.
$ac_ext >&5
40334 wx_cv_func_pthread_mutexattr_settype_decl
=no
40337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40340 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40341 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40342 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40343 cat >>confdefs.h
<<\_ACEOF
40344 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40349 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40350 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40351 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40352 echo $ECHO_N "(cached) $ECHO_C" >&6
40355 cat >conftest.
$ac_ext <<_ACEOF
40358 cat confdefs.h
>>conftest.
$ac_ext
40359 cat >>conftest.
$ac_ext <<_ACEOF
40360 /* end confdefs.h. */
40361 #include <pthread.h>
40366 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40372 rm -f conftest.
$ac_objext
40373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40374 (eval $ac_compile) 2>conftest.er1
40376 grep -v '^ *+' conftest.er1
>conftest.err
40378 cat conftest.err
>&5
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); } &&
40381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40383 (eval $ac_try) 2>&5
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); }; } &&
40387 { ac_try
='test -s conftest.$ac_objext'
40388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40389 (eval $ac_try) 2>&5
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); }; }; then
40394 wx_cv_type_pthread_rec_mutex_init
=yes
40397 echo "$as_me: failed program was:" >&5
40398 sed 's/^/| /' conftest.
$ac_ext >&5
40401 wx_cv_type_pthread_rec_mutex_init
=no
40405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40408 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40409 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40410 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40411 cat >>confdefs.h
<<\_ACEOF
40412 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40416 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40417 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40423 if test "$wxUSE_THREADS" = "yes" ; then
40426 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40427 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40428 if test "${wx_cv_cflags_mthread+set}" = set; then
40429 echo $ECHO_N "(cached) $ECHO_C" >&6
40432 CFLAGS_OLD
="$CFLAGS"
40433 CFLAGS
="-mthreads $CFLAGS"
40434 cat >conftest.
$ac_ext <<_ACEOF
40437 cat confdefs.h
>>conftest.
$ac_ext
40438 cat >>conftest.
$ac_ext <<_ACEOF
40439 /* end confdefs.h. */
40449 rm -f conftest.
$ac_objext
40450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40451 (eval $ac_compile) 2>conftest.er1
40453 grep -v '^ *+' conftest.er1
>conftest.err
40455 cat conftest.err
>&5
40456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457 (exit $ac_status); } &&
40458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40460 (eval $ac_try) 2>&5
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); }; } &&
40464 { ac_try
='test -s conftest.$ac_objext'
40465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40466 (eval $ac_try) 2>&5
40468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40469 (exit $ac_status); }; }; then
40470 wx_cv_cflags_mthread
=yes
40472 echo "$as_me: failed program was:" >&5
40473 sed 's/^/| /' conftest.
$ac_ext >&5
40475 wx_cv_cflags_mthread
=no
40478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40482 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40483 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40485 if test "$wx_cv_cflags_mthread" = "yes"; then
40486 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40487 LDFLAGS
="$LDFLAGS -mthreads"
40489 CFLAGS
="$CFLAGS_OLD"
40493 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40494 LDFLAGS
="$LDFLAGS -Zmt"
40500 echo "$as_me:$LINENO: checking for localtime_r" >&5
40501 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40502 if test "${ac_cv_func_localtime_r+set}" = set; then
40503 echo $ECHO_N "(cached) $ECHO_C" >&6
40505 cat >conftest.
$ac_ext <<_ACEOF
40508 cat confdefs.h
>>conftest.
$ac_ext
40509 cat >>conftest.
$ac_ext <<_ACEOF
40510 /* end confdefs.h. */
40511 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40513 #define localtime_r innocuous_localtime_r
40515 /* System header to define __stub macros and hopefully few prototypes,
40516 which can conflict with char localtime_r (); below.
40517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40518 <limits.h> exists even on freestanding compilers. */
40521 # include <limits.h>
40523 # include <assert.h>
40528 /* Override any gcc2 internal prototype to avoid an error. */
40533 /* We use char because int might match the return type of a gcc2
40534 builtin and then its argument prototype would still apply. */
40535 char localtime_r ();
40536 /* The GNU C library defines this for functions which it implements
40537 to always fail with ENOSYS. Some functions are actually named
40538 something starting with __ and the normal name is an alias. */
40539 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40542 char (*f) () = localtime_r;
40551 return f != localtime_r;
40556 rm -f conftest.
$ac_objext conftest
$ac_exeext
40557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40558 (eval $ac_link) 2>conftest.er1
40560 grep -v '^ *+' conftest.er1
>conftest.err
40562 cat conftest.err
>&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); } &&
40565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40567 (eval $ac_try) 2>&5
40569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40570 (exit $ac_status); }; } &&
40571 { ac_try
='test -s conftest$ac_exeext'
40572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40573 (eval $ac_try) 2>&5
40575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40576 (exit $ac_status); }; }; then
40577 ac_cv_func_localtime_r
=yes
40579 echo "$as_me: failed program was:" >&5
40580 sed 's/^/| /' conftest.
$ac_ext >&5
40582 ac_cv_func_localtime_r
=no
40584 rm -f conftest.err conftest.
$ac_objext \
40585 conftest
$ac_exeext conftest.
$ac_ext
40587 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40588 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40589 if test $ac_cv_func_localtime_r = yes; then
40590 cat >>confdefs.h
<<\_ACEOF
40591 #define HAVE_LOCALTIME_R 1
40596 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40597 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40598 if test "${ac_cv_func_gmtime_r+set}" = set; then
40599 echo $ECHO_N "(cached) $ECHO_C" >&6
40601 cat >conftest.
$ac_ext <<_ACEOF
40604 cat confdefs.h
>>conftest.
$ac_ext
40605 cat >>conftest.
$ac_ext <<_ACEOF
40606 /* end confdefs.h. */
40607 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40609 #define gmtime_r innocuous_gmtime_r
40611 /* System header to define __stub macros and hopefully few prototypes,
40612 which can conflict with char gmtime_r (); below.
40613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40614 <limits.h> exists even on freestanding compilers. */
40617 # include <limits.h>
40619 # include <assert.h>
40624 /* Override any gcc2 internal prototype to avoid an error. */
40629 /* We use char because int might match the return type of a gcc2
40630 builtin and then its argument prototype would still apply. */
40632 /* The GNU C library defines this for functions which it implements
40633 to always fail with ENOSYS. Some functions are actually named
40634 something starting with __ and the normal name is an alias. */
40635 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40638 char (*f) () = gmtime_r;
40647 return f != gmtime_r;
40652 rm -f conftest.
$ac_objext conftest
$ac_exeext
40653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40654 (eval $ac_link) 2>conftest.er1
40656 grep -v '^ *+' conftest.er1
>conftest.err
40658 cat conftest.err
>&5
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); } &&
40661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
40667 { ac_try
='test -s conftest$ac_exeext'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; }; then
40673 ac_cv_func_gmtime_r
=yes
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.
$ac_ext >&5
40678 ac_cv_func_gmtime_r
=no
40680 rm -f conftest.err conftest.
$ac_objext \
40681 conftest
$ac_exeext conftest.
$ac_ext
40683 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40684 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40685 if test $ac_cv_func_gmtime_r = yes; then
40686 cat >>confdefs.h
<<\_ACEOF
40687 #define HAVE_GMTIME_R 1
40692 echo "$as_me:$LINENO: checking for readdir_r" >&5
40693 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40694 if test "${ac_cv_func_readdir_r+set}" = set; then
40695 echo $ECHO_N "(cached) $ECHO_C" >&6
40697 cat >conftest.
$ac_ext <<_ACEOF
40700 cat confdefs.h
>>conftest.
$ac_ext
40701 cat >>conftest.
$ac_ext <<_ACEOF
40702 /* end confdefs.h. */
40703 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40705 #define readdir_r innocuous_readdir_r
40707 /* System header to define __stub macros and hopefully few prototypes,
40708 which can conflict with char readdir_r (); below.
40709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40710 <limits.h> exists even on freestanding compilers. */
40713 # include <limits.h>
40715 # include <assert.h>
40720 /* Override any gcc2 internal prototype to avoid an error. */
40725 /* We use char because int might match the return type of a gcc2
40726 builtin and then its argument prototype would still apply. */
40728 /* The GNU C library defines this for functions which it implements
40729 to always fail with ENOSYS. Some functions are actually named
40730 something starting with __ and the normal name is an alias. */
40731 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40734 char (*f) () = readdir_r;
40743 return f != readdir_r;
40748 rm -f conftest.
$ac_objext conftest
$ac_exeext
40749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40750 (eval $ac_link) 2>conftest.er1
40752 grep -v '^ *+' conftest.er1
>conftest.err
40754 cat conftest.err
>&5
40755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40756 (exit $ac_status); } &&
40757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40759 (eval $ac_try) 2>&5
40761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40762 (exit $ac_status); }; } &&
40763 { ac_try
='test -s conftest$ac_exeext'
40764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40765 (eval $ac_try) 2>&5
40767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40768 (exit $ac_status); }; }; then
40769 ac_cv_func_readdir_r
=yes
40771 echo "$as_me: failed program was:" >&5
40772 sed 's/^/| /' conftest.
$ac_ext >&5
40774 ac_cv_func_readdir_r
=no
40776 rm -f conftest.err conftest.
$ac_objext \
40777 conftest
$ac_exeext conftest.
$ac_ext
40779 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40780 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40781 if test $ac_cv_func_readdir_r = yes; then
40782 cat >>confdefs.h
<<\_ACEOF
40783 #define HAVE_READDIR_R 1
40792 ac_cpp
='$CPP $CPPFLAGS'
40793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40797 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40798 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40800 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40801 echo $ECHO_N "(cached) $ECHO_C" >&6
40805 ################################################################
40807 ac_cv_func_which_gethostbyname_r
=unknown
40810 # ONE ARGUMENT (sanity check)
40813 # This should fail, as there is no variant of gethostbyname_r() that takes
40814 # a single argument. If it actually compiles, then we can assume that
40815 # netdb.h is not declaring the function, and the compiler is thereby
40816 # assuming an implicit prototype. In which case, we're out of luck.
40818 cat >conftest.
$ac_ext <<_ACEOF
40821 cat confdefs.h
>>conftest.
$ac_ext
40822 cat >>conftest.
$ac_ext <<_ACEOF
40823 /* end confdefs.h. */
40829 char *name = "www.gnu.org";
40830 (void)gethostbyname_r(name) /* ; */
40836 rm -f conftest.
$ac_objext
40837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40838 (eval $ac_compile) 2>conftest.er1
40840 grep -v '^ *+' conftest.er1
>conftest.err
40842 cat conftest.err
>&5
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); } &&
40845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40847 (eval $ac_try) 2>&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); }; } &&
40851 { ac_try
='test -s conftest.$ac_objext'
40852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40853 (eval $ac_try) 2>&5
40855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40856 (exit $ac_status); }; }; then
40857 ac_cv_func_which_gethostbyname_r
=no
40859 echo "$as_me: failed program was:" >&5
40860 sed 's/^/| /' conftest.
$ac_ext >&5
40863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40870 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40872 cat >conftest.
$ac_ext <<_ACEOF
40875 cat confdefs.h
>>conftest.
$ac_ext
40876 cat >>conftest.
$ac_ext <<_ACEOF
40877 /* end confdefs.h. */
40883 char *name = "www.gnu.org";
40884 struct hostent ret, *retp;
40888 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40894 rm -f conftest.
$ac_objext
40895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40896 (eval $ac_compile) 2>conftest.er1
40898 grep -v '^ *+' conftest.er1
>conftest.err
40900 cat conftest.err
>&5
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); } &&
40903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40905 (eval $ac_try) 2>&5
40907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40908 (exit $ac_status); }; } &&
40909 { ac_try
='test -s conftest.$ac_objext'
40910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40911 (eval $ac_try) 2>&5
40913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40914 (exit $ac_status); }; }; then
40915 ac_cv_func_which_gethostbyname_r
=six
40917 echo "$as_me: failed program was:" >&5
40918 sed 's/^/| /' conftest.
$ac_ext >&5
40921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40930 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40932 cat >conftest.
$ac_ext <<_ACEOF
40935 cat confdefs.h
>>conftest.
$ac_ext
40936 cat >>conftest.
$ac_ext <<_ACEOF
40937 /* end confdefs.h. */
40943 char *name = "www.gnu.org";
40944 struct hostent ret;
40948 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40954 rm -f conftest.
$ac_objext
40955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40956 (eval $ac_compile) 2>conftest.er1
40958 grep -v '^ *+' conftest.er1
>conftest.err
40960 cat conftest.err
>&5
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); } &&
40963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40965 (eval $ac_try) 2>&5
40967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40968 (exit $ac_status); }; } &&
40969 { ac_try
='test -s conftest.$ac_objext'
40970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40971 (eval $ac_try) 2>&5
40973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40974 (exit $ac_status); }; }; then
40975 ac_cv_func_which_gethostbyname_r
=five
40977 echo "$as_me: failed program was:" >&5
40978 sed 's/^/| /' conftest.
$ac_ext >&5
40981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40987 # (e.g. AIX, HP-UX, Tru64)
40990 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40992 cat >conftest.
$ac_ext <<_ACEOF
40995 cat confdefs.h
>>conftest.
$ac_ext
40996 cat >>conftest.
$ac_ext <<_ACEOF
40997 /* end confdefs.h. */
41003 char *name = "www.gnu.org";
41004 struct hostent ret;
41005 struct hostent_data data;
41006 (void)gethostbyname_r(name, &ret, &data) /* ; */
41012 rm -f conftest.
$ac_objext
41013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41014 (eval $ac_compile) 2>conftest.er1
41016 grep -v '^ *+' conftest.er1
>conftest.err
41018 cat conftest.err
>&5
41019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41020 (exit $ac_status); } &&
41021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41023 (eval $ac_try) 2>&5
41025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41026 (exit $ac_status); }; } &&
41027 { ac_try
='test -s conftest.$ac_objext'
41028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41029 (eval $ac_try) 2>&5
41031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41032 (exit $ac_status); }; }; then
41033 ac_cv_func_which_gethostbyname_r
=three
41035 echo "$as_me: failed program was:" >&5
41036 sed 's/^/| /' conftest.
$ac_ext >&5
41039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41043 ################################################################
41048 case "$ac_cv_func_which_gethostbyname_r" in
41050 echo "$as_me:$LINENO: result: three" >&5
41051 echo "${ECHO_T}three" >&6
41052 cat >>confdefs.h
<<\_ACEOF
41053 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41059 echo "$as_me:$LINENO: result: five" >&5
41060 echo "${ECHO_T}five" >&6
41061 cat >>confdefs.h
<<\_ACEOF
41062 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41068 echo "$as_me:$LINENO: result: six" >&5
41069 echo "${ECHO_T}six" >&6
41070 cat >>confdefs.h
<<\_ACEOF
41071 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41077 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41078 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41082 echo "$as_me:$LINENO: result: can't tell" >&5
41083 echo "${ECHO_T}can't tell" >&6
41087 { { echo "$as_me:$LINENO: error: internal error" >&5
41088 echo "$as_me: error: internal error" >&2;}
41089 { (exit 1); exit 1; }; }
41094 ac_cpp
='$CPP $CPPFLAGS'
41095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41101 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41102 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41103 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41104 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41105 if test "${ac_cv_func_gethostbyname+set}" = set; then
41106 echo $ECHO_N "(cached) $ECHO_C" >&6
41108 cat >conftest.
$ac_ext <<_ACEOF
41111 cat confdefs.h
>>conftest.
$ac_ext
41112 cat >>conftest.
$ac_ext <<_ACEOF
41113 /* end confdefs.h. */
41114 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41116 #define gethostbyname innocuous_gethostbyname
41118 /* System header to define __stub macros and hopefully few prototypes,
41119 which can conflict with char gethostbyname (); below.
41120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41121 <limits.h> exists even on freestanding compilers. */
41124 # include <limits.h>
41126 # include <assert.h>
41129 #undef gethostbyname
41131 /* Override any gcc2 internal prototype to avoid an error. */
41136 /* We use char because int might match the return type of a gcc2
41137 builtin and then its argument prototype would still apply. */
41138 char gethostbyname ();
41139 /* The GNU C library defines this for functions which it implements
41140 to always fail with ENOSYS. Some functions are actually named
41141 something starting with __ and the normal name is an alias. */
41142 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41145 char (*f) () = gethostbyname;
41154 return f != gethostbyname;
41159 rm -f conftest.
$ac_objext conftest
$ac_exeext
41160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41161 (eval $ac_link) 2>conftest.er1
41163 grep -v '^ *+' conftest.er1
>conftest.err
41165 cat conftest.err
>&5
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); } &&
41168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41170 (eval $ac_try) 2>&5
41172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41173 (exit $ac_status); }; } &&
41174 { ac_try
='test -s conftest$ac_exeext'
41175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41176 (eval $ac_try) 2>&5
41178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41179 (exit $ac_status); }; }; then
41180 ac_cv_func_gethostbyname
=yes
41182 echo "$as_me: failed program was:" >&5
41183 sed 's/^/| /' conftest.
$ac_ext >&5
41185 ac_cv_func_gethostbyname
=no
41187 rm -f conftest.err conftest.
$ac_objext \
41188 conftest
$ac_exeext conftest.
$ac_ext
41190 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41191 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41192 if test $ac_cv_func_gethostbyname = yes; then
41193 cat >>confdefs.h
<<\_ACEOF
41194 #define HAVE_GETHOSTBYNAME 1
41201 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41202 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41203 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41204 echo $ECHO_N "(cached) $ECHO_C" >&6
41208 ac_cpp
='$CXXCPP $CPPFLAGS'
41209 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41210 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41211 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41214 cat >conftest.
$ac_ext <<_ACEOF
41217 cat confdefs.h
>>conftest.
$ac_ext
41218 cat >>conftest.
$ac_ext <<_ACEOF
41219 /* end confdefs.h. */
41227 struct servent *se, *res;
41230 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41236 rm -f conftest.
$ac_objext
41237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41238 (eval $ac_compile) 2>conftest.er1
41240 grep -v '^ *+' conftest.er1
>conftest.err
41242 cat conftest.err
>&5
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); } &&
41245 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41247 (eval $ac_try) 2>&5
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); }; } &&
41251 { ac_try
='test -s conftest.$ac_objext'
41252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41253 (eval $ac_try) 2>&5
41255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256 (exit $ac_status); }; }; then
41257 ac_cv_func_which_getservbyname_r
=six
41259 echo "$as_me: failed program was:" >&5
41260 sed 's/^/| /' conftest.
$ac_ext >&5
41263 cat >conftest.
$ac_ext <<_ACEOF
41266 cat confdefs.h
>>conftest.
$ac_ext
41267 cat >>conftest.
$ac_ext <<_ACEOF
41268 /* end confdefs.h. */
41276 struct servent *se;
41279 (void) getservbyname_r(name, proto, se, buffer, buflen)
41285 rm -f conftest.
$ac_objext
41286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41287 (eval $ac_compile) 2>conftest.er1
41289 grep -v '^ *+' conftest.er1
>conftest.err
41291 cat conftest.err
>&5
41292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41293 (exit $ac_status); } &&
41294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41296 (eval $ac_try) 2>&5
41298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41299 (exit $ac_status); }; } &&
41300 { ac_try
='test -s conftest.$ac_objext'
41301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41302 (eval $ac_try) 2>&5
41304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41305 (exit $ac_status); }; }; then
41306 ac_cv_func_which_getservbyname_r
=five
41308 echo "$as_me: failed program was:" >&5
41309 sed 's/^/| /' conftest.
$ac_ext >&5
41312 cat >conftest.
$ac_ext <<_ACEOF
41315 cat confdefs.h
>>conftest.
$ac_ext
41316 cat >>conftest.
$ac_ext <<_ACEOF
41317 /* end confdefs.h. */
41325 struct servent *se;
41326 struct servent_data data;
41327 (void) getservbyname_r(name, proto, se, &data);
41333 rm -f conftest.
$ac_objext
41334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41335 (eval $ac_compile) 2>conftest.er1
41337 grep -v '^ *+' conftest.er1
>conftest.err
41339 cat conftest.err
>&5
41340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41341 (exit $ac_status); } &&
41342 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41344 (eval $ac_try) 2>&5
41346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41347 (exit $ac_status); }; } &&
41348 { ac_try
='test -s conftest.$ac_objext'
41349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41350 (eval $ac_try) 2>&5
41352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41353 (exit $ac_status); }; }; then
41354 ac_cv_func_which_getservbyname_r
=four
41356 echo "$as_me: failed program was:" >&5
41357 sed 's/^/| /' conftest.
$ac_ext >&5
41359 ac_cv_func_which_getservbyname_r
=no
41362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41372 ac_cpp
='$CPP $CPPFLAGS'
41373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41380 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41381 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41383 if test $ac_cv_func_which_getservbyname_r = six
; then
41384 cat >>confdefs.h
<<\_ACEOF
41385 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41388 elif test $ac_cv_func_which_getservbyname_r = five
; then
41389 cat >>confdefs.h
<<\_ACEOF
41390 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41393 elif test $ac_cv_func_which_getservbyname_r = four
; then
41394 cat >>confdefs.h
<<\_ACEOF
41395 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41401 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41402 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41404 for ac_func
in getservbyname
41406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41407 echo "$as_me:$LINENO: checking for $ac_func" >&5
41408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41409 if eval "test \"\${$as_ac_var+set}\" = set"; then
41410 echo $ECHO_N "(cached) $ECHO_C" >&6
41412 cat >conftest.
$ac_ext <<_ACEOF
41415 cat confdefs.h
>>conftest.
$ac_ext
41416 cat >>conftest.
$ac_ext <<_ACEOF
41417 /* end confdefs.h. */
41418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41420 #define $ac_func innocuous_$ac_func
41422 /* System header to define __stub macros and hopefully few prototypes,
41423 which can conflict with char $ac_func (); below.
41424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41425 <limits.h> exists even on freestanding compilers. */
41428 # include <limits.h>
41430 # include <assert.h>
41435 /* Override any gcc2 internal prototype to avoid an error. */
41440 /* We use char because int might match the return type of a gcc2
41441 builtin and then its argument prototype would still apply. */
41443 /* The GNU C library defines this for functions which it implements
41444 to always fail with ENOSYS. Some functions are actually named
41445 something starting with __ and the normal name is an alias. */
41446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41449 char (*f) () = $ac_func;
41458 return f != $ac_func;
41463 rm -f conftest.
$ac_objext conftest
$ac_exeext
41464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41465 (eval $ac_link) 2>conftest.er1
41467 grep -v '^ *+' conftest.er1
>conftest.err
41469 cat conftest.err
>&5
41470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41471 (exit $ac_status); } &&
41472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41474 (eval $ac_try) 2>&5
41476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41477 (exit $ac_status); }; } &&
41478 { ac_try
='test -s conftest$ac_exeext'
41479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41480 (eval $ac_try) 2>&5
41482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41483 (exit $ac_status); }; }; then
41484 eval "$as_ac_var=yes"
41486 echo "$as_me: failed program was:" >&5
41487 sed 's/^/| /' conftest.
$ac_ext >&5
41489 eval "$as_ac_var=no"
41491 rm -f conftest.err conftest.
$ac_objext \
41492 conftest
$ac_exeext conftest.
$ac_ext
41494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41496 if test `eval echo '${'$as_ac_var'}'` = yes; then
41497 cat >>confdefs.h
<<_ACEOF
41498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41500 cat >>confdefs.h
<<\_ACEOF
41501 #define HAVE_GETSERVBYNAME 1
41509 if test "$wxUSE_THREADS" = "yes"; then
41510 cat >>confdefs.h
<<\_ACEOF
41511 #define wxUSE_THREADS 1
41515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41517 if test "$wx_cv_func_strtok_r" = "yes"; then
41518 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41519 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41520 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41521 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41522 echo "$as_me:$LINENO: result: yes" >&5
41523 echo "${ECHO_T}yes" >&6
41525 echo "$as_me:$LINENO: result: no" >&5
41526 echo "${ECHO_T}no" >&6
41531 if test "$WXGTK20" = 1 ; then
41532 cat >>confdefs.h
<<_ACEOF
41533 #define __WXGTK20__ $WXGTK20
41539 if test "$WXGTK12" = 1 ; then
41540 cat >>confdefs.h
<<_ACEOF
41541 #define __WXGTK12__ $WXGTK12
41546 if test "$WXGTK127" = 1 ; then
41547 cat >>confdefs.h
<<_ACEOF
41548 #define __WXGTK127__ $WXGTK127
41553 if test "$WXGPE" = 1 ; then
41554 cat >>confdefs.h
<<_ACEOF
41555 #define __WXGPE__ $WXGPE
41561 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41566 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41567 wxUSE_DEBUG_INFO
=yes
41568 if test "$GCC" = yes; then
41569 DEBUG_CFLAGS
="-ggdb"
41573 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41574 cat >>confdefs.h
<<\_ACEOF
41578 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41580 if test "$wxUSE_GTK" = 1 ; then
41581 if test "x$wxGTK_VERSION" = "x1" ; then
41582 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41587 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41588 cat >>confdefs.h
<<\_ACEOF
41589 #define wxUSE_MEMORY_TRACING 1
41592 cat >>confdefs.h
<<\_ACEOF
41593 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41596 cat >>confdefs.h
<<\_ACEOF
41597 #define wxUSE_DEBUG_NEW_ALWAYS 1
41600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41603 if test "$wxUSE_DMALLOC" = "yes" ; then
41604 DMALLOC_LIBS
="-ldmallocthcxx"
41608 if test "$wxUSE_PROFILE" = "yes" ; then
41609 PROFILE_FLAGS
=" -pg"
41612 if test "$GCC" = "yes" ; then
41613 if test "$wxUSE_NO_RTTI" = "yes" ; then
41614 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41616 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41617 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41619 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41620 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41625 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41628 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41634 if test "$wxUSE_OPTIMISE" = "no" ; then
41635 if test "$GCC" = yes ; then
41636 OPTIMISE_CFLAGS
="-O0"
41639 if test "$GCC" = yes ; then
41641 *-pc-os2_emx | *-pc-os2-emx )
41642 OPTIMISE_CFLAGS
="-O2"
41645 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41649 OPTIMISE_CFLAGS
="-O"
41654 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41655 cat >>confdefs.h
<<\_ACEOF
41656 #define WXWIN_COMPATIBILITY_2_4 1
41660 WXWIN_COMPATIBILITY_2_6
="yes"
41663 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41664 cat >>confdefs.h
<<\_ACEOF
41665 #define WXWIN_COMPATIBILITY_2_6 1
41671 if test "$wxUSE_GUI" = "yes"; then
41672 cat >>confdefs.h
<<\_ACEOF
41673 #define wxUSE_GUI 1
41680 if test "$wxUSE_UNIX" = "yes"; then
41681 cat >>confdefs.h
<<\_ACEOF
41682 #define wxUSE_UNIX 1
41688 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41692 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41693 if test "$USE_DARWIN" = 1; then
41695 elif test "$USE_DOS" = 1; then
41699 for ac_func
in dlopen
41701 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41702 echo "$as_me:$LINENO: checking for $ac_func" >&5
41703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41704 if eval "test \"\${$as_ac_var+set}\" = set"; then
41705 echo $ECHO_N "(cached) $ECHO_C" >&6
41707 cat >conftest.
$ac_ext <<_ACEOF
41710 cat confdefs.h
>>conftest.
$ac_ext
41711 cat >>conftest.
$ac_ext <<_ACEOF
41712 /* end confdefs.h. */
41713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41715 #define $ac_func innocuous_$ac_func
41717 /* System header to define __stub macros and hopefully few prototypes,
41718 which can conflict with char $ac_func (); below.
41719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41720 <limits.h> exists even on freestanding compilers. */
41723 # include <limits.h>
41725 # include <assert.h>
41730 /* Override any gcc2 internal prototype to avoid an error. */
41735 /* We use char because int might match the return type of a gcc2
41736 builtin and then its argument prototype would still apply. */
41738 /* The GNU C library defines this for functions which it implements
41739 to always fail with ENOSYS. Some functions are actually named
41740 something starting with __ and the normal name is an alias. */
41741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41744 char (*f) () = $ac_func;
41753 return f != $ac_func;
41758 rm -f conftest.
$ac_objext conftest
$ac_exeext
41759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41760 (eval $ac_link) 2>conftest.er1
41762 grep -v '^ *+' conftest.er1
>conftest.err
41764 cat conftest.err
>&5
41765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766 (exit $ac_status); } &&
41767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41769 (eval $ac_try) 2>&5
41771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41772 (exit $ac_status); }; } &&
41773 { ac_try
='test -s conftest$ac_exeext'
41774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41775 (eval $ac_try) 2>&5
41777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41778 (exit $ac_status); }; }; then
41779 eval "$as_ac_var=yes"
41781 echo "$as_me: failed program was:" >&5
41782 sed 's/^/| /' conftest.
$ac_ext >&5
41784 eval "$as_ac_var=no"
41786 rm -f conftest.err conftest.
$ac_objext \
41787 conftest
$ac_exeext conftest.
$ac_ext
41789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41791 if test `eval echo '${'$as_ac_var'}'` = yes; then
41792 cat >>confdefs.h
<<_ACEOF
41793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41796 cat >>confdefs.h
<<\_ACEOF
41797 #define HAVE_DLOPEN 1
41804 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41805 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41806 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41807 echo $ECHO_N "(cached) $ECHO_C" >&6
41809 ac_check_lib_save_LIBS
=$LIBS
41811 cat >conftest.
$ac_ext <<_ACEOF
41814 cat confdefs.h
>>conftest.
$ac_ext
41815 cat >>conftest.
$ac_ext <<_ACEOF
41816 /* end confdefs.h. */
41818 /* Override any gcc2 internal prototype to avoid an error. */
41822 /* We use char because int might match the return type of a gcc2
41823 builtin and then its argument prototype would still apply. */
41833 rm -f conftest.
$ac_objext conftest
$ac_exeext
41834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41835 (eval $ac_link) 2>conftest.er1
41837 grep -v '^ *+' conftest.er1
>conftest.err
41839 cat conftest.err
>&5
41840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41841 (exit $ac_status); } &&
41842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41844 (eval $ac_try) 2>&5
41846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41847 (exit $ac_status); }; } &&
41848 { ac_try
='test -s conftest$ac_exeext'
41849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41850 (eval $ac_try) 2>&5
41852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41853 (exit $ac_status); }; }; then
41854 ac_cv_lib_dl_dlopen
=yes
41856 echo "$as_me: failed program was:" >&5
41857 sed 's/^/| /' conftest.
$ac_ext >&5
41859 ac_cv_lib_dl_dlopen
=no
41861 rm -f conftest.err conftest.
$ac_objext \
41862 conftest
$ac_exeext conftest.
$ac_ext
41863 LIBS
=$ac_check_lib_save_LIBS
41865 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41866 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41867 if test $ac_cv_lib_dl_dlopen = yes; then
41869 cat >>confdefs.h
<<\_ACEOF
41870 #define HAVE_DLOPEN 1
41874 DL_LINK
=" -ldl$DL_LINK"
41879 for ac_func
in shl_load
41881 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41882 echo "$as_me:$LINENO: checking for $ac_func" >&5
41883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41884 if eval "test \"\${$as_ac_var+set}\" = set"; then
41885 echo $ECHO_N "(cached) $ECHO_C" >&6
41887 cat >conftest.
$ac_ext <<_ACEOF
41890 cat confdefs.h
>>conftest.
$ac_ext
41891 cat >>conftest.
$ac_ext <<_ACEOF
41892 /* end confdefs.h. */
41893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41895 #define $ac_func innocuous_$ac_func
41897 /* System header to define __stub macros and hopefully few prototypes,
41898 which can conflict with char $ac_func (); below.
41899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41900 <limits.h> exists even on freestanding compilers. */
41903 # include <limits.h>
41905 # include <assert.h>
41910 /* Override any gcc2 internal prototype to avoid an error. */
41915 /* We use char because int might match the return type of a gcc2
41916 builtin and then its argument prototype would still apply. */
41918 /* The GNU C library defines this for functions which it implements
41919 to always fail with ENOSYS. Some functions are actually named
41920 something starting with __ and the normal name is an alias. */
41921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41924 char (*f) () = $ac_func;
41933 return f != $ac_func;
41938 rm -f conftest.
$ac_objext conftest
$ac_exeext
41939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41940 (eval $ac_link) 2>conftest.er1
41942 grep -v '^ *+' conftest.er1
>conftest.err
41944 cat conftest.err
>&5
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); } &&
41947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41949 (eval $ac_try) 2>&5
41951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41952 (exit $ac_status); }; } &&
41953 { ac_try
='test -s conftest$ac_exeext'
41954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41955 (eval $ac_try) 2>&5
41957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41958 (exit $ac_status); }; }; then
41959 eval "$as_ac_var=yes"
41961 echo "$as_me: failed program was:" >&5
41962 sed 's/^/| /' conftest.
$ac_ext >&5
41964 eval "$as_ac_var=no"
41966 rm -f conftest.err conftest.
$ac_objext \
41967 conftest
$ac_exeext conftest.
$ac_ext
41969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41971 if test `eval echo '${'$as_ac_var'}'` = yes; then
41972 cat >>confdefs.h
<<_ACEOF
41973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41976 cat >>confdefs.h
<<\_ACEOF
41977 #define HAVE_SHL_LOAD 1
41984 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41985 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41986 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41987 echo $ECHO_N "(cached) $ECHO_C" >&6
41989 ac_check_lib_save_LIBS
=$LIBS
41990 LIBS
="-lshl_load $LIBS"
41991 cat >conftest.
$ac_ext <<_ACEOF
41994 cat confdefs.h
>>conftest.
$ac_ext
41995 cat >>conftest.
$ac_ext <<_ACEOF
41996 /* end confdefs.h. */
41998 /* Override any gcc2 internal prototype to avoid an error. */
42002 /* We use char because int might match the return type of a gcc2
42003 builtin and then its argument prototype would still apply. */
42013 rm -f conftest.
$ac_objext conftest
$ac_exeext
42014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42015 (eval $ac_link) 2>conftest.er1
42017 grep -v '^ *+' conftest.er1
>conftest.err
42019 cat conftest.err
>&5
42020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42021 (exit $ac_status); } &&
42022 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42024 (eval $ac_try) 2>&5
42026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42027 (exit $ac_status); }; } &&
42028 { ac_try
='test -s conftest$ac_exeext'
42029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42030 (eval $ac_try) 2>&5
42032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42033 (exit $ac_status); }; }; then
42034 ac_cv_lib_shl_load_dld
=yes
42036 echo "$as_me: failed program was:" >&5
42037 sed 's/^/| /' conftest.
$ac_ext >&5
42039 ac_cv_lib_shl_load_dld
=no
42041 rm -f conftest.err conftest.
$ac_objext \
42042 conftest
$ac_exeext conftest.
$ac_ext
42043 LIBS
=$ac_check_lib_save_LIBS
42045 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42046 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42047 if test $ac_cv_lib_shl_load_dld = yes; then
42050 DL_LINK
=" -ldld$DL_LINK"
42066 if test "$HAVE_DL_FUNCS" = 1; then
42068 for ac_func
in dlerror
42070 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42071 echo "$as_me:$LINENO: checking for $ac_func" >&5
42072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42073 if eval "test \"\${$as_ac_var+set}\" = set"; then
42074 echo $ECHO_N "(cached) $ECHO_C" >&6
42076 cat >conftest.
$ac_ext <<_ACEOF
42079 cat confdefs.h
>>conftest.
$ac_ext
42080 cat >>conftest.
$ac_ext <<_ACEOF
42081 /* end confdefs.h. */
42082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42084 #define $ac_func innocuous_$ac_func
42086 /* System header to define __stub macros and hopefully few prototypes,
42087 which can conflict with char $ac_func (); below.
42088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42089 <limits.h> exists even on freestanding compilers. */
42092 # include <limits.h>
42094 # include <assert.h>
42099 /* Override any gcc2 internal prototype to avoid an error. */
42104 /* We use char because int might match the return type of a gcc2
42105 builtin and then its argument prototype would still apply. */
42107 /* The GNU C library defines this for functions which it implements
42108 to always fail with ENOSYS. Some functions are actually named
42109 something starting with __ and the normal name is an alias. */
42110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42113 char (*f) () = $ac_func;
42122 return f != $ac_func;
42127 rm -f conftest.
$ac_objext conftest
$ac_exeext
42128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42129 (eval $ac_link) 2>conftest.er1
42131 grep -v '^ *+' conftest.er1
>conftest.err
42133 cat conftest.err
>&5
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); } &&
42136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42138 (eval $ac_try) 2>&5
42140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42141 (exit $ac_status); }; } &&
42142 { ac_try
='test -s conftest$ac_exeext'
42143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42144 (eval $ac_try) 2>&5
42146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42147 (exit $ac_status); }; }; then
42148 eval "$as_ac_var=yes"
42150 echo "$as_me: failed program was:" >&5
42151 sed 's/^/| /' conftest.
$ac_ext >&5
42153 eval "$as_ac_var=no"
42155 rm -f conftest.err conftest.
$ac_objext \
42156 conftest
$ac_exeext conftest.
$ac_ext
42158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42160 if test `eval echo '${'$as_ac_var'}'` = yes; then
42161 cat >>confdefs.h
<<_ACEOF
42162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42164 cat >>confdefs.h
<<\_ACEOF
42165 #define HAVE_DLERROR 1
42170 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42171 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42172 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42173 echo $ECHO_N "(cached) $ECHO_C" >&6
42175 ac_check_lib_save_LIBS
=$LIBS
42177 cat >conftest.
$ac_ext <<_ACEOF
42180 cat confdefs.h
>>conftest.
$ac_ext
42181 cat >>conftest.
$ac_ext <<_ACEOF
42182 /* end confdefs.h. */
42184 /* Override any gcc2 internal prototype to avoid an error. */
42188 /* We use char because int might match the return type of a gcc2
42189 builtin and then its argument prototype would still apply. */
42199 rm -f conftest.
$ac_objext conftest
$ac_exeext
42200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42201 (eval $ac_link) 2>conftest.er1
42203 grep -v '^ *+' conftest.er1
>conftest.err
42205 cat conftest.err
>&5
42206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42207 (exit $ac_status); } &&
42208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42210 (eval $ac_try) 2>&5
42212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42213 (exit $ac_status); }; } &&
42214 { ac_try
='test -s conftest$ac_exeext'
42215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42216 (eval $ac_try) 2>&5
42218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42219 (exit $ac_status); }; }; then
42220 ac_cv_lib_dl_dlerror
=yes
42222 echo "$as_me: failed program was:" >&5
42223 sed 's/^/| /' conftest.
$ac_ext >&5
42225 ac_cv_lib_dl_dlerror
=no
42227 rm -f conftest.err conftest.
$ac_objext \
42228 conftest
$ac_exeext conftest.
$ac_ext
42229 LIBS
=$ac_check_lib_save_LIBS
42231 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42232 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42233 if test $ac_cv_lib_dl_dlerror = yes; then
42234 cat >>confdefs.h
<<\_ACEOF
42235 #define HAVE_DLERROR 1
42248 if test "$HAVE_DL_FUNCS" = 0; then
42249 if test "$HAVE_SHL_FUNCS" = 0; then
42250 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42251 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42252 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42253 wxUSE_DYNAMIC_LOADER
=no
42254 wxUSE_DYNLIB_CLASS
=no
42256 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42257 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42264 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42265 cat >>confdefs.h
<<\_ACEOF
42266 #define wxUSE_DYNAMIC_LOADER 1
42270 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42271 cat >>confdefs.h
<<\_ACEOF
42272 #define wxUSE_DYNLIB_CLASS 1
42279 if test "$wxUSE_PLUGINS" = "yes" ; then
42280 if test "$wxUSE_SHARED" = "no" ; then
42281 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42282 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42285 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42286 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42287 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42290 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42291 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42292 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42295 if test "$wxUSE_PLUGINS" = "yes" ; then
42296 cat >>confdefs.h
<<\_ACEOF
42297 #define wxUSE_PLUGINS 1
42304 if test "$wxUSE_STL" = "yes"; then
42305 cat >>confdefs.h
<<\_ACEOF
42306 #define wxUSE_STL 1
42311 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42312 cat >>confdefs.h
<<\_ACEOF
42313 #define wxUSE_APPLE_IEEE 1
42318 if test "$wxUSE_TIMER" = "yes"; then
42319 cat >>confdefs.h
<<\_ACEOF
42320 #define wxUSE_TIMER 1
42325 if test "$USE_UNIX" = "1" ; then
42326 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42327 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42328 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42329 echo $ECHO_N "(cached) $ECHO_C" >&6
42332 cat >conftest.
$ac_ext <<_ACEOF
42335 cat confdefs.h
>>conftest.
$ac_ext
42336 cat >>conftest.
$ac_ext <<_ACEOF
42337 /* end confdefs.h. */
42339 #include <sys/ioctl.h>
42340 #include <sys/soundcard.h>
42346 ioctl(0, SNDCTL_DSP_SPEED, 0);
42352 rm -f conftest.
$ac_objext conftest
$ac_exeext
42353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42354 (eval $ac_link) 2>conftest.er1
42356 grep -v '^ *+' conftest.er1
>conftest.err
42358 cat conftest.err
>&5
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); } &&
42361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42363 (eval $ac_try) 2>&5
42365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42366 (exit $ac_status); }; } &&
42367 { ac_try
='test -s conftest$ac_exeext'
42368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42369 (eval $ac_try) 2>&5
42371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42372 (exit $ac_status); }; }; then
42373 ac_cv_header_sys_soundcard
=yes
42375 echo "$as_me: failed program was:" >&5
42376 sed 's/^/| /' conftest.
$ac_ext >&5
42380 LIBS
="$saveLibs -lossaudio"
42381 cat >conftest.
$ac_ext <<_ACEOF
42384 cat confdefs.h
>>conftest.
$ac_ext
42385 cat >>conftest.
$ac_ext <<_ACEOF
42386 /* end confdefs.h. */
42388 #include <sys/ioctl.h>
42389 #include <sys/soundcard.h>
42395 ioctl(0, SNDCTL_DSP_SPEED, 0);
42401 rm -f conftest.
$ac_objext conftest
$ac_exeext
42402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42403 (eval $ac_link) 2>conftest.er1
42405 grep -v '^ *+' conftest.er1
>conftest.err
42407 cat conftest.err
>&5
42408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42409 (exit $ac_status); } &&
42410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42412 (eval $ac_try) 2>&5
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); }; } &&
42416 { ac_try
='test -s conftest$ac_exeext'
42417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42418 (eval $ac_try) 2>&5
42420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42421 (exit $ac_status); }; }; then
42422 ac_cv_header_sys_soundcard
=yes
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.
$ac_ext >&5
42429 ac_cv_header_sys_soundcard
=no
42433 rm -f conftest.err conftest.
$ac_objext \
42434 conftest
$ac_exeext conftest.
$ac_ext
42438 rm -f conftest.err conftest.
$ac_objext \
42439 conftest
$ac_exeext conftest.
$ac_ext
42442 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42443 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42445 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42446 cat >>confdefs.h
<<\_ACEOF
42447 #define HAVE_SYS_SOUNDCARD_H 1
42451 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42455 if test "$wxUSE_SOUND" = "yes"; then
42456 if test "$USE_UNIX" = "1" ; then
42457 if test "$wxUSE_LIBSDL" != "no"; then
42459 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42460 if test "${with_sdl_prefix+set}" = set; then
42461 withval
="$with_sdl_prefix"
42462 sdl_prefix
="$withval"
42467 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42468 if test "${with_sdl_exec_prefix+set}" = set; then
42469 withval
="$with_sdl_exec_prefix"
42470 sdl_exec_prefix
="$withval"
42474 # Check whether --enable-sdltest or --disable-sdltest was given.
42475 if test "${enable_sdltest+set}" = set; then
42476 enableval
="$enable_sdltest"
42482 if test x
$sdl_exec_prefix != x
; then
42483 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42484 if test x
${SDL_CONFIG+set} != xset
; then
42485 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42488 if test x
$sdl_prefix != x
; then
42489 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42490 if test x
${SDL_CONFIG+set} != xset
; then
42491 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42495 if test "x$prefix" != xNONE
; then
42496 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42498 # Extract the first word of "sdl-config", so it can be a program name with args.
42499 set dummy sdl
-config; ac_word
=$2
42500 echo "$as_me:$LINENO: checking for $ac_word" >&5
42501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42502 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42503 echo $ECHO_N "(cached) $ECHO_C" >&6
42505 case $SDL_CONFIG in
42507 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42511 for as_dir
in $PATH
42514 test -z "$as_dir" && as_dir
=.
42515 for ac_exec_ext
in '' $ac_executable_extensions; do
42516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42517 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42524 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42528 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42530 if test -n "$SDL_CONFIG"; then
42531 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42532 echo "${ECHO_T}$SDL_CONFIG" >&6
42534 echo "$as_me:$LINENO: result: no" >&5
42535 echo "${ECHO_T}no" >&6
42538 min_sdl_version
=1.2.0
42539 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42540 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42542 if test "$SDL_CONFIG" = "no" ; then
42545 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42546 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42548 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42550 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42552 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42553 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42554 if test "x$enable_sdltest" = "xyes" ; then
42555 ac_save_CFLAGS
="$CFLAGS"
42556 ac_save_CXXFLAGS
="$CXXFLAGS"
42557 ac_save_LIBS
="$LIBS"
42558 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42559 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42560 LIBS
="$LIBS $SDL_LIBS"
42562 if test "$cross_compiling" = yes; then
42563 echo $ac_n "cross compiling; assumed OK... $ac_c"
42565 cat >conftest.
$ac_ext <<_ACEOF
42568 cat confdefs.h
>>conftest.
$ac_ext
42569 cat >>conftest.
$ac_ext <<_ACEOF
42570 /* end confdefs.h. */
42573 #include <stdlib.h>
42574 #include <string.h>
42578 my_strdup (char *str)
42584 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42585 strcpy (new_str, str);
42593 int main (int argc, char *argv[])
42595 int major, minor, micro;
42598 /* This hangs on some systems (?)
42599 system ("touch conf.sdltest");
42601 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42603 /* HP/UX 9 (%@#!) writes to sscanf strings */
42604 tmp_version = my_strdup("$min_sdl_version");
42605 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42606 printf("%s, bad version string\n", "$min_sdl_version");
42610 if (($sdl_major_version > major) ||
42611 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42612 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42618 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42619 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42620 printf("*** best to upgrade to the required version.\n");
42621 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42622 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42623 printf("*** config.cache before re-running configure\n");
42630 rm -f conftest
$ac_exeext
42631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42632 (eval $ac_link) 2>&5
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42637 (eval $ac_try) 2>&5
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); }; }; then
42643 echo "$as_me: program exited with status $ac_status" >&5
42644 echo "$as_me: failed program was:" >&5
42645 sed 's/^/| /' conftest.
$ac_ext >&5
42647 ( exit $ac_status )
42650 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42652 CFLAGS
="$ac_save_CFLAGS"
42653 CXXFLAGS
="$ac_save_CXXFLAGS"
42654 LIBS
="$ac_save_LIBS"
42657 if test "x$no_sdl" = x
; then
42658 echo "$as_me:$LINENO: result: yes" >&5
42659 echo "${ECHO_T}yes" >&6
42661 EXTRALIBS_SDL
="$SDL_LIBS"
42662 CFLAGS
="$SDL_CFLAGS $CFLAGS"
42663 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42664 cat >>confdefs.h
<<\_ACEOF
42665 #define wxUSE_LIBSDL 1
42670 echo "$as_me:$LINENO: result: no" >&5
42671 echo "${ECHO_T}no" >&6
42672 if test "$SDL_CONFIG" = "no" ; then
42673 echo "*** The sdl-config script installed by SDL could not be found"
42674 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42675 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42676 echo "*** full path to sdl-config."
42678 if test -f conf.sdltest
; then
42681 echo "*** Could not run SDL test program, checking why..."
42682 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42683 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42684 LIBS
="$LIBS $SDL_LIBS"
42685 cat >conftest.
$ac_ext <<_ACEOF
42688 cat confdefs.h
>>conftest.
$ac_ext
42689 cat >>conftest.
$ac_ext <<_ACEOF
42690 /* end confdefs.h. */
42695 int main(int argc, char *argv[])
42698 #define main K_and_R_C_main
42708 rm -f conftest.
$ac_objext conftest
$ac_exeext
42709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42710 (eval $ac_link) 2>conftest.er1
42712 grep -v '^ *+' conftest.er1
>conftest.err
42714 cat conftest.err
>&5
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); } &&
42717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42719 (eval $ac_try) 2>&5
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); }; } &&
42723 { ac_try
='test -s conftest$ac_exeext'
42724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42725 (eval $ac_try) 2>&5
42727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42728 (exit $ac_status); }; }; then
42729 echo "*** The test program compiled, but did not run. This usually means"
42730 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42731 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42732 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42733 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42734 echo "*** is required on your system"
42736 echo "*** If you have an old version installed, it is best to remove it, although"
42737 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42739 echo "$as_me: failed program was:" >&5
42740 sed 's/^/| /' conftest.
$ac_ext >&5
42742 echo "*** The test program failed to compile or link. See the file config.log for the"
42743 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42744 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42745 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42747 rm -f conftest.err conftest.
$ac_objext \
42748 conftest
$ac_exeext conftest.
$ac_ext
42749 CFLAGS
="$ac_save_CFLAGS"
42750 CXXFLAGS
="$ac_save_CXXFLAGS"
42751 LIBS
="$ac_save_LIBS"
42762 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42767 if test "$wxUSE_MGL" = 1; then
42768 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42769 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42775 if test "$wxUSE_SOUND" = "yes"; then
42776 cat >>confdefs.h
<<\_ACEOF
42777 #define wxUSE_SOUND 1
42780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42783 if test "$WXGTK20" = 1; then
42786 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42787 if test -n "$ac_tool_prefix"; then
42788 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42789 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42790 echo "$as_me:$LINENO: checking for $ac_word" >&5
42791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42792 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42793 echo $ECHO_N "(cached) $ECHO_C" >&6
42795 case $PKG_CONFIG in
42797 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42801 for as_dir
in $PATH
42804 test -z "$as_dir" && as_dir
=.
42805 for ac_exec_ext
in '' $ac_executable_extensions; do
42806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42807 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42817 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42819 if test -n "$PKG_CONFIG"; then
42820 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42821 echo "${ECHO_T}$PKG_CONFIG" >&6
42823 echo "$as_me:$LINENO: result: no" >&5
42824 echo "${ECHO_T}no" >&6
42828 if test -z "$ac_cv_path_PKG_CONFIG"; then
42829 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42830 # Extract the first word of "pkg-config", so it can be a program name with args.
42831 set dummy pkg
-config; ac_word
=$2
42832 echo "$as_me:$LINENO: checking for $ac_word" >&5
42833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42834 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42835 echo $ECHO_N "(cached) $ECHO_C" >&6
42837 case $ac_pt_PKG_CONFIG in
42839 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42843 for as_dir
in $PATH
42846 test -z "$as_dir" && as_dir
=.
42847 for ac_exec_ext
in '' $ac_executable_extensions; do
42848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42849 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42859 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42861 if test -n "$ac_pt_PKG_CONFIG"; then
42862 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42863 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
42865 echo "$as_me:$LINENO: result: no" >&5
42866 echo "${ECHO_T}no" >&6
42869 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42871 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42875 if test -n "$PKG_CONFIG"; then
42876 _pkg_min_version
=0.9.0
42877 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42878 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
42879 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42880 echo "$as_me:$LINENO: result: yes" >&5
42881 echo "${ECHO_T}yes" >&6
42883 echo "$as_me:$LINENO: result: no" >&5
42884 echo "${ECHO_T}no" >&6
42890 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42891 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42895 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42896 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42898 if test -n "$PKG_CONFIG"; then
42899 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42900 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42902 if test -n "$PKG_CONFIG" && \
42903 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42904 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); }; then
42908 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42916 if test -n "$PKG_CONFIG"; then
42917 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42918 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42920 if test -n "$PKG_CONFIG" && \
42921 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42922 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42925 (exit $ac_status); }; then
42926 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42937 if test $pkg_failed = yes; then
42939 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42940 _pkg_short_errors_supported
=yes
42942 _pkg_short_errors_supported
=no
42944 if test $_pkg_short_errors_supported = yes; then
42945 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42947 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42949 # Put the nasty error message in config.log where it belongs
42950 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42953 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42954 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42955 wxUSE_LIBGNOMEPRINT
="no"
42958 elif test $pkg_failed = untried
; then
42960 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42961 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42962 wxUSE_LIBGNOMEPRINT
="no"
42966 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42967 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42968 echo "$as_me:$LINENO: result: yes" >&5
42969 echo "${ECHO_T}yes" >&6
42971 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42972 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42973 cat >>confdefs.h
<<\_ACEOF
42974 #define wxUSE_LIBGNOMEPRINT 1
42982 if test "$wxUSE_MIMETYPE" = "yes" ; then
42983 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42987 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42988 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42990 if test -n "$PKG_CONFIG"; then
42991 if test -n "$GNOMEVFS_CFLAGS"; then
42992 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42994 if test -n "$PKG_CONFIG" && \
42995 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42996 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42999 (exit $ac_status); }; then
43000 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43008 if test -n "$PKG_CONFIG"; then
43009 if test -n "$GNOMEVFS_LIBS"; then
43010 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43012 if test -n "$PKG_CONFIG" && \
43013 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43014 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); }; then
43018 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43029 if test $pkg_failed = yes; then
43031 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43032 _pkg_short_errors_supported
=yes
43034 _pkg_short_errors_supported
=no
43036 if test $_pkg_short_errors_supported = yes; then
43037 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43039 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43041 # Put the nasty error message in config.log where it belongs
43042 echo "$GNOMEVFS_PKG_ERRORS" >&5
43045 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43046 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43047 wxUSE_LIBGNOMEVFS
="no"
43050 elif test $pkg_failed = untried
; then
43052 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43053 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43054 wxUSE_LIBGNOMEVFS
="no"
43058 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43059 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43060 echo "$as_me:$LINENO: result: yes" >&5
43061 echo "${ECHO_T}yes" >&6
43063 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43064 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43065 cat >>confdefs.h
<<\_ACEOF
43066 #define wxUSE_LIBGNOMEVFS 1
43074 if test "$wxUSE_LIBHILDON" = "yes" ; then
43077 echo "$as_me:$LINENO: checking for HILDON" >&5
43078 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43080 if test -n "$PKG_CONFIG"; then
43081 if test -n "$HILDON_CFLAGS"; then
43082 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43084 if test -n "$PKG_CONFIG" && \
43085 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43086 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43089 (exit $ac_status); }; then
43090 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43098 if test -n "$PKG_CONFIG"; then
43099 if test -n "$HILDON_LIBS"; then
43100 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43102 if test -n "$PKG_CONFIG" && \
43103 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43104 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); }; then
43108 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43119 if test $pkg_failed = yes; then
43121 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43122 _pkg_short_errors_supported
=yes
43124 _pkg_short_errors_supported
=no
43126 if test $_pkg_short_errors_supported = yes; then
43127 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43129 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43131 # Put the nasty error message in config.log where it belongs
43132 echo "$HILDON_PKG_ERRORS" >&5
43135 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43136 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43137 wxUSE_LIBHILDON
="no"
43140 elif test $pkg_failed = untried
; then
43142 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43143 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43144 wxUSE_LIBHILDON
="no"
43148 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43149 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43150 echo "$as_me:$LINENO: result: yes" >&5
43151 echo "${ECHO_T}yes" >&6
43153 EXTRALIBS_HILDON
="$HILDON_LIBS"
43154 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43155 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43156 cat >>confdefs.h
<<\_ACEOF
43157 #define wxUSE_LIBHILDON 1
43165 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43166 cat >>confdefs.h
<<\_ACEOF
43167 #define wxUSE_CMDLINE_PARSER 1
43172 if test "$wxUSE_STOPWATCH" = "yes"; then
43173 cat >>confdefs.h
<<\_ACEOF
43174 #define wxUSE_STOPWATCH 1
43179 if test "$wxUSE_DATETIME" = "yes"; then
43180 cat >>confdefs.h
<<\_ACEOF
43181 #define wxUSE_DATETIME 1
43186 if test "$wxUSE_FILE" = "yes"; then
43187 cat >>confdefs.h
<<\_ACEOF
43188 #define wxUSE_FILE 1
43193 if test "$wxUSE_FFILE" = "yes"; then
43194 cat >>confdefs.h
<<\_ACEOF
43195 #define wxUSE_FFILE 1
43200 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43201 if test "$wxUSE_STREAMS" != yes; then
43202 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43203 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43204 wxUSE_ARCHIVE_STREAMS
=no
43206 cat >>confdefs.h
<<\_ACEOF
43207 #define wxUSE_ARCHIVE_STREAMS 1
43213 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43214 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43215 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43216 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43217 elif test "$wxUSE_ZLIB" = "no"; then
43218 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43219 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43221 cat >>confdefs.h
<<\_ACEOF
43222 #define wxUSE_ZIPSTREAM 1
43228 if test "$wxUSE_TARSTREAM" = "yes"; then
43229 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43230 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43231 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43233 cat >>confdefs.h
<<\_ACEOF
43234 #define wxUSE_TARSTREAM 1
43240 if test "$wxUSE_FILESYSTEM" = "yes"; then
43241 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43242 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43243 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43244 wxUSE_FILESYSTEM
=no
43246 cat >>confdefs.h
<<\_ACEOF
43247 #define wxUSE_FILESYSTEM 1
43253 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43254 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43255 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43256 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43258 cat >>confdefs.h
<<\_ACEOF
43259 #define wxUSE_FS_ARCHIVE 1
43265 if test "$wxUSE_FS_ZIP" = "yes"; then
43266 if test "$wxUSE_FS_ARCHIVE" != yes; then
43267 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43268 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43270 cat >>confdefs.h
<<\_ACEOF
43271 #define wxUSE_FS_ZIP 1
43277 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43278 if test "$USE_UNIX" != 1; then
43279 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43280 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43281 wxUSE_ON_FATAL_EXCEPTION
=no
43283 cat >>confdefs.h
<<\_ACEOF
43284 #define wxUSE_ON_FATAL_EXCEPTION 1
43290 if test "$wxUSE_STACKWALKER" = "yes"; then
43291 cat >>confdefs.h
<<\_ACEOF
43292 #define wxUSE_STACKWALKER 1
43297 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43298 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43299 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43300 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43301 wxUSE_DEBUGREPORT
=no
43303 cat >>confdefs.h
<<\_ACEOF
43304 #define wxUSE_DEBUGREPORT 1
43307 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43313 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43314 cat >>confdefs.h
<<\_ACEOF
43315 #define wxUSE_SNGLINST_CHECKER 1
43320 if test "$wxUSE_BUSYINFO" = "yes"; then
43321 cat >>confdefs.h
<<\_ACEOF
43322 #define wxUSE_BUSYINFO 1
43327 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43328 cat >>confdefs.h
<<\_ACEOF
43329 #define wxUSE_STD_IOSTREAM 1
43334 if test "$wxUSE_STD_STRING" = "yes"; then
43335 cat >>confdefs.h
<<\_ACEOF
43336 #define wxUSE_STD_STRING 1
43341 if test "$wxUSE_STDPATHS" = "yes"; then
43342 cat >>confdefs.h
<<\_ACEOF
43343 #define wxUSE_STDPATHS 1
43348 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43349 cat >>confdefs.h
<<\_ACEOF
43350 #define wxUSE_TEXTBUFFER 1
43355 if test "$wxUSE_TEXTFILE" = "yes"; then
43356 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43357 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43358 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43360 cat >>confdefs.h
<<\_ACEOF
43361 #define wxUSE_TEXTFILE 1
43367 if test "$wxUSE_CONFIG" = "yes" ; then
43368 if test "$wxUSE_TEXTFILE" != "yes"; then
43369 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43370 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43372 cat >>confdefs.h
<<\_ACEOF
43373 #define wxUSE_CONFIG 1
43376 cat >>confdefs.h
<<\_ACEOF
43377 #define wxUSE_CONFIG_NATIVE 1
43380 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43384 if test "$wxUSE_INTL" = "yes" ; then
43385 if test "$wxUSE_FILE" != "yes"; then
43386 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43387 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43389 cat >>confdefs.h
<<\_ACEOF
43390 #define wxUSE_INTL 1
43393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43394 GUIDIST
="$GUIDIST INTL_DIST"
43398 if test "$wxUSE_LOG" = "yes"; then
43399 cat >>confdefs.h
<<\_ACEOF
43400 #define wxUSE_LOG 1
43404 if test "$wxUSE_LOGGUI" = "yes"; then
43405 cat >>confdefs.h
<<\_ACEOF
43406 #define wxUSE_LOGGUI 1
43411 if test "$wxUSE_LOGWINDOW" = "yes"; then
43412 cat >>confdefs.h
<<\_ACEOF
43413 #define wxUSE_LOGWINDOW 1
43418 if test "$wxUSE_LOGDIALOG" = "yes"; then
43419 cat >>confdefs.h
<<\_ACEOF
43420 #define wxUSE_LOG_DIALOG 1
43425 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43428 if test "$wxUSE_LONGLONG" = "yes"; then
43429 cat >>confdefs.h
<<\_ACEOF
43430 #define wxUSE_LONGLONG 1
43435 if test "$wxUSE_GEOMETRY" = "yes"; then
43436 cat >>confdefs.h
<<\_ACEOF
43437 #define wxUSE_GEOMETRY 1
43442 if test "$wxUSE_STREAMS" = "yes" ; then
43443 cat >>confdefs.h
<<\_ACEOF
43444 #define wxUSE_STREAMS 1
43449 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43450 cat >>confdefs.h
<<\_ACEOF
43451 #define wxUSE_PRINTF_POS_PARAMS 1
43458 if test "$wxUSE_DATETIME" = "yes"; then
43460 for ac_func
in strptime
43462 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43463 echo "$as_me:$LINENO: checking for $ac_func" >&5
43464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43465 if eval "test \"\${$as_ac_var+set}\" = set"; then
43466 echo $ECHO_N "(cached) $ECHO_C" >&6
43468 cat >conftest.
$ac_ext <<_ACEOF
43471 cat confdefs.h
>>conftest.
$ac_ext
43472 cat >>conftest.
$ac_ext <<_ACEOF
43473 /* end confdefs.h. */
43474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43476 #define $ac_func innocuous_$ac_func
43478 /* System header to define __stub macros and hopefully few prototypes,
43479 which can conflict with char $ac_func (); below.
43480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43481 <limits.h> exists even on freestanding compilers. */
43484 # include <limits.h>
43486 # include <assert.h>
43491 /* Override any gcc2 internal prototype to avoid an error. */
43496 /* We use char because int might match the return type of a gcc2
43497 builtin and then its argument prototype would still apply. */
43499 /* The GNU C library defines this for functions which it implements
43500 to always fail with ENOSYS. Some functions are actually named
43501 something starting with __ and the normal name is an alias. */
43502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43505 char (*f) () = $ac_func;
43514 return f != $ac_func;
43519 rm -f conftest.
$ac_objext conftest
$ac_exeext
43520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43521 (eval $ac_link) 2>conftest.er1
43523 grep -v '^ *+' conftest.er1
>conftest.err
43525 cat conftest.err
>&5
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); } &&
43528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43530 (eval $ac_try) 2>&5
43532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43533 (exit $ac_status); }; } &&
43534 { ac_try
='test -s conftest$ac_exeext'
43535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43536 (eval $ac_try) 2>&5
43538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43539 (exit $ac_status); }; }; then
43540 eval "$as_ac_var=yes"
43542 echo "$as_me: failed program was:" >&5
43543 sed 's/^/| /' conftest.
$ac_ext >&5
43545 eval "$as_ac_var=no"
43547 rm -f conftest.err conftest.
$ac_objext \
43548 conftest
$ac_exeext conftest.
$ac_ext
43550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43552 if test `eval echo '${'$as_ac_var'}'` = yes; then
43553 cat >>confdefs.h
<<_ACEOF
43554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43560 if test "$ac_cv_func_strptime" = "yes"; then
43561 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43562 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43563 if test "${wx_cv_func_strptime_decl+set}" = set; then
43564 echo $ECHO_N "(cached) $ECHO_C" >&6
43568 ac_cpp
='$CXXCPP $CPPFLAGS'
43569 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43570 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43571 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43573 cat >conftest.
$ac_ext <<_ACEOF
43576 cat confdefs.h
>>conftest.
$ac_ext
43577 cat >>conftest.
$ac_ext <<_ACEOF
43578 /* end confdefs.h. */
43587 strptime("foo", "bar", &t);
43593 rm -f conftest.
$ac_objext
43594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43595 (eval $ac_compile) 2>conftest.er1
43597 grep -v '^ *+' conftest.er1
>conftest.err
43599 cat conftest.err
>&5
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); } &&
43602 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43604 (eval $ac_try) 2>&5
43606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43607 (exit $ac_status); }; } &&
43608 { ac_try
='test -s conftest.$ac_objext'
43609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43610 (eval $ac_try) 2>&5
43612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43613 (exit $ac_status); }; }; then
43614 wx_cv_func_strptime_decl
=yes
43616 echo "$as_me: failed program was:" >&5
43617 sed 's/^/| /' conftest.
$ac_ext >&5
43619 wx_cv_func_strptime_decl
=no
43622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43624 ac_cpp
='$CPP $CPPFLAGS'
43625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43632 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43633 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43635 if test "$wx_cv_func_strptime_decl" = "yes"; then
43636 cat >>confdefs.h
<<\_ACEOF
43637 #define HAVE_STRPTIME_DECL 1
43642 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43643 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43644 if test "${wx_cv_var_timezone+set}" = set; then
43645 echo $ECHO_N "(cached) $ECHO_C" >&6
43649 ac_cpp
='$CXXCPP $CPPFLAGS'
43650 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43651 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43652 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43654 cat >conftest.
$ac_ext <<_ACEOF
43657 cat confdefs.h
>>conftest.
$ac_ext
43658 cat >>conftest.
$ac_ext <<_ACEOF
43659 /* end confdefs.h. */
43674 rm -f conftest.
$ac_objext
43675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43676 (eval $ac_compile) 2>conftest.er1
43678 grep -v '^ *+' conftest.er1
>conftest.err
43680 cat conftest.err
>&5
43681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43682 (exit $ac_status); } &&
43683 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43685 (eval $ac_try) 2>&5
43687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43688 (exit $ac_status); }; } &&
43689 { ac_try
='test -s conftest.$ac_objext'
43690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43691 (eval $ac_try) 2>&5
43693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43694 (exit $ac_status); }; }; then
43696 wx_cv_var_timezone
=timezone
43699 echo "$as_me: failed program was:" >&5
43700 sed 's/^/| /' conftest.
$ac_ext >&5
43703 cat >conftest.
$ac_ext <<_ACEOF
43706 cat confdefs.h
>>conftest.
$ac_ext
43707 cat >>conftest.
$ac_ext <<_ACEOF
43708 /* end confdefs.h. */
43723 rm -f conftest.
$ac_objext
43724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43725 (eval $ac_compile) 2>conftest.er1
43727 grep -v '^ *+' conftest.er1
>conftest.err
43729 cat conftest.err
>&5
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); } &&
43732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43734 (eval $ac_try) 2>&5
43736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43737 (exit $ac_status); }; } &&
43738 { ac_try
='test -s conftest.$ac_objext'
43739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43740 (eval $ac_try) 2>&5
43742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43743 (exit $ac_status); }; }; then
43745 wx_cv_var_timezone
=_timezone
43748 echo "$as_me: failed program was:" >&5
43749 sed 's/^/| /' conftest.
$ac_ext >&5
43752 cat >conftest.
$ac_ext <<_ACEOF
43755 cat confdefs.h
>>conftest.
$ac_ext
43756 cat >>conftest.
$ac_ext <<_ACEOF
43757 /* end confdefs.h. */
43772 rm -f conftest.
$ac_objext
43773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43774 (eval $ac_compile) 2>conftest.er1
43776 grep -v '^ *+' conftest.er1
>conftest.err
43778 cat conftest.err
>&5
43779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43780 (exit $ac_status); } &&
43781 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43783 (eval $ac_try) 2>&5
43785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43786 (exit $ac_status); }; } &&
43787 { ac_try
='test -s conftest.$ac_objext'
43788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43789 (eval $ac_try) 2>&5
43791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43792 (exit $ac_status); }; }; then
43794 wx_cv_var_timezone
=__timezone
43797 echo "$as_me: failed program was:" >&5
43798 sed 's/^/| /' conftest.
$ac_ext >&5
43801 if test "$USE_DOS" = 0 ; then
43802 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43803 echo "$as_me: WARNING: no timezone variable" >&2;}
43808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43818 ac_cpp
='$CPP $CPPFLAGS'
43819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43826 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43827 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43829 if test "x$wx_cv_var_timezone" != x
; then
43830 cat >>confdefs.h
<<_ACEOF
43831 #define WX_TIMEZONE $wx_cv_var_timezone
43837 for ac_func
in localtime
43839 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43840 echo "$as_me:$LINENO: checking for $ac_func" >&5
43841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43842 if eval "test \"\${$as_ac_var+set}\" = set"; then
43843 echo $ECHO_N "(cached) $ECHO_C" >&6
43845 cat >conftest.
$ac_ext <<_ACEOF
43848 cat confdefs.h
>>conftest.
$ac_ext
43849 cat >>conftest.
$ac_ext <<_ACEOF
43850 /* end confdefs.h. */
43851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43853 #define $ac_func innocuous_$ac_func
43855 /* System header to define __stub macros and hopefully few prototypes,
43856 which can conflict with char $ac_func (); below.
43857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43858 <limits.h> exists even on freestanding compilers. */
43861 # include <limits.h>
43863 # include <assert.h>
43868 /* Override any gcc2 internal prototype to avoid an error. */
43873 /* We use char because int might match the return type of a gcc2
43874 builtin and then its argument prototype would still apply. */
43876 /* The GNU C library defines this for functions which it implements
43877 to always fail with ENOSYS. Some functions are actually named
43878 something starting with __ and the normal name is an alias. */
43879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43882 char (*f) () = $ac_func;
43891 return f != $ac_func;
43896 rm -f conftest.
$ac_objext conftest
$ac_exeext
43897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43898 (eval $ac_link) 2>conftest.er1
43900 grep -v '^ *+' conftest.er1
>conftest.err
43902 cat conftest.err
>&5
43903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43904 (exit $ac_status); } &&
43905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43907 (eval $ac_try) 2>&5
43909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43910 (exit $ac_status); }; } &&
43911 { ac_try
='test -s conftest$ac_exeext'
43912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43913 (eval $ac_try) 2>&5
43915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43916 (exit $ac_status); }; }; then
43917 eval "$as_ac_var=yes"
43919 echo "$as_me: failed program was:" >&5
43920 sed 's/^/| /' conftest.
$ac_ext >&5
43922 eval "$as_ac_var=no"
43924 rm -f conftest.err conftest.
$ac_objext \
43925 conftest
$ac_exeext conftest.
$ac_ext
43927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43929 if test `eval echo '${'$as_ac_var'}'` = yes; then
43930 cat >>confdefs.h
<<_ACEOF
43931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43938 if test "$ac_cv_func_localtime" = "yes"; then
43939 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43940 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43941 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43942 echo $ECHO_N "(cached) $ECHO_C" >&6
43945 cat >conftest.
$ac_ext <<_ACEOF
43948 cat confdefs.h
>>conftest.
$ac_ext
43949 cat >>conftest.
$ac_ext <<_ACEOF
43950 /* end confdefs.h. */
43965 rm -f conftest.
$ac_objext
43966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43967 (eval $ac_compile) 2>conftest.er1
43969 grep -v '^ *+' conftest.er1
>conftest.err
43971 cat conftest.err
>&5
43972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43973 (exit $ac_status); } &&
43974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43976 (eval $ac_try) 2>&5
43978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43979 (exit $ac_status); }; } &&
43980 { ac_try
='test -s conftest.$ac_objext'
43981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43982 (eval $ac_try) 2>&5
43984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985 (exit $ac_status); }; }; then
43987 wx_cv_struct_tm_has_gmtoff
=yes
43990 echo "$as_me: failed program was:" >&5
43991 sed 's/^/| /' conftest.
$ac_ext >&5
43993 wx_cv_struct_tm_has_gmtoff
=no
43996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43999 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44000 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44003 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44004 cat >>confdefs.h
<<\_ACEOF
44005 #define WX_GMTOFF_IN_TM 1
44012 for ac_func
in gettimeofday ftime
44014 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44015 echo "$as_me:$LINENO: checking for $ac_func" >&5
44016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44017 if eval "test \"\${$as_ac_var+set}\" = set"; then
44018 echo $ECHO_N "(cached) $ECHO_C" >&6
44020 cat >conftest.
$ac_ext <<_ACEOF
44023 cat confdefs.h
>>conftest.
$ac_ext
44024 cat >>conftest.
$ac_ext <<_ACEOF
44025 /* end confdefs.h. */
44026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44028 #define $ac_func innocuous_$ac_func
44030 /* System header to define __stub macros and hopefully few prototypes,
44031 which can conflict with char $ac_func (); below.
44032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44033 <limits.h> exists even on freestanding compilers. */
44036 # include <limits.h>
44038 # include <assert.h>
44043 /* Override any gcc2 internal prototype to avoid an error. */
44048 /* We use char because int might match the return type of a gcc2
44049 builtin and then its argument prototype would still apply. */
44051 /* The GNU C library defines this for functions which it implements
44052 to always fail with ENOSYS. Some functions are actually named
44053 something starting with __ and the normal name is an alias. */
44054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44057 char (*f) () = $ac_func;
44066 return f != $ac_func;
44071 rm -f conftest.
$ac_objext conftest
$ac_exeext
44072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44073 (eval $ac_link) 2>conftest.er1
44075 grep -v '^ *+' conftest.er1
>conftest.err
44077 cat conftest.err
>&5
44078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44079 (exit $ac_status); } &&
44080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44082 (eval $ac_try) 2>&5
44084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44085 (exit $ac_status); }; } &&
44086 { ac_try
='test -s conftest$ac_exeext'
44087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44088 (eval $ac_try) 2>&5
44090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44091 (exit $ac_status); }; }; then
44092 eval "$as_ac_var=yes"
44094 echo "$as_me: failed program was:" >&5
44095 sed 's/^/| /' conftest.
$ac_ext >&5
44097 eval "$as_ac_var=no"
44099 rm -f conftest.err conftest.
$ac_objext \
44100 conftest
$ac_exeext conftest.
$ac_ext
44102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44104 if test `eval echo '${'$as_ac_var'}'` = yes; then
44105 cat >>confdefs.h
<<_ACEOF
44106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44113 if test "$ac_cv_func_gettimeofday" = "yes"; then
44114 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44115 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44116 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44117 echo $ECHO_N "(cached) $ECHO_C" >&6
44120 cat >conftest.
$ac_ext <<_ACEOF
44123 cat confdefs.h
>>conftest.
$ac_ext
44124 cat >>conftest.
$ac_ext <<_ACEOF
44125 /* end confdefs.h. */
44127 #include <sys/time.h>
44128 #include <unistd.h>
44135 gettimeofday(&tv, NULL);
44141 rm -f conftest.
$ac_objext
44142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44143 (eval $ac_compile) 2>conftest.er1
44145 grep -v '^ *+' conftest.er1
>conftest.err
44147 cat conftest.err
>&5
44148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44149 (exit $ac_status); } &&
44150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44152 (eval $ac_try) 2>&5
44154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44155 (exit $ac_status); }; } &&
44156 { ac_try
='test -s conftest.$ac_objext'
44157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44158 (eval $ac_try) 2>&5
44160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44161 (exit $ac_status); }; }; then
44162 wx_cv_func_gettimeofday_has_2_args
=yes
44164 echo "$as_me: failed program was:" >&5
44165 sed 's/^/| /' conftest.
$ac_ext >&5
44167 cat >conftest.
$ac_ext <<_ACEOF
44170 cat confdefs.h
>>conftest.
$ac_ext
44171 cat >>conftest.
$ac_ext <<_ACEOF
44172 /* end confdefs.h. */
44174 #include <sys/time.h>
44175 #include <unistd.h>
44188 rm -f conftest.
$ac_objext
44189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44190 (eval $ac_compile) 2>conftest.er1
44192 grep -v '^ *+' conftest.er1
>conftest.err
44194 cat conftest.err
>&5
44195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44196 (exit $ac_status); } &&
44197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44199 (eval $ac_try) 2>&5
44201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44202 (exit $ac_status); }; } &&
44203 { ac_try
='test -s conftest.$ac_objext'
44204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44205 (eval $ac_try) 2>&5
44207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44208 (exit $ac_status); }; }; then
44209 wx_cv_func_gettimeofday_has_2_args
=no
44211 echo "$as_me: failed program was:" >&5
44212 sed 's/^/| /' conftest.
$ac_ext >&5
44215 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44216 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44217 wx_cv_func_gettimeofday_has_2_args
=unknown
44221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44227 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44228 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44230 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44231 cat >>confdefs.h
<<\_ACEOF
44232 #define WX_GETTIMEOFDAY_NO_TZ 1
44238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44242 if test "$wxUSE_SOCKETS" = "yes"; then
44243 if test "$wxUSE_MGL" = "1"; then
44244 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44245 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44250 if test "$wxUSE_SOCKETS" = "yes"; then
44251 if test "$TOOLKIT" != "MSW"; then
44252 echo "$as_me:$LINENO: checking for socket" >&5
44253 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44254 if test "${ac_cv_func_socket+set}" = set; then
44255 echo $ECHO_N "(cached) $ECHO_C" >&6
44257 cat >conftest.
$ac_ext <<_ACEOF
44260 cat confdefs.h
>>conftest.
$ac_ext
44261 cat >>conftest.
$ac_ext <<_ACEOF
44262 /* end confdefs.h. */
44263 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44265 #define socket innocuous_socket
44267 /* System header to define __stub macros and hopefully few prototypes,
44268 which can conflict with char socket (); below.
44269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44270 <limits.h> exists even on freestanding compilers. */
44273 # include <limits.h>
44275 # include <assert.h>
44280 /* Override any gcc2 internal prototype to avoid an error. */
44285 /* We use char because int might match the return type of a gcc2
44286 builtin and then its argument prototype would still apply. */
44288 /* The GNU C library defines this for functions which it implements
44289 to always fail with ENOSYS. Some functions are actually named
44290 something starting with __ and the normal name is an alias. */
44291 #if defined (__stub_socket) || defined (__stub___socket)
44294 char (*f) () = socket;
44303 return f != socket;
44308 rm -f conftest.
$ac_objext conftest
$ac_exeext
44309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44310 (eval $ac_link) 2>conftest.er1
44312 grep -v '^ *+' conftest.er1
>conftest.err
44314 cat conftest.err
>&5
44315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44316 (exit $ac_status); } &&
44317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44319 (eval $ac_try) 2>&5
44321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44322 (exit $ac_status); }; } &&
44323 { ac_try
='test -s conftest$ac_exeext'
44324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44325 (eval $ac_try) 2>&5
44327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44328 (exit $ac_status); }; }; then
44329 ac_cv_func_socket
=yes
44331 echo "$as_me: failed program was:" >&5
44332 sed 's/^/| /' conftest.
$ac_ext >&5
44334 ac_cv_func_socket
=no
44336 rm -f conftest.err conftest.
$ac_objext \
44337 conftest
$ac_exeext conftest.
$ac_ext
44339 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44340 echo "${ECHO_T}$ac_cv_func_socket" >&6
44341 if test $ac_cv_func_socket = yes; then
44345 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44346 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44347 if test "${ac_cv_lib_socket_socket+set}" = set; then
44348 echo $ECHO_N "(cached) $ECHO_C" >&6
44350 ac_check_lib_save_LIBS
=$LIBS
44351 LIBS
="-lsocket $LIBS"
44352 cat >conftest.
$ac_ext <<_ACEOF
44355 cat confdefs.h
>>conftest.
$ac_ext
44356 cat >>conftest.
$ac_ext <<_ACEOF
44357 /* end confdefs.h. */
44359 /* Override any gcc2 internal prototype to avoid an error. */
44363 /* We use char because int might match the return type of a gcc2
44364 builtin and then its argument prototype would still apply. */
44374 rm -f conftest.
$ac_objext conftest
$ac_exeext
44375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44376 (eval $ac_link) 2>conftest.er1
44378 grep -v '^ *+' conftest.er1
>conftest.err
44380 cat conftest.err
>&5
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); } &&
44383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44385 (eval $ac_try) 2>&5
44387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44388 (exit $ac_status); }; } &&
44389 { ac_try
='test -s conftest$ac_exeext'
44390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44391 (eval $ac_try) 2>&5
44393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44394 (exit $ac_status); }; }; then
44395 ac_cv_lib_socket_socket
=yes
44397 echo "$as_me: failed program was:" >&5
44398 sed 's/^/| /' conftest.
$ac_ext >&5
44400 ac_cv_lib_socket_socket
=no
44402 rm -f conftest.err conftest.
$ac_objext \
44403 conftest
$ac_exeext conftest.
$ac_ext
44404 LIBS
=$ac_check_lib_save_LIBS
44406 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44407 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44408 if test $ac_cv_lib_socket_socket = yes; then
44409 if test "$INET_LINK" != " -lsocket"; then
44410 INET_LINK
="$INET_LINK -lsocket"
44414 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44415 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44428 if test "$wxUSE_SOCKETS" = "yes" ; then
44429 if test "$TOOLKIT" != "MSW"; then
44430 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44431 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44432 if test "${wx_cv_type_getsockname3+set}" = set; then
44433 echo $ECHO_N "(cached) $ECHO_C" >&6
44437 ac_cpp
='$CXXCPP $CPPFLAGS'
44438 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44439 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44440 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44442 cat >conftest.
$ac_ext <<_ACEOF
44445 cat confdefs.h
>>conftest.
$ac_ext
44446 cat >>conftest.
$ac_ext <<_ACEOF
44447 /* end confdefs.h. */
44449 #include <sys/types.h>
44450 #include <sys/socket.h>
44457 getsockname(0, 0, &len);
44463 rm -f conftest.
$ac_objext
44464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44465 (eval $ac_compile) 2>conftest.er1
44467 grep -v '^ *+' conftest.er1
>conftest.err
44469 cat conftest.err
>&5
44470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44471 (exit $ac_status); } &&
44472 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44474 (eval $ac_try) 2>&5
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); }; } &&
44478 { ac_try
='test -s conftest.$ac_objext'
44479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44480 (eval $ac_try) 2>&5
44482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44483 (exit $ac_status); }; }; then
44484 wx_cv_type_getsockname3
=socklen_t
44486 echo "$as_me: failed program was:" >&5
44487 sed 's/^/| /' conftest.
$ac_ext >&5
44490 CFLAGS_OLD
="$CFLAGS"
44491 if test "$GCC" = yes ; then
44492 CFLAGS
="-Werror $CFLAGS"
44495 cat >conftest.
$ac_ext <<_ACEOF
44498 cat confdefs.h
>>conftest.
$ac_ext
44499 cat >>conftest.
$ac_ext <<_ACEOF
44500 /* end confdefs.h. */
44502 #include <sys/types.h>
44503 #include <sys/socket.h>
44510 getsockname(0, 0, &len);
44516 rm -f conftest.
$ac_objext
44517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44518 (eval $ac_compile) 2>conftest.er1
44520 grep -v '^ *+' conftest.er1
>conftest.err
44522 cat conftest.err
>&5
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); } &&
44525 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44527 (eval $ac_try) 2>&5
44529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44530 (exit $ac_status); }; } &&
44531 { ac_try
='test -s conftest.$ac_objext'
44532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44533 (eval $ac_try) 2>&5
44535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44536 (exit $ac_status); }; }; then
44537 wx_cv_type_getsockname3
=size_t
44539 echo "$as_me: failed program was:" >&5
44540 sed 's/^/| /' conftest.
$ac_ext >&5
44542 cat >conftest.
$ac_ext <<_ACEOF
44545 cat confdefs.h
>>conftest.
$ac_ext
44546 cat >>conftest.
$ac_ext <<_ACEOF
44547 /* end confdefs.h. */
44549 #include <sys/types.h>
44550 #include <sys/socket.h>
44557 getsockname(0, 0, &len);
44563 rm -f conftest.
$ac_objext
44564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44565 (eval $ac_compile) 2>conftest.er1
44567 grep -v '^ *+' conftest.er1
>conftest.err
44569 cat conftest.err
>&5
44570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44571 (exit $ac_status); } &&
44572 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44574 (eval $ac_try) 2>&5
44576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44577 (exit $ac_status); }; } &&
44578 { ac_try
='test -s conftest.$ac_objext'
44579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44580 (eval $ac_try) 2>&5
44582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44583 (exit $ac_status); }; }; then
44584 wx_cv_type_getsockname3
=int
44586 echo "$as_me: failed program was:" >&5
44587 sed 's/^/| /' conftest.
$ac_ext >&5
44589 wx_cv_type_getsockname3
=unknown
44592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44597 CFLAGS
="$CFLAGS_OLD"
44601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44603 ac_cpp
='$CPP $CPPFLAGS'
44604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44610 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44611 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44613 if test "$wx_cv_type_getsockname3" = "unknown"; then
44615 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44616 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44618 cat >>confdefs.h
<<_ACEOF
44619 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44623 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44624 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44625 if test "${wx_cv_type_getsockopt5+set}" = set; then
44626 echo $ECHO_N "(cached) $ECHO_C" >&6
44629 cat >conftest.
$ac_ext <<_ACEOF
44632 cat confdefs.h
>>conftest.
$ac_ext
44633 cat >>conftest.
$ac_ext <<_ACEOF
44634 /* end confdefs.h. */
44636 #include <sys/types.h>
44637 #include <sys/socket.h>
44644 getsockopt(0, 0, 0, 0, &len);
44650 rm -f conftest.
$ac_objext
44651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44652 (eval $ac_compile) 2>conftest.er1
44654 grep -v '^ *+' conftest.er1
>conftest.err
44656 cat conftest.err
>&5
44657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44658 (exit $ac_status); } &&
44659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44661 (eval $ac_try) 2>&5
44663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44664 (exit $ac_status); }; } &&
44665 { ac_try
='test -s conftest.$ac_objext'
44666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44667 (eval $ac_try) 2>&5
44669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44670 (exit $ac_status); }; }; then
44671 wx_cv_type_getsockopt5
=socklen_t
44673 echo "$as_me: failed program was:" >&5
44674 sed 's/^/| /' conftest.
$ac_ext >&5
44678 ac_cpp
='$CXXCPP $CPPFLAGS'
44679 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44680 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44681 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44683 cat >conftest.
$ac_ext <<_ACEOF
44686 cat confdefs.h
>>conftest.
$ac_ext
44687 cat >>conftest.
$ac_ext <<_ACEOF
44688 /* end confdefs.h. */
44690 #include <sys/types.h>
44691 #include <sys/socket.h>
44698 getsockopt(0, 0, 0, 0, &len);
44704 rm -f conftest.
$ac_objext
44705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44706 (eval $ac_compile) 2>conftest.er1
44708 grep -v '^ *+' conftest.er1
>conftest.err
44710 cat conftest.err
>&5
44711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44712 (exit $ac_status); } &&
44713 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44715 (eval $ac_try) 2>&5
44717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44718 (exit $ac_status); }; } &&
44719 { ac_try
='test -s conftest.$ac_objext'
44720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44721 (eval $ac_try) 2>&5
44723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44724 (exit $ac_status); }; }; then
44725 wx_cv_type_getsockopt5
=size_t
44727 echo "$as_me: failed program was:" >&5
44728 sed 's/^/| /' conftest.
$ac_ext >&5
44730 cat >conftest.
$ac_ext <<_ACEOF
44733 cat confdefs.h
>>conftest.
$ac_ext
44734 cat >>conftest.
$ac_ext <<_ACEOF
44735 /* end confdefs.h. */
44737 #include <sys/types.h>
44738 #include <sys/socket.h>
44745 getsockopt(0, 0, 0, 0, &len);
44751 rm -f conftest.
$ac_objext
44752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44753 (eval $ac_compile) 2>conftest.er1
44755 grep -v '^ *+' conftest.er1
>conftest.err
44757 cat conftest.err
>&5
44758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44759 (exit $ac_status); } &&
44760 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44762 (eval $ac_try) 2>&5
44764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44765 (exit $ac_status); }; } &&
44766 { ac_try
='test -s conftest.$ac_objext'
44767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44768 (eval $ac_try) 2>&5
44770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44771 (exit $ac_status); }; }; then
44772 wx_cv_type_getsockopt5
=int
44774 echo "$as_me: failed program was:" >&5
44775 sed 's/^/| /' conftest.
$ac_ext >&5
44777 wx_cv_type_getsockopt5
=unknown
44780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44785 ac_cpp
='$CPP $CPPFLAGS'
44786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44796 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44797 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44799 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44801 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44802 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44804 cat >>confdefs.h
<<_ACEOF
44805 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44812 if test "$wxUSE_SOCKETS" = "yes" ; then
44813 cat >>confdefs.h
<<\_ACEOF
44814 #define wxUSE_SOCKETS 1
44817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44820 if test "$wxUSE_PROTOCOL" = "yes"; then
44821 if test "$wxUSE_SOCKETS" != "yes"; then
44822 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44823 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44828 if test "$wxUSE_PROTOCOL" = "yes"; then
44829 cat >>confdefs.h
<<\_ACEOF
44830 #define wxUSE_PROTOCOL 1
44834 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44835 cat >>confdefs.h
<<\_ACEOF
44836 #define wxUSE_PROTOCOL_HTTP 1
44840 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44841 cat >>confdefs.h
<<\_ACEOF
44842 #define wxUSE_PROTOCOL_FTP 1
44846 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44847 cat >>confdefs.h
<<\_ACEOF
44848 #define wxUSE_PROTOCOL_FILE 1
44853 if test "$wxUSE_FS_INET" = "yes"; then
44854 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44855 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44860 if test "$wxUSE_URL" = "yes"; then
44861 if test "$wxUSE_PROTOCOL" != "yes"; then
44862 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44863 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44866 if test "$wxUSE_URL" = "yes"; then
44867 cat >>confdefs.h
<<\_ACEOF
44868 #define wxUSE_URL 1
44874 if test "$wxUSE_VARIANT" = "yes"; then
44875 cat >>confdefs.h
<<\_ACEOF
44876 #define wxUSE_VARIANT 1
44881 if test "$wxUSE_FS_INET" = "yes"; then
44882 cat >>confdefs.h
<<\_ACEOF
44883 #define wxUSE_FS_INET 1
44889 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44892 if test "$TOOLKIT" = "MSW"; then
44895 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44896 if test "$USE_DARWIN" = 1; then
44897 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44898 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44900 ac_cpp
='$CXXCPP $CPPFLAGS'
44901 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44902 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44903 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44905 cat >conftest.
$ac_ext <<_ACEOF
44908 cat confdefs.h
>>conftest.
$ac_ext
44909 cat >>conftest.
$ac_ext <<_ACEOF
44910 /* end confdefs.h. */
44911 #include <IOKit/hid/IOHIDLib.h>
44915 IOHIDQueueInterface *qi = NULL;
44916 IOHIDCallbackFunction cb = NULL;
44917 qi->setEventCallout(NULL, cb, NULL, NULL);
44922 rm -f conftest.
$ac_objext
44923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44924 (eval $ac_compile) 2>conftest.er1
44926 grep -v '^ *+' conftest.er1
>conftest.err
44928 cat conftest.err
>&5
44929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44930 (exit $ac_status); } &&
44931 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44933 (eval $ac_try) 2>&5
44935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44936 (exit $ac_status); }; } &&
44937 { ac_try
='test -s conftest.$ac_objext'
44938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44939 (eval $ac_try) 2>&5
44941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44942 (exit $ac_status); }; }; then
44946 echo "$as_me: failed program was:" >&5
44947 sed 's/^/| /' conftest.
$ac_ext >&5
44950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44952 ac_cpp
='$CPP $CPPFLAGS'
44953 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44954 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44955 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44957 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44958 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44962 if test "$wxUSE_MGL" != "1"; then
44964 for ac_header
in linux
/joystick.h
44966 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44968 echo "$as_me:$LINENO: checking for $ac_header" >&5
44969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44971 echo $ECHO_N "(cached) $ECHO_C" >&6
44973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44976 # Is the header compilable?
44977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44979 cat >conftest.
$ac_ext <<_ACEOF
44982 cat confdefs.h
>>conftest.
$ac_ext
44983 cat >>conftest.
$ac_ext <<_ACEOF
44984 /* end confdefs.h. */
44985 $ac_includes_default
44986 #include <$ac_header>
44988 rm -f conftest.
$ac_objext
44989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44990 (eval $ac_compile) 2>conftest.er1
44992 grep -v '^ *+' conftest.er1
>conftest.err
44994 cat conftest.err
>&5
44995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996 (exit $ac_status); } &&
44997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44999 (eval $ac_try) 2>&5
45001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45002 (exit $ac_status); }; } &&
45003 { ac_try
='test -s conftest.$ac_objext'
45004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45005 (eval $ac_try) 2>&5
45007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45008 (exit $ac_status); }; }; then
45009 ac_header_compiler
=yes
45011 echo "$as_me: failed program was:" >&5
45012 sed 's/^/| /' conftest.
$ac_ext >&5
45014 ac_header_compiler
=no
45016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45018 echo "${ECHO_T}$ac_header_compiler" >&6
45020 # Is the header present?
45021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45023 cat >conftest.
$ac_ext <<_ACEOF
45026 cat confdefs.h
>>conftest.
$ac_ext
45027 cat >>conftest.
$ac_ext <<_ACEOF
45028 /* end confdefs.h. */
45029 #include <$ac_header>
45031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45034 grep -v '^ *+' conftest.er1
>conftest.err
45036 cat conftest.err
>&5
45037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45038 (exit $ac_status); } >/dev
/null
; then
45039 if test -s conftest.err
; then
45040 ac_cpp_err
=$ac_c_preproc_warn_flag
45041 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
45048 if test -z "$ac_cpp_err"; then
45049 ac_header_preproc
=yes
45051 echo "$as_me: failed program was:" >&5
45052 sed 's/^/| /' conftest.
$ac_ext >&5
45054 ac_header_preproc
=no
45056 rm -f conftest.err conftest.
$ac_ext
45057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45058 echo "${ECHO_T}$ac_header_preproc" >&6
45060 # So? What about this header?
45061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45067 ac_header_preproc
=yes
45070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45084 ## ----------------------------------------- ##
45085 ## Report this to wx-dev@lists.wxwidgets.org ##
45086 ## ----------------------------------------- ##
45089 sed "s/^/$as_me: WARNING: /" >&2
45092 echo "$as_me:$LINENO: checking for $ac_header" >&5
45093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45095 echo $ECHO_N "(cached) $ECHO_C" >&6
45097 eval "$as_ac_Header=\$ac_header_preproc"
45099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45104 cat >>confdefs.h
<<_ACEOF
45105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45115 if test "$wxUSE_JOYSTICK" = "yes"; then
45116 cat >>confdefs.h
<<\_ACEOF
45117 #define wxUSE_JOYSTICK 1
45120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
45122 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45123 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45129 if test "$wxUSE_FONTMAP" = "yes" ; then
45130 cat >>confdefs.h
<<\_ACEOF
45131 #define wxUSE_FONTMAP 1
45136 if test "$wxUSE_UNICODE" = "yes" ; then
45137 cat >>confdefs.h
<<\_ACEOF
45138 #define wxUSE_UNICODE 1
45142 if test "$USE_WIN32" != 1; then
45143 wxUSE_UNICODE_MSLU
=no
45146 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45147 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45148 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45149 if test "${ac_cv_lib_unicows_main+set}" = set; then
45150 echo $ECHO_N "(cached) $ECHO_C" >&6
45152 ac_check_lib_save_LIBS
=$LIBS
45153 LIBS
="-lunicows $LIBS"
45154 cat >conftest.
$ac_ext <<_ACEOF
45157 cat confdefs.h
>>conftest.
$ac_ext
45158 cat >>conftest.
$ac_ext <<_ACEOF
45159 /* end confdefs.h. */
45170 rm -f conftest.
$ac_objext conftest
$ac_exeext
45171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45172 (eval $ac_link) 2>conftest.er1
45174 grep -v '^ *+' conftest.er1
>conftest.err
45176 cat conftest.err
>&5
45177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45178 (exit $ac_status); } &&
45179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45181 (eval $ac_try) 2>&5
45183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45184 (exit $ac_status); }; } &&
45185 { ac_try
='test -s conftest$ac_exeext'
45186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45187 (eval $ac_try) 2>&5
45189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45190 (exit $ac_status); }; }; then
45191 ac_cv_lib_unicows_main
=yes
45193 echo "$as_me: failed program was:" >&5
45194 sed 's/^/| /' conftest.
$ac_ext >&5
45196 ac_cv_lib_unicows_main
=no
45198 rm -f conftest.err conftest.
$ac_objext \
45199 conftest
$ac_exeext conftest.
$ac_ext
45200 LIBS
=$ac_check_lib_save_LIBS
45202 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45203 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45204 if test $ac_cv_lib_unicows_main = yes; then
45206 cat >>confdefs.h
<<\_ACEOF
45207 #define wxUSE_UNICODE_MSLU 1
45213 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45214 Applications will only run on Windows NT/2000/XP!" >&5
45215 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45216 Applications will only run on Windows NT/2000/XP!" >&2;}
45217 wxUSE_UNICODE_MSLU
=no
45224 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45225 cat >>confdefs.h
<<\_ACEOF
45226 #define wxUSE_EXPERIMENTAL_PRINTF 1
45232 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45233 cat >>confdefs.h
<<\_ACEOF
45234 #define wxUSE_POSTSCRIPT 1
45239 cat >>confdefs.h
<<\_ACEOF
45240 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45244 cat >>confdefs.h
<<\_ACEOF
45245 #define wxUSE_NORMALIZED_PS_FONTS 1
45250 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45251 cat >>confdefs.h
<<\_ACEOF
45252 #define wxUSE_CONSTRAINTS 1
45255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45258 if test "$wxUSE_MDI" = "yes"; then
45259 cat >>confdefs.h
<<\_ACEOF
45260 #define wxUSE_MDI 1
45264 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45265 cat >>confdefs.h
<<\_ACEOF
45266 #define wxUSE_MDI_ARCHITECTURE 1
45269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45273 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45274 cat >>confdefs.h
<<\_ACEOF
45275 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45279 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45280 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45284 if test "$wxUSE_HELP" = "yes"; then
45285 cat >>confdefs.h
<<\_ACEOF
45286 #define wxUSE_HELP 1
45289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45291 if test "$wxUSE_MSW" = 1; then
45292 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45293 cat >>confdefs.h
<<\_ACEOF
45294 #define wxUSE_MS_HTML_HELP 1
45300 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45301 if test "$wxUSE_HTML" = "yes"; then
45302 cat >>confdefs.h
<<\_ACEOF
45303 #define wxUSE_WXHTML_HELP 1
45307 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45308 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45309 wxUSE_WXHTML_HELP
=no
45314 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45315 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45316 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45317 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45319 cat >>confdefs.h
<<\_ACEOF
45320 #define wxUSE_PRINTING_ARCHITECTURE 1
45324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45327 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45328 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45329 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45330 { (exit 1); exit 1; }; }
45334 if test "$wxUSE_METAFILE" = "yes"; then
45335 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45336 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45337 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45343 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45344 -o "$wxUSE_CLIPBOARD" = "yes" \
45345 -o "$wxUSE_OLE" = "yes" \
45346 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45348 for ac_header
in ole2.h
45350 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45352 echo "$as_me:$LINENO: checking for $ac_header" >&5
45353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45355 echo $ECHO_N "(cached) $ECHO_C" >&6
45357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45360 # Is the header compilable?
45361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45363 cat >conftest.
$ac_ext <<_ACEOF
45366 cat confdefs.h
>>conftest.
$ac_ext
45367 cat >>conftest.
$ac_ext <<_ACEOF
45368 /* end confdefs.h. */
45369 $ac_includes_default
45370 #include <$ac_header>
45372 rm -f conftest.
$ac_objext
45373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45374 (eval $ac_compile) 2>conftest.er1
45376 grep -v '^ *+' conftest.er1
>conftest.err
45378 cat conftest.err
>&5
45379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45380 (exit $ac_status); } &&
45381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45383 (eval $ac_try) 2>&5
45385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45386 (exit $ac_status); }; } &&
45387 { ac_try
='test -s conftest.$ac_objext'
45388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45389 (eval $ac_try) 2>&5
45391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45392 (exit $ac_status); }; }; then
45393 ac_header_compiler
=yes
45395 echo "$as_me: failed program was:" >&5
45396 sed 's/^/| /' conftest.
$ac_ext >&5
45398 ac_header_compiler
=no
45400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45402 echo "${ECHO_T}$ac_header_compiler" >&6
45404 # Is the header present?
45405 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45407 cat >conftest.
$ac_ext <<_ACEOF
45410 cat confdefs.h
>>conftest.
$ac_ext
45411 cat >>conftest.
$ac_ext <<_ACEOF
45412 /* end confdefs.h. */
45413 #include <$ac_header>
45415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45416 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45418 grep -v '^ *+' conftest.er1
>conftest.err
45420 cat conftest.err
>&5
45421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45422 (exit $ac_status); } >/dev
/null
; then
45423 if test -s conftest.err
; then
45424 ac_cpp_err
=$ac_c_preproc_warn_flag
45425 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
45432 if test -z "$ac_cpp_err"; then
45433 ac_header_preproc
=yes
45435 echo "$as_me: failed program was:" >&5
45436 sed 's/^/| /' conftest.
$ac_ext >&5
45438 ac_header_preproc
=no
45440 rm -f conftest.err conftest.
$ac_ext
45441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45442 echo "${ECHO_T}$ac_header_preproc" >&6
45444 # So? What about this header?
45445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45450 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45451 ac_header_preproc
=yes
45454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45458 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45459 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45460 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45468 ## ----------------------------------------- ##
45469 ## Report this to wx-dev@lists.wxwidgets.org ##
45470 ## ----------------------------------------- ##
45473 sed "s/^/$as_me: WARNING: /" >&2
45476 echo "$as_me:$LINENO: checking for $ac_header" >&5
45477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45479 echo $ECHO_N "(cached) $ECHO_C" >&6
45481 eval "$as_ac_Header=\$ac_header_preproc"
45483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45488 cat >>confdefs.h
<<_ACEOF
45489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45497 if test "$ac_cv_header_ole2_h" = "yes" ; then
45498 if test "$GCC" = yes ; then
45499 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45500 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45501 cat >conftest.
$ac_ext <<_ACEOF
45504 cat confdefs.h
>>conftest.
$ac_ext
45505 cat >>conftest.
$ac_ext <<_ACEOF
45506 /* end confdefs.h. */
45507 #include <windows.h>
45517 rm -f conftest.
$ac_objext
45518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45519 (eval $ac_compile) 2>conftest.er1
45521 grep -v '^ *+' conftest.er1
>conftest.err
45523 cat conftest.err
>&5
45524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45525 (exit $ac_status); } &&
45526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45528 (eval $ac_try) 2>&5
45530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45531 (exit $ac_status); }; } &&
45532 { ac_try
='test -s conftest.$ac_objext'
45533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45534 (eval $ac_try) 2>&5
45536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45537 (exit $ac_status); }; }; then
45538 echo "$as_me:$LINENO: result: no" >&5
45539 echo "${ECHO_T}no" >&6
45541 echo "$as_me: failed program was:" >&5
45542 sed 's/^/| /' conftest.
$ac_ext >&5
45544 echo "$as_me:$LINENO: result: yes" >&5
45545 echo "${ECHO_T}yes" >&6
45546 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45549 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45550 if test "$wxUSE_OLE" = "yes" ; then
45551 cat >>confdefs.h
<<\_ACEOF
45552 #define wxUSE_OLE 1
45555 cat >>confdefs.h
<<\_ACEOF
45556 #define wxUSE_OLE_AUTOMATION 1
45559 cat >>confdefs.h
<<\_ACEOF
45560 #define wxUSE_OLE_ACTIVEX 1
45563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45567 if test "$wxUSE_DATAOBJ" = "yes" ; then
45568 cat >>confdefs.h
<<\_ACEOF
45569 #define wxUSE_DATAOBJ 1
45574 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45575 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45578 wxUSE_DRAG_AND_DROP
=no
45583 if test "$wxUSE_METAFILE" = "yes"; then
45584 cat >>confdefs.h
<<\_ACEOF
45585 #define wxUSE_METAFILE 1
45589 cat >>confdefs.h
<<\_ACEOF
45590 #define wxUSE_ENH_METAFILE 1
45596 if test "$wxUSE_IPC" = "yes"; then
45597 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45598 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45599 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45603 if test "$wxUSE_IPC" = "yes"; then
45604 cat >>confdefs.h
<<\_ACEOF
45605 #define wxUSE_IPC 1
45608 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45612 if test "$wxUSE_DATAOBJ" = "yes"; then
45613 if test "$wxUSE_MGL" = 1; then
45614 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45615 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45618 cat >>confdefs.h
<<\_ACEOF
45619 #define wxUSE_DATAOBJ 1
45624 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45625 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45627 wxUSE_DRAG_AND_DROP
=no
45630 if test "$wxUSE_CLIPBOARD" = "yes"; then
45631 if test "$wxUSE_MGL" = 1; then
45632 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45633 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45637 if test "$wxUSE_CLIPBOARD" = "yes"; then
45638 cat >>confdefs.h
<<\_ACEOF
45639 #define wxUSE_CLIPBOARD 1
45645 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45646 if test "$wxUSE_GTK" = 1; then
45647 if test "$WXGTK12" != 1; then
45648 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45649 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45650 wxUSE_DRAG_AND_DROP
=no
45654 if test "$wxUSE_MOTIF" = 1; then
45655 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45656 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45657 wxUSE_DRAG_AND_DROP
=no
45660 if test "$wxUSE_X11" = 1; then
45661 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45662 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45663 wxUSE_DRAG_AND_DROP
=no
45666 if test "$wxUSE_MGL" = 1; then
45667 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45668 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45669 wxUSE_DRAG_AND_DROP
=no
45672 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45673 cat >>confdefs.h
<<\_ACEOF
45674 #define wxUSE_DRAG_AND_DROP 1
45681 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45685 if test "$wxUSE_SPLINES" = "yes" ; then
45686 cat >>confdefs.h
<<\_ACEOF
45687 #define wxUSE_SPLINES 1
45692 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45693 cat >>confdefs.h
<<\_ACEOF
45694 #define wxUSE_MOUSEWHEEL 1
45701 if test "$wxUSE_CONTROLS" = "yes"; then
45705 if test "$wxUSE_ACCEL" = "yes"; then
45706 cat >>confdefs.h
<<\_ACEOF
45707 #define wxUSE_ACCEL 1
45713 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45714 cat >>confdefs.h
<<\_ACEOF
45715 #define wxUSE_ANIMATIONCTRL 1
45719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45722 if test "$wxUSE_BUTTON" = "yes"; then
45723 cat >>confdefs.h
<<\_ACEOF
45724 #define wxUSE_BUTTON 1
45730 if test "$wxUSE_BMPBUTTON" = "yes"; then
45731 cat >>confdefs.h
<<\_ACEOF
45732 #define wxUSE_BMPBUTTON 1
45738 if test "$wxUSE_CALCTRL" = "yes"; then
45739 cat >>confdefs.h
<<\_ACEOF
45740 #define wxUSE_CALENDARCTRL 1
45744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45747 if test "$wxUSE_CARET" = "yes"; then
45748 cat >>confdefs.h
<<\_ACEOF
45749 #define wxUSE_CARET 1
45753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45756 if test "$wxUSE_COLLPANE" = "yes"; then
45757 cat >>confdefs.h
<<\_ACEOF
45758 #define wxUSE_COLLPANE 1
45762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45765 if test "$wxUSE_COMBOBOX" = "yes"; then
45766 cat >>confdefs.h
<<\_ACEOF
45767 #define wxUSE_COMBOBOX 1
45773 if test "$wxUSE_COMBOCTRL" = "yes"; then
45774 cat >>confdefs.h
<<\_ACEOF
45775 #define wxUSE_COMBOCTRL 1
45781 if test "$wxUSE_CHOICE" = "yes"; then
45782 cat >>confdefs.h
<<\_ACEOF
45783 #define wxUSE_CHOICE 1
45789 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45790 cat >>confdefs.h
<<\_ACEOF
45791 #define wxUSE_CHOICEBOOK 1
45797 if test "$wxUSE_CHECKBOX" = "yes"; then
45798 cat >>confdefs.h
<<\_ACEOF
45799 #define wxUSE_CHECKBOX 1
45805 if test "$wxUSE_CHECKLST" = "yes"; then
45806 cat >>confdefs.h
<<\_ACEOF
45807 #define wxUSE_CHECKLISTBOX 1
45811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45814 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45815 cat >>confdefs.h
<<\_ACEOF
45816 #define wxUSE_COLOURPICKERCTRL 1
45822 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45823 cat >>confdefs.h
<<\_ACEOF
45824 #define wxUSE_DATEPICKCTRL 1
45830 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45831 cat >>confdefs.h
<<\_ACEOF
45832 #define wxUSE_DIRPICKERCTRL 1
45838 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45839 cat >>confdefs.h
<<\_ACEOF
45840 #define wxUSE_FILEPICKERCTRL 1
45846 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45847 cat >>confdefs.h
<<\_ACEOF
45848 #define wxUSE_FONTPICKERCTRL 1
45854 if test "$wxUSE_DISPLAY" = "yes"; then
45855 cat >>confdefs.h
<<\_ACEOF
45856 #define wxUSE_DISPLAY 1
45859 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45862 if test "$wxUSE_DETECT_SM" = "yes"; then
45863 cat >>confdefs.h
<<\_ACEOF
45864 #define wxUSE_DETECT_SM 1
45869 if test "$wxUSE_GAUGE" = "yes"; then
45870 cat >>confdefs.h
<<\_ACEOF
45871 #define wxUSE_GAUGE 1
45877 if test "$wxUSE_GRID" = "yes"; then
45878 cat >>confdefs.h
<<\_ACEOF
45879 #define wxUSE_GRID 1
45883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45886 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45887 cat >>confdefs.h
<<\_ACEOF
45888 #define wxUSE_HYPERLINKCTRL 1
45894 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45895 cat >>confdefs.h
<<\_ACEOF
45896 #define wxUSE_BITMAPCOMBOBOX 1
45902 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45903 cat >>confdefs.h
<<\_ACEOF
45904 #define wxUSE_DATAVIEWCTRL 1
45908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45911 if test "$wxUSE_IMAGLIST" = "yes"; then
45912 cat >>confdefs.h
<<\_ACEOF
45913 #define wxUSE_IMAGLIST 1
45918 if test "$wxUSE_LISTBOOK" = "yes"; then
45919 cat >>confdefs.h
<<\_ACEOF
45920 #define wxUSE_LISTBOOK 1
45926 if test "$wxUSE_LISTBOX" = "yes"; then
45927 cat >>confdefs.h
<<\_ACEOF
45928 #define wxUSE_LISTBOX 1
45932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45935 if test "$wxUSE_LISTCTRL" = "yes"; then
45936 if test "$wxUSE_IMAGLIST" = "yes"; then
45937 cat >>confdefs.h
<<\_ACEOF
45938 #define wxUSE_LISTCTRL 1
45942 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45944 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45945 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45949 if test "$wxUSE_NOTEBOOK" = "yes"; then
45950 cat >>confdefs.h
<<\_ACEOF
45951 #define wxUSE_NOTEBOOK 1
45955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45958 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45959 cat >>confdefs.h
<<\_ACEOF
45960 #define wxUSE_ODCOMBOBOX 1
45964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45968 if test "$wxUSE_RADIOBOX" = "yes"; then
45969 cat >>confdefs.h
<<\_ACEOF
45970 #define wxUSE_RADIOBOX 1
45976 if test "$wxUSE_RADIOBTN" = "yes"; then
45977 cat >>confdefs.h
<<\_ACEOF
45978 #define wxUSE_RADIOBTN 1
45984 if test "$wxUSE_SASH" = "yes"; then
45985 cat >>confdefs.h
<<\_ACEOF
45986 #define wxUSE_SASH 1
45989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45992 if test "$wxUSE_SCROLLBAR" = "yes"; then
45993 cat >>confdefs.h
<<\_ACEOF
45994 #define wxUSE_SCROLLBAR 1
45998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
46001 if test "$wxUSE_SLIDER" = "yes"; then
46002 cat >>confdefs.h
<<\_ACEOF
46003 #define wxUSE_SLIDER 1
46009 if test "$wxUSE_SPINBTN" = "yes"; then
46010 cat >>confdefs.h
<<\_ACEOF
46011 #define wxUSE_SPINBTN 1
46017 if test "$wxUSE_SPINCTRL" = "yes"; then
46018 cat >>confdefs.h
<<\_ACEOF
46019 #define wxUSE_SPINCTRL 1
46025 if test "$wxUSE_SPLITTER" = "yes"; then
46026 cat >>confdefs.h
<<\_ACEOF
46027 #define wxUSE_SPLITTER 1
46030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46033 if test "$wxUSE_STATBMP" = "yes"; then
46034 cat >>confdefs.h
<<\_ACEOF
46035 #define wxUSE_STATBMP 1
46041 if test "$wxUSE_STATBOX" = "yes"; then
46042 cat >>confdefs.h
<<\_ACEOF
46043 #define wxUSE_STATBOX 1
46049 if test "$wxUSE_STATTEXT" = "yes"; then
46050 cat >>confdefs.h
<<\_ACEOF
46051 #define wxUSE_STATTEXT 1
46057 if test "$wxUSE_STATLINE" = "yes"; then
46058 cat >>confdefs.h
<<\_ACEOF
46059 #define wxUSE_STATLINE 1
46065 if test "$wxUSE_STATUSBAR" = "yes"; then
46066 cat >>confdefs.h
<<\_ACEOF
46067 #define wxUSE_NATIVE_STATUSBAR 1
46070 cat >>confdefs.h
<<\_ACEOF
46071 #define wxUSE_STATUSBAR 1
46076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46079 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46080 cat >>confdefs.h
<<\_ACEOF
46081 #define wxUSE_TAB_DIALOG 1
46086 if test "$wxUSE_TEXTCTRL" = "yes"; then
46087 cat >>confdefs.h
<<\_ACEOF
46088 #define wxUSE_TEXTCTRL 1
46092 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46095 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46096 if test "$wxUSE_COCOA" = 1 ; then
46097 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46098 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46102 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46103 cat >>confdefs.h
<<\_ACEOF
46104 #define wxUSE_TOGGLEBTN 1
46111 if test "$wxUSE_TOOLBAR" = "yes"; then
46112 cat >>confdefs.h
<<\_ACEOF
46113 #define wxUSE_TOOLBAR 1
46118 if test "$wxUSE_UNIVERSAL" = "yes"; then
46119 wxUSE_TOOLBAR_NATIVE
="no"
46121 wxUSE_TOOLBAR_NATIVE
="yes"
46122 cat >>confdefs.h
<<\_ACEOF
46123 #define wxUSE_TOOLBAR_NATIVE 1
46128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46131 if test "$wxUSE_TOOLTIPS" = "yes"; then
46132 if test "$wxUSE_MOTIF" = 1; then
46133 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46134 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46136 if test "$wxUSE_UNIVERSAL" = "yes"; then
46137 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46138 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46140 cat >>confdefs.h
<<\_ACEOF
46141 #define wxUSE_TOOLTIPS 1
46148 if test "$wxUSE_TREEBOOK" = "yes"; then
46149 cat >>confdefs.h
<<\_ACEOF
46150 #define wxUSE_TREEBOOK 1
46156 if test "$wxUSE_TOOLBOOK" = "yes"; then
46157 cat >>confdefs.h
<<\_ACEOF
46158 #define wxUSE_TOOLBOOK 1
46164 if test "$wxUSE_TREECTRL" = "yes"; then
46165 if test "$wxUSE_IMAGLIST" = "yes"; then
46166 cat >>confdefs.h
<<\_ACEOF
46167 #define wxUSE_TREECTRL 1
46171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46173 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46174 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46178 if test "$wxUSE_POPUPWIN" = "yes"; then
46179 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46180 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46181 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46183 if test "$wxUSE_PM" = 1; then
46184 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46185 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46187 cat >>confdefs.h
<<\_ACEOF
46188 #define wxUSE_POPUPWIN 1
46191 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46198 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46199 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46200 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46201 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46203 cat >>confdefs.h
<<\_ACEOF
46204 #define wxUSE_DIALUP_MANAGER 1
46207 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46211 if test "$wxUSE_TIPWINDOW" = "yes"; then
46212 if test "$wxUSE_PM" = 1; then
46213 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46214 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46216 cat >>confdefs.h
<<\_ACEOF
46217 #define wxUSE_TIPWINDOW 1
46223 if test "$USES_CONTROLS" = 1; then
46224 cat >>confdefs.h
<<\_ACEOF
46225 #define wxUSE_CONTROLS 1
46231 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46232 cat >>confdefs.h
<<\_ACEOF
46233 #define wxUSE_ACCESSIBILITY 1
46236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46239 if test "$wxUSE_DC_CACHEING" = "yes"; then
46240 cat >>confdefs.h
<<\_ACEOF
46241 #define wxUSE_DC_CACHEING 1
46246 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46247 cat >>confdefs.h
<<\_ACEOF
46248 #define wxUSE_DRAGIMAGE 1
46251 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46254 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46255 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46256 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46257 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46259 cat >>confdefs.h
<<\_ACEOF
46260 #define wxUSE_EXCEPTIONS 1
46263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46268 if test "$wxUSE_HTML" = "yes"; then
46269 cat >>confdefs.h
<<\_ACEOF
46270 #define wxUSE_HTML 1
46274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46275 if test "$wxUSE_MAC" = 1; then
46276 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46279 if test "$wxUSE_WEBKIT" = "yes"; then
46280 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46281 old_CPPFLAGS
="$CPPFLAGS"
46282 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46283 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46284 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46285 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46286 echo $ECHO_N "(cached) $ECHO_C" >&6
46288 cat >conftest.
$ac_ext <<_ACEOF
46291 cat confdefs.h
>>conftest.
$ac_ext
46292 cat >>conftest.
$ac_ext <<_ACEOF
46293 /* end confdefs.h. */
46294 #include <Carbon/Carbon.h>
46296 #include <WebKit/HIWebView.h>
46298 rm -f conftest.
$ac_objext
46299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46300 (eval $ac_compile) 2>conftest.er1
46302 grep -v '^ *+' conftest.er1
>conftest.err
46304 cat conftest.err
>&5
46305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46306 (exit $ac_status); } &&
46307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46309 (eval $ac_try) 2>&5
46311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46312 (exit $ac_status); }; } &&
46313 { ac_try
='test -s conftest.$ac_objext'
46314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46315 (eval $ac_try) 2>&5
46317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46318 (exit $ac_status); }; }; then
46319 ac_cv_header_WebKit_HIWebView_h
=yes
46321 echo "$as_me: failed program was:" >&5
46322 sed 's/^/| /' conftest.
$ac_ext >&5
46324 ac_cv_header_WebKit_HIWebView_h
=no
46326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46328 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46329 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46330 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46332 cat >>confdefs.h
<<\_ACEOF
46333 #define wxUSE_WEBKIT 1
46336 WEBKIT_LINK
="-framework WebKit"
46340 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46341 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46347 CPPFLAGS
="$old_CPPFLAGS"
46348 elif test "$wxUSE_COCOA" = 1; then
46349 cat >>confdefs.h
<<\_ACEOF
46350 #define wxUSE_WEBKIT 1
46359 if test "$wxUSE_XRC" = "yes"; then
46360 if test "$wxUSE_XML" != "yes"; then
46361 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46362 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46365 cat >>confdefs.h
<<\_ACEOF
46366 #define wxUSE_XRC 1
46370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46375 if test "$wxUSE_AUI" = "yes"; then
46376 cat >>confdefs.h
<<\_ACEOF
46377 #define wxUSE_AUI 1
46381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46384 if test "$wxUSE_MENUS" = "yes"; then
46385 cat >>confdefs.h
<<\_ACEOF
46386 #define wxUSE_MENUS 1
46389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46392 if test "$wxUSE_METAFILE" = "yes"; then
46393 cat >>confdefs.h
<<\_ACEOF
46394 #define wxUSE_METAFILE 1
46399 if test "$wxUSE_MIMETYPE" = "yes"; then
46400 cat >>confdefs.h
<<\_ACEOF
46401 #define wxUSE_MIMETYPE 1
46406 if test "$wxUSE_MINIFRAME" = "yes"; then
46407 cat >>confdefs.h
<<\_ACEOF
46408 #define wxUSE_MINIFRAME 1
46411 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46414 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46415 cat >>confdefs.h
<<\_ACEOF
46416 #define wxUSE_SYSTEM_OPTIONS 1
46419 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46420 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46426 if test "$wxUSE_VALIDATORS" = "yes"; then
46427 cat >>confdefs.h
<<\_ACEOF
46428 #define wxUSE_VALIDATORS 1
46431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46434 if test "$wxUSE_PALETTE" = "yes" ; then
46435 cat >>confdefs.h
<<\_ACEOF
46436 #define wxUSE_PALETTE 1
46441 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46442 LIBS
=" -lunicows $LIBS"
46446 if test "$wxUSE_RICHTEXT" = "yes"; then
46447 cat >>confdefs.h
<<\_ACEOF
46448 #define wxUSE_RICHTEXT 1
46452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46456 if test "$wxUSE_IMAGE" = "yes" ; then
46457 cat >>confdefs.h
<<\_ACEOF
46458 #define wxUSE_IMAGE 1
46462 if test "$wxUSE_GIF" = "yes" ; then
46463 cat >>confdefs.h
<<\_ACEOF
46464 #define wxUSE_GIF 1
46469 if test "$wxUSE_PCX" = "yes" ; then
46470 cat >>confdefs.h
<<\_ACEOF
46471 #define wxUSE_PCX 1
46476 if test "$wxUSE_TGA" = "yes" ; then
46477 cat >>confdefs.h
<<\_ACEOF
46478 #define wxUSE_TGA 1
46483 if test "$wxUSE_IFF" = "yes" ; then
46484 cat >>confdefs.h
<<\_ACEOF
46485 #define wxUSE_IFF 1
46490 if test "$wxUSE_PNM" = "yes" ; then
46491 cat >>confdefs.h
<<\_ACEOF
46492 #define wxUSE_PNM 1
46497 if test "$wxUSE_XPM" = "yes" ; then
46498 cat >>confdefs.h
<<\_ACEOF
46499 #define wxUSE_XPM 1
46504 if test "$wxUSE_ICO_CUR" = "yes" ; then
46505 cat >>confdefs.h
<<\_ACEOF
46506 #define wxUSE_ICO_CUR 1
46513 if test "$wxUSE_ABOUTDLG" = "yes"; then
46514 cat >>confdefs.h
<<\_ACEOF
46515 #define wxUSE_ABOUTDLG 1
46520 if test "$wxUSE_CHOICEDLG" = "yes"; then
46521 cat >>confdefs.h
<<\_ACEOF
46522 #define wxUSE_CHOICEDLG 1
46527 if test "$wxUSE_COLOURDLG" = "yes"; then
46528 cat >>confdefs.h
<<\_ACEOF
46529 #define wxUSE_COLOURDLG 1
46534 if test "$wxUSE_FILEDLG" = "yes"; then
46535 cat >>confdefs.h
<<\_ACEOF
46536 #define wxUSE_FILEDLG 1
46541 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46542 cat >>confdefs.h
<<\_ACEOF
46543 #define wxUSE_FINDREPLDLG 1
46548 if test "$wxUSE_FONTDLG" = "yes"; then
46549 cat >>confdefs.h
<<\_ACEOF
46550 #define wxUSE_FONTDLG 1
46555 if test "$wxUSE_DIRDLG" = "yes"; then
46556 if test "$wxUSE_TREECTRL" != "yes"; then
46557 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46558 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46560 cat >>confdefs.h
<<\_ACEOF
46561 #define wxUSE_DIRDLG 1
46567 if test "$wxUSE_MSGDLG" = "yes"; then
46568 cat >>confdefs.h
<<\_ACEOF
46569 #define wxUSE_MSGDLG 1
46574 if test "$wxUSE_NUMBERDLG" = "yes"; then
46575 cat >>confdefs.h
<<\_ACEOF
46576 #define wxUSE_NUMBERDLG 1
46581 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46582 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46583 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46584 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46586 cat >>confdefs.h
<<\_ACEOF
46587 #define wxUSE_PROGRESSDLG 1
46593 if test "$wxUSE_SPLASH" = "yes"; then
46594 cat >>confdefs.h
<<\_ACEOF
46595 #define wxUSE_SPLASH 1
46598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46601 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46602 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46603 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46604 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46606 cat >>confdefs.h
<<\_ACEOF
46607 #define wxUSE_STARTUP_TIPS 1
46613 if test "$wxUSE_TEXTDLG" = "yes"; then
46614 cat >>confdefs.h
<<\_ACEOF
46615 #define wxUSE_TEXTDLG 1
46620 if test "$wxUSE_WIZARDDLG" = "yes"; then
46621 cat >>confdefs.h
<<\_ACEOF
46622 #define wxUSE_WIZARDDLG 1
46625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46629 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46630 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46631 cat >>confdefs.h
<<\_ACEOF
46632 #define wxUSE_GRAPHICS_CONTEXT 1
46635 elif test "$wxUSE_GTK" != 1; then
46636 cat >>confdefs.h
<<\_ACEOF
46637 #define wxUSE_GRAPHICS_CONTEXT 1
46643 echo "$as_me:$LINENO: checking for CAIRO" >&5
46644 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46646 if test -n "$PKG_CONFIG"; then
46647 if test -n "$CAIRO_CFLAGS"; then
46648 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
46650 if test -n "$PKG_CONFIG" && \
46651 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46652 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46655 (exit $ac_status); }; then
46656 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46664 if test -n "$PKG_CONFIG"; then
46665 if test -n "$CAIRO_LIBS"; then
46666 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
46668 if test -n "$PKG_CONFIG" && \
46669 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46670 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673 (exit $ac_status); }; then
46674 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46685 if test $pkg_failed = yes; then
46687 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46688 _pkg_short_errors_supported
=yes
46690 _pkg_short_errors_supported
=no
46692 if test $_pkg_short_errors_supported = yes; then
46693 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46695 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46697 # Put the nasty error message in config.log where it belongs
46698 echo "$CAIRO_PKG_ERRORS" >&5
46700 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46701 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46703 elif test $pkg_failed = untried
; then
46704 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46705 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46708 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
46709 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
46710 echo "$as_me:$LINENO: result: yes" >&5
46711 echo "${ECHO_T}yes" >&6
46712 cat >>confdefs.h
<<\_ACEOF
46713 #define wxUSE_GRAPHICS_CONTEXT 1
46723 if test "$wxUSE_MEDIACTRL" = "yes"; then
46726 if test "$wxUSE_GTK" = 1; then
46727 wxUSE_GSTREAMER
="no"
46729 GST_VERSION_MAJOR
=0
46730 GST_VERSION_MINOR
=10
46731 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46733 if test "$wxUSE_GSTREAMER8" = "no"; then
46736 echo "$as_me:$LINENO: checking for GST" >&5
46737 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46739 if test -n "$PKG_CONFIG"; then
46740 if test -n "$GST_CFLAGS"; then
46741 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46743 if test -n "$PKG_CONFIG" && \
46744 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46745 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46748 (exit $ac_status); }; then
46749 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46757 if test -n "$PKG_CONFIG"; then
46758 if test -n "$GST_LIBS"; then
46759 pkg_cv_GST_LIBS
="$GST_LIBS"
46761 if test -n "$PKG_CONFIG" && \
46762 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46763 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46766 (exit $ac_status); }; then
46767 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46778 if test $pkg_failed = yes; then
46780 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46781 _pkg_short_errors_supported
=yes
46783 _pkg_short_errors_supported
=no
46785 if test $_pkg_short_errors_supported = yes; then
46786 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46788 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46790 # Put the nasty error message in config.log where it belongs
46791 echo "$GST_PKG_ERRORS" >&5
46794 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46795 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46796 GST_VERSION_MINOR
=8
46799 elif test $pkg_failed = untried
; then
46801 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46802 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46803 GST_VERSION_MINOR
=8
46807 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46808 GST_LIBS
=$pkg_cv_GST_LIBS
46809 echo "$as_me:$LINENO: result: yes" >&5
46810 echo "${ECHO_T}yes" >&6
46812 wxUSE_GSTREAMER
="yes"
46813 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46817 GST_VERSION_MINOR
=8
46820 if test $GST_VERSION_MINOR = "8"; then
46821 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46824 echo "$as_me:$LINENO: checking for GST" >&5
46825 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46827 if test -n "$PKG_CONFIG"; then
46828 if test -n "$GST_CFLAGS"; then
46829 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46831 if test -n "$PKG_CONFIG" && \
46832 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46833 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46836 (exit $ac_status); }; then
46837 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46845 if test -n "$PKG_CONFIG"; then
46846 if test -n "$GST_LIBS"; then
46847 pkg_cv_GST_LIBS
="$GST_LIBS"
46849 if test -n "$PKG_CONFIG" && \
46850 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46851 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46854 (exit $ac_status); }; then
46855 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46866 if test $pkg_failed = yes; then
46868 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46869 _pkg_short_errors_supported
=yes
46871 _pkg_short_errors_supported
=no
46873 if test $_pkg_short_errors_supported = yes; then
46874 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46876 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46878 # Put the nasty error message in config.log where it belongs
46879 echo "$GST_PKG_ERRORS" >&5
46882 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46883 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46885 elif test $pkg_failed = untried
; then
46887 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46888 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46891 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46892 GST_LIBS
=$pkg_cv_GST_LIBS
46893 echo "$as_me:$LINENO: result: yes" >&5
46894 echo "${ECHO_T}yes" >&6
46895 wxUSE_GSTREAMER
="yes"
46900 if test "$wxUSE_GSTREAMER" = "yes"; then
46903 if "$GCC" = yes; then
46904 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46905 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46909 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46910 LIBS
="$GST_LIBS $LIBS"
46912 cat >>confdefs.h
<<\_ACEOF
46913 #define wxUSE_GSTREAMER 1
46921 if test $USE_MEDIA = 1; then
46922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46923 cat >>confdefs.h
<<\_ACEOF
46924 #define wxUSE_MEDIACTRL 1
46931 if test "$cross_compiling" = "yes"; then
46934 OSINFO
=`uname -s -r -m`
46935 OSINFO
="\"$OSINFO\""
46938 cat >>confdefs.h
<<_ACEOF
46939 #define WXWIN_OS_DESCRIPTION $OSINFO
46944 if test "x$prefix" != "xNONE"; then
46947 wxPREFIX
=$ac_default_prefix
46950 cat >>confdefs.h
<<_ACEOF
46951 #define wxINSTALL_PREFIX "$wxPREFIX"
46957 CORE_BASE_LIBS
="net base"
46958 CORE_GUI_LIBS
="adv core"
46960 if test "$wxUSE_XML" = "yes" ; then
46961 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46963 if test "$wxUSE_ODBC" != "no" ; then
46964 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46965 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46967 if test "$wxUSE_HTML" = "yes" ; then
46968 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46970 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46971 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46973 if test "$wxUSE_XRC" = "yes" ; then
46974 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46976 if test "$wxUSE_AUI" = "yes" ; then
46977 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46980 if test "$wxUSE_GUI" != "yes"; then
46989 if test "$wxUSE_MAC" = 1 ; then
46990 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46991 if test "$USE_DARWIN" = 1; then
46992 LDFLAGS
="$LDFLAGS -framework QuickTime"
46994 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46997 if test "$USE_DARWIN" = 1; then
46998 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47000 LDFLAGS
="$LDFLAGS -lCarbonLib"
47003 if test "$wxUSE_COCOA" = 1 ; then
47004 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
47005 if test "$wxUSE_MEDIACTRL" = "yes"; then
47006 LDFLAGS
="$LDFLAGS -framework QuickTime"
47009 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47010 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47013 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47015 if test "$wxUSE_GUI" = "yes"; then
47018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47019 dynamic erase event exec font image minimal mobile \
47020 mobile/wxedit mobile/styles propsize render \
47021 rotate shaped vscroll widgets"
47023 if test "$wxUSE_MONOLITHIC" != "yes"; then
47024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47026 if test "$TOOLKIT" = "MSW"; then
47027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47028 if test "$wxUSE_UNIVERSAL" != "yes"; then
47029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47032 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47036 SAMPLES_SUBDIRS
="console"
47040 if test "x$INTELCC" = "xyes" ; then
47041 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
47042 elif test "$GCC" = yes ; then
47043 CWARNINGS
="-Wall -Wundef"
47046 if test "x$INTELCXX" = "xyes" ; then
47047 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
47048 elif test "$GXX" = yes ; then
47049 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
47053 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47054 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47057 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47058 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47059 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47062 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47063 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47064 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47066 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47069 if test "x$MWCC" = "xyes"; then
47071 CC
="$CC -cwd source -I-"
47072 CXX
="$CXX -cwd source -I-"
47077 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47078 EXTRALIBS_XML
="$EXPAT_LINK"
47079 EXTRALIBS_HTML
="$MSPACK_LINK"
47080 EXTRALIBS_ODBC
="$ODBC_LINK"
47081 if test "$wxUSE_GUI" = "yes"; then
47082 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47084 if test "$wxUSE_OPENGL" = "yes"; then
47085 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47088 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47090 WXCONFIG_LIBS
="$LIBS"
47092 if test "$wxUSE_REGEX" = "builtin" ; then
47093 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47095 if test "$wxUSE_EXPAT" = "builtin" ; then
47096 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47098 if test "$wxUSE_ODBC" = "builtin" ; then
47099 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
47101 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47102 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47104 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47105 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47107 if test "$wxUSE_LIBPNG" = "builtin" ; then
47108 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47110 if test "$wxUSE_ZLIB" = "builtin" ; then
47111 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47114 for i
in $wxconfig_3rdparty ; do
47115 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47119 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47122 case "$wxUNIV_THEMES" in
47124 cat >>confdefs.h
<<\_ACEOF
47125 #define wxUSE_ALL_THEMES 1
47131 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47132 cat >>confdefs.h
<<_ACEOF
47133 #define wxUSE_THEME_$t 1
47150 if test $wxUSE_MONOLITHIC = "yes" ; then
47156 if test $wxUSE_PLUGINS = "yes" ; then
47162 if test $wxUSE_ODBC != "no" ; then
47168 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47174 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47204 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47215 TOOLKIT_DESC
="GTK+"
47216 if test "$WXGTK20" = 1; then
47217 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47218 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47219 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47221 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47222 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47224 if test "$wxUSE_LIBHILDON" = "yes"; then
47225 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47228 if test "$TOOLKIT_EXTRA" != ""; then
47229 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47235 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47239 TOOLKIT_DESC
="base only"
47243 if test "$wxUSE_WINE" = "yes"; then
47244 BAKEFILE_FORCE_PLATFORM
=win32
47247 if test "$wxUSE_MAC" = 1 ; then
47248 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
47249 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
47250 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47252 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47254 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
47255 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
47256 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
47257 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
47260 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47261 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47264 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47266 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47267 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47268 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47269 echo $ECHO_N "(cached) $ECHO_C" >&6
47272 echo '#include <stdio.h>
47273 const wchar_t test_var[] = L"awidetest";' > conftest.h
47275 echo '#include "conftest.h"
47278 printf("%ls", test_var);
47282 wx_cv_gcc_pch_bug
="pch not supported"
47284 if $CXX conftest.h
>/dev
/null
2>&1
47288 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47290 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47291 grep awidetest
>/dev
/null
47293 wx_cv_gcc_pch_bug
=no
47295 wx_cv_gcc_pch_bug
=yes
47300 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47303 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47304 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47306 if test "$wx_cv_gcc_pch_bug" = yes; then
47314 if test "x$BAKEFILE_HOST" = "x"; then
47315 if test "x${host}" = "x" ; then
47316 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47317 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47318 { (exit 1); exit 1; }; }
47321 BAKEFILE_HOST
="${host}"
47324 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47326 if test -n "$ac_tool_prefix"; then
47327 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47328 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47329 echo "$as_me:$LINENO: checking for $ac_word" >&5
47330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47331 if test "${ac_cv_prog_RANLIB+set}" = set; then
47332 echo $ECHO_N "(cached) $ECHO_C" >&6
47334 if test -n "$RANLIB"; then
47335 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47338 for as_dir
in $PATH
47341 test -z "$as_dir" && as_dir
=.
47342 for ac_exec_ext
in '' $ac_executable_extensions; do
47343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47344 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47353 RANLIB
=$ac_cv_prog_RANLIB
47354 if test -n "$RANLIB"; then
47355 echo "$as_me:$LINENO: result: $RANLIB" >&5
47356 echo "${ECHO_T}$RANLIB" >&6
47358 echo "$as_me:$LINENO: result: no" >&5
47359 echo "${ECHO_T}no" >&6
47363 if test -z "$ac_cv_prog_RANLIB"; then
47364 ac_ct_RANLIB
=$RANLIB
47365 # Extract the first word of "ranlib", so it can be a program name with args.
47366 set dummy ranlib
; ac_word
=$2
47367 echo "$as_me:$LINENO: checking for $ac_word" >&5
47368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47369 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47370 echo $ECHO_N "(cached) $ECHO_C" >&6
47372 if test -n "$ac_ct_RANLIB"; then
47373 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47376 for as_dir
in $PATH
47379 test -z "$as_dir" && as_dir
=.
47380 for ac_exec_ext
in '' $ac_executable_extensions; do
47381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47382 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47389 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
47392 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47393 if test -n "$ac_ct_RANLIB"; then
47394 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47395 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47397 echo "$as_me:$LINENO: result: no" >&5
47398 echo "${ECHO_T}no" >&6
47401 RANLIB
=$ac_ct_RANLIB
47403 RANLIB
="$ac_cv_prog_RANLIB"
47406 # Find a good install program. We prefer a C program (faster),
47407 # so one script is as good as another. But avoid the broken or
47408 # incompatible versions:
47409 # SysV /etc/install, /usr/sbin/install
47410 # SunOS /usr/etc/install
47411 # IRIX /sbin/install
47413 # AmigaOS /C/install, which installs bootblocks on floppy discs
47414 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47415 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47416 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47417 # OS/2's system install, which has a completely different semantic
47418 # ./install, which can be erroneously created by make from ./install.sh.
47419 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47420 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47421 if test -z "$INSTALL"; then
47422 if test "${ac_cv_path_install+set}" = set; then
47423 echo $ECHO_N "(cached) $ECHO_C" >&6
47425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47426 for as_dir
in $PATH
47429 test -z "$as_dir" && as_dir
=.
47430 # Account for people who put trailing slashes in PATH elements.
47432 .
/ | .
// | /cC
/* | \
47433 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47434 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47437 # OSF1 and SCO ODT 3.0 have their own names for install.
47438 # Don't use installbsd from OSF since it installs stuff as root
47440 for ac_prog
in ginstall scoinst
install; do
47441 for ac_exec_ext
in '' $ac_executable_extensions; do
47442 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47443 if test $ac_prog = install &&
47444 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47445 # AIX install. It has an incompatible calling convention.
47447 elif test $ac_prog = install &&
47448 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47449 # program-specific install script used by HP pwplus--don't use.
47452 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47464 if test "${ac_cv_path_install+set}" = set; then
47465 INSTALL
=$ac_cv_path_install
47467 # As a last resort, use the slow shell script. We don't cache a
47468 # path for INSTALL within a source directory, because that will
47469 # break other packages using the cache if that directory is
47470 # removed, or if the path is relative.
47471 INSTALL
=$ac_install_sh
47474 echo "$as_me:$LINENO: result: $INSTALL" >&5
47475 echo "${ECHO_T}$INSTALL" >&6
47477 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47478 # It thinks the first close brace ends the variable substitution.
47479 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47481 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47483 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47485 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47486 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47488 if test "$LN_S" = "ln -s"; then
47489 echo "$as_me:$LINENO: result: yes" >&5
47490 echo "${ECHO_T}yes" >&6
47492 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47493 echo "${ECHO_T}no, using $LN_S" >&6
47497 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47498 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47499 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47500 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47501 echo $ECHO_N "(cached) $ECHO_C" >&6
47503 cat >conftest.
make <<\_ACEOF
47505 @
echo 'ac_maketemp="$(MAKE)"'
47507 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47508 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47509 if test -n "$ac_maketemp"; then
47510 eval ac_cv_prog_make_
${ac_make}_set
=yes
47512 eval ac_cv_prog_make_
${ac_make}_set
=no
47514 rm -f conftest.
make
47516 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47517 echo "$as_me:$LINENO: result: yes" >&5
47518 echo "${ECHO_T}yes" >&6
47521 echo "$as_me:$LINENO: result: no" >&5
47522 echo "${ECHO_T}no" >&6
47523 SET_MAKE
="MAKE=${MAKE-make}"
47528 if test "x$SUNCXX" = "xyes"; then
47531 AROPTIONS
="-xar -o"
47533 if test -n "$ac_tool_prefix"; then
47534 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47535 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47536 echo "$as_me:$LINENO: checking for $ac_word" >&5
47537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47538 if test "${ac_cv_prog_AR+set}" = set; then
47539 echo $ECHO_N "(cached) $ECHO_C" >&6
47541 if test -n "$AR"; then
47542 ac_cv_prog_AR
="$AR" # Let the user override the test.
47544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47545 for as_dir
in $PATH
47548 test -z "$as_dir" && as_dir
=.
47549 for ac_exec_ext
in '' $ac_executable_extensions; do
47550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47551 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47561 if test -n "$AR"; then
47562 echo "$as_me:$LINENO: result: $AR" >&5
47563 echo "${ECHO_T}$AR" >&6
47565 echo "$as_me:$LINENO: result: no" >&5
47566 echo "${ECHO_T}no" >&6
47570 if test -z "$ac_cv_prog_AR"; then
47572 # Extract the first word of "ar", so it can be a program name with args.
47573 set dummy
ar; ac_word
=$2
47574 echo "$as_me:$LINENO: checking for $ac_word" >&5
47575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47576 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47577 echo $ECHO_N "(cached) $ECHO_C" >&6
47579 if test -n "$ac_ct_AR"; then
47580 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47583 for as_dir
in $PATH
47586 test -z "$as_dir" && as_dir
=.
47587 for ac_exec_ext
in '' $ac_executable_extensions; do
47588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47589 ac_cv_prog_ac_ct_AR
="ar"
47590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47596 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47599 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47600 if test -n "$ac_ct_AR"; then
47601 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47602 echo "${ECHO_T}$ac_ct_AR" >&6
47604 echo "$as_me:$LINENO: result: no" >&5
47605 echo "${ECHO_T}no" >&6
47610 AR
="$ac_cv_prog_AR"
47617 if test -n "$ac_tool_prefix"; then
47618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47619 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47620 echo "$as_me:$LINENO: checking for $ac_word" >&5
47621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47622 if test "${ac_cv_prog_STRIP+set}" = set; then
47623 echo $ECHO_N "(cached) $ECHO_C" >&6
47625 if test -n "$STRIP"; then
47626 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47629 for as_dir
in $PATH
47632 test -z "$as_dir" && as_dir
=.
47633 for ac_exec_ext
in '' $ac_executable_extensions; do
47634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47635 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47644 STRIP
=$ac_cv_prog_STRIP
47645 if test -n "$STRIP"; then
47646 echo "$as_me:$LINENO: result: $STRIP" >&5
47647 echo "${ECHO_T}$STRIP" >&6
47649 echo "$as_me:$LINENO: result: no" >&5
47650 echo "${ECHO_T}no" >&6
47654 if test -z "$ac_cv_prog_STRIP"; then
47656 # Extract the first word of "strip", so it can be a program name with args.
47657 set dummy strip
; ac_word
=$2
47658 echo "$as_me:$LINENO: checking for $ac_word" >&5
47659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47660 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47661 echo $ECHO_N "(cached) $ECHO_C" >&6
47663 if test -n "$ac_ct_STRIP"; then
47664 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47667 for as_dir
in $PATH
47670 test -z "$as_dir" && as_dir
=.
47671 for ac_exec_ext
in '' $ac_executable_extensions; do
47672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47673 ac_cv_prog_ac_ct_STRIP
="strip"
47674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47680 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47683 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47684 if test -n "$ac_ct_STRIP"; then
47685 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47686 echo "${ECHO_T}$ac_ct_STRIP" >&6
47688 echo "$as_me:$LINENO: result: no" >&5
47689 echo "${ECHO_T}no" >&6
47694 STRIP
="$ac_cv_prog_STRIP"
47697 if test -n "$ac_tool_prefix"; then
47698 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47699 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47700 echo "$as_me:$LINENO: checking for $ac_word" >&5
47701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47702 if test "${ac_cv_prog_NM+set}" = set; then
47703 echo $ECHO_N "(cached) $ECHO_C" >&6
47705 if test -n "$NM"; then
47706 ac_cv_prog_NM
="$NM" # Let the user override the test.
47708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47709 for as_dir
in $PATH
47712 test -z "$as_dir" && as_dir
=.
47713 for ac_exec_ext
in '' $ac_executable_extensions; do
47714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47715 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47725 if test -n "$NM"; then
47726 echo "$as_me:$LINENO: result: $NM" >&5
47727 echo "${ECHO_T}$NM" >&6
47729 echo "$as_me:$LINENO: result: no" >&5
47730 echo "${ECHO_T}no" >&6
47734 if test -z "$ac_cv_prog_NM"; then
47736 # Extract the first word of "nm", so it can be a program name with args.
47737 set dummy nm
; ac_word
=$2
47738 echo "$as_me:$LINENO: checking for $ac_word" >&5
47739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47740 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47741 echo $ECHO_N "(cached) $ECHO_C" >&6
47743 if test -n "$ac_ct_NM"; then
47744 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47747 for as_dir
in $PATH
47750 test -z "$as_dir" && as_dir
=.
47751 for ac_exec_ext
in '' $ac_executable_extensions; do
47752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47753 ac_cv_prog_ac_ct_NM
="nm"
47754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47760 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47763 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47764 if test -n "$ac_ct_NM"; then
47765 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47766 echo "${ECHO_T}$ac_ct_NM" >&6
47768 echo "$as_me:$LINENO: result: no" >&5
47769 echo "${ECHO_T}no" >&6
47774 NM
="$ac_cv_prog_NM"
47778 case ${BAKEFILE_HOST} in
47780 INSTALL_DIR
="mkdir -p"
47783 INSTALL_DIR
='$(INSTALL) -d'
47789 case ${BAKEFILE_HOST} in
47790 *-*-cygwin* | *-*-mingw32* )
47791 LDFLAGS_GUI
="-mwindows"
47797 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47798 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47799 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47800 echo $ECHO_N "(cached) $ECHO_C" >&6
47803 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47804 egrep -s GNU
> /dev
/null
); then
47805 bakefile_cv_prog_makeisgnu
="yes"
47807 bakefile_cv_prog_makeisgnu
="no"
47811 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47812 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47814 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47831 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47832 case "${BAKEFILE_HOST}" in
47839 *-pc-os2_emx | *-pc-os2-emx )
47849 powerpc
-apple-macos* )
47858 case "$BAKEFILE_FORCE_PLATFORM" in
47879 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47880 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47881 { (exit 1); exit 1; }; }
47896 # Check whether --enable-omf or --disable-omf was given.
47897 if test "${enable_omf+set}" = set; then
47898 enableval
="$enable_omf"
47899 bk_os2_use_omf
="$enableval"
47902 case "${BAKEFILE_HOST}" in
47904 if test "x$GCC" = "xyes"; then
47905 CFLAGS
="$CFLAGS -fno-common"
47906 CXXFLAGS
="$CXXFLAGS -fno-common"
47908 if test "x$XLCC" = "xyes"; then
47909 CFLAGS
="$CFLAGS -qnocommon"
47910 CXXFLAGS
="$CXXFLAGS -qnocommon"
47914 *-pc-os2_emx | *-pc-os2-emx )
47915 if test "x$bk_os2_use_omf" = "xyes" ; then
47918 LDFLAGS
="-Zomf $LDFLAGS"
47919 CFLAGS
="-Zomf $CFLAGS"
47920 CXXFLAGS
="-Zomf $CXXFLAGS"
47928 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47934 SO_SUFFIX_MODULE
="so"
47939 DLLPREFIX_MODULE
=""
47943 case "${BAKEFILE_HOST}" in
47946 SO_SUFFIX_MODULE
="sl"
47950 SO_SUFFIX_MODULE
="a"
47954 SO_SUFFIX_MODULE
="dll"
47955 DLLIMP_SUFFIX
="dll.a"
47962 SO_SUFFIX_MODULE
="dll"
47963 DLLIMP_SUFFIX
="dll.a"
47973 *-pc-os2_emx | *-pc-os2-emx )
47975 SO_SUFFIX_MODULE
="dll"
47976 DLLIMP_SUFFIX
=$OS2_LIBEXT
47980 LIBEXT
=".$OS2_LIBEXT"
47985 SO_SUFFIX_MODULE
="bundle"
47989 if test "x$DLLIMP_SUFFIX" = "x" ; then
47990 DLLIMP_SUFFIX
="$SO_SUFFIX"
48005 if test "x$GCC" = "xyes"; then
48009 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48010 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48013 case "${BAKEFILE_HOST}" in
48015 if test "x$GCC" != "xyes"; then
48016 LDFLAGS
="$LDFLAGS -L/usr/lib"
48018 SHARED_LD_CC
="${CC} -b -o"
48019 SHARED_LD_CXX
="${CXX} -b -o"
48025 if test "x$GCC" != "xyes"; then
48026 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48027 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48028 if test "${bakefile_cv_prog_icc+set}" = set; then
48029 echo $ECHO_N "(cached) $ECHO_C" >&6
48032 cat >conftest.
$ac_ext <<_ACEOF
48035 cat confdefs.h
>>conftest.
$ac_ext
48036 cat >>conftest.
$ac_ext <<_ACEOF
48037 /* end confdefs.h. */
48043 #ifndef __INTEL_COMPILER
48051 rm -f conftest.
$ac_objext
48052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48053 (eval $ac_compile) 2>conftest.er1
48055 grep -v '^ *+' conftest.er1
>conftest.err
48057 cat conftest.err
>&5
48058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48059 (exit $ac_status); } &&
48060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48062 (eval $ac_try) 2>&5
48064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48065 (exit $ac_status); }; } &&
48066 { ac_try
='test -s conftest.$ac_objext'
48067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48068 (eval $ac_try) 2>&5
48070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48071 (exit $ac_status); }; }; then
48072 bakefile_cv_prog_icc
=yes
48074 echo "$as_me: failed program was:" >&5
48075 sed 's/^/| /' conftest.
$ac_ext >&5
48077 bakefile_cv_prog_icc
=no
48080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48083 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48084 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48085 if test "$bakefile_cv_prog_icc" = "yes"; then
48092 if test "x$GCC" != xyes
; then
48093 SHARED_LD_CC
="${CC} -G -o"
48094 SHARED_LD_CXX
="${CXX} -G -o"
48102 cat <<EOF >shared-ld-sh
48104 #-----------------------------------------------------------------------------
48105 #-- Name: distrib/mac/shared-ld-sh
48106 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48107 #-- Author: Gilles Depeyrot
48108 #-- Copyright: (c) 2002 Gilles Depeyrot
48109 #-- Licence: any use permitted
48110 #-----------------------------------------------------------------------------
48115 linking_flag="-dynamiclib"
48116 ldargs="-r -keep_private_externs -nostdlib"
48118 while test ${D}# -gt 0; do
48125 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48126 # collect these options and values
48127 args="${D}{args} ${D}1 ${D}2"
48132 # collect these load args
48133 ldargs="${D}{ldargs} ${D}1"
48136 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48137 # collect these options
48138 args="${D}{args} ${D}1"
48141 -dynamiclib|-bundle)
48142 linking_flag="${D}1"
48146 echo "shared-ld: unhandled option '${D}1'"
48150 *.o | *.a | *.dylib)
48151 # collect object files
48152 objects="${D}{objects} ${D}1"
48156 echo "shared-ld: unhandled argument '${D}1'"
48167 # Link one module containing all the others
48169 if test ${D}{verbose} = 1; then
48170 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48172 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48176 # Link the shared library from the single module created, but only if the
48177 # previous command didn't fail:
48179 if test ${D}{status} = 0; then
48180 if test ${D}{verbose} = 1; then
48181 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48183 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48188 # Remove intermediate module
48190 rm -f master.${D}${D}.o
48195 chmod +x shared
-ld-sh
48197 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48198 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
48201 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48202 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48203 if test "${bakefile_cv_gcc31+set}" = set; then
48204 echo $ECHO_N "(cached) $ECHO_C" >&6
48207 cat >conftest.
$ac_ext <<_ACEOF
48210 cat confdefs.h
>>conftest.
$ac_ext
48211 cat >>conftest.
$ac_ext <<_ACEOF
48212 /* end confdefs.h. */
48218 #if (__GNUC__ < 3) || \
48219 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48227 rm -f conftest.
$ac_objext
48228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48229 (eval $ac_compile) 2>conftest.er1
48231 grep -v '^ *+' conftest.er1
>conftest.err
48233 cat conftest.err
>&5
48234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48235 (exit $ac_status); } &&
48236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48238 (eval $ac_try) 2>&5
48240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48241 (exit $ac_status); }; } &&
48242 { ac_try
='test -s conftest.$ac_objext'
48243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48244 (eval $ac_try) 2>&5
48246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48247 (exit $ac_status); }; }; then
48249 bakefile_cv_gcc31
=yes
48252 echo "$as_me: failed program was:" >&5
48253 sed 's/^/| /' conftest.
$ac_ext >&5
48256 bakefile_cv_gcc31
=no
48260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48263 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48264 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48265 if test "$bakefile_cv_gcc31" = "no"; then
48266 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48267 SHARED_LD_CXX
="$SHARED_LD_CC"
48269 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48270 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48273 if test "x$GCC" == "xyes"; then
48274 PIC_FLAG
="-dynamic -fPIC"
48276 if test "x$XLCC" = "xyes"; then
48277 PIC_FLAG
="-dynamic -DPIC"
48282 if test "x$GCC" = "xyes"; then
48285 case "${BAKEFILE_HOST}" in
48287 LD_EXPFULL
="-Wl,-bexpfull"
48291 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48292 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48294 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48295 set dummy makeC
++SharedLib
; ac_word
=$2
48296 echo "$as_me:$LINENO: checking for $ac_word" >&5
48297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48298 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48299 echo $ECHO_N "(cached) $ECHO_C" >&6
48301 if test -n "$AIX_CXX_LD"; then
48302 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48305 for as_dir
in $PATH
48308 test -z "$as_dir" && as_dir
=.
48309 for ac_exec_ext
in '' $ac_executable_extensions; do
48310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48311 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48318 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48321 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48322 if test -n "$AIX_CXX_LD"; then
48323 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48324 echo "${ECHO_T}$AIX_CXX_LD" >&6
48326 echo "$as_me:$LINENO: result: no" >&5
48327 echo "${ECHO_T}no" >&6
48330 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48331 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48336 SHARED_LD_CC
="${LD} -nostart -o"
48337 SHARED_LD_CXX
="${LD} -nostart -o"
48341 if test "x$GCC" != "xyes"; then
48346 *-*-cygwin* | *-*-mingw32* )
48348 SHARED_LD_CC
="\$(CC) -shared -o"
48349 SHARED_LD_CXX
="\$(CXX) -shared -o"
48353 *-pc-os2_emx | *-pc-os2-emx )
48354 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48355 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48359 cat <<EOF >dllar.sh
48362 # dllar - a tool to build both a .dll and an .a file
48363 # from a set of object (.o) files for EMX/OS2.
48365 # Written by Andrew Zabolotny, bit@freya.etu.ru
48366 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48368 # This script will accept a set of files on the command line.
48369 # All the public symbols from the .o files will be exported into
48370 # a .DEF file, then linker will be run (through gcc) against them to
48371 # build a shared library consisting of all given .o files. All libraries
48372 # (.a) will be first decompressed into component .o files then act as
48373 # described above. You can optionally give a description (-d "description")
48374 # which will be put into .DLL. To see the list of accepted options (as well
48375 # as command-line format) simply run this program without options. The .DLL
48376 # is built to be imported by name (there is no guarantee that new versions
48377 # of the library you build will have same ordinals for same symbols).
48379 # dllar is free software; you can redistribute it and/or modify
48380 # it under the terms of the GNU General Public License as published by
48381 # the Free Software Foundation; either version 2, or (at your option)
48382 # any later version.
48384 # dllar is distributed in the hope that it will be useful,
48385 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48386 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48387 # GNU General Public License for more details.
48389 # You should have received a copy of the GNU General Public License
48390 # along with dllar; see the file COPYING. If not, write to the Free
48391 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48394 # To successfuly run this program you will need:
48395 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48396 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48398 # (used to build the .dll)
48400 # (used to create .def file from .o files)
48402 # (used to create .a file from .def file)
48403 # - GNU text utilites (cat, sort, uniq)
48404 # used to process emxexp output
48405 # - GNU file utilities (mv, rm)
48407 # - lxlite (optional, see flag below)
48408 # (used for general .dll cleanup)
48415 # basnam, variant of basename, which does _not_ remove the path, _iff_
48416 # second argument (suffix to remove) is given
48420 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48423 echo ${D}1 | sed 's/'${D}2'${D}//'
48426 echo "error in basnam ${D}*"
48432 # Cleanup temporary files and output
48435 for i in ${D}inputFiles ; do
48438 rm -rf \`basnam ${D}i !\`
48445 # Kill result in case of failure as there is just to many stupid make/nmake
48446 # things out there which doesn't do this.
48447 if [ ${D}# -eq 0 ]; then
48448 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48452 # Print usage and exit script with rc=1.
48454 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48455 echo ' [-name-mangler-script script.sh]'
48456 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48457 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48458 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48459 echo ' [*.o] [*.a]'
48460 echo '*> "output_file" should have no extension.'
48461 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48462 echo ' The import library name is derived from this and is set to "name".a,'
48463 echo ' unless overridden by -import'
48464 echo '*> "importlib_name" should have no extension.'
48465 echo ' If it has the .o, or .a extension, it is automatically removed.'
48466 echo ' This name is used as the import library name and may be longer and'
48467 echo ' more descriptive than the DLL name which has to follow the old '
48468 echo ' 8.3 convention of FAT.'
48469 echo '*> "script.sh may be given to override the output_file name by a'
48470 echo ' different name. It is mainly useful if the regular make process'
48471 echo ' of some package does not take into account OS/2 restriction of'
48472 echo ' DLL name lengths. It takes the importlib name as input and is'
48473 echo ' supposed to procude a shorter name as output. The script should'
48474 echo ' expect to get importlib_name without extension and should produce'
48475 echo ' a (max.) 8 letter name without extension.'
48476 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48477 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48478 echo ' These flags will be put at the start of GCC command line.'
48479 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48480 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48481 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48482 echo ' If the last character of a symbol is "*", all symbols beginning'
48483 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48484 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48485 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48486 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48487 echo ' C runtime DLLs.'
48488 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48489 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48490 echo ' unchanged to GCC at the end of command line.'
48491 echo '*> If you create a DLL from a library and you do not specify -o,'
48492 echo ' the basename for DLL and import library will be set to library name,'
48493 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48494 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48495 echo ' library will be renamed into gcc_s.a.'
48498 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48499 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48504 # Execute a command.
48505 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48506 # @Uses Whatever CleanUp() uses.
48512 if [ ${D}rcCmd -ne 0 ]; then
48513 echo "command failed, exit code="${D}rcCmd
48528 CFLAGS="-s -Zcrtdll"
48530 EXPORT_BY_ORDINALS=0
48535 case ${D}curDirS in
48539 curDirS=${D}{curDirS}"/"
48542 # Parse commandline
48545 while [ ${D}1 ]; do
48548 EXPORT_BY_ORDINALS=1;
48558 -name-mangler-script)
48579 exclude_symbols=${D}{exclude_symbols}${D}1" "
48583 library_flags=${D}{library_flags}${D}1" "
48602 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48605 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48606 if [ ${D}omfLinking -eq 1 ]; then
48607 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48609 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48614 if [ ${D}libsToLink -ne 0 ]; then
48615 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48617 for file in ${D}1 ; do
48618 if [ -f ${D}file ]; then
48619 inputFiles="${D}{inputFiles} ${D}file"
48623 if [ ${D}found -eq 0 ]; then
48624 echo "ERROR: No file(s) found: "${D}1
48631 done # iterate cmdline words
48634 if [ -z "${D}inputFiles" ]; then
48635 echo "dllar: no input files"
48639 # Now extract all .o files from .a files
48641 for file in ${D}inputFiles ; do
48652 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48657 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48659 if [ ${D}? -ne 0 ]; then
48660 echo "Failed to create subdirectory ./${D}dirname"
48664 # Append '!' to indicate archive
48665 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48666 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48669 for subfile in ${D}dirname/*.o* ; do
48670 if [ -f ${D}subfile ]; then
48672 if [ -s ${D}subfile ]; then
48673 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48674 newInputFiles="${D}newInputFiles ${D}subfile"
48678 if [ ${D}found -eq 0 ]; then
48679 echo "WARNING: there are no files in archive \\'${D}file\\'"
48683 newInputFiles="${D}{newInputFiles} ${D}file"
48687 inputFiles="${D}newInputFiles"
48689 # Output filename(s).
48691 if [ -z ${D}outFile ]; then
48693 set outFile ${D}inputFiles; outFile=${D}2
48696 # If it is an archive, remove the '!' and the '_%' suffixes
48697 case ${D}outFile in
48699 outFile=\`basnam ${D}outFile _%!\`
48704 case ${D}outFile in
48706 outFile=\`basnam ${D}outFile .dll\`
48709 outFile=\`basnam ${D}outFile .DLL\`
48712 outFile=\`basnam ${D}outFile .o\`
48715 outFile=\`basnam ${D}outFile .obj\`
48718 outFile=\`basnam ${D}outFile .a\`
48721 outFile=\`basnam ${D}outFile .lib\`
48726 case ${D}outimpFile in
48728 outimpFile=\`basnam ${D}outimpFile .a\`
48731 outimpFile=\`basnam ${D}outimpFile .lib\`
48736 if [ -z ${D}outimpFile ]; then
48737 outimpFile=${D}outFile
48739 defFile="${D}{outFile}.def"
48740 arcFile="${D}{outimpFile}.a"
48741 arcFile2="${D}{outimpFile}.lib"
48743 #create ${D}dllFile as something matching 8.3 restrictions,
48744 if [ -z ${D}renameScript ] ; then
48745 dllFile="${D}outFile"
48747 dllFile=\`${D}renameScript ${D}outimpFile\`
48750 if [ ${D}do_backup -ne 0 ] ; then
48751 if [ -f ${D}arcFile ] ; then
48752 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48754 if [ -f ${D}arcFile2 ] ; then
48755 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48759 # Extract public symbols from all the object files.
48760 tmpdefFile=${D}{defFile}_%
48761 rm -f ${D}tmpdefFile
48762 for file in ${D}inputFiles ; do
48767 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48772 # Create the def file.
48774 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48775 dllFile="${D}{dllFile}.dll"
48776 if [ ! -z ${D}description ]; then
48777 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48779 echo "EXPORTS" >> ${D}defFile
48781 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48782 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48784 # Checks if the export is ok or not.
48785 for word in ${D}exclude_symbols; do
48786 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48787 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48791 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48792 sed "=" < ${D}tmpdefFile | \\
48796 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48798 ' > ${D}{tmpdefFile}%
48799 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48801 rm -f ${D}{tmpdefFile}%
48803 cat ${D}tmpdefFile >> ${D}defFile
48804 rm -f ${D}tmpdefFile
48806 # Do linking, create implib, and apply lxlite.
48808 for file in ${D}inputFiles ; do
48813 gccCmdl="${D}gccCmdl ${D}file"
48817 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48818 touch "${D}{outFile}.dll"
48820 doCommand "emximp -o ${D}arcFile ${D}defFile"
48821 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48823 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48826 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48828 doCommand "emxomf -s -l ${D}arcFile"
48838 powerpc
-apple-macos* | \
48839 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48851 if test "x$PIC_FLAG" != "x" ; then
48852 PIC_FLAG
="$PIC_FLAG -DPIC"
48855 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48856 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48858 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48859 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48878 case "${BAKEFILE_HOST}" in
48879 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48880 SONAME_FLAG
="-Wl,-soname,"
48914 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48915 if test "${enable_dependency_tracking+set}" = set; then
48916 enableval
="$enable_dependency_tracking"
48917 bk_use_trackdeps
="$enableval"
48920 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48921 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48924 if test "x$bk_use_trackdeps" = "xno" ; then
48926 echo "$as_me:$LINENO: result: disabled" >&5
48927 echo "${ECHO_T}disabled" >&6
48931 if test "x$GCC" = "xyes"; then
48933 case "${BAKEFILE_HOST}" in
48935 DEPSFLAG
="-no-cpp-precomp -MMD"
48941 echo "$as_me:$LINENO: result: gcc" >&5
48942 echo "${ECHO_T}gcc" >&6
48943 elif test "x$MWCC" = "xyes"; then
48946 echo "$as_me:$LINENO: result: mwcc" >&5
48947 echo "${ECHO_T}mwcc" >&6
48948 elif test "x$SUNCC" = "xyes"; then
48951 echo "$as_me:$LINENO: result: Sun cc" >&5
48952 echo "${ECHO_T}Sun cc" >&6
48953 elif test "x$SGICC" = "xyes"; then
48956 echo "$as_me:$LINENO: result: SGI cc" >&5
48957 echo "${ECHO_T}SGI cc" >&6
48958 elif test "x$HPCC" = "xyes"; then
48961 echo "$as_me:$LINENO: result: HP cc" >&5
48962 echo "${ECHO_T}HP cc" >&6
48963 elif test "x$COMPAQCC" = "xyes"; then
48966 echo "$as_me:$LINENO: result: Compaq cc" >&5
48967 echo "${ECHO_T}Compaq cc" >&6
48970 echo "$as_me:$LINENO: result: none" >&5
48971 echo "${ECHO_T}none" >&6
48974 if test $DEPS_TRACKING = 1 ; then
48980 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48981 # script. It is used to track C/C++ files dependencies in portable way.
48983 # Permission is given to use this file in any way.
48985 DEPSMODE=${DEPSMODE}
48987 DEPSFLAG="${DEPSFLAG}"
48989 mkdir -p ${D}DEPSDIR
48991 if test ${D}DEPSMODE = gcc ; then
48992 ${D}* ${D}{DEPSFLAG}
48994 if test ${D}{status} != 0 ; then
48997 # move created file to the location we want it in:
48998 while test ${D}# -gt 0; do
49012 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49013 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49014 if test -f ${D}depfile ; then
49015 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49018 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49019 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49020 if test ! -f ${D}depfile ; then
49021 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49022 depfile="${D}objfile.d"
49024 if test -f ${D}depfile ; then
49025 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49030 elif test ${D}DEPSMODE = mwcc ; then
49031 ${D}* || exit ${D}?
49032 # Run mwcc again with -MM and redirect into the dep file we want
49033 # NOTE: We can't use shift here because we need ${D}* to be valid
49035 for arg in ${D}* ; do
49036 if test "${D}prevarg" = "-o"; then
49049 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49051 elif test ${D}DEPSMODE = unixcc; then
49052 ${D}* || exit ${D}?
49053 # Run compiler again with deps flag and redirect into the dep file.
49054 # It doesn't work if the '-o FILE' option is used, but without it the
49055 # dependency file will contain the wrong name for the object. So it is
49056 # removed from the command line, and the dep file is fixed with sed.
49058 while test ${D}# -gt 0; do
49065 eval arg${D}#=\\${D}1
49066 cmd="${D}cmd \\${D}arg${D}#"
49071 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49080 BK_DEPS
="`pwd`/bk-deps"
49088 case ${BAKEFILE_HOST} in
49089 *-*-cygwin* | *-*-mingw32* )
49090 if test -n "$ac_tool_prefix"; then
49091 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49092 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49093 echo "$as_me:$LINENO: checking for $ac_word" >&5
49094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49095 if test "${ac_cv_prog_WINDRES+set}" = set; then
49096 echo $ECHO_N "(cached) $ECHO_C" >&6
49098 if test -n "$WINDRES"; then
49099 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49102 for as_dir
in $PATH
49105 test -z "$as_dir" && as_dir
=.
49106 for ac_exec_ext
in '' $ac_executable_extensions; do
49107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49108 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49117 WINDRES
=$ac_cv_prog_WINDRES
49118 if test -n "$WINDRES"; then
49119 echo "$as_me:$LINENO: result: $WINDRES" >&5
49120 echo "${ECHO_T}$WINDRES" >&6
49122 echo "$as_me:$LINENO: result: no" >&5
49123 echo "${ECHO_T}no" >&6
49127 if test -z "$ac_cv_prog_WINDRES"; then
49128 ac_ct_WINDRES
=$WINDRES
49129 # Extract the first word of "windres", so it can be a program name with args.
49130 set dummy windres
; ac_word
=$2
49131 echo "$as_me:$LINENO: checking for $ac_word" >&5
49132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49133 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49134 echo $ECHO_N "(cached) $ECHO_C" >&6
49136 if test -n "$ac_ct_WINDRES"; then
49137 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49140 for as_dir
in $PATH
49143 test -z "$as_dir" && as_dir
=.
49144 for ac_exec_ext
in '' $ac_executable_extensions; do
49145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49146 ac_cv_prog_ac_ct_WINDRES
="windres"
49147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49155 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49156 if test -n "$ac_ct_WINDRES"; then
49157 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49158 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49160 echo "$as_me:$LINENO: result: no" >&5
49161 echo "${ECHO_T}no" >&6
49164 WINDRES
=$ac_ct_WINDRES
49166 WINDRES
="$ac_cv_prog_WINDRES"
49171 *-*-darwin* | powerpc
-apple-macos* )
49172 # Extract the first word of "Rez", so it can be a program name with args.
49173 set dummy Rez
; ac_word
=$2
49174 echo "$as_me:$LINENO: checking for $ac_word" >&5
49175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49176 if test "${ac_cv_prog_REZ+set}" = set; then
49177 echo $ECHO_N "(cached) $ECHO_C" >&6
49179 if test -n "$REZ"; then
49180 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49183 for as_dir
in $PATH
49186 test -z "$as_dir" && as_dir
=.
49187 for ac_exec_ext
in '' $ac_executable_extensions; do
49188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49189 ac_cv_prog_REZ
="Rez"
49190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49196 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49199 REZ
=$ac_cv_prog_REZ
49200 if test -n "$REZ"; then
49201 echo "$as_me:$LINENO: result: $REZ" >&5
49202 echo "${ECHO_T}$REZ" >&6
49204 echo "$as_me:$LINENO: result: no" >&5
49205 echo "${ECHO_T}no" >&6
49208 # Extract the first word of "SetFile", so it can be a program name with args.
49209 set dummy SetFile
; ac_word
=$2
49210 echo "$as_me:$LINENO: checking for $ac_word" >&5
49211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49212 if test "${ac_cv_prog_SETFILE+set}" = set; then
49213 echo $ECHO_N "(cached) $ECHO_C" >&6
49215 if test -n "$SETFILE"; then
49216 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49219 for as_dir
in $PATH
49222 test -z "$as_dir" && as_dir
=.
49223 for ac_exec_ext
in '' $ac_executable_extensions; do
49224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49225 ac_cv_prog_SETFILE
="SetFile"
49226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49232 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49235 SETFILE
=$ac_cv_prog_SETFILE
49236 if test -n "$SETFILE"; then
49237 echo "$as_me:$LINENO: result: $SETFILE" >&5
49238 echo "${ECHO_T}$SETFILE" >&6
49240 echo "$as_me:$LINENO: result: no" >&5
49241 echo "${ECHO_T}no" >&6
49252 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.1"
49255 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.1"
49259 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49260 if test "${enable_precomp_headers+set}" = set; then
49261 enableval
="$enable_precomp_headers"
49262 bk_use_pch
="$enableval"
49270 case ${BAKEFILE_HOST} in
49276 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49277 if test "x$GCC" = "xyes"; then
49278 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49279 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49280 cat >conftest.
$ac_ext <<_ACEOF
49283 cat confdefs.h
>>conftest.
$ac_ext
49284 cat >>conftest.
$ac_ext <<_ACEOF
49285 /* end confdefs.h. */
49291 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49292 There is no PCH support
49295 There is no PCH support
49297 #if (__GNUC__ == 3) && \
49298 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49299 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49300 ( defined(__INTEL_COMPILER) )
49301 There is no PCH support
49308 rm -f conftest.
$ac_objext
49309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49310 (eval $ac_compile) 2>conftest.er1
49312 grep -v '^ *+' conftest.er1
>conftest.err
49314 cat conftest.err
>&5
49315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49316 (exit $ac_status); } &&
49317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49319 (eval $ac_try) 2>&5
49321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49322 (exit $ac_status); }; } &&
49323 { ac_try
='test -s conftest.$ac_objext'
49324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49325 (eval $ac_try) 2>&5
49327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49328 (exit $ac_status); }; }; then
49330 echo "$as_me:$LINENO: result: yes" >&5
49331 echo "${ECHO_T}yes" >&6
49335 echo "$as_me: failed program was:" >&5
49336 sed 's/^/| /' conftest.
$ac_ext >&5
49339 cat >conftest.
$ac_ext <<_ACEOF
49342 cat confdefs.h
>>conftest.
$ac_ext
49343 cat >>conftest.
$ac_ext <<_ACEOF
49344 /* end confdefs.h. */
49350 #if !defined(__INTEL_COMPILER) || \
49351 (__INTEL_COMPILER < 800)
49352 There is no PCH support
49359 rm -f conftest.
$ac_objext
49360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49361 (eval $ac_compile) 2>conftest.er1
49363 grep -v '^ *+' conftest.er1
>conftest.err
49365 cat conftest.err
>&5
49366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49367 (exit $ac_status); } &&
49368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49370 (eval $ac_try) 2>&5
49372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49373 (exit $ac_status); }; } &&
49374 { ac_try
='test -s conftest.$ac_objext'
49375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49376 (eval $ac_try) 2>&5
49378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49379 (exit $ac_status); }; }; then
49381 echo "$as_me:$LINENO: result: yes" >&5
49382 echo "${ECHO_T}yes" >&6
49386 echo "$as_me: failed program was:" >&5
49387 sed 's/^/| /' conftest.
$ac_ext >&5
49390 echo "$as_me:$LINENO: result: no" >&5
49391 echo "${ECHO_T}no" >&6
49394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49398 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49402 cat <<EOF >bk-make-pch
49405 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49406 # script. It is used to generated precompiled headers.
49408 # Permission is given to use this file in any way.
49418 while test ${D}{#} -gt 0; do
49422 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49423 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49424 headerfile="${D}{incdir}/${D}{header}"
49427 -use-pch|-use_pch )
49432 if test ${D}add_to_cmdline = 1 ; then
49433 compiler="${D}{compiler} ${D}{1}"
49438 if test "x${D}{headerfile}" = "x" ; then
49439 echo "error: can't find header ${D}{header} in include paths" >&2
49441 if test -f ${D}{outfile} ; then
49442 rm -f ${D}{outfile}
49444 mkdir -p \`dirname ${D}{outfile}\`
49446 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49448 if test "x${GCC_PCH}" = "x1" ; then
49449 # can do this because gcc is >= 3.4:
49450 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49451 elif test "x${ICC_PCH}" = "x1" ; then
49452 filename=pch_gen-${D}${D}
49453 file=${D}{filename}.c
49454 dfile=${D}{filename}.d
49455 cat > ${D}file <<EOT
49456 #include "${D}header"
49458 # using -MF icc complains about differing command lines in creation/use
49459 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49460 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49461 rm -f ${D}file ${D}dfile ${D}{filename}.o
49467 chmod +x bk
-make-pch
49468 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49477 COND_BUILD_DEBUG
="#"
49478 if test "x$BUILD" = "xdebug" ; then
49479 COND_BUILD_DEBUG
=""
49482 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49483 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49484 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49487 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49488 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49489 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49492 COND_BUILD_DEBUG_UNICODE_0
="#"
49493 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49494 COND_BUILD_DEBUG_UNICODE_0
=""
49497 COND_BUILD_DEBUG_UNICODE_1
="#"
49498 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49499 COND_BUILD_DEBUG_UNICODE_1
=""
49502 COND_BUILD_RELEASE
="#"
49503 if test "x$BUILD" = "xrelease" ; then
49504 COND_BUILD_RELEASE
=""
49507 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49508 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49509 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49512 COND_BUILD_RELEASE_UNICODE_0
="#"
49513 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49514 COND_BUILD_RELEASE_UNICODE_0
=""
49517 COND_BUILD_RELEASE_UNICODE_1
="#"
49518 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49519 COND_BUILD_RELEASE_UNICODE_1
=""
49522 COND_DEBUG_FLAG_1
="#"
49523 if test "x$DEBUG_FLAG" = "x1" ; then
49524 COND_DEBUG_FLAG_1
=""
49527 COND_DEBUG_INFO_0
="#"
49528 if test "x$DEBUG_INFO" = "x0" ; then
49529 COND_DEBUG_INFO_0
=""
49532 COND_DEBUG_INFO_1
="#"
49533 if test "x$DEBUG_INFO" = "x1" ; then
49534 COND_DEBUG_INFO_1
=""
49537 COND_DEPS_TRACKING_0
="#"
49538 if test "x$DEPS_TRACKING" = "x0" ; then
49539 COND_DEPS_TRACKING_0
=""
49542 COND_DEPS_TRACKING_1
="#"
49543 if test "x$DEPS_TRACKING" = "x1" ; then
49544 COND_DEPS_TRACKING_1
=""
49548 if test "x$GCC_PCH" = "x1" ; then
49553 if test "x$ICC_PCH" = "x1" ; then
49557 COND_MONOLITHIC_0
="#"
49558 if test "x$MONOLITHIC" = "x0" ; then
49559 COND_MONOLITHIC_0
=""
49562 COND_MONOLITHIC_0_SHARED_0
="#"
49563 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49564 COND_MONOLITHIC_0_SHARED_0
=""
49567 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49568 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49569 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49572 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49573 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49574 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49577 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49578 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49579 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49582 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49583 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49584 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49587 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49588 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49589 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49592 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49593 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49594 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49597 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49598 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49599 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49602 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49603 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49604 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49607 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49608 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49609 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49612 COND_MONOLITHIC_0_SHARED_1
="#"
49613 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49614 COND_MONOLITHIC_0_SHARED_1
=""
49617 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49618 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49619 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49622 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49623 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49624 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49627 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49628 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49629 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49632 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49633 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49634 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49637 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49638 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49639 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49642 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49643 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49644 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49647 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49649 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
49652 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49654 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49657 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49659 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49662 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49663 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49664 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49667 COND_MONOLITHIC_0_USE_ODBC_1
="#"
49668 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49669 COND_MONOLITHIC_0_USE_ODBC_1
=""
49672 COND_MONOLITHIC_1
="#"
49673 if test "x$MONOLITHIC" = "x1" ; then
49674 COND_MONOLITHIC_1
=""
49677 COND_MONOLITHIC_1_SHARED_0
="#"
49678 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49679 COND_MONOLITHIC_1_SHARED_0
=""
49682 COND_MONOLITHIC_1_SHARED_1
="#"
49683 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49684 COND_MONOLITHIC_1_SHARED_1
=""
49687 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49688 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49689 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49692 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49693 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49694 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49697 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49698 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49699 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49702 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49703 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49704 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49707 COND_PLATFORM_MACOSX_1
="#"
49708 if test "x$PLATFORM_MACOSX" = "x1" ; then
49709 COND_PLATFORM_MACOSX_1
=""
49712 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49713 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49714 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49717 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49718 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49719 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49722 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49723 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49724 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49727 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49728 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49729 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49732 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49733 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49734 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49737 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49738 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49739 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49742 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49743 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49744 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49747 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49748 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49749 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49752 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49753 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49754 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49757 COND_PLATFORM_MACOS_1
="#"
49758 if test "x$PLATFORM_MACOS" = "x1" ; then
49759 COND_PLATFORM_MACOS_1
=""
49762 COND_PLATFORM_MAC_1
="#"
49763 if test "x$PLATFORM_MAC" = "x1" ; then
49764 COND_PLATFORM_MAC_1
=""
49767 COND_PLATFORM_MSDOS_0
="#"
49768 if test "x$PLATFORM_MSDOS" = "x0" ; then
49769 COND_PLATFORM_MSDOS_0
=""
49772 COND_PLATFORM_MSDOS_1
="#"
49773 if test "x$PLATFORM_MSDOS" = "x1" ; then
49774 COND_PLATFORM_MSDOS_1
=""
49777 COND_PLATFORM_OS2_1
="#"
49778 if test "x$PLATFORM_OS2" = "x1" ; then
49779 COND_PLATFORM_OS2_1
=""
49782 COND_PLATFORM_UNIX_0
="#"
49783 if test "x$PLATFORM_UNIX" = "x0" ; then
49784 COND_PLATFORM_UNIX_0
=""
49787 COND_PLATFORM_UNIX_1
="#"
49788 if test "x$PLATFORM_UNIX" = "x1" ; then
49789 COND_PLATFORM_UNIX_1
=""
49792 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49793 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49794 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49797 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49798 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49799 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49802 COND_PLATFORM_WIN32_0
="#"
49803 if test "x$PLATFORM_WIN32" = "x0" ; then
49804 COND_PLATFORM_WIN32_0
=""
49807 COND_PLATFORM_WIN32_1
="#"
49808 if test "x$PLATFORM_WIN32" = "x1" ; then
49809 COND_PLATFORM_WIN32_1
=""
49813 if test "x$SHARED" = "x0" ; then
49817 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49818 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49819 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49822 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49823 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49824 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49827 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49828 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49829 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49832 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49833 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49834 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49837 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49838 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49839 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49842 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49843 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49844 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49847 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49848 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49849 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49852 COND_SHARED_0_USE_XRC_1
="#"
49853 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49854 COND_SHARED_0_USE_XRC_1
=""
49857 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49858 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49859 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49862 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49863 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49864 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49867 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49868 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49869 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49872 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49873 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49874 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49878 if test "x$SHARED" = "x1" ; then
49882 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49883 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49884 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49887 COND_SHARED_1_USE_XRC_1
="#"
49888 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49889 COND_SHARED_1_USE_XRC_1
=""
49893 if test "x$TOOLKIT" = "x" ; then
49897 COND_TOOLKIT_COCOA
="#"
49898 if test "x$TOOLKIT" = "xCOCOA" ; then
49899 COND_TOOLKIT_COCOA
=""
49902 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49903 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49904 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49908 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49909 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49912 COND_TOOLKIT_DFB
="#"
49913 if test "x$TOOLKIT" = "xDFB" ; then
49914 COND_TOOLKIT_DFB
=""
49917 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49918 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49919 COND_TOOLKIT_DFB_USE_GUI_1
=""
49922 COND_TOOLKIT_GTK
="#"
49923 if test "x$TOOLKIT" = "xGTK" ; then
49924 COND_TOOLKIT_GTK
=""
49927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49928 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49933 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49938 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49939 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49942 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49943 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49944 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49947 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49948 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49949 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49952 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49953 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49954 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49957 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49958 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49959 COND_TOOLKIT_GTK_USE_GUI_1
=""
49962 COND_TOOLKIT_MAC
="#"
49963 if test "x$TOOLKIT" = "xMAC" ; then
49964 COND_TOOLKIT_MAC
=""
49967 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49968 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49969 COND_TOOLKIT_MAC_USE_GUI_1
=""
49972 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49973 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49974 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49977 COND_TOOLKIT_MGL
="#"
49978 if test "x$TOOLKIT" = "xMGL" ; then
49979 COND_TOOLKIT_MGL
=""
49982 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49983 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49984 COND_TOOLKIT_MGL_USE_GUI_1
=""
49987 COND_TOOLKIT_MOTIF
="#"
49988 if test "x$TOOLKIT" = "xMOTIF" ; then
49989 COND_TOOLKIT_MOTIF
=""
49992 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49993 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49994 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49997 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49998 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49999 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50002 COND_TOOLKIT_MSW
="#"
50003 if test "x$TOOLKIT" = "xMSW" ; then
50004 COND_TOOLKIT_MSW
=""
50007 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50008 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50009 COND_TOOLKIT_MSW_USE_GUI_1
=""
50012 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50013 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50014 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50017 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50018 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50019 COND_TOOLKIT_MSW_WXUNIV_0
=""
50022 COND_TOOLKIT_PM
="#"
50023 if test "x$TOOLKIT" = "xPM" ; then
50027 COND_TOOLKIT_PM_USE_GUI_1
="#"
50028 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50029 COND_TOOLKIT_PM_USE_GUI_1
=""
50032 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50033 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50034 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50037 COND_TOOLKIT_WINCE
="#"
50038 if test "x$TOOLKIT" = "xWINCE" ; then
50039 COND_TOOLKIT_WINCE
=""
50042 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50043 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50044 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50047 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50048 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50049 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50052 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50053 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50054 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50057 COND_TOOLKIT_X11
="#"
50058 if test "x$TOOLKIT" = "xX11" ; then
50059 COND_TOOLKIT_X11
=""
50062 COND_TOOLKIT_X11_USE_GUI_1
="#"
50063 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50064 COND_TOOLKIT_X11_USE_GUI_1
=""
50068 if test "x$UNICODE" = "x1" ; then
50072 COND_USE_EXCEPTIONS_0
="#"
50073 if test "x$USE_EXCEPTIONS" = "x0" ; then
50074 COND_USE_EXCEPTIONS_0
=""
50077 COND_USE_EXCEPTIONS_1
="#"
50078 if test "x$USE_EXCEPTIONS" = "x1" ; then
50079 COND_USE_EXCEPTIONS_1
=""
50083 if test "x$USE_GUI" = "x0" ; then
50088 if test "x$USE_GUI" = "x1" ; then
50092 COND_USE_GUI_1_WXUNIV_0
="#"
50093 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50094 COND_USE_GUI_1_WXUNIV_0
=""
50097 COND_USE_GUI_1_WXUNIV_1
="#"
50098 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50099 COND_USE_GUI_1_WXUNIV_1
=""
50102 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50103 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50104 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50107 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50108 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50109 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50112 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50113 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50114 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50117 COND_USE_ODBC_1
="#"
50118 if test "x$USE_ODBC" = "x1" ; then
50122 COND_USE_OPENGL_1
="#"
50123 if test "x$USE_OPENGL" = "x1" ; then
50124 COND_USE_OPENGL_1
=""
50128 if test "x$USE_PCH" = "x1" ; then
50132 COND_USE_PLUGINS_0
="#"
50133 if test "x$USE_PLUGINS" = "x0" ; then
50134 COND_USE_PLUGINS_0
=""
50137 COND_USE_RTTI_0
="#"
50138 if test "x$USE_RTTI" = "x0" ; then
50142 COND_USE_RTTI_1
="#"
50143 if test "x$USE_RTTI" = "x1" ; then
50147 COND_USE_SOSYMLINKS_1
="#"
50148 if test "x$USE_SOSYMLINKS" = "x1" ; then
50149 COND_USE_SOSYMLINKS_1
=""
50152 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50153 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50154 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50157 COND_USE_SOVERLINUX_1
="#"
50158 if test "x$USE_SOVERLINUX" = "x1" ; then
50159 COND_USE_SOVERLINUX_1
=""
50162 COND_USE_SOVERSION_0
="#"
50163 if test "x$USE_SOVERSION" = "x0" ; then
50164 COND_USE_SOVERSION_0
=""
50167 COND_USE_SOVERSOLARIS_1
="#"
50168 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50169 COND_USE_SOVERSOLARIS_1
=""
50172 COND_USE_THREADS_0
="#"
50173 if test "x$USE_THREADS" = "x0" ; then
50174 COND_USE_THREADS_0
=""
50177 COND_USE_THREADS_1
="#"
50178 if test "x$USE_THREADS" = "x1" ; then
50179 COND_USE_THREADS_1
=""
50183 if test "x$USE_XRC" = "x1" ; then
50187 COND_WINDOWS_IMPLIB_1
="#"
50188 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50189 COND_WINDOWS_IMPLIB_1
=""
50192 COND_WITH_PLUGIN_SDL_1
="#"
50193 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50194 COND_WITH_PLUGIN_SDL_1
=""
50198 if test "x$WXUNIV" = "x0" ; then
50203 if test "x$WXUNIV" = "x1" ; then
50207 COND_WXUSE_EXPAT_BUILTIN
="#"
50208 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50209 COND_WXUSE_EXPAT_BUILTIN
=""
50212 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50213 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50214 COND_WXUSE_LIBJPEG_BUILTIN
=""
50217 COND_WXUSE_LIBPNG_BUILTIN
="#"
50218 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50219 COND_WXUSE_LIBPNG_BUILTIN
=""
50222 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50223 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50224 COND_WXUSE_LIBTIFF_BUILTIN
=""
50227 COND_WXUSE_ODBC_BUILTIN
="#"
50228 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50229 COND_WXUSE_ODBC_BUILTIN
=""
50232 COND_WXUSE_REGEX_BUILTIN
="#"
50233 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50234 COND_WXUSE_REGEX_BUILTIN
=""
50237 COND_WXUSE_ZLIB_BUILTIN
="#"
50238 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50239 COND_WXUSE_ZLIB_BUILTIN
=""
50244 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50245 { { 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
50246 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;}
50247 { (exit 1); exit 1; }; }
50250 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50251 { { 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
50252 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;}
50253 { (exit 1); exit 1; }; }
50257 if test $GCC_PCH = 1
50259 if test "$wx_cv_gcc_pch_bug" = yes; then
50260 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50261 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50262 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50263 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50264 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50265 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50268 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
50272 if test "$wxUSE_MAC" = 1 ; then
50273 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50274 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50280 if test "$wxUSE_SHARED" = "yes"; then
50282 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
50283 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
50286 *-pc-os2_emx | *-pc-os2-emx )
50287 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50288 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50289 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50290 cp -p ${srcdir}/src
/os
2/dllar.sh .
50295 EXE_LINKER
="$CXX -o"
50298 if test "$wxUSE_OMF" = "yes"; then
50300 *-pc-os2_emx | *-pc-os2-emx )
50301 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50302 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50303 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50308 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50310 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50372 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50373 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50374 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
50375 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50376 echo $ECHO_N "(cached) $ECHO_C" >&6
50378 cat >conftest.
make <<\_ACEOF
50380 @
echo 'ac_maketemp="$(MAKE)"'
50382 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50383 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50384 if test -n "$ac_maketemp"; then
50385 eval ac_cv_prog_make_
${ac_make}_set
=yes
50387 eval ac_cv_prog_make_
${ac_make}_set
=no
50389 rm -f conftest.
make
50391 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50392 echo "$as_me:$LINENO: result: yes" >&5
50393 echo "${ECHO_T}yes" >&6
50396 echo "$as_me:$LINENO: result: no" >&5
50397 echo "${ECHO_T}no" >&6
50398 SET_MAKE
="MAKE=${MAKE-make}"
50403 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50406 if test "$USE_WIN32" = 1; then
50407 ac_config_commands
="$ac_config_commands
50413 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50416 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50419 if test "$wx_cv_version_script" = "yes"; then
50420 ac_config_files
="$ac_config_files version-script"
50423 ac_config_files
="$ac_config_files Makefile"
50426 ac_config_commands
="$ac_config_commands wx-config"
50430 if test "$wxWITH_SUBDIRS" != "no"; then
50431 if test "$wxUSE_GUI" = "yes"; then
50432 SUBDIRS
="samples demos utils contrib"
50433 else SUBDIRS
="samples utils"
50438 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50439 if test "${with_cppunit_prefix+set}" = set; then
50440 withval
="$with_cppunit_prefix"
50441 cppunit_config_prefix
="$withval"
50443 cppunit_config_prefix
=""
50446 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50447 if test "${with_cppunit_exec_prefix+set}" = set; then
50448 withval
="$with_cppunit_exec_prefix"
50449 cppunit_config_exec_prefix
="$withval"
50451 cppunit_config_exec_prefix
=""
50454 if test x
$cppunit_config_exec_prefix != x
; then
50455 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50456 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50457 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50460 if test x
$cppunit_config_prefix != x
; then
50461 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50462 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50463 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50467 # Extract the first word of "cppunit-config", so it can be a program name with args.
50468 set dummy cppunit
-config; ac_word
=$2
50469 echo "$as_me:$LINENO: checking for $ac_word" >&5
50470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50471 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50472 echo $ECHO_N "(cached) $ECHO_C" >&6
50474 case $CPPUNIT_CONFIG in
50476 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50480 for as_dir
in $PATH
50483 test -z "$as_dir" && as_dir
=.
50484 for ac_exec_ext
in '' $ac_executable_extensions; do
50485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50486 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50493 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50497 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50499 if test -n "$CPPUNIT_CONFIG"; then
50500 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50501 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50503 echo "$as_me:$LINENO: result: no" >&5
50504 echo "${ECHO_T}no" >&6
50507 cppunit_version_min
=1.8.0
50509 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50510 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50512 if test "$CPPUNIT_CONFIG" = "no" ; then
50513 echo "$as_me:$LINENO: result: no" >&5
50514 echo "${ECHO_T}no" >&6
50517 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50518 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50519 cppunit_version
=`$CPPUNIT_CONFIG --version`
50521 cppunit_major_version
=`echo $cppunit_version | \
50522 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50523 cppunit_minor_version
=`echo $cppunit_version | \
50524 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50525 cppunit_micro_version
=`echo $cppunit_version | \
50526 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50528 cppunit_major_min
=`echo $cppunit_version_min | \
50529 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50530 cppunit_minor_min
=`echo $cppunit_version_min | \
50531 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50532 cppunit_micro_min
=`echo $cppunit_version_min | \
50533 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50535 cppunit_version_proper
=`expr \
50536 $cppunit_major_version \> $cppunit_major_min \| \
50537 $cppunit_major_version \= $cppunit_major_min \& \
50538 $cppunit_minor_version \> $cppunit_minor_min \| \
50539 $cppunit_major_version \= $cppunit_major_min \& \
50540 $cppunit_minor_version \= $cppunit_minor_min \& \
50541 $cppunit_micro_version \>= $cppunit_micro_min `
50543 if test "$cppunit_version_proper" = "1" ; then
50544 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50545 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50547 echo "$as_me:$LINENO: result: no" >&5
50548 echo "${ECHO_T}no" >&6
50553 if test "x$no_cppunit" = x
; then
50554 SUBDIRS
="$SUBDIRS tests"
50565 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
50566 DISABLED_CONTRIB
="$DISABLED_CONTRIB net"
50569 for subdir
in `echo $SUBDIRS`; do
50570 if test -d ${srcdir}/${subdir} ; then
50571 if test "$wxUSE_GUI" = "yes"; then
50572 if test ${subdir} = "samples"; then
50573 makefiles
="samples/Makefile.in $makefiles"
50574 for sample
in `echo $SAMPLES_SUBDIRS`; do
50575 if test -d $srcdir/samples
/$sample; then
50576 makefiles
="samples/$sample/Makefile.in $makefiles"
50580 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50581 eval "disabled=\$$disabled_var"
50582 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50583 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50585 else if test ${subdir} = "samples"; then
50586 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50587 elif test ${subdir} = "utils"; then
50589 for util
in HelpGen tex2rtf
; do
50590 if test -d $srcdir/utils
/$util ; then
50591 makefiles
="utils/$util/Makefile.in \
50592 utils/$util/src/Makefile.in \
50596 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50600 for mkin
in $makefiles ; do
50601 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50602 ac_config_files
="$ac_config_files $mk"
50608 cat >confcache
<<\_ACEOF
50609 # This file is a shell script that caches the results of configure
50610 # tests run on this system so they can be shared between configure
50611 # scripts and configure runs, see configure's option --config-cache.
50612 # It is not useful on other systems. If it contains results you don't
50613 # want to keep, you may remove or edit it.
50615 # config.status only pays attention to the cache file if you give it
50616 # the --recheck option to rerun configure.
50618 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50619 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50620 # following values.
50624 # The following way of writing the cache mishandles newlines in values,
50625 # but we know of no workaround that is simple, portable, and efficient.
50626 # So, don't put newlines in cache variables' values.
50627 # Ultrix sh set writes to stderr and can't be redirected directly,
50628 # and sets the high bit in the cache file unless we assign to the vars.
50631 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50633 # `set' does not quote correctly, so add quotes (double-quote
50634 # substitution turns \\\\ into \\, and sed turns \\ into \).
50637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50640 # `set' quotes correctly as required by POSIX, so do not add quotes.
50642 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50649 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50651 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50653 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
50654 if test -w $cache_file; then
50655 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50656 cat confcache
>$cache_file
50658 echo "not updating unwritable cache $cache_file"
50663 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50664 # Let make expand exec_prefix.
50665 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50667 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50668 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50669 # trailing colons and then remove the whole line if VPATH becomes empty
50670 # (actually we leave an empty line to preserve line numbers).
50671 if test "x$srcdir" = x.
; then
50672 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50673 s/:*\$(srcdir):*/:/;
50674 s/:*\${srcdir}:*/:/;
50676 s/^\([^=]*=[ ]*\):*/\1/;
50682 DEFS
=-DHAVE_CONFIG_H
50686 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50687 # 1. Remove the extension, and $U if already installed.
50688 ac_i
=`echo "$ac_i" |
50689 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50691 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
50692 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
50694 LIBOBJS
=$ac_libobjs
50696 LTLIBOBJS
=$ac_ltlibobjs
50700 : ${CONFIG_STATUS=./config.status}
50701 ac_clean_files_save
=$ac_clean_files
50702 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50703 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50704 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50705 cat >$CONFIG_STATUS <<_ACEOF
50707 # Generated by $as_me.
50708 # Run this file to recreate the current configuration.
50709 # Compiler output produced by configure, useful for debugging
50710 # configure, is in config.log if it exists.
50713 ac_cs_recheck=false
50715 SHELL=\${CONFIG_SHELL-$SHELL}
50718 cat >>$CONFIG_STATUS <<\_ACEOF
50719 ## --------------------- ##
50720 ## M4sh Initialization. ##
50721 ## --------------------- ##
50723 # Be Bourne compatible
50724 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50727 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50728 # is contrary to our usage. Disable this feature.
50729 alias -g '${1+"$@"}'='"$@"'
50730 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
50733 DUALCASE
=1; export DUALCASE
# for MKS sh
50735 # Support unset when possible.
50736 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50743 # Work around bugs in pre-3.0 UWIN ksh.
50744 $as_unset ENV MAIL MAILPATH
50751 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50752 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50753 LC_TELEPHONE LC_TIME
50755 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50756 eval $as_var=C
; export $as_var
50762 # Required to use basename.
50763 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50769 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50770 as_basename
=basename
50776 # Name of the executable.
50777 as_me
=`$as_basename "$0" ||
50778 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50779 X"$0" : 'X\(//\)$' \| \
50780 X"$0" : 'X\(/\)$' \| \
50781 . : '\(.\)' 2>/dev/null ||
50783 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50784 /^X\/\(\/\/\)$/{ s//\1/; q; }
50785 /^X\/\(\/\).*/{ s//\1/; q; }
50789 # PATH needs CR, and LINENO needs CR and PATH.
50790 # Avoid depending upon Character Ranges.
50791 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50792 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50793 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50794 as_cr_digits
='0123456789'
50795 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50797 # The user is always right.
50798 if test "${PATH_SEPARATOR+set}" != set; then
50799 echo "#! /bin/sh" >conf$$.sh
50800 echo "exit 0" >>conf$$.sh
50802 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50811 as_lineno_1
=$LINENO
50812 as_lineno_2
=$LINENO
50813 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50814 test "x$as_lineno_1" != "x$as_lineno_2" &&
50815 test "x$as_lineno_3" = "x$as_lineno_2" || {
50816 # Find who we are. Look in the path if we contain no path at all
50819 *[\\/]* ) as_myself
=$0 ;;
50820 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50821 for as_dir
in $PATH
50824 test -z "$as_dir" && as_dir
=.
50825 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50830 # We did not find ourselves, most probably we were run as `sh COMMAND'
50831 # in which case we are not to be found in the path.
50832 if test "x$as_myself" = x
; then
50835 if test ! -f "$as_myself"; then
50836 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50837 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50838 { (exit 1); exit 1; }; }
50840 case $CONFIG_SHELL in
50842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50843 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50846 test -z "$as_dir" && as_dir
=.
50847 for as_base
in sh bash ksh sh5
; do
50850 if ("$as_dir/$as_base" -c '
50851 as_lineno_1=$LINENO
50852 as_lineno_2=$LINENO
50853 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50854 test "x$as_lineno_1" != "x$as_lineno_2" &&
50855 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50856 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50857 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50858 CONFIG_SHELL
=$as_dir/$as_base
50859 export CONFIG_SHELL
50860 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50868 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50869 # uniformly replaced by the line number. The first 'sed' inserts a
50870 # line-number line before each line; the second 'sed' does the real
50871 # work. The second script uses 'N' to pair each line-number line
50872 # with the numbered line, and appends trailing '-' during
50873 # substitution so that $LINENO is not a special case at line end.
50874 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50875 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50876 sed '=' <$as_myself |
50881 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50884 s,^['$as_cr_digits']*\n,,
50885 ' >$as_me.lineno
&&
50886 chmod +x
$as_me.lineno
||
50887 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50888 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50889 { (exit 1); exit 1; }; }
50891 # Don't try to exec as it changes $[0], causing all sort of problems
50892 # (the dirname of $[0] is not the place where we might find the
50893 # original and so on. Autoconf is especially sensible to this).
50895 # Exit status is that of the last command.
50900 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50901 *c
*,-n*) ECHO_N
= ECHO_C
='
50903 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50904 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50907 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50913 rm -f conf$$ conf$$.exe conf$$.
file
50915 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50916 # We could just check for DJGPP; but this test a) works b) is more generic
50917 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50918 if test -f conf$$.exe
; then
50919 # Don't use ln at all; we don't have any links
50924 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50929 rm -f conf$$ conf$$.exe conf$$.
file
50931 if mkdir -p .
2>/dev
/null
; then
50934 test -d .
/-p && rmdir .
/-p
50938 as_executable_p
="test -f"
50940 # Sed expression to map a string onto a valid CPP name.
50941 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50943 # Sed expression to map a string onto a valid variable name.
50944 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50948 # We need space, tab and new line, in precisely that order.
50958 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50959 # report actual input values of CONFIG_FILES etc. instead of their
50960 # values after options handling. Logging --version etc. is OK.
50964 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50965 ## Running $as_me. ##
50970 This file was extended by wxWidgets $as_me 2.8.0, which was
50971 generated by GNU Autoconf 2.59. Invocation command line was
50973 CONFIG_FILES = $CONFIG_FILES
50974 CONFIG_HEADERS = $CONFIG_HEADERS
50975 CONFIG_LINKS = $CONFIG_LINKS
50976 CONFIG_COMMANDS = $CONFIG_COMMANDS
50980 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50984 # Files that config.status was made for.
50985 if test -n "$ac_config_files"; then
50986 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50989 if test -n "$ac_config_headers"; then
50990 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50993 if test -n "$ac_config_links"; then
50994 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50997 if test -n "$ac_config_commands"; then
50998 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51001 cat >>$CONFIG_STATUS <<\_ACEOF
51004 \`$as_me' instantiates files from templates according to the
51005 current configuration.
51007 Usage: $0 [OPTIONS] [FILE]...
51009 -h, --help print this help, then exit
51010 -V, --version print version number, then exit
51011 -q, --quiet do not print progress messages
51012 -d, --debug don't remove temporary files
51013 --recheck update $as_me by reconfiguring in the same conditions
51014 --file=FILE[:TEMPLATE]
51015 instantiate the configuration file FILE
51016 --header=FILE[:TEMPLATE]
51017 instantiate the configuration header FILE
51019 Configuration files:
51022 Configuration headers:
51025 Configuration commands:
51028 Report bugs to <bug-autoconf@gnu.org>."
51031 cat >>$CONFIG_STATUS <<_ACEOF
51033 wxWidgets config.status 2.8.0
51034 configured by $0, generated by GNU Autoconf 2.59,
51035 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51037 Copyright (C) 2003 Free Software Foundation, Inc.
51038 This config.status script is free software; the Free Software Foundation
51039 gives unlimited permission to copy, distribute and modify it."
51044 cat >>$CONFIG_STATUS <<\_ACEOF
51045 # If no file are specified by the user, then we need to provide default
51046 # value. By we need to know if files were specified by the user.
51052 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
51053 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
51061 *) # This is not an option, so the user has probably given explicit
51064 ac_need_defaults
=false
;;
51068 # Handling of the options.
51070 cat >>$CONFIG_STATUS <<\_ACEOF
51071 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51073 --version | --vers* | -V )
51074 echo "$ac_cs_version"; exit 0 ;;
51076 # Conflict between --help and --header
51077 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51078 Try \`$0 --help' for more information." >&5
51079 echo "$as_me: error: ambiguous option: $1
51080 Try \`$0 --help' for more information." >&2;}
51081 { (exit 1); exit 1; }; };;
51082 --help | --hel | -h )
51083 echo "$ac_cs_usage"; exit 0 ;;
51084 --debug | --d* | -d )
51086 --file | --fil | --fi | --f )
51088 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51089 ac_need_defaults
=false
;;
51090 --header | --heade | --head | --hea )
51092 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51093 ac_need_defaults
=false
;;
51094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51095 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51098 # This is an error.
51099 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51100 Try \`$0 --help' for more information." >&5
51101 echo "$as_me: error: unrecognized option: $1
51102 Try \`$0 --help' for more information." >&2;}
51103 { (exit 1); exit 1; }; } ;;
51105 *) ac_config_targets
="$ac_config_targets $1" ;;
51111 ac_configure_extra_args
=
51113 if $ac_cs_silent; then
51115 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51119 cat >>$CONFIG_STATUS <<_ACEOF
51120 if \$ac_cs_recheck; then
51121 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51122 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51127 cat >>$CONFIG_STATUS <<_ACEOF
51129 # INIT-COMMANDS section.
51134 infile="$srcdir/include/wx/msw/genrcdefs.h"
51135 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51138 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51139 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51140 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51148 cat >>$CONFIG_STATUS <<\_ACEOF
51149 for ac_config_target
in $ac_config_targets
51151 case "$ac_config_target" in
51152 # Handling of arguments.
51153 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51154 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51155 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51156 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51157 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51158 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51159 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51160 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51161 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51162 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51163 { (exit 1); exit 1; }; };;
51167 # If the user did not use the arguments to specify the items to instantiate,
51168 # then the envvar interface is used. Set only those that are not.
51169 # We use the long form for the default assignment because of an extremely
51170 # bizarre bug on SunOS 4.1.3.
51171 if $ac_need_defaults; then
51172 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51173 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51174 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51177 # Have a temporary directory for convenience. Make it in the build tree
51178 # simply because there is no reason to put it here, and in addition,
51179 # creating and moving files from /tmp can sometimes cause problems.
51180 # Create a temporary directory, and hook for its removal unless debugging.
51183 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51184 trap '{ (exit 1); exit 1; }' 1 2 13 15
51187 # Create a (secure) tmp directory for tmp files.
51190 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51191 test -n "$tmp" && test -d "$tmp"
51194 tmp
=.
/confstat$$
-$RANDOM
51195 (umask 077 && mkdir $tmp)
51198 echo "$me: cannot create a temporary directory in ." >&2
51199 { (exit 1); exit 1; }
51204 cat >>$CONFIG_STATUS <<_ACEOF
51207 # CONFIG_FILES section.
51210 # No need to generate the scripts if there are no CONFIG_FILES.
51211 # This happens for instance when ./config.status config.h
51212 if test -n "\$CONFIG_FILES"; then
51213 # Protect against being on the right side of a sed subst in config.status.
51214 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51215 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51216 s,@SHELL@,$SHELL,;t t
51217 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51218 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51219 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51220 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51221 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51222 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51223 s,@exec_prefix@,$exec_prefix,;t t
51224 s,@prefix@,$prefix,;t t
51225 s,@program_transform_name@,$program_transform_name,;t t
51226 s,@bindir@,$bindir,;t t
51227 s,@sbindir@,$sbindir,;t t
51228 s,@libexecdir@,$libexecdir,;t t
51229 s,@datadir@,$datadir,;t t
51230 s,@sysconfdir@,$sysconfdir,;t t
51231 s,@sharedstatedir@,$sharedstatedir,;t t
51232 s,@localstatedir@,$localstatedir,;t t
51233 s,@libdir@,$libdir,;t t
51234 s,@includedir@,$includedir,;t t
51235 s,@oldincludedir@,$oldincludedir,;t t
51236 s,@infodir@,$infodir,;t t
51237 s,@mandir@,$mandir,;t t
51238 s,@build_alias@,$build_alias,;t t
51239 s,@host_alias@,$host_alias,;t t
51240 s,@target_alias@,$target_alias,;t t
51241 s,@DEFS@,$DEFS,;t t
51242 s,@ECHO_C@,$ECHO_C,;t t
51243 s,@ECHO_N@,$ECHO_N,;t t
51244 s,@ECHO_T@,$ECHO_T,;t t
51245 s,@LIBS@,$LIBS,;t t
51246 s,@build@,$build,;t t
51247 s,@build_cpu@,$build_cpu,;t t
51248 s,@build_vendor@,$build_vendor,;t t
51249 s,@build_os@,$build_os,;t t
51250 s,@host@,$host,;t t
51251 s,@host_cpu@,$host_cpu,;t t
51252 s,@host_vendor@,$host_vendor,;t t
51253 s,@host_os@,$host_os,;t t
51254 s,@target@,$target,;t t
51255 s,@target_cpu@,$target_cpu,;t t
51256 s,@target_vendor@,$target_vendor,;t t
51257 s,@target_os@,$target_os,;t t
51258 s,@wx_top_builddir@,$wx_top_builddir,;t t
51260 s,@CFLAGS@,$CFLAGS,;t t
51261 s,@LDFLAGS@,$LDFLAGS,;t t
51262 s,@CPPFLAGS@,$CPPFLAGS,;t t
51263 s,@ac_ct_CC@,$ac_ct_CC,;t t
51264 s,@EXEEXT@,$EXEEXT,;t t
51265 s,@OBJEXT@,$OBJEXT,;t t
51267 s,@EGREP@,$EGREP,;t t
51269 s,@CXXFLAGS@,$CXXFLAGS,;t t
51270 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51271 s,@RANLIB@,$RANLIB,;t t
51272 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51274 s,@ac_ct_AR@,$ac_ct_AR,;t t
51275 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51276 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51277 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51278 s,@STRIP@,$STRIP,;t t
51279 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51280 s,@WINDRES@,$WINDRES,;t t
51281 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51282 s,@DLLTOOL@,$DLLTOOL,;t t
51283 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51284 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51285 s,@LN_S@,$LN_S,;t t
51286 s,@CXXCPP@,$CXXCPP,;t t
51287 s,@subdirs@,$subdirs,;t t
51288 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51289 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51290 s,@GTK_LIBS@,$GTK_LIBS,;t t
51291 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51292 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51293 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51294 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51295 s,@X_CFLAGS@,$X_CFLAGS,;t t
51296 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51297 s,@X_LIBS@,$X_LIBS,;t t
51298 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51299 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51300 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51301 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51302 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51303 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51304 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51306 s,@DEREZ@,$DEREZ,;t t
51307 s,@SETFILE@,$SETFILE,;t t
51308 s,@LIBICONV@,$LIBICONV,;t t
51309 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51310 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51311 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51312 s,@SDL_LIBS@,$SDL_LIBS,;t t
51313 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51314 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51315 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51316 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51317 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51318 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51319 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51320 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51321 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51322 s,@GST_LIBS@,$GST_LIBS,;t t
51323 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51324 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51325 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51326 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51327 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51328 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51329 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51330 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51331 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51332 s,@VENDOR@,$VENDOR,;t t
51333 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51334 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51335 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51336 s,@WXUNIV@,$WXUNIV,;t t
51337 s,@MONOLITHIC@,$MONOLITHIC,;t t
51338 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51339 s,@EXTRALIBS@,$EXTRALIBS,;t t
51340 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51341 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51342 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51343 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51344 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51345 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51346 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51347 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51348 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51349 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51350 s,@UNICODE@,$UNICODE,;t t
51351 s,@BUILD@,$BUILD,;t t
51352 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51353 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51354 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51355 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51356 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51357 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51358 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51359 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51360 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51361 s,@SET_MAKE@,$SET_MAKE,;t t
51362 s,@MAKE_SET@,$MAKE_SET,;t t
51363 s,@AROPTIONS@,$AROPTIONS,;t t
51365 s,@ac_ct_NM@,$ac_ct_NM,;t t
51366 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51367 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51368 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51369 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51370 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51371 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51372 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51373 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51374 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51375 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51376 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51377 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51378 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51379 s,@LIBPREFIX@,$LIBPREFIX,;t t
51380 s,@LIBEXT@,$LIBEXT,;t t
51381 s,@DLLPREFIX@,$DLLPREFIX,;t t
51382 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51383 s,@dlldir@,$dlldir,;t t
51384 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51385 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51386 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51387 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51388 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51389 s,@PIC_FLAG@,$PIC_FLAG,;t t
51390 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51391 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51392 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51393 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51394 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51395 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51396 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51397 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51398 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51399 s,@BK_DEPS@,$BK_DEPS,;t t
51400 s,@GCC_PCH@,$GCC_PCH,;t t
51401 s,@ICC_PCH@,$ICC_PCH,;t t
51402 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51403 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51404 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51405 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51406 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51407 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51408 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51409 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51410 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51411 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51412 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51413 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51414 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51415 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51416 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51417 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51418 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51419 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51420 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51421 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51422 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51423 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
51424 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
51425 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
51426 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
51427 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51428 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51429 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51430 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51431 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51432 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51433 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
51434 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
51435 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
51436 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
51437 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51438 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51439 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51440 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51441 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51442 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51443 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51444 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51445 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51446 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51447 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51448 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51449 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51450 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51451 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51452 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51453 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51454 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51455 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51456 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51457 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51458 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51459 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51460 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51461 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51462 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51463 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51464 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51465 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51466 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51467 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51468 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51469 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51470 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51471 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51472 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51473 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51474 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51475 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51476 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51477 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51478 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51479 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51480 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51481 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51482 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51483 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51484 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51485 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51486 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51487 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51488 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51489 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51490 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51491 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51492 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51493 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51494 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51495 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51496 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
51497 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51498 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51499 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51500 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51501 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51502 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51503 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51504 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51505 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51506 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51507 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51508 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51509 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51510 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51511 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51512 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51513 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51514 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51515 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51516 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51517 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51518 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51519 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51520 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51521 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51522 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51523 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51524 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51525 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51526 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51527 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51528 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51529 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51530 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51531 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51532 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51533 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51534 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51535 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51536 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51537 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51538 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51539 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51540 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51541 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51542 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51543 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51544 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51545 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51546 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51547 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51548 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51549 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51550 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51551 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51552 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51553 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51554 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51555 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51556 s,@SHARED@,$SHARED,;t t
51557 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51558 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51559 s,@USE_GUI@,$USE_GUI,;t t
51560 s,@AFMINSTALL@,$AFMINSTALL,;t t
51561 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51562 s,@TOOLKIT@,$TOOLKIT,;t t
51563 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51564 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51565 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51566 s,@cross_compiling@,$cross_compiling,;t t
51567 s,@WIDGET_SET@,$WIDGET_SET,;t t
51568 s,@WX_RELEASE@,$WX_RELEASE,;t t
51569 s,@WX_VERSION@,$WX_VERSION,;t t
51570 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51571 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51572 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51573 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51574 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51575 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51576 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51577 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51578 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51579 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51580 s,@EXE_LINKER@,$EXE_LINKER,;t t
51581 s,@GUIDIST@,$GUIDIST,;t t
51582 s,@DISTDIR@,$DISTDIR,;t t
51583 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51584 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51585 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51586 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51587 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51588 s,@RESCOMP@,$RESCOMP,;t t
51589 s,@RESFLAGS@,$RESFLAGS,;t t
51590 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51591 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51592 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51593 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51594 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51595 s,@MACSETFILE@,$MACSETFILE,;t t
51597 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51598 s,@LIBOBJS@,$LIBOBJS,;t t
51599 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51604 cat >>$CONFIG_STATUS <<\_ACEOF
51605 # Split the substitutions into bite-sized pieces for seds with
51606 # small command number limits, like on Digital OSF/1 and HP-UX.
51607 ac_max_sed_lines
=48
51608 ac_sed_frag
=1 # Number of current file.
51609 ac_beg
=1 # First line for current file.
51610 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51613 while $ac_more_lines; do
51614 if test $ac_beg -gt 1; then
51615 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51617 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51619 if test ! -s $tmp/subs.frag
; then
51620 ac_more_lines
=false
51622 # The purpose of the label and of the branching condition is to
51623 # speed up the sed processing (if there are no `@' at all, there
51624 # is no need to browse any of the substitutions).
51625 # These are the two extra sed commands mentioned above.
51627 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51628 if test -z "$ac_sed_cmds"; then
51629 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51631 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51633 ac_sed_frag
=`expr $ac_sed_frag + 1`
51635 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51638 if test -z "$ac_sed_cmds"; then
51641 fi # test -n "$CONFIG_FILES"
51644 cat >>$CONFIG_STATUS <<\_ACEOF
51645 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51646 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51648 - | *:- | *:-:* ) # input from stdin
51650 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51651 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51652 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51653 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51654 * ) ac_file_in
=$ac_file.
in ;;
51657 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51658 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51659 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51660 X"$ac_file" : 'X\(//\)[^/]' \| \
51661 X"$ac_file" : 'X\(//\)$' \| \
51662 X"$ac_file" : 'X\(/\)' \| \
51663 . : '\(.\)' 2>/dev/null ||
51665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51666 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51667 /^X\(\/\/\)$/{ s//\1/; q; }
51668 /^X\(\/\).*/{ s//\1/; q; }
51670 { if $as_mkdir_p; then
51675 while test ! -d "$as_dir"; do
51676 as_dirs
="$as_dir $as_dirs"
51677 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51678 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51679 X"$as_dir" : 'X\(//\)[^/]' \| \
51680 X"$as_dir" : 'X\(//\)$' \| \
51681 X"$as_dir" : 'X\(/\)' \| \
51682 . : '\(.\)' 2>/dev/null ||
51684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51685 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51686 /^X\(\/\/\)$/{ s//\1/; q; }
51687 /^X\(\/\).*/{ s//\1/; q; }
51690 test ! -n "$as_dirs" || mkdir $as_dirs
51691 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51692 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51693 { (exit 1); exit 1; }; }; }
51697 if test "$ac_dir" != .
; then
51698 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51699 # A "../" for each directory in $ac_dir_suffix.
51700 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51702 ac_dir_suffix
= ac_top_builddir
=
51706 .
) # No --srcdir option. We are building in place.
51708 if test -z "$ac_top_builddir"; then
51711 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51713 [\\/]* | ?
:[\\/]* ) # Absolute path.
51714 ac_srcdir
=$srcdir$ac_dir_suffix;
51715 ac_top_srcdir
=$srcdir ;;
51716 *) # Relative path.
51717 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51718 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51721 # Do not use `cd foo && pwd` to compute absolute paths, because
51722 # the directories may not exist.
51724 .
) ac_abs_builddir
="$ac_dir";;
51727 .
) ac_abs_builddir
=`pwd`;;
51728 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51729 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51732 case $ac_abs_builddir in
51733 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51735 case ${ac_top_builddir}.
in
51736 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51737 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51738 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51741 case $ac_abs_builddir in
51742 .
) ac_abs_srcdir
=$ac_srcdir;;
51745 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51746 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51747 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51750 case $ac_abs_builddir in
51751 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51753 case $ac_top_srcdir in
51754 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51755 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51756 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51762 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51763 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51766 # Let's still pretend it is `configure' which instantiates (i.e., don't
51767 # use $as_me), people would be surprised to read:
51768 # /* config.h. Generated by config.status. */
51769 if test x
"$ac_file" = x
-; then
51772 configure_input
="$ac_file. "
51774 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51775 sed 's,.*/,,'` by configure."
51777 # First look for the input files in the build tree, otherwise in the
51779 ac_file_inputs
=`IFS=:
51780 for f in $ac_file_in; do
51782 -) echo $tmp/stdin ;;
51784 # Absolute (can't be DOS-style, as IFS=:)
51785 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51786 echo "$as_me: error: cannot find input file: $f" >&2;}
51787 { (exit 1); exit 1; }; }
51790 if test -f "$f"; then
51793 elif test -f "$srcdir/$f"; then
51798 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51799 echo "$as_me: error: cannot find input file: $f" >&2;}
51800 { (exit 1); exit 1; }; }
51803 done` || { (exit 1); exit 1; }
51805 if test x
"$ac_file" != x
-; then
51806 { echo "$as_me:$LINENO: creating $ac_file" >&5
51807 echo "$as_me: creating $ac_file" >&6;}
51811 cat >>$CONFIG_STATUS <<_ACEOF
51815 cat >>$CONFIG_STATUS <<\_ACEOF
51817 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51818 s
,@configure_input@
,$configure_input,;t t
51819 s
,@srcdir@
,$ac_srcdir,;t t
51820 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51821 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51822 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51823 s
,@builddir@
,$ac_builddir,;t t
51824 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51825 s
,@top_builddir@
,$ac_top_builddir,;t t
51826 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51827 s
,@INSTALL@
,$ac_INSTALL,;t t
51828 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51830 if test x"$ac_file" != x-; then
51831 mv $tmp/out $ac_file
51837 # Run the commands associated with the file.
51839 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51840 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51844 cat >>$CONFIG_STATUS <<\_ACEOF
51847 # CONFIG_HEADER section.
51850 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51851 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51853 # ac_d sets the value in "#define NAME VALUE" lines.
51854 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51855 ac_dB
='[ ].*$,\1#\2'
51858 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51859 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51860 ac_uB
='$,\1#\2define\3'
51864 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51865 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51867 - | *:- | *:-:* ) # input from stdin
51869 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51870 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51871 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51872 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51873 * ) ac_file_in
=$ac_file.
in ;;
51876 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51877 echo "$as_me: creating $ac_file" >&6;}
51879 # First look for the input files in the build tree, otherwise in the
51881 ac_file_inputs
=`IFS=:
51882 for f in $ac_file_in; do
51884 -) echo $tmp/stdin ;;
51886 # Absolute (can't be DOS-style, as IFS=:)
51887 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51888 echo "$as_me: error: cannot find input file: $f" >&2;}
51889 { (exit 1); exit 1; }; }
51890 # Do quote $f, to prevent DOS paths from being IFS'd.
51893 if test -f "$f"; then
51896 elif test -f "$srcdir/$f"; then
51901 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51902 echo "$as_me: error: cannot find input file: $f" >&2;}
51903 { (exit 1); exit 1; }; }
51906 done` || { (exit 1); exit 1; }
51907 # Remove the trailing spaces.
51908 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51912 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51913 # `conftest.undefs', that substitutes the proper values into
51914 # config.h.in to produce config.h. The first handles `#define'
51915 # templates, and the second `#undef' templates.
51916 # And first: Protect against being on the right side of a sed subst in
51917 # config.status. Protect against being in an unquoted here document
51918 # in config.status.
51919 rm -f conftest.defines conftest.undefs
51920 # Using a here document instead of a string reduces the quoting nightmare.
51921 # Putting comments in sed scripts is not portable.
51923 # `end' is used to avoid that the second main sed command (meant for
51924 # 0-ary CPP macros) applies to n-ary macro definitions.
51925 # See the Autoconf documentation for `clear'.
51926 cat >confdef2sed.
sed <<\_ACEOF
51931 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51933 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51936 # If some macros were called several times there might be several times
51937 # the same #defines, which is useless. Nevertheless, we may not want to
51938 # sort them, since we want the *last* AC-DEFINE to be honored.
51939 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51940 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51941 rm -f confdef2sed.sed
51943 # This sed command replaces #undef with comments. This is necessary, for
51944 # example, in the case of _POSIX_SOURCE, which is predefined and required
51945 # on some systems where configure will not decide to define it.
51946 cat >>conftest.undefs <<\_ACEOF
51947 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51950 # Break up conftest.defines because some shells have a limit on the size
51951 # of here documents, and old seds have small limits too (100 cmds).
51952 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51953 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51954 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51955 echo ' :' >>$CONFIG_STATUS
51956 rm -f conftest.tail
51957 while grep . conftest.defines >/dev/null
51959 # Write a limited-size here document to $tmp/defines.sed.
51960 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51961 # Speed up: don't consider the non `#define' lines.
51962 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51963 # Work around the forget-to-reset-the-flag bug.
51964 echo 't clr' >>$CONFIG_STATUS
51965 echo ': clr' >>$CONFIG_STATUS
51966 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51968 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51970 mv $tmp/out $tmp/in
51972 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51973 rm -f conftest.defines
51974 mv conftest.
tail conftest.defines
51976 rm -f conftest.defines
51977 echo ' fi # grep' >>$CONFIG_STATUS
51978 echo >>$CONFIG_STATUS
51980 # Break up conftest.undefs because some shells have a limit on the size
51981 # of here documents, and old seds have small limits too (100 cmds).
51982 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51983 rm -f conftest.
tail
51984 while grep . conftest.undefs
>/dev
/null
51986 # Write a limited-size here document to $tmp/undefs.sed.
51987 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51988 # Speed up: don't consider the non
`#undef'
51989 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51990 # Work around the forget-to-reset-the-flag bug.
51991 echo 't clr' >>$CONFIG_STATUS
51992 echo ': clr' >>$CONFIG_STATUS
51993 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51995 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51997 mv $tmp/out $tmp/in
51999 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52000 rm -f conftest.undefs
52001 mv conftest.tail conftest.undefs
52003 rm -f conftest.undefs
52005 cat >>$CONFIG_STATUS <<\_ACEOF
52006 # Let's still pretend it is `configure
' which instantiates (i.e., don't
52007 # use $as_me), people would be surprised to read:
52008 # /* config.h. Generated by config.status. */
52009 if test x
"$ac_file" = x
-; then
52010 echo "/* Generated by configure. */" >$tmp/config.h
52012 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52014 cat $tmp/in >>$tmp/config.h
52016 if test x
"$ac_file" != x
-; then
52017 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
52018 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52019 echo "$as_me: $ac_file is unchanged" >&6;}
52021 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
52022 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52023 X"$ac_file" : 'X\(//\)[^/]' \| \
52024 X"$ac_file" : 'X\(//\)$' \| \
52025 X"$ac_file" : 'X\(/\)' \| \
52026 . : '\(.\)' 2>/dev/null ||
52028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52029 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52030 /^X\(\/\/\)$/{ s//\1/; q; }
52031 /^X\(\/\).*/{ s//\1/; q; }
52033 { if $as_mkdir_p; then
52038 while test ! -d "$as_dir"; do
52039 as_dirs
="$as_dir $as_dirs"
52040 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52041 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52042 X"$as_dir" : 'X\(//\)[^/]' \| \
52043 X"$as_dir" : 'X\(//\)$' \| \
52044 X"$as_dir" : 'X\(/\)' \| \
52045 . : '\(.\)' 2>/dev/null ||
52047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52048 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52049 /^X\(\/\/\)$/{ s//\1/; q; }
52050 /^X\(\/\).*/{ s//\1/; q; }
52053 test ! -n "$as_dirs" || mkdir $as_dirs
52054 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52055 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52056 { (exit 1); exit 1; }; }; }
52059 mv $tmp/config.h
$ac_file
52063 rm -f $tmp/config.h
52067 cat >>$CONFIG_STATUS <<\_ACEOF
52070 # CONFIG_COMMANDS section.
52072 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
52073 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
52074 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
52075 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
52076 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52077 X"$ac_dest" : 'X\(//\)[^/]' \| \
52078 X"$ac_dest" : 'X\(//\)$' \| \
52079 X"$ac_dest" : 'X\(/\)' \| \
52080 . : '\(.\)' 2>/dev/null ||
52082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52083 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52084 /^X\(\/\/\)$/{ s//\1/; q; }
52085 /^X\(\/\).*/{ s//\1/; q; }
52087 { if $as_mkdir_p; then
52092 while test ! -d "$as_dir"; do
52093 as_dirs
="$as_dir $as_dirs"
52094 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52095 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52096 X"$as_dir" : 'X\(//\)[^/]' \| \
52097 X"$as_dir" : 'X\(//\)$' \| \
52098 X"$as_dir" : 'X\(/\)' \| \
52099 . : '\(.\)' 2>/dev/null ||
52101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52102 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52103 /^X\(\/\/\)$/{ s//\1/; q; }
52104 /^X\(\/\).*/{ s//\1/; q; }
52107 test ! -n "$as_dirs" || mkdir $as_dirs
52108 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52109 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52110 { (exit 1); exit 1; }; }; }
52114 if test "$ac_dir" != .
; then
52115 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52116 # A "../" for each directory in $ac_dir_suffix.
52117 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52119 ac_dir_suffix
= ac_top_builddir
=
52123 .
) # No --srcdir option. We are building in place.
52125 if test -z "$ac_top_builddir"; then
52128 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52130 [\\/]* | ?
:[\\/]* ) # Absolute path.
52131 ac_srcdir
=$srcdir$ac_dir_suffix;
52132 ac_top_srcdir
=$srcdir ;;
52133 *) # Relative path.
52134 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52135 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52138 # Do not use `cd foo && pwd` to compute absolute paths, because
52139 # the directories may not exist.
52141 .
) ac_abs_builddir
="$ac_dir";;
52144 .
) ac_abs_builddir
=`pwd`;;
52145 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52146 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52149 case $ac_abs_builddir in
52150 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52152 case ${ac_top_builddir}.
in
52153 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52154 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52155 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52158 case $ac_abs_builddir in
52159 .
) ac_abs_srcdir
=$ac_srcdir;;
52162 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52163 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52164 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52167 case $ac_abs_builddir in
52168 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52170 case $ac_top_srcdir in
52171 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52172 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52173 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52178 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52179 echo "$as_me: executing $ac_dest commands" >&6;}
52182 mkdir -p $outdir &&
52183 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52185 wx
-config ) rm -f wx
-config
52186 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52192 cat >>$CONFIG_STATUS <<\_ACEOF
52194 { (exit 0); exit 0; }
52196 chmod +x
$CONFIG_STATUS
52197 ac_clean_files
=$ac_clean_files_save
52200 # configure is writing to config.log, and then calls config.status.
52201 # config.status does its own redirection, appending to config.log.
52202 # Unfortunately, on DOS this fails, as config.log is still kept open
52203 # by configure, so config.status won't be able to write to it; its
52204 # output is simply discarded. So we exec the FD to /dev/null,
52205 # effectively closing config.log, so it can be properly (re)opened and
52206 # appended to by config.status. When coming back to configure, we
52207 # need to make the FD available again.
52208 if test "$no_create" != yes; then
52210 ac_config_status_args
=
52211 test "$silent" = yes &&
52212 ac_config_status_args
="$ac_config_status_args --quiet"
52214 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52216 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52217 # would make configure fail if this is the last instruction.
52218 $ac_cs_success || { (exit 1); exit 1; }
52222 # CONFIG_SUBDIRS section.
52224 if test "$no_recursion" != yes; then
52226 # Remove --cache-file and --srcdir arguments so they do not pile up.
52227 ac_sub_configure_args
=
52229 for ac_arg
in $ac_configure_args; do
52230 if test -n "$ac_prev"; then
52235 -cache-file | --cache-file | --cache-fil | --cache-fi \
52236 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52237 ac_prev
=cache_file
;;
52238 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52239 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52242 --config-cache | -C)
52244 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52246 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52248 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52250 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52252 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
52256 # Always prepend --prefix to ensure using the same prefix
52257 # in subdir configurations.
52258 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
52261 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52263 # Do not complain, so a configure script can configure whichever
52264 # parts of a large source tree are present.
52265 test -d $srcdir/$ac_dir || continue
52267 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52268 echo "$as_me: configuring in $ac_dir" >&6;}
52269 { if $as_mkdir_p; then
52274 while test ! -d "$as_dir"; do
52275 as_dirs
="$as_dir $as_dirs"
52276 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52277 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52278 X"$as_dir" : 'X\(//\)[^/]' \| \
52279 X"$as_dir" : 'X\(//\)$' \| \
52280 X"$as_dir" : 'X\(/\)' \| \
52281 . : '\(.\)' 2>/dev/null ||
52283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52284 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52285 /^X\(\/\/\)$/{ s//\1/; q; }
52286 /^X\(\/\).*/{ s//\1/; q; }
52289 test ! -n "$as_dirs" || mkdir $as_dirs
52290 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52291 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52292 { (exit 1); exit 1; }; }; }
52296 if test "$ac_dir" != .
; then
52297 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52298 # A "../" for each directory in $ac_dir_suffix.
52299 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52301 ac_dir_suffix
= ac_top_builddir
=
52305 .
) # No --srcdir option. We are building in place.
52307 if test -z "$ac_top_builddir"; then
52310 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52312 [\\/]* | ?
:[\\/]* ) # Absolute path.
52313 ac_srcdir
=$srcdir$ac_dir_suffix;
52314 ac_top_srcdir
=$srcdir ;;
52315 *) # Relative path.
52316 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52317 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52320 # Do not use `cd foo && pwd` to compute absolute paths, because
52321 # the directories may not exist.
52323 .
) ac_abs_builddir
="$ac_dir";;
52326 .
) ac_abs_builddir
=`pwd`;;
52327 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52328 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52331 case $ac_abs_builddir in
52332 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52334 case ${ac_top_builddir}.
in
52335 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52336 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52337 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52340 case $ac_abs_builddir in
52341 .
) ac_abs_srcdir
=$ac_srcdir;;
52344 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52345 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52346 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52349 case $ac_abs_builddir in
52350 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52352 case $ac_top_srcdir in
52353 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52354 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52355 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52362 # Check for guested configure; otherwise get Cygnus style configure.
52363 if test -f $ac_srcdir/configure.gnu
; then
52364 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
52365 elif test -f $ac_srcdir/configure
; then
52366 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
52367 elif test -f $ac_srcdir/configure.
in; then
52368 ac_sub_configure
=$ac_configure
52370 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52371 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52375 # The recursion is here.
52376 if test -n "$ac_sub_configure"; then
52377 # Make the cache file name correct relative to the subdirectory.
52378 case $cache_file in
52379 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52380 *) # Relative path.
52381 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
52384 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52385 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52386 # The eval makes quoting arguments work.
52387 eval $ac_sub_configure $ac_sub_configure_args \
52388 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52389 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52390 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52391 { (exit 1); exit 1; }; }
52400 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52402 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52403 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52405 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52406 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52407 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52409 echo " What level of wxWidgets compatibility should be enabled?"
52410 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52411 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52413 echo " Which libraries should wxWidgets use?"
52414 echo " jpeg ${wxUSE_LIBJPEG-none}"
52415 echo " png ${wxUSE_LIBPNG-none}"
52416 echo " regex ${wxUSE_REGEX}"
52417 echo " tiff ${wxUSE_LIBTIFF-none}"
52418 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52419 echo " xpm ${wxUSE_LIBXPM-none}"
52421 echo " zlib ${wxUSE_ZLIB}"
52422 echo " odbc ${wxUSE_ODBC}"
52423 echo " expat ${wxUSE_EXPAT}"
52424 echo " libmspack ${wxUSE_LIBMSPACK}"
52425 echo " sdl ${wxUSE_LIBSDL}"