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.7.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.7.0'
274 PACKAGE_STRING
='wxWidgets 2.7.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 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 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 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 GCC_PCH ICC_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_MAC_USE_GUI_1_WXUNIV_0 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_GST_CFLAGS_set
=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
853 ac_env_GST_LIBS_set
=${GST_LIBS+set}
854 ac_env_GST_LIBS_value
=$GST_LIBS
855 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value
=$GST_LIBS
859 # Report the --help message.
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
865 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
867 Usage: $0 [OPTION]... [VAR=VALUE]...
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
872 Defaults for the options are specified in brackets.
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
899 For better control, use the options below.
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
919 --x-includes=DIR X include files are
in DIR
920 --x-libraries=DIR X library files are
in DIR
923 --build=BUILD configure
for building on BUILD
[guessed
]
924 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
925 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
936 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
937 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
944 --enable-gpe use GNOME PDA Environment features
if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL
for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C
++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
961 --enable-compat24 enable wxWidgets
2.4 compatibility
962 --disable-compat26 disable wxWidgets
2.6 compatibility
963 --disable-rpath disable use of rpath
for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig
(and derived
) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP
(requires wxProtocol
968 --enable-http use wxHTTP
(requires wxProtocol
969 --enable-fileproto use wxFileProto class
(requires wxProtocol
970 --enable-sockets use socket
/network classes
971 --enable-ole use OLE classes
(Win32 only
)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication
(wxSocket etc.
)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class
for getting backtraces
977 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class
for DLL loading
983 --enable-dynamicloader use
(new
) wxDynamicLibrary class
984 --enable-exceptions build exception
-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual
file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP
/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C
++ stream classes
998 --enable-std_string use standard C
++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-protocol use wxProtocol class
1014 --enable-protocol-http HTTP support
in wxProtocol
1015 --enable-protocol-ftp FTP support
in wxProtocol
1016 --enable-protocol-file FILE support
in wxProtocol
1017 --enable-threads use threads
1018 --enable-docview use document view architecture
1019 --enable-help use
help subsystem
1020 --enable-mshtmlhelp use MS HTML Help
(win32
)
1021 --enable-html use wxHTML sub
-library
1022 --enable-htmlhelp use wxHTML
-based help
1023 --enable-xrc use XRC resources sub
-library
1024 --enable-aui use AUI docking library
1025 --enable-constraints use layout
-constraints system
1026 --enable-printarch use printing architecture
1027 --enable-mdi use multiple document interface architecture
1028 --enable-mdidoc use docview architecture with MDI
1029 --enable-loggui use standard GUI logger
1030 --enable-logwin use wxLogWindow
1031 --enable-logdialog use wxLogDialog
1032 --enable-webkit use wxWebKitCtrl
(Mac
)
1033 --enable-richtext use wxRichTextCtrl
1034 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1035 --enable-prologio not available
; see contrib
1036 --enable-resources not available
; see contrib
1037 --enable-clipboard use wxClipboard class
1038 --enable-dnd use Drag
'n'Drop classes
1039 --enable-metafile use win32 metafiles
1040 --enable-controls use all usual controls
1041 --enable-accel use accelerators
1042 --enable-button use wxButton class
1043 --enable-bmpbutton use wxBitmapButton class
1044 --enable-calendar use wxCalendarCtrl class
1045 --enable-caret use wxCaret class
1046 --enable-checkbox use wxCheckBox class
1047 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1048 --enable-choice use wxChoice class
1049 --enable-choicebook use wxChoicebook class
1050 --enable-colourpicker use wxColourPickerCtrl class
1051 --enable-combobox use wxComboBox class
1052 --enable-comboctrl use wxComboCtrl class
1053 --enable-datepick use wxDatePickerCtrl class
1054 --enable-dirpicker use wxDirPickerCtrl class
1055 --enable-display use wxDisplay class
1056 --enable-filepicker use wxFilePickerCtrl class
1057 --enable-fontpicker use wxFontPickerCtrl class
1058 --enable-gauge use wxGauge class
1059 --enable-grid use wxGrid class
1060 --enable-dataviewctrl, use wxDataViewCtrl class
1061 --enable-hyperlink use wxHyperlinkCtrl class
1062 --enable-imaglist use wxImageList class
1063 --enable-listbook use wxListbook class
1064 --enable-listbox use wxListBox class
1065 --enable-listctrl use wxListCtrl class
1066 --enable-notebook use wxNotebook class
1067 --enable-odcombobox use wxOwnerDrawnComboBox class
1068 --enable-radiobox use wxRadioBox class
1069 --enable-radiobtn use wxRadioButton class
1070 --enable-sash use wxSashWindow class
1071 --enable-scrollbar use wxScrollBar class and scrollable windows
1072 --enable-slider use wxSlider class
1073 --enable-spinbtn use wxSpinButton class
1074 --enable-spinctrl use wxSpinCtrl class
1075 --enable-splitter use wxSplitterWindow class
1076 --enable-statbmp use wxStaticBitmap class
1077 --enable-statbox use wxStaticBox class
1078 --enable-statline use wxStaticLine class
1079 --enable-stattext use wxStaticText class
1080 --enable-statusbar use wxStatusBar class
1081 --enable-tabdialog use wxTabControl class
1082 --enable-textctrl use wxTextCtrl class
1083 --enable-togglebtn use wxToggleButton class
1084 --enable-toolbar use wxToolBar class
1085 --enable-tbarnative use native wxToolBar class
1086 --enable-treebook use wxTreebook class
1087 --enable-toolbook use wxToolbook class
1088 --enable-treectrl use wxTreeCtrl class
1089 --enable-tipwindow use wxTipWindow class
1090 --enable-popupwin use wxPopUpWindow class
1091 --enable-commondlg use all common dialogs
1092 --enable-choicedlg use wxChoiceDialog
1093 --enable-coldlg use wxColourDialog
1094 --enable-filedlg use wxFileDialog
1095 --enable-finddlg use wxFindReplaceDialog
1096 --enable-fontdlg use wxFontDialog
1097 --enable-dirdlg use wxDirDialog
1098 --enable-msgdlg use wxMessageDialog
1099 --enable-numberdlg use wxNumberEntryDialog
1100 --enable-splash use wxSplashScreen
1101 --enable-textdlg use wxTextDialog
1102 --enable-tipdlg use startup tips
1103 --enable-progressdlg use wxProgressDialog
1104 --enable-wizarddlg use wxWizard
1105 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1106 --enable-miniframe use wxMiniFrame class
1107 --enable-tooltips use wxToolTip class
1108 --enable-splines use spline drawing code
1109 --enable-mousewheel use mousewheel
1110 --enable-validators use wxValidator and derived classes
1111 --enable-busyinfo use wxBusyInfo
1112 --enable-joystick use wxJoystick
1113 --enable-metafiles use wxMetaFile
(Win32 only
)
1114 --enable-dragimage use wxDragImage
1115 --enable-accessibility enable accessibility support
1116 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1117 --enable-palette use wxPalette class
1118 --enable-image use wxImage class
1119 --enable-gif use gif images
(GIF
file format
)
1120 --enable-pcx use pcx images
(PCX
file format
)
1121 --enable-iff use iff images
(IFF
file format
)
1122 --enable-pnm use pnm images
(PNM
file format
)
1123 --enable-xpm use xpm images
(XPM
file format
)
1124 --enable-icocur use Windows ICO and CUR formats
1125 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1126 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1127 --disable-largefile omit support
for large files
1128 --disable-gtktest do not try to compile and run a
test GTK
+ program
1129 --disable-gtktest Do not try to compile and run a
test GTK program
1130 --disable-sdltest Do not try to compile and run a
test SDL program
1131 --enable-omf use OMF object format
(OS
/2)
1132 --disable-dependency-tracking
1133 don
't use dependency tracking even if the compiler
1135 --disable-precomp-headers
1136 don't use precompiled headers even
if compiler can
1139 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1140 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1141 --without-subdirs don
't generate makefiles for samples/demos/...
1142 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1143 --with-motif use Motif/Lesstif
1144 --with-mac use Mac OS X
1145 --with-cocoa use Cocoa
1146 --with-wine use Wine
1147 --with-msw use MS-Windows
1148 --with-pm use OS/2 Presentation Manager
1149 --with-mgl use SciTech MGL
1150 --with-directfb use DirectFB
1151 --with-microwin use MicroWindows
1153 --with-libpng use libpng (PNG image format)
1154 --with-libjpeg use libjpeg (JPEG file format)
1155 --with-libtiff use libtiff (TIFF file format)
1156 --with-libxpm use libxpm (XPM file format)
1157 --with-libmspack use libmspack (CHM help files loading)
1158 --with-sdl use SDL for audio on Unix
1159 --with-gnomeprint use GNOME print for printing under GNOME
1160 --with-gnomevfs use GNOME VFS for associating MIME types
1161 --with-hildon use Hildon framework for Nokia 770
1162 --with-opengl use OpenGL (or Mesa)
1163 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1164 --with-regex enable support for wxRegEx class
1165 --with-zlib use zlib for LZW compression
1166 --with-odbc use the IODBC and wxODBC classes
1167 --with-expat enable XML support using expat parser
1168 --with-flavour=NAME specify a name to identify this build
1169 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1170 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1171 --with-x use the X Window System
1172 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1173 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1174 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1175 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1176 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1178 Some influential environment variables:
1179 CC C compiler command
1180 CFLAGS C compiler flags
1181 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1182 nonstandard directory <lib dir>
1183 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1184 headers in a nonstandard directory <include dir>
1186 CXX C++ compiler command
1187 CXXFLAGS C++ compiler flags
1188 CXXCPP C++ preprocessor
1189 PKG_CONFIG path to pkg-config utility
1191 C compiler flags for DIRECTFB, overriding pkg-config
1193 linker flags for DIRECTFB, overriding pkg-config
1195 C compiler flags for PANGOX, overriding pkg-config
1196 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1198 C compiler flags for PANGOFT2, overriding pkg-config
1200 linker flags for PANGOFT2, overriding pkg-config
1202 C compiler flags for PANGOXFT, overriding pkg-config
1204 linker flags for PANGOXFT, overriding pkg-config
1205 LIBGNOMEPRINTUI_CFLAGS
1206 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1207 LIBGNOMEPRINTUI_LIBS
1208 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1210 C compiler flags for GNOMEVFS, overriding pkg-config
1212 linker flags for GNOMEVFS, overriding pkg-config
1214 C compiler flags for HILDON, overriding pkg-config
1215 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1216 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1217 GST_LIBS linker flags for GST, overriding pkg-config
1219 Use these variables to override the choices made by `configure' or to
help
1220 it to
find libraries and programs with nonstandard names
/locations.
1222 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1226 if test "$ac_init_help" = "recursive"; then
1227 # If there are subdirs, report their specific --help.
1229 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1230 test -d $ac_dir || continue
1233 if test "$ac_dir" != .
; then
1234 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1235 # A "../" for each directory in $ac_dir_suffix.
1236 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1238 ac_dir_suffix
= ac_top_builddir
=
1242 .
) # No --srcdir option. We are building in place.
1244 if test -z "$ac_top_builddir"; then
1247 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1249 [\\/]* | ?
:[\\/]* ) # Absolute path.
1250 ac_srcdir
=$srcdir$ac_dir_suffix;
1251 ac_top_srcdir
=$srcdir ;;
1253 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1254 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1257 # Do not use `cd foo && pwd` to compute absolute paths, because
1258 # the directories may not exist.
1260 .
) ac_abs_builddir
="$ac_dir";;
1263 .
) ac_abs_builddir
=`pwd`;;
1264 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1265 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1268 case $ac_abs_builddir in
1269 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1271 case ${ac_top_builddir}.
in
1272 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1273 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1274 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1277 case $ac_abs_builddir in
1278 .
) ac_abs_srcdir
=$ac_srcdir;;
1281 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1282 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1283 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1286 case $ac_abs_builddir in
1287 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1289 case $ac_top_srcdir in
1290 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1291 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1292 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1297 # Check for guested configure; otherwise get Cygnus style configure.
1298 if test -f $ac_srcdir/configure.gnu
; then
1300 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1301 elif test -f $ac_srcdir/configure
; then
1303 $SHELL $ac_srcdir/configure
--help=recursive
1304 elif test -f $ac_srcdir/configure.ac
||
1305 test -f $ac_srcdir/configure.
in; then
1307 $ac_configure --help
1309 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1315 test -n "$ac_init_help" && exit 0
1316 if $ac_init_version; then
1318 wxWidgets configure
2.7.0
1319 generated by GNU Autoconf
2.59
1321 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1322 This configure
script is free software
; the Free Software Foundation
1323 gives unlimited permission to copy
, distribute and modify it.
1329 This file contains any messages produced by compilers while
1330 running configure, to aid debugging if configure makes a mistake.
1332 It was created by wxWidgets $as_me 2.7.0, which was
1333 generated by GNU Autoconf 2.59. Invocation command line was
1344 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1345 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1346 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1347 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1348 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1350 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1351 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1353 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1354 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1355 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1356 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1357 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1358 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1359 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1367 test -z "$as_dir" && as_dir
=.
1368 echo "PATH: $as_dir"
1383 # Keep a trace of the command line.
1384 # Strip out --no-create and --no-recursion so they do not pile up.
1385 # Strip out --silent because we don't want to record it for future runs.
1386 # Also quote any args containing shell meta-characters.
1387 # Make two passes to allow for proper duplicate-argument suppression.
1392 ac_must_keep_next
=false
1398 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1399 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1400 | -silent | --silent | --silen | --sile | --sil)
1402 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1403 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1406 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1408 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1409 if test $ac_must_keep_next = true
; then
1410 ac_must_keep_next
=false
# Got value, back to normal.
1413 *=* | --config-cache | -C | -disable-* | --disable-* \
1414 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1415 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1416 | -with-* | --with-* | -without-* | --without-* | --x)
1417 case "$ac_configure_args0 " in
1418 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1421 -* ) ac_must_keep_next
=true
;;
1424 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1425 # Get rid of the leading space.
1431 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1432 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1434 # When interrupted or exit'd, cleanup temporary files, and complete
1435 # config.log. We remove comments because anyway the quotes in there
1436 # would cause problems or look ugly.
1437 # WARNING: Be sure not to use single quotes in there, as some shells,
1438 # such as our DU 5.0 friend, will then `close' the trap.
1439 trap 'exit_status=$?
1440 # Save into config.log some information that might help in debugging.
1445 ## ---------------- ##
1446 ## Cache variables. ##
1447 ## ---------------- ##
1450 # The following way of writing the cache mishandles newlines in values,
1453 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1456 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1461 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1468 ## ----------------- ##
1469 ## Output variables. ##
1470 ## ----------------- ##
1473 for ac_var in $ac_subst_vars
1475 eval ac_val=$`echo $ac_var`
1476 echo "$ac_var='"'"'$ac_val'"'"'"
1480 if test -n "$ac_subst_files"; then
1487 for ac_var in $ac_subst_files
1489 eval ac_val=$`echo $ac_var`
1490 echo "$ac_var='"'"'$ac_val'"'"'"
1495 if test -s confdefs.h; then
1502 sed "/^$/d" confdefs.h | sort
1505 test "$ac_signal" != 0 &&
1506 echo "$as_me: caught signal $ac_signal"
1507 echo "$as_me: exit $exit_status"
1509 rm -f core *.core &&
1510 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1513 for ac_signal
in 1 2 13 15; do
1514 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1518 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1519 rm -rf conftest
* confdefs.h
1520 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1523 # Predefined preprocessor variables.
1525 cat >>confdefs.h
<<_ACEOF
1526 #define PACKAGE_NAME "$PACKAGE_NAME"
1530 cat >>confdefs.h
<<_ACEOF
1531 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1535 cat >>confdefs.h
<<_ACEOF
1536 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1540 cat >>confdefs.h
<<_ACEOF
1541 #define PACKAGE_STRING "$PACKAGE_STRING"
1545 cat >>confdefs.h
<<_ACEOF
1546 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1550 # Let the site file select an alternate cache file if it wants to.
1551 # Prefer explicitly selected file to automatically selected ones.
1552 if test -z "$CONFIG_SITE"; then
1553 if test "x$prefix" != xNONE
; then
1554 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1556 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1559 for ac_site_file
in $CONFIG_SITE; do
1560 if test -r "$ac_site_file"; then
1561 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1562 echo "$as_me: loading site script $ac_site_file" >&6;}
1563 sed 's/^/| /' "$ac_site_file" >&5
1568 if test -r "$cache_file"; then
1569 # Some versions of bash will fail to source /dev/null (special
1570 # files actually), so we avoid doing that.
1571 if test -f "$cache_file"; then
1572 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1573 echo "$as_me: loading cache $cache_file" >&6;}
1575 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1576 *) . .
/$cache_file;;
1580 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1581 echo "$as_me: creating cache $cache_file" >&6;}
1585 # Check that the precious variables saved in the cache have kept the same
1587 ac_cache_corrupted
=false
1588 for ac_var
in `(set) 2>&1 |
1589 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1590 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1591 eval ac_new_set
=\
$ac_env_${ac_var}_set
1592 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1593 eval ac_new_val
="\$ac_env_${ac_var}_value"
1594 case $ac_old_set,$ac_new_set in
1596 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1597 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1598 ac_cache_corrupted
=: ;;
1600 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1601 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1602 ac_cache_corrupted
=: ;;
1605 if test "x$ac_old_val" != "x$ac_new_val"; then
1606 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1607 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1608 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1609 echo "$as_me: former value: $ac_old_val" >&2;}
1610 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1611 echo "$as_me: current value: $ac_new_val" >&2;}
1612 ac_cache_corrupted
=:
1615 # Pass precious variables to config.status.
1616 if test "$ac_new_set" = set; then
1618 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1619 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1620 *) ac_arg
=$ac_var=$ac_new_val ;;
1622 case " $ac_configure_args " in
1623 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1624 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1628 if $ac_cache_corrupted; then
1629 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1630 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1631 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1632 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1633 { (exit 1); exit 1; }; }
1637 ac_cpp
='$CPP $CPPFLAGS'
1638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1672 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1673 if test -f $ac_dir/install-sh; then
1675 ac_install_sh
="$ac_aux_dir/install-sh -c"
1677 elif test -f $ac_dir/install.sh
; then
1679 ac_install_sh
="$ac_aux_dir/install.sh -c"
1681 elif test -f $ac_dir/shtool
; then
1683 ac_install_sh
="$ac_aux_dir/shtool install -c"
1687 if test -z "$ac_aux_dir"; then
1688 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1689 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1690 { (exit 1); exit 1; }; }
1692 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1693 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1694 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1696 # Make sure we can run config.sub.
1697 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1698 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1699 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1700 { (exit 1); exit 1; }; }
1702 echo "$as_me:$LINENO: checking build system type" >&5
1703 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1704 if test "${ac_cv_build+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 ac_cv_build_alias
=$build_alias
1708 test -z "$ac_cv_build_alias" &&
1709 ac_cv_build_alias
=`$ac_config_guess`
1710 test -z "$ac_cv_build_alias" &&
1711 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1712 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1713 { (exit 1); exit 1; }; }
1714 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1715 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1716 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1717 { (exit 1); exit 1; }; }
1720 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1721 echo "${ECHO_T}$ac_cv_build" >&6
1723 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1724 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1725 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1728 echo "$as_me:$LINENO: checking host system type" >&5
1729 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1730 if test "${ac_cv_host+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1733 ac_cv_host_alias
=$host_alias
1734 test -z "$ac_cv_host_alias" &&
1735 ac_cv_host_alias
=$ac_cv_build_alias
1736 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1742 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1743 echo "${ECHO_T}$ac_cv_host" >&6
1745 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1750 echo "$as_me:$LINENO: checking target system type" >&5
1751 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1752 if test "${ac_cv_target+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 ac_cv_target_alias
=$target_alias
1756 test "x$ac_cv_target_alias" = "x" &&
1757 ac_cv_target_alias
=$ac_cv_host_alias
1758 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1764 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1765 echo "${ECHO_T}$ac_cv_target" >&6
1766 target
=$ac_cv_target
1767 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1772 # The aliases save the names the user supplied, while $host etc.
1773 # will get canonicalized.
1774 test -n "$target_alias" &&
1775 test "$program_prefix$program_suffix$program_transform_name" = \
1777 program_prefix
=${target_alias}-
1781 wx_major_version_number
=2
1782 wx_minor_version_number
=7
1784 wx_subrelease_number
=0
1786 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1787 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1788 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1790 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1803 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1809 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1815 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1817 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1819 DEFAULT_wxUSE_COCOA
=0
1823 DEFAULT_wxUSE_MICROWIN
=0
1824 DEFAULT_wxUSE_MOTIF
=0
1830 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1831 DEFAULT_DEFAULT_wxUSE_GTK
=0
1832 DEFAULT_DEFAULT_wxUSE_MAC
=0
1833 DEFAULT_DEFAULT_wxUSE_MGL
=0
1834 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1835 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1836 DEFAULT_DEFAULT_wxUSE_MSW
=0
1837 DEFAULT_DEFAULT_wxUSE_PM
=0
1838 DEFAULT_DEFAULT_wxUSE_X11
=0
1839 DEFAULT_DEFAULT_wxUSE_DFB
=0
1844 SAMPLES_RPATH_POSTLINK
=
1846 DEFAULT_STD_FLAG
=yes
1851 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1852 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1854 cat >>confdefs.h
<<\_ACEOF
1859 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1863 cat >>confdefs.h
<<\_ACEOF
1868 if test "x$TMP" = "xalpha"; then
1870 cat >>confdefs.h
<<\_ACEOF
1875 DEFAULT_DEFAULT_wxUSE_GTK
=1
1877 *-*-gnu* | *-*-k*bsd
*-gnu )
1880 if test "x$TMP" = "xalpha"; then
1882 cat >>confdefs.h
<<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_GTK
=1
1889 *-*-irix5* | *-*-irix6* )
1892 cat >>confdefs.h
<<\_ACEOF
1896 cat >>confdefs.h
<<\_ACEOF
1900 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1906 cat >>confdefs.h
<<\_ACEOF
1910 cat >>confdefs.h
<<\_ACEOF
1911 #define __SOLARIS__ 1
1914 cat >>confdefs.h
<<\_ACEOF
1918 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1919 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1925 cat >>confdefs.h
<<\_ACEOF
1929 cat >>confdefs.h
<<\_ACEOF
1933 cat >>confdefs.h
<<\_ACEOF
1937 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1942 cat >>confdefs.h
<<\_ACEOF
1943 #define __FREEBSD__ 1
1946 cat >>confdefs.h
<<\_ACEOF
1950 DEFAULT_DEFAULT_wxUSE_GTK
=1
1952 *-*-openbsd*|*-*-mirbsd*)
1955 cat >>confdefs.h
<<\_ACEOF
1956 #define __OPENBSD__ 1
1959 cat >>confdefs.h
<<\_ACEOF
1963 DEFAULT_DEFAULT_wxUSE_GTK
=1
1968 cat >>confdefs.h
<<\_ACEOF
1969 #define __NETBSD__ 1
1972 cat >>confdefs.h
<<\_ACEOF
1976 DEFAULT_DEFAULT_wxUSE_GTK
=1
1977 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1979 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1984 cat >>confdefs.h
<<\_ACEOF
1988 cat >>confdefs.h
<<\_ACEOF
1992 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1993 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1998 cat >>confdefs.h
<<\_ACEOF
2002 cat >>confdefs.h
<<\_ACEOF
2006 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2011 cat >>confdefs.h
<<\_ACEOF
2015 cat >>confdefs.h
<<\_ACEOF
2019 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2026 cat >>confdefs.h
<<\_ACEOF
2030 cat >>confdefs.h
<<\_ACEOF
2034 cat >>confdefs.h
<<\_ACEOF
2038 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2045 cat >>confdefs.h
<<\_ACEOF
2046 #define __UNIXWARE__ 1
2051 *-*-cygwin* | *-*-mingw32* )
2054 DEFAULT_DEFAULT_wxUSE_MSW
=1
2061 cat >>confdefs.h
<<\_ACEOF
2066 DEFAULT_DEFAULT_wxUSE_MGL
=1
2069 *-pc-os2_emx | *-pc-os2-emx )
2070 cat >>confdefs.h
<<\_ACEOF
2075 cat >>confdefs.h
<<\_ACEOF
2080 DEFAULT_DEFAULT_wxUSE_PM
=1
2082 LDFLAGS
="$LDFLAGS -Zcrtdll"
2083 ac_executable_extensions
=".exe"
2084 export ac_executable_extensions
2088 for ac_dir
in $PATH; do
2090 if test -z "$ac_TEMP_PATH"; then
2091 ac_TEMP_PATH
="$ac_dir"
2093 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2096 export PATH
="$ac_TEMP_PATH"
2105 cat >>confdefs.h
<<\_ACEOF
2109 cat >>confdefs.h
<<\_ACEOF
2110 #define __DARWIN__ 1
2113 cat >>confdefs.h
<<\_ACEOF
2114 #define TARGET_CARBON 1
2117 DEFAULT_DEFAULT_wxUSE_MAC
=1
2120 powerpc
-apple-macos* )
2122 ac_cv_c_bigendian
=yes
2124 DEFAULT_DEFAULT_wxUSE_MAC
=1
2130 cat >>confdefs.h
<<\_ACEOF
2137 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2138 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2139 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2140 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2142 DEFAULT_DEFAULT_wxUSE_X11
=1
2143 DEFAULT_wxUSE_SHARED
=no
2149 wx_arg_cache_file
="configarg.cache"
2150 echo "loading argument cache $wx_arg_cache_file"
2151 rm -f ${wx_arg_cache_file}.tmp
2152 touch ${wx_arg_cache_file}.tmp
2153 touch ${wx_arg_cache_file}
2157 if test $DEBUG_CONFIGURE = 1; then
2158 DEFAULT_wxUSE_UNIVERSAL
=no
2159 DEFAULT_wxUSE_STL
=no
2161 DEFAULT_wxUSE_NANOX
=no
2163 DEFAULT_wxUSE_THREADS
=yes
2165 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2166 DEFAULT_wxUSE_OPTIMISE
=no
2167 DEFAULT_wxUSE_PROFILE
=no
2168 DEFAULT_wxUSE_NO_DEPS
=no
2169 DEFAULT_wxUSE_NO_RTTI
=no
2170 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2171 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2172 DEFAULT_wxUSE_RPATH
=yes
2173 DEFAULT_wxUSE_PERMISSIVE
=no
2174 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2175 DEFAULT_wxUSE_DEBUG_INFO
=yes
2176 DEFAULT_wxUSE_DEBUG_GDB
=yes
2177 DEFAULT_wxUSE_MEM_TRACING
=no
2178 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2179 DEFAULT_wxUSE_DMALLOC
=no
2180 DEFAULT_wxUSE_APPLE_IEEE
=no
2182 DEFAULT_wxUSE_EXCEPTIONS
=no
2183 DEFAULT_wxUSE_LOG
=yes
2184 DEFAULT_wxUSE_LOGWINDOW
=no
2185 DEFAULT_wxUSE_LOGGUI
=no
2186 DEFAULT_wxUSE_LOGDIALOG
=no
2188 DEFAULT_wxUSE_GUI
=yes
2189 DEFAULT_wxUSE_CONTROLS
=no
2191 DEFAULT_wxUSE_REGEX
=no
2192 DEFAULT_wxUSE_XML
=no
2193 DEFAULT_wxUSE_EXPAT
=no
2194 DEFAULT_wxUSE_ZLIB
=no
2195 DEFAULT_wxUSE_LIBPNG
=no
2196 DEFAULT_wxUSE_LIBJPEG
=no
2197 DEFAULT_wxUSE_LIBTIFF
=no
2198 DEFAULT_wxUSE_LIBXPM
=no
2199 DEFAULT_wxUSE_LIBMSPACK
=no
2200 DEFAULT_wxUSE_LIBSDL
=no
2201 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2202 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2203 DEFAULT_wxUSE_LIBHILDON
=no
2204 DEFAULT_wxUSE_ODBC
=no
2205 DEFAULT_wxUSE_OPENGL
=no
2207 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2208 DEFAULT_wxUSE_STACKWALKER
=no
2209 DEFAULT_wxUSE_DEBUGREPORT
=no
2210 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2211 DEFAULT_wxUSE_STD_IOSTREAM
=no
2212 DEFAULT_wxUSE_STD_STRING
=no
2213 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2214 DEFAULT_wxUSE_DATETIME
=no
2215 DEFAULT_wxUSE_TIMER
=no
2216 DEFAULT_wxUSE_STOPWATCH
=no
2217 DEFAULT_wxUSE_FILE
=no
2218 DEFAULT_wxUSE_FFILE
=no
2219 DEFAULT_wxUSE_STDPATHS
=no
2220 DEFAULT_wxUSE_TEXTBUFFER
=no
2221 DEFAULT_wxUSE_TEXTFILE
=no
2222 DEFAULT_wxUSE_SOUND
=no
2223 DEFAULT_wxUSE_MEDIACTRL
=no
2224 DEFAULT_wxUSE_GSTREAMER8
=no
2225 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2226 DEFAULT_wxUSE_INTL
=no
2227 DEFAULT_wxUSE_CONFIG
=no
2228 DEFAULT_wxUSE_FONTMAP
=no
2229 DEFAULT_wxUSE_STREAMS
=no
2230 DEFAULT_wxUSE_SOCKETS
=no
2231 DEFAULT_wxUSE_OLE
=no
2232 DEFAULT_wxUSE_DATAOBJ
=no
2233 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2234 DEFAULT_wxUSE_JOYSTICK
=no
2235 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2236 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2237 DEFAULT_wxUSE_LONGLONG
=no
2238 DEFAULT_wxUSE_GEOMETRY
=no
2240 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2241 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2242 DEFAULT_wxUSE_POSTSCRIPT
=no
2244 DEFAULT_wxUSE_CLIPBOARD
=no
2245 DEFAULT_wxUSE_TOOLTIPS
=no
2246 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2247 DEFAULT_wxUSE_DRAGIMAGE
=no
2248 DEFAULT_wxUSE_SPLINES
=no
2249 DEFAULT_wxUSE_MOUSEWHEEL
=no
2251 DEFAULT_wxUSE_MDI
=no
2252 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2253 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2254 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2256 DEFAULT_wxUSE_RESOURCES
=no
2257 DEFAULT_wxUSE_CONSTRAINTS
=no
2258 DEFAULT_wxUSE_IPC
=no
2259 DEFAULT_wxUSE_HELP
=no
2260 DEFAULT_wxUSE_MS_HTML_HELP
=no
2261 DEFAULT_wxUSE_WXHTML_HELP
=no
2262 DEFAULT_wxUSE_TREELAYOUT
=no
2263 DEFAULT_wxUSE_METAFILE
=no
2264 DEFAULT_wxUSE_MIMETYPE
=no
2265 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2266 DEFAULT_wxUSE_PROTOCOL
=no
2267 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2268 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2269 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2270 DEFAULT_wxUSE_URL
=no
2272 DEFAULT_wxUSE_COMMONDLGS
=no
2273 DEFAULT_wxUSE_CHOICEDLG
=no
2274 DEFAULT_wxUSE_COLOURDLG
=no
2275 DEFAULT_wxUSE_DIRDLG
=no
2276 DEFAULT_wxUSE_FILEDLG
=no
2277 DEFAULT_wxUSE_FINDREPLDLG
=no
2278 DEFAULT_wxUSE_FONTDLG
=no
2279 DEFAULT_wxUSE_MSGDLG
=no
2280 DEFAULT_wxUSE_NUMBERDLG
=no
2281 DEFAULT_wxUSE_TEXTDLG
=no
2282 DEFAULT_wxUSE_SPLASH
=no
2283 DEFAULT_wxUSE_STARTUP_TIPS
=no
2284 DEFAULT_wxUSE_PROGRESSDLG
=no
2285 DEFAULT_wxUSE_WIZARDDLG
=no
2287 DEFAULT_wxUSE_MENUS
=no
2288 DEFAULT_wxUSE_MINIFRAME
=no
2289 DEFAULT_wxUSE_HTML
=no
2290 DEFAULT_wxUSE_RICHTEXT
=no
2291 DEFAULT_wxUSE_XRC
=no
2292 DEFAULT_wxUSE_AUI
=no
2293 DEFAULT_wxUSE_WEBKIT
=no
2294 DEFAULT_wxUSE_FILESYSTEM
=no
2295 DEFAULT_wxUSE_FS_INET
=no
2296 DEFAULT_wxUSE_FS_ZIP
=no
2297 DEFAULT_wxUSE_BUSYINFO
=no
2298 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2299 DEFAULT_wxUSE_ZIPSTREAM
=no
2300 DEFAULT_wxUSE_VALIDATORS
=no
2302 DEFAULT_wxUSE_ACCEL
=no
2303 DEFAULT_wxUSE_BUTTON
=no
2304 DEFAULT_wxUSE_BMPBUTTON
=no
2305 DEFAULT_wxUSE_CALCTRL
=no
2306 DEFAULT_wxUSE_CARET
=no
2307 DEFAULT_wxUSE_CHECKBOX
=no
2308 DEFAULT_wxUSE_CHECKLST
=no
2309 DEFAULT_wxUSE_CHOICE
=no
2310 DEFAULT_wxUSE_CHOICEBOOK
=no
2311 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2312 DEFAULT_wxUSE_COMBOBOX
=no
2313 DEFAULT_wxUSE_COMBOCTRL
=no
2314 DEFAULT_wxUSE_DATEPICKCTRL
=no
2315 DEFAULT_wxUSE_DISPLAY
=no
2316 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2317 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2318 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2319 DEFAULT_wxUSE_GAUGE
=no
2320 DEFAULT_wxUSE_GRID
=no
2321 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2322 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2323 DEFAULT_wxUSE_IMAGLIST
=no
2324 DEFAULT_wxUSE_LISTBOOK
=no
2325 DEFAULT_wxUSE_LISTBOX
=no
2326 DEFAULT_wxUSE_LISTCTRL
=no
2327 DEFAULT_wxUSE_NOTEBOOK
=no
2328 DEFAULT_wxUSE_ODCOMBOBOX
=no
2329 DEFAULT_wxUSE_RADIOBOX
=no
2330 DEFAULT_wxUSE_RADIOBTN
=no
2331 DEFAULT_wxUSE_SASH
=no
2332 DEFAULT_wxUSE_SCROLLBAR
=no
2333 DEFAULT_wxUSE_SLIDER
=no
2334 DEFAULT_wxUSE_SPINBTN
=no
2335 DEFAULT_wxUSE_SPINCTRL
=no
2336 DEFAULT_wxUSE_SPLITTER
=no
2337 DEFAULT_wxUSE_STATBMP
=no
2338 DEFAULT_wxUSE_STATBOX
=no
2339 DEFAULT_wxUSE_STATLINE
=no
2340 DEFAULT_wxUSE_STATTEXT
=no
2341 DEFAULT_wxUSE_STATUSBAR
=yes
2342 DEFAULT_wxUSE_TAB_DIALOG
=no
2343 DEFAULT_wxUSE_TEXTCTRL
=no
2344 DEFAULT_wxUSE_TOGGLEBTN
=no
2345 DEFAULT_wxUSE_TOOLBAR
=no
2346 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2347 DEFAULT_wxUSE_TREEBOOK
=no
2348 DEFAULT_wxUSE_TOOLBOOK
=no
2349 DEFAULT_wxUSE_TREECTRL
=no
2350 DEFAULT_wxUSE_POPUPWIN
=no
2351 DEFAULT_wxUSE_TIPWINDOW
=no
2353 DEFAULT_wxUSE_UNICODE
=no
2354 DEFAULT_wxUSE_UNICODE_MSLU
=no
2355 DEFAULT_wxUSE_WCSRTOMBS
=no
2357 DEFAULT_wxUSE_PALETTE
=no
2358 DEFAULT_wxUSE_IMAGE
=no
2359 DEFAULT_wxUSE_GIF
=no
2360 DEFAULT_wxUSE_PCX
=no
2361 DEFAULT_wxUSE_PNM
=no
2362 DEFAULT_wxUSE_IFF
=no
2363 DEFAULT_wxUSE_XPM
=no
2364 DEFAULT_wxUSE_ICO_CUR
=no
2365 DEFAULT_wxUSE_ACCESSIBILITY
=no
2367 DEFAULT_wxUSE_MONOLITHIC
=no
2368 DEFAULT_wxUSE_PLUGINS
=no
2369 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2371 DEFAULT_wxUSE_UNIVERSAL
=no
2372 DEFAULT_wxUSE_STL
=no
2374 DEFAULT_wxUSE_NANOX
=no
2376 DEFAULT_wxUSE_THREADS
=yes
2378 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2379 DEFAULT_wxUSE_OPTIMISE
=yes
2380 DEFAULT_wxUSE_PROFILE
=no
2381 DEFAULT_wxUSE_NO_DEPS
=no
2382 DEFAULT_wxUSE_NO_RTTI
=no
2383 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2384 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2385 DEFAULT_wxUSE_RPATH
=yes
2386 DEFAULT_wxUSE_PERMISSIVE
=no
2387 DEFAULT_wxUSE_DEBUG_FLAG
=no
2388 DEFAULT_wxUSE_DEBUG_INFO
=no
2389 DEFAULT_wxUSE_DEBUG_GDB
=no
2390 DEFAULT_wxUSE_MEM_TRACING
=no
2391 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2392 DEFAULT_wxUSE_DMALLOC
=no
2393 DEFAULT_wxUSE_APPLE_IEEE
=yes
2395 DEFAULT_wxUSE_EXCEPTIONS
=yes
2396 DEFAULT_wxUSE_LOG
=yes
2397 DEFAULT_wxUSE_LOGWINDOW
=yes
2398 DEFAULT_wxUSE_LOGGUI
=yes
2399 DEFAULT_wxUSE_LOGDIALOG
=yes
2401 DEFAULT_wxUSE_GUI
=yes
2403 DEFAULT_wxUSE_REGEX
=yes
2404 DEFAULT_wxUSE_XML
=yes
2405 DEFAULT_wxUSE_EXPAT
=yes
2406 DEFAULT_wxUSE_ZLIB
=yes
2407 DEFAULT_wxUSE_LIBPNG
=yes
2408 DEFAULT_wxUSE_LIBJPEG
=yes
2409 DEFAULT_wxUSE_LIBTIFF
=yes
2410 DEFAULT_wxUSE_LIBXPM
=yes
2411 DEFAULT_wxUSE_LIBMSPACK
=yes
2412 DEFAULT_wxUSE_LIBSDL
=no
2413 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2414 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2415 DEFAULT_wxUSE_LIBHILDON
=no
2416 DEFAULT_wxUSE_ODBC
=no
2417 DEFAULT_wxUSE_OPENGL
=no
2419 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2420 DEFAULT_wxUSE_STACKWALKER
=yes
2421 DEFAULT_wxUSE_DEBUGREPORT
=yes
2422 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2423 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2424 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2425 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2426 DEFAULT_wxUSE_DATETIME
=yes
2427 DEFAULT_wxUSE_TIMER
=yes
2428 DEFAULT_wxUSE_STOPWATCH
=yes
2429 DEFAULT_wxUSE_FILE
=yes
2430 DEFAULT_wxUSE_FFILE
=yes
2431 DEFAULT_wxUSE_STDPATHS
=yes
2432 DEFAULT_wxUSE_TEXTBUFFER
=yes
2433 DEFAULT_wxUSE_TEXTFILE
=yes
2434 DEFAULT_wxUSE_SOUND
=yes
2435 DEFAULT_wxUSE_MEDIACTRL
=no
2436 DEFAULT_wxUSE_GSTREAMER8
=no
2437 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2438 DEFAULT_wxUSE_INTL
=yes
2439 DEFAULT_wxUSE_CONFIG
=yes
2440 DEFAULT_wxUSE_FONTMAP
=yes
2441 DEFAULT_wxUSE_STREAMS
=yes
2442 DEFAULT_wxUSE_SOCKETS
=yes
2443 DEFAULT_wxUSE_OLE
=yes
2444 DEFAULT_wxUSE_DATAOBJ
=yes
2445 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2446 DEFAULT_wxUSE_JOYSTICK
=yes
2447 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2448 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2449 DEFAULT_wxUSE_LONGLONG
=yes
2450 DEFAULT_wxUSE_GEOMETRY
=yes
2452 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2453 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2454 DEFAULT_wxUSE_POSTSCRIPT
=yes
2456 DEFAULT_wxUSE_CLIPBOARD
=yes
2457 DEFAULT_wxUSE_TOOLTIPS
=yes
2458 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2459 DEFAULT_wxUSE_DRAGIMAGE
=yes
2460 DEFAULT_wxUSE_SPLINES
=yes
2461 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2463 DEFAULT_wxUSE_MDI
=yes
2464 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2465 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2466 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2468 DEFAULT_wxUSE_RESOURCES
=no
2469 DEFAULT_wxUSE_CONSTRAINTS
=yes
2470 DEFAULT_wxUSE_IPC
=yes
2471 DEFAULT_wxUSE_HELP
=yes
2472 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2473 DEFAULT_wxUSE_WXHTML_HELP
=yes
2474 DEFAULT_wxUSE_TREELAYOUT
=yes
2475 DEFAULT_wxUSE_METAFILE
=yes
2476 DEFAULT_wxUSE_MIMETYPE
=yes
2477 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2478 DEFAULT_wxUSE_PROTOCOL
=yes
2479 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2480 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2481 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2482 DEFAULT_wxUSE_URL
=yes
2484 DEFAULT_wxUSE_COMMONDLGS
=yes
2485 DEFAULT_wxUSE_CHOICEDLG
=yes
2486 DEFAULT_wxUSE_COLOURDLG
=yes
2487 DEFAULT_wxUSE_DIRDLG
=yes
2488 DEFAULT_wxUSE_FILEDLG
=yes
2489 DEFAULT_wxUSE_FINDREPLDLG
=yes
2490 DEFAULT_wxUSE_FONTDLG
=yes
2491 DEFAULT_wxUSE_MSGDLG
=yes
2492 DEFAULT_wxUSE_NUMBERDLG
=yes
2493 DEFAULT_wxUSE_TEXTDLG
=yes
2494 DEFAULT_wxUSE_SPLASH
=yes
2495 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2496 DEFAULT_wxUSE_PROGRESSDLG
=yes
2497 DEFAULT_wxUSE_WIZARDDLG
=yes
2499 DEFAULT_wxUSE_MENUS
=yes
2500 DEFAULT_wxUSE_MINIFRAME
=yes
2501 DEFAULT_wxUSE_HTML
=yes
2502 DEFAULT_wxUSE_RICHTEXT
=yes
2503 DEFAULT_wxUSE_XRC
=yes
2504 DEFAULT_wxUSE_AUI
=yes
2505 DEFAULT_wxUSE_WEBKIT
=yes
2506 DEFAULT_wxUSE_FILESYSTEM
=yes
2507 DEFAULT_wxUSE_FS_INET
=yes
2508 DEFAULT_wxUSE_FS_ZIP
=yes
2509 DEFAULT_wxUSE_BUSYINFO
=yes
2510 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2511 DEFAULT_wxUSE_ZIPSTREAM
=yes
2512 DEFAULT_wxUSE_VALIDATORS
=yes
2514 DEFAULT_wxUSE_ACCEL
=yes
2515 DEFAULT_wxUSE_BUTTON
=yes
2516 DEFAULT_wxUSE_BMPBUTTON
=yes
2517 DEFAULT_wxUSE_CALCTRL
=yes
2518 DEFAULT_wxUSE_CARET
=yes
2519 DEFAULT_wxUSE_CHECKBOX
=yes
2520 DEFAULT_wxUSE_CHECKLST
=yes
2521 DEFAULT_wxUSE_CHOICE
=yes
2522 DEFAULT_wxUSE_CHOICEBOOK
=yes
2523 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2524 DEFAULT_wxUSE_COMBOBOX
=yes
2525 DEFAULT_wxUSE_COMBOCTRL
=yes
2526 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2527 DEFAULT_wxUSE_DISPLAY
=yes
2528 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2529 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2530 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2531 DEFAULT_wxUSE_GAUGE
=yes
2532 DEFAULT_wxUSE_GRID
=yes
2533 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2534 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2535 DEFAULT_wxUSE_IMAGLIST
=yes
2536 DEFAULT_wxUSE_LISTBOOK
=yes
2537 DEFAULT_wxUSE_LISTBOX
=yes
2538 DEFAULT_wxUSE_LISTCTRL
=yes
2539 DEFAULT_wxUSE_NOTEBOOK
=yes
2540 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2541 DEFAULT_wxUSE_RADIOBOX
=yes
2542 DEFAULT_wxUSE_RADIOBTN
=yes
2543 DEFAULT_wxUSE_SASH
=yes
2544 DEFAULT_wxUSE_SCROLLBAR
=yes
2545 DEFAULT_wxUSE_SLIDER
=yes
2546 DEFAULT_wxUSE_SPINBTN
=yes
2547 DEFAULT_wxUSE_SPINCTRL
=yes
2548 DEFAULT_wxUSE_SPLITTER
=yes
2549 DEFAULT_wxUSE_STATBMP
=yes
2550 DEFAULT_wxUSE_STATBOX
=yes
2551 DEFAULT_wxUSE_STATLINE
=yes
2552 DEFAULT_wxUSE_STATTEXT
=yes
2553 DEFAULT_wxUSE_STATUSBAR
=yes
2554 DEFAULT_wxUSE_TAB_DIALOG
=no
2555 DEFAULT_wxUSE_TEXTCTRL
=yes
2556 DEFAULT_wxUSE_TOGGLEBTN
=yes
2557 DEFAULT_wxUSE_TOOLBAR
=yes
2558 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2559 DEFAULT_wxUSE_TREEBOOK
=yes
2560 DEFAULT_wxUSE_TOOLBOOK
=yes
2561 DEFAULT_wxUSE_TREECTRL
=yes
2562 DEFAULT_wxUSE_POPUPWIN
=yes
2563 DEFAULT_wxUSE_TIPWINDOW
=yes
2565 DEFAULT_wxUSE_UNICODE
=no
2566 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2567 DEFAULT_wxUSE_WCSRTOMBS
=no
2569 DEFAULT_wxUSE_PALETTE
=yes
2570 DEFAULT_wxUSE_IMAGE
=yes
2571 DEFAULT_wxUSE_GIF
=yes
2572 DEFAULT_wxUSE_PCX
=yes
2573 DEFAULT_wxUSE_IFF
=no
2574 DEFAULT_wxUSE_PNM
=yes
2575 DEFAULT_wxUSE_XPM
=yes
2576 DEFAULT_wxUSE_ICO_CUR
=yes
2577 DEFAULT_wxUSE_ACCESSIBILITY
=no
2579 DEFAULT_wxUSE_MONOLITHIC
=no
2580 DEFAULT_wxUSE_PLUGINS
=no
2581 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2583 DEFAULT_wxUSE_GTK2
=yes
2589 for toolkit
in `echo $ALL_TOOLKITS`; do
2590 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2591 if test "x$LINE" != "x" ; then
2592 has_toolkit_in_cache
=1
2593 eval "DEFAULT_$LINE"
2594 eval "CACHE_$toolkit=1"
2596 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2597 if test "x$LINE" != "x" ; then
2598 eval "DEFAULT_$LINE"
2606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2607 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2609 # Check whether --enable-gui or --disable-gui was given.
2610 if test "${enable_gui+set}" = set; then
2611 enableval
="$enable_gui"
2613 if test "$enableval" = yes; then
2614 ac_cv_use_gui
='wxUSE_GUI=yes'
2616 ac_cv_use_gui
='wxUSE_GUI=no'
2621 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x
; then
2623 eval "DEFAULT_$LINE"
2628 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2632 eval "$ac_cv_use_gui"
2633 if test "$no_cache" != 1; then
2634 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2637 if test "$wxUSE_GUI" = yes; then
2638 echo "$as_me:$LINENO: result: yes" >&5
2639 echo "${ECHO_T}yes" >&6
2641 echo "$as_me:$LINENO: result: no" >&5
2642 echo "${ECHO_T}no" >&6
2647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2648 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2650 # Check whether --enable-monolithic or --disable-monolithic was given.
2651 if test "${enable_monolithic+set}" = set; then
2652 enableval
="$enable_monolithic"
2654 if test "$enableval" = yes; then
2655 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2657 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2662 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2663 if test "x$LINE" != x
; then
2664 eval "DEFAULT_$LINE"
2669 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2673 eval "$ac_cv_use_monolithic"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2678 if test "$wxUSE_MONOLITHIC" = yes; then
2679 echo "$as_me:$LINENO: result: yes" >&5
2680 echo "${ECHO_T}yes" >&6
2682 echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6
2688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2689 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2691 # Check whether --enable-plugins or --disable-plugins was given.
2692 if test "${enable_plugins+set}" = set; then
2693 enableval
="$enable_plugins"
2695 if test "$enableval" = yes; then
2696 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2698 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2703 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2704 if test "x$LINE" != x
; then
2705 eval "DEFAULT_$LINE"
2710 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2714 eval "$ac_cv_use_plugins"
2715 if test "$no_cache" != 1; then
2716 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2719 if test "$wxUSE_PLUGINS" = yes; then
2720 echo "$as_me:$LINENO: result: yes" >&5
2721 echo "${ECHO_T}yes" >&6
2723 echo "$as_me:$LINENO: result: no" >&5
2724 echo "${ECHO_T}no" >&6
2729 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2730 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2733 # Check whether --with-subdirs or --without-subdirs was given.
2734 if test "${with_subdirs+set}" = set; then
2735 withval
="$with_subdirs"
2737 if test "$withval" = yes; then
2738 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2740 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2745 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2746 if test "x$LINE" != x
; then
2747 eval "DEFAULT_$LINE"
2752 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2756 eval "$ac_cv_use_subdirs"
2757 if test "$no_cache" != 1; then
2758 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2761 if test "$wxWITH_SUBDIRS" = yes; then
2762 echo "$as_me:$LINENO: result: yes" >&5
2763 echo "${ECHO_T}yes" >&6
2765 echo "$as_me:$LINENO: result: no" >&5
2766 echo "${ECHO_T}no" >&6
2770 if test "$wxUSE_GUI" = "yes"; then
2774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2775 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2777 # Check whether --enable-universal or --disable-universal was given.
2778 if test "${enable_universal+set}" = set; then
2779 enableval
="$enable_universal"
2781 if test "$enableval" = yes; then
2782 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2784 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2789 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x
; then
2791 eval "DEFAULT_$LINE"
2796 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2800 eval "$ac_cv_use_universal"
2801 if test "$no_cache" != 1; then
2802 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2805 if test "$wxUSE_UNIVERSAL" = yes; then
2806 echo "$as_me:$LINENO: result: yes" >&5
2807 echo "${ECHO_T}yes" >&6
2809 echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2814 # Check whether --with-gtk or --without-gtk was given.
2815 if test "${with_gtk+set}" = set; then
2817 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2820 # Check whether --with-motif or --without-motif was given.
2821 if test "${with_motif+set}" = set; then
2822 withval
="$with_motif"
2823 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2826 # Check whether --with-mac or --without-mac was given.
2827 if test "${with_mac+set}" = set; then
2829 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2832 # Check whether --with-cocoa or --without-cocoa was given.
2833 if test "${with_cocoa+set}" = set; then
2834 withval
="$with_cocoa"
2835 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2838 # Check whether --with-wine or --without-wine was given.
2839 if test "${with_wine+set}" = set; then
2840 withval
="$with_wine"
2841 wxUSE_WINE
="$withval" CACHE_WINE
=1
2844 # Check whether --with-msw or --without-msw was given.
2845 if test "${with_msw+set}" = set; then
2847 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2850 # Check whether --with-pm or --without-pm was given.
2851 if test "${with_pm+set}" = set; then
2853 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2856 # Check whether --with-mgl or --without-mgl was given.
2857 if test "${with_mgl+set}" = set; then
2859 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2862 # Check whether --with-directfb or --without-directfb was given.
2863 if test "${with_directfb+set}" = set; then
2864 withval
="$with_directfb"
2865 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2868 # Check whether --with-microwin or --without-microwin was given.
2869 if test "${with_microwin+set}" = set; then
2870 withval
="$with_microwin"
2871 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2874 # Check whether --with-x11 or --without-x11 was given.
2875 if test "${with_x11+set}" = set; then
2877 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2882 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2884 # Check whether --enable-nanox or --disable-nanox was given.
2885 if test "${enable_nanox+set}" = set; then
2886 enableval
="$enable_nanox"
2888 if test "$enableval" = yes; then
2889 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2891 ac_cv_use_nanox
='wxUSE_NANOX=no'
2896 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2897 if test "x$LINE" != x
; then
2898 eval "DEFAULT_$LINE"
2903 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2907 eval "$ac_cv_use_nanox"
2908 if test "$no_cache" != 1; then
2909 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2912 if test "$wxUSE_NANOX" = yes; then
2913 echo "$as_me:$LINENO: result: yes" >&5
2914 echo "${ECHO_T}yes" >&6
2916 echo "$as_me:$LINENO: result: no" >&5
2917 echo "${ECHO_T}no" >&6
2921 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2922 if test "${enable_gtk2+set}" = set; then
2923 enableval
="$enable_gtk2"
2924 wxUSE_GTK2
="$enableval"
2928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2929 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2931 # Check whether --enable-gpe or --disable-gpe was given.
2932 if test "${enable_gpe+set}" = set; then
2933 enableval
="$enable_gpe"
2935 if test "$enableval" = yes; then
2936 ac_cv_use_gpe
='wxUSE_GPE=yes'
2938 ac_cv_use_gpe
='wxUSE_GPE=no'
2943 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x
; then
2945 eval "DEFAULT_$LINE"
2950 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2954 eval "$ac_cv_use_gpe"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2959 if test "$wxUSE_GPE" = yes; then
2960 echo "$as_me:$LINENO: result: yes" >&5
2961 echo "${ECHO_T}yes" >&6
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2969 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2970 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2973 # Check whether --with-libpng or --without-libpng was given.
2974 if test "${with_libpng+set}" = set; then
2975 withval
="$with_libpng"
2977 if test "$withval" = yes; then
2978 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2979 elif test "$withval" = no
; then
2980 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2981 elif test "$withval" = sys
; then
2982 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2983 elif test "$withval" = builtin; then
2984 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2986 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2987 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2988 { (exit 1); exit 1; }; }
2993 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x
; then
2995 eval "DEFAULT_$LINE"
3000 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3004 eval "$ac_cv_use_libpng"
3005 if test "$no_cache" != 1; then
3006 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3009 if test "$wxUSE_LIBPNG" = yes; then
3010 echo "$as_me:$LINENO: result: yes" >&5
3011 echo "${ECHO_T}yes" >&6
3012 elif test "$wxUSE_LIBPNG" = no
; then
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3015 elif test "$wxUSE_LIBPNG" = sys
; then
3016 echo "$as_me:$LINENO: result: system version" >&5
3017 echo "${ECHO_T}system version" >&6
3018 elif test "$wxUSE_LIBPNG" = builtin; then
3019 echo "$as_me:$LINENO: result: builtin version" >&5
3020 echo "${ECHO_T}builtin version" >&6
3022 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3023 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3024 { (exit 1); exit 1; }; }
3028 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3029 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3032 # Check whether --with-libjpeg or --without-libjpeg was given.
3033 if test "${with_libjpeg+set}" = set; then
3034 withval
="$with_libjpeg"
3036 if test "$withval" = yes; then
3037 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3038 elif test "$withval" = no
; then
3039 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3040 elif test "$withval" = sys
; then
3041 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3042 elif test "$withval" = builtin; then
3043 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3045 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3046 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3047 { (exit 1); exit 1; }; }
3052 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3053 if test "x$LINE" != x
; then
3054 eval "DEFAULT_$LINE"
3059 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3063 eval "$ac_cv_use_libjpeg"
3064 if test "$no_cache" != 1; then
3065 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3068 if test "$wxUSE_LIBJPEG" = yes; then
3069 echo "$as_me:$LINENO: result: yes" >&5
3070 echo "${ECHO_T}yes" >&6
3071 elif test "$wxUSE_LIBJPEG" = no
; then
3072 echo "$as_me:$LINENO: result: no" >&5
3073 echo "${ECHO_T}no" >&6
3074 elif test "$wxUSE_LIBJPEG" = sys
; then
3075 echo "$as_me:$LINENO: result: system version" >&5
3076 echo "${ECHO_T}system version" >&6
3077 elif test "$wxUSE_LIBJPEG" = builtin; then
3078 echo "$as_me:$LINENO: result: builtin version" >&5
3079 echo "${ECHO_T}builtin version" >&6
3081 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3082 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3083 { (exit 1); exit 1; }; }
3087 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3088 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3091 # Check whether --with-libtiff or --without-libtiff was given.
3092 if test "${with_libtiff+set}" = set; then
3093 withval
="$with_libtiff"
3095 if test "$withval" = yes; then
3096 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3097 elif test "$withval" = no
; then
3098 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3099 elif test "$withval" = sys
; then
3100 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3101 elif test "$withval" = builtin; then
3102 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3104 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3105 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3106 { (exit 1); exit 1; }; }
3111 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x
; then
3113 eval "DEFAULT_$LINE"
3118 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3122 eval "$ac_cv_use_libtiff"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3127 if test "$wxUSE_LIBTIFF" = yes; then
3128 echo "$as_me:$LINENO: result: yes" >&5
3129 echo "${ECHO_T}yes" >&6
3130 elif test "$wxUSE_LIBTIFF" = no
; then
3131 echo "$as_me:$LINENO: result: no" >&5
3132 echo "${ECHO_T}no" >&6
3133 elif test "$wxUSE_LIBTIFF" = sys
; then
3134 echo "$as_me:$LINENO: result: system version" >&5
3135 echo "${ECHO_T}system version" >&6
3136 elif test "$wxUSE_LIBTIFF" = builtin; then
3137 echo "$as_me:$LINENO: result: builtin version" >&5
3138 echo "${ECHO_T}builtin version" >&6
3140 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3141 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3142 { (exit 1); exit 1; }; }
3146 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3147 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3150 # Check whether --with-libxpm or --without-libxpm was given.
3151 if test "${with_libxpm+set}" = set; then
3152 withval
="$with_libxpm"
3154 if test "$withval" = yes; then
3155 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3156 elif test "$withval" = no
; then
3157 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3158 elif test "$withval" = sys
; then
3159 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3160 elif test "$withval" = builtin; then
3161 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3163 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3164 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3165 { (exit 1); exit 1; }; }
3170 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x
; then
3172 eval "DEFAULT_$LINE"
3177 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3181 eval "$ac_cv_use_libxpm"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3186 if test "$wxUSE_LIBXPM" = yes; then
3187 echo "$as_me:$LINENO: result: yes" >&5
3188 echo "${ECHO_T}yes" >&6
3189 elif test "$wxUSE_LIBXPM" = no
; then
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3192 elif test "$wxUSE_LIBXPM" = sys
; then
3193 echo "$as_me:$LINENO: result: system version" >&5
3194 echo "${ECHO_T}system version" >&6
3195 elif test "$wxUSE_LIBXPM" = builtin; then
3196 echo "$as_me:$LINENO: result: builtin version" >&5
3197 echo "${ECHO_T}builtin version" >&6
3199 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3200 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3201 { (exit 1); exit 1; }; }
3206 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3207 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3210 # Check whether --with-libmspack or --without-libmspack was given.
3211 if test "${with_libmspack+set}" = set; then
3212 withval
="$with_libmspack"
3214 if test "$withval" = yes; then
3215 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3217 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3222 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x
; then
3224 eval "DEFAULT_$LINE"
3229 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3233 eval "$ac_cv_use_libmspack"
3234 if test "$no_cache" != 1; then
3235 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3238 if test "$wxUSE_LIBMSPACK" = yes; then
3239 echo "$as_me:$LINENO: result: yes" >&5
3240 echo "${ECHO_T}yes" >&6
3242 echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6
3248 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3249 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3252 # Check whether --with-sdl or --without-sdl was given.
3253 if test "${with_sdl+set}" = set; then
3256 if test "$withval" = yes; then
3257 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3259 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3264 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3265 if test "x$LINE" != x
; then
3266 eval "DEFAULT_$LINE"
3271 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3275 eval "$ac_cv_use_sdl"
3276 if test "$no_cache" != 1; then
3277 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3280 if test "$wxUSE_LIBSDL" = yes; then
3281 echo "$as_me:$LINENO: result: yes" >&5
3282 echo "${ECHO_T}yes" >&6
3284 echo "$as_me:$LINENO: result: no" >&5
3285 echo "${ECHO_T}no" >&6
3290 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3291 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3294 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3295 if test "${with_gnomeprint+set}" = set; then
3296 withval
="$with_gnomeprint"
3298 if test "$withval" = yes; then
3299 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3301 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3306 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x
; then
3308 eval "DEFAULT_$LINE"
3313 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3317 eval "$ac_cv_use_gnomeprint"
3318 if test "$no_cache" != 1; then
3319 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3322 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3323 echo "$as_me:$LINENO: result: yes" >&5
3324 echo "${ECHO_T}yes" >&6
3326 echo "$as_me:$LINENO: result: no" >&5
3327 echo "${ECHO_T}no" >&6
3332 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3333 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3336 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3337 if test "${with_gnomevfs+set}" = set; then
3338 withval
="$with_gnomevfs"
3340 if test "$withval" = yes; then
3341 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3343 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3348 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x
; then
3350 eval "DEFAULT_$LINE"
3355 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3359 eval "$ac_cv_use_gnomevfs"
3360 if test "$no_cache" != 1; then
3361 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3364 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3365 echo "$as_me:$LINENO: result: yes" >&5
3366 echo "${ECHO_T}yes" >&6
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3374 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3375 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3378 # Check whether --with-hildon or --without-hildon was given.
3379 if test "${with_hildon+set}" = set; then
3380 withval
="$with_hildon"
3382 if test "$withval" = yes; then
3383 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3385 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3390 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3391 if test "x$LINE" != x
; then
3392 eval "DEFAULT_$LINE"
3397 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3401 eval "$ac_cv_use_hildon"
3402 if test "$no_cache" != 1; then
3403 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3406 if test "$wxUSE_LIBHILDON" = yes; then
3407 echo "$as_me:$LINENO: result: yes" >&5
3408 echo "${ECHO_T}yes" >&6
3410 echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3416 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3417 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3420 # Check whether --with-opengl or --without-opengl was given.
3421 if test "${with_opengl+set}" = set; then
3422 withval
="$with_opengl"
3424 if test "$withval" = yes; then
3425 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3427 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3432 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3433 if test "x$LINE" != x
; then
3434 eval "DEFAULT_$LINE"
3439 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3443 eval "$ac_cv_use_opengl"
3444 if test "$no_cache" != 1; then
3445 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3448 if test "$wxUSE_OPENGL" = yes; then
3449 echo "$as_me:$LINENO: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6
3452 echo "$as_me:$LINENO: result: no" >&5
3453 echo "${ECHO_T}no" >&6
3461 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3462 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3465 # Check whether --with-dmalloc or --without-dmalloc was given.
3466 if test "${with_dmalloc+set}" = set; then
3467 withval
="$with_dmalloc"
3469 if test "$withval" = yes; then
3470 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3472 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3477 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3478 if test "x$LINE" != x
; then
3479 eval "DEFAULT_$LINE"
3484 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3488 eval "$ac_cv_use_dmalloc"
3489 if test "$no_cache" != 1; then
3490 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3493 if test "$wxUSE_DMALLOC" = yes; then
3494 echo "$as_me:$LINENO: result: yes" >&5
3495 echo "${ECHO_T}yes" >&6
3497 echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6
3502 echo "$as_me:$LINENO: checking for --with-regex" >&5
3503 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3506 # Check whether --with-regex or --without-regex was given.
3507 if test "${with_regex+set}" = set; then
3508 withval
="$with_regex"
3510 if test "$withval" = yes; then
3511 ac_cv_use_regex
='wxUSE_REGEX=yes'
3512 elif test "$withval" = no
; then
3513 ac_cv_use_regex
='wxUSE_REGEX=no'
3514 elif test "$withval" = sys
; then
3515 ac_cv_use_regex
='wxUSE_REGEX=sys'
3516 elif test "$withval" = builtin; then
3517 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3519 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3520 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3521 { (exit 1); exit 1; }; }
3526 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x
; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3537 eval "$ac_cv_use_regex"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3542 if test "$wxUSE_REGEX" = yes; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3545 elif test "$wxUSE_REGEX" = no
; then
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3548 elif test "$wxUSE_REGEX" = sys
; then
3549 echo "$as_me:$LINENO: result: system version" >&5
3550 echo "${ECHO_T}system version" >&6
3551 elif test "$wxUSE_REGEX" = builtin; then
3552 echo "$as_me:$LINENO: result: builtin version" >&5
3553 echo "${ECHO_T}builtin version" >&6
3555 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3556 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3557 { (exit 1); exit 1; }; }
3561 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3562 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3565 # Check whether --with-zlib or --without-zlib was given.
3566 if test "${with_zlib+set}" = set; then
3567 withval
="$with_zlib"
3569 if test "$withval" = yes; then
3570 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3571 elif test "$withval" = no
; then
3572 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3573 elif test "$withval" = sys
; then
3574 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3575 elif test "$withval" = builtin; then
3576 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3578 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3579 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3580 { (exit 1); exit 1; }; }
3585 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x
; then
3587 eval "DEFAULT_$LINE"
3592 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3596 eval "$ac_cv_use_zlib"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3601 if test "$wxUSE_ZLIB" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3604 elif test "$wxUSE_ZLIB" = no
; then
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3607 elif test "$wxUSE_ZLIB" = sys
; then
3608 echo "$as_me:$LINENO: result: system version" >&5
3609 echo "${ECHO_T}system version" >&6
3610 elif test "$wxUSE_ZLIB" = builtin; then
3611 echo "$as_me:$LINENO: result: builtin version" >&5
3612 echo "${ECHO_T}builtin version" >&6
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3620 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3621 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3624 # Check whether --with-odbc or --without-odbc was given.
3625 if test "${with_odbc+set}" = set; then
3626 withval
="$with_odbc"
3628 if test "$withval" = yes; then
3629 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3630 elif test "$withval" = no
; then
3631 ac_cv_use_odbc
='wxUSE_ODBC=no'
3632 elif test "$withval" = sys
; then
3633 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3634 elif test "$withval" = builtin; then
3635 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3644 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x
; then
3646 eval "DEFAULT_$LINE"
3651 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3655 eval "$ac_cv_use_odbc"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_ODBC" = yes; then
3661 echo "$as_me:$LINENO: result: yes" >&5
3662 echo "${ECHO_T}yes" >&6
3663 elif test "$wxUSE_ODBC" = no
; then
3664 echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6
3666 elif test "$wxUSE_ODBC" = sys
; then
3667 echo "$as_me:$LINENO: result: system version" >&5
3668 echo "${ECHO_T}system version" >&6
3669 elif test "$wxUSE_ODBC" = builtin; then
3670 echo "$as_me:$LINENO: result: builtin version" >&5
3671 echo "${ECHO_T}builtin version" >&6
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3679 echo "$as_me:$LINENO: checking for --with-expat" >&5
3680 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3683 # Check whether --with-expat or --without-expat was given.
3684 if test "${with_expat+set}" = set; then
3685 withval
="$with_expat"
3687 if test "$withval" = yes; then
3688 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3689 elif test "$withval" = no
; then
3690 ac_cv_use_expat
='wxUSE_EXPAT=no'
3691 elif test "$withval" = sys
; then
3692 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3693 elif test "$withval" = builtin; then
3694 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3696 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3697 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3698 { (exit 1); exit 1; }; }
3703 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x
; then
3705 eval "DEFAULT_$LINE"
3710 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3714 eval "$ac_cv_use_expat"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3719 if test "$wxUSE_EXPAT" = yes; then
3720 echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6
3722 elif test "$wxUSE_EXPAT" = no
; then
3723 echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6
3725 elif test "$wxUSE_EXPAT" = sys
; then
3726 echo "$as_me:$LINENO: result: system version" >&5
3727 echo "${ECHO_T}system version" >&6
3728 elif test "$wxUSE_EXPAT" = builtin; then
3729 echo "$as_me:$LINENO: result: builtin version" >&5
3730 echo "${ECHO_T}builtin version" >&6
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3742 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3744 # Check whether --enable-shared or --disable-shared was given.
3745 if test "${enable_shared+set}" = set; then
3746 enableval
="$enable_shared"
3748 if test "$enableval" = yes; then
3749 ac_cv_use_shared
='wxUSE_SHARED=yes'
3751 ac_cv_use_shared
='wxUSE_SHARED=no'
3756 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x
; then
3758 eval "DEFAULT_$LINE"
3763 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3767 eval "$ac_cv_use_shared"
3768 if test "$no_cache" != 1; then
3769 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3772 if test "$wxUSE_SHARED" = yes; then
3773 echo "$as_me:$LINENO: result: yes" >&5
3774 echo "${ECHO_T}yes" >&6
3776 echo "$as_me:$LINENO: result: no" >&5
3777 echo "${ECHO_T}no" >&6
3782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3783 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3785 # Check whether --enable-optimise or --disable-optimise was given.
3786 if test "${enable_optimise+set}" = set; then
3787 enableval
="$enable_optimise"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3792 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3797 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3808 eval "$ac_cv_use_optimise"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3813 if test "$wxUSE_OPTIMISE" = yes; then
3814 echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3824 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3826 # Check whether --enable-debug or --disable-debug was given.
3827 if test "${enable_debug+set}" = set; then
3828 enableval
="$enable_debug"
3830 if test "$enableval" = yes; then
3831 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3833 ac_cv_use_debug
='wxUSE_DEBUG=no'
3838 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x
; then
3840 eval "DEFAULT_$LINE"
3845 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3849 eval "$ac_cv_use_debug"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3854 if test "$wxUSE_DEBUG" = yes; then
3855 echo "$as_me:$LINENO: result: yes" >&5
3856 echo "${ECHO_T}yes" >&6
3858 echo "$as_me:$LINENO: result: no" >&5
3859 echo "${ECHO_T}no" >&6
3864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3865 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3867 # Check whether --enable-stl or --disable-stl was given.
3868 if test "${enable_stl+set}" = set; then
3869 enableval
="$enable_stl"
3871 if test "$enableval" = yes; then
3872 ac_cv_use_stl
='wxUSE_STL=yes'
3874 ac_cv_use_stl
='wxUSE_STL=no'
3879 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x
; then
3881 eval "DEFAULT_$LINE"
3886 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3890 eval "$ac_cv_use_stl"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3895 if test "$wxUSE_STL" = yes; then
3896 echo "$as_me:$LINENO: result: yes" >&5
3897 echo "${ECHO_T}yes" >&6
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3903 if test "$USE_OS2" = "1"; then
3904 DEFAULT_wxUSE_OMF
=no
3907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3908 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3910 # Check whether --enable-omf or --disable-omf was given.
3911 if test "${enable_omf+set}" = set; then
3912 enableval
="$enable_omf"
3914 if test "$enableval" = yes; then
3915 ac_cv_use_omf
='wxUSE_OMF=yes'
3917 ac_cv_use_omf
='wxUSE_OMF=no'
3922 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x
; then
3924 eval "DEFAULT_$LINE"
3929 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3933 eval "$ac_cv_use_omf"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3938 if test "$wxUSE_OMF" = yes; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940 echo "${ECHO_T}yes" >&6
3942 echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3948 if test "$wxUSE_DEBUG" = "yes"; then
3949 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3950 DEFAULT_wxUSE_DEBUG_INFO
=yes
3952 elif test "$wxUSE_DEBUG" = "no"; then
3953 DEFAULT_wxUSE_DEBUG_FLAG
=no
3954 DEFAULT_wxUSE_DEBUG_INFO
=no
3960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3961 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3963 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3964 if test "${enable_debug_flag+set}" = set; then
3965 enableval
="$enable_debug_flag"
3967 if test "$enableval" = yes; then
3968 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3970 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3975 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3976 if test "x$LINE" != x
; then
3977 eval "DEFAULT_$LINE"
3982 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3986 eval "$ac_cv_use_debug_flag"
3987 if test "$no_cache" != 1; then
3988 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3991 if test "$wxUSE_DEBUG_FLAG" = yes; then
3992 echo "$as_me:$LINENO: result: yes" >&5
3993 echo "${ECHO_T}yes" >&6
3995 echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6
4001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4002 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4004 # Check whether --enable-debug_info or --disable-debug_info was given.
4005 if test "${enable_debug_info+set}" = set; then
4006 enableval
="$enable_debug_info"
4008 if test "$enableval" = yes; then
4009 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4011 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4016 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4017 if test "x$LINE" != x
; then
4018 eval "DEFAULT_$LINE"
4023 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4027 eval "$ac_cv_use_debug_info"
4028 if test "$no_cache" != 1; then
4029 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4032 if test "$wxUSE_DEBUG_INFO" = yes; then
4033 echo "$as_me:$LINENO: result: yes" >&5
4034 echo "${ECHO_T}yes" >&6
4036 echo "$as_me:$LINENO: result: no" >&5
4037 echo "${ECHO_T}no" >&6
4042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4043 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4045 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4046 if test "${enable_debug_gdb+set}" = set; then
4047 enableval
="$enable_debug_gdb"
4049 if test "$enableval" = yes; then
4050 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4052 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4057 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4058 if test "x$LINE" != x
; then
4059 eval "DEFAULT_$LINE"
4064 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4068 eval "$ac_cv_use_debug_gdb"
4069 if test "$no_cache" != 1; then
4070 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4073 if test "$wxUSE_DEBUG_GDB" = yes; then
4074 echo "$as_me:$LINENO: result: yes" >&5
4075 echo "${ECHO_T}yes" >&6
4077 echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6
4083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4084 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4086 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4087 if test "${enable_debug_cntxt+set}" = set; then
4088 enableval
="$enable_debug_cntxt"
4090 if test "$enableval" = yes; then
4091 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4093 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4098 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4099 if test "x$LINE" != x
; then
4100 eval "DEFAULT_$LINE"
4105 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4109 eval "$ac_cv_use_debug_cntxt"
4110 if test "$no_cache" != 1; then
4111 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4114 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4115 echo "$as_me:$LINENO: result: yes" >&5
4116 echo "${ECHO_T}yes" >&6
4118 echo "$as_me:$LINENO: result: no" >&5
4119 echo "${ECHO_T}no" >&6
4124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4125 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4127 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4128 if test "${enable_mem_tracing+set}" = set; then
4129 enableval
="$enable_mem_tracing"
4131 if test "$enableval" = yes; then
4132 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4134 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4139 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4140 if test "x$LINE" != x
; then
4141 eval "DEFAULT_$LINE"
4146 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4150 eval "$ac_cv_use_mem_tracing"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4155 if test "$wxUSE_MEM_TRACING" = yes; then
4156 echo "$as_me:$LINENO: result: yes" >&5
4157 echo "${ECHO_T}yes" >&6
4159 echo "$as_me:$LINENO: result: no" >&5
4160 echo "${ECHO_T}no" >&6
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4168 # Check whether --enable-profile or --disable-profile was given.
4169 if test "${enable_profile+set}" = set; then
4170 enableval
="$enable_profile"
4172 if test "$enableval" = yes; then
4173 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4175 ac_cv_use_profile
='wxUSE_PROFILE=no'
4180 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x
; then
4182 eval "DEFAULT_$LINE"
4187 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4191 eval "$ac_cv_use_profile"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4196 if test "$wxUSE_PROFILE" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4207 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4209 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4210 if test "${enable_no_rtti+set}" = set; then
4211 enableval
="$enable_no_rtti"
4213 if test "$enableval" = yes; then
4214 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4216 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4221 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4222 if test "x$LINE" != x
; then
4223 eval "DEFAULT_$LINE"
4228 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4232 eval "$ac_cv_use_no_rtti"
4233 if test "$no_cache" != 1; then
4234 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4237 if test "$wxUSE_NO_RTTI" = yes; then
4238 echo "$as_me:$LINENO: result: yes" >&5
4239 echo "${ECHO_T}yes" >&6
4241 echo "$as_me:$LINENO: result: no" >&5
4242 echo "${ECHO_T}no" >&6
4247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4248 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4250 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4251 if test "${enable_no_exceptions+set}" = set; then
4252 enableval
="$enable_no_exceptions"
4254 if test "$enableval" = yes; then
4255 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4257 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4262 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4263 if test "x$LINE" != x
; then
4264 eval "DEFAULT_$LINE"
4269 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4273 eval "$ac_cv_use_no_exceptions"
4274 if test "$no_cache" != 1; then
4275 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4278 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4279 echo "$as_me:$LINENO: result: yes" >&5
4280 echo "${ECHO_T}yes" >&6
4282 echo "$as_me:$LINENO: result: no" >&5
4283 echo "${ECHO_T}no" >&6
4288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4289 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4291 # Check whether --enable-permissive or --disable-permissive was given.
4292 if test "${enable_permissive+set}" = set; then
4293 enableval
="$enable_permissive"
4295 if test "$enableval" = yes; then
4296 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4298 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4303 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4304 if test "x$LINE" != x
; then
4305 eval "DEFAULT_$LINE"
4310 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4314 eval "$ac_cv_use_permissive"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4319 if test "$wxUSE_PERMISSIVE" = yes; then
4320 echo "$as_me:$LINENO: result: yes" >&5
4321 echo "${ECHO_T}yes" >&6
4323 echo "$as_me:$LINENO: result: no" >&5
4324 echo "${ECHO_T}no" >&6
4329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4330 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4332 # Check whether --enable-no_deps or --disable-no_deps was given.
4333 if test "${enable_no_deps+set}" = set; then
4334 enableval
="$enable_no_deps"
4336 if test "$enableval" = yes; then
4337 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4339 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4344 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x
; then
4346 eval "DEFAULT_$LINE"
4351 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4355 eval "$ac_cv_use_no_deps"
4356 if test "$no_cache" != 1; then
4357 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4360 if test "$wxUSE_NO_DEPS" = yes; then
4361 echo "$as_me:$LINENO: result: yes" >&5
4362 echo "${ECHO_T}yes" >&6
4364 echo "$as_me:$LINENO: result: no" >&5
4365 echo "${ECHO_T}no" >&6
4370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4371 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4373 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4374 if test "${enable_universal_binary+set}" = set; then
4375 enableval
="$enable_universal_binary"
4377 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4381 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4382 if test "x$LINE" != x
; then
4383 eval "DEFAULT_$LINE"
4384 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4387 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4392 eval "$wx_cv_use_universal_binary"
4393 if test "$no_cache" != 1; then
4394 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4397 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4398 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4404 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4406 # Check whether --enable-compat24 or --disable-compat24 was given.
4407 if test "${enable_compat24+set}" = set; then
4408 enableval
="$enable_compat24"
4410 if test "$enableval" = yes; then
4411 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4413 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4418 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4419 if test "x$LINE" != x
; then
4420 eval "DEFAULT_$LINE"
4425 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4429 eval "$ac_cv_use_compat24"
4430 if test "$no_cache" != 1; then
4431 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4434 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4435 echo "$as_me:$LINENO: result: yes" >&5
4436 echo "${ECHO_T}yes" >&6
4438 echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6
4443 enablestring
=disable
4444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4447 # Check whether --enable-compat26 or --disable-compat26 was given.
4448 if test "${enable_compat26+set}" = set; then
4449 enableval
="$enable_compat26"
4451 if test "$enableval" = yes; then
4452 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4454 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4459 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4460 if test "x$LINE" != x
; then
4461 eval "DEFAULT_$LINE"
4466 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4470 eval "$ac_cv_use_compat26"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4475 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4476 echo "$as_me:$LINENO: result: yes" >&5
4477 echo "${ECHO_T}yes" >&6
4479 echo "$as_me:$LINENO: result: no" >&5
4480 echo "${ECHO_T}no" >&6
4486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4487 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4489 # Check whether --enable-rpath or --disable-rpath was given.
4490 if test "${enable_rpath+set}" = set; then
4491 enableval
="$enable_rpath"
4493 if test "$enableval" = yes; then
4494 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4496 ac_cv_use_rpath
='wxUSE_RPATH=no'
4501 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x
; then
4503 eval "DEFAULT_$LINE"
4508 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4512 eval "$ac_cv_use_rpath"
4513 if test "$no_cache" != 1; then
4514 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4517 if test "$wxUSE_RPATH" = yes; then
4518 echo "$as_me:$LINENO: result: yes" >&5
4519 echo "${ECHO_T}yes" >&6
4521 echo "$as_me:$LINENO: result: no" >&5
4522 echo "${ECHO_T}no" >&6
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4533 # Check whether --enable-intl or --disable-intl was given.
4534 if test "${enable_intl+set}" = set; then
4535 enableval
="$enable_intl"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_intl
='wxUSE_INTL=yes'
4540 ac_cv_use_intl
='wxUSE_INTL=no'
4545 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4556 eval "$ac_cv_use_intl"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_INTL" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4574 # Check whether --enable-config or --disable-config was given.
4575 if test "${enable_config+set}" = set; then
4576 enableval
="$enable_config"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_config
='wxUSE_CONFIG=yes'
4581 ac_cv_use_config
='wxUSE_CONFIG=no'
4586 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4597 eval "$ac_cv_use_config"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_CONFIG" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4614 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4616 # Check whether --enable-protocols or --disable-protocols was given.
4617 if test "${enable_protocols+set}" = set; then
4618 enableval
="$enable_protocols"
4620 if test "$enableval" = yes; then
4621 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4623 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4628 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x
; then
4630 eval "DEFAULT_$LINE"
4635 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4639 eval "$ac_cv_use_protocols"
4640 if test "$no_cache" != 1; then
4641 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4644 if test "$wxUSE_PROTOCOL" = yes; then
4645 echo "$as_me:$LINENO: result: yes" >&5
4646 echo "${ECHO_T}yes" >&6
4648 echo "$as_me:$LINENO: result: no" >&5
4649 echo "${ECHO_T}no" >&6
4654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4655 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4657 # Check whether --enable-ftp or --disable-ftp was given.
4658 if test "${enable_ftp+set}" = set; then
4659 enableval
="$enable_ftp"
4661 if test "$enableval" = yes; then
4662 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4664 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4669 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x
; then
4671 eval "DEFAULT_$LINE"
4676 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4680 eval "$ac_cv_use_ftp"
4681 if test "$no_cache" != 1; then
4682 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4685 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4686 echo "$as_me:$LINENO: result: yes" >&5
4687 echo "${ECHO_T}yes" >&6
4689 echo "$as_me:$LINENO: result: no" >&5
4690 echo "${ECHO_T}no" >&6
4695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4698 # Check whether --enable-http or --disable-http was given.
4699 if test "${enable_http+set}" = set; then
4700 enableval
="$enable_http"
4702 if test "$enableval" = yes; then
4703 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4705 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4710 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4711 if test "x$LINE" != x
; then
4712 eval "DEFAULT_$LINE"
4717 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4721 eval "$ac_cv_use_http"
4722 if test "$no_cache" != 1; then
4723 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4726 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4727 echo "$as_me:$LINENO: result: yes" >&5
4728 echo "${ECHO_T}yes" >&6
4730 echo "$as_me:$LINENO: result: no" >&5
4731 echo "${ECHO_T}no" >&6
4736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4739 # Check whether --enable-fileproto or --disable-fileproto was given.
4740 if test "${enable_fileproto+set}" = set; then
4741 enableval
="$enable_fileproto"
4743 if test "$enableval" = yes; then
4744 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4746 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4751 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4752 if test "x$LINE" != x
; then
4753 eval "DEFAULT_$LINE"
4758 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4762 eval "$ac_cv_use_fileproto"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4767 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4768 echo "$as_me:$LINENO: result: yes" >&5
4769 echo "${ECHO_T}yes" >&6
4771 echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6
4777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4778 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4780 # Check whether --enable-sockets or --disable-sockets was given.
4781 if test "${enable_sockets+set}" = set; then
4782 enableval
="$enable_sockets"
4784 if test "$enableval" = yes; then
4785 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4787 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4792 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x
; then
4794 eval "DEFAULT_$LINE"
4799 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4803 eval "$ac_cv_use_sockets"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4808 if test "$wxUSE_SOCKETS" = yes; then
4809 echo "$as_me:$LINENO: result: yes" >&5
4810 echo "${ECHO_T}yes" >&6
4812 echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6
4818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4819 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4821 # Check whether --enable-ole or --disable-ole was given.
4822 if test "${enable_ole+set}" = set; then
4823 enableval
="$enable_ole"
4825 if test "$enableval" = yes; then
4826 ac_cv_use_ole
='wxUSE_OLE=yes'
4828 ac_cv_use_ole
='wxUSE_OLE=no'
4833 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4834 if test "x$LINE" != x
; then
4835 eval "DEFAULT_$LINE"
4840 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4844 eval "$ac_cv_use_ole"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4849 if test "$wxUSE_OLE" = yes; then
4850 echo "$as_me:$LINENO: result: yes" >&5
4851 echo "${ECHO_T}yes" >&6
4853 echo "$as_me:$LINENO: result: no" >&5
4854 echo "${ECHO_T}no" >&6
4859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4860 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4862 # Check whether --enable-dataobj or --disable-dataobj was given.
4863 if test "${enable_dataobj+set}" = set; then
4864 enableval
="$enable_dataobj"
4866 if test "$enableval" = yes; then
4867 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4869 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4874 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x
; then
4876 eval "DEFAULT_$LINE"
4881 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4885 eval "$ac_cv_use_dataobj"
4886 if test "$no_cache" != 1; then
4887 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4890 if test "$wxUSE_DATAOBJ" = yes; then
4891 echo "$as_me:$LINENO: result: yes" >&5
4892 echo "${ECHO_T}yes" >&6
4894 echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4904 # Check whether --enable-ipc or --disable-ipc was given.
4905 if test "${enable_ipc+set}" = set; then
4906 enableval
="$enable_ipc"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_ipc
='wxUSE_IPC=yes'
4911 ac_cv_use_ipc
='wxUSE_IPC=no'
4916 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4927 eval "$ac_cv_use_ipc"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_IPC" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4946 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4947 if test "${enable_apple_ieee+set}" = set; then
4948 enableval
="$enable_apple_ieee"
4950 if test "$enableval" = yes; then
4951 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4953 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4958 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x
; then
4960 eval "DEFAULT_$LINE"
4965 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4969 eval "$ac_cv_use_apple_ieee"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4974 if test "$wxUSE_APPLE_IEEE" = yes; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4987 # Check whether --enable-arcstream or --disable-arcstream was given.
4988 if test "${enable_arcstream+set}" = set; then
4989 enableval
="$enable_arcstream"
4991 if test "$enableval" = yes; then
4992 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4994 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4999 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x
; then
5001 eval "DEFAULT_$LINE"
5006 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5010 eval "$ac_cv_use_arcstream"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5015 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5028 # Check whether --enable-backtrace or --disable-backtrace was given.
5029 if test "${enable_backtrace+set}" = set; then
5030 enableval
="$enable_backtrace"
5032 if test "$enableval" = yes; then
5033 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5035 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5040 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x
; then
5042 eval "DEFAULT_$LINE"
5047 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5051 eval "$ac_cv_use_backtrace"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5056 if test "$wxUSE_STACKWALKER" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058 echo "${ECHO_T}yes" >&6
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5069 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5070 if test "${enable_catch_segvs+set}" = set; then
5071 enableval
="$enable_catch_segvs"
5073 if test "$enableval" = yes; then
5074 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5076 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5081 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x
; then
5083 eval "DEFAULT_$LINE"
5088 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5092 eval "$ac_cv_use_catch_segvs"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5097 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5110 # Check whether --enable-cmdline or --disable-cmdline was given.
5111 if test "${enable_cmdline+set}" = set; then
5112 enableval
="$enable_cmdline"
5114 if test "$enableval" = yes; then
5115 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5117 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5122 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x
; then
5124 eval "DEFAULT_$LINE"
5129 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5133 eval "$ac_cv_use_cmdline"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5138 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5151 # Check whether --enable-datetime or --disable-datetime was given.
5152 if test "${enable_datetime+set}" = set; then
5153 enableval
="$enable_datetime"
5155 if test "$enableval" = yes; then
5156 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5158 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5163 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x
; then
5165 eval "DEFAULT_$LINE"
5170 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5174 eval "$ac_cv_use_datetime"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5179 if test "$wxUSE_DATETIME" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181 echo "${ECHO_T}yes" >&6
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5192 # Check whether --enable-debugreport or --disable-debugreport was given.
5193 if test "${enable_debugreport+set}" = set; then
5194 enableval
="$enable_debugreport"
5196 if test "$enableval" = yes; then
5197 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5199 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5204 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x
; then
5206 eval "DEFAULT_$LINE"
5211 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5215 eval "$ac_cv_use_debugreport"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5220 if test "$wxUSE_DEBUGREPORT" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222 echo "${ECHO_T}yes" >&6
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5233 # Check whether --enable-dialupman or --disable-dialupman was given.
5234 if test "${enable_dialupman+set}" = set; then
5235 enableval
="$enable_dialupman"
5237 if test "$enableval" = yes; then
5238 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5240 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5245 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x
; then
5247 eval "DEFAULT_$LINE"
5252 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5256 eval "$ac_cv_use_dialupman"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5261 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263 echo "${ECHO_T}yes" >&6
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5274 # Check whether --enable-dynlib or --disable-dynlib was given.
5275 if test "${enable_dynlib+set}" = set; then
5276 enableval
="$enable_dynlib"
5278 if test "$enableval" = yes; then
5279 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5281 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5286 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x
; then
5288 eval "DEFAULT_$LINE"
5293 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5297 eval "$ac_cv_use_dynlib"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5302 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5306 echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5315 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5316 if test "${enable_dynamicloader+set}" = set; then
5317 enableval
="$enable_dynamicloader"
5319 if test "$enableval" = yes; then
5320 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5322 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5327 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x
; then
5329 eval "DEFAULT_$LINE"
5334 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5338 eval "$ac_cv_use_dynamicloader"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5343 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345 echo "${ECHO_T}yes" >&6
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5356 # Check whether --enable-exceptions or --disable-exceptions was given.
5357 if test "${enable_exceptions+set}" = set; then
5358 enableval
="$enable_exceptions"
5360 if test "$enableval" = yes; then
5361 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5363 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5368 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x
; then
5370 eval "DEFAULT_$LINE"
5375 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5379 eval "$ac_cv_use_exceptions"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5384 if test "$wxUSE_EXCEPTIONS" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386 echo "${ECHO_T}yes" >&6
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5397 # Check whether --enable-ffile or --disable-ffile was given.
5398 if test "${enable_ffile+set}" = set; then
5399 enableval
="$enable_ffile"
5401 if test "$enableval" = yes; then
5402 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5404 ac_cv_use_ffile
='wxUSE_FFILE=no'
5409 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x
; then
5411 eval "DEFAULT_$LINE"
5416 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5420 eval "$ac_cv_use_ffile"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5425 if test "$wxUSE_FFILE" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5438 # Check whether --enable-file or --disable-file was given.
5439 if test "${enable_file+set}" = set; then
5440 enableval
="$enable_file"
5442 if test "$enableval" = yes; then
5443 ac_cv_use_file
='wxUSE_FILE=yes'
5445 ac_cv_use_file
='wxUSE_FILE=no'
5450 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5457 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5461 eval "$ac_cv_use_file"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5466 if test "$wxUSE_FILE" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5479 # Check whether --enable-filesystem or --disable-filesystem was given.
5480 if test "${enable_filesystem+set}" = set; then
5481 enableval
="$enable_filesystem"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5486 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5491 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5502 eval "$ac_cv_use_filesystem"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5507 if test "$wxUSE_FILESYSTEM" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5520 # Check whether --enable-fontmap or --disable-fontmap was given.
5521 if test "${enable_fontmap+set}" = set; then
5522 enableval
="$enable_fontmap"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5527 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5532 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5543 eval "$ac_cv_use_fontmap"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_FONTMAP" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6
5552 echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5561 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5562 if test "${enable_fs_inet+set}" = set; then
5563 enableval
="$enable_fs_inet"
5565 if test "$enableval" = yes; then
5566 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5568 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5573 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x
; then
5575 eval "DEFAULT_$LINE"
5580 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5584 eval "$ac_cv_use_fs_inet"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_FS_INET" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5602 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5603 if test "${enable_fs_zip+set}" = set; then
5604 enableval
="$enable_fs_zip"
5606 if test "$enableval" = yes; then
5607 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5609 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5614 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x
; then
5616 eval "DEFAULT_$LINE"
5621 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5625 eval "$ac_cv_use_fs_zip"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5630 if test "$wxUSE_FS_ZIP" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6
5634 echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5643 # Check whether --enable-geometry or --disable-geometry was given.
5644 if test "${enable_geometry+set}" = set; then
5645 enableval
="$enable_geometry"
5647 if test "$enableval" = yes; then
5648 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5650 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5655 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x
; then
5657 eval "DEFAULT_$LINE"
5662 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5666 eval "$ac_cv_use_geometry"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5671 if test "$wxUSE_GEOMETRY" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5684 # Check whether --enable-log or --disable-log was given.
5685 if test "${enable_log+set}" = set; then
5686 enableval
="$enable_log"
5688 if test "$enableval" = yes; then
5689 ac_cv_use_log
='wxUSE_LOG=yes'
5691 ac_cv_use_log
='wxUSE_LOG=no'
5696 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x
; then
5698 eval "DEFAULT_$LINE"
5703 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5707 eval "$ac_cv_use_log"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5712 if test "$wxUSE_LOG" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5725 # Check whether --enable-longlong or --disable-longlong was given.
5726 if test "${enable_longlong+set}" = set; then
5727 enableval
="$enable_longlong"
5729 if test "$enableval" = yes; then
5730 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5732 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5737 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x
; then
5739 eval "DEFAULT_$LINE"
5744 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5748 eval "$ac_cv_use_longlong"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5753 if test "$wxUSE_LONGLONG" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5766 # Check whether --enable-mimetype or --disable-mimetype was given.
5767 if test "${enable_mimetype+set}" = set; then
5768 enableval
="$enable_mimetype"
5770 if test "$enableval" = yes; then
5771 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5773 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5778 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x
; then
5780 eval "DEFAULT_$LINE"
5785 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5789 eval "$ac_cv_use_mimetype"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5794 if test "$wxUSE_MIMETYPE" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796 echo "${ECHO_T}yes" >&6
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5807 # Check whether --enable-mslu or --disable-mslu was given.
5808 if test "${enable_mslu+set}" = set; then
5809 enableval
="$enable_mslu"
5811 if test "$enableval" = yes; then
5812 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5814 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5819 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5826 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5830 eval "$ac_cv_use_mslu"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5835 if test "$wxUSE_UNICODE_MSLU" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5848 # Check whether --enable-snglinst or --disable-snglinst was given.
5849 if test "${enable_snglinst+set}" = set; then
5850 enableval
="$enable_snglinst"
5852 if test "$enableval" = yes; then
5853 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5855 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5860 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x
; then
5862 eval "DEFAULT_$LINE"
5867 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5871 eval "$ac_cv_use_snglinst"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5876 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5889 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5890 if test "${enable_std_iostreams+set}" = set; then
5891 enableval
="$enable_std_iostreams"
5893 if test "$enableval" = yes; then
5894 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5896 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5901 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x
; then
5903 eval "DEFAULT_$LINE"
5908 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5912 eval "$ac_cv_use_std_iostreams"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5917 if test "$wxUSE_STD_IOSTREAM" = yes; then
5918 echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6
5921 echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5930 # Check whether --enable-std_string or --disable-std_string was given.
5931 if test "${enable_std_string+set}" = set; then
5932 enableval
="$enable_std_string"
5934 if test "$enableval" = yes; then
5935 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5937 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5942 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x
; then
5944 eval "DEFAULT_$LINE"
5949 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5953 eval "$ac_cv_use_std_string"
5954 if test "$no_cache" != 1; then
5955 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5958 if test "$wxUSE_STD_STRING" = yes; then
5959 echo "$as_me:$LINENO: result: yes" >&5
5960 echo "${ECHO_T}yes" >&6
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5971 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5972 if test "${enable_stdpaths+set}" = set; then
5973 enableval
="$enable_stdpaths"
5975 if test "$enableval" = yes; then
5976 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5978 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5983 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x
; then
5985 eval "DEFAULT_$LINE"
5990 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5994 eval "$ac_cv_use_stdpaths"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5999 if test "$wxUSE_STDPATHS" = yes; then
6000 echo "$as_me:$LINENO: result: yes" >&5
6001 echo "${ECHO_T}yes" >&6
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6012 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6013 if test "${enable_stopwatch+set}" = set; then
6014 enableval
="$enable_stopwatch"
6016 if test "$enableval" = yes; then
6017 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6019 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6024 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6031 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6035 eval "$ac_cv_use_stopwatch"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6040 if test "$wxUSE_STOPWATCH" = yes; then
6041 echo "$as_me:$LINENO: result: yes" >&5
6042 echo "${ECHO_T}yes" >&6
6044 echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6053 # Check whether --enable-streams or --disable-streams was given.
6054 if test "${enable_streams+set}" = set; then
6055 enableval
="$enable_streams"
6057 if test "$enableval" = yes; then
6058 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6060 ac_cv_use_streams
='wxUSE_STREAMS=no'
6065 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x
; then
6067 eval "DEFAULT_$LINE"
6072 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6076 eval "$ac_cv_use_streams"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6081 if test "$wxUSE_STREAMS" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6094 # Check whether --enable-system_options or --disable-system_options was given.
6095 if test "${enable_system_options+set}" = set; then
6096 enableval
="$enable_system_options"
6098 if test "$enableval" = yes; then
6099 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6101 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6106 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x
; then
6108 eval "DEFAULT_$LINE"
6113 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6117 eval "$ac_cv_use_system_options"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6122 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6135 # Check whether --enable-textbuf or --disable-textbuf was given.
6136 if test "${enable_textbuf+set}" = set; then
6137 enableval
="$enable_textbuf"
6139 if test "$enableval" = yes; then
6140 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6142 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6147 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x
; then
6149 eval "DEFAULT_$LINE"
6154 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6158 eval "$ac_cv_use_textbuf"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6163 if test "$wxUSE_TEXTBUFFER" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6176 # Check whether --enable-textfile or --disable-textfile was given.
6177 if test "${enable_textfile+set}" = set; then
6178 enableval
="$enable_textfile"
6180 if test "$enableval" = yes; then
6181 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6183 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6188 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x
; then
6190 eval "DEFAULT_$LINE"
6195 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6199 eval "$ac_cv_use_textfile"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6204 if test "$wxUSE_TEXTFILE" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6217 # Check whether --enable-timer or --disable-timer was given.
6218 if test "${enable_timer+set}" = set; then
6219 enableval
="$enable_timer"
6221 if test "$enableval" = yes; then
6222 ac_cv_use_timer
='wxUSE_TIMER=yes'
6224 ac_cv_use_timer
='wxUSE_TIMER=no'
6229 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x
; then
6231 eval "DEFAULT_$LINE"
6236 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6240 eval "$ac_cv_use_timer"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6245 if test "$wxUSE_TIMER" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6258 # Check whether --enable-unicode or --disable-unicode was given.
6259 if test "${enable_unicode+set}" = set; then
6260 enableval
="$enable_unicode"
6262 if test "$enableval" = yes; then
6263 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6265 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6270 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x
; then
6272 eval "DEFAULT_$LINE"
6277 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6281 eval "$ac_cv_use_unicode"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6286 if test "$wxUSE_UNICODE" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6299 # Check whether --enable-sound or --disable-sound was given.
6300 if test "${enable_sound+set}" = set; then
6301 enableval
="$enable_sound"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_sound
='wxUSE_SOUND=yes'
6306 ac_cv_use_sound
='wxUSE_SOUND=no'
6311 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6322 eval "$ac_cv_use_sound"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6327 if test "$wxUSE_SOUND" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6338 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6340 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6341 if test "${enable_mediactrl+set}" = set; then
6342 enableval
="$enable_mediactrl"
6344 if test "$enableval" = yes; then
6345 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6347 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6352 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x
; then
6354 eval "DEFAULT_$LINE"
6359 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6363 eval "$ac_cv_use_mediactrl"
6364 if test "$no_cache" != 1; then
6365 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6368 if test "$wxUSE_MEDIACTRL" = yes; then
6369 echo "$as_me:$LINENO: result: yes" >&5
6370 echo "${ECHO_T}yes" >&6
6372 echo "$as_me:$LINENO: result: no" >&5
6373 echo "${ECHO_T}no" >&6
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6381 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6382 if test "${enable_gstreamer8+set}" = set; then
6383 enableval
="$enable_gstreamer8"
6385 if test "$enableval" = yes; then
6386 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6388 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6393 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x
; then
6395 eval "DEFAULT_$LINE"
6400 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6404 eval "$ac_cv_use_gstreamer8"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_GSTREAMER8" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6422 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6423 if test "${enable_printfposparam+set}" = set; then
6424 enableval
="$enable_printfposparam"
6426 if test "$enableval" = yes; then
6427 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6429 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6434 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x
; then
6436 eval "DEFAULT_$LINE"
6441 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6445 eval "$ac_cv_use_printfposparam"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6450 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6451 echo "$as_me:$LINENO: result: yes" >&5
6452 echo "${ECHO_T}yes" >&6
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6463 # Check whether --enable-zipstream or --disable-zipstream was given.
6464 if test "${enable_zipstream+set}" = set; then
6465 enableval
="$enable_zipstream"
6467 if test "$enableval" = yes; then
6468 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6470 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6475 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x
; then
6477 eval "DEFAULT_$LINE"
6482 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6486 eval "$ac_cv_use_zipstream"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6491 if test "$wxUSE_ZIPSTREAM" = yes; then
6492 echo "$as_me:$LINENO: result: yes" >&5
6493 echo "${ECHO_T}yes" >&6
6495 echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6
6502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6503 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6505 # Check whether --enable-url or --disable-url was given.
6506 if test "${enable_url+set}" = set; then
6507 enableval
="$enable_url"
6509 if test "$enableval" = yes; then
6510 ac_cv_use_url
='wxUSE_URL=yes'
6512 ac_cv_use_url
='wxUSE_URL=no'
6517 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6518 if test "x$LINE" != x
; then
6519 eval "DEFAULT_$LINE"
6524 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6528 eval "$ac_cv_use_url"
6529 if test "$no_cache" != 1; then
6530 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6533 if test "$wxUSE_URL" = yes; then
6534 echo "$as_me:$LINENO: result: yes" >&5
6535 echo "${ECHO_T}yes" >&6
6537 echo "$as_me:$LINENO: result: no" >&5
6538 echo "${ECHO_T}no" >&6
6543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6544 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6546 # Check whether --enable-protocol or --disable-protocol was given.
6547 if test "${enable_protocol+set}" = set; then
6548 enableval
="$enable_protocol"
6550 if test "$enableval" = yes; then
6551 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6553 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6558 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6559 if test "x$LINE" != x
; then
6560 eval "DEFAULT_$LINE"
6565 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6569 eval "$ac_cv_use_protocol"
6570 if test "$no_cache" != 1; then
6571 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6574 if test "$wxUSE_PROTOCOL" = yes; then
6575 echo "$as_me:$LINENO: result: yes" >&5
6576 echo "${ECHO_T}yes" >&6
6578 echo "$as_me:$LINENO: result: no" >&5
6579 echo "${ECHO_T}no" >&6
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6587 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6588 if test "${enable_protocol_http+set}" = set; then
6589 enableval
="$enable_protocol_http"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6594 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6599 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x
; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6610 eval "$ac_cv_use_protocol_http"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6615 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6628 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6629 if test "${enable_protocol_ftp+set}" = set; then
6630 enableval
="$enable_protocol_ftp"
6632 if test "$enableval" = yes; then
6633 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6635 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6640 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x
; then
6642 eval "DEFAULT_$LINE"
6647 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6651 eval "$ac_cv_use_protocol_ftp"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6656 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658 echo "${ECHO_T}yes" >&6
6660 echo "$as_me:$LINENO: result: no" >&5
6661 echo "${ECHO_T}no" >&6
6666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6669 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6670 if test "${enable_protocol_file+set}" = set; then
6671 enableval
="$enable_protocol_file"
6673 if test "$enableval" = yes; then
6674 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6676 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6681 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x
; then
6683 eval "DEFAULT_$LINE"
6688 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6692 eval "$ac_cv_use_protocol_file"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6697 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6698 echo "$as_me:$LINENO: result: yes" >&5
6699 echo "${ECHO_T}yes" >&6
6701 echo "$as_me:$LINENO: result: no" >&5
6702 echo "${ECHO_T}no" >&6
6710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6711 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6713 # Check whether --enable-threads or --disable-threads was given.
6714 if test "${enable_threads+set}" = set; then
6715 enableval
="$enable_threads"
6717 if test "$enableval" = yes; then
6718 ac_cv_use_threads
='wxUSE_THREADS=yes'
6720 ac_cv_use_threads
='wxUSE_THREADS=no'
6725 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6726 if test "x$LINE" != x
; then
6727 eval "DEFAULT_$LINE"
6732 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6736 eval "$ac_cv_use_threads"
6737 if test "$no_cache" != 1; then
6738 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6741 if test "$wxUSE_THREADS" = yes; then
6742 echo "$as_me:$LINENO: result: yes" >&5
6743 echo "${ECHO_T}yes" >&6
6745 echo "$as_me:$LINENO: result: no" >&5
6746 echo "${ECHO_T}no" >&6
6750 if test "$wxUSE_GUI" = "yes"; then
6755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6758 # Check whether --enable-docview or --disable-docview was given.
6759 if test "${enable_docview+set}" = set; then
6760 enableval
="$enable_docview"
6762 if test "$enableval" = yes; then
6763 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6765 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6770 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6771 if test "x$LINE" != x
; then
6772 eval "DEFAULT_$LINE"
6777 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6781 eval "$ac_cv_use_docview"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6786 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6787 echo "$as_me:$LINENO: result: yes" >&5
6788 echo "${ECHO_T}yes" >&6
6790 echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6
6796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6797 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6799 # Check whether --enable-help or --disable-help was given.
6800 if test "${enable_help+set}" = set; then
6801 enableval
="$enable_help"
6803 if test "$enableval" = yes; then
6804 ac_cv_use_help
='wxUSE_HELP=yes'
6806 ac_cv_use_help
='wxUSE_HELP=no'
6811 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x
; then
6813 eval "DEFAULT_$LINE"
6818 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6822 eval "$ac_cv_use_help"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6827 if test "$wxUSE_HELP" = yes; then
6828 echo "$as_me:$LINENO: result: yes" >&5
6829 echo "${ECHO_T}yes" >&6
6831 echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6
6837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6838 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6840 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6841 if test "${enable_mshtmlhelp+set}" = set; then
6842 enableval
="$enable_mshtmlhelp"
6844 if test "$enableval" = yes; then
6845 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6847 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6852 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6853 if test "x$LINE" != x
; then
6854 eval "DEFAULT_$LINE"
6859 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6863 eval "$ac_cv_use_mshtmlhelp"
6864 if test "$no_cache" != 1; then
6865 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6868 if test "$wxUSE_MS_HTML_HELP" = yes; then
6869 echo "$as_me:$LINENO: result: yes" >&5
6870 echo "${ECHO_T}yes" >&6
6872 echo "$as_me:$LINENO: result: no" >&5
6873 echo "${ECHO_T}no" >&6
6878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6881 # Check whether --enable-html or --disable-html was given.
6882 if test "${enable_html+set}" = set; then
6883 enableval
="$enable_html"
6885 if test "$enableval" = yes; then
6886 ac_cv_use_html
='wxUSE_HTML=yes'
6888 ac_cv_use_html
='wxUSE_HTML=no'
6893 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x
; then
6895 eval "DEFAULT_$LINE"
6900 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6904 eval "$ac_cv_use_html"
6905 if test "$no_cache" != 1; then
6906 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6909 if test "$wxUSE_HTML" = yes; then
6910 echo "$as_me:$LINENO: result: yes" >&5
6911 echo "${ECHO_T}yes" >&6
6913 echo "$as_me:$LINENO: result: no" >&5
6914 echo "${ECHO_T}no" >&6
6919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6922 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6923 if test "${enable_htmlhelp+set}" = set; then
6924 enableval
="$enable_htmlhelp"
6926 if test "$enableval" = yes; then
6927 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6929 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6934 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x
; then
6936 eval "DEFAULT_$LINE"
6941 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6945 eval "$ac_cv_use_htmlhelp"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6950 if test "$wxUSE_WXHTML_HELP" = yes; then
6951 echo "$as_me:$LINENO: result: yes" >&5
6952 echo "${ECHO_T}yes" >&6
6954 echo "$as_me:$LINENO: result: no" >&5
6955 echo "${ECHO_T}no" >&6
6960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6963 # Check whether --enable-xrc or --disable-xrc was given.
6964 if test "${enable_xrc+set}" = set; then
6965 enableval
="$enable_xrc"
6967 if test "$enableval" = yes; then
6968 ac_cv_use_xrc
='wxUSE_XRC=yes'
6970 ac_cv_use_xrc
='wxUSE_XRC=no'
6975 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x
; then
6977 eval "DEFAULT_$LINE"
6982 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6986 eval "$ac_cv_use_xrc"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6991 if test "$wxUSE_XRC" = yes; then
6992 echo "$as_me:$LINENO: result: yes" >&5
6993 echo "${ECHO_T}yes" >&6
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
7001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7002 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7004 # Check whether --enable-aui or --disable-aui was given.
7005 if test "${enable_aui+set}" = set; then
7006 enableval
="$enable_aui"
7008 if test "$enableval" = yes; then
7009 ac_cv_use_aui
='wxUSE_AUI=yes'
7011 ac_cv_use_aui
='wxUSE_AUI=no'
7016 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x
; then
7018 eval "DEFAULT_$LINE"
7023 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7027 eval "$ac_cv_use_aui"
7028 if test "$no_cache" != 1; then
7029 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7032 if test "$wxUSE_AUI" = yes; then
7033 echo "$as_me:$LINENO: result: yes" >&5
7034 echo "${ECHO_T}yes" >&6
7036 echo "$as_me:$LINENO: result: no" >&5
7037 echo "${ECHO_T}no" >&6
7042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7043 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7045 # Check whether --enable-constraints or --disable-constraints was given.
7046 if test "${enable_constraints+set}" = set; then
7047 enableval
="$enable_constraints"
7049 if test "$enableval" = yes; then
7050 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7052 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7057 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7058 if test "x$LINE" != x
; then
7059 eval "DEFAULT_$LINE"
7064 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7068 eval "$ac_cv_use_constraints"
7069 if test "$no_cache" != 1; then
7070 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7073 if test "$wxUSE_CONSTRAINTS" = yes; then
7074 echo "$as_me:$LINENO: result: yes" >&5
7075 echo "${ECHO_T}yes" >&6
7077 echo "$as_me:$LINENO: result: no" >&5
7078 echo "${ECHO_T}no" >&6
7083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7084 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7086 # Check whether --enable-printarch or --disable-printarch was given.
7087 if test "${enable_printarch+set}" = set; then
7088 enableval
="$enable_printarch"
7090 if test "$enableval" = yes; then
7091 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7093 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7098 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7099 if test "x$LINE" != x
; then
7100 eval "DEFAULT_$LINE"
7105 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7109 eval "$ac_cv_use_printarch"
7110 if test "$no_cache" != 1; then
7111 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7114 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7115 echo "$as_me:$LINENO: result: yes" >&5
7116 echo "${ECHO_T}yes" >&6
7118 echo "$as_me:$LINENO: result: no" >&5
7119 echo "${ECHO_T}no" >&6
7124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7127 # Check whether --enable-mdi or --disable-mdi was given.
7128 if test "${enable_mdi+set}" = set; then
7129 enableval
="$enable_mdi"
7131 if test "$enableval" = yes; then
7132 ac_cv_use_mdi
='wxUSE_MDI=yes'
7134 ac_cv_use_mdi
='wxUSE_MDI=no'
7139 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7140 if test "x$LINE" != x
; then
7141 eval "DEFAULT_$LINE"
7146 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7150 eval "$ac_cv_use_mdi"
7151 if test "$no_cache" != 1; then
7152 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7155 if test "$wxUSE_MDI" = yes; then
7156 echo "$as_me:$LINENO: result: yes" >&5
7157 echo "${ECHO_T}yes" >&6
7159 echo "$as_me:$LINENO: result: no" >&5
7160 echo "${ECHO_T}no" >&6
7165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7166 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7168 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7169 if test "${enable_mdidoc+set}" = set; then
7170 enableval
="$enable_mdidoc"
7172 if test "$enableval" = yes; then
7173 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7175 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7180 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7181 if test "x$LINE" != x
; then
7182 eval "DEFAULT_$LINE"
7187 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7191 eval "$ac_cv_use_mdidoc"
7192 if test "$no_cache" != 1; then
7193 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7196 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7197 echo "$as_me:$LINENO: result: yes" >&5
7198 echo "${ECHO_T}yes" >&6
7200 echo "$as_me:$LINENO: result: no" >&5
7201 echo "${ECHO_T}no" >&6
7206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7207 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7209 # Check whether --enable-loggui or --disable-loggui was given.
7210 if test "${enable_loggui+set}" = set; then
7211 enableval
="$enable_loggui"
7213 if test "$enableval" = yes; then
7214 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7216 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7221 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7222 if test "x$LINE" != x
; then
7223 eval "DEFAULT_$LINE"
7228 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7232 eval "$ac_cv_use_loggui"
7233 if test "$no_cache" != 1; then
7234 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7237 if test "$wxUSE_LOGGUI" = yes; then
7238 echo "$as_me:$LINENO: result: yes" >&5
7239 echo "${ECHO_T}yes" >&6
7241 echo "$as_me:$LINENO: result: no" >&5
7242 echo "${ECHO_T}no" >&6
7247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7250 # Check whether --enable-logwin or --disable-logwin was given.
7251 if test "${enable_logwin+set}" = set; then
7252 enableval
="$enable_logwin"
7254 if test "$enableval" = yes; then
7255 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7257 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7262 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7263 if test "x$LINE" != x
; then
7264 eval "DEFAULT_$LINE"
7269 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7273 eval "$ac_cv_use_logwin"
7274 if test "$no_cache" != 1; then
7275 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7278 if test "$wxUSE_LOGWINDOW" = yes; then
7279 echo "$as_me:$LINENO: result: yes" >&5
7280 echo "${ECHO_T}yes" >&6
7282 echo "$as_me:$LINENO: result: no" >&5
7283 echo "${ECHO_T}no" >&6
7288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7289 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7291 # Check whether --enable-logdialog or --disable-logdialog was given.
7292 if test "${enable_logdialog+set}" = set; then
7293 enableval
="$enable_logdialog"
7295 if test "$enableval" = yes; then
7296 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7298 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7303 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7304 if test "x$LINE" != x
; then
7305 eval "DEFAULT_$LINE"
7310 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7314 eval "$ac_cv_use_logdialog"
7315 if test "$no_cache" != 1; then
7316 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7319 if test "$wxUSE_LOGDIALOG" = yes; then
7320 echo "$as_me:$LINENO: result: yes" >&5
7321 echo "${ECHO_T}yes" >&6
7323 echo "$as_me:$LINENO: result: no" >&5
7324 echo "${ECHO_T}no" >&6
7329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7330 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7332 # Check whether --enable-webkit or --disable-webkit was given.
7333 if test "${enable_webkit+set}" = set; then
7334 enableval
="$enable_webkit"
7336 if test "$enableval" = yes; then
7337 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7339 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7344 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7345 if test "x$LINE" != x
; then
7346 eval "DEFAULT_$LINE"
7351 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7355 eval "$ac_cv_use_webkit"
7356 if test "$no_cache" != 1; then
7357 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7360 if test "$wxUSE_WEBKIT" = yes; then
7361 echo "$as_me:$LINENO: result: yes" >&5
7362 echo "${ECHO_T}yes" >&6
7364 echo "$as_me:$LINENO: result: no" >&5
7365 echo "${ECHO_T}no" >&6
7370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7371 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7373 # Check whether --enable-html or --disable-html was given.
7374 if test "${enable_html+set}" = set; then
7375 enableval
="$enable_html"
7377 if test "$enableval" = yes; then
7378 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7380 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7385 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7386 if test "x$LINE" != x
; then
7387 eval "DEFAULT_$LINE"
7392 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7396 eval "$ac_cv_use_html"
7397 if test "$no_cache" != 1; then
7398 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7401 if test "$wxUSE_RICHTEXT" = yes; then
7402 echo "$as_me:$LINENO: result: yes" >&5
7403 echo "${ECHO_T}yes" >&6
7405 echo "$as_me:$LINENO: result: no" >&5
7406 echo "${ECHO_T}no" >&6
7412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7413 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7415 # Check whether --enable-postscript or --disable-postscript was given.
7416 if test "${enable_postscript+set}" = set; then
7417 enableval
="$enable_postscript"
7419 if test "$enableval" = yes; then
7420 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7422 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7427 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7428 if test "x$LINE" != x
; then
7429 eval "DEFAULT_$LINE"
7434 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7438 eval "$ac_cv_use_postscript"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7443 if test "$wxUSE_POSTSCRIPT" = yes; then
7444 echo "$as_me:$LINENO: result: yes" >&5
7445 echo "${ECHO_T}yes" >&6
7447 echo "$as_me:$LINENO: result: no" >&5
7448 echo "${ECHO_T}no" >&6
7456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7457 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7459 # Check whether --enable-prologio or --disable-prologio was given.
7460 if test "${enable_prologio+set}" = set; then
7461 enableval
="$enable_prologio"
7463 if test "$enableval" = yes; then
7464 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7466 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7471 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7472 if test "x$LINE" != x
; then
7473 eval "DEFAULT_$LINE"
7478 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7482 eval "$ac_cv_use_prologio"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7487 if test "$wxUSE_PROLOGIO" = yes; then
7488 echo "$as_me:$LINENO: result: yes" >&5
7489 echo "${ECHO_T}yes" >&6
7491 echo "$as_me:$LINENO: result: no" >&5
7492 echo "${ECHO_T}no" >&6
7497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7498 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7500 # Check whether --enable-resources or --disable-resources was given.
7501 if test "${enable_resources+set}" = set; then
7502 enableval
="$enable_resources"
7504 if test "$enableval" = yes; then
7505 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7507 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7512 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7513 if test "x$LINE" != x
; then
7514 eval "DEFAULT_$LINE"
7519 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7523 eval "$ac_cv_use_resources"
7524 if test "$no_cache" != 1; then
7525 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7528 if test "$wxUSE_RESOURCES" = yes; then
7529 echo "$as_me:$LINENO: result: yes" >&5
7530 echo "${ECHO_T}yes" >&6
7532 echo "$as_me:$LINENO: result: no" >&5
7533 echo "${ECHO_T}no" >&6
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7543 # Check whether --enable-clipboard or --disable-clipboard was given.
7544 if test "${enable_clipboard+set}" = set; then
7545 enableval
="$enable_clipboard"
7547 if test "$enableval" = yes; then
7548 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7550 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7555 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x
; then
7557 eval "DEFAULT_$LINE"
7562 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7566 eval "$ac_cv_use_clipboard"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7571 if test "$wxUSE_CLIPBOARD" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7584 # Check whether --enable-dnd or --disable-dnd was given.
7585 if test "${enable_dnd+set}" = set; then
7586 enableval
="$enable_dnd"
7588 if test "$enableval" = yes; then
7589 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7591 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7596 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x
; then
7598 eval "DEFAULT_$LINE"
7603 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7607 eval "$ac_cv_use_dnd"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7612 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7625 # Check whether --enable-metafile or --disable-metafile was given.
7626 if test "${enable_metafile+set}" = set; then
7627 enableval
="$enable_metafile"
7629 if test "$enableval" = yes; then
7630 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7632 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7637 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x
; then
7639 eval "DEFAULT_$LINE"
7644 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7648 eval "$ac_cv_use_metafile"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7653 if test "$wxUSE_METAFILE" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7669 # Check whether --enable-controls or --disable-controls was given.
7670 if test "${enable_controls+set}" = set; then
7671 enableval
="$enable_controls"
7673 if test "$enableval" = yes; then
7674 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7676 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7681 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x
; then
7683 eval "DEFAULT_$LINE"
7688 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7692 eval "$ac_cv_use_controls"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7697 if test "$wxUSE_CONTROLS" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7706 if test "$wxUSE_CONTROLS" = "yes"; then
7707 DEFAULT_wxUSE_ACCEL
=yes
7708 DEFAULT_wxUSE_BMPBUTTON
=yes
7709 DEFAULT_wxUSE_BUTTON
=yes
7710 DEFAULT_wxUSE_CALCTRL
=yes
7711 DEFAULT_wxUSE_CARET
=yes
7712 DEFAULT_wxUSE_COMBOBOX
=yes
7713 DEFAULT_wxUSE_CHECKBOX
=yes
7714 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7715 DEFAULT_wxUSE_CHOICE
=yes
7716 DEFAULT_wxUSE_CHOICEBOOK
=yes
7717 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7718 DEFAULT_wxUSE_COMBOBOX
=yes
7719 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7720 DEFAULT_wxUSE_DISPLAY
=yes
7721 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7722 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7723 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7724 DEFAULT_wxUSE_GAUGE
=yes
7725 DEFAULT_wxUSE_GRID
=yes
7726 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7727 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7728 DEFAULT_wxUSE_IMAGLIST
=yes
7729 DEFAULT_wxUSE_LISTBOOK
=yes
7730 DEFAULT_wxUSE_LISTBOX
=yes
7731 DEFAULT_wxUSE_LISTCTRL
=yes
7732 DEFAULT_wxUSE_NOTEBOOK
=yes
7733 DEFAULT_wxUSE_RADIOBOX
=yes
7734 DEFAULT_wxUSE_RADIOBTN
=yes
7735 DEFAULT_wxUSE_SASH
=yes
7736 DEFAULT_wxUSE_SCROLLBAR
=yes
7737 DEFAULT_wxUSE_SLIDER
=yes
7738 DEFAULT_wxUSE_SPINBTN
=yes
7739 DEFAULT_wxUSE_SPINCTRL
=yes
7740 DEFAULT_wxUSE_SPLITTER
=yes
7741 DEFAULT_wxUSE_STATBMP
=yes
7742 DEFAULT_wxUSE_STATBOX
=yes
7743 DEFAULT_wxUSE_STATLINE
=yes
7744 DEFAULT_wxUSE_STATUSBAR
=yes
7745 DEFAULT_wxUSE_TAB_DIALOG
=yes
7746 DEFAULT_wxUSE_TOGGLEBTN
=yes
7747 DEFAULT_wxUSE_TOOLBAR
=yes
7748 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7749 DEFAULT_wxUSE_TOOLTIPS
=yes
7750 DEFAULT_wxUSE_TREEBOOK
=yes
7751 DEFAULT_wxUSE_TOOLBOOK
=yes
7752 DEFAULT_wxUSE_TREECTRL
=yes
7753 DEFAULT_wxUSE_POPUPWIN
=yes
7754 DEFAULT_wxUSE_TIPWINDOW
=yes
7755 elif test "$wxUSE_CONTROLS" = "no"; then
7756 DEFAULT_wxUSE_ACCEL
=no
7757 DEFAULT_wxUSE_BMPBUTTON
=no
7758 DEFAULT_wxUSE_BUTTON
=no
7759 DEFAULT_wxUSE_CALCTRL
=no
7760 DEFAULT_wxUSE_CARET
=no
7761 DEFAULT_wxUSE_COMBOBOX
=no
7762 DEFAULT_wxUSE_CHECKBOX
=no
7763 DEFAULT_wxUSE_CHECKLISTBOX
=no
7764 DEFAULT_wxUSE_CHOICE
=no
7765 DEFAULT_wxUSE_CHOICEBOOK
=no
7766 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7767 DEFAULT_wxUSE_COMBOBOX
=no
7768 DEFAULT_wxUSE_DATEPICKCTRL
=no
7769 DEFAULT_wxUSE_DISPLAY
=no
7770 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7771 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7772 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7773 DEFAULT_wxUSE_GAUGE
=no
7774 DEFAULT_wxUSE_GRID
=no
7775 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7776 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7777 DEFAULT_wxUSE_IMAGLIST
=no
7778 DEFAULT_wxUSE_LISTBOOK
=no
7779 DEFAULT_wxUSE_LISTBOX
=no
7780 DEFAULT_wxUSE_LISTCTRL
=no
7781 DEFAULT_wxUSE_NOTEBOOK
=no
7782 DEFAULT_wxUSE_RADIOBOX
=no
7783 DEFAULT_wxUSE_RADIOBTN
=no
7784 DEFAULT_wxUSE_SASH
=no
7785 DEFAULT_wxUSE_SCROLLBAR
=no
7786 DEFAULT_wxUSE_SLIDER
=no
7787 DEFAULT_wxUSE_SPINBTN
=no
7788 DEFAULT_wxUSE_SPINCTRL
=no
7789 DEFAULT_wxUSE_SPLITTER
=no
7790 DEFAULT_wxUSE_STATBMP
=no
7791 DEFAULT_wxUSE_STATBOX
=no
7792 DEFAULT_wxUSE_STATLINE
=no
7793 DEFAULT_wxUSE_STATUSBAR
=no
7794 DEFAULT_wxUSE_TAB_DIALOG
=no
7795 DEFAULT_wxUSE_TOGGLEBTN
=no
7796 DEFAULT_wxUSE_TOOLBAR
=no
7797 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7798 DEFAULT_wxUSE_TOOLTIPS
=no
7799 DEFAULT_wxUSE_TREEBOOK
=no
7800 DEFAULT_wxUSE_TOOLBOOK
=no
7801 DEFAULT_wxUSE_TREECTRL
=no
7802 DEFAULT_wxUSE_POPUPWIN
=no
7803 DEFAULT_wxUSE_TIPWINDOW
=no
7808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7809 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7811 # Check whether --enable-accel or --disable-accel was given.
7812 if test "${enable_accel+set}" = set; then
7813 enableval
="$enable_accel"
7815 if test "$enableval" = yes; then
7816 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7818 ac_cv_use_accel
='wxUSE_ACCEL=no'
7823 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7824 if test "x$LINE" != x
; then
7825 eval "DEFAULT_$LINE"
7830 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7834 eval "$ac_cv_use_accel"
7835 if test "$no_cache" != 1; then
7836 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7839 if test "$wxUSE_ACCEL" = yes; then
7840 echo "$as_me:$LINENO: result: yes" >&5
7841 echo "${ECHO_T}yes" >&6
7843 echo "$as_me:$LINENO: result: no" >&5
7844 echo "${ECHO_T}no" >&6
7849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7850 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7852 # Check whether --enable-button or --disable-button was given.
7853 if test "${enable_button+set}" = set; then
7854 enableval
="$enable_button"
7856 if test "$enableval" = yes; then
7857 ac_cv_use_button
='wxUSE_BUTTON=yes'
7859 ac_cv_use_button
='wxUSE_BUTTON=no'
7864 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7865 if test "x$LINE" != x
; then
7866 eval "DEFAULT_$LINE"
7871 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7875 eval "$ac_cv_use_button"
7876 if test "$no_cache" != 1; then
7877 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7880 if test "$wxUSE_BUTTON" = yes; then
7881 echo "$as_me:$LINENO: result: yes" >&5
7882 echo "${ECHO_T}yes" >&6
7884 echo "$as_me:$LINENO: result: no" >&5
7885 echo "${ECHO_T}no" >&6
7890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7891 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7893 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7894 if test "${enable_bmpbutton+set}" = set; then
7895 enableval
="$enable_bmpbutton"
7897 if test "$enableval" = yes; then
7898 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7900 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7905 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7906 if test "x$LINE" != x
; then
7907 eval "DEFAULT_$LINE"
7912 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7916 eval "$ac_cv_use_bmpbutton"
7917 if test "$no_cache" != 1; then
7918 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7921 if test "$wxUSE_BMPBUTTON" = yes; then
7922 echo "$as_me:$LINENO: result: yes" >&5
7923 echo "${ECHO_T}yes" >&6
7925 echo "$as_me:$LINENO: result: no" >&5
7926 echo "${ECHO_T}no" >&6
7931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7934 # Check whether --enable-calendar or --disable-calendar was given.
7935 if test "${enable_calendar+set}" = set; then
7936 enableval
="$enable_calendar"
7938 if test "$enableval" = yes; then
7939 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7941 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7946 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7947 if test "x$LINE" != x
; then
7948 eval "DEFAULT_$LINE"
7953 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7957 eval "$ac_cv_use_calendar"
7958 if test "$no_cache" != 1; then
7959 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7962 if test "$wxUSE_CALCTRL" = yes; then
7963 echo "$as_me:$LINENO: result: yes" >&5
7964 echo "${ECHO_T}yes" >&6
7966 echo "$as_me:$LINENO: result: no" >&5
7967 echo "${ECHO_T}no" >&6
7972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7975 # Check whether --enable-caret or --disable-caret was given.
7976 if test "${enable_caret+set}" = set; then
7977 enableval
="$enable_caret"
7979 if test "$enableval" = yes; then
7980 ac_cv_use_caret
='wxUSE_CARET=yes'
7982 ac_cv_use_caret
='wxUSE_CARET=no'
7987 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7988 if test "x$LINE" != x
; then
7989 eval "DEFAULT_$LINE"
7994 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7998 eval "$ac_cv_use_caret"
7999 if test "$no_cache" != 1; then
8000 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8003 if test "$wxUSE_CARET" = yes; then
8004 echo "$as_me:$LINENO: result: yes" >&5
8005 echo "${ECHO_T}yes" >&6
8007 echo "$as_me:$LINENO: result: no" >&5
8008 echo "${ECHO_T}no" >&6
8013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8016 # Check whether --enable-checkbox or --disable-checkbox was given.
8017 if test "${enable_checkbox+set}" = set; then
8018 enableval
="$enable_checkbox"
8020 if test "$enableval" = yes; then
8021 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8023 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8028 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8029 if test "x$LINE" != x
; then
8030 eval "DEFAULT_$LINE"
8035 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8039 eval "$ac_cv_use_checkbox"
8040 if test "$no_cache" != 1; then
8041 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8044 if test "$wxUSE_CHECKBOX" = yes; then
8045 echo "$as_me:$LINENO: result: yes" >&5
8046 echo "${ECHO_T}yes" >&6
8048 echo "$as_me:$LINENO: result: no" >&5
8049 echo "${ECHO_T}no" >&6
8054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8055 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8057 # Check whether --enable-checklst or --disable-checklst was given.
8058 if test "${enable_checklst+set}" = set; then
8059 enableval
="$enable_checklst"
8061 if test "$enableval" = yes; then
8062 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8064 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8069 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8070 if test "x$LINE" != x
; then
8071 eval "DEFAULT_$LINE"
8076 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8080 eval "$ac_cv_use_checklst"
8081 if test "$no_cache" != 1; then
8082 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8085 if test "$wxUSE_CHECKLST" = yes; then
8086 echo "$as_me:$LINENO: result: yes" >&5
8087 echo "${ECHO_T}yes" >&6
8089 echo "$as_me:$LINENO: result: no" >&5
8090 echo "${ECHO_T}no" >&6
8095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8096 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8098 # Check whether --enable-choice or --disable-choice was given.
8099 if test "${enable_choice+set}" = set; then
8100 enableval
="$enable_choice"
8102 if test "$enableval" = yes; then
8103 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8105 ac_cv_use_choice
='wxUSE_CHOICE=no'
8110 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8111 if test "x$LINE" != x
; then
8112 eval "DEFAULT_$LINE"
8117 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8121 eval "$ac_cv_use_choice"
8122 if test "$no_cache" != 1; then
8123 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8126 if test "$wxUSE_CHOICE" = yes; then
8127 echo "$as_me:$LINENO: result: yes" >&5
8128 echo "${ECHO_T}yes" >&6
8130 echo "$as_me:$LINENO: result: no" >&5
8131 echo "${ECHO_T}no" >&6
8136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8139 # Check whether --enable-choicebook or --disable-choicebook was given.
8140 if test "${enable_choicebook+set}" = set; then
8141 enableval
="$enable_choicebook"
8143 if test "$enableval" = yes; then
8144 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8146 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8151 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8152 if test "x$LINE" != x
; then
8153 eval "DEFAULT_$LINE"
8158 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8162 eval "$ac_cv_use_choicebook"
8163 if test "$no_cache" != 1; then
8164 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8167 if test "$wxUSE_CHOICEBOOK" = yes; then
8168 echo "$as_me:$LINENO: result: yes" >&5
8169 echo "${ECHO_T}yes" >&6
8171 echo "$as_me:$LINENO: result: no" >&5
8172 echo "${ECHO_T}no" >&6
8177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8178 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8180 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8181 if test "${enable_colourpicker+set}" = set; then
8182 enableval
="$enable_colourpicker"
8184 if test "$enableval" = yes; then
8185 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8187 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8192 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8193 if test "x$LINE" != x
; then
8194 eval "DEFAULT_$LINE"
8199 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8203 eval "$ac_cv_use_colourpicker"
8204 if test "$no_cache" != 1; then
8205 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8208 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8209 echo "$as_me:$LINENO: result: yes" >&5
8210 echo "${ECHO_T}yes" >&6
8212 echo "$as_me:$LINENO: result: no" >&5
8213 echo "${ECHO_T}no" >&6
8218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8219 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8221 # Check whether --enable-combobox or --disable-combobox was given.
8222 if test "${enable_combobox+set}" = set; then
8223 enableval
="$enable_combobox"
8225 if test "$enableval" = yes; then
8226 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8228 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8233 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8234 if test "x$LINE" != x
; then
8235 eval "DEFAULT_$LINE"
8240 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8244 eval "$ac_cv_use_combobox"
8245 if test "$no_cache" != 1; then
8246 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8249 if test "$wxUSE_COMBOBOX" = yes; then
8250 echo "$as_me:$LINENO: result: yes" >&5
8251 echo "${ECHO_T}yes" >&6
8253 echo "$as_me:$LINENO: result: no" >&5
8254 echo "${ECHO_T}no" >&6
8259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8260 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8262 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8263 if test "${enable_comboctrl+set}" = set; then
8264 enableval
="$enable_comboctrl"
8266 if test "$enableval" = yes; then
8267 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8269 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8274 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8275 if test "x$LINE" != x
; then
8276 eval "DEFAULT_$LINE"
8281 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8285 eval "$ac_cv_use_comboctrl"
8286 if test "$no_cache" != 1; then
8287 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8290 if test "$wxUSE_COMBOCTRL" = yes; then
8291 echo "$as_me:$LINENO: result: yes" >&5
8292 echo "${ECHO_T}yes" >&6
8294 echo "$as_me:$LINENO: result: no" >&5
8295 echo "${ECHO_T}no" >&6
8300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8301 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8303 # Check whether --enable-datepick or --disable-datepick was given.
8304 if test "${enable_datepick+set}" = set; then
8305 enableval
="$enable_datepick"
8307 if test "$enableval" = yes; then
8308 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8310 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8315 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8316 if test "x$LINE" != x
; then
8317 eval "DEFAULT_$LINE"
8322 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8326 eval "$ac_cv_use_datepick"
8327 if test "$no_cache" != 1; then
8328 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8331 if test "$wxUSE_DATEPICKCTRL" = yes; then
8332 echo "$as_me:$LINENO: result: yes" >&5
8333 echo "${ECHO_T}yes" >&6
8335 echo "$as_me:$LINENO: result: no" >&5
8336 echo "${ECHO_T}no" >&6
8341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8342 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8344 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8345 if test "${enable_dirpicker+set}" = set; then
8346 enableval
="$enable_dirpicker"
8348 if test "$enableval" = yes; then
8349 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8351 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8356 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8357 if test "x$LINE" != x
; then
8358 eval "DEFAULT_$LINE"
8363 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8367 eval "$ac_cv_use_dirpicker"
8368 if test "$no_cache" != 1; then
8369 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8372 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8373 echo "$as_me:$LINENO: result: yes" >&5
8374 echo "${ECHO_T}yes" >&6
8376 echo "$as_me:$LINENO: result: no" >&5
8377 echo "${ECHO_T}no" >&6
8382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8383 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8385 # Check whether --enable-display or --disable-display was given.
8386 if test "${enable_display+set}" = set; then
8387 enableval
="$enable_display"
8389 if test "$enableval" = yes; then
8390 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8392 ac_cv_use_display
='wxUSE_DISPLAY=no'
8397 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8398 if test "x$LINE" != x
; then
8399 eval "DEFAULT_$LINE"
8404 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8408 eval "$ac_cv_use_display"
8409 if test "$no_cache" != 1; then
8410 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8413 if test "$wxUSE_DISPLAY" = yes; then
8414 echo "$as_me:$LINENO: result: yes" >&5
8415 echo "${ECHO_T}yes" >&6
8417 echo "$as_me:$LINENO: result: no" >&5
8418 echo "${ECHO_T}no" >&6
8423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8424 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8426 # Check whether --enable-filepicker or --disable-filepicker was given.
8427 if test "${enable_filepicker+set}" = set; then
8428 enableval
="$enable_filepicker"
8430 if test "$enableval" = yes; then
8431 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8433 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8438 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8439 if test "x$LINE" != x
; then
8440 eval "DEFAULT_$LINE"
8445 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8449 eval "$ac_cv_use_filepicker"
8450 if test "$no_cache" != 1; then
8451 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8454 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8455 echo "$as_me:$LINENO: result: yes" >&5
8456 echo "${ECHO_T}yes" >&6
8458 echo "$as_me:$LINENO: result: no" >&5
8459 echo "${ECHO_T}no" >&6
8464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8465 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8467 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8468 if test "${enable_fontpicker+set}" = set; then
8469 enableval
="$enable_fontpicker"
8471 if test "$enableval" = yes; then
8472 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8474 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8479 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8480 if test "x$LINE" != x
; then
8481 eval "DEFAULT_$LINE"
8486 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8490 eval "$ac_cv_use_fontpicker"
8491 if test "$no_cache" != 1; then
8492 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8495 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8496 echo "$as_me:$LINENO: result: yes" >&5
8497 echo "${ECHO_T}yes" >&6
8499 echo "$as_me:$LINENO: result: no" >&5
8500 echo "${ECHO_T}no" >&6
8505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8506 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8508 # Check whether --enable-gauge or --disable-gauge was given.
8509 if test "${enable_gauge+set}" = set; then
8510 enableval
="$enable_gauge"
8512 if test "$enableval" = yes; then
8513 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8515 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8520 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8521 if test "x$LINE" != x
; then
8522 eval "DEFAULT_$LINE"
8527 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8531 eval "$ac_cv_use_gauge"
8532 if test "$no_cache" != 1; then
8533 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8536 if test "$wxUSE_GAUGE" = yes; then
8537 echo "$as_me:$LINENO: result: yes" >&5
8538 echo "${ECHO_T}yes" >&6
8540 echo "$as_me:$LINENO: result: no" >&5
8541 echo "${ECHO_T}no" >&6
8546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8547 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8549 # Check whether --enable-grid or --disable-grid was given.
8550 if test "${enable_grid+set}" = set; then
8551 enableval
="$enable_grid"
8553 if test "$enableval" = yes; then
8554 ac_cv_use_grid
='wxUSE_GRID=yes'
8556 ac_cv_use_grid
='wxUSE_GRID=no'
8561 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8562 if test "x$LINE" != x
; then
8563 eval "DEFAULT_$LINE"
8568 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8572 eval "$ac_cv_use_grid"
8573 if test "$no_cache" != 1; then
8574 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8577 if test "$wxUSE_GRID" = yes; then
8578 echo "$as_me:$LINENO: result: yes" >&5
8579 echo "${ECHO_T}yes" >&6
8581 echo "$as_me:$LINENO: result: no" >&5
8582 echo "${ECHO_T}no" >&6
8587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8590 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8591 if test "${enable_dataviewctrl+set}" = set; then
8592 enableval
="$enable_dataviewctrl"
8594 if test "$enableval" = yes; then
8595 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8597 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8602 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8603 if test "x$LINE" != x
; then
8604 eval "DEFAULT_$LINE"
8609 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8613 eval "$ac_cv_use_dataviewctrl"
8614 if test "$no_cache" != 1; then
8615 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8618 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8619 echo "$as_me:$LINENO: result: yes" >&5
8620 echo "${ECHO_T}yes" >&6
8622 echo "$as_me:$LINENO: result: no" >&5
8623 echo "${ECHO_T}no" >&6
8628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8631 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8632 if test "${enable_hyperlink+set}" = set; then
8633 enableval
="$enable_hyperlink"
8635 if test "$enableval" = yes; then
8636 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8638 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8643 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8644 if test "x$LINE" != x
; then
8645 eval "DEFAULT_$LINE"
8650 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8654 eval "$ac_cv_use_hyperlink"
8655 if test "$no_cache" != 1; then
8656 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8659 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8660 echo "$as_me:$LINENO: result: yes" >&5
8661 echo "${ECHO_T}yes" >&6
8663 echo "$as_me:$LINENO: result: no" >&5
8664 echo "${ECHO_T}no" >&6
8669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8670 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8672 # Check whether --enable-imaglist or --disable-imaglist was given.
8673 if test "${enable_imaglist+set}" = set; then
8674 enableval
="$enable_imaglist"
8676 if test "$enableval" = yes; then
8677 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8679 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8684 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8685 if test "x$LINE" != x
; then
8686 eval "DEFAULT_$LINE"
8691 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8695 eval "$ac_cv_use_imaglist"
8696 if test "$no_cache" != 1; then
8697 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8700 if test "$wxUSE_IMAGLIST" = yes; then
8701 echo "$as_me:$LINENO: result: yes" >&5
8702 echo "${ECHO_T}yes" >&6
8704 echo "$as_me:$LINENO: result: no" >&5
8705 echo "${ECHO_T}no" >&6
8710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8711 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8713 # Check whether --enable-listbook or --disable-listbook was given.
8714 if test "${enable_listbook+set}" = set; then
8715 enableval
="$enable_listbook"
8717 if test "$enableval" = yes; then
8718 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8720 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8725 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8726 if test "x$LINE" != x
; then
8727 eval "DEFAULT_$LINE"
8732 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8736 eval "$ac_cv_use_listbook"
8737 if test "$no_cache" != 1; then
8738 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8741 if test "$wxUSE_LISTBOOK" = yes; then
8742 echo "$as_me:$LINENO: result: yes" >&5
8743 echo "${ECHO_T}yes" >&6
8745 echo "$as_me:$LINENO: result: no" >&5
8746 echo "${ECHO_T}no" >&6
8751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8752 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8754 # Check whether --enable-listbox or --disable-listbox was given.
8755 if test "${enable_listbox+set}" = set; then
8756 enableval
="$enable_listbox"
8758 if test "$enableval" = yes; then
8759 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8761 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8766 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8767 if test "x$LINE" != x
; then
8768 eval "DEFAULT_$LINE"
8773 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8777 eval "$ac_cv_use_listbox"
8778 if test "$no_cache" != 1; then
8779 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8782 if test "$wxUSE_LISTBOX" = yes; then
8783 echo "$as_me:$LINENO: result: yes" >&5
8784 echo "${ECHO_T}yes" >&6
8786 echo "$as_me:$LINENO: result: no" >&5
8787 echo "${ECHO_T}no" >&6
8792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8793 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8795 # Check whether --enable-listctrl or --disable-listctrl was given.
8796 if test "${enable_listctrl+set}" = set; then
8797 enableval
="$enable_listctrl"
8799 if test "$enableval" = yes; then
8800 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8802 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8807 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8808 if test "x$LINE" != x
; then
8809 eval "DEFAULT_$LINE"
8814 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8818 eval "$ac_cv_use_listctrl"
8819 if test "$no_cache" != 1; then
8820 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8823 if test "$wxUSE_LISTCTRL" = yes; then
8824 echo "$as_me:$LINENO: result: yes" >&5
8825 echo "${ECHO_T}yes" >&6
8827 echo "$as_me:$LINENO: result: no" >&5
8828 echo "${ECHO_T}no" >&6
8833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8834 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8836 # Check whether --enable-notebook or --disable-notebook was given.
8837 if test "${enable_notebook+set}" = set; then
8838 enableval
="$enable_notebook"
8840 if test "$enableval" = yes; then
8841 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8843 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8848 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8849 if test "x$LINE" != x
; then
8850 eval "DEFAULT_$LINE"
8855 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8859 eval "$ac_cv_use_notebook"
8860 if test "$no_cache" != 1; then
8861 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8864 if test "$wxUSE_NOTEBOOK" = yes; then
8865 echo "$as_me:$LINENO: result: yes" >&5
8866 echo "${ECHO_T}yes" >&6
8868 echo "$as_me:$LINENO: result: no" >&5
8869 echo "${ECHO_T}no" >&6
8874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8877 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8878 if test "${enable_odcombobox+set}" = set; then
8879 enableval
="$enable_odcombobox"
8881 if test "$enableval" = yes; then
8882 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
8884 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
8889 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8890 if test "x$LINE" != x
; then
8891 eval "DEFAULT_$LINE"
8896 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8900 eval "$ac_cv_use_odcombobox"
8901 if test "$no_cache" != 1; then
8902 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8905 if test "$wxUSE_ODCOMBOBOX" = yes; then
8906 echo "$as_me:$LINENO: result: yes" >&5
8907 echo "${ECHO_T}yes" >&6
8909 echo "$as_me:$LINENO: result: no" >&5
8910 echo "${ECHO_T}no" >&6
8915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8916 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8918 # Check whether --enable-radiobox or --disable-radiobox was given.
8919 if test "${enable_radiobox+set}" = set; then
8920 enableval
="$enable_radiobox"
8922 if test "$enableval" = yes; then
8923 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8925 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8930 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8931 if test "x$LINE" != x
; then
8932 eval "DEFAULT_$LINE"
8937 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8941 eval "$ac_cv_use_radiobox"
8942 if test "$no_cache" != 1; then
8943 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8946 if test "$wxUSE_RADIOBOX" = yes; then
8947 echo "$as_me:$LINENO: result: yes" >&5
8948 echo "${ECHO_T}yes" >&6
8950 echo "$as_me:$LINENO: result: no" >&5
8951 echo "${ECHO_T}no" >&6
8956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8957 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8959 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8960 if test "${enable_radiobtn+set}" = set; then
8961 enableval
="$enable_radiobtn"
8963 if test "$enableval" = yes; then
8964 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8966 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8971 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8972 if test "x$LINE" != x
; then
8973 eval "DEFAULT_$LINE"
8978 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8982 eval "$ac_cv_use_radiobtn"
8983 if test "$no_cache" != 1; then
8984 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8987 if test "$wxUSE_RADIOBTN" = yes; then
8988 echo "$as_me:$LINENO: result: yes" >&5
8989 echo "${ECHO_T}yes" >&6
8991 echo "$as_me:$LINENO: result: no" >&5
8992 echo "${ECHO_T}no" >&6
8997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8998 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9000 # Check whether --enable-sash or --disable-sash was given.
9001 if test "${enable_sash+set}" = set; then
9002 enableval
="$enable_sash"
9004 if test "$enableval" = yes; then
9005 ac_cv_use_sash
='wxUSE_SASH=yes'
9007 ac_cv_use_sash
='wxUSE_SASH=no'
9012 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9013 if test "x$LINE" != x
; then
9014 eval "DEFAULT_$LINE"
9019 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9023 eval "$ac_cv_use_sash"
9024 if test "$no_cache" != 1; then
9025 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9028 if test "$wxUSE_SASH" = yes; then
9029 echo "$as_me:$LINENO: result: yes" >&5
9030 echo "${ECHO_T}yes" >&6
9032 echo "$as_me:$LINENO: result: no" >&5
9033 echo "${ECHO_T}no" >&6
9038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9039 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9041 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9042 if test "${enable_scrollbar+set}" = set; then
9043 enableval
="$enable_scrollbar"
9045 if test "$enableval" = yes; then
9046 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9048 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9053 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x
; then
9055 eval "DEFAULT_$LINE"
9060 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9064 eval "$ac_cv_use_scrollbar"
9065 if test "$no_cache" != 1; then
9066 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9069 if test "$wxUSE_SCROLLBAR" = yes; then
9070 echo "$as_me:$LINENO: result: yes" >&5
9071 echo "${ECHO_T}yes" >&6
9073 echo "$as_me:$LINENO: result: no" >&5
9074 echo "${ECHO_T}no" >&6
9079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9080 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9082 # Check whether --enable-slider or --disable-slider was given.
9083 if test "${enable_slider+set}" = set; then
9084 enableval
="$enable_slider"
9086 if test "$enableval" = yes; then
9087 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9089 ac_cv_use_slider
='wxUSE_SLIDER=no'
9094 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9095 if test "x$LINE" != x
; then
9096 eval "DEFAULT_$LINE"
9101 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9105 eval "$ac_cv_use_slider"
9106 if test "$no_cache" != 1; then
9107 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9110 if test "$wxUSE_SLIDER" = yes; then
9111 echo "$as_me:$LINENO: result: yes" >&5
9112 echo "${ECHO_T}yes" >&6
9114 echo "$as_me:$LINENO: result: no" >&5
9115 echo "${ECHO_T}no" >&6
9120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9121 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9123 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9124 if test "${enable_spinbtn+set}" = set; then
9125 enableval
="$enable_spinbtn"
9127 if test "$enableval" = yes; then
9128 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9130 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9135 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9136 if test "x$LINE" != x
; then
9137 eval "DEFAULT_$LINE"
9142 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9146 eval "$ac_cv_use_spinbtn"
9147 if test "$no_cache" != 1; then
9148 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9151 if test "$wxUSE_SPINBTN" = yes; then
9152 echo "$as_me:$LINENO: result: yes" >&5
9153 echo "${ECHO_T}yes" >&6
9155 echo "$as_me:$LINENO: result: no" >&5
9156 echo "${ECHO_T}no" >&6
9161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9164 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9165 if test "${enable_spinctrl+set}" = set; then
9166 enableval
="$enable_spinctrl"
9168 if test "$enableval" = yes; then
9169 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9171 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9176 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9177 if test "x$LINE" != x
; then
9178 eval "DEFAULT_$LINE"
9183 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9187 eval "$ac_cv_use_spinctrl"
9188 if test "$no_cache" != 1; then
9189 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9192 if test "$wxUSE_SPINCTRL" = yes; then
9193 echo "$as_me:$LINENO: result: yes" >&5
9194 echo "${ECHO_T}yes" >&6
9196 echo "$as_me:$LINENO: result: no" >&5
9197 echo "${ECHO_T}no" >&6
9202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9205 # Check whether --enable-splitter or --disable-splitter was given.
9206 if test "${enable_splitter+set}" = set; then
9207 enableval
="$enable_splitter"
9209 if test "$enableval" = yes; then
9210 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9212 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9217 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x
; then
9219 eval "DEFAULT_$LINE"
9224 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9228 eval "$ac_cv_use_splitter"
9229 if test "$no_cache" != 1; then
9230 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9233 if test "$wxUSE_SPLITTER" = yes; then
9234 echo "$as_me:$LINENO: result: yes" >&5
9235 echo "${ECHO_T}yes" >&6
9237 echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9246 # Check whether --enable-statbmp or --disable-statbmp was given.
9247 if test "${enable_statbmp+set}" = set; then
9248 enableval
="$enable_statbmp"
9250 if test "$enableval" = yes; then
9251 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9253 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9258 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x
; then
9260 eval "DEFAULT_$LINE"
9265 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9269 eval "$ac_cv_use_statbmp"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9274 if test "$wxUSE_STATBMP" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6
9278 echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9287 # Check whether --enable-statbox or --disable-statbox was given.
9288 if test "${enable_statbox+set}" = set; then
9289 enableval
="$enable_statbox"
9291 if test "$enableval" = yes; then
9292 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9294 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9299 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x
; then
9301 eval "DEFAULT_$LINE"
9306 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9310 eval "$ac_cv_use_statbox"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9315 if test "$wxUSE_STATBOX" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6
9319 echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9328 # Check whether --enable-statline or --disable-statline was given.
9329 if test "${enable_statline+set}" = set; then
9330 enableval
="$enable_statline"
9332 if test "$enableval" = yes; then
9333 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9335 ac_cv_use_statline
='wxUSE_STATLINE=no'
9340 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x
; then
9342 eval "DEFAULT_$LINE"
9347 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9351 eval "$ac_cv_use_statline"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9356 if test "$wxUSE_STATLINE" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6
9360 echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9369 # Check whether --enable-stattext or --disable-stattext was given.
9370 if test "${enable_stattext+set}" = set; then
9371 enableval
="$enable_stattext"
9373 if test "$enableval" = yes; then
9374 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9376 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9381 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x
; then
9383 eval "DEFAULT_$LINE"
9388 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9392 eval "$ac_cv_use_stattext"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9397 if test "$wxUSE_STATTEXT" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9410 # Check whether --enable-statusbar or --disable-statusbar was given.
9411 if test "${enable_statusbar+set}" = set; then
9412 enableval
="$enable_statusbar"
9414 if test "$enableval" = yes; then
9415 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9417 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9422 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x
; then
9424 eval "DEFAULT_$LINE"
9429 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9433 eval "$ac_cv_use_statusbar"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9438 if test "$wxUSE_STATUSBAR" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9451 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9452 if test "${enable_tabdialog+set}" = set; then
9453 enableval
="$enable_tabdialog"
9455 if test "$enableval" = yes; then
9456 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9458 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9463 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x
; then
9465 eval "DEFAULT_$LINE"
9470 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9474 eval "$ac_cv_use_tabdialog"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9479 if test "$wxUSE_TAB_DIALOG" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6
9483 echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6
9489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9492 # Check whether --enable-textctrl or --disable-textctrl was given.
9493 if test "${enable_textctrl+set}" = set; then
9494 enableval
="$enable_textctrl"
9496 if test "$enableval" = yes; then
9497 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9499 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9504 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x
; then
9506 eval "DEFAULT_$LINE"
9511 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9515 eval "$ac_cv_use_textctrl"
9516 if test "$no_cache" != 1; then
9517 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9520 if test "$wxUSE_TEXTCTRL" = yes; then
9521 echo "$as_me:$LINENO: result: yes" >&5
9522 echo "${ECHO_T}yes" >&6
9524 echo "$as_me:$LINENO: result: no" >&5
9525 echo "${ECHO_T}no" >&6
9530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9531 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9533 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9534 if test "${enable_togglebtn+set}" = set; then
9535 enableval
="$enable_togglebtn"
9537 if test "$enableval" = yes; then
9538 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9540 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9545 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x
; then
9547 eval "DEFAULT_$LINE"
9552 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9556 eval "$ac_cv_use_togglebtn"
9557 if test "$no_cache" != 1; then
9558 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9561 if test "$wxUSE_TOGGLEBTN" = yes; then
9562 echo "$as_me:$LINENO: result: yes" >&5
9563 echo "${ECHO_T}yes" >&6
9565 echo "$as_me:$LINENO: result: no" >&5
9566 echo "${ECHO_T}no" >&6
9571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9572 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9574 # Check whether --enable-toolbar or --disable-toolbar was given.
9575 if test "${enable_toolbar+set}" = set; then
9576 enableval
="$enable_toolbar"
9578 if test "$enableval" = yes; then
9579 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9581 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9586 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9587 if test "x$LINE" != x
; then
9588 eval "DEFAULT_$LINE"
9593 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9597 eval "$ac_cv_use_toolbar"
9598 if test "$no_cache" != 1; then
9599 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9602 if test "$wxUSE_TOOLBAR" = yes; then
9603 echo "$as_me:$LINENO: result: yes" >&5
9604 echo "${ECHO_T}yes" >&6
9606 echo "$as_me:$LINENO: result: no" >&5
9607 echo "${ECHO_T}no" >&6
9612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9615 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9616 if test "${enable_tbarnative+set}" = set; then
9617 enableval
="$enable_tbarnative"
9619 if test "$enableval" = yes; then
9620 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9622 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9627 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x
; then
9629 eval "DEFAULT_$LINE"
9634 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9638 eval "$ac_cv_use_tbarnative"
9639 if test "$no_cache" != 1; then
9640 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9643 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9644 echo "$as_me:$LINENO: result: yes" >&5
9645 echo "${ECHO_T}yes" >&6
9647 echo "$as_me:$LINENO: result: no" >&5
9648 echo "${ECHO_T}no" >&6
9653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9654 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9656 # Check whether --enable-treebook or --disable-treebook was given.
9657 if test "${enable_treebook+set}" = set; then
9658 enableval
="$enable_treebook"
9660 if test "$enableval" = yes; then
9661 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9663 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9668 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9669 if test "x$LINE" != x
; then
9670 eval "DEFAULT_$LINE"
9675 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9679 eval "$ac_cv_use_treebook"
9680 if test "$no_cache" != 1; then
9681 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9684 if test "$wxUSE_TREEBOOK" = yes; then
9685 echo "$as_me:$LINENO: result: yes" >&5
9686 echo "${ECHO_T}yes" >&6
9688 echo "$as_me:$LINENO: result: no" >&5
9689 echo "${ECHO_T}no" >&6
9694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9697 # Check whether --enable-toolbook or --disable-toolbook was given.
9698 if test "${enable_toolbook+set}" = set; then
9699 enableval
="$enable_toolbook"
9701 if test "$enableval" = yes; then
9702 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9704 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9709 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9710 if test "x$LINE" != x
; then
9711 eval "DEFAULT_$LINE"
9716 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9720 eval "$ac_cv_use_toolbook"
9721 if test "$no_cache" != 1; then
9722 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9725 if test "$wxUSE_TOOLBOOK" = yes; then
9726 echo "$as_me:$LINENO: result: yes" >&5
9727 echo "${ECHO_T}yes" >&6
9729 echo "$as_me:$LINENO: result: no" >&5
9730 echo "${ECHO_T}no" >&6
9735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9736 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9738 # Check whether --enable-treectrl or --disable-treectrl was given.
9739 if test "${enable_treectrl+set}" = set; then
9740 enableval
="$enable_treectrl"
9742 if test "$enableval" = yes; then
9743 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9745 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9750 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9751 if test "x$LINE" != x
; then
9752 eval "DEFAULT_$LINE"
9757 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9761 eval "$ac_cv_use_treectrl"
9762 if test "$no_cache" != 1; then
9763 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9766 if test "$wxUSE_TREECTRL" = yes; then
9767 echo "$as_me:$LINENO: result: yes" >&5
9768 echo "${ECHO_T}yes" >&6
9770 echo "$as_me:$LINENO: result: no" >&5
9771 echo "${ECHO_T}no" >&6
9776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9777 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9779 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9780 if test "${enable_tipwindow+set}" = set; then
9781 enableval
="$enable_tipwindow"
9783 if test "$enableval" = yes; then
9784 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9786 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9791 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9792 if test "x$LINE" != x
; then
9793 eval "DEFAULT_$LINE"
9798 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9802 eval "$ac_cv_use_tipwindow"
9803 if test "$no_cache" != 1; then
9804 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9807 if test "$wxUSE_TIPWINDOW" = yes; then
9808 echo "$as_me:$LINENO: result: yes" >&5
9809 echo "${ECHO_T}yes" >&6
9811 echo "$as_me:$LINENO: result: no" >&5
9812 echo "${ECHO_T}no" >&6
9817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9818 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9820 # Check whether --enable-popupwin or --disable-popupwin was given.
9821 if test "${enable_popupwin+set}" = set; then
9822 enableval
="$enable_popupwin"
9824 if test "$enableval" = yes; then
9825 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9827 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9832 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x
; then
9834 eval "DEFAULT_$LINE"
9839 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9843 eval "$ac_cv_use_popupwin"
9844 if test "$no_cache" != 1; then
9845 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9848 if test "$wxUSE_POPUPWIN" = yes; then
9849 echo "$as_me:$LINENO: result: yes" >&5
9850 echo "${ECHO_T}yes" >&6
9852 echo "$as_me:$LINENO: result: no" >&5
9853 echo "${ECHO_T}no" >&6
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9863 # Check whether --enable-commondlg or --disable-commondlg was given.
9864 if test "${enable_commondlg+set}" = set; then
9865 enableval
="$enable_commondlg"
9867 if test "$enableval" = yes; then
9868 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9870 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9875 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x
; then
9877 eval "DEFAULT_$LINE"
9882 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9886 eval "$ac_cv_use_commondlg"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9891 if test "$wxUSE_COMMONDLGS" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9904 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9905 if test "${enable_choicedlg+set}" = set; then
9906 enableval
="$enable_choicedlg"
9908 if test "$enableval" = yes; then
9909 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9911 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9916 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9917 if test "x$LINE" != x
; then
9918 eval "DEFAULT_$LINE"
9923 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9927 eval "$ac_cv_use_choicedlg"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9932 if test "$wxUSE_CHOICEDLG" = yes; then
9933 echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9945 # Check whether --enable-coldlg or --disable-coldlg was given.
9946 if test "${enable_coldlg+set}" = set; then
9947 enableval
="$enable_coldlg"
9949 if test "$enableval" = yes; then
9950 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9952 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9957 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9958 if test "x$LINE" != x
; then
9959 eval "DEFAULT_$LINE"
9964 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9968 eval "$ac_cv_use_coldlg"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9973 if test "$wxUSE_COLOURDLG" = yes; then
9974 echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6
9977 echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6
9983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9986 # Check whether --enable-filedlg or --disable-filedlg was given.
9987 if test "${enable_filedlg+set}" = set; then
9988 enableval
="$enable_filedlg"
9990 if test "$enableval" = yes; then
9991 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9993 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9998 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x
; then
10000 eval "DEFAULT_$LINE"
10005 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10009 eval "$ac_cv_use_filedlg"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10014 if test "$wxUSE_FILEDLG" = yes; then
10015 echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10027 # Check whether --enable-finddlg or --disable-finddlg was given.
10028 if test "${enable_finddlg+set}" = set; then
10029 enableval
="$enable_finddlg"
10031 if test "$enableval" = yes; then
10032 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10034 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10039 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10040 if test "x$LINE" != x
; then
10041 eval "DEFAULT_$LINE"
10046 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10050 eval "$ac_cv_use_finddlg"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10055 if test "$wxUSE_FINDREPLDLG" = yes; then
10056 echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6
10059 echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6
10065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10068 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10069 if test "${enable_fontdlg+set}" = set; then
10070 enableval
="$enable_fontdlg"
10072 if test "$enableval" = yes; then
10073 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10075 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10080 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10081 if test "x$LINE" != x
; then
10082 eval "DEFAULT_$LINE"
10087 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10091 eval "$ac_cv_use_fontdlg"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10096 if test "$wxUSE_FONTDLG" = yes; then
10097 echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6
10100 echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6
10106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10109 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10110 if test "${enable_dirdlg+set}" = set; then
10111 enableval
="$enable_dirdlg"
10113 if test "$enableval" = yes; then
10114 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10116 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10121 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10122 if test "x$LINE" != x
; then
10123 eval "DEFAULT_$LINE"
10128 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10132 eval "$ac_cv_use_dirdlg"
10133 if test "$no_cache" != 1; then
10134 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10137 if test "$wxUSE_DIRDLG" = yes; then
10138 echo "$as_me:$LINENO: result: yes" >&5
10139 echo "${ECHO_T}yes" >&6
10141 echo "$as_me:$LINENO: result: no" >&5
10142 echo "${ECHO_T}no" >&6
10147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10150 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10151 if test "${enable_msgdlg+set}" = set; then
10152 enableval
="$enable_msgdlg"
10154 if test "$enableval" = yes; then
10155 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10157 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10162 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10163 if test "x$LINE" != x
; then
10164 eval "DEFAULT_$LINE"
10169 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10173 eval "$ac_cv_use_msgdlg"
10174 if test "$no_cache" != 1; then
10175 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10178 if test "$wxUSE_MSGDLG" = yes; then
10179 echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6
10182 echo "$as_me:$LINENO: result: no" >&5
10183 echo "${ECHO_T}no" >&6
10188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10189 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10191 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10192 if test "${enable_numberdlg+set}" = set; then
10193 enableval
="$enable_numberdlg"
10195 if test "$enableval" = yes; then
10196 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10198 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10203 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10204 if test "x$LINE" != x
; then
10205 eval "DEFAULT_$LINE"
10210 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10214 eval "$ac_cv_use_numberdlg"
10215 if test "$no_cache" != 1; then
10216 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10219 if test "$wxUSE_NUMBERDLG" = yes; then
10220 echo "$as_me:$LINENO: result: yes" >&5
10221 echo "${ECHO_T}yes" >&6
10223 echo "$as_me:$LINENO: result: no" >&5
10224 echo "${ECHO_T}no" >&6
10229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10232 # Check whether --enable-splash or --disable-splash was given.
10233 if test "${enable_splash+set}" = set; then
10234 enableval
="$enable_splash"
10236 if test "$enableval" = yes; then
10237 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10239 ac_cv_use_splash
='wxUSE_SPLASH=no'
10244 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10245 if test "x$LINE" != x
; then
10246 eval "DEFAULT_$LINE"
10251 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10255 eval "$ac_cv_use_splash"
10256 if test "$no_cache" != 1; then
10257 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10260 if test "$wxUSE_SPLASH" = yes; then
10261 echo "$as_me:$LINENO: result: yes" >&5
10262 echo "${ECHO_T}yes" >&6
10264 echo "$as_me:$LINENO: result: no" >&5
10265 echo "${ECHO_T}no" >&6
10270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10271 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10273 # Check whether --enable-textdlg or --disable-textdlg was given.
10274 if test "${enable_textdlg+set}" = set; then
10275 enableval
="$enable_textdlg"
10277 if test "$enableval" = yes; then
10278 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10280 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10285 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10286 if test "x$LINE" != x
; then
10287 eval "DEFAULT_$LINE"
10292 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10296 eval "$ac_cv_use_textdlg"
10297 if test "$no_cache" != 1; then
10298 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10301 if test "$wxUSE_TEXTDLG" = yes; then
10302 echo "$as_me:$LINENO: result: yes" >&5
10303 echo "${ECHO_T}yes" >&6
10305 echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6
10311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10312 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10314 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10315 if test "${enable_tipdlg+set}" = set; then
10316 enableval
="$enable_tipdlg"
10318 if test "$enableval" = yes; then
10319 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10321 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10326 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10327 if test "x$LINE" != x
; then
10328 eval "DEFAULT_$LINE"
10333 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10337 eval "$ac_cv_use_tipdlg"
10338 if test "$no_cache" != 1; then
10339 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10342 if test "$wxUSE_STARTUP_TIPS" = yes; then
10343 echo "$as_me:$LINENO: result: yes" >&5
10344 echo "${ECHO_T}yes" >&6
10346 echo "$as_me:$LINENO: result: no" >&5
10347 echo "${ECHO_T}no" >&6
10352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10353 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10355 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10356 if test "${enable_progressdlg+set}" = set; then
10357 enableval
="$enable_progressdlg"
10359 if test "$enableval" = yes; then
10360 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10362 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10367 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10368 if test "x$LINE" != x
; then
10369 eval "DEFAULT_$LINE"
10374 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10378 eval "$ac_cv_use_progressdlg"
10379 if test "$no_cache" != 1; then
10380 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10383 if test "$wxUSE_PROGRESSDLG" = yes; then
10384 echo "$as_me:$LINENO: result: yes" >&5
10385 echo "${ECHO_T}yes" >&6
10387 echo "$as_me:$LINENO: result: no" >&5
10388 echo "${ECHO_T}no" >&6
10393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10396 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10397 if test "${enable_wizarddlg+set}" = set; then
10398 enableval
="$enable_wizarddlg"
10400 if test "$enableval" = yes; then
10401 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10403 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10408 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10409 if test "x$LINE" != x
; then
10410 eval "DEFAULT_$LINE"
10415 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10419 eval "$ac_cv_use_wizarddlg"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10424 if test "$wxUSE_WIZARDDLG" = yes; then
10425 echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6
10428 echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6
10436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10437 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10439 # Check whether --enable-menus or --disable-menus was given.
10440 if test "${enable_menus+set}" = set; then
10441 enableval
="$enable_menus"
10443 if test "$enableval" = yes; then
10444 ac_cv_use_menus
='wxUSE_MENUS=yes'
10446 ac_cv_use_menus
='wxUSE_MENUS=no'
10451 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10452 if test "x$LINE" != x
; then
10453 eval "DEFAULT_$LINE"
10458 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10462 eval "$ac_cv_use_menus"
10463 if test "$no_cache" != 1; then
10464 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10467 if test "$wxUSE_MENUS" = yes; then
10468 echo "$as_me:$LINENO: result: yes" >&5
10469 echo "${ECHO_T}yes" >&6
10471 echo "$as_me:$LINENO: result: no" >&5
10472 echo "${ECHO_T}no" >&6
10477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10478 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10480 # Check whether --enable-miniframe or --disable-miniframe was given.
10481 if test "${enable_miniframe+set}" = set; then
10482 enableval
="$enable_miniframe"
10484 if test "$enableval" = yes; then
10485 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10487 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10492 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10493 if test "x$LINE" != x
; then
10494 eval "DEFAULT_$LINE"
10499 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10503 eval "$ac_cv_use_miniframe"
10504 if test "$no_cache" != 1; then
10505 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10508 if test "$wxUSE_MINIFRAME" = yes; then
10509 echo "$as_me:$LINENO: result: yes" >&5
10510 echo "${ECHO_T}yes" >&6
10512 echo "$as_me:$LINENO: result: no" >&5
10513 echo "${ECHO_T}no" >&6
10518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10519 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10521 # Check whether --enable-tooltips or --disable-tooltips was given.
10522 if test "${enable_tooltips+set}" = set; then
10523 enableval
="$enable_tooltips"
10525 if test "$enableval" = yes; then
10526 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10528 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10533 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10534 if test "x$LINE" != x
; then
10535 eval "DEFAULT_$LINE"
10540 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10544 eval "$ac_cv_use_tooltips"
10545 if test "$no_cache" != 1; then
10546 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10549 if test "$wxUSE_TOOLTIPS" = yes; then
10550 echo "$as_me:$LINENO: result: yes" >&5
10551 echo "${ECHO_T}yes" >&6
10553 echo "$as_me:$LINENO: result: no" >&5
10554 echo "${ECHO_T}no" >&6
10559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10560 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10562 # Check whether --enable-splines or --disable-splines was given.
10563 if test "${enable_splines+set}" = set; then
10564 enableval
="$enable_splines"
10566 if test "$enableval" = yes; then
10567 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10569 ac_cv_use_splines
='wxUSE_SPLINES=no'
10574 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10575 if test "x$LINE" != x
; then
10576 eval "DEFAULT_$LINE"
10581 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10585 eval "$ac_cv_use_splines"
10586 if test "$no_cache" != 1; then
10587 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10590 if test "$wxUSE_SPLINES" = yes; then
10591 echo "$as_me:$LINENO: result: yes" >&5
10592 echo "${ECHO_T}yes" >&6
10594 echo "$as_me:$LINENO: result: no" >&5
10595 echo "${ECHO_T}no" >&6
10600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10603 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10604 if test "${enable_mousewheel+set}" = set; then
10605 enableval
="$enable_mousewheel"
10607 if test "$enableval" = yes; then
10608 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10610 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10615 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10616 if test "x$LINE" != x
; then
10617 eval "DEFAULT_$LINE"
10622 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10626 eval "$ac_cv_use_mousewheel"
10627 if test "$no_cache" != 1; then
10628 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10631 if test "$wxUSE_MOUSEWHEEL" = yes; then
10632 echo "$as_me:$LINENO: result: yes" >&5
10633 echo "${ECHO_T}yes" >&6
10635 echo "$as_me:$LINENO: result: no" >&5
10636 echo "${ECHO_T}no" >&6
10641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10642 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10644 # Check whether --enable-validators or --disable-validators was given.
10645 if test "${enable_validators+set}" = set; then
10646 enableval
="$enable_validators"
10648 if test "$enableval" = yes; then
10649 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10651 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10656 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10657 if test "x$LINE" != x
; then
10658 eval "DEFAULT_$LINE"
10663 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10667 eval "$ac_cv_use_validators"
10668 if test "$no_cache" != 1; then
10669 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10672 if test "$wxUSE_VALIDATORS" = yes; then
10673 echo "$as_me:$LINENO: result: yes" >&5
10674 echo "${ECHO_T}yes" >&6
10676 echo "$as_me:$LINENO: result: no" >&5
10677 echo "${ECHO_T}no" >&6
10682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10683 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10685 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10686 if test "${enable_busyinfo+set}" = set; then
10687 enableval
="$enable_busyinfo"
10689 if test "$enableval" = yes; then
10690 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10692 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10697 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10698 if test "x$LINE" != x
; then
10699 eval "DEFAULT_$LINE"
10704 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10708 eval "$ac_cv_use_busyinfo"
10709 if test "$no_cache" != 1; then
10710 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10713 if test "$wxUSE_BUSYINFO" = yes; then
10714 echo "$as_me:$LINENO: result: yes" >&5
10715 echo "${ECHO_T}yes" >&6
10717 echo "$as_me:$LINENO: result: no" >&5
10718 echo "${ECHO_T}no" >&6
10723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10726 # Check whether --enable-joystick or --disable-joystick was given.
10727 if test "${enable_joystick+set}" = set; then
10728 enableval
="$enable_joystick"
10730 if test "$enableval" = yes; then
10731 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10733 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10738 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10739 if test "x$LINE" != x
; then
10740 eval "DEFAULT_$LINE"
10745 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10749 eval "$ac_cv_use_joystick"
10750 if test "$no_cache" != 1; then
10751 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10754 if test "$wxUSE_JOYSTICK" = yes; then
10755 echo "$as_me:$LINENO: result: yes" >&5
10756 echo "${ECHO_T}yes" >&6
10758 echo "$as_me:$LINENO: result: no" >&5
10759 echo "${ECHO_T}no" >&6
10764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10765 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10767 # Check whether --enable-metafile or --disable-metafile was given.
10768 if test "${enable_metafile+set}" = set; then
10769 enableval
="$enable_metafile"
10771 if test "$enableval" = yes; then
10772 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10774 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10779 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10780 if test "x$LINE" != x
; then
10781 eval "DEFAULT_$LINE"
10786 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10790 eval "$ac_cv_use_metafile"
10791 if test "$no_cache" != 1; then
10792 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10795 if test "$wxUSE_METAFILE" = yes; then
10796 echo "$as_me:$LINENO: result: yes" >&5
10797 echo "${ECHO_T}yes" >&6
10799 echo "$as_me:$LINENO: result: no" >&5
10800 echo "${ECHO_T}no" >&6
10805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10806 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10808 # Check whether --enable-dragimage or --disable-dragimage was given.
10809 if test "${enable_dragimage+set}" = set; then
10810 enableval
="$enable_dragimage"
10812 if test "$enableval" = yes; then
10813 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10815 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10820 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10821 if test "x$LINE" != x
; then
10822 eval "DEFAULT_$LINE"
10827 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10831 eval "$ac_cv_use_dragimage"
10832 if test "$no_cache" != 1; then
10833 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10836 if test "$wxUSE_DRAGIMAGE" = yes; then
10837 echo "$as_me:$LINENO: result: yes" >&5
10838 echo "${ECHO_T}yes" >&6
10840 echo "$as_me:$LINENO: result: no" >&5
10841 echo "${ECHO_T}no" >&6
10846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10847 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10849 # Check whether --enable-accessibility or --disable-accessibility was given.
10850 if test "${enable_accessibility+set}" = set; then
10851 enableval
="$enable_accessibility"
10853 if test "$enableval" = yes; then
10854 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10856 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10861 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10862 if test "x$LINE" != x
; then
10863 eval "DEFAULT_$LINE"
10868 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10872 eval "$ac_cv_use_accessibility"
10873 if test "$no_cache" != 1; then
10874 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10877 if test "$wxUSE_ACCESSIBILITY" = yes; then
10878 echo "$as_me:$LINENO: result: yes" >&5
10879 echo "${ECHO_T}yes" >&6
10881 echo "$as_me:$LINENO: result: no" >&5
10882 echo "${ECHO_T}no" >&6
10886 if test "$wxUSE_MSW" = "1"; then
10889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10892 # Check whether --enable-dccache or --disable-dccache was given.
10893 if test "${enable_dccache+set}" = set; then
10894 enableval
="$enable_dccache"
10896 if test "$enableval" = yes; then
10897 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10899 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10904 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10905 if test "x$LINE" != x
; then
10906 eval "DEFAULT_$LINE"
10911 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10915 eval "$ac_cv_use_dccache"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10920 if test "$wxUSE_DC_CACHEING" = yes; then
10921 echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6
10924 echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6
10933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10936 # Check whether --enable-palette or --disable-palette was given.
10937 if test "${enable_palette+set}" = set; then
10938 enableval
="$enable_palette"
10940 if test "$enableval" = yes; then
10941 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10943 ac_cv_use_palette
='wxUSE_PALETTE=no'
10948 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10949 if test "x$LINE" != x
; then
10950 eval "DEFAULT_$LINE"
10955 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10959 eval "$ac_cv_use_palette"
10960 if test "$no_cache" != 1; then
10961 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10964 if test "$wxUSE_PALETTE" = yes; then
10965 echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6
10968 echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6
10974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10975 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10977 # Check whether --enable-image or --disable-image was given.
10978 if test "${enable_image+set}" = set; then
10979 enableval
="$enable_image"
10981 if test "$enableval" = yes; then
10982 ac_cv_use_image
='wxUSE_IMAGE=yes'
10984 ac_cv_use_image
='wxUSE_IMAGE=no'
10989 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10990 if test "x$LINE" != x
; then
10991 eval "DEFAULT_$LINE"
10996 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11000 eval "$ac_cv_use_image"
11001 if test "$no_cache" != 1; then
11002 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11005 if test "$wxUSE_IMAGE" = yes; then
11006 echo "$as_me:$LINENO: result: yes" >&5
11007 echo "${ECHO_T}yes" >&6
11009 echo "$as_me:$LINENO: result: no" >&5
11010 echo "${ECHO_T}no" >&6
11015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11016 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11018 # Check whether --enable-gif or --disable-gif was given.
11019 if test "${enable_gif+set}" = set; then
11020 enableval
="$enable_gif"
11022 if test "$enableval" = yes; then
11023 ac_cv_use_gif
='wxUSE_GIF=yes'
11025 ac_cv_use_gif
='wxUSE_GIF=no'
11030 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11031 if test "x$LINE" != x
; then
11032 eval "DEFAULT_$LINE"
11037 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11041 eval "$ac_cv_use_gif"
11042 if test "$no_cache" != 1; then
11043 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11046 if test "$wxUSE_GIF" = yes; then
11047 echo "$as_me:$LINENO: result: yes" >&5
11048 echo "${ECHO_T}yes" >&6
11050 echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6
11056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11059 # Check whether --enable-pcx or --disable-pcx was given.
11060 if test "${enable_pcx+set}" = set; then
11061 enableval
="$enable_pcx"
11063 if test "$enableval" = yes; then
11064 ac_cv_use_pcx
='wxUSE_PCX=yes'
11066 ac_cv_use_pcx
='wxUSE_PCX=no'
11071 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11072 if test "x$LINE" != x
; then
11073 eval "DEFAULT_$LINE"
11078 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11082 eval "$ac_cv_use_pcx"
11083 if test "$no_cache" != 1; then
11084 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11087 if test "$wxUSE_PCX" = yes; then
11088 echo "$as_me:$LINENO: result: yes" >&5
11089 echo "${ECHO_T}yes" >&6
11091 echo "$as_me:$LINENO: result: no" >&5
11092 echo "${ECHO_T}no" >&6
11097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11098 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11100 # Check whether --enable-iff or --disable-iff was given.
11101 if test "${enable_iff+set}" = set; then
11102 enableval
="$enable_iff"
11104 if test "$enableval" = yes; then
11105 ac_cv_use_iff
='wxUSE_IFF=yes'
11107 ac_cv_use_iff
='wxUSE_IFF=no'
11112 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11113 if test "x$LINE" != x
; then
11114 eval "DEFAULT_$LINE"
11119 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11123 eval "$ac_cv_use_iff"
11124 if test "$no_cache" != 1; then
11125 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11128 if test "$wxUSE_IFF" = yes; then
11129 echo "$as_me:$LINENO: result: yes" >&5
11130 echo "${ECHO_T}yes" >&6
11132 echo "$as_me:$LINENO: result: no" >&5
11133 echo "${ECHO_T}no" >&6
11138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11139 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11141 # Check whether --enable-pnm or --disable-pnm was given.
11142 if test "${enable_pnm+set}" = set; then
11143 enableval
="$enable_pnm"
11145 if test "$enableval" = yes; then
11146 ac_cv_use_pnm
='wxUSE_PNM=yes'
11148 ac_cv_use_pnm
='wxUSE_PNM=no'
11153 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11154 if test "x$LINE" != x
; then
11155 eval "DEFAULT_$LINE"
11160 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11164 eval "$ac_cv_use_pnm"
11165 if test "$no_cache" != 1; then
11166 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11169 if test "$wxUSE_PNM" = yes; then
11170 echo "$as_me:$LINENO: result: yes" >&5
11171 echo "${ECHO_T}yes" >&6
11173 echo "$as_me:$LINENO: result: no" >&5
11174 echo "${ECHO_T}no" >&6
11179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11180 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11182 # Check whether --enable-xpm or --disable-xpm was given.
11183 if test "${enable_xpm+set}" = set; then
11184 enableval
="$enable_xpm"
11186 if test "$enableval" = yes; then
11187 ac_cv_use_xpm
='wxUSE_XPM=yes'
11189 ac_cv_use_xpm
='wxUSE_XPM=no'
11194 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11195 if test "x$LINE" != x
; then
11196 eval "DEFAULT_$LINE"
11201 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11205 eval "$ac_cv_use_xpm"
11206 if test "$no_cache" != 1; then
11207 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11210 if test "$wxUSE_XPM" = yes; then
11211 echo "$as_me:$LINENO: result: yes" >&5
11212 echo "${ECHO_T}yes" >&6
11214 echo "$as_me:$LINENO: result: no" >&5
11215 echo "${ECHO_T}no" >&6
11220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11221 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11223 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11224 if test "${enable_ico_cur+set}" = set; then
11225 enableval
="$enable_ico_cur"
11227 if test "$enableval" = yes; then
11228 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11230 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11235 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11236 if test "x$LINE" != x
; then
11237 eval "DEFAULT_$LINE"
11242 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11246 eval "$ac_cv_use_ico_cur"
11247 if test "$no_cache" != 1; then
11248 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11251 if test "$wxUSE_ICO_CUR" = yes; then
11252 echo "$as_me:$LINENO: result: yes" >&5
11253 echo "${ECHO_T}yes" >&6
11255 echo "$as_me:$LINENO: result: no" >&5
11256 echo "${ECHO_T}no" >&6
11264 # Check whether --with-flavour or --without-flavour was given.
11265 if test "${with_flavour+set}" = set; then
11266 withval
="$with_flavour"
11267 WX_FLAVOUR
="$withval"
11273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11276 # Check whether --enable-official_build or --disable-official_build was given.
11277 if test "${enable_official_build+set}" = set; then
11278 enableval
="$enable_official_build"
11280 if test "$enableval" = yes; then
11281 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11283 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11288 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x
; then
11290 eval "DEFAULT_$LINE"
11295 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11299 eval "$ac_cv_use_official_build"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11304 if test "$wxUSE_OFFICIAL_BUILD" = 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
11312 # Check whether --enable-vendor or --disable-vendor was given.
11313 if test "${enable_vendor+set}" = set; then
11314 enableval
="$enable_vendor"
11315 VENDOR
="$enableval"
11317 if test "x$VENDOR" = "x"; then
11324 echo "saving argument cache $wx_arg_cache_file"
11325 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11329 echo "$as_me:$LINENO: checking for toolkit" >&5
11330 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11332 # In Wine, we need to default to MSW, not GTK or MOTIF
11333 if test "$wxUSE_WINE" = "yes"; then
11334 DEFAULT_DEFAULT_wxUSE_GTK
=0
11335 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11336 DEFAULT_DEFAULT_wxUSE_MSW
=1
11341 if test "$wxUSE_GUI" = "yes"; then
11343 if test "$USE_BEOS" = 1; then
11344 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11345 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11346 { (exit 1); exit 1; }; }
11349 if test "$TOOLKIT_GIVEN" = 1; then
11350 for toolkit
in `echo $ALL_TOOLKITS`; do
11352 eval "value=\$${var}"
11353 if test "x$value" = "xno"; then
11355 elif test "x$value" != "x"; then
11359 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11360 eval "wx${toolkit}_VERSION=$value"
11364 for toolkit
in `echo $ALL_TOOLKITS`; do
11365 if test "$has_toolkit_in_cache" != 1; then
11366 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11368 var
=DEFAULT_wxUSE_
$toolkit
11370 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11371 if test "x$version" != "x"; then
11372 eval "wx${toolkit}_VERSION=$version"
11375 eval "wxUSE_$toolkit=\$${var}"
11379 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11380 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11381 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11384 *-pc-os2_emx | *-pc-os2-emx )
11385 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11388 case "$NUM_TOOLKITS" in
11392 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11393 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11394 { (exit 1); exit 1; }; }
11397 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11398 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11399 { (exit 1); exit 1; }; }
11402 # to be removed when --disable-gtk2 isn't needed
11403 if test "x$wxUSE_GTK2" = "xyes"; then
11405 elif test "x$wxUSE_GTK2" = "xno"; then
11409 for toolkit
in `echo $ALL_TOOLKITS`; do
11411 eval "value=\$${var}"
11412 if test "x$value" != x
; then
11413 cache_var
=CACHE_
$toolkit
11414 eval "cache=\$${cache_var}"
11415 if test "$cache" = 1; then
11416 echo "$var=$value" >> ${wx_arg_cache_file}
11417 eval "version=\$wx${toolkit}_VERSION"
11418 if test "x$version" != "x"; then
11419 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11422 if test "$value" = 1; then
11423 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11424 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11425 echo "${ECHO_T}$toolkit_echo" >&6
11430 if test "x$host_alias" != "x"; then
11431 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11432 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11434 echo "$as_me:$LINENO: result: base only" >&5
11435 echo "${ECHO_T}base only" >&6
11440 doesnt_want_win32
=0
11443 if test "$wxUSE_MSW" = 1 ; then
11445 BAKEFILE_FORCE_PLATFORM
=win32
11447 doesnt_want_win32
=1
11455 if test "$wxUSE_WINE" = "yes"; then
11459 LDFLAGS_GUI
="-mwindows"
11462 if test "$wants_win32" = 1 ; then
11465 cat >>confdefs.h
<<\_ACEOF
11466 #define __WIN32__ 1
11469 cat >>confdefs.h
<<\_ACEOF
11470 #define __WIN95__ 1
11473 cat >>confdefs.h
<<\_ACEOF
11474 #define __WINDOWS__ 1
11477 cat >>confdefs.h
<<\_ACEOF
11478 #define __GNUWIN32__ 1
11481 cat >>confdefs.h
<<\_ACEOF
11485 cat >>confdefs.h
<<\_ACEOF
11486 #define WINVER 0x0400
11490 if test "$doesnt_want_win32" = 1 ; then
11495 if test "$USE_UNIX" = 1 ; then
11497 cat >>confdefs.h
<<\_ACEOF
11504 cat >confcache
<<\_ACEOF
11505 # This file is a shell script that caches the results of configure
11506 # tests run on this system so they can be shared between configure
11507 # scripts and configure runs, see configure's option --config-cache.
11508 # It is not useful on other systems. If it contains results you don't
11509 # want to keep, you may remove or edit it.
11511 # config.status only pays attention to the cache file if you give it
11512 # the --recheck option to rerun configure.
11514 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11515 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11516 # following values.
11520 # The following way of writing the cache mishandles newlines in values,
11521 # but we know of no workaround that is simple, portable, and efficient.
11522 # So, don't put newlines in cache variables' values.
11523 # Ultrix sh set writes to stderr and can't be redirected directly,
11524 # and sets the high bit in the cache file unless we assign to the vars.
11527 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11529 # `set' does not quote correctly, so add quotes (double-quote
11530 # substitution turns \\\\ into \\, and sed turns \\ into \).
11533 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11536 # `set' quotes correctly as required by POSIX, so do not add quotes.
11538 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11545 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11547 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11549 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11550 if test -w $cache_file; then
11551 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11552 cat confcache
>$cache_file
11554 echo "not updating unwritable cache $cache_file"
11564 ac_cpp
='$CPP $CPPFLAGS'
11565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11568 if test -n "$ac_tool_prefix"; then
11569 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11570 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11571 echo "$as_me:$LINENO: checking for $ac_word" >&5
11572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11573 if test "${ac_cv_prog_CC+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 if test -n "$CC"; then
11577 ac_cv_prog_CC
="$CC" # Let the user override the test.
11579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11580 for as_dir
in $PATH
11583 test -z "$as_dir" && as_dir
=.
11584 for ac_exec_ext
in '' $ac_executable_extensions; do
11585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11586 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11596 if test -n "$CC"; then
11597 echo "$as_me:$LINENO: result: $CC" >&5
11598 echo "${ECHO_T}$CC" >&6
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11605 if test -z "$ac_cv_prog_CC"; then
11607 # Extract the first word of "gcc", so it can be a program name with args.
11608 set dummy gcc
; ac_word
=$2
11609 echo "$as_me:$LINENO: checking for $ac_word" >&5
11610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11611 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 if test -n "$ac_ct_CC"; then
11615 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11618 for as_dir
in $PATH
11621 test -z "$as_dir" && as_dir
=.
11622 for ac_exec_ext
in '' $ac_executable_extensions; do
11623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11624 ac_cv_prog_ac_ct_CC
="gcc"
11625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11633 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11634 if test -n "$ac_ct_CC"; then
11635 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11636 echo "${ECHO_T}$ac_ct_CC" >&6
11638 echo "$as_me:$LINENO: result: no" >&5
11639 echo "${ECHO_T}no" >&6
11644 CC
="$ac_cv_prog_CC"
11647 if test -z "$CC"; then
11648 if test -n "$ac_tool_prefix"; then
11649 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11650 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11651 echo "$as_me:$LINENO: checking for $ac_word" >&5
11652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11653 if test "${ac_cv_prog_CC+set}" = set; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11656 if test -n "$CC"; then
11657 ac_cv_prog_CC
="$CC" # Let the user override the test.
11659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11660 for as_dir
in $PATH
11663 test -z "$as_dir" && as_dir
=.
11664 for ac_exec_ext
in '' $ac_executable_extensions; do
11665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11666 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11676 if test -n "$CC"; then
11677 echo "$as_me:$LINENO: result: $CC" >&5
11678 echo "${ECHO_T}$CC" >&6
11680 echo "$as_me:$LINENO: result: no" >&5
11681 echo "${ECHO_T}no" >&6
11685 if test -z "$ac_cv_prog_CC"; then
11687 # Extract the first word of "cc", so it can be a program name with args.
11688 set dummy cc
; ac_word
=$2
11689 echo "$as_me:$LINENO: checking for $ac_word" >&5
11690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11691 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11694 if test -n "$ac_ct_CC"; then
11695 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11698 for as_dir
in $PATH
11701 test -z "$as_dir" && as_dir
=.
11702 for ac_exec_ext
in '' $ac_executable_extensions; do
11703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11704 ac_cv_prog_ac_ct_CC
="cc"
11705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11713 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11714 if test -n "$ac_ct_CC"; then
11715 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11716 echo "${ECHO_T}$ac_ct_CC" >&6
11718 echo "$as_me:$LINENO: result: no" >&5
11719 echo "${ECHO_T}no" >&6
11724 CC
="$ac_cv_prog_CC"
11728 if test -z "$CC"; then
11729 # Extract the first word of "cc", so it can be a program name with args.
11730 set dummy cc
; ac_word
=$2
11731 echo "$as_me:$LINENO: checking for $ac_word" >&5
11732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11733 if test "${ac_cv_prog_CC+set}" = set; then
11734 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 if test -n "$CC"; then
11737 ac_cv_prog_CC
="$CC" # Let the user override the test.
11739 ac_prog_rejected
=no
11740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11741 for as_dir
in $PATH
11744 test -z "$as_dir" && as_dir
=.
11745 for ac_exec_ext
in '' $ac_executable_extensions; do
11746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11747 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11748 ac_prog_rejected
=yes
11752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11758 if test $ac_prog_rejected = yes; then
11759 # We found a bogon in the path, so make sure we never use it.
11760 set dummy
$ac_cv_prog_CC
11762 if test $# != 0; then
11763 # We chose a different compiler from the bogus one.
11764 # However, it has the same basename, so the bogon will be chosen
11765 # first if we set CC to just the basename; use the full file name.
11767 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11773 if test -n "$CC"; then
11774 echo "$as_me:$LINENO: result: $CC" >&5
11775 echo "${ECHO_T}$CC" >&6
11777 echo "$as_me:$LINENO: result: no" >&5
11778 echo "${ECHO_T}no" >&6
11782 if test -z "$CC"; then
11783 if test -n "$ac_tool_prefix"; then
11786 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11787 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11788 echo "$as_me:$LINENO: checking for $ac_word" >&5
11789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11790 if test "${ac_cv_prog_CC+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11793 if test -n "$CC"; then
11794 ac_cv_prog_CC
="$CC" # Let the user override the test.
11796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11797 for as_dir
in $PATH
11800 test -z "$as_dir" && as_dir
=.
11801 for ac_exec_ext
in '' $ac_executable_extensions; do
11802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11803 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11813 if test -n "$CC"; then
11814 echo "$as_me:$LINENO: result: $CC" >&5
11815 echo "${ECHO_T}$CC" >&6
11817 echo "$as_me:$LINENO: result: no" >&5
11818 echo "${ECHO_T}no" >&6
11821 test -n "$CC" && break
11824 if test -z "$CC"; then
11828 # Extract the first word of "$ac_prog", so it can be a program name with args.
11829 set dummy
$ac_prog; ac_word
=$2
11830 echo "$as_me:$LINENO: checking for $ac_word" >&5
11831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11832 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11833 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 if test -n "$ac_ct_CC"; then
11836 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11839 for as_dir
in $PATH
11842 test -z "$as_dir" && as_dir
=.
11843 for ac_exec_ext
in '' $ac_executable_extensions; do
11844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11845 ac_cv_prog_ac_ct_CC
="$ac_prog"
11846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11854 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11855 if test -n "$ac_ct_CC"; then
11856 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11857 echo "${ECHO_T}$ac_ct_CC" >&6
11859 echo "$as_me:$LINENO: result: no" >&5
11860 echo "${ECHO_T}no" >&6
11863 test -n "$ac_ct_CC" && break
11872 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11873 See \`config.log' for more details." >&5
11874 echo "$as_me: error: no acceptable C compiler found in \$PATH
11875 See \`config.log' for more details." >&2;}
11876 { (exit 1); exit 1; }; }
11878 # Provide some information about the compiler.
11879 echo "$as_me:$LINENO:" \
11880 "checking for C compiler version" >&5
11881 ac_compiler
=`set X $ac_compile; echo $2`
11882 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11883 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); }
11887 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11888 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }
11892 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11893 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }
11898 cat >conftest.
$ac_ext <<_ACEOF
11901 cat confdefs.h
>>conftest.
$ac_ext
11902 cat >>conftest.
$ac_ext <<_ACEOF
11903 /* end confdefs.h. */
11913 ac_clean_files_save
=$ac_clean_files
11914 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11915 # Try to create an executable without -o first, disregard a.out.
11916 # It will help us diagnose broken compilers, and finding out an intuition
11918 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11919 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11920 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11921 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11922 (eval $ac_link_default) 2>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; then
11926 # Find the output, starting from the most likely. This scheme is
11927 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11930 # Be careful to initialize this variable, since it used to be cached.
11931 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11933 # b.out is created by i960 compilers.
11934 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11936 test -f "$ac_file" || continue
11938 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11941 # This is the source file.
11944 # We found the default executable, but exeext='' is most
11948 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11949 # FIXME: I believe we export ac_cv_exeext for Libtool,
11950 # but it would be cool to find out if it's true. Does anybody
11951 # maintain Libtool? --akim.
11952 export ac_cv_exeext
11959 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.
$ac_ext >&5
11962 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11963 See \`config.log' for more details." >&5
11964 echo "$as_me: error: C compiler cannot create executables
11965 See \`config.log' for more details." >&2;}
11966 { (exit 77); exit 77; }; }
11969 ac_exeext
=$ac_cv_exeext
11970 echo "$as_me:$LINENO: result: $ac_file" >&5
11971 echo "${ECHO_T}$ac_file" >&6
11973 # Check the compiler produces executables we can run. If not, either
11974 # the compiler is broken, or we cross compile.
11975 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11976 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11977 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11978 # If not cross compiling, check that we can run a simple program.
11979 if test "$cross_compiling" != yes; then
11980 if { ac_try
='./$ac_file'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11988 if test "$cross_compiling" = maybe
; then
11989 cross_compiling
=yes
11991 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11992 If you meant to cross compile, use \`--host'.
11993 See \`config.log' for more details." >&5
11994 echo "$as_me: error: cannot run C compiled programs.
11995 If you meant to cross compile, use \`--host'.
11996 See \`config.log' for more details." >&2;}
11997 { (exit 1); exit 1; }; }
12001 echo "$as_me:$LINENO: result: yes" >&5
12002 echo "${ECHO_T}yes" >&6
12004 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12005 ac_clean_files
=$ac_clean_files_save
12006 # Check the compiler produces executables we can run. If not, either
12007 # the compiler is broken, or we cross compile.
12008 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12009 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12010 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12011 echo "${ECHO_T}$cross_compiling" >&6
12013 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12014 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12016 (eval $ac_link) 2>&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; then
12020 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12021 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12022 # work properly (i.e., refer to `conftest.exe'), while it won't with
12024 for ac_file
in conftest.exe conftest conftest.
*; do
12025 test -f "$ac_file" || continue
12027 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12028 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12029 export ac_cv_exeext
12035 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12036 See \`config.log' for more details." >&5
12037 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12038 See \`config.log' for more details." >&2;}
12039 { (exit 1); exit 1; }; }
12042 rm -f conftest
$ac_cv_exeext
12043 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12044 echo "${ECHO_T}$ac_cv_exeext" >&6
12046 rm -f conftest.
$ac_ext
12047 EXEEXT
=$ac_cv_exeext
12049 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12050 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12051 if test "${ac_cv_objext+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 cat >conftest.
$ac_ext <<_ACEOF
12057 cat confdefs.h
>>conftest.
$ac_ext
12058 cat >>conftest.
$ac_ext <<_ACEOF
12059 /* end confdefs.h. */
12069 rm -f conftest.o conftest.obj
12070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12071 (eval $ac_compile) 2>&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); }; then
12075 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12077 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12078 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12083 echo "$as_me: failed program was:" >&5
12084 sed 's/^/| /' conftest.
$ac_ext >&5
12086 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12087 See \`config.log' for more details." >&5
12088 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12089 See \`config.log' for more details." >&2;}
12090 { (exit 1); exit 1; }; }
12093 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12095 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12096 echo "${ECHO_T}$ac_cv_objext" >&6
12097 OBJEXT
=$ac_cv_objext
12099 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12100 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12101 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 cat >conftest.
$ac_ext <<_ACEOF
12107 cat confdefs.h
>>conftest.
$ac_ext
12108 cat >>conftest.
$ac_ext <<_ACEOF
12109 /* end confdefs.h. */
12122 rm -f conftest.
$ac_objext
12123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12124 (eval $ac_compile) 2>conftest.er1
12126 grep -v '^ *+' conftest.er1
>conftest.err
12128 cat conftest.err
>&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); } &&
12131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12133 (eval $ac_try) 2>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; } &&
12137 { ac_try
='test -s conftest.$ac_objext'
12138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12139 (eval $ac_try) 2>&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); }; }; then
12143 ac_compiler_gnu
=yes
12145 echo "$as_me: failed program was:" >&5
12146 sed 's/^/| /' conftest.
$ac_ext >&5
12150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12151 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12154 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12155 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12156 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12157 ac_test_CFLAGS
=${CFLAGS+set}
12158 ac_save_CFLAGS
=$CFLAGS
12159 CFLAGS
="$CFLAGS -g"
12160 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12161 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12162 if test "${ac_cv_prog_cc_g+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 cat >conftest.
$ac_ext <<_ACEOF
12168 cat confdefs.h
>>conftest.
$ac_ext
12169 cat >>conftest.
$ac_ext <<_ACEOF
12170 /* end confdefs.h. */
12180 rm -f conftest.
$ac_objext
12181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12182 (eval $ac_compile) 2>conftest.er1
12184 grep -v '^ *+' conftest.er1
>conftest.err
12186 cat conftest.err
>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } &&
12189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12191 (eval $ac_try) 2>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); }; } &&
12195 { ac_try
='test -s conftest.$ac_objext'
12196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12197 (eval $ac_try) 2>&5
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); }; }; then
12201 ac_cv_prog_cc_g
=yes
12203 echo "$as_me: failed program was:" >&5
12204 sed 's/^/| /' conftest.
$ac_ext >&5
12208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12210 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12211 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12212 if test "$ac_test_CFLAGS" = set; then
12213 CFLAGS
=$ac_save_CFLAGS
12214 elif test $ac_cv_prog_cc_g = yes; then
12215 if test "$GCC" = yes; then
12221 if test "$GCC" = yes; then
12227 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12228 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12229 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12232 ac_cv_prog_cc_stdc
=no
12234 cat >conftest.
$ac_ext <<_ACEOF
12237 cat confdefs.h
>>conftest.
$ac_ext
12238 cat >>conftest.
$ac_ext <<_ACEOF
12239 /* end confdefs.h. */
12240 #include <stdarg.h>
12242 #include <sys/types.h>
12243 #include <sys/stat.h>
12244 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12245 struct buf { int x; };
12246 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12247 static char *e (p, i)
12253 static char *f (char * (*g) (char **, int), char **p, ...)
12258 s = g (p, va_arg (v,int));
12263 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12264 function prototypes and stuff, but not '\xHH' hex character constants.
12265 These don't provoke an error unfortunately, instead are silently treated
12266 as 'x'. The following induces an error, until -std1 is added to get
12267 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12268 array size at least. It's necessary to write '\x00'==0 to get something
12269 that's true only with -std1. */
12270 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12272 int test (int i, double x);
12273 struct s1 {int (*f) (int a);};
12274 struct s2 {int (*f) (double a);};
12275 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12281 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12286 # Don't try gcc -ansi; that turns off useful extensions and
12287 # breaks some systems' header files.
12288 # AIX -qlanglvl=ansi
12289 # Ultrix and OSF/1 -std1
12290 # HP-UX 10.20 and later -Ae
12291 # HP-UX older versions -Aa -D_HPUX_SOURCE
12292 # SVR4 -Xc -D__EXTENSIONS__
12293 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12295 CC
="$ac_save_CC $ac_arg"
12296 rm -f conftest.
$ac_objext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12298 (eval $ac_compile) 2>conftest.er1
12300 grep -v '^ *+' conftest.er1
>conftest.err
12302 cat conftest.err
>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
12305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 (eval $ac_try) 2>&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }; } &&
12311 { ac_try
='test -s conftest.$ac_objext'
12312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313 (eval $ac_try) 2>&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; }; then
12317 ac_cv_prog_cc_stdc
=$ac_arg
12320 echo "$as_me: failed program was:" >&5
12321 sed 's/^/| /' conftest.
$ac_ext >&5
12324 rm -f conftest.err conftest.
$ac_objext
12326 rm -f conftest.
$ac_ext conftest.
$ac_objext
12331 case "x$ac_cv_prog_cc_stdc" in
12333 echo "$as_me:$LINENO: result: none needed" >&5
12334 echo "${ECHO_T}none needed" >&6 ;;
12336 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12337 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12338 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12341 # Some people use a C++ compiler to compile C. Since we use `exit',
12342 # in C++ we need to declare it. In case someone uses the same compiler
12343 # for both compiling C and C++ we need to have the C++ compiler decide
12344 # the declaration of exit, since it's the most demanding environment.
12345 cat >conftest.
$ac_ext <<_ACEOF
12346 #ifndef __cplusplus
12350 rm -f conftest.
$ac_objext
12351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12352 (eval $ac_compile) 2>conftest.er1
12354 grep -v '^ *+' conftest.er1
>conftest.err
12356 cat conftest.err
>&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; } &&
12365 { ac_try
='test -s conftest.$ac_objext'
12366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; }; then
12371 for ac_declaration
in \
12373 'extern "C" void std::exit (int) throw (); using std::exit;' \
12374 'extern "C" void std::exit (int); using std::exit;' \
12375 'extern "C" void exit (int) throw ();' \
12376 'extern "C" void exit (int);' \
12379 cat >conftest.
$ac_ext <<_ACEOF
12382 cat confdefs.h
>>conftest.
$ac_ext
12383 cat >>conftest.
$ac_ext <<_ACEOF
12384 /* end confdefs.h. */
12386 #include <stdlib.h>
12395 rm -f conftest.
$ac_objext
12396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12397 (eval $ac_compile) 2>conftest.er1
12399 grep -v '^ *+' conftest.er1
>conftest.err
12401 cat conftest.err
>&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); } &&
12404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; } &&
12410 { ac_try
='test -s conftest.$ac_objext'
12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12412 (eval $ac_try) 2>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; }; then
12418 echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.
$ac_ext >&5
12423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12424 cat >conftest.
$ac_ext <<_ACEOF
12427 cat confdefs.h
>>conftest.
$ac_ext
12428 cat >>conftest.
$ac_ext <<_ACEOF
12429 /* end confdefs.h. */
12439 rm -f conftest.
$ac_objext
12440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12441 (eval $ac_compile) 2>conftest.er1
12443 grep -v '^ *+' conftest.er1
>conftest.err
12445 cat conftest.err
>&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); } &&
12448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12450 (eval $ac_try) 2>&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); }; } &&
12454 { ac_try
='test -s conftest.$ac_objext'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; }; then
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.
$ac_ext >&5
12466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12469 if test -n "$ac_declaration"; then
12470 echo '#ifdef __cplusplus' >>confdefs.h
12471 echo $ac_declaration >>confdefs.h
12472 echo '#endif' >>confdefs.h
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.
$ac_ext >&5
12480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12482 ac_cpp
='$CPP $CPPFLAGS'
12483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12490 ac_cpp
='$CPP $CPPFLAGS'
12491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12495 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12496 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12497 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12498 echo $ECHO_N "(cached) $ECHO_C" >&6
12500 cat >conftest.
$ac_ext <<_ACEOF
12503 cat confdefs.h
>>conftest.
$ac_ext
12504 cat >>conftest.
$ac_ext <<_ACEOF
12505 /* end confdefs.h. */
12511 #ifndef __INTEL_COMPILER
12519 rm -f conftest.
$ac_objext
12520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12521 (eval $ac_compile) 2>conftest.er1
12523 grep -v '^ *+' conftest.er1
>conftest.err
12525 cat conftest.err
>&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } &&
12528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; } &&
12534 { ac_try
='test -s conftest.$ac_objext'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; }; then
12540 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12542 echo "$as_me: failed program was:" >&5
12543 sed 's/^/| /' conftest.
$ac_ext >&5
12545 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12552 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12553 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12555 ac_cpp
='$CPP $CPPFLAGS'
12556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12560 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12567 if test "x$GCC" != "xyes"; then
12568 if test "xCC" = "xC"; then
12569 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12570 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12571 if test "${bakefile_cv_c_exto+set}" = set; then
12572 echo $ECHO_N "(cached) $ECHO_C" >&6
12574 cat >conftest.
$ac_ext <<_ACEOF
12577 cat confdefs.h
>>conftest.
$ac_ext
12578 cat >>conftest.
$ac_ext <<_ACEOF
12579 /* end confdefs.h. */
12589 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12591 (eval $ac_compile) 2>&5
12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 (exit $ac_status); }; then
12595 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12597 conftest.
$ac_ext.o
)
12598 bakefile_cv_c_exto
="-ext o"
12605 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12606 See \`config.log' for more details." >&5
12607 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12608 See \`config.log' for more details." >&2;}
12609 { (exit 1); exit 1; }; }
12613 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12616 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12617 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12618 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12619 if test "c" = "c"; then
12620 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12622 if test "c" = "cxx"; then
12623 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12627 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12628 unset ac_cv_prog_cc_g
12629 ac_test_CFLAGS
=${CFLAGS+set}
12630 ac_save_CFLAGS
=$CFLAGS
12631 CFLAGS
="$CFLAGS -g"
12632 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12633 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12634 if test "${ac_cv_prog_cc_g+set}" = set; then
12635 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 cat >conftest.
$ac_ext <<_ACEOF
12640 cat confdefs.h
>>conftest.
$ac_ext
12641 cat >>conftest.
$ac_ext <<_ACEOF
12642 /* end confdefs.h. */
12652 rm -f conftest.
$ac_objext
12653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12654 (eval $ac_compile) 2>conftest.er1
12656 grep -v '^ *+' conftest.er1
>conftest.err
12658 cat conftest.err
>&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); } &&
12661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; } &&
12667 { ac_try
='test -s conftest.$ac_objext'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; }; then
12673 ac_cv_prog_cc_g
=yes
12675 echo "$as_me: failed program was:" >&5
12676 sed 's/^/| /' conftest.
$ac_ext >&5
12680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12682 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12683 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12684 if test "$ac_test_CFLAGS" = set; then
12685 CFLAGS
=$ac_save_CFLAGS
12686 elif test $ac_cv_prog_cc_g = yes; then
12687 if test "$GCC" = yes; then
12693 if test "$GCC" = yes; then
12705 ac_cpp
='$CPP $CPPFLAGS'
12706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12710 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12711 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12712 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12713 echo $ECHO_N "(cached) $ECHO_C" >&6
12715 cat >conftest.
$ac_ext <<_ACEOF
12718 cat confdefs.h
>>conftest.
$ac_ext
12719 cat >>conftest.
$ac_ext <<_ACEOF
12720 /* end confdefs.h. */
12733 rm -f conftest.
$ac_objext
12734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12735 (eval $ac_compile) 2>conftest.er1
12737 grep -v '^ *+' conftest.er1
>conftest.err
12739 cat conftest.err
>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); } &&
12742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; } &&
12748 { ac_try
='test -s conftest.$ac_objext'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; }; then
12754 bakefile_compiler_xlc
=yes
12756 echo "$as_me: failed program was:" >&5
12757 sed 's/^/| /' conftest.
$ac_ext >&5
12759 bakefile_compiler_xlc
=no
12761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12762 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12765 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12766 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12768 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12770 ac_cpp
='$CPP $CPPFLAGS'
12771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12780 ac_cpp
='$CPP $CPPFLAGS'
12781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12785 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12786 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12787 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12790 cat >conftest.
$ac_ext <<_ACEOF
12793 cat confdefs.h
>>conftest.
$ac_ext
12794 cat >>conftest.
$ac_ext <<_ACEOF
12795 /* end confdefs.h. */
12808 rm -f conftest.
$ac_objext
12809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12810 (eval $ac_compile) 2>conftest.er1
12812 grep -v '^ *+' conftest.er1
>conftest.err
12814 cat conftest.err
>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); } &&
12817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819 (eval $ac_try) 2>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); }; } &&
12823 { ac_try
='test -s conftest.$ac_objext'
12824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825 (eval $ac_try) 2>&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); }; }; then
12829 bakefile_compiler_mwerks
=yes
12831 echo "$as_me: failed program was:" >&5
12832 sed 's/^/| /' conftest.
$ac_ext >&5
12834 bakefile_compiler_mwerks
=no
12836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12837 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12840 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12841 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12843 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12845 ac_cpp
='$CPP $CPPFLAGS'
12846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12852 ac_cpp
='$CPP $CPPFLAGS'
12853 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12854 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12855 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12857 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12858 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12859 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12860 echo $ECHO_N "(cached) $ECHO_C" >&6
12862 cat >conftest.
$ac_ext <<_ACEOF
12865 cat confdefs.h
>>conftest.
$ac_ext
12866 cat >>conftest.
$ac_ext <<_ACEOF
12867 /* end confdefs.h. */
12880 rm -f conftest.
$ac_objext
12881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12882 (eval $ac_compile) 2>conftest.er1
12884 grep -v '^ *+' conftest.er1
>conftest.err
12886 cat conftest.err
>&5
12887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888 (exit $ac_status); } &&
12889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12891 (eval $ac_try) 2>&5
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); }; } &&
12895 { ac_try
='test -s conftest.$ac_objext'
12896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12897 (eval $ac_try) 2>&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); }; }; then
12901 bakefile_compiler_xlc
=yes
12903 echo "$as_me: failed program was:" >&5
12904 sed 's/^/| /' conftest.
$ac_ext >&5
12906 bakefile_compiler_xlc
=no
12908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12909 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12912 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12913 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12915 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12917 ac_cpp
='$CPP $CPPFLAGS'
12918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12929 ac_cpp
='$CPP $CPPFLAGS'
12930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12934 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12935 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12936 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 cat >conftest.
$ac_ext <<_ACEOF
12942 cat confdefs.h
>>conftest.
$ac_ext
12943 cat >>conftest.
$ac_ext <<_ACEOF
12944 /* end confdefs.h. */
12950 #ifndef _SGI_COMPILER_VERSION
12958 rm -f conftest.
$ac_objext
12959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12960 (eval $ac_compile) 2>conftest.er1
12962 grep -v '^ *+' conftest.er1
>conftest.err
12964 cat conftest.err
>&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); } &&
12967 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; } &&
12973 { ac_try
='test -s conftest.$ac_objext'
12974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975 (eval $ac_try) 2>&5
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); }; }; then
12979 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12981 echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.
$ac_ext >&5
12984 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12991 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12992 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12994 ac_cpp
='$CPP $CPPFLAGS'
12995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12999 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13012 ac_cpp
='$CPP $CPPFLAGS'
13013 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13014 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13017 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13018 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13019 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 cat >conftest.
$ac_ext <<_ACEOF
13025 cat confdefs.h
>>conftest.
$ac_ext
13026 cat >>conftest.
$ac_ext <<_ACEOF
13027 /* end confdefs.h. */
13041 rm -f conftest.
$ac_objext
13042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13043 (eval $ac_compile) 2>conftest.er1
13045 grep -v '^ *+' conftest.er1
>conftest.err
13047 cat conftest.err
>&5
13048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13049 (exit $ac_status); } &&
13050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13052 (eval $ac_try) 2>&5
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); }; } &&
13056 { ac_try
='test -s conftest.$ac_objext'
13057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13058 (eval $ac_try) 2>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); }; }; then
13062 bakefile_cv_c_compiler___HP_cc
=yes
13064 echo "$as_me: failed program was:" >&5
13065 sed 's/^/| /' conftest.
$ac_ext >&5
13067 bakefile_cv_c_compiler___HP_cc
=no
13070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13074 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13075 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13077 ac_cpp
='$CPP $CPPFLAGS'
13078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13082 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13095 ac_cpp
='$CPP $CPPFLAGS'
13096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13100 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13101 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13102 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13105 cat >conftest.
$ac_ext <<_ACEOF
13108 cat confdefs.h
>>conftest.
$ac_ext
13109 cat >>conftest.
$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13124 rm -f conftest.
$ac_objext
13125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13126 (eval $ac_compile) 2>conftest.er1
13128 grep -v '^ *+' conftest.er1
>conftest.err
13130 cat conftest.err
>&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); } &&
13133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13135 (eval $ac_try) 2>&5
13137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138 (exit $ac_status); }; } &&
13139 { ac_try
='test -s conftest.$ac_objext'
13140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13141 (eval $ac_try) 2>&5
13143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13144 (exit $ac_status); }; }; then
13145 bakefile_cv_c_compiler___DECC
=yes
13147 echo "$as_me: failed program was:" >&5
13148 sed 's/^/| /' conftest.
$ac_ext >&5
13150 bakefile_cv_c_compiler___DECC
=no
13153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13157 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13158 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13160 ac_cpp
='$CPP $CPPFLAGS'
13161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13165 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13178 ac_cpp
='$CPP $CPPFLAGS'
13179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13183 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13184 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13185 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 cat >conftest.
$ac_ext <<_ACEOF
13191 cat confdefs.h
>>conftest.
$ac_ext
13192 cat >>conftest.
$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13207 rm -f conftest.
$ac_objext
13208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13209 (eval $ac_compile) 2>conftest.er1
13211 grep -v '^ *+' conftest.er1
>conftest.err
13213 cat conftest.err
>&5
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); } &&
13216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13218 (eval $ac_try) 2>&5
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); }; } &&
13222 { ac_try
='test -s conftest.$ac_objext'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; }; then
13228 bakefile_cv_c_compiler___SUNPRO_C
=yes
13230 echo "$as_me: failed program was:" >&5
13231 sed 's/^/| /' conftest.
$ac_ext >&5
13233 bakefile_cv_c_compiler___SUNPRO_C
=no
13236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13240 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13241 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13243 ac_cpp
='$CPP $CPPFLAGS'
13244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13248 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13262 ac_cpp
='$CPP $CPPFLAGS'
13263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13266 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13267 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13268 # On Suns, sometimes $CPP names a directory.
13269 if test -n "$CPP" && test -d "$CPP"; then
13272 if test -z "$CPP"; then
13273 if test "${ac_cv_prog_CPP+set}" = set; then
13274 echo $ECHO_N "(cached) $ECHO_C" >&6
13276 # Double quotes because CPP needs to be expanded
13277 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13279 ac_preproc_ok
=false
13280 for ac_c_preproc_warn_flag
in '' yes
13282 # Use a header file that comes with gcc, so configuring glibc
13283 # with a fresh cross-compiler works.
13284 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13285 # <limits.h> exists even on freestanding compilers.
13286 # On the NeXT, cc -E runs the code through the compiler's parser,
13287 # not just through cpp. "Syntax error" is here to catch this case.
13288 cat >conftest.
$ac_ext <<_ACEOF
13291 cat confdefs.h
>>conftest.
$ac_ext
13292 cat >>conftest.
$ac_ext <<_ACEOF
13293 /* end confdefs.h. */
13295 # include <limits.h>
13297 # include <assert.h>
13301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13304 grep -v '^ *+' conftest.er1
>conftest.err
13306 cat conftest.err
>&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } >/dev
/null
; then
13309 if test -s conftest.err
; then
13310 ac_cpp_err
=$ac_c_preproc_warn_flag
13311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13318 if test -z "$ac_cpp_err"; then
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.
$ac_ext >&5
13324 # Broken: fails on valid input.
13327 rm -f conftest.err conftest.
$ac_ext
13329 # OK, works on sane cases. Now check whether non-existent headers
13330 # can be detected and how.
13331 cat >conftest.
$ac_ext <<_ACEOF
13334 cat confdefs.h
>>conftest.
$ac_ext
13335 cat >>conftest.
$ac_ext <<_ACEOF
13336 /* end confdefs.h. */
13337 #include <ac_nonexistent.h>
13339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13340 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13342 grep -v '^ *+' conftest.er1
>conftest.err
13344 cat conftest.err
>&5
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13346 (exit $ac_status); } >/dev
/null
; then
13347 if test -s conftest.err
; then
13348 ac_cpp_err
=$ac_c_preproc_warn_flag
13349 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13356 if test -z "$ac_cpp_err"; then
13357 # Broken: success on invalid input.
13360 echo "$as_me: failed program was:" >&5
13361 sed 's/^/| /' conftest.
$ac_ext >&5
13363 # Passes both tests.
13367 rm -f conftest.err conftest.
$ac_ext
13370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13371 rm -f conftest.err conftest.
$ac_ext
13372 if $ac_preproc_ok; then
13377 ac_cv_prog_CPP
=$CPP
13380 CPP
=$ac_cv_prog_CPP
13382 ac_cv_prog_CPP
=$CPP
13384 echo "$as_me:$LINENO: result: $CPP" >&5
13385 echo "${ECHO_T}$CPP" >&6
13386 ac_preproc_ok
=false
13387 for ac_c_preproc_warn_flag
in '' yes
13389 # Use a header file that comes with gcc, so configuring glibc
13390 # with a fresh cross-compiler works.
13391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13392 # <limits.h> exists even on freestanding compilers.
13393 # On the NeXT, cc -E runs the code through the compiler's parser,
13394 # not just through cpp. "Syntax error" is here to catch this case.
13395 cat >conftest.
$ac_ext <<_ACEOF
13398 cat confdefs.h
>>conftest.
$ac_ext
13399 cat >>conftest.
$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13402 # include <limits.h>
13404 # include <assert.h>
13408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13409 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13411 grep -v '^ *+' conftest.er1
>conftest.err
13413 cat conftest.err
>&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } >/dev
/null
; then
13416 if test -s conftest.err
; then
13417 ac_cpp_err
=$ac_c_preproc_warn_flag
13418 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13425 if test -z "$ac_cpp_err"; then
13428 echo "$as_me: failed program was:" >&5
13429 sed 's/^/| /' conftest.
$ac_ext >&5
13431 # Broken: fails on valid input.
13434 rm -f conftest.err conftest.
$ac_ext
13436 # OK, works on sane cases. Now check whether non-existent headers
13437 # can be detected and how.
13438 cat >conftest.
$ac_ext <<_ACEOF
13441 cat confdefs.h
>>conftest.
$ac_ext
13442 cat >>conftest.
$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13444 #include <ac_nonexistent.h>
13446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13447 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
13454 if test -s conftest.err
; then
13455 ac_cpp_err
=$ac_c_preproc_warn_flag
13456 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13463 if test -z "$ac_cpp_err"; then
13464 # Broken: success on invalid input.
13467 echo "$as_me: failed program was:" >&5
13468 sed 's/^/| /' conftest.
$ac_ext >&5
13470 # Passes both tests.
13474 rm -f conftest.err conftest.
$ac_ext
13477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13478 rm -f conftest.err conftest.
$ac_ext
13479 if $ac_preproc_ok; then
13482 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13483 See \`config.log' for more details." >&5
13484 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13485 See \`config.log' for more details." >&2;}
13486 { (exit 1); exit 1; }; }
13490 ac_cpp
='$CPP $CPPFLAGS'
13491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13496 echo "$as_me:$LINENO: checking for egrep" >&5
13497 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13498 if test "${ac_cv_prog_egrep+set}" = set; then
13499 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13502 then ac_cv_prog_egrep
='grep -E'
13503 else ac_cv_prog_egrep
='egrep'
13506 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13507 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13508 EGREP
=$ac_cv_prog_egrep
13511 if test $ac_cv_c_compiler_gnu = yes; then
13512 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13513 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13514 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13515 echo $ECHO_N "(cached) $ECHO_C" >&6
13517 ac_pattern
="Autoconf.*'x'"
13518 cat >conftest.
$ac_ext <<_ACEOF
13521 cat confdefs.h
>>conftest.
$ac_ext
13522 cat >>conftest.
$ac_ext <<_ACEOF
13523 /* end confdefs.h. */
13527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13528 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13529 ac_cv_prog_gcc_traditional
=yes
13531 ac_cv_prog_gcc_traditional
=no
13536 if test $ac_cv_prog_gcc_traditional = no
; then
13537 cat >conftest.
$ac_ext <<_ACEOF
13540 cat confdefs.h
>>conftest.
$ac_ext
13541 cat >>conftest.
$ac_ext <<_ACEOF
13542 /* end confdefs.h. */
13543 #include <termio.h>
13546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13547 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13548 ac_cv_prog_gcc_traditional
=yes
13554 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13555 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13556 if test $ac_cv_prog_gcc_traditional = yes; then
13557 CC
="$CC -traditional"
13563 ac_cpp
='$CXXCPP $CPPFLAGS'
13564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13569 CXXFLAGS
=${CXXFLAGS:=}
13574 ac_cpp
='$CXXCPP $CPPFLAGS'
13575 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13576 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13577 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13578 if test -n "$ac_tool_prefix"; then
13579 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13581 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13582 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13583 echo "$as_me:$LINENO: checking for $ac_word" >&5
13584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13585 if test "${ac_cv_prog_CXX+set}" = set; then
13586 echo $ECHO_N "(cached) $ECHO_C" >&6
13588 if test -n "$CXX"; then
13589 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13592 for as_dir
in $PATH
13595 test -z "$as_dir" && as_dir
=.
13596 for ac_exec_ext
in '' $ac_executable_extensions; do
13597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13598 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13607 CXX
=$ac_cv_prog_CXX
13608 if test -n "$CXX"; then
13609 echo "$as_me:$LINENO: result: $CXX" >&5
13610 echo "${ECHO_T}$CXX" >&6
13612 echo "$as_me:$LINENO: result: no" >&5
13613 echo "${ECHO_T}no" >&6
13616 test -n "$CXX" && break
13619 if test -z "$CXX"; then
13621 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13623 # Extract the first word of "$ac_prog", so it can be a program name with args.
13624 set dummy
$ac_prog; ac_word
=$2
13625 echo "$as_me:$LINENO: checking for $ac_word" >&5
13626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13627 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13628 echo $ECHO_N "(cached) $ECHO_C" >&6
13630 if test -n "$ac_ct_CXX"; then
13631 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13634 for as_dir
in $PATH
13637 test -z "$as_dir" && as_dir
=.
13638 for ac_exec_ext
in '' $ac_executable_extensions; do
13639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13640 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13649 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13650 if test -n "$ac_ct_CXX"; then
13651 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13652 echo "${ECHO_T}$ac_ct_CXX" >&6
13654 echo "$as_me:$LINENO: result: no" >&5
13655 echo "${ECHO_T}no" >&6
13658 test -n "$ac_ct_CXX" && break
13660 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13666 # Provide some information about the compiler.
13667 echo "$as_me:$LINENO:" \
13668 "checking for C++ compiler version" >&5
13669 ac_compiler
=`set X $ac_compile; echo $2`
13670 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13671 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }
13675 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13676 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); }
13680 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13681 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); }
13686 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13687 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13688 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13689 echo $ECHO_N "(cached) $ECHO_C" >&6
13691 cat >conftest.
$ac_ext <<_ACEOF
13694 cat confdefs.h
>>conftest.
$ac_ext
13695 cat >>conftest.
$ac_ext <<_ACEOF
13696 /* end confdefs.h. */
13709 rm -f conftest.
$ac_objext
13710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13711 (eval $ac_compile) 2>conftest.er1
13713 grep -v '^ *+' conftest.er1
>conftest.err
13715 cat conftest.err
>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); } &&
13718 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; } &&
13724 { ac_try
='test -s conftest.$ac_objext'
13725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726 (eval $ac_try) 2>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; }; then
13730 ac_compiler_gnu
=yes
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.
$ac_ext >&5
13737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13738 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13741 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13742 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13743 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13744 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13745 ac_save_CXXFLAGS
=$CXXFLAGS
13747 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13748 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13749 if test "${ac_cv_prog_cxx_g+set}" = set; then
13750 echo $ECHO_N "(cached) $ECHO_C" >&6
13752 cat >conftest.
$ac_ext <<_ACEOF
13755 cat confdefs.h
>>conftest.
$ac_ext
13756 cat >>conftest.
$ac_ext <<_ACEOF
13757 /* end confdefs.h. */
13767 rm -f conftest.
$ac_objext
13768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13769 (eval $ac_compile) 2>conftest.er1
13771 grep -v '^ *+' conftest.er1
>conftest.err
13773 cat conftest.err
>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); } &&
13776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; } &&
13782 { ac_try
='test -s conftest.$ac_objext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_cv_prog_cxx_g
=yes
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.
$ac_ext >&5
13793 ac_cv_prog_cxx_g
=no
13795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13797 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13798 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13799 if test "$ac_test_CXXFLAGS" = set; then
13800 CXXFLAGS
=$ac_save_CXXFLAGS
13801 elif test $ac_cv_prog_cxx_g = yes; then
13802 if test "$GXX" = yes; then
13803 CXXFLAGS
="$CXXFLAGS -g -O2"
13805 CXXFLAGS
="$CXXFLAGS -g"
13808 if test "$GXX" = yes; then
13814 for ac_declaration
in \
13816 'extern "C" void std::exit (int) throw (); using std::exit;' \
13817 'extern "C" void std::exit (int); using std::exit;' \
13818 'extern "C" void exit (int) throw ();' \
13819 'extern "C" void exit (int);' \
13822 cat >conftest.
$ac_ext <<_ACEOF
13825 cat confdefs.h
>>conftest.
$ac_ext
13826 cat >>conftest.
$ac_ext <<_ACEOF
13827 /* end confdefs.h. */
13829 #include <stdlib.h>
13838 rm -f conftest.
$ac_objext
13839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13840 (eval $ac_compile) 2>conftest.er1
13842 grep -v '^ *+' conftest.er1
>conftest.err
13844 cat conftest.err
>&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); } &&
13847 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13849 (eval $ac_try) 2>&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); }; } &&
13853 { ac_try
='test -s conftest.$ac_objext'
13854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13855 (eval $ac_try) 2>&5
13857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858 (exit $ac_status); }; }; then
13861 echo "$as_me: failed program was:" >&5
13862 sed 's/^/| /' conftest.
$ac_ext >&5
13866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13867 cat >conftest.
$ac_ext <<_ACEOF
13870 cat confdefs.h
>>conftest.
$ac_ext
13871 cat >>conftest.
$ac_ext <<_ACEOF
13872 /* end confdefs.h. */
13882 rm -f conftest.
$ac_objext
13883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13884 (eval $ac_compile) 2>conftest.er1
13886 grep -v '^ *+' conftest.er1
>conftest.err
13888 cat conftest.err
>&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); } &&
13891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13893 (eval $ac_try) 2>&5
13895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896 (exit $ac_status); }; } &&
13897 { ac_try
='test -s conftest.$ac_objext'
13898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13899 (eval $ac_try) 2>&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); }; }; then
13905 echo "$as_me: failed program was:" >&5
13906 sed 's/^/| /' conftest.
$ac_ext >&5
13909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13912 if test -n "$ac_declaration"; then
13913 echo '#ifdef __cplusplus' >>confdefs.h
13914 echo $ac_declaration >>confdefs.h
13915 echo '#endif' >>confdefs.h
13919 ac_cpp
='$CXXCPP $CPPFLAGS'
13920 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13921 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13922 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13927 ac_cpp
='$CXXCPP $CPPFLAGS'
13928 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13929 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13930 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13932 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13933 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13934 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13935 echo $ECHO_N "(cached) $ECHO_C" >&6
13937 cat >conftest.
$ac_ext <<_ACEOF
13940 cat confdefs.h
>>conftest.
$ac_ext
13941 cat >>conftest.
$ac_ext <<_ACEOF
13942 /* end confdefs.h. */
13948 #ifndef __INTEL_COMPILER
13956 rm -f conftest.
$ac_objext
13957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13958 (eval $ac_compile) 2>conftest.er1
13960 grep -v '^ *+' conftest.er1
>conftest.err
13962 cat conftest.err
>&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } &&
13965 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967 (eval $ac_try) 2>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }; } &&
13971 { ac_try
='test -s conftest.$ac_objext'
13972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13973 (eval $ac_try) 2>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }; }; then
13977 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.
$ac_ext >&5
13982 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13989 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13990 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13992 ac_cpp
='$CXXCPP $CPPFLAGS'
13993 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13994 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13995 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13997 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14004 if test "x$GCXX" != "xyes"; then
14005 if test "xCXX" = "xC"; then
14006 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14007 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14008 if test "${bakefile_cv_cxx_exto+set}" = set; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14011 cat >conftest.
$ac_ext <<_ACEOF
14014 cat confdefs.h
>>conftest.
$ac_ext
14015 cat >>conftest.
$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14026 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14028 (eval $ac_compile) 2>&5
14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031 (exit $ac_status); }; then
14032 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14034 conftest.
$ac_ext.o
)
14035 bakefile_cv_cxx_exto
="-ext o"
14042 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14043 See \`config.log' for more details." >&5
14044 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14045 See \`config.log' for more details." >&2;}
14046 { (exit 1); exit 1; }; }
14050 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14053 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14054 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14055 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14056 if test "cxx" = "c"; then
14057 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14059 if test "cxx" = "cxx"; then
14060 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14064 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14065 unset ac_cv_prog_cc_g
14066 ac_test_CFLAGS
=${CFLAGS+set}
14067 ac_save_CFLAGS
=$CFLAGS
14068 CFLAGS
="$CFLAGS -g"
14069 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14070 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14071 if test "${ac_cv_prog_cc_g+set}" = set; then
14072 echo $ECHO_N "(cached) $ECHO_C" >&6
14074 cat >conftest.
$ac_ext <<_ACEOF
14077 cat confdefs.h
>>conftest.
$ac_ext
14078 cat >>conftest.
$ac_ext <<_ACEOF
14079 /* end confdefs.h. */
14089 rm -f conftest.
$ac_objext
14090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14091 (eval $ac_compile) 2>conftest.er1
14093 grep -v '^ *+' conftest.er1
>conftest.err
14095 cat conftest.err
>&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); } &&
14098 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14100 (eval $ac_try) 2>&5
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); }; } &&
14104 { ac_try
='test -s conftest.$ac_objext'
14105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14106 (eval $ac_try) 2>&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); }; }; then
14110 ac_cv_prog_cc_g
=yes
14112 echo "$as_me: failed program was:" >&5
14113 sed 's/^/| /' conftest.
$ac_ext >&5
14117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14119 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14120 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14121 if test "$ac_test_CFLAGS" = set; then
14122 CFLAGS
=$ac_save_CFLAGS
14123 elif test $ac_cv_prog_cc_g = yes; then
14124 if test "$GCC" = yes; then
14130 if test "$GCC" = yes; then
14142 ac_cpp
='$CXXCPP $CPPFLAGS'
14143 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14144 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14145 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14147 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14148 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14149 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 cat >conftest.
$ac_ext <<_ACEOF
14155 cat confdefs.h
>>conftest.
$ac_ext
14156 cat >>conftest.
$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14170 rm -f conftest.
$ac_objext
14171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14172 (eval $ac_compile) 2>conftest.er1
14174 grep -v '^ *+' conftest.er1
>conftest.err
14176 cat conftest.err
>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
14185 { ac_try
='test -s conftest.$ac_objext'
14186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; }; then
14191 bakefile_compiler_xlc
=yes
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.
$ac_ext >&5
14196 bakefile_compiler_xlc
=no
14198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14199 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14202 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14203 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14205 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14207 ac_cpp
='$CXXCPP $CPPFLAGS'
14208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14217 ac_cpp
='$CXXCPP $CPPFLAGS'
14218 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14219 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14220 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14222 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14223 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14224 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14225 echo $ECHO_N "(cached) $ECHO_C" >&6
14227 cat >conftest.
$ac_ext <<_ACEOF
14230 cat confdefs.h
>>conftest.
$ac_ext
14231 cat >>conftest.
$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14245 rm -f conftest.
$ac_objext
14246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14247 (eval $ac_compile) 2>conftest.er1
14249 grep -v '^ *+' conftest.er1
>conftest.err
14251 cat conftest.err
>&5
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); } &&
14254 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14256 (eval $ac_try) 2>&5
14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 (exit $ac_status); }; } &&
14260 { ac_try
='test -s conftest.$ac_objext'
14261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262 (eval $ac_try) 2>&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); }; }; then
14266 bakefile_compiler_mwerks
=yes
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.
$ac_ext >&5
14271 bakefile_compiler_mwerks
=no
14273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14274 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14277 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14278 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14280 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14282 ac_cpp
='$CXXCPP $CPPFLAGS'
14283 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14284 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14285 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14289 ac_cpp
='$CXXCPP $CPPFLAGS'
14290 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14291 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14292 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14294 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14295 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14296 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14299 cat >conftest.
$ac_ext <<_ACEOF
14302 cat confdefs.h
>>conftest.
$ac_ext
14303 cat >>conftest.
$ac_ext <<_ACEOF
14304 /* end confdefs.h. */
14317 rm -f conftest.
$ac_objext
14318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14319 (eval $ac_compile) 2>conftest.er1
14321 grep -v '^ *+' conftest.er1
>conftest.err
14323 cat conftest.err
>&5
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); } &&
14326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14328 (eval $ac_try) 2>&5
14330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14331 (exit $ac_status); }; } &&
14332 { ac_try
='test -s conftest.$ac_objext'
14333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14334 (eval $ac_try) 2>&5
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); }; }; then
14338 bakefile_compiler_xlc
=yes
14340 echo "$as_me: failed program was:" >&5
14341 sed 's/^/| /' conftest.
$ac_ext >&5
14343 bakefile_compiler_xlc
=no
14345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14346 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14349 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14350 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14352 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14354 ac_cpp
='$CXXCPP $CPPFLAGS'
14355 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14356 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14357 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14366 ac_cpp
='$CXXCPP $CPPFLAGS'
14367 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14368 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14369 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14371 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14372 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14373 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14374 echo $ECHO_N "(cached) $ECHO_C" >&6
14376 cat >conftest.
$ac_ext <<_ACEOF
14379 cat confdefs.h
>>conftest.
$ac_ext
14380 cat >>conftest.
$ac_ext <<_ACEOF
14381 /* end confdefs.h. */
14387 #ifndef _SGI_COMPILER_VERSION
14395 rm -f conftest.
$ac_objext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14397 (eval $ac_compile) 2>conftest.er1
14399 grep -v '^ *+' conftest.er1
>conftest.err
14401 cat conftest.err
>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } &&
14404 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; } &&
14410 { ac_try
='test -s conftest.$ac_objext'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; }; then
14416 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14418 echo "$as_me: failed program was:" >&5
14419 sed 's/^/| /' conftest.
$ac_ext >&5
14421 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14428 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14429 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14431 ac_cpp
='$CXXCPP $CPPFLAGS'
14432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14436 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14449 ac_cpp
='$CXXCPP $CPPFLAGS'
14450 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14451 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14452 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14454 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14455 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14456 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14457 echo $ECHO_N "(cached) $ECHO_C" >&6
14459 cat >conftest.
$ac_ext <<_ACEOF
14462 cat confdefs.h
>>conftest.
$ac_ext
14463 cat >>conftest.
$ac_ext <<_ACEOF
14464 /* end confdefs.h. */
14478 rm -f conftest.
$ac_objext
14479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14480 (eval $ac_compile) 2>conftest.er1
14482 grep -v '^ *+' conftest.er1
>conftest.err
14484 cat conftest.err
>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); } &&
14487 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; } &&
14493 { ac_try
='test -s conftest.$ac_objext'
14494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14495 (eval $ac_try) 2>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); }; }; then
14499 bakefile_cv_cxx_compiler___HP_aCC
=yes
14501 echo "$as_me: failed program was:" >&5
14502 sed 's/^/| /' conftest.
$ac_ext >&5
14504 bakefile_cv_cxx_compiler___HP_aCC
=no
14507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14511 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14512 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14514 ac_cpp
='$CXXCPP $CPPFLAGS'
14515 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14516 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14517 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14519 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14532 ac_cpp
='$CXXCPP $CPPFLAGS'
14533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14537 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14538 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14539 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14542 cat >conftest.
$ac_ext <<_ACEOF
14545 cat confdefs.h
>>conftest.
$ac_ext
14546 cat >>conftest.
$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14561 rm -f conftest.
$ac_objext
14562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14563 (eval $ac_compile) 2>conftest.er1
14565 grep -v '^ *+' conftest.er1
>conftest.err
14567 cat conftest.err
>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } &&
14570 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14572 (eval $ac_try) 2>&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; } &&
14576 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14582 bakefile_cv_cxx_compiler___DECCXX
=yes
14584 echo "$as_me: failed program was:" >&5
14585 sed 's/^/| /' conftest.
$ac_ext >&5
14587 bakefile_cv_cxx_compiler___DECCXX
=no
14590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14594 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14595 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14597 ac_cpp
='$CXXCPP $CPPFLAGS'
14598 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14599 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14600 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14602 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14615 ac_cpp
='$CXXCPP $CPPFLAGS'
14616 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14617 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14618 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14620 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14621 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14622 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14623 echo $ECHO_N "(cached) $ECHO_C" >&6
14625 cat >conftest.
$ac_ext <<_ACEOF
14628 cat confdefs.h
>>conftest.
$ac_ext
14629 cat >>conftest.
$ac_ext <<_ACEOF
14630 /* end confdefs.h. */
14636 #ifndef __SUNPRO_CC
14644 rm -f conftest.
$ac_objext
14645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14646 (eval $ac_compile) 2>conftest.er1
14648 grep -v '^ *+' conftest.er1
>conftest.err
14650 cat conftest.err
>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } &&
14653 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; } &&
14659 { ac_try
='test -s conftest.$ac_objext'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14665 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.
$ac_ext >&5
14670 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14677 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14678 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14680 ac_cpp
='$CXXCPP $CPPFLAGS'
14681 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14682 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14683 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14685 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14698 if test -n "$ac_tool_prefix"; then
14699 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14700 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14701 echo "$as_me:$LINENO: checking for $ac_word" >&5
14702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14703 if test "${ac_cv_prog_RANLIB+set}" = set; then
14704 echo $ECHO_N "(cached) $ECHO_C" >&6
14706 if test -n "$RANLIB"; then
14707 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14710 for as_dir
in $PATH
14713 test -z "$as_dir" && as_dir
=.
14714 for ac_exec_ext
in '' $ac_executable_extensions; do
14715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14716 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14725 RANLIB
=$ac_cv_prog_RANLIB
14726 if test -n "$RANLIB"; then
14727 echo "$as_me:$LINENO: result: $RANLIB" >&5
14728 echo "${ECHO_T}$RANLIB" >&6
14730 echo "$as_me:$LINENO: result: no" >&5
14731 echo "${ECHO_T}no" >&6
14735 if test -z "$ac_cv_prog_RANLIB"; then
14736 ac_ct_RANLIB
=$RANLIB
14737 # Extract the first word of "ranlib", so it can be a program name with args.
14738 set dummy ranlib
; ac_word
=$2
14739 echo "$as_me:$LINENO: checking for $ac_word" >&5
14740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14741 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14742 echo $ECHO_N "(cached) $ECHO_C" >&6
14744 if test -n "$ac_ct_RANLIB"; then
14745 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14748 for as_dir
in $PATH
14751 test -z "$as_dir" && as_dir
=.
14752 for ac_exec_ext
in '' $ac_executable_extensions; do
14753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14754 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14761 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14764 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14765 if test -n "$ac_ct_RANLIB"; then
14766 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14767 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14769 echo "$as_me:$LINENO: result: no" >&5
14770 echo "${ECHO_T}no" >&6
14773 RANLIB
=$ac_ct_RANLIB
14775 RANLIB
="$ac_cv_prog_RANLIB"
14779 if test -n "$ac_tool_prefix"; then
14780 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14781 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14782 echo "$as_me:$LINENO: checking for $ac_word" >&5
14783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14784 if test "${ac_cv_prog_AR+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14787 if test -n "$AR"; then
14788 ac_cv_prog_AR
="$AR" # Let the user override the test.
14790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14791 for as_dir
in $PATH
14794 test -z "$as_dir" && as_dir
=.
14795 for ac_exec_ext
in '' $ac_executable_extensions; do
14796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14797 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14807 if test -n "$AR"; then
14808 echo "$as_me:$LINENO: result: $AR" >&5
14809 echo "${ECHO_T}$AR" >&6
14811 echo "$as_me:$LINENO: result: no" >&5
14812 echo "${ECHO_T}no" >&6
14816 if test -z "$ac_cv_prog_AR"; then
14818 # Extract the first word of "ar", so it can be a program name with args.
14819 set dummy
ar; ac_word
=$2
14820 echo "$as_me:$LINENO: checking for $ac_word" >&5
14821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14822 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14823 echo $ECHO_N "(cached) $ECHO_C" >&6
14825 if test -n "$ac_ct_AR"; then
14826 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14829 for as_dir
in $PATH
14832 test -z "$as_dir" && as_dir
=.
14833 for ac_exec_ext
in '' $ac_executable_extensions; do
14834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14835 ac_cv_prog_ac_ct_AR
="ar"
14836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14844 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14845 if test -n "$ac_ct_AR"; then
14846 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14847 echo "${ECHO_T}$ac_ct_AR" >&6
14849 echo "$as_me:$LINENO: result: no" >&5
14850 echo "${ECHO_T}no" >&6
14855 AR
="$ac_cv_prog_AR"
14858 if test "x$AR" = "x" ; then
14859 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14860 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14861 { (exit 1); exit 1; }; }
14864 # Find a good install program. We prefer a C program (faster),
14865 # so one script is as good as another. But avoid the broken or
14866 # incompatible versions:
14867 # SysV /etc/install, /usr/sbin/install
14868 # SunOS /usr/etc/install
14869 # IRIX /sbin/install
14871 # AmigaOS /C/install, which installs bootblocks on floppy discs
14872 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14873 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14874 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14875 # OS/2's system install, which has a completely different semantic
14876 # ./install, which can be erroneously created by make from ./install.sh.
14877 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14878 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14879 if test -z "$INSTALL"; then
14880 if test "${ac_cv_path_install+set}" = set; then
14881 echo $ECHO_N "(cached) $ECHO_C" >&6
14883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14884 for as_dir
in $PATH
14887 test -z "$as_dir" && as_dir
=.
14888 # Account for people who put trailing slashes in PATH elements.
14890 .
/ | .
// | /cC
/* | \
14891 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14892 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14895 # OSF1 and SCO ODT 3.0 have their own names for install.
14896 # Don't use installbsd from OSF since it installs stuff as root
14898 for ac_prog
in ginstall scoinst
install; do
14899 for ac_exec_ext
in '' $ac_executable_extensions; do
14900 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14901 if test $ac_prog = install &&
14902 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14903 # AIX install. It has an incompatible calling convention.
14905 elif test $ac_prog = install &&
14906 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14907 # program-specific install script used by HP pwplus--don't use.
14910 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14922 if test "${ac_cv_path_install+set}" = set; then
14923 INSTALL
=$ac_cv_path_install
14925 # As a last resort, use the slow shell script. We don't cache a
14926 # path for INSTALL within a source directory, because that will
14927 # break other packages using the cache if that directory is
14928 # removed, or if the path is relative.
14929 INSTALL
=$ac_install_sh
14932 echo "$as_me:$LINENO: result: $INSTALL" >&5
14933 echo "${ECHO_T}$INSTALL" >&6
14935 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14936 # It thinks the first close brace ends the variable substitution.
14937 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14939 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14941 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14947 ?
:* ) # Drive letter, considered as absolute.
14950 INSTALL
=`pwd`/${INSTALL} ;;
14957 INSTALL_PROGRAM
="cp -fp"
14958 INSTALL_DATA
="cp -fp"
14964 if test -n "$ac_tool_prefix"; then
14965 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14966 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14967 echo "$as_me:$LINENO: checking for $ac_word" >&5
14968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14969 if test "${ac_cv_prog_STRIP+set}" = set; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14972 if test -n "$STRIP"; then
14973 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14976 for as_dir
in $PATH
14979 test -z "$as_dir" && as_dir
=.
14980 for ac_exec_ext
in '' $ac_executable_extensions; do
14981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14982 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14991 STRIP
=$ac_cv_prog_STRIP
14992 if test -n "$STRIP"; then
14993 echo "$as_me:$LINENO: result: $STRIP" >&5
14994 echo "${ECHO_T}$STRIP" >&6
14996 echo "$as_me:$LINENO: result: no" >&5
14997 echo "${ECHO_T}no" >&6
15001 if test -z "$ac_cv_prog_STRIP"; then
15003 # Extract the first word of "strip", so it can be a program name with args.
15004 set dummy strip
; ac_word
=$2
15005 echo "$as_me:$LINENO: checking for $ac_word" >&5
15006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15007 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15008 echo $ECHO_N "(cached) $ECHO_C" >&6
15010 if test -n "$ac_ct_STRIP"; then
15011 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15014 for as_dir
in $PATH
15017 test -z "$as_dir" && as_dir
=.
15018 for ac_exec_ext
in '' $ac_executable_extensions; do
15019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15020 ac_cv_prog_ac_ct_STRIP
="strip"
15021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15027 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15030 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15031 if test -n "$ac_ct_STRIP"; then
15032 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15033 echo "${ECHO_T}$ac_ct_STRIP" >&6
15035 echo "$as_me:$LINENO: result: no" >&5
15036 echo "${ECHO_T}no" >&6
15041 STRIP
="$ac_cv_prog_STRIP"
15045 if test "$wxUSE_WINE" = "yes"; then
15046 if test -n "$ac_tool_prefix"; then
15047 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15048 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15049 echo "$as_me:$LINENO: checking for $ac_word" >&5
15050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15051 if test "${ac_cv_prog_WINDRES+set}" = set; then
15052 echo $ECHO_N "(cached) $ECHO_C" >&6
15054 if test -n "$WINDRES"; then
15055 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15058 for as_dir
in $PATH
15061 test -z "$as_dir" && as_dir
=.
15062 for ac_exec_ext
in '' $ac_executable_extensions; do
15063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15064 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15073 WINDRES
=$ac_cv_prog_WINDRES
15074 if test -n "$WINDRES"; then
15075 echo "$as_me:$LINENO: result: $WINDRES" >&5
15076 echo "${ECHO_T}$WINDRES" >&6
15078 echo "$as_me:$LINENO: result: no" >&5
15079 echo "${ECHO_T}no" >&6
15083 if test -z "$ac_cv_prog_WINDRES"; then
15084 ac_ct_WINDRES
=$WINDRES
15085 # Extract the first word of "wrc", so it can be a program name with args.
15086 set dummy wrc
; ac_word
=$2
15087 echo "$as_me:$LINENO: checking for $ac_word" >&5
15088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15089 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15090 echo $ECHO_N "(cached) $ECHO_C" >&6
15092 if test -n "$ac_ct_WINDRES"; then
15093 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15096 for as_dir
in $PATH
15099 test -z "$as_dir" && as_dir
=.
15100 for ac_exec_ext
in '' $ac_executable_extensions; do
15101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15102 ac_cv_prog_ac_ct_WINDRES
="wrc"
15103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15111 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15112 if test -n "$ac_ct_WINDRES"; then
15113 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15114 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15116 echo "$as_me:$LINENO: result: no" >&5
15117 echo "${ECHO_T}no" >&6
15120 WINDRES
=$ac_ct_WINDRES
15122 WINDRES
="$ac_cv_prog_WINDRES"
15128 *-*-cygwin* | *-*-mingw32* )
15129 if test -n "$ac_tool_prefix"; then
15130 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15131 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15132 echo "$as_me:$LINENO: checking for $ac_word" >&5
15133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15134 if test "${ac_cv_prog_WINDRES+set}" = set; then
15135 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 if test -n "$WINDRES"; then
15138 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15141 for as_dir
in $PATH
15144 test -z "$as_dir" && as_dir
=.
15145 for ac_exec_ext
in '' $ac_executable_extensions; do
15146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15147 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15156 WINDRES
=$ac_cv_prog_WINDRES
15157 if test -n "$WINDRES"; then
15158 echo "$as_me:$LINENO: result: $WINDRES" >&5
15159 echo "${ECHO_T}$WINDRES" >&6
15161 echo "$as_me:$LINENO: result: no" >&5
15162 echo "${ECHO_T}no" >&6
15166 if test -z "$ac_cv_prog_WINDRES"; then
15167 ac_ct_WINDRES
=$WINDRES
15168 # Extract the first word of "windres", so it can be a program name with args.
15169 set dummy windres
; ac_word
=$2
15170 echo "$as_me:$LINENO: checking for $ac_word" >&5
15171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15172 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15175 if test -n "$ac_ct_WINDRES"; then
15176 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15179 for as_dir
in $PATH
15182 test -z "$as_dir" && as_dir
=.
15183 for ac_exec_ext
in '' $ac_executable_extensions; do
15184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15185 ac_cv_prog_ac_ct_WINDRES
="windres"
15186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15194 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15195 if test -n "$ac_ct_WINDRES"; then
15196 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15197 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15199 echo "$as_me:$LINENO: result: no" >&5
15200 echo "${ECHO_T}no" >&6
15203 WINDRES
=$ac_ct_WINDRES
15205 WINDRES
="$ac_cv_prog_WINDRES"
15209 if test -n "$ac_tool_prefix"; then
15210 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15211 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15212 echo "$as_me:$LINENO: checking for $ac_word" >&5
15213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15214 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15215 echo $ECHO_N "(cached) $ECHO_C" >&6
15217 if test -n "$DLLTOOL"; then
15218 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15221 for as_dir
in $PATH
15224 test -z "$as_dir" && as_dir
=.
15225 for ac_exec_ext
in '' $ac_executable_extensions; do
15226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15227 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15236 DLLTOOL
=$ac_cv_prog_DLLTOOL
15237 if test -n "$DLLTOOL"; then
15238 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15239 echo "${ECHO_T}$DLLTOOL" >&6
15241 echo "$as_me:$LINENO: result: no" >&5
15242 echo "${ECHO_T}no" >&6
15246 if test -z "$ac_cv_prog_DLLTOOL"; then
15247 ac_ct_DLLTOOL
=$DLLTOOL
15248 # Extract the first word of "dlltool", so it can be a program name with args.
15249 set dummy dlltool
; ac_word
=$2
15250 echo "$as_me:$LINENO: checking for $ac_word" >&5
15251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15252 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 if test -n "$ac_ct_DLLTOOL"; then
15256 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15259 for as_dir
in $PATH
15262 test -z "$as_dir" && as_dir
=.
15263 for ac_exec_ext
in '' $ac_executable_extensions; do
15264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15265 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15274 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15275 if test -n "$ac_ct_DLLTOOL"; then
15276 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15277 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15279 echo "$as_me:$LINENO: result: no" >&5
15280 echo "${ECHO_T}no" >&6
15283 DLLTOOL
=$ac_ct_DLLTOOL
15285 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15292 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15293 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15294 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15295 echo $ECHO_N "(cached) $ECHO_C" >&6
15298 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15299 egrep -s GNU
> /dev
/null
); then
15300 wx_cv_prog_makeisgnu
="yes"
15302 wx_cv_prog_makeisgnu
="no"
15306 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15307 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15309 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15317 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15318 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15319 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15320 if test "${wx_cv_prog_makevpath+set}" = set; then
15321 echo $ECHO_N "(cached) $ECHO_C" >&6
15324 cat - << EOF > confMake
15330 if test ! -d sub
; then
15333 echo dummy
> sub
/file
15334 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15336 rm -f sub
/file check final_file confMake
15338 if test "$RESULT" = 0; then
15339 wx_cv_prog_makevpath
="yes"
15341 wx_cv_prog_makevpath
="no"
15345 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15346 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15348 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15349 { { echo "$as_me:$LINENO: error:
15350 You need a make-utility that is able to use the variable
15352 If your version of make does not support VPATH correctly,
15353 please install GNU-make (possibly as gmake), and start
15354 configure with the following command:
15355 export MAKE=gmake; ./configure for sh-type shells
15356 setenv MAKE gmake; ./configure for csh-type shells
15357 Also please do remember to use gmake in this case every time
15358 you are trying to compile.
15360 echo "$as_me: error:
15361 You need a make-utility that is able to use the variable
15363 If your version of make does not support VPATH correctly,
15364 please install GNU-make (possibly as gmake), and start
15365 configure with the following command:
15366 export MAKE=gmake; ./configure for sh-type shells
15367 setenv MAKE gmake; ./configure for csh-type shells
15368 Also please do remember to use gmake in this case every time
15369 you are trying to compile.
15371 { (exit 1); exit 1; }; }
15373 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15374 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15376 if test "$LN_S" = "ln -s"; then
15377 echo "$as_me:$LINENO: result: yes" >&5
15378 echo "${ECHO_T}yes" >&6
15380 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15381 echo "${ECHO_T}no, using $LN_S" >&6
15387 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15388 CXXFLAGS
="-qunique $CXXFLAGS"
15392 powerpc
-*-darwin* )
15393 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15394 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15395 cat >conftest.
$ac_ext <<_ACEOF
15398 cat confdefs.h
>>conftest.
$ac_ext
15399 cat >>conftest.
$ac_ext <<_ACEOF
15400 /* end confdefs.h. */
15405 #ifndef __POWERPC__
15406 choke me for lack of PowerPC
15413 rm -f conftest.
$ac_objext
15414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15415 (eval $ac_compile) 2>conftest.er1
15417 grep -v '^ *+' conftest.er1
>conftest.err
15419 cat conftest.err
>&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); } &&
15422 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15424 (eval $ac_try) 2>&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); }; } &&
15428 { ac_try
='test -s conftest.$ac_objext'
15429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15430 (eval $ac_try) 2>&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); }; }; then
15434 echo "$as_me:$LINENO: result: yes" >&5
15435 echo "${ECHO_T}yes" >&6
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.
$ac_ext >&5
15440 echo "$as_me:$LINENO: result: no" >&5
15441 echo "${ECHO_T}no" >&6
15442 cat >>confdefs.h
<<\_ACEOF
15443 #define __POWERPC__ 1
15448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15454 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15455 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15456 cat >conftest.
$ac_ext <<_ACEOF
15459 cat confdefs.h
>>conftest.
$ac_ext
15460 cat >>conftest.
$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462 #include <CoreFoundation/CFBase.h>
15472 rm -f conftest.
$ac_objext
15473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15474 (eval $ac_compile) 2>conftest.er1
15476 grep -v '^ *+' conftest.er1
>conftest.err
15478 cat conftest.err
>&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); } &&
15481 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15483 (eval $ac_try) 2>&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; } &&
15487 { ac_try
='test -s conftest.$ac_objext'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; }; then
15493 echo "$as_me:$LINENO: result: yes" >&5
15494 echo "${ECHO_T}yes" >&6
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.
$ac_ext >&5
15499 echo "$as_me:$LINENO: result: no" >&5
15500 echo "${ECHO_T}no" >&6
15501 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15502 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15503 cat >conftest.
$ac_ext <<_ACEOF
15506 cat confdefs.h
>>conftest.
$ac_ext
15507 cat >>conftest.
$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15509 #define __CF_USE_FRAMEWORK_INCLUDES__
15510 #include <CoreFoundation/CFBase.h>
15520 rm -f conftest.
$ac_objext
15521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15522 (eval $ac_compile) 2>conftest.er1
15524 grep -v '^ *+' conftest.er1
>conftest.err
15526 cat conftest.err
>&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); } &&
15529 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; } &&
15535 { ac_try
='test -s conftest.$ac_objext'
15536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15537 (eval $ac_try) 2>&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); }; }; then
15541 echo "$as_me:$LINENO: result: yes" >&5
15542 echo "${ECHO_T}yes" >&6
15543 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.
$ac_ext >&5
15548 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15549 See \`config.log' for more details." >&5
15550 echo "$as_me: error: no. CoreFoundation not available.
15551 See \`config.log' for more details." >&2;}
15552 { (exit 1); exit 1; }; }
15555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15564 *-pc-os2_emx | *-pc-os2-emx )
15566 ac_cpp
='$CPP $CPPFLAGS'
15567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15571 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15572 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15573 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15574 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15575 echo $ECHO_N "(cached) $ECHO_C" >&6
15577 ac_check_lib_save_LIBS
=$LIBS
15578 LIBS
="-lcExt $LIBS"
15579 cat >conftest.
$ac_ext <<_ACEOF
15582 cat confdefs.h
>>conftest.
$ac_ext
15583 cat >>conftest.
$ac_ext <<_ACEOF
15584 /* end confdefs.h. */
15586 /* Override any gcc2 internal prototype to avoid an error. */
15590 /* We use char because int might match the return type of a gcc2
15591 builtin and then its argument prototype would still apply. */
15601 rm -f conftest.
$ac_objext conftest
$ac_exeext
15602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15603 (eval $ac_link) 2>conftest.er1
15605 grep -v '^ *+' conftest.er1
>conftest.err
15607 cat conftest.err
>&5
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); } &&
15610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; } &&
15616 { ac_try
='test -s conftest$ac_exeext'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; }; then
15622 ac_cv_lib_cExt_drand48
=yes
15624 echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.
$ac_ext >&5
15627 ac_cv_lib_cExt_drand48
=no
15629 rm -f conftest.err conftest.
$ac_objext \
15630 conftest
$ac_exeext conftest.
$ac_ext
15631 LIBS
=$ac_check_lib_save_LIBS
15633 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15634 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15635 if test $ac_cv_lib_cExt_drand48 = yes; then
15636 LIBS
="$LIBS -lcExt"
15640 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15642 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15643 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15644 if test "${wx_cv_gccversion+set}" = set; then
15645 echo $ECHO_N "(cached) $ECHO_C" >&6
15648 if test "$cross_compiling" = yes; then
15649 wx_cv_gccversion
="EMX2"
15652 cat >conftest.
$ac_ext <<_ACEOF
15655 cat confdefs.h
>>conftest.
$ac_ext
15656 cat >>conftest.
$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15663 FILE *f=fopen("conftestval", "w");
15668 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15670 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15680 rm -f conftest
$ac_exeext
15681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15682 (eval $ac_link) 2>&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15691 wx_cv_gccversion
=`cat conftestval`
15693 echo "$as_me: program exited with status $ac_status" >&5
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.
$ac_ext >&5
15697 ( exit $ac_status )
15698 wx_cv_gccversion
="EMX2"
15700 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15704 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15705 echo "${ECHO_T}$wx_cv_gccversion" >&6
15707 ac_cpp
='$CXXCPP $CPPFLAGS'
15708 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15709 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15710 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15712 if test "$wx_cv_gccversion" = "EMX2"; then
15713 LIBS
="$LIBS -lstdcpp"
15714 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15716 if test "$wx_cv_gccversion" = "EMX3"; then
15717 LIBS
="$LIBS -lstdcxx -lgcc"
15718 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15720 LIBS
="$LIBS -lstdc++"
15723 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15724 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15725 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15732 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15733 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15734 if test "${ac_cv_string_strcasecmp+set}" = set; then
15735 echo $ECHO_N "(cached) $ECHO_C" >&6
15738 cat >conftest.
$ac_ext <<_ACEOF
15741 cat confdefs.h
>>conftest.
$ac_ext
15742 cat >>conftest.
$ac_ext <<_ACEOF
15743 /* end confdefs.h. */
15745 #include <string.h>
15751 strcasecmp("foo", "bar");
15757 rm -f conftest.
$ac_objext conftest
$ac_exeext
15758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15759 (eval $ac_link) 2>conftest.er1
15761 grep -v '^ *+' conftest.er1
>conftest.err
15763 cat conftest.err
>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } &&
15766 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15768 (eval $ac_try) 2>&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); }; } &&
15772 { ac_try
='test -s conftest$ac_exeext'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; }; then
15778 ac_cv_string_strcasecmp
=yes
15780 echo "$as_me: failed program was:" >&5
15781 sed 's/^/| /' conftest.
$ac_ext >&5
15783 ac_cv_string_strcasecmp
=no
15786 rm -f conftest.err conftest.
$ac_objext \
15787 conftest
$ac_exeext conftest.
$ac_ext
15790 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15791 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15793 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15794 cat >>confdefs.h
<<\_ACEOF
15795 #define HAVE_STRCASECMP_IN_STRING_H 1
15799 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15800 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15801 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15805 cat >conftest.
$ac_ext <<_ACEOF
15808 cat confdefs.h
>>conftest.
$ac_ext
15809 cat >>conftest.
$ac_ext <<_ACEOF
15810 /* end confdefs.h. */
15812 #include <strings.h>
15818 strcasecmp("foo", "bar");
15824 rm -f conftest.
$ac_objext conftest
$ac_exeext
15825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15826 (eval $ac_link) 2>conftest.er1
15828 grep -v '^ *+' conftest.er1
>conftest.err
15830 cat conftest.err
>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; } &&
15839 { ac_try
='test -s conftest$ac_exeext'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; }; then
15845 ac_cv_strings_strcasecmp
=yes
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.
$ac_ext >&5
15850 ac_cv_strings_strcasecmp
=no
15853 rm -f conftest.err conftest.
$ac_objext \
15854 conftest
$ac_exeext conftest.
$ac_ext
15857 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15858 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15860 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15861 cat >>confdefs.h
<<\_ACEOF
15862 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15866 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15867 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15868 { (exit 1); exit 1; }; }
15877 ac_cpp
='$CXXCPP $CPPFLAGS'
15878 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15879 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15880 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15881 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15882 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15883 if test -z "$CXXCPP"; then
15884 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15885 echo $ECHO_N "(cached) $ECHO_C" >&6
15887 # Double quotes because CXXCPP needs to be expanded
15888 for CXXCPP
in "$CXX -E" "/lib/cpp"
15890 ac_preproc_ok
=false
15891 for ac_cxx_preproc_warn_flag
in '' yes
15893 # Use a header file that comes with gcc, so configuring glibc
15894 # with a fresh cross-compiler works.
15895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15896 # <limits.h> exists even on freestanding compilers.
15897 # On the NeXT, cc -E runs the code through the compiler's parser,
15898 # not just through cpp. "Syntax error" is here to catch this case.
15899 cat >conftest.
$ac_ext <<_ACEOF
15902 cat confdefs.h
>>conftest.
$ac_ext
15903 cat >>conftest.
$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15906 # include <limits.h>
15908 # include <assert.h>
15912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15913 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15915 grep -v '^ *+' conftest.er1
>conftest.err
15917 cat conftest.err
>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); } >/dev
/null
; then
15920 if test -s conftest.err
; then
15921 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15922 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15929 if test -z "$ac_cpp_err"; then
15932 echo "$as_me: failed program was:" >&5
15933 sed 's/^/| /' conftest.
$ac_ext >&5
15935 # Broken: fails on valid input.
15938 rm -f conftest.err conftest.
$ac_ext
15940 # OK, works on sane cases. Now check whether non-existent headers
15941 # can be detected and how.
15942 cat >conftest.
$ac_ext <<_ACEOF
15945 cat confdefs.h
>>conftest.
$ac_ext
15946 cat >>conftest.
$ac_ext <<_ACEOF
15947 /* end confdefs.h. */
15948 #include <ac_nonexistent.h>
15950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15951 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15953 grep -v '^ *+' conftest.er1
>conftest.err
15955 cat conftest.err
>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); } >/dev
/null
; then
15958 if test -s conftest.err
; then
15959 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15960 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
15967 if test -z "$ac_cpp_err"; then
15968 # Broken: success on invalid input.
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.
$ac_ext >&5
15974 # Passes both tests.
15978 rm -f conftest.err conftest.
$ac_ext
15981 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15982 rm -f conftest.err conftest.
$ac_ext
15983 if $ac_preproc_ok; then
15988 ac_cv_prog_CXXCPP
=$CXXCPP
15991 CXXCPP
=$ac_cv_prog_CXXCPP
15993 ac_cv_prog_CXXCPP
=$CXXCPP
15995 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15996 echo "${ECHO_T}$CXXCPP" >&6
15997 ac_preproc_ok
=false
15998 for ac_cxx_preproc_warn_flag
in '' yes
16000 # Use a header file that comes with gcc, so configuring glibc
16001 # with a fresh cross-compiler works.
16002 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16003 # <limits.h> exists even on freestanding compilers.
16004 # On the NeXT, cc -E runs the code through the compiler's parser,
16005 # not just through cpp. "Syntax error" is here to catch this case.
16006 cat >conftest.
$ac_ext <<_ACEOF
16009 cat confdefs.h
>>conftest.
$ac_ext
16010 cat >>conftest.
$ac_ext <<_ACEOF
16011 /* end confdefs.h. */
16013 # include <limits.h>
16015 # include <assert.h>
16019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16022 grep -v '^ *+' conftest.er1
>conftest.err
16024 cat conftest.err
>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); } >/dev
/null
; then
16027 if test -s conftest.err
; then
16028 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16029 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16036 if test -z "$ac_cpp_err"; then
16039 echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.
$ac_ext >&5
16042 # Broken: fails on valid input.
16045 rm -f conftest.err conftest.
$ac_ext
16047 # OK, works on sane cases. Now check whether non-existent headers
16048 # can be detected and how.
16049 cat >conftest.
$ac_ext <<_ACEOF
16052 cat confdefs.h
>>conftest.
$ac_ext
16053 cat >>conftest.
$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16055 #include <ac_nonexistent.h>
16057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16058 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16060 grep -v '^ *+' conftest.er1
>conftest.err
16062 cat conftest.err
>&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } >/dev
/null
; then
16065 if test -s conftest.err
; then
16066 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16067 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16074 if test -z "$ac_cpp_err"; then
16075 # Broken: success on invalid input.
16078 echo "$as_me: failed program was:" >&5
16079 sed 's/^/| /' conftest.
$ac_ext >&5
16081 # Passes both tests.
16085 rm -f conftest.err conftest.
$ac_ext
16088 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16089 rm -f conftest.err conftest.
$ac_ext
16090 if $ac_preproc_ok; then
16093 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16094 See \`config.log' for more details." >&5
16095 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16096 See \`config.log' for more details." >&2;}
16097 { (exit 1); exit 1; }; }
16101 ac_cpp
='$CXXCPP $CPPFLAGS'
16102 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16103 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16104 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16107 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16108 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16109 if test "${ac_cv_header_stdc+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 cat >conftest.
$ac_ext <<_ACEOF
16115 cat confdefs.h
>>conftest.
$ac_ext
16116 cat >>conftest.
$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16118 #include <stdlib.h>
16119 #include <stdarg.h>
16120 #include <string.h>
16131 rm -f conftest.
$ac_objext
16132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16133 (eval $ac_compile) 2>conftest.er1
16135 grep -v '^ *+' conftest.er1
>conftest.err
16137 cat conftest.err
>&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } &&
16140 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; } &&
16146 { ac_try
='test -s conftest.$ac_objext'
16147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16148 (eval $ac_try) 2>&5
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; }; then
16152 ac_cv_header_stdc
=yes
16154 echo "$as_me: failed program was:" >&5
16155 sed 's/^/| /' conftest.
$ac_ext >&5
16157 ac_cv_header_stdc
=no
16159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16161 if test $ac_cv_header_stdc = yes; then
16162 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16163 cat >conftest.
$ac_ext <<_ACEOF
16166 cat confdefs.h
>>conftest.
$ac_ext
16167 cat >>conftest.
$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 #include <string.h>
16172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16173 $EGREP "memchr" >/dev
/null
2>&1; then
16176 ac_cv_header_stdc
=no
16182 if test $ac_cv_header_stdc = yes; then
16183 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16184 cat >conftest.
$ac_ext <<_ACEOF
16187 cat confdefs.h
>>conftest.
$ac_ext
16188 cat >>conftest.
$ac_ext <<_ACEOF
16189 /* end confdefs.h. */
16190 #include <stdlib.h>
16193 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16194 $EGREP "free" >/dev
/null
2>&1; then
16197 ac_cv_header_stdc
=no
16203 if test $ac_cv_header_stdc = yes; then
16204 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16205 if test "$cross_compiling" = yes; then
16208 cat >conftest.
$ac_ext <<_ACEOF
16211 cat confdefs.h
>>conftest.
$ac_ext
16212 cat >>conftest.
$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16215 #if ((' ' & 0x0FF) == 0x020)
16216 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16217 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16219 # define ISLOWER(c) \
16220 (('a' <= (c) && (c) <= 'i') \
16221 || ('j' <= (c) && (c) <= 'r') \
16222 || ('s' <= (c) && (c) <= 'z'))
16223 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16226 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16231 for (i = 0; i < 256; i++)
16232 if (XOR (islower (i), ISLOWER (i))
16233 || toupper (i) != TOUPPER (i))
16238 rm -f conftest
$ac_exeext
16239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16240 (eval $ac_link) 2>&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245 (eval $ac_try) 2>&5
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); }; }; then
16251 echo "$as_me: program exited with status $ac_status" >&5
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.
$ac_ext >&5
16255 ( exit $ac_status )
16256 ac_cv_header_stdc
=no
16258 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16262 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16263 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16264 if test $ac_cv_header_stdc = yes; then
16266 cat >>confdefs.h
<<\_ACEOF
16267 #define STDC_HEADERS 1
16272 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16282 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16283 inttypes.h stdint.h unistd.h
16285 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16286 echo "$as_me:$LINENO: checking for $ac_header" >&5
16287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16291 cat >conftest.
$ac_ext <<_ACEOF
16294 cat confdefs.h
>>conftest.
$ac_ext
16295 cat >>conftest.
$ac_ext <<_ACEOF
16296 /* end confdefs.h. */
16297 $ac_includes_default
16299 #include <$ac_header>
16301 rm -f conftest.
$ac_objext
16302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16303 (eval $ac_compile) 2>conftest.er1
16305 grep -v '^ *+' conftest.er1
>conftest.err
16307 cat conftest.err
>&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } &&
16310 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16312 (eval $ac_try) 2>&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; } &&
16316 { ac_try
='test -s conftest.$ac_objext'
16317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16318 (eval $ac_try) 2>&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); }; }; then
16322 eval "$as_ac_Header=yes"
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.
$ac_ext >&5
16327 eval "$as_ac_Header=no"
16329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16334 cat >>confdefs.h
<<_ACEOF
16335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16344 for ac_header
in stdlib.h
16346 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16348 echo "$as_me:$LINENO: checking for $ac_header" >&5
16349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16356 # Is the header compilable?
16357 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16358 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16359 cat >conftest.
$ac_ext <<_ACEOF
16362 cat confdefs.h
>>conftest.
$ac_ext
16363 cat >>conftest.
$ac_ext <<_ACEOF
16364 /* end confdefs.h. */
16365 $ac_includes_default
16366 #include <$ac_header>
16368 rm -f conftest.
$ac_objext
16369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16370 (eval $ac_compile) 2>conftest.er1
16372 grep -v '^ *+' conftest.er1
>conftest.err
16374 cat conftest.err
>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } &&
16377 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16379 (eval $ac_try) 2>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }; } &&
16383 { ac_try
='test -s conftest.$ac_objext'
16384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16385 (eval $ac_try) 2>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; }; then
16389 ac_header_compiler
=yes
16391 echo "$as_me: failed program was:" >&5
16392 sed 's/^/| /' conftest.
$ac_ext >&5
16394 ac_header_compiler
=no
16396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16398 echo "${ECHO_T}$ac_header_compiler" >&6
16400 # Is the header present?
16401 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16403 cat >conftest.
$ac_ext <<_ACEOF
16406 cat confdefs.h
>>conftest.
$ac_ext
16407 cat >>conftest.
$ac_ext <<_ACEOF
16408 /* end confdefs.h. */
16409 #include <$ac_header>
16411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16412 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16414 grep -v '^ *+' conftest.er1
>conftest.err
16416 cat conftest.err
>&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); } >/dev
/null
; then
16419 if test -s conftest.err
; then
16420 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16421 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16428 if test -z "$ac_cpp_err"; then
16429 ac_header_preproc
=yes
16431 echo "$as_me: failed program was:" >&5
16432 sed 's/^/| /' conftest.
$ac_ext >&5
16434 ac_header_preproc
=no
16436 rm -f conftest.err conftest.
$ac_ext
16437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16438 echo "${ECHO_T}$ac_header_preproc" >&6
16440 # So? What about this header?
16441 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16447 ac_header_preproc
=yes
16450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16464 ## ----------------------------------------- ##
16465 ## Report this to wx-dev@lists.wxwidgets.org ##
16466 ## ----------------------------------------- ##
16469 sed "s/^/$as_me: WARNING: /" >&2
16472 echo "$as_me:$LINENO: checking for $ac_header" >&5
16473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16475 echo $ECHO_N "(cached) $ECHO_C" >&6
16477 eval "$as_ac_Header=\$ac_header_preproc"
16479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16484 cat >>confdefs.h
<<_ACEOF
16485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16493 for ac_header
in malloc.h
16495 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16497 echo "$as_me:$LINENO: checking for $ac_header" >&5
16498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16500 echo $ECHO_N "(cached) $ECHO_C" >&6
16502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16505 # Is the header compilable?
16506 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16508 cat >conftest.
$ac_ext <<_ACEOF
16511 cat confdefs.h
>>conftest.
$ac_ext
16512 cat >>conftest.
$ac_ext <<_ACEOF
16513 /* end confdefs.h. */
16514 $ac_includes_default
16515 #include <$ac_header>
16517 rm -f conftest.
$ac_objext
16518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16519 (eval $ac_compile) 2>conftest.er1
16521 grep -v '^ *+' conftest.er1
>conftest.err
16523 cat conftest.err
>&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } &&
16526 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; } &&
16532 { ac_try
='test -s conftest.$ac_objext'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; }; then
16538 ac_header_compiler
=yes
16540 echo "$as_me: failed program was:" >&5
16541 sed 's/^/| /' conftest.
$ac_ext >&5
16543 ac_header_compiler
=no
16545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16547 echo "${ECHO_T}$ac_header_compiler" >&6
16549 # Is the header present?
16550 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16552 cat >conftest.
$ac_ext <<_ACEOF
16555 cat confdefs.h
>>conftest.
$ac_ext
16556 cat >>conftest.
$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16558 #include <$ac_header>
16560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16561 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16563 grep -v '^ *+' conftest.er1
>conftest.err
16565 cat conftest.err
>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } >/dev
/null
; then
16568 if test -s conftest.err
; then
16569 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16570 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16577 if test -z "$ac_cpp_err"; then
16578 ac_header_preproc
=yes
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.
$ac_ext >&5
16583 ac_header_preproc
=no
16585 rm -f conftest.err conftest.
$ac_ext
16586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16587 echo "${ECHO_T}$ac_header_preproc" >&6
16589 # So? What about this header?
16590 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16595 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16596 ac_header_preproc
=yes
16599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16603 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16604 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16605 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16613 ## ----------------------------------------- ##
16614 ## Report this to wx-dev@lists.wxwidgets.org ##
16615 ## ----------------------------------------- ##
16618 sed "s/^/$as_me: WARNING: /" >&2
16621 echo "$as_me:$LINENO: checking for $ac_header" >&5
16622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16626 eval "$as_ac_Header=\$ac_header_preproc"
16628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16633 cat >>confdefs.h
<<_ACEOF
16634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16642 for ac_header
in unistd.h
16644 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16646 echo "$as_me:$LINENO: checking for $ac_header" >&5
16647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16654 # Is the header compilable?
16655 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16657 cat >conftest.
$ac_ext <<_ACEOF
16660 cat confdefs.h
>>conftest.
$ac_ext
16661 cat >>conftest.
$ac_ext <<_ACEOF
16662 /* end confdefs.h. */
16663 $ac_includes_default
16664 #include <$ac_header>
16666 rm -f conftest.
$ac_objext
16667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16668 (eval $ac_compile) 2>conftest.er1
16670 grep -v '^ *+' conftest.er1
>conftest.err
16672 cat conftest.err
>&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } &&
16675 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16677 (eval $ac_try) 2>&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); }; } &&
16681 { ac_try
='test -s conftest.$ac_objext'
16682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16683 (eval $ac_try) 2>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }; }; then
16687 ac_header_compiler
=yes
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.
$ac_ext >&5
16692 ac_header_compiler
=no
16694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16696 echo "${ECHO_T}$ac_header_compiler" >&6
16698 # Is the header present?
16699 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16700 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16701 cat >conftest.
$ac_ext <<_ACEOF
16704 cat confdefs.h
>>conftest.
$ac_ext
16705 cat >>conftest.
$ac_ext <<_ACEOF
16706 /* end confdefs.h. */
16707 #include <$ac_header>
16709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16712 grep -v '^ *+' conftest.er1
>conftest.err
16714 cat conftest.err
>&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } >/dev
/null
; then
16717 if test -s conftest.err
; then
16718 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16719 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16726 if test -z "$ac_cpp_err"; then
16727 ac_header_preproc
=yes
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.
$ac_ext >&5
16732 ac_header_preproc
=no
16734 rm -f conftest.err conftest.
$ac_ext
16735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16736 echo "${ECHO_T}$ac_header_preproc" >&6
16738 # So? What about this header?
16739 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16744 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16745 ac_header_preproc
=yes
16748 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16749 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16750 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16751 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16752 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16753 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16754 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16755 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16758 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16759 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16762 ## ----------------------------------------- ##
16763 ## Report this to wx-dev@lists.wxwidgets.org ##
16764 ## ----------------------------------------- ##
16767 sed "s/^/$as_me: WARNING: /" >&2
16770 echo "$as_me:$LINENO: checking for $ac_header" >&5
16771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16773 echo $ECHO_N "(cached) $ECHO_C" >&6
16775 eval "$as_ac_Header=\$ac_header_preproc"
16777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16782 cat >>confdefs.h
<<_ACEOF
16783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16791 for ac_header
in wchar.h
16793 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16795 echo "$as_me:$LINENO: checking for $ac_header" >&5
16796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16798 echo $ECHO_N "(cached) $ECHO_C" >&6
16800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16803 # Is the header compilable?
16804 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16805 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16806 cat >conftest.
$ac_ext <<_ACEOF
16809 cat confdefs.h
>>conftest.
$ac_ext
16810 cat >>conftest.
$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16812 $ac_includes_default
16813 #include <$ac_header>
16815 rm -f conftest.
$ac_objext
16816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16817 (eval $ac_compile) 2>conftest.er1
16819 grep -v '^ *+' conftest.er1
>conftest.err
16821 cat conftest.err
>&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } &&
16824 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16826 (eval $ac_try) 2>&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); }; } &&
16830 { ac_try
='test -s conftest.$ac_objext'
16831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16832 (eval $ac_try) 2>&5
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); }; }; then
16836 ac_header_compiler
=yes
16838 echo "$as_me: failed program was:" >&5
16839 sed 's/^/| /' conftest.
$ac_ext >&5
16841 ac_header_compiler
=no
16843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16845 echo "${ECHO_T}$ac_header_compiler" >&6
16847 # Is the header present?
16848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16850 cat >conftest.
$ac_ext <<_ACEOF
16853 cat confdefs.h
>>conftest.
$ac_ext
16854 cat >>conftest.
$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 #include <$ac_header>
16858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16861 grep -v '^ *+' conftest.er1
>conftest.err
16863 cat conftest.err
>&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } >/dev
/null
; then
16866 if test -s conftest.err
; then
16867 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16868 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16875 if test -z "$ac_cpp_err"; then
16876 ac_header_preproc
=yes
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.
$ac_ext >&5
16881 ac_header_preproc
=no
16883 rm -f conftest.err conftest.
$ac_ext
16884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16885 echo "${ECHO_T}$ac_header_preproc" >&6
16887 # So? What about this header?
16888 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16893 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16894 ac_header_preproc
=yes
16897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16901 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16902 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16903 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16904 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16907 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16908 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16911 ## ----------------------------------------- ##
16912 ## Report this to wx-dev@lists.wxwidgets.org ##
16913 ## ----------------------------------------- ##
16916 sed "s/^/$as_me: WARNING: /" >&2
16919 echo "$as_me:$LINENO: checking for $ac_header" >&5
16920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16924 eval "$as_ac_Header=\$ac_header_preproc"
16926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16931 cat >>confdefs.h
<<_ACEOF
16932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16940 if test "$ac_cv_header_wchar_h" != "yes"; then
16942 for ac_header
in wcstr.h
16944 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16946 echo "$as_me:$LINENO: checking for $ac_header" >&5
16947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16949 echo $ECHO_N "(cached) $ECHO_C" >&6
16951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16954 # Is the header compilable?
16955 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16956 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16957 cat >conftest.
$ac_ext <<_ACEOF
16960 cat confdefs.h
>>conftest.
$ac_ext
16961 cat >>conftest.
$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 $ac_includes_default
16964 #include <$ac_header>
16966 rm -f conftest.
$ac_objext
16967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16968 (eval $ac_compile) 2>conftest.er1
16970 grep -v '^ *+' conftest.er1
>conftest.err
16972 cat conftest.err
>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); } &&
16975 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; } &&
16981 { ac_try
='test -s conftest.$ac_objext'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 ac_header_compiler
=yes
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.
$ac_ext >&5
16992 ac_header_compiler
=no
16994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16995 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16996 echo "${ECHO_T}$ac_header_compiler" >&6
16998 # Is the header present?
16999 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17000 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17001 cat >conftest.
$ac_ext <<_ACEOF
17004 cat confdefs.h
>>conftest.
$ac_ext
17005 cat >>conftest.
$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 #include <$ac_header>
17009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17010 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17012 grep -v '^ *+' conftest.er1
>conftest.err
17014 cat conftest.err
>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } >/dev
/null
; then
17017 if test -s conftest.err
; then
17018 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17019 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17026 if test -z "$ac_cpp_err"; then
17027 ac_header_preproc
=yes
17029 echo "$as_me: failed program was:" >&5
17030 sed 's/^/| /' conftest.
$ac_ext >&5
17032 ac_header_preproc
=no
17034 rm -f conftest.err conftest.
$ac_ext
17035 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17036 echo "${ECHO_T}$ac_header_preproc" >&6
17038 # So? What about this header?
17039 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17041 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17042 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17044 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17045 ac_header_preproc
=yes
17048 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17049 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17050 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17051 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17052 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17053 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17054 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17055 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17058 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17059 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17062 ## ----------------------------------------- ##
17063 ## Report this to wx-dev@lists.wxwidgets.org ##
17064 ## ----------------------------------------- ##
17067 sed "s/^/$as_me: WARNING: /" >&2
17070 echo "$as_me:$LINENO: checking for $ac_header" >&5
17071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17073 echo $ECHO_N "(cached) $ECHO_C" >&6
17075 eval "$as_ac_Header=\$ac_header_preproc"
17077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17081 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17082 cat >>confdefs.h
<<_ACEOF
17083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17093 for ac_header
in fnmatch.h
17095 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17097 echo "$as_me:$LINENO: checking for $ac_header" >&5
17098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17100 echo $ECHO_N "(cached) $ECHO_C" >&6
17102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17105 # Is the header compilable?
17106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17108 cat >conftest.
$ac_ext <<_ACEOF
17111 cat confdefs.h
>>conftest.
$ac_ext
17112 cat >>conftest.
$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17114 $ac_includes_default
17115 #include <$ac_header>
17117 rm -f conftest.
$ac_objext
17118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17119 (eval $ac_compile) 2>conftest.er1
17121 grep -v '^ *+' conftest.er1
>conftest.err
17123 cat conftest.err
>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); } &&
17126 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; } &&
17132 { ac_try
='test -s conftest.$ac_objext'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; }; then
17138 ac_header_compiler
=yes
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.
$ac_ext >&5
17143 ac_header_compiler
=no
17145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17147 echo "${ECHO_T}$ac_header_compiler" >&6
17149 # Is the header present?
17150 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17152 cat >conftest.
$ac_ext <<_ACEOF
17155 cat confdefs.h
>>conftest.
$ac_ext
17156 cat >>conftest.
$ac_ext <<_ACEOF
17157 /* end confdefs.h. */
17158 #include <$ac_header>
17160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17161 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17163 grep -v '^ *+' conftest.er1
>conftest.err
17165 cat conftest.err
>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); } >/dev
/null
; then
17168 if test -s conftest.err
; then
17169 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17170 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17177 if test -z "$ac_cpp_err"; then
17178 ac_header_preproc
=yes
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.
$ac_ext >&5
17183 ac_header_preproc
=no
17185 rm -f conftest.err conftest.
$ac_ext
17186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17187 echo "${ECHO_T}$ac_header_preproc" >&6
17189 # So? What about this header?
17190 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17192 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17193 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17195 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17196 ac_header_preproc
=yes
17199 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17200 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17201 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17202 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17203 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17204 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17205 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17206 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17208 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17209 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17210 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17213 ## ----------------------------------------- ##
17214 ## Report this to wx-dev@lists.wxwidgets.org ##
17215 ## ----------------------------------------- ##
17218 sed "s/^/$as_me: WARNING: /" >&2
17221 echo "$as_me:$LINENO: checking for $ac_header" >&5
17222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 eval "$as_ac_Header=\$ac_header_preproc"
17228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17233 cat >>confdefs.h
<<_ACEOF
17234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17243 for ac_header
in langinfo.h
17245 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17247 echo "$as_me:$LINENO: checking for $ac_header" >&5
17248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17250 echo $ECHO_N "(cached) $ECHO_C" >&6
17252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17255 # Is the header compilable?
17256 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17258 cat >conftest.
$ac_ext <<_ACEOF
17261 cat confdefs.h
>>conftest.
$ac_ext
17262 cat >>conftest.
$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17264 $ac_includes_default
17265 #include <$ac_header>
17267 rm -f conftest.
$ac_objext
17268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17269 (eval $ac_compile) 2>conftest.er1
17271 grep -v '^ *+' conftest.er1
>conftest.err
17273 cat conftest.err
>&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } &&
17276 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17278 (eval $ac_try) 2>&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); }; } &&
17282 { ac_try
='test -s conftest.$ac_objext'
17283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17284 (eval $ac_try) 2>&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); }; }; then
17288 ac_header_compiler
=yes
17290 echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.
$ac_ext >&5
17293 ac_header_compiler
=no
17295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17297 echo "${ECHO_T}$ac_header_compiler" >&6
17299 # Is the header present?
17300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17302 cat >conftest.
$ac_ext <<_ACEOF
17305 cat confdefs.h
>>conftest.
$ac_ext
17306 cat >>conftest.
$ac_ext <<_ACEOF
17307 /* end confdefs.h. */
17308 #include <$ac_header>
17310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17311 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17313 grep -v '^ *+' conftest.er1
>conftest.err
17315 cat conftest.err
>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); } >/dev
/null
; then
17318 if test -s conftest.err
; then
17319 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17320 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17327 if test -z "$ac_cpp_err"; then
17328 ac_header_preproc
=yes
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.
$ac_ext >&5
17333 ac_header_preproc
=no
17335 rm -f conftest.err conftest.
$ac_ext
17336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17337 echo "${ECHO_T}$ac_header_preproc" >&6
17339 # So? What about this header?
17340 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17346 ac_header_preproc
=yes
17349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17363 ## ----------------------------------------- ##
17364 ## Report this to wx-dev@lists.wxwidgets.org ##
17365 ## ----------------------------------------- ##
17368 sed "s/^/$as_me: WARNING: /" >&2
17371 echo "$as_me:$LINENO: checking for $ac_header" >&5
17372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17374 echo $ECHO_N "(cached) $ECHO_C" >&6
17376 eval "$as_ac_Header=\$ac_header_preproc"
17378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17383 cat >>confdefs.h
<<_ACEOF
17384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17393 *-pc-os2_emx | *-pc-os2-emx )
17394 if test $ac_cv_header_langinfo_h = "yes" \
17395 -a \
( "$wx_cv_gccversion" = "EMX2" \
17396 -o "$wx_cv_gccversion" = "EMX3" \
17397 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17398 LIBS
="$LIBS -lintl"
17403 if test "$USE_UNIX" = 1 ; then
17405 for ac_header
in sys
/select.h
17407 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17409 echo "$as_me:$LINENO: checking for $ac_header" >&5
17410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17417 # Is the header compilable?
17418 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17419 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17420 cat >conftest.
$ac_ext <<_ACEOF
17423 cat confdefs.h
>>conftest.
$ac_ext
17424 cat >>conftest.
$ac_ext <<_ACEOF
17425 /* end confdefs.h. */
17426 $ac_includes_default
17427 #include <$ac_header>
17429 rm -f conftest.
$ac_objext
17430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17431 (eval $ac_compile) 2>conftest.er1
17433 grep -v '^ *+' conftest.er1
>conftest.err
17435 cat conftest.err
>&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); } &&
17438 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; } &&
17444 { ac_try
='test -s conftest.$ac_objext'
17445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446 (eval $ac_try) 2>&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; }; then
17450 ac_header_compiler
=yes
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.
$ac_ext >&5
17455 ac_header_compiler
=no
17457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17459 echo "${ECHO_T}$ac_header_compiler" >&6
17461 # Is the header present?
17462 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17463 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17464 cat >conftest.
$ac_ext <<_ACEOF
17467 cat confdefs.h
>>conftest.
$ac_ext
17468 cat >>conftest.
$ac_ext <<_ACEOF
17469 /* end confdefs.h. */
17470 #include <$ac_header>
17472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17473 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17475 grep -v '^ *+' conftest.er1
>conftest.err
17477 cat conftest.err
>&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); } >/dev
/null
; then
17480 if test -s conftest.err
; then
17481 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17482 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17489 if test -z "$ac_cpp_err"; then
17490 ac_header_preproc
=yes
17492 echo "$as_me: failed program was:" >&5
17493 sed 's/^/| /' conftest.
$ac_ext >&5
17495 ac_header_preproc
=no
17497 rm -f conftest.err conftest.
$ac_ext
17498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17499 echo "${ECHO_T}$ac_header_preproc" >&6
17501 # So? What about this header?
17502 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17508 ac_header_preproc
=yes
17511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17515 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17517 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17518 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17521 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17525 ## ----------------------------------------- ##
17526 ## Report this to wx-dev@lists.wxwidgets.org ##
17527 ## ----------------------------------------- ##
17530 sed "s/^/$as_me: WARNING: /" >&2
17533 echo "$as_me:$LINENO: checking for $ac_header" >&5
17534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17538 eval "$as_ac_Header=\$ac_header_preproc"
17540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17545 cat >>confdefs.h
<<_ACEOF
17546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17556 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17557 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17558 if test "${ac_cv_c_const+set}" = set; then
17559 echo $ECHO_N "(cached) $ECHO_C" >&6
17561 cat >conftest.
$ac_ext <<_ACEOF
17564 cat confdefs.h
>>conftest.
$ac_ext
17565 cat >>conftest.
$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17571 /* FIXME: Include the comments suggested by Paul. */
17572 #ifndef __cplusplus
17573 /* Ultrix mips cc rejects this. */
17574 typedef int charset[2];
17576 /* SunOS 4.1.1 cc rejects this. */
17577 char const *const *ccp;
17579 /* NEC SVR4.0.2 mips cc rejects this. */
17580 struct point {int x, y;};
17581 static struct point const zero = {0,0};
17582 /* AIX XL C 1.02.0.0 rejects this.
17583 It does not let you subtract one const X* pointer from another in
17584 an arm of an if-expression whose if-part is not a constant
17586 const char *g = "string";
17587 ccp = &g + (g ? g-g : 0);
17588 /* HPUX 7.0 cc rejects these. */
17591 ccp = (char const *const *) p;
17592 { /* SCO 3.2v4 cc rejects this. */
17594 char const *s = 0 ? (char *) 0 : (char const *) 0;
17598 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17599 int x[] = {25, 17};
17600 const int *foo = &x[0];
17603 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17604 typedef const int *iptr;
17608 { /* AIX XL C 1.02.0.0 rejects this saying
17609 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17610 struct s { int j; const int *ap[3]; };
17611 struct s *b; b->j = 5;
17613 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17614 const int foo = 10;
17622 rm -f conftest.
$ac_objext
17623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17624 (eval $ac_compile) 2>conftest.er1
17626 grep -v '^ *+' conftest.er1
>conftest.err
17628 cat conftest.err
>&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); } &&
17631 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17633 (eval $ac_try) 2>&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); }; } &&
17637 { ac_try
='test -s conftest.$ac_objext'
17638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17639 (eval $ac_try) 2>&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); }; }; then
17645 echo "$as_me: failed program was:" >&5
17646 sed 's/^/| /' conftest.
$ac_ext >&5
17650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17652 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17653 echo "${ECHO_T}$ac_cv_c_const" >&6
17654 if test $ac_cv_c_const = no
; then
17656 cat >>confdefs.h
<<\_ACEOF
17662 echo "$as_me:$LINENO: checking for inline" >&5
17663 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17664 if test "${ac_cv_c_inline+set}" = set; then
17665 echo $ECHO_N "(cached) $ECHO_C" >&6
17668 for ac_kw
in inline __inline__ __inline
; do
17669 cat >conftest.
$ac_ext <<_ACEOF
17672 cat confdefs.h
>>conftest.
$ac_ext
17673 cat >>conftest.
$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17675 #ifndef __cplusplus
17677 static $ac_kw foo_t static_foo () {return 0; }
17678 $ac_kw foo_t foo () {return 0; }
17682 rm -f conftest.
$ac_objext
17683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17684 (eval $ac_compile) 2>conftest.er1
17686 grep -v '^ *+' conftest.er1
>conftest.err
17688 cat conftest.err
>&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } &&
17691 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17693 (eval $ac_try) 2>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }; } &&
17697 { ac_try
='test -s conftest.$ac_objext'
17698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17699 (eval $ac_try) 2>&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); }; }; then
17703 ac_cv_c_inline
=$ac_kw; break
17705 echo "$as_me: failed program was:" >&5
17706 sed 's/^/| /' conftest.
$ac_ext >&5
17709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17713 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17714 echo "${ECHO_T}$ac_cv_c_inline" >&6
17717 case $ac_cv_c_inline in
17720 case $ac_cv_c_inline in
17722 *) ac_val
=$ac_cv_c_inline;;
17724 cat >>confdefs.h
<<_ACEOF
17725 #ifndef __cplusplus
17726 #define inline $ac_val
17733 echo "$as_me:$LINENO: checking for char" >&5
17734 echo $ECHO_N "checking for char... $ECHO_C" >&6
17735 if test "${ac_cv_type_char+set}" = set; then
17736 echo $ECHO_N "(cached) $ECHO_C" >&6
17738 cat >conftest.
$ac_ext <<_ACEOF
17741 cat confdefs.h
>>conftest.
$ac_ext
17742 cat >>conftest.
$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17744 $ac_includes_default
17756 rm -f conftest.
$ac_objext
17757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17758 (eval $ac_compile) 2>conftest.er1
17760 grep -v '^ *+' conftest.er1
>conftest.err
17762 cat conftest.err
>&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } &&
17765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; } &&
17771 { ac_try
='test -s conftest.$ac_objext'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; }; then
17777 ac_cv_type_char
=yes
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.
$ac_ext >&5
17784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17786 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17787 echo "${ECHO_T}$ac_cv_type_char" >&6
17789 echo "$as_me:$LINENO: checking size of char" >&5
17790 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17791 if test "${ac_cv_sizeof_char+set}" = set; then
17792 echo $ECHO_N "(cached) $ECHO_C" >&6
17794 if test "$ac_cv_type_char" = yes; then
17795 # The cast to unsigned long works around a bug in the HP C Compiler
17796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17798 # This bug is HP SR number 8606223364.
17799 if test "$cross_compiling" = yes; then
17800 # Depending upon the size, compute the lo and hi bounds.
17801 cat >conftest.
$ac_ext <<_ACEOF
17804 cat confdefs.h
>>conftest.
$ac_ext
17805 cat >>conftest.
$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17807 $ac_includes_default
17811 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17818 rm -f conftest.
$ac_objext
17819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17820 (eval $ac_compile) 2>conftest.er1
17822 grep -v '^ *+' conftest.er1
>conftest.err
17824 cat conftest.err
>&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } &&
17827 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829 (eval $ac_try) 2>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; } &&
17833 { ac_try
='test -s conftest.$ac_objext'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; }; then
17841 cat >conftest.
$ac_ext <<_ACEOF
17844 cat confdefs.h
>>conftest.
$ac_ext
17845 cat >>conftest.
$ac_ext <<_ACEOF
17846 /* end confdefs.h. */
17847 $ac_includes_default
17851 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17858 rm -f conftest.
$ac_objext
17859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17860 (eval $ac_compile) 2>conftest.er1
17862 grep -v '^ *+' conftest.er1
>conftest.err
17864 cat conftest.err
>&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } &&
17867 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; } &&
17873 { ac_try
='test -s conftest.$ac_objext'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17879 ac_hi
=$ac_mid; break
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.
$ac_ext >&5
17884 ac_lo
=`expr $ac_mid + 1`
17885 if test $ac_lo -le $ac_mid; then
17889 ac_mid
=`expr 2 '*' $ac_mid + 1`
17891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17894 echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.
$ac_ext >&5
17897 cat >conftest.
$ac_ext <<_ACEOF
17900 cat confdefs.h
>>conftest.
$ac_ext
17901 cat >>conftest.
$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17903 $ac_includes_default
17907 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17914 rm -f conftest.
$ac_objext
17915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17916 (eval $ac_compile) 2>conftest.er1
17918 grep -v '^ *+' conftest.er1
>conftest.err
17920 cat conftest.err
>&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); } &&
17923 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17925 (eval $ac_try) 2>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); }; } &&
17929 { ac_try
='test -s conftest.$ac_objext'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; }; then
17937 cat >conftest.
$ac_ext <<_ACEOF
17940 cat confdefs.h
>>conftest.
$ac_ext
17941 cat >>conftest.
$ac_ext <<_ACEOF
17942 /* end confdefs.h. */
17943 $ac_includes_default
17947 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17954 rm -f conftest.
$ac_objext
17955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17956 (eval $ac_compile) 2>conftest.er1
17958 grep -v '^ *+' conftest.er1
>conftest.err
17960 cat conftest.err
>&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } &&
17963 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17965 (eval $ac_try) 2>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); }; } &&
17969 { ac_try
='test -s conftest.$ac_objext'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; }; then
17975 ac_lo
=$ac_mid; break
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.
$ac_ext >&5
17980 ac_hi
=`expr '(' $ac_mid ')' - 1`
17981 if test $ac_mid -le $ac_hi; then
17985 ac_mid
=`expr 2 '*' $ac_mid`
17987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17990 echo "$as_me: failed program was:" >&5
17991 sed 's/^/| /' conftest.
$ac_ext >&5
17995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17998 # Binary search between lo and hi bounds.
17999 while test "x$ac_lo" != "x$ac_hi"; do
18000 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18001 cat >conftest.
$ac_ext <<_ACEOF
18004 cat confdefs.h
>>conftest.
$ac_ext
18005 cat >>conftest.
$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 $ac_includes_default
18011 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18018 rm -f conftest.
$ac_objext
18019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18020 (eval $ac_compile) 2>conftest.er1
18022 grep -v '^ *+' conftest.er1
>conftest.err
18024 cat conftest.err
>&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try
='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18041 echo "$as_me: failed program was:" >&5
18042 sed 's/^/| /' conftest.
$ac_ext >&5
18044 ac_lo
=`expr '(' $ac_mid ')' + 1`
18046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18049 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18050 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18051 See \`config.log' for more details." >&5
18052 echo "$as_me: error: cannot compute sizeof (char), 77
18053 See \`config.log' for more details." >&2;}
18054 { (exit 1); exit 1; }; } ;;
18057 if test "$cross_compiling" = yes; then
18058 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18059 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18060 { (exit 1); exit 1; }; }
18062 cat >conftest.
$ac_ext <<_ACEOF
18065 cat confdefs.h
>>conftest.
$ac_ext
18066 cat >>conftest.
$ac_ext <<_ACEOF
18067 /* end confdefs.h. */
18068 $ac_includes_default
18069 long longval () { return (long) (sizeof (char)); }
18070 unsigned long ulongval () { return (long) (sizeof (char)); }
18072 #include <stdlib.h>
18077 FILE *f = fopen ("conftest.val", "w");
18080 if (((long) (sizeof (char))) < 0)
18082 long i = longval ();
18083 if (i != ((long) (sizeof (char))))
18085 fprintf (f, "%ld\n", i);
18089 unsigned long i = ulongval ();
18090 if (i != ((long) (sizeof (char))))
18092 fprintf (f, "%lu\n", i);
18094 exit (ferror (f) || fclose (f) != 0);
18100 rm -f conftest
$ac_exeext
18101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18102 (eval $ac_link) 2>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; }; then
18111 ac_cv_sizeof_char
=`cat conftest.val`
18113 echo "$as_me: program exited with status $ac_status" >&5
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.
$ac_ext >&5
18117 ( exit $ac_status )
18118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18119 See \`config.log' for more details." >&5
18120 echo "$as_me: error: cannot compute sizeof (char), 77
18121 See \`config.log' for more details." >&2;}
18122 { (exit 1); exit 1; }; }
18124 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18129 ac_cv_sizeof_char
=0
18132 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18133 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18134 cat >>confdefs.h
<<_ACEOF
18135 #define SIZEOF_CHAR $ac_cv_sizeof_char
18139 echo "$as_me:$LINENO: checking for short" >&5
18140 echo $ECHO_N "checking for short... $ECHO_C" >&6
18141 if test "${ac_cv_type_short+set}" = set; then
18142 echo $ECHO_N "(cached) $ECHO_C" >&6
18144 cat >conftest.
$ac_ext <<_ACEOF
18147 cat confdefs.h
>>conftest.
$ac_ext
18148 cat >>conftest.
$ac_ext <<_ACEOF
18149 /* end confdefs.h. */
18150 $ac_includes_default
18156 if (sizeof (short))
18162 rm -f conftest.
$ac_objext
18163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18164 (eval $ac_compile) 2>conftest.er1
18166 grep -v '^ *+' conftest.er1
>conftest.err
18168 cat conftest.err
>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); } &&
18171 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18173 (eval $ac_try) 2>&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }; } &&
18177 { ac_try
='test -s conftest.$ac_objext'
18178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18179 (eval $ac_try) 2>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); }; }; then
18183 ac_cv_type_short
=yes
18185 echo "$as_me: failed program was:" >&5
18186 sed 's/^/| /' conftest.
$ac_ext >&5
18188 ac_cv_type_short
=no
18190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18192 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18193 echo "${ECHO_T}$ac_cv_type_short" >&6
18195 echo "$as_me:$LINENO: checking size of short" >&5
18196 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18197 if test "${ac_cv_sizeof_short+set}" = set; then
18198 echo $ECHO_N "(cached) $ECHO_C" >&6
18200 if test "$ac_cv_type_short" = yes; then
18201 # The cast to unsigned long works around a bug in the HP C Compiler
18202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18204 # This bug is HP SR number 8606223364.
18205 if test "$cross_compiling" = yes; then
18206 # Depending upon the size, compute the lo and hi bounds.
18207 cat >conftest.
$ac_ext <<_ACEOF
18210 cat confdefs.h
>>conftest.
$ac_ext
18211 cat >>conftest.
$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18213 $ac_includes_default
18217 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18224 rm -f conftest.
$ac_objext
18225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18226 (eval $ac_compile) 2>conftest.er1
18228 grep -v '^ *+' conftest.er1
>conftest.err
18230 cat conftest.err
>&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); } &&
18233 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235 (eval $ac_try) 2>&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); }; } &&
18239 { ac_try
='test -s conftest.$ac_objext'
18240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18241 (eval $ac_try) 2>&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); }; }; then
18247 cat >conftest.
$ac_ext <<_ACEOF
18250 cat confdefs.h
>>conftest.
$ac_ext
18251 cat >>conftest.
$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18253 $ac_includes_default
18257 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18264 rm -f conftest.
$ac_objext
18265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18266 (eval $ac_compile) 2>conftest.er1
18268 grep -v '^ *+' conftest.er1
>conftest.err
18270 cat conftest.err
>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); } &&
18273 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18275 (eval $ac_try) 2>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; } &&
18279 { ac_try
='test -s conftest.$ac_objext'
18280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18281 (eval $ac_try) 2>&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); }; }; then
18285 ac_hi
=$ac_mid; break
18287 echo "$as_me: failed program was:" >&5
18288 sed 's/^/| /' conftest.
$ac_ext >&5
18290 ac_lo
=`expr $ac_mid + 1`
18291 if test $ac_lo -le $ac_mid; then
18295 ac_mid
=`expr 2 '*' $ac_mid + 1`
18297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18300 echo "$as_me: failed program was:" >&5
18301 sed 's/^/| /' conftest.
$ac_ext >&5
18303 cat >conftest.
$ac_ext <<_ACEOF
18306 cat confdefs.h
>>conftest.
$ac_ext
18307 cat >>conftest.
$ac_ext <<_ACEOF
18308 /* end confdefs.h. */
18309 $ac_includes_default
18313 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18320 rm -f conftest.
$ac_objext
18321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18322 (eval $ac_compile) 2>conftest.er1
18324 grep -v '^ *+' conftest.er1
>conftest.err
18326 cat conftest.err
>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); } &&
18329 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; } &&
18335 { ac_try
='test -s conftest.$ac_objext'
18336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18337 (eval $ac_try) 2>&5
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); }; }; then
18343 cat >conftest.
$ac_ext <<_ACEOF
18346 cat confdefs.h
>>conftest.
$ac_ext
18347 cat >>conftest.
$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18349 $ac_includes_default
18353 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18360 rm -f conftest.
$ac_objext
18361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18362 (eval $ac_compile) 2>conftest.er1
18364 grep -v '^ *+' conftest.er1
>conftest.err
18366 cat conftest.err
>&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } &&
18369 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18371 (eval $ac_try) 2>&5
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); }; } &&
18375 { ac_try
='test -s conftest.$ac_objext'
18376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18377 (eval $ac_try) 2>&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); }; }; then
18381 ac_lo
=$ac_mid; break
18383 echo "$as_me: failed program was:" >&5
18384 sed 's/^/| /' conftest.
$ac_ext >&5
18386 ac_hi
=`expr '(' $ac_mid ')' - 1`
18387 if test $ac_mid -le $ac_hi; then
18391 ac_mid
=`expr 2 '*' $ac_mid`
18393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18396 echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.
$ac_ext >&5
18401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18404 # Binary search between lo and hi bounds.
18405 while test "x$ac_lo" != "x$ac_hi"; do
18406 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18407 cat >conftest.
$ac_ext <<_ACEOF
18410 cat confdefs.h
>>conftest.
$ac_ext
18411 cat >>conftest.
$ac_ext <<_ACEOF
18412 /* end confdefs.h. */
18413 $ac_includes_default
18417 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18424 rm -f conftest.
$ac_objext
18425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18426 (eval $ac_compile) 2>conftest.er1
18428 grep -v '^ *+' conftest.er1
>conftest.err
18430 cat conftest.err
>&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } &&
18433 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; } &&
18439 { ac_try
='test -s conftest.$ac_objext'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; }; then
18447 echo "$as_me: failed program was:" >&5
18448 sed 's/^/| /' conftest.
$ac_ext >&5
18450 ac_lo
=`expr '(' $ac_mid ')' + 1`
18452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18455 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18456 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18457 See \`config.log' for more details." >&5
18458 echo "$as_me: error: cannot compute sizeof (short), 77
18459 See \`config.log' for more details." >&2;}
18460 { (exit 1); exit 1; }; } ;;
18463 if test "$cross_compiling" = yes; then
18464 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18465 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18466 { (exit 1); exit 1; }; }
18468 cat >conftest.
$ac_ext <<_ACEOF
18471 cat confdefs.h
>>conftest.
$ac_ext
18472 cat >>conftest.
$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 $ac_includes_default
18475 long longval () { return (long) (sizeof (short)); }
18476 unsigned long ulongval () { return (long) (sizeof (short)); }
18478 #include <stdlib.h>
18483 FILE *f = fopen ("conftest.val", "w");
18486 if (((long) (sizeof (short))) < 0)
18488 long i = longval ();
18489 if (i != ((long) (sizeof (short))))
18491 fprintf (f, "%ld\n", i);
18495 unsigned long i = ulongval ();
18496 if (i != ((long) (sizeof (short))))
18498 fprintf (f, "%lu\n", i);
18500 exit (ferror (f) || fclose (f) != 0);
18506 rm -f conftest
$ac_exeext
18507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18508 (eval $ac_link) 2>&5
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18513 (eval $ac_try) 2>&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); }; }; then
18517 ac_cv_sizeof_short
=`cat conftest.val`
18519 echo "$as_me: program exited with status $ac_status" >&5
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.
$ac_ext >&5
18523 ( exit $ac_status )
18524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18525 See \`config.log' for more details." >&5
18526 echo "$as_me: error: cannot compute sizeof (short), 77
18527 See \`config.log' for more details." >&2;}
18528 { (exit 1); exit 1; }; }
18530 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18535 ac_cv_sizeof_short
=0
18538 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18539 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18540 cat >>confdefs.h
<<_ACEOF
18541 #define SIZEOF_SHORT $ac_cv_sizeof_short
18545 echo "$as_me:$LINENO: checking for void *" >&5
18546 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18547 if test "${ac_cv_type_void_p+set}" = set; then
18548 echo $ECHO_N "(cached) $ECHO_C" >&6
18550 cat >conftest.
$ac_ext <<_ACEOF
18553 cat confdefs.h
>>conftest.
$ac_ext
18554 cat >>conftest.
$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 $ac_includes_default
18562 if (sizeof (void *))
18568 rm -f conftest.
$ac_objext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18570 (eval $ac_compile) 2>conftest.er1
18572 grep -v '^ *+' conftest.er1
>conftest.err
18574 cat conftest.err
>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); } &&
18577 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; } &&
18583 { ac_try
='test -s conftest.$ac_objext'
18584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18585 (eval $ac_try) 2>&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); }; }; then
18589 ac_cv_type_void_p
=yes
18591 echo "$as_me: failed program was:" >&5
18592 sed 's/^/| /' conftest.
$ac_ext >&5
18594 ac_cv_type_void_p
=no
18596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18598 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18599 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18601 echo "$as_me:$LINENO: checking size of void *" >&5
18602 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18603 if test "${ac_cv_sizeof_void_p+set}" = set; then
18604 echo $ECHO_N "(cached) $ECHO_C" >&6
18606 if test "$ac_cv_type_void_p" = yes; then
18607 # The cast to unsigned long works around a bug in the HP C Compiler
18608 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18609 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18610 # This bug is HP SR number 8606223364.
18611 if test "$cross_compiling" = yes; then
18612 # Depending upon the size, compute the lo and hi bounds.
18613 cat >conftest.
$ac_ext <<_ACEOF
18616 cat confdefs.h
>>conftest.
$ac_ext
18617 cat >>conftest.
$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18619 $ac_includes_default
18623 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18630 rm -f conftest.
$ac_objext
18631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18632 (eval $ac_compile) 2>conftest.er1
18634 grep -v '^ *+' conftest.er1
>conftest.err
18636 cat conftest.err
>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } &&
18639 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; } &&
18645 { ac_try
='test -s conftest.$ac_objext'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; }; then
18653 cat >conftest.
$ac_ext <<_ACEOF
18656 cat confdefs.h
>>conftest.
$ac_ext
18657 cat >>conftest.
$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 $ac_includes_default
18663 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18670 rm -f conftest.
$ac_objext
18671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18672 (eval $ac_compile) 2>conftest.er1
18674 grep -v '^ *+' conftest.er1
>conftest.err
18676 cat conftest.err
>&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } &&
18679 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18681 (eval $ac_try) 2>&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); }; } &&
18685 { ac_try
='test -s conftest.$ac_objext'
18686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687 (eval $ac_try) 2>&5
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); }; }; then
18691 ac_hi
=$ac_mid; break
18693 echo "$as_me: failed program was:" >&5
18694 sed 's/^/| /' conftest.
$ac_ext >&5
18696 ac_lo
=`expr $ac_mid + 1`
18697 if test $ac_lo -le $ac_mid; then
18701 ac_mid
=`expr 2 '*' $ac_mid + 1`
18703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.
$ac_ext >&5
18709 cat >conftest.
$ac_ext <<_ACEOF
18712 cat confdefs.h
>>conftest.
$ac_ext
18713 cat >>conftest.
$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18715 $ac_includes_default
18719 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18726 rm -f conftest.
$ac_objext
18727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18728 (eval $ac_compile) 2>conftest.er1
18730 grep -v '^ *+' conftest.er1
>conftest.err
18732 cat conftest.err
>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } &&
18735 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; } &&
18741 { ac_try
='test -s conftest.$ac_objext'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; }; then
18749 cat >conftest.
$ac_ext <<_ACEOF
18752 cat confdefs.h
>>conftest.
$ac_ext
18753 cat >>conftest.
$ac_ext <<_ACEOF
18754 /* end confdefs.h. */
18755 $ac_includes_default
18759 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18766 rm -f conftest.
$ac_objext
18767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18768 (eval $ac_compile) 2>conftest.er1
18770 grep -v '^ *+' conftest.er1
>conftest.err
18772 cat conftest.err
>&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); } &&
18775 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18777 (eval $ac_try) 2>&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); }; } &&
18781 { ac_try
='test -s conftest.$ac_objext'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 ac_lo
=$ac_mid; break
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.
$ac_ext >&5
18792 ac_hi
=`expr '(' $ac_mid ')' - 1`
18793 if test $ac_mid -le $ac_hi; then
18797 ac_mid
=`expr 2 '*' $ac_mid`
18799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.
$ac_ext >&5
18807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18810 # Binary search between lo and hi bounds.
18811 while test "x$ac_lo" != "x$ac_hi"; do
18812 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18813 cat >conftest.
$ac_ext <<_ACEOF
18816 cat confdefs.h
>>conftest.
$ac_ext
18817 cat >>conftest.
$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18819 $ac_includes_default
18823 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18830 rm -f conftest.
$ac_objext
18831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18832 (eval $ac_compile) 2>conftest.er1
18834 grep -v '^ *+' conftest.er1
>conftest.err
18836 cat conftest.err
>&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } &&
18839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18841 (eval $ac_try) 2>&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); }; } &&
18845 { ac_try
='test -s conftest.$ac_objext'
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847 (eval $ac_try) 2>&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; }; then
18853 echo "$as_me: failed program was:" >&5
18854 sed 's/^/| /' conftest.
$ac_ext >&5
18856 ac_lo
=`expr '(' $ac_mid ')' + 1`
18858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18861 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18862 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18863 See \`config.log' for more details." >&5
18864 echo "$as_me: error: cannot compute sizeof (void *), 77
18865 See \`config.log' for more details." >&2;}
18866 { (exit 1); exit 1; }; } ;;
18869 if test "$cross_compiling" = yes; then
18870 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18871 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18872 { (exit 1); exit 1; }; }
18874 cat >conftest.
$ac_ext <<_ACEOF
18877 cat confdefs.h
>>conftest.
$ac_ext
18878 cat >>conftest.
$ac_ext <<_ACEOF
18879 /* end confdefs.h. */
18880 $ac_includes_default
18881 long longval () { return (long) (sizeof (void *)); }
18882 unsigned long ulongval () { return (long) (sizeof (void *)); }
18884 #include <stdlib.h>
18889 FILE *f = fopen ("conftest.val", "w");
18892 if (((long) (sizeof (void *))) < 0)
18894 long i = longval ();
18895 if (i != ((long) (sizeof (void *))))
18897 fprintf (f, "%ld\n", i);
18901 unsigned long i = ulongval ();
18902 if (i != ((long) (sizeof (void *))))
18904 fprintf (f, "%lu\n", i);
18906 exit (ferror (f) || fclose (f) != 0);
18912 rm -f conftest
$ac_exeext
18913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18914 (eval $ac_link) 2>&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; }; then
18923 ac_cv_sizeof_void_p
=`cat conftest.val`
18925 echo "$as_me: program exited with status $ac_status" >&5
18926 echo "$as_me: failed program was:" >&5
18927 sed 's/^/| /' conftest.
$ac_ext >&5
18929 ( exit $ac_status )
18930 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18931 See \`config.log' for more details." >&5
18932 echo "$as_me: error: cannot compute sizeof (void *), 77
18933 See \`config.log' for more details." >&2;}
18934 { (exit 1); exit 1; }; }
18936 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18941 ac_cv_sizeof_void_p
=0
18944 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18945 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18946 cat >>confdefs.h
<<_ACEOF
18947 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18951 echo "$as_me:$LINENO: checking for int" >&5
18952 echo $ECHO_N "checking for int... $ECHO_C" >&6
18953 if test "${ac_cv_type_int+set}" = set; then
18954 echo $ECHO_N "(cached) $ECHO_C" >&6
18956 cat >conftest.
$ac_ext <<_ACEOF
18959 cat confdefs.h
>>conftest.
$ac_ext
18960 cat >>conftest.
$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18962 $ac_includes_default
18974 rm -f conftest.
$ac_objext
18975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18976 (eval $ac_compile) 2>conftest.er1
18978 grep -v '^ *+' conftest.er1
>conftest.err
18980 cat conftest.err
>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); } &&
18983 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18985 (eval $ac_try) 2>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); }; } &&
18989 { ac_try
='test -s conftest.$ac_objext'
18990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18991 (eval $ac_try) 2>&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); }; }; then
18997 echo "$as_me: failed program was:" >&5
18998 sed 's/^/| /' conftest.
$ac_ext >&5
19002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19004 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19005 echo "${ECHO_T}$ac_cv_type_int" >&6
19007 echo "$as_me:$LINENO: checking size of int" >&5
19008 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19009 if test "${ac_cv_sizeof_int+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19012 if test "$ac_cv_type_int" = yes; then
19013 # The cast to unsigned long works around a bug in the HP C Compiler
19014 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19015 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19016 # This bug is HP SR number 8606223364.
19017 if test "$cross_compiling" = yes; then
19018 # Depending upon the size, compute the lo and hi bounds.
19019 cat >conftest.
$ac_ext <<_ACEOF
19022 cat confdefs.h
>>conftest.
$ac_ext
19023 cat >>conftest.
$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 $ac_includes_default
19029 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19036 rm -f conftest.
$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19040 grep -v '^ *+' conftest.er1
>conftest.err
19042 cat conftest.err
>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; } &&
19051 { ac_try
='test -s conftest.$ac_objext'
19052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19053 (eval $ac_try) 2>&5
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); }; }; then
19059 cat >conftest.
$ac_ext <<_ACEOF
19062 cat confdefs.h
>>conftest.
$ac_ext
19063 cat >>conftest.
$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19065 $ac_includes_default
19069 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19076 rm -f conftest.
$ac_objext
19077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19078 (eval $ac_compile) 2>conftest.er1
19080 grep -v '^ *+' conftest.er1
>conftest.err
19082 cat conftest.err
>&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); } &&
19085 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; } &&
19091 { ac_try
='test -s conftest.$ac_objext'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; }; then
19097 ac_hi
=$ac_mid; break
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.
$ac_ext >&5
19102 ac_lo
=`expr $ac_mid + 1`
19103 if test $ac_lo -le $ac_mid; then
19107 ac_mid
=`expr 2 '*' $ac_mid + 1`
19109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.
$ac_ext >&5
19115 cat >conftest.
$ac_ext <<_ACEOF
19118 cat confdefs.h
>>conftest.
$ac_ext
19119 cat >>conftest.
$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19121 $ac_includes_default
19125 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19132 rm -f conftest.
$ac_objext
19133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19134 (eval $ac_compile) 2>conftest.er1
19136 grep -v '^ *+' conftest.er1
>conftest.err
19138 cat conftest.err
>&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } &&
19141 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; } &&
19147 { ac_try
='test -s conftest.$ac_objext'
19148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19149 (eval $ac_try) 2>&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; }; then
19155 cat >conftest.
$ac_ext <<_ACEOF
19158 cat confdefs.h
>>conftest.
$ac_ext
19159 cat >>conftest.
$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 $ac_includes_default
19165 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19172 rm -f conftest.
$ac_objext
19173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19174 (eval $ac_compile) 2>conftest.er1
19176 grep -v '^ *+' conftest.er1
>conftest.err
19178 cat conftest.err
>&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); } &&
19181 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19183 (eval $ac_try) 2>&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); }; } &&
19187 { ac_try
='test -s conftest.$ac_objext'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; }; then
19193 ac_lo
=$ac_mid; break
19195 echo "$as_me: failed program was:" >&5
19196 sed 's/^/| /' conftest.
$ac_ext >&5
19198 ac_hi
=`expr '(' $ac_mid ')' - 1`
19199 if test $ac_mid -le $ac_hi; then
19203 ac_mid
=`expr 2 '*' $ac_mid`
19205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.
$ac_ext >&5
19213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19216 # Binary search between lo and hi bounds.
19217 while test "x$ac_lo" != "x$ac_hi"; do
19218 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19219 cat >conftest.
$ac_ext <<_ACEOF
19222 cat confdefs.h
>>conftest.
$ac_ext
19223 cat >>conftest.
$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19225 $ac_includes_default
19229 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19236 rm -f conftest.
$ac_objext
19237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19238 (eval $ac_compile) 2>conftest.er1
19240 grep -v '^ *+' conftest.er1
>conftest.err
19242 cat conftest.err
>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } &&
19245 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; } &&
19251 { ac_try
='test -s conftest.$ac_objext'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; }; then
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.
$ac_ext >&5
19262 ac_lo
=`expr '(' $ac_mid ')' + 1`
19264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19267 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19268 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19269 See \`config.log' for more details." >&5
19270 echo "$as_me: error: cannot compute sizeof (int), 77
19271 See \`config.log' for more details." >&2;}
19272 { (exit 1); exit 1; }; } ;;
19275 if test "$cross_compiling" = yes; then
19276 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19277 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19278 { (exit 1); exit 1; }; }
19280 cat >conftest.
$ac_ext <<_ACEOF
19283 cat confdefs.h
>>conftest.
$ac_ext
19284 cat >>conftest.
$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 $ac_includes_default
19287 long longval () { return (long) (sizeof (int)); }
19288 unsigned long ulongval () { return (long) (sizeof (int)); }
19290 #include <stdlib.h>
19295 FILE *f = fopen ("conftest.val", "w");
19298 if (((long) (sizeof (int))) < 0)
19300 long i = longval ();
19301 if (i != ((long) (sizeof (int))))
19303 fprintf (f, "%ld\n", i);
19307 unsigned long i = ulongval ();
19308 if (i != ((long) (sizeof (int))))
19310 fprintf (f, "%lu\n", i);
19312 exit (ferror (f) || fclose (f) != 0);
19318 rm -f conftest
$ac_exeext
19319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19320 (eval $ac_link) 2>&5
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19325 (eval $ac_try) 2>&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); }; }; then
19329 ac_cv_sizeof_int
=`cat conftest.val`
19331 echo "$as_me: program exited with status $ac_status" >&5
19332 echo "$as_me: failed program was:" >&5
19333 sed 's/^/| /' conftest.
$ac_ext >&5
19335 ( exit $ac_status )
19336 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19337 See \`config.log' for more details." >&5
19338 echo "$as_me: error: cannot compute sizeof (int), 77
19339 See \`config.log' for more details." >&2;}
19340 { (exit 1); exit 1; }; }
19342 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19350 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19351 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19352 cat >>confdefs.h
<<_ACEOF
19353 #define SIZEOF_INT $ac_cv_sizeof_int
19357 echo "$as_me:$LINENO: checking for long" >&5
19358 echo $ECHO_N "checking for long... $ECHO_C" >&6
19359 if test "${ac_cv_type_long+set}" = set; then
19360 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 cat >conftest.
$ac_ext <<_ACEOF
19365 cat confdefs.h
>>conftest.
$ac_ext
19366 cat >>conftest.
$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368 $ac_includes_default
19380 rm -f conftest.
$ac_objext
19381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19382 (eval $ac_compile) 2>conftest.er1
19384 grep -v '^ *+' conftest.er1
>conftest.err
19386 cat conftest.err
>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; } &&
19395 { ac_try
='test -s conftest.$ac_objext'
19396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19397 (eval $ac_try) 2>&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); }; }; then
19401 ac_cv_type_long
=yes
19403 echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.
$ac_ext >&5
19408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19410 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19411 echo "${ECHO_T}$ac_cv_type_long" >&6
19413 echo "$as_me:$LINENO: checking size of long" >&5
19414 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19415 if test "${ac_cv_sizeof_long+set}" = set; then
19416 echo $ECHO_N "(cached) $ECHO_C" >&6
19418 if test "$ac_cv_type_long" = yes; then
19419 # The cast to unsigned long works around a bug in the HP C Compiler
19420 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19421 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19422 # This bug is HP SR number 8606223364.
19423 if test "$cross_compiling" = yes; then
19424 # Depending upon the size, compute the lo and hi bounds.
19425 cat >conftest.
$ac_ext <<_ACEOF
19428 cat confdefs.h
>>conftest.
$ac_ext
19429 cat >>conftest.
$ac_ext <<_ACEOF
19430 /* end confdefs.h. */
19431 $ac_includes_default
19435 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19442 rm -f conftest.
$ac_objext
19443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19444 (eval $ac_compile) 2>conftest.er1
19446 grep -v '^ *+' conftest.er1
>conftest.err
19448 cat conftest.err
>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } &&
19451 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19453 (eval $ac_try) 2>&5
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); }; } &&
19457 { ac_try
='test -s conftest.$ac_objext'
19458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19459 (eval $ac_try) 2>&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; }; then
19465 cat >conftest.
$ac_ext <<_ACEOF
19468 cat confdefs.h
>>conftest.
$ac_ext
19469 cat >>conftest.
$ac_ext <<_ACEOF
19470 /* end confdefs.h. */
19471 $ac_includes_default
19475 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19482 rm -f conftest.
$ac_objext
19483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19484 (eval $ac_compile) 2>conftest.er1
19486 grep -v '^ *+' conftest.er1
>conftest.err
19488 cat conftest.err
>&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } &&
19491 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19493 (eval $ac_try) 2>&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); }; } &&
19497 { ac_try
='test -s conftest.$ac_objext'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; }; then
19503 ac_hi
=$ac_mid; break
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.
$ac_ext >&5
19508 ac_lo
=`expr $ac_mid + 1`
19509 if test $ac_lo -le $ac_mid; then
19513 ac_mid
=`expr 2 '*' $ac_mid + 1`
19515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19518 echo "$as_me: failed program was:" >&5
19519 sed 's/^/| /' conftest.
$ac_ext >&5
19521 cat >conftest.
$ac_ext <<_ACEOF
19524 cat confdefs.h
>>conftest.
$ac_ext
19525 cat >>conftest.
$ac_ext <<_ACEOF
19526 /* end confdefs.h. */
19527 $ac_includes_default
19531 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19538 rm -f conftest.
$ac_objext
19539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19540 (eval $ac_compile) 2>conftest.er1
19542 grep -v '^ *+' conftest.er1
>conftest.err
19544 cat conftest.err
>&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } &&
19547 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19549 (eval $ac_try) 2>&5
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); }; } &&
19553 { ac_try
='test -s conftest.$ac_objext'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; }; then
19561 cat >conftest.
$ac_ext <<_ACEOF
19564 cat confdefs.h
>>conftest.
$ac_ext
19565 cat >>conftest.
$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19567 $ac_includes_default
19571 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19578 rm -f conftest.
$ac_objext
19579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19580 (eval $ac_compile) 2>conftest.er1
19582 grep -v '^ *+' conftest.er1
>conftest.err
19584 cat conftest.err
>&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); } &&
19587 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; } &&
19593 { ac_try
='test -s conftest.$ac_objext'
19594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19595 (eval $ac_try) 2>&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); }; }; then
19599 ac_lo
=$ac_mid; break
19601 echo "$as_me: failed program was:" >&5
19602 sed 's/^/| /' conftest.
$ac_ext >&5
19604 ac_hi
=`expr '(' $ac_mid ')' - 1`
19605 if test $ac_mid -le $ac_hi; then
19609 ac_mid
=`expr 2 '*' $ac_mid`
19611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.
$ac_ext >&5
19619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19622 # Binary search between lo and hi bounds.
19623 while test "x$ac_lo" != "x$ac_hi"; do
19624 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19625 cat >conftest.
$ac_ext <<_ACEOF
19628 cat confdefs.h
>>conftest.
$ac_ext
19629 cat >>conftest.
$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 $ac_includes_default
19635 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19642 rm -f conftest.
$ac_objext
19643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19644 (eval $ac_compile) 2>conftest.er1
19646 grep -v '^ *+' conftest.er1
>conftest.err
19648 cat conftest.err
>&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } &&
19651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; } &&
19657 { ac_try
='test -s conftest.$ac_objext'
19658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19659 (eval $ac_try) 2>&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); }; }; then
19665 echo "$as_me: failed program was:" >&5
19666 sed 's/^/| /' conftest.
$ac_ext >&5
19668 ac_lo
=`expr '(' $ac_mid ')' + 1`
19670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19673 ?
*) ac_cv_sizeof_long
=$ac_lo;;
19674 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19675 See \`config.log' for more details." >&5
19676 echo "$as_me: error: cannot compute sizeof (long), 77
19677 See \`config.log' for more details." >&2;}
19678 { (exit 1); exit 1; }; } ;;
19681 if test "$cross_compiling" = yes; then
19682 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19683 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19684 { (exit 1); exit 1; }; }
19686 cat >conftest.
$ac_ext <<_ACEOF
19689 cat confdefs.h
>>conftest.
$ac_ext
19690 cat >>conftest.
$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 $ac_includes_default
19693 long longval () { return (long) (sizeof (long)); }
19694 unsigned long ulongval () { return (long) (sizeof (long)); }
19696 #include <stdlib.h>
19701 FILE *f = fopen ("conftest.val", "w");
19704 if (((long) (sizeof (long))) < 0)
19706 long i = longval ();
19707 if (i != ((long) (sizeof (long))))
19709 fprintf (f, "%ld\n", i);
19713 unsigned long i = ulongval ();
19714 if (i != ((long) (sizeof (long))))
19716 fprintf (f, "%lu\n", i);
19718 exit (ferror (f) || fclose (f) != 0);
19724 rm -f conftest
$ac_exeext
19725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19726 (eval $ac_link) 2>&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19731 (eval $ac_try) 2>&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); }; }; then
19735 ac_cv_sizeof_long
=`cat conftest.val`
19737 echo "$as_me: program exited with status $ac_status" >&5
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.
$ac_ext >&5
19741 ( exit $ac_status )
19742 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19743 See \`config.log' for more details." >&5
19744 echo "$as_me: error: cannot compute sizeof (long), 77
19745 See \`config.log' for more details." >&2;}
19746 { (exit 1); exit 1; }; }
19748 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19753 ac_cv_sizeof_long
=0
19756 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19757 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19758 cat >>confdefs.h
<<_ACEOF
19759 #define SIZEOF_LONG $ac_cv_sizeof_long
19763 echo "$as_me:$LINENO: checking for size_t" >&5
19764 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19765 if test "${ac_cv_type_size_t+set}" = set; then
19766 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 cat >conftest.
$ac_ext <<_ACEOF
19771 cat confdefs.h
>>conftest.
$ac_ext
19772 cat >>conftest.
$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19780 if (sizeof (size_t))
19786 rm -f conftest.
$ac_objext
19787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19788 (eval $ac_compile) 2>conftest.er1
19790 grep -v '^ *+' conftest.er1
>conftest.err
19792 cat conftest.err
>&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); } &&
19795 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19797 (eval $ac_try) 2>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); }; } &&
19801 { ac_try
='test -s conftest.$ac_objext'
19802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19803 (eval $ac_try) 2>&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); }; }; then
19807 ac_cv_type_size_t
=yes
19809 echo "$as_me: failed program was:" >&5
19810 sed 's/^/| /' conftest.
$ac_ext >&5
19812 ac_cv_type_size_t
=no
19814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19816 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19817 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19819 echo "$as_me:$LINENO: checking size of size_t" >&5
19820 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19821 if test "${ac_cv_sizeof_size_t+set}" = set; then
19822 echo $ECHO_N "(cached) $ECHO_C" >&6
19824 if test "$ac_cv_type_size_t" = yes; then
19825 # The cast to unsigned long works around a bug in the HP C Compiler
19826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19828 # This bug is HP SR number 8606223364.
19829 if test "$cross_compiling" = yes; then
19830 # Depending upon the size, compute the lo and hi bounds.
19831 cat >conftest.
$ac_ext <<_ACEOF
19834 cat confdefs.h
>>conftest.
$ac_ext
19835 cat >>conftest.
$ac_ext <<_ACEOF
19836 /* end confdefs.h. */
19837 $ac_includes_default
19841 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19848 rm -f conftest.
$ac_objext
19849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19850 (eval $ac_compile) 2>conftest.er1
19852 grep -v '^ *+' conftest.er1
>conftest.err
19854 cat conftest.err
>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); } &&
19857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19859 (eval $ac_try) 2>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); }; } &&
19863 { ac_try
='test -s conftest.$ac_objext'
19864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19865 (eval $ac_try) 2>&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); }; }; then
19871 cat >conftest.
$ac_ext <<_ACEOF
19874 cat confdefs.h
>>conftest.
$ac_ext
19875 cat >>conftest.
$ac_ext <<_ACEOF
19876 /* end confdefs.h. */
19877 $ac_includes_default
19881 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19888 rm -f conftest.
$ac_objext
19889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19890 (eval $ac_compile) 2>conftest.er1
19892 grep -v '^ *+' conftest.er1
>conftest.err
19894 cat conftest.err
>&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } &&
19897 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19899 (eval $ac_try) 2>&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); }; } &&
19903 { ac_try
='test -s conftest.$ac_objext'
19904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19905 (eval $ac_try) 2>&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); }; }; then
19909 ac_hi
=$ac_mid; break
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.
$ac_ext >&5
19914 ac_lo
=`expr $ac_mid + 1`
19915 if test $ac_lo -le $ac_mid; then
19919 ac_mid
=`expr 2 '*' $ac_mid + 1`
19921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.
$ac_ext >&5
19927 cat >conftest.
$ac_ext <<_ACEOF
19930 cat confdefs.h
>>conftest.
$ac_ext
19931 cat >>conftest.
$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19933 $ac_includes_default
19937 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19944 rm -f conftest.
$ac_objext
19945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19946 (eval $ac_compile) 2>conftest.er1
19948 grep -v '^ *+' conftest.er1
>conftest.err
19950 cat conftest.err
>&5
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); } &&
19953 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19955 (eval $ac_try) 2>&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); }; } &&
19959 { ac_try
='test -s conftest.$ac_objext'
19960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19961 (eval $ac_try) 2>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); }; }; then
19967 cat >conftest.
$ac_ext <<_ACEOF
19970 cat confdefs.h
>>conftest.
$ac_ext
19971 cat >>conftest.
$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 $ac_includes_default
19977 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19984 rm -f conftest.
$ac_objext
19985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19986 (eval $ac_compile) 2>conftest.er1
19988 grep -v '^ *+' conftest.er1
>conftest.err
19990 cat conftest.err
>&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); } &&
19993 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; } &&
19999 { ac_try
='test -s conftest.$ac_objext'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; }; then
20005 ac_lo
=$ac_mid; break
20007 echo "$as_me: failed program was:" >&5
20008 sed 's/^/| /' conftest.
$ac_ext >&5
20010 ac_hi
=`expr '(' $ac_mid ')' - 1`
20011 if test $ac_mid -le $ac_hi; then
20015 ac_mid
=`expr 2 '*' $ac_mid`
20017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20020 echo "$as_me: failed program was:" >&5
20021 sed 's/^/| /' conftest.
$ac_ext >&5
20025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20028 # Binary search between lo and hi bounds.
20029 while test "x$ac_lo" != "x$ac_hi"; do
20030 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20031 cat >conftest.
$ac_ext <<_ACEOF
20034 cat confdefs.h
>>conftest.
$ac_ext
20035 cat >>conftest.
$ac_ext <<_ACEOF
20036 /* end confdefs.h. */
20037 $ac_includes_default
20041 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20048 rm -f conftest.
$ac_objext
20049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20050 (eval $ac_compile) 2>conftest.er1
20052 grep -v '^ *+' conftest.er1
>conftest.err
20054 cat conftest.err
>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); } &&
20057 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20059 (eval $ac_try) 2>&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); }; } &&
20063 { ac_try
='test -s conftest.$ac_objext'
20064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20065 (eval $ac_try) 2>&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); }; }; then
20071 echo "$as_me: failed program was:" >&5
20072 sed 's/^/| /' conftest.
$ac_ext >&5
20074 ac_lo
=`expr '(' $ac_mid ')' + 1`
20076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20079 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20080 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20081 See \`config.log' for more details." >&5
20082 echo "$as_me: error: cannot compute sizeof (size_t), 77
20083 See \`config.log' for more details." >&2;}
20084 { (exit 1); exit 1; }; } ;;
20087 if test "$cross_compiling" = yes; then
20088 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20089 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20090 { (exit 1); exit 1; }; }
20092 cat >conftest.
$ac_ext <<_ACEOF
20095 cat confdefs.h
>>conftest.
$ac_ext
20096 cat >>conftest.
$ac_ext <<_ACEOF
20097 /* end confdefs.h. */
20098 $ac_includes_default
20099 long longval () { return (long) (sizeof (size_t)); }
20100 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20102 #include <stdlib.h>
20107 FILE *f = fopen ("conftest.val", "w");
20110 if (((long) (sizeof (size_t))) < 0)
20112 long i = longval ();
20113 if (i != ((long) (sizeof (size_t))))
20115 fprintf (f, "%ld\n", i);
20119 unsigned long i = ulongval ();
20120 if (i != ((long) (sizeof (size_t))))
20122 fprintf (f, "%lu\n", i);
20124 exit (ferror (f) || fclose (f) != 0);
20130 rm -f conftest
$ac_exeext
20131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20132 (eval $ac_link) 2>&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 (eval $ac_try) 2>&5
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); }; }; then
20141 ac_cv_sizeof_size_t
=`cat conftest.val`
20143 echo "$as_me: program exited with status $ac_status" >&5
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.
$ac_ext >&5
20147 ( exit $ac_status )
20148 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20149 See \`config.log' for more details." >&5
20150 echo "$as_me: error: cannot compute sizeof (size_t), 77
20151 See \`config.log' for more details." >&2;}
20152 { (exit 1); exit 1; }; }
20154 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20159 ac_cv_sizeof_size_t
=0
20162 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20163 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20164 cat >>confdefs.h
<<_ACEOF
20165 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20172 echo "$as_me:$LINENO: checking for long long" >&5
20173 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20174 if test "${ac_cv_type_long_long+set}" = set; then
20175 echo $ECHO_N "(cached) $ECHO_C" >&6
20177 cat >conftest.
$ac_ext <<_ACEOF
20180 cat confdefs.h
>>conftest.
$ac_ext
20181 cat >>conftest.
$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20183 $ac_includes_default
20187 if ((long long *) 0)
20189 if (sizeof (long long))
20195 rm -f conftest.
$ac_objext
20196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20197 (eval $ac_compile) 2>conftest.er1
20199 grep -v '^ *+' conftest.er1
>conftest.err
20201 cat conftest.err
>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } &&
20204 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206 (eval $ac_try) 2>&5
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; } &&
20210 { ac_try
='test -s conftest.$ac_objext'
20211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20212 (eval $ac_try) 2>&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; }; then
20216 ac_cv_type_long_long
=yes
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.
$ac_ext >&5
20221 ac_cv_type_long_long
=no
20223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20225 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20226 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20228 echo "$as_me:$LINENO: checking size of long long" >&5
20229 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20230 if test "${ac_cv_sizeof_long_long+set}" = set; then
20231 echo $ECHO_N "(cached) $ECHO_C" >&6
20233 if test "$ac_cv_type_long_long" = yes; then
20234 # The cast to unsigned long works around a bug in the HP C Compiler
20235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20236 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20237 # This bug is HP SR number 8606223364.
20238 if test "$cross_compiling" = yes; then
20239 # Depending upon the size, compute the lo and hi bounds.
20240 cat >conftest.
$ac_ext <<_ACEOF
20243 cat confdefs.h
>>conftest.
$ac_ext
20244 cat >>conftest.
$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 $ac_includes_default
20250 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20257 rm -f conftest.
$ac_objext
20258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20259 (eval $ac_compile) 2>conftest.er1
20261 grep -v '^ *+' conftest.er1
>conftest.err
20263 cat conftest.err
>&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); } &&
20266 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20268 (eval $ac_try) 2>&5
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); }; } &&
20272 { ac_try
='test -s conftest.$ac_objext'
20273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20274 (eval $ac_try) 2>&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); }; }; then
20280 cat >conftest.
$ac_ext <<_ACEOF
20283 cat confdefs.h
>>conftest.
$ac_ext
20284 cat >>conftest.
$ac_ext <<_ACEOF
20285 /* end confdefs.h. */
20286 $ac_includes_default
20290 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20297 rm -f conftest.
$ac_objext
20298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20299 (eval $ac_compile) 2>conftest.er1
20301 grep -v '^ *+' conftest.er1
>conftest.err
20303 cat conftest.err
>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); } &&
20306 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; } &&
20312 { ac_try
='test -s conftest.$ac_objext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20318 ac_hi
=$ac_mid; break
20320 echo "$as_me: failed program was:" >&5
20321 sed 's/^/| /' conftest.
$ac_ext >&5
20323 ac_lo
=`expr $ac_mid + 1`
20324 if test $ac_lo -le $ac_mid; then
20328 ac_mid
=`expr 2 '*' $ac_mid + 1`
20330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20333 echo "$as_me: failed program was:" >&5
20334 sed 's/^/| /' conftest.
$ac_ext >&5
20336 cat >conftest.
$ac_ext <<_ACEOF
20339 cat confdefs.h
>>conftest.
$ac_ext
20340 cat >>conftest.
$ac_ext <<_ACEOF
20341 /* end confdefs.h. */
20342 $ac_includes_default
20346 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20353 rm -f conftest.
$ac_objext
20354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20355 (eval $ac_compile) 2>conftest.er1
20357 grep -v '^ *+' conftest.er1
>conftest.err
20359 cat conftest.err
>&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } &&
20362 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; } &&
20368 { ac_try
='test -s conftest.$ac_objext'
20369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370 (eval $ac_try) 2>&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20376 cat >conftest.
$ac_ext <<_ACEOF
20379 cat confdefs.h
>>conftest.
$ac_ext
20380 cat >>conftest.
$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 $ac_includes_default
20386 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20393 rm -f conftest.
$ac_objext
20394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20395 (eval $ac_compile) 2>conftest.er1
20397 grep -v '^ *+' conftest.er1
>conftest.err
20399 cat conftest.err
>&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } &&
20402 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; } &&
20408 { ac_try
='test -s conftest.$ac_objext'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; }; then
20414 ac_lo
=$ac_mid; break
20416 echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.
$ac_ext >&5
20419 ac_hi
=`expr '(' $ac_mid ')' - 1`
20420 if test $ac_mid -le $ac_hi; then
20424 ac_mid
=`expr 2 '*' $ac_mid`
20426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20429 echo "$as_me: failed program was:" >&5
20430 sed 's/^/| /' conftest.
$ac_ext >&5
20434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20437 # Binary search between lo and hi bounds.
20438 while test "x$ac_lo" != "x$ac_hi"; do
20439 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20440 cat >conftest.
$ac_ext <<_ACEOF
20443 cat confdefs.h
>>conftest.
$ac_ext
20444 cat >>conftest.
$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20446 $ac_includes_default
20450 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20457 rm -f conftest.
$ac_objext
20458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20459 (eval $ac_compile) 2>conftest.er1
20461 grep -v '^ *+' conftest.er1
>conftest.err
20463 cat conftest.err
>&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); } &&
20466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; } &&
20472 { ac_try
='test -s conftest.$ac_objext'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20474 (eval $ac_try) 2>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; }; then
20480 echo "$as_me: failed program was:" >&5
20481 sed 's/^/| /' conftest.
$ac_ext >&5
20483 ac_lo
=`expr '(' $ac_mid ')' + 1`
20485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20488 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20489 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20490 See \`config.log' for more details." >&5
20491 echo "$as_me: error: cannot compute sizeof (long long), 77
20492 See \`config.log' for more details." >&2;}
20493 { (exit 1); exit 1; }; } ;;
20496 if test "$cross_compiling" = yes; then
20497 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20498 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20499 { (exit 1); exit 1; }; }
20501 cat >conftest.
$ac_ext <<_ACEOF
20504 cat confdefs.h
>>conftest.
$ac_ext
20505 cat >>conftest.
$ac_ext <<_ACEOF
20506 /* end confdefs.h. */
20507 $ac_includes_default
20508 long longval () { return (long) (sizeof (long long)); }
20509 unsigned long ulongval () { return (long) (sizeof (long long)); }
20511 #include <stdlib.h>
20516 FILE *f = fopen ("conftest.val", "w");
20519 if (((long) (sizeof (long long))) < 0)
20521 long i = longval ();
20522 if (i != ((long) (sizeof (long long))))
20524 fprintf (f, "%ld\n", i);
20528 unsigned long i = ulongval ();
20529 if (i != ((long) (sizeof (long long))))
20531 fprintf (f, "%lu\n", i);
20533 exit (ferror (f) || fclose (f) != 0);
20539 rm -f conftest
$ac_exeext
20540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20541 (eval $ac_link) 2>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_cv_sizeof_long_long
=`cat conftest.val`
20552 echo "$as_me: program exited with status $ac_status" >&5
20553 echo "$as_me: failed program was:" >&5
20554 sed 's/^/| /' conftest.
$ac_ext >&5
20556 ( exit $ac_status )
20557 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20558 See \`config.log' for more details." >&5
20559 echo "$as_me: error: cannot compute sizeof (long long), 77
20560 See \`config.log' for more details." >&2;}
20561 { (exit 1); exit 1; }; }
20563 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20568 ac_cv_sizeof_long_long
=0
20571 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20572 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20573 cat >>confdefs.h
<<_ACEOF
20574 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20580 echo "$as_me:$LINENO: checking for long long" >&5
20581 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20582 if test "${ac_cv_type_long_long+set}" = set; then
20583 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 cat >conftest.
$ac_ext <<_ACEOF
20588 cat confdefs.h
>>conftest.
$ac_ext
20589 cat >>conftest.
$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20591 $ac_includes_default
20595 if ((long long *) 0)
20597 if (sizeof (long long))
20603 rm -f conftest.
$ac_objext
20604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20605 (eval $ac_compile) 2>conftest.er1
20607 grep -v '^ *+' conftest.er1
>conftest.err
20609 cat conftest.err
>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } &&
20612 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20614 (eval $ac_try) 2>&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; } &&
20618 { ac_try
='test -s conftest.$ac_objext'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; }; then
20624 ac_cv_type_long_long
=yes
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.
$ac_ext >&5
20629 ac_cv_type_long_long
=no
20631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20633 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20634 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20636 echo "$as_me:$LINENO: checking size of long long" >&5
20637 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20638 if test "${ac_cv_sizeof_long_long+set}" = set; then
20639 echo $ECHO_N "(cached) $ECHO_C" >&6
20641 if test "$ac_cv_type_long_long" = yes; then
20642 # The cast to unsigned long works around a bug in the HP C Compiler
20643 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20644 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20645 # This bug is HP SR number 8606223364.
20646 if test "$cross_compiling" = yes; then
20647 # Depending upon the size, compute the lo and hi bounds.
20648 cat >conftest.
$ac_ext <<_ACEOF
20651 cat confdefs.h
>>conftest.
$ac_ext
20652 cat >>conftest.
$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 $ac_includes_default
20658 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20665 rm -f conftest.
$ac_objext
20666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20667 (eval $ac_compile) 2>conftest.er1
20669 grep -v '^ *+' conftest.er1
>conftest.err
20671 cat conftest.err
>&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); } &&
20674 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20676 (eval $ac_try) 2>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; } &&
20680 { ac_try
='test -s conftest.$ac_objext'
20681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20682 (eval $ac_try) 2>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); }; }; then
20688 cat >conftest.
$ac_ext <<_ACEOF
20691 cat confdefs.h
>>conftest.
$ac_ext
20692 cat >>conftest.
$ac_ext <<_ACEOF
20693 /* end confdefs.h. */
20694 $ac_includes_default
20698 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20705 rm -f conftest.
$ac_objext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20707 (eval $ac_compile) 2>conftest.er1
20709 grep -v '^ *+' conftest.er1
>conftest.err
20711 cat conftest.err
>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); } &&
20714 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; } &&
20720 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
20726 ac_hi
=$ac_mid; break
20728 echo "$as_me: failed program was:" >&5
20729 sed 's/^/| /' conftest.
$ac_ext >&5
20731 ac_lo
=`expr $ac_mid + 1`
20732 if test $ac_lo -le $ac_mid; then
20736 ac_mid
=`expr 2 '*' $ac_mid + 1`
20738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20741 echo "$as_me: failed program was:" >&5
20742 sed 's/^/| /' conftest.
$ac_ext >&5
20744 cat >conftest.
$ac_ext <<_ACEOF
20747 cat confdefs.h
>>conftest.
$ac_ext
20748 cat >>conftest.
$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20750 $ac_includes_default
20754 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20761 rm -f conftest.
$ac_objext
20762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20763 (eval $ac_compile) 2>conftest.er1
20765 grep -v '^ *+' conftest.er1
>conftest.err
20767 cat conftest.err
>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } &&
20770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; } &&
20776 { ac_try
='test -s conftest.$ac_objext'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; }; then
20784 cat >conftest.
$ac_ext <<_ACEOF
20787 cat confdefs.h
>>conftest.
$ac_ext
20788 cat >>conftest.
$ac_ext <<_ACEOF
20789 /* end confdefs.h. */
20790 $ac_includes_default
20794 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20801 rm -f conftest.
$ac_objext
20802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20803 (eval $ac_compile) 2>conftest.er1
20805 grep -v '^ *+' conftest.er1
>conftest.err
20807 cat conftest.err
>&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); } &&
20810 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20812 (eval $ac_try) 2>&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); }; } &&
20816 { ac_try
='test -s conftest.$ac_objext'
20817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20818 (eval $ac_try) 2>&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); }; }; then
20822 ac_lo
=$ac_mid; break
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.
$ac_ext >&5
20827 ac_hi
=`expr '(' $ac_mid ')' - 1`
20828 if test $ac_mid -le $ac_hi; then
20832 ac_mid
=`expr 2 '*' $ac_mid`
20834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.
$ac_ext >&5
20842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20845 # Binary search between lo and hi bounds.
20846 while test "x$ac_lo" != "x$ac_hi"; do
20847 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20848 cat >conftest.
$ac_ext <<_ACEOF
20851 cat confdefs.h
>>conftest.
$ac_ext
20852 cat >>conftest.
$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20854 $ac_includes_default
20858 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20865 rm -f conftest.
$ac_objext
20866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20867 (eval $ac_compile) 2>conftest.er1
20869 grep -v '^ *+' conftest.er1
>conftest.err
20871 cat conftest.err
>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } &&
20874 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20876 (eval $ac_try) 2>&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; } &&
20880 { ac_try
='test -s conftest.$ac_objext'
20881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20882 (eval $ac_try) 2>&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); }; }; then
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.
$ac_ext >&5
20891 ac_lo
=`expr '(' $ac_mid ')' + 1`
20893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20896 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20897 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20898 See \`config.log' for more details." >&5
20899 echo "$as_me: error: cannot compute sizeof (long long), 77
20900 See \`config.log' for more details." >&2;}
20901 { (exit 1); exit 1; }; } ;;
20904 if test "$cross_compiling" = yes; then
20905 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20906 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20907 { (exit 1); exit 1; }; }
20909 cat >conftest.
$ac_ext <<_ACEOF
20912 cat confdefs.h
>>conftest.
$ac_ext
20913 cat >>conftest.
$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 $ac_includes_default
20916 long longval () { return (long) (sizeof (long long)); }
20917 unsigned long ulongval () { return (long) (sizeof (long long)); }
20919 #include <stdlib.h>
20924 FILE *f = fopen ("conftest.val", "w");
20927 if (((long) (sizeof (long long))) < 0)
20929 long i = longval ();
20930 if (i != ((long) (sizeof (long long))))
20932 fprintf (f, "%ld\n", i);
20936 unsigned long i = ulongval ();
20937 if (i != ((long) (sizeof (long long))))
20939 fprintf (f, "%lu\n", i);
20941 exit (ferror (f) || fclose (f) != 0);
20947 rm -f conftest
$ac_exeext
20948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20949 (eval $ac_link) 2>&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954 (eval $ac_try) 2>&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); }; }; then
20958 ac_cv_sizeof_long_long
=`cat conftest.val`
20960 echo "$as_me: program exited with status $ac_status" >&5
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.
$ac_ext >&5
20964 ( exit $ac_status )
20965 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20966 See \`config.log' for more details." >&5
20967 echo "$as_me: error: cannot compute sizeof (long long), 77
20968 See \`config.log' for more details." >&2;}
20969 { (exit 1); exit 1; }; }
20971 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20976 ac_cv_sizeof_long_long
=0
20979 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20980 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20981 cat >>confdefs.h
<<_ACEOF
20982 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20986 if test "$ac_cv_sizeof_long_long" != "0"; then
20987 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20991 echo "$as_me:$LINENO: checking for long long" >&5
20992 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20993 if test "${ac_cv_type_long_long+set}" = set; then
20994 echo $ECHO_N "(cached) $ECHO_C" >&6
20996 cat >conftest.
$ac_ext <<_ACEOF
20999 cat confdefs.h
>>conftest.
$ac_ext
21000 cat >>conftest.
$ac_ext <<_ACEOF
21001 /* end confdefs.h. */
21002 $ac_includes_default
21006 if ((long long *) 0)
21008 if (sizeof (long long))
21014 rm -f conftest.
$ac_objext
21015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21016 (eval $ac_compile) 2>conftest.er1
21018 grep -v '^ *+' conftest.er1
>conftest.err
21020 cat conftest.err
>&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } &&
21023 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; } &&
21029 { ac_try
='test -s conftest.$ac_objext'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; }; then
21035 ac_cv_type_long_long
=yes
21037 echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.
$ac_ext >&5
21040 ac_cv_type_long_long
=no
21042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21044 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21045 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21047 echo "$as_me:$LINENO: checking size of long long" >&5
21048 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21049 if test "${ac_cv_sizeof_long_long+set}" = set; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21052 if test "$ac_cv_type_long_long" = yes; then
21053 # The cast to unsigned long works around a bug in the HP C Compiler
21054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21056 # This bug is HP SR number 8606223364.
21057 if test "$cross_compiling" = yes; then
21058 # Depending upon the size, compute the lo and hi bounds.
21059 cat >conftest.
$ac_ext <<_ACEOF
21062 cat confdefs.h
>>conftest.
$ac_ext
21063 cat >>conftest.
$ac_ext <<_ACEOF
21064 /* end confdefs.h. */
21065 $ac_includes_default
21069 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21076 rm -f conftest.
$ac_objext
21077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21078 (eval $ac_compile) 2>conftest.er1
21080 grep -v '^ *+' conftest.er1
>conftest.err
21082 cat conftest.err
>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } &&
21085 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; } &&
21091 { ac_try
='test -s conftest.$ac_objext'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; }; then
21099 cat >conftest.
$ac_ext <<_ACEOF
21102 cat confdefs.h
>>conftest.
$ac_ext
21103 cat >>conftest.
$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 $ac_includes_default
21109 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21116 rm -f conftest.
$ac_objext
21117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21118 (eval $ac_compile) 2>conftest.er1
21120 grep -v '^ *+' conftest.er1
>conftest.err
21122 cat conftest.err
>&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); } &&
21125 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21127 (eval $ac_try) 2>&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); }; } &&
21131 { ac_try
='test -s conftest.$ac_objext'
21132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133 (eval $ac_try) 2>&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); }; }; then
21137 ac_hi
=$ac_mid; break
21139 echo "$as_me: failed program was:" >&5
21140 sed 's/^/| /' conftest.
$ac_ext >&5
21142 ac_lo
=`expr $ac_mid + 1`
21143 if test $ac_lo -le $ac_mid; then
21147 ac_mid
=`expr 2 '*' $ac_mid + 1`
21149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21152 echo "$as_me: failed program was:" >&5
21153 sed 's/^/| /' conftest.
$ac_ext >&5
21155 cat >conftest.
$ac_ext <<_ACEOF
21158 cat confdefs.h
>>conftest.
$ac_ext
21159 cat >>conftest.
$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 $ac_includes_default
21165 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21172 rm -f conftest.
$ac_objext
21173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21174 (eval $ac_compile) 2>conftest.er1
21176 grep -v '^ *+' conftest.er1
>conftest.err
21178 cat conftest.err
>&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } &&
21181 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21183 (eval $ac_try) 2>&5
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); }; } &&
21187 { ac_try
='test -s conftest.$ac_objext'
21188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21189 (eval $ac_try) 2>&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); }; }; then
21195 cat >conftest.
$ac_ext <<_ACEOF
21198 cat confdefs.h
>>conftest.
$ac_ext
21199 cat >>conftest.
$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21205 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21212 rm -f conftest.
$ac_objext
21213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21214 (eval $ac_compile) 2>conftest.er1
21216 grep -v '^ *+' conftest.er1
>conftest.err
21218 cat conftest.err
>&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } &&
21221 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21223 (eval $ac_try) 2>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; } &&
21227 { ac_try
='test -s conftest.$ac_objext'
21228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21229 (eval $ac_try) 2>&5
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); }; }; then
21233 ac_lo
=$ac_mid; break
21235 echo "$as_me: failed program was:" >&5
21236 sed 's/^/| /' conftest.
$ac_ext >&5
21238 ac_hi
=`expr '(' $ac_mid ')' - 1`
21239 if test $ac_mid -le $ac_hi; then
21243 ac_mid
=`expr 2 '*' $ac_mid`
21245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.
$ac_ext >&5
21253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21256 # Binary search between lo and hi bounds.
21257 while test "x$ac_lo" != "x$ac_hi"; do
21258 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21259 cat >conftest.
$ac_ext <<_ACEOF
21262 cat confdefs.h
>>conftest.
$ac_ext
21263 cat >>conftest.
$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 $ac_includes_default
21269 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21276 rm -f conftest.
$ac_objext
21277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21278 (eval $ac_compile) 2>conftest.er1
21280 grep -v '^ *+' conftest.er1
>conftest.err
21282 cat conftest.err
>&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } &&
21285 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; } &&
21291 { ac_try
='test -s conftest.$ac_objext'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; }; then
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.
$ac_ext >&5
21302 ac_lo
=`expr '(' $ac_mid ')' + 1`
21304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21307 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21308 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21309 See \`config.log' for more details." >&5
21310 echo "$as_me: error: cannot compute sizeof (long long), 77
21311 See \`config.log' for more details." >&2;}
21312 { (exit 1); exit 1; }; } ;;
21315 if test "$cross_compiling" = yes; then
21316 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21317 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21318 { (exit 1); exit 1; }; }
21320 cat >conftest.
$ac_ext <<_ACEOF
21323 cat confdefs.h
>>conftest.
$ac_ext
21324 cat >>conftest.
$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21326 $ac_includes_default
21327 long longval () { return (long) (sizeof (long long)); }
21328 unsigned long ulongval () { return (long) (sizeof (long long)); }
21330 #include <stdlib.h>
21335 FILE *f = fopen ("conftest.val", "w");
21338 if (((long) (sizeof (long long))) < 0)
21340 long i = longval ();
21341 if (i != ((long) (sizeof (long long))))
21343 fprintf (f, "%ld\n", i);
21347 unsigned long i = ulongval ();
21348 if (i != ((long) (sizeof (long long))))
21350 fprintf (f, "%lu\n", i);
21352 exit (ferror (f) || fclose (f) != 0);
21358 rm -f conftest
$ac_exeext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21360 (eval $ac_link) 2>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21365 (eval $ac_try) 2>&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); }; }; then
21369 ac_cv_sizeof_long_long
=`cat conftest.val`
21371 echo "$as_me: program exited with status $ac_status" >&5
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.
$ac_ext >&5
21375 ( exit $ac_status )
21376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21377 See \`config.log' for more details." >&5
21378 echo "$as_me: error: cannot compute sizeof (long long), 77
21379 See \`config.log' for more details." >&2;}
21380 { (exit 1); exit 1; }; }
21382 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21387 ac_cv_sizeof_long_long
=0
21390 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21391 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21392 cat >>confdefs.h
<<_ACEOF
21393 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21399 echo "$as_me:$LINENO: checking for wchar_t" >&5
21400 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21401 if test "${ac_cv_type_wchar_t+set}" = set; then
21402 echo $ECHO_N "(cached) $ECHO_C" >&6
21404 cat >conftest.
$ac_ext <<_ACEOF
21407 cat confdefs.h
>>conftest.
$ac_ext
21408 cat >>conftest.
$ac_ext <<_ACEOF
21409 /* end confdefs.h. */
21411 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21412 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21413 # error "fake wchar_t"
21415 #ifdef HAVE_WCHAR_H
21417 # include <stddef.h>
21419 # include <wchar.h>
21421 #ifdef HAVE_STDLIB_H
21422 # include <stdlib.h>
21433 if (sizeof (wchar_t))
21439 rm -f conftest.
$ac_objext
21440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21441 (eval $ac_compile) 2>conftest.er1
21443 grep -v '^ *+' conftest.er1
>conftest.err
21445 cat conftest.err
>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } &&
21448 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; } &&
21454 { ac_try
='test -s conftest.$ac_objext'
21455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21456 (eval $ac_try) 2>&5
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); }; }; then
21460 ac_cv_type_wchar_t
=yes
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.
$ac_ext >&5
21465 ac_cv_type_wchar_t
=no
21467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21469 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21470 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21472 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21473 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21474 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21475 echo $ECHO_N "(cached) $ECHO_C" >&6
21477 if test "$ac_cv_type_wchar_t" = yes; then
21478 # The cast to unsigned long works around a bug in the HP C Compiler
21479 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21480 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21481 # This bug is HP SR number 8606223364.
21482 if test "$cross_compiling" = yes; then
21483 # Depending upon the size, compute the lo and hi bounds.
21484 cat >conftest.
$ac_ext <<_ACEOF
21487 cat confdefs.h
>>conftest.
$ac_ext
21488 cat >>conftest.
$ac_ext <<_ACEOF
21489 /* end confdefs.h. */
21491 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21492 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21493 # error "fake wchar_t"
21495 #ifdef HAVE_WCHAR_H
21497 # include <stddef.h>
21499 # include <wchar.h>
21501 #ifdef HAVE_STDLIB_H
21502 # include <stdlib.h>
21511 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21518 rm -f conftest.
$ac_objext
21519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21520 (eval $ac_compile) 2>conftest.er1
21522 grep -v '^ *+' conftest.er1
>conftest.err
21524 cat conftest.err
>&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); } &&
21527 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529 (eval $ac_try) 2>&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; } &&
21533 { ac_try
='test -s conftest.$ac_objext'
21534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21535 (eval $ac_try) 2>&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; }; then
21541 cat >conftest.
$ac_ext <<_ACEOF
21544 cat confdefs.h
>>conftest.
$ac_ext
21545 cat >>conftest.
$ac_ext <<_ACEOF
21546 /* end confdefs.h. */
21548 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21549 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21550 # error "fake wchar_t"
21552 #ifdef HAVE_WCHAR_H
21554 # include <stddef.h>
21556 # include <wchar.h>
21558 #ifdef HAVE_STDLIB_H
21559 # include <stdlib.h>
21568 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21575 rm -f conftest.
$ac_objext
21576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21577 (eval $ac_compile) 2>conftest.er1
21579 grep -v '^ *+' conftest.er1
>conftest.err
21581 cat conftest.err
>&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); } &&
21584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21586 (eval $ac_try) 2>&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); }; } &&
21590 { ac_try
='test -s conftest.$ac_objext'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; }; then
21596 ac_hi
=$ac_mid; break
21598 echo "$as_me: failed program was:" >&5
21599 sed 's/^/| /' conftest.
$ac_ext >&5
21601 ac_lo
=`expr $ac_mid + 1`
21602 if test $ac_lo -le $ac_mid; then
21606 ac_mid
=`expr 2 '*' $ac_mid + 1`
21608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.
$ac_ext >&5
21614 cat >conftest.
$ac_ext <<_ACEOF
21617 cat confdefs.h
>>conftest.
$ac_ext
21618 cat >>conftest.
$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21621 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21622 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21623 # error "fake wchar_t"
21625 #ifdef HAVE_WCHAR_H
21627 # include <stddef.h>
21629 # include <wchar.h>
21631 #ifdef HAVE_STDLIB_H
21632 # include <stdlib.h>
21641 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21648 rm -f conftest.
$ac_objext
21649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21650 (eval $ac_compile) 2>conftest.er1
21652 grep -v '^ *+' conftest.er1
>conftest.err
21654 cat conftest.err
>&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } &&
21657 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21659 (eval $ac_try) 2>&5
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); }; } &&
21663 { ac_try
='test -s conftest.$ac_objext'
21664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665 (eval $ac_try) 2>&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); }; }; then
21671 cat >conftest.
$ac_ext <<_ACEOF
21674 cat confdefs.h
>>conftest.
$ac_ext
21675 cat >>conftest.
$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21678 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21679 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21680 # error "fake wchar_t"
21682 #ifdef HAVE_WCHAR_H
21684 # include <stddef.h>
21686 # include <wchar.h>
21688 #ifdef HAVE_STDLIB_H
21689 # include <stdlib.h>
21698 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21705 rm -f conftest.
$ac_objext
21706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21707 (eval $ac_compile) 2>conftest.er1
21709 grep -v '^ *+' conftest.er1
>conftest.err
21711 cat conftest.err
>&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); } &&
21714 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21716 (eval $ac_try) 2>&5
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); }; } &&
21720 { ac_try
='test -s conftest.$ac_objext'
21721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21722 (eval $ac_try) 2>&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); }; }; then
21726 ac_lo
=$ac_mid; break
21728 echo "$as_me: failed program was:" >&5
21729 sed 's/^/| /' conftest.
$ac_ext >&5
21731 ac_hi
=`expr '(' $ac_mid ')' - 1`
21732 if test $ac_mid -le $ac_hi; then
21736 ac_mid
=`expr 2 '*' $ac_mid`
21738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21741 echo "$as_me: failed program was:" >&5
21742 sed 's/^/| /' conftest.
$ac_ext >&5
21746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21749 # Binary search between lo and hi bounds.
21750 while test "x$ac_lo" != "x$ac_hi"; do
21751 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21752 cat >conftest.
$ac_ext <<_ACEOF
21755 cat confdefs.h
>>conftest.
$ac_ext
21756 cat >>conftest.
$ac_ext <<_ACEOF
21757 /* end confdefs.h. */
21759 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21760 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21761 # error "fake wchar_t"
21763 #ifdef HAVE_WCHAR_H
21765 # include <stddef.h>
21767 # include <wchar.h>
21769 #ifdef HAVE_STDLIB_H
21770 # include <stdlib.h>
21779 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21786 rm -f conftest.
$ac_objext
21787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21788 (eval $ac_compile) 2>conftest.er1
21790 grep -v '^ *+' conftest.er1
>conftest.err
21792 cat conftest.err
>&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); } &&
21795 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21797 (eval $ac_try) 2>&5
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); }; } &&
21801 { ac_try
='test -s conftest.$ac_objext'
21802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21803 (eval $ac_try) 2>&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); }; }; then
21809 echo "$as_me: failed program was:" >&5
21810 sed 's/^/| /' conftest.
$ac_ext >&5
21812 ac_lo
=`expr '(' $ac_mid ')' + 1`
21814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21817 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21818 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21819 See \`config.log' for more details." >&5
21820 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21821 See \`config.log' for more details." >&2;}
21822 { (exit 1); exit 1; }; } ;;
21825 if test "$cross_compiling" = yes; then
21826 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21827 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21828 { (exit 1); exit 1; }; }
21830 cat >conftest.
$ac_ext <<_ACEOF
21833 cat confdefs.h
>>conftest.
$ac_ext
21834 cat >>conftest.
$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21837 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21838 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21839 # error "fake wchar_t"
21841 #ifdef HAVE_WCHAR_H
21843 # include <stddef.h>
21845 # include <wchar.h>
21847 #ifdef HAVE_STDLIB_H
21848 # include <stdlib.h>
21854 long longval () { return (long) (sizeof (wchar_t)); }
21855 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21857 #include <stdlib.h>
21862 FILE *f = fopen ("conftest.val", "w");
21865 if (((long) (sizeof (wchar_t))) < 0)
21867 long i = longval ();
21868 if (i != ((long) (sizeof (wchar_t))))
21870 fprintf (f, "%ld\n", i);
21874 unsigned long i = ulongval ();
21875 if (i != ((long) (sizeof (wchar_t))))
21877 fprintf (f, "%lu\n", i);
21879 exit (ferror (f) || fclose (f) != 0);
21885 rm -f conftest
$ac_exeext
21886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21887 (eval $ac_link) 2>&5
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21892 (eval $ac_try) 2>&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); }; }; then
21896 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21898 echo "$as_me: program exited with status $ac_status" >&5
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.
$ac_ext >&5
21902 ( exit $ac_status )
21903 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21904 See \`config.log' for more details." >&5
21905 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21906 See \`config.log' for more details." >&2;}
21907 { (exit 1); exit 1; }; }
21909 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21914 ac_cv_sizeof_wchar_t
=0
21917 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21918 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21919 cat >>confdefs.h
<<_ACEOF
21920 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21924 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21930 echo "$as_me:$LINENO: checking for va_copy" >&5
21931 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21932 if test "${wx_cv_func_va_copy+set}" = set; then
21933 echo $ECHO_N "(cached) $ECHO_C" >&6
21936 cat >conftest.
$ac_ext <<_ACEOF
21938 #include <stdarg.h>
21939 void foo(char *f, ...)
21953 rm -f conftest.
$ac_objext conftest
$ac_exeext
21954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21955 (eval $ac_link) 2>conftest.er1
21957 grep -v '^ *+' conftest.er1
>conftest.err
21959 cat conftest.err
>&5
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); } &&
21962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21964 (eval $ac_try) 2>&5
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); }; } &&
21968 { ac_try
='test -s conftest$ac_exeext'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; }; then
21974 wx_cv_func_va_copy
=yes
21976 echo "$as_me: failed program was:" >&5
21977 sed 's/^/| /' conftest.
$ac_ext >&5
21979 wx_cv_func_va_copy
=no
21982 rm -f conftest.err conftest.
$ac_objext \
21983 conftest
$ac_exeext conftest.
$ac_ext
21987 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21988 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21990 if test $wx_cv_func_va_copy = "yes"; then
21991 cat >>confdefs.h
<<\_ACEOF
21992 #define HAVE_VA_COPY 1
21996 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21997 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21998 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21999 echo $ECHO_N "(cached) $ECHO_C" >&6
22002 if test "$cross_compiling" = yes; then
22003 wx_cv_type_va_list_lvalue
=yes
22006 cat >conftest.
$ac_ext <<_ACEOF
22008 #include <stdarg.h>
22009 int foo(char *f, ...)
22014 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22022 return foo("hi", 17);
22025 rm -f conftest
$ac_exeext
22026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22027 (eval $ac_link) 2>&5
22029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22032 (eval $ac_try) 2>&5
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); }; }; then
22036 wx_cv_type_va_list_lvalue
=yes
22038 echo "$as_me: program exited with status $ac_status" >&5
22039 echo "$as_me: failed program was:" >&5
22040 sed 's/^/| /' conftest.
$ac_ext >&5
22042 ( exit $ac_status )
22043 wx_cv_type_va_list_lvalue
=no
22045 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22050 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22051 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22053 if test $wx_cv_type_va_list_lvalue != "yes"; then
22054 cat >>confdefs.h
<<\_ACEOF
22055 #define VA_LIST_IS_ARRAY 1
22061 # Check whether --enable-largefile or --disable-largefile was given.
22062 if test "${enable_largefile+set}" = set; then
22063 enableval
="$enable_largefile"
22066 if test "$enable_largefile" != no
; then
22069 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22070 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22071 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22072 echo $ECHO_N "(cached) $ECHO_C" >&6
22075 cat >conftest.
$ac_ext <<_ACEOF
22078 cat confdefs.h
>>conftest.
$ac_ext
22079 cat >>conftest.
$ac_ext <<_ACEOF
22080 /* end confdefs.h. */
22081 #define _FILE_OFFSET_BITS 64
22082 #include <sys/types.h>
22087 unsigned int field: sizeof(off_t) == 8;
22094 rm -f conftest.
$ac_objext
22095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22096 (eval $ac_compile) 2>conftest.er1
22098 grep -v '^ *+' conftest.er1
>conftest.err
22100 cat conftest.err
>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); } &&
22103 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22105 (eval $ac_try) 2>&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; } &&
22109 { ac_try
='test -s conftest.$ac_objext'
22110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22111 (eval $ac_try) 2>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); }; }; then
22115 ac_cv_sys_file_offset_bits
=64
22117 echo "$as_me: failed program was:" >&5
22118 sed 's/^/| /' conftest.
$ac_ext >&5
22120 ac_cv_sys_file_offset_bits
=no
22122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22126 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22127 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22129 if test "$ac_cv_sys_file_offset_bits" != no
; then
22131 cat >>confdefs.h
<<_ACEOF
22132 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22137 if test "x$wx_largefile" != "xyes"; then
22139 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22140 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22141 if test "${ac_cv_sys_large_files+set}" = set; then
22142 echo $ECHO_N "(cached) $ECHO_C" >&6
22145 cat >conftest.
$ac_ext <<_ACEOF
22148 cat confdefs.h
>>conftest.
$ac_ext
22149 cat >>conftest.
$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22151 #define _LARGE_FILES 1
22152 #include <sys/types.h>
22157 unsigned int field: sizeof(off_t) == 8;
22164 rm -f conftest.
$ac_objext
22165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22166 (eval $ac_compile) 2>conftest.er1
22168 grep -v '^ *+' conftest.er1
>conftest.err
22170 cat conftest.err
>&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } &&
22173 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22175 (eval $ac_try) 2>&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); }; } &&
22179 { ac_try
='test -s conftest.$ac_objext'
22180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181 (eval $ac_try) 2>&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); }; }; then
22185 ac_cv_sys_large_files
=1
22187 echo "$as_me: failed program was:" >&5
22188 sed 's/^/| /' conftest.
$ac_ext >&5
22190 ac_cv_sys_large_files
=no
22192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22196 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22197 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22199 if test "$ac_cv_sys_large_files" != no
; then
22201 cat >>confdefs.h
<<_ACEOF
22202 #define _LARGE_FILES $ac_cv_sys_large_files
22209 echo "$as_me:$LINENO: checking if large file support is available" >&5
22210 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22211 if test "x$wx_largefile" = "xyes"; then
22212 cat >>confdefs.h
<<\_ACEOF
22213 #define HAVE_LARGEFILE_SUPPORT 1
22217 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22218 echo "${ECHO_T}$wx_largefile" >&6
22222 if test "x$wx_largefile" = "xyes"; then
22223 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22224 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22226 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22227 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22228 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22229 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22230 echo $ECHO_N "(cached) $ECHO_C" >&6
22233 cat >conftest.
$ac_ext <<_ACEOF
22236 cat confdefs.h
>>conftest.
$ac_ext
22237 cat >>conftest.
$ac_ext <<_ACEOF
22238 /* end confdefs.h. */
22244 #ifndef __STDC_EXT__
22252 rm -f conftest.
$ac_objext
22253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22254 (eval $ac_compile) 2>conftest.er1
22256 grep -v '^ *+' conftest.er1
>conftest.err
22258 cat conftest.err
>&5
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); } &&
22261 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22263 (eval $ac_try) 2>&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); }; } &&
22267 { ac_try
='test -s conftest.$ac_objext'
22268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269 (eval $ac_try) 2>&5
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); }; }; then
22273 wx_cv_STDC_EXT_required
=no
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.
$ac_ext >&5
22278 wx_cv_STDC_EXT_required
=yes
22281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22285 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22286 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22287 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22288 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22292 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22294 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22295 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22296 if test "${ac_cv_sys_largefile_source+set}" = set; then
22297 echo $ECHO_N "(cached) $ECHO_C" >&6
22300 ac_cv_sys_largefile_source
=no
22301 cat >conftest.
$ac_ext <<_ACEOF
22304 cat confdefs.h
>>conftest.
$ac_ext
22305 cat >>conftest.
$ac_ext <<_ACEOF
22306 /* end confdefs.h. */
22316 rm -f conftest.
$ac_objext
22317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22318 (eval $ac_compile) 2>conftest.er1
22320 grep -v '^ *+' conftest.er1
>conftest.err
22322 cat conftest.err
>&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); } &&
22325 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22327 (eval $ac_try) 2>&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); }; } &&
22331 { ac_try
='test -s conftest.$ac_objext'
22332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22333 (eval $ac_try) 2>&5
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); }; }; then
22339 echo "$as_me: failed program was:" >&5
22340 sed 's/^/| /' conftest.
$ac_ext >&5
22343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22344 cat >conftest.
$ac_ext <<_ACEOF
22347 cat confdefs.h
>>conftest.
$ac_ext
22348 cat >>conftest.
$ac_ext <<_ACEOF
22349 /* end confdefs.h. */
22350 #define _LARGEFILE_SOURCE 1
22360 rm -f conftest.
$ac_objext
22361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22362 (eval $ac_compile) 2>conftest.er1
22364 grep -v '^ *+' conftest.er1
>conftest.err
22366 cat conftest.err
>&5
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); } &&
22369 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22371 (eval $ac_try) 2>&5
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); }; } &&
22375 { ac_try
='test -s conftest.$ac_objext'
22376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22377 (eval $ac_try) 2>&5
22379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380 (exit $ac_status); }; }; then
22381 ac_cv_sys_largefile_source
=1; break
22383 echo "$as_me: failed program was:" >&5
22384 sed 's/^/| /' conftest.
$ac_ext >&5
22387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22391 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22392 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22393 if test "$ac_cv_sys_largefile_source" != no
; then
22395 cat >>confdefs.h
<<_ACEOF
22396 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22402 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22403 # in glibc 2.1.3, but that breaks too many other things.
22404 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22405 echo "$as_me:$LINENO: checking for fseeko" >&5
22406 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22407 if test "${ac_cv_func_fseeko+set}" = set; then
22408 echo $ECHO_N "(cached) $ECHO_C" >&6
22410 cat >conftest.
$ac_ext <<_ACEOF
22413 cat confdefs.h
>>conftest.
$ac_ext
22414 cat >>conftest.
$ac_ext <<_ACEOF
22415 /* end confdefs.h. */
22420 return fseeko && fseeko (stdin, 0, 0);
22425 rm -f conftest.
$ac_objext conftest
$ac_exeext
22426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22427 (eval $ac_link) 2>conftest.er1
22429 grep -v '^ *+' conftest.er1
>conftest.err
22431 cat conftest.err
>&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } &&
22434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22436 (eval $ac_try) 2>&5
22438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439 (exit $ac_status); }; } &&
22440 { ac_try
='test -s conftest$ac_exeext'
22441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22442 (eval $ac_try) 2>&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); }; }; then
22446 ac_cv_func_fseeko
=yes
22448 echo "$as_me: failed program was:" >&5
22449 sed 's/^/| /' conftest.
$ac_ext >&5
22451 ac_cv_func_fseeko
=no
22453 rm -f conftest.err conftest.
$ac_objext \
22454 conftest
$ac_exeext conftest.
$ac_ext
22456 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22457 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22458 if test $ac_cv_func_fseeko = yes; then
22460 cat >>confdefs.h
<<\_ACEOF
22461 #define HAVE_FSEEKO 1
22466 if test "$ac_cv_sys_largefile_source" != no
; then
22467 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22471 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22472 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22473 if test "${ac_cv_c_bigendian+set}" = set; then
22474 echo $ECHO_N "(cached) $ECHO_C" >&6
22476 ac_cv_c_bigendian
=unknown
22477 # See if sys/param.h defines the BYTE_ORDER macro.
22478 cat >conftest.
$ac_ext <<_ACEOF
22481 cat confdefs.h
>>conftest.
$ac_ext
22482 cat >>conftest.
$ac_ext <<_ACEOF
22483 /* end confdefs.h. */
22484 #include <sys/types.h>
22485 #include <sys/param.h>
22490 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22491 bogus endian macros
22497 rm -f conftest.
$ac_objext
22498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22499 (eval $ac_compile) 2>conftest.er1
22501 grep -v '^ *+' conftest.er1
>conftest.err
22503 cat conftest.err
>&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); } &&
22506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22508 (eval $ac_try) 2>&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); }; } &&
22512 { ac_try
='test -s conftest.$ac_objext'
22513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22514 (eval $ac_try) 2>&5
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22517 (exit $ac_status); }; }; then
22518 # It does; now see whether it defined to BIG_ENDIAN or not.
22519 cat >conftest.
$ac_ext <<_ACEOF
22522 cat confdefs.h
>>conftest.
$ac_ext
22523 cat >>conftest.
$ac_ext <<_ACEOF
22524 /* end confdefs.h. */
22525 #include <sys/types.h>
22526 #include <sys/param.h>
22531 #if BYTE_ORDER != BIG_ENDIAN
22538 rm -f conftest.
$ac_objext
22539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22540 (eval $ac_compile) 2>conftest.er1
22542 grep -v '^ *+' conftest.er1
>conftest.err
22544 cat conftest.err
>&5
22545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22546 (exit $ac_status); } &&
22547 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22549 (eval $ac_try) 2>&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); }; } &&
22553 { ac_try
='test -s conftest.$ac_objext'
22554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22555 (eval $ac_try) 2>&5
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); }; }; then
22559 ac_cv_c_bigendian
=yes
22561 echo "$as_me: failed program was:" >&5
22562 sed 's/^/| /' conftest.
$ac_ext >&5
22564 ac_cv_c_bigendian
=no
22566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22568 echo "$as_me: failed program was:" >&5
22569 sed 's/^/| /' conftest.
$ac_ext >&5
22572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22573 if test $ac_cv_c_bigendian = unknown
; then
22574 if test "$cross_compiling" = yes; then
22575 ac_cv_c_bigendian
=unknown
22577 cat >conftest.
$ac_ext <<_ACEOF
22580 cat confdefs.h
>>conftest.
$ac_ext
22581 cat >>conftest.
$ac_ext <<_ACEOF
22582 /* end confdefs.h. */
22584 /* Are we little or big endian? From Harbison&Steele. */
22588 char c[sizeof (long)];
22591 exit (u.c[sizeof (long) - 1] == 1);
22594 rm -f conftest
$ac_exeext
22595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22596 (eval $ac_link) 2>&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22601 (eval $ac_try) 2>&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); }; }; then
22605 ac_cv_c_bigendian
=no
22607 echo "$as_me: program exited with status $ac_status" >&5
22608 echo "$as_me: failed program was:" >&5
22609 sed 's/^/| /' conftest.
$ac_ext >&5
22611 ( exit $ac_status )
22612 ac_cv_c_bigendian
=yes
22614 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22618 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22619 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22620 if test $ac_cv_c_bigendian = unknown
; then
22621 { 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
22622 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;}
22624 if test $ac_cv_c_bigendian = yes; then
22625 cat >>confdefs.h
<<\_ACEOF
22626 #define WORDS_BIGENDIAN 1
22636 ac_cpp
='$CXXCPP $CPPFLAGS'
22637 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22638 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22639 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22643 for ac_header
in iostream
22645 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22647 echo "$as_me:$LINENO: checking for $ac_header" >&5
22648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22650 echo $ECHO_N "(cached) $ECHO_C" >&6
22652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22655 # Is the header compilable?
22656 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22657 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22658 cat >conftest.
$ac_ext <<_ACEOF
22661 cat confdefs.h
>>conftest.
$ac_ext
22662 cat >>conftest.
$ac_ext <<_ACEOF
22663 /* end confdefs.h. */
22664 $ac_includes_default
22665 #include <$ac_header>
22667 rm -f conftest.
$ac_objext
22668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22669 (eval $ac_compile) 2>conftest.er1
22671 grep -v '^ *+' conftest.er1
>conftest.err
22673 cat conftest.err
>&5
22674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22675 (exit $ac_status); } &&
22676 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22678 (eval $ac_try) 2>&5
22680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22681 (exit $ac_status); }; } &&
22682 { ac_try
='test -s conftest.$ac_objext'
22683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684 (eval $ac_try) 2>&5
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; }; then
22688 ac_header_compiler
=yes
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.
$ac_ext >&5
22693 ac_header_compiler
=no
22695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22696 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22697 echo "${ECHO_T}$ac_header_compiler" >&6
22699 # Is the header present?
22700 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22701 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22702 cat >conftest.
$ac_ext <<_ACEOF
22705 cat confdefs.h
>>conftest.
$ac_ext
22706 cat >>conftest.
$ac_ext <<_ACEOF
22707 /* end confdefs.h. */
22708 #include <$ac_header>
22710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22711 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
22718 if test -s conftest.err
; then
22719 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22720 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22727 if test -z "$ac_cpp_err"; then
22728 ac_header_preproc
=yes
22730 echo "$as_me: failed program was:" >&5
22731 sed 's/^/| /' conftest.
$ac_ext >&5
22733 ac_header_preproc
=no
22735 rm -f conftest.err conftest.
$ac_ext
22736 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22737 echo "${ECHO_T}$ac_header_preproc" >&6
22739 # So? What about this header?
22740 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22745 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22746 ac_header_preproc
=yes
22749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22763 ## ----------------------------------------- ##
22764 ## Report this to wx-dev@lists.wxwidgets.org ##
22765 ## ----------------------------------------- ##
22768 sed "s/^/$as_me: WARNING: /" >&2
22771 echo "$as_me:$LINENO: checking for $ac_header" >&5
22772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22774 echo $ECHO_N "(cached) $ECHO_C" >&6
22776 eval "$as_ac_Header=\$ac_header_preproc"
22778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22783 cat >>confdefs.h
<<_ACEOF
22784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22792 if test "$ac_cv_header_iostream" = "yes" ; then
22795 cat >>confdefs.h
<<\_ACEOF
22796 #define wxUSE_IOSTREAMH 1
22802 ac_cpp
='$CXXCPP $CPPFLAGS'
22803 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22804 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22805 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22810 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22811 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22812 if test "${wx_cv_cpp_bool+set}" = set; then
22813 echo $ECHO_N "(cached) $ECHO_C" >&6
22819 ac_cpp
='$CXXCPP $CPPFLAGS'
22820 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22821 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22822 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22825 cat >conftest.
$ac_ext <<_ACEOF
22828 cat confdefs.h
>>conftest.
$ac_ext
22829 cat >>conftest.
$ac_ext <<_ACEOF
22830 /* end confdefs.h. */
22845 rm -f conftest.
$ac_objext
22846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22847 (eval $ac_compile) 2>conftest.er1
22849 grep -v '^ *+' conftest.er1
>conftest.err
22851 cat conftest.err
>&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } &&
22854 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22856 (eval $ac_try) 2>&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; } &&
22860 { ac_try
='test -s conftest.$ac_objext'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; }; then
22870 echo "$as_me: failed program was:" >&5
22871 sed 's/^/| /' conftest.
$ac_ext >&5
22878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22881 ac_cpp
='$CXXCPP $CPPFLAGS'
22882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22888 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22889 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22891 if test "$wx_cv_cpp_bool" = "yes"; then
22892 cat >>confdefs.h
<<\_ACEOF
22893 #define HAVE_BOOL 1
22900 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22901 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22902 if test "${wx_cv_explicit+set}" = set; then
22903 echo $ECHO_N "(cached) $ECHO_C" >&6
22909 ac_cpp
='$CXXCPP $CPPFLAGS'
22910 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22915 cat >conftest.
$ac_ext <<_ACEOF
22918 cat confdefs.h
>>conftest.
$ac_ext
22919 cat >>conftest.
$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22922 class Foo { public: explicit Foo(int) {} };
22934 rm -f conftest.
$ac_objext
22935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22936 (eval $ac_compile) 2>conftest.er1
22938 grep -v '^ *+' conftest.er1
>conftest.err
22940 cat conftest.err
>&5
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); } &&
22943 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
22949 { ac_try
='test -s conftest.$ac_objext'
22950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951 (eval $ac_try) 2>&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); }; }; then
22956 cat >conftest.
$ac_ext <<_ACEOF
22959 cat confdefs.h
>>conftest.
$ac_ext
22960 cat >>conftest.
$ac_ext <<_ACEOF
22961 /* end confdefs.h. */
22963 class Foo { public: explicit Foo(int) {} };
22964 static void TakeFoo(const Foo& foo) { }
22977 rm -f conftest.
$ac_objext
22978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22979 (eval $ac_compile) 2>conftest.er1
22981 grep -v '^ *+' conftest.er1
>conftest.err
22983 cat conftest.err
>&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); } &&
22986 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; } &&
22992 { ac_try
='test -s conftest.$ac_objext'
22993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22994 (eval $ac_try) 2>&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; }; then
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.
$ac_ext >&5
23006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23009 echo "$as_me: failed program was:" >&5
23010 sed 's/^/| /' conftest.
$ac_ext >&5
23015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23018 ac_cpp
='$CXXCPP $CPPFLAGS'
23019 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23020 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23021 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23025 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23026 echo "${ECHO_T}$wx_cv_explicit" >&6
23028 if test "$wx_cv_explicit" = "yes"; then
23029 cat >>confdefs.h
<<\_ACEOF
23030 #define HAVE_EXPLICIT 1
23036 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23037 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23038 if test "${ac_cv_cxx_const_cast+set}" = set; then
23039 echo $ECHO_N "(cached) $ECHO_C" >&6
23044 ac_cpp
='$CXXCPP $CPPFLAGS'
23045 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23046 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23047 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23049 cat >conftest.
$ac_ext <<_ACEOF
23052 cat confdefs.h
>>conftest.
$ac_ext
23053 cat >>conftest.
$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23059 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23064 rm -f conftest.
$ac_objext
23065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23066 (eval $ac_compile) 2>conftest.er1
23068 grep -v '^ *+' conftest.er1
>conftest.err
23070 cat conftest.err
>&5
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); } &&
23073 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23075 (eval $ac_try) 2>&5
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); }; } &&
23079 { ac_try
='test -s conftest.$ac_objext'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; }; then
23085 ac_cv_cxx_const_cast
=yes
23087 echo "$as_me: failed program was:" >&5
23088 sed 's/^/| /' conftest.
$ac_ext >&5
23090 ac_cv_cxx_const_cast
=no
23092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23094 ac_cpp
='$CXXCPP $CPPFLAGS'
23095 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23096 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23097 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23101 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23102 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23103 if test "$ac_cv_cxx_const_cast" = yes; then
23105 cat >>confdefs.h
<<\_ACEOF
23106 #define HAVE_CONST_CAST
23111 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23112 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23113 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23114 echo $ECHO_N "(cached) $ECHO_C" >&6
23119 ac_cpp
='$CXXCPP $CPPFLAGS'
23120 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23121 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23122 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23124 cat >conftest.
$ac_ext <<_ACEOF
23127 cat confdefs.h
>>conftest.
$ac_ext
23128 cat >>conftest.
$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23130 #include <typeinfo>
23131 class Base { public : Base () {} virtual void f () = 0;};
23132 class Derived : public Base { public : Derived () {} virtual void f () {} };
23133 class Unrelated { public : Unrelated () {} };
23134 int g (Unrelated&) { return 0; }
23139 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23144 rm -f conftest.
$ac_objext
23145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23146 (eval $ac_compile) 2>conftest.er1
23148 grep -v '^ *+' conftest.er1
>conftest.err
23150 cat conftest.err
>&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } &&
23153 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; } &&
23159 { ac_try
='test -s conftest.$ac_objext'
23160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23161 (eval $ac_try) 2>&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); }; }; then
23165 ac_cv_cxx_reinterpret_cast
=yes
23167 echo "$as_me: failed program was:" >&5
23168 sed 's/^/| /' conftest.
$ac_ext >&5
23170 ac_cv_cxx_reinterpret_cast
=no
23172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23174 ac_cpp
='$CXXCPP $CPPFLAGS'
23175 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23176 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23177 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23181 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23182 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23183 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23185 cat >>confdefs.h
<<\_ACEOF
23186 #define HAVE_REINTERPRET_CAST
23191 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23192 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23193 if test "${ac_cv_cxx_static_cast+set}" = set; then
23194 echo $ECHO_N "(cached) $ECHO_C" >&6
23199 ac_cpp
='$CXXCPP $CPPFLAGS'
23200 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23201 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23202 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23204 cat >conftest.
$ac_ext <<_ACEOF
23207 cat confdefs.h
>>conftest.
$ac_ext
23208 cat >>conftest.
$ac_ext <<_ACEOF
23209 /* end confdefs.h. */
23210 #include <typeinfo>
23211 class Base { public : Base () {} virtual void f () = 0; };
23212 class Derived : public Base { public : Derived () {} virtual void f () {} };
23213 int g (Derived&) { return 0; }
23218 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23223 rm -f conftest.
$ac_objext
23224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23225 (eval $ac_compile) 2>conftest.er1
23227 grep -v '^ *+' conftest.er1
>conftest.err
23229 cat conftest.err
>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } &&
23232 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23234 (eval $ac_try) 2>&5
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; } &&
23238 { ac_try
='test -s conftest.$ac_objext'
23239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23240 (eval $ac_try) 2>&5
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); }; }; then
23244 ac_cv_cxx_static_cast
=yes
23246 echo "$as_me: failed program was:" >&5
23247 sed 's/^/| /' conftest.
$ac_ext >&5
23249 ac_cv_cxx_static_cast
=no
23251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23253 ac_cpp
='$CXXCPP $CPPFLAGS'
23254 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23255 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23256 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23260 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23261 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23262 if test "$ac_cv_cxx_static_cast" = yes; then
23264 cat >>confdefs.h
<<\_ACEOF
23265 #define HAVE_STATIC_CAST
23271 if test "x$SUNCXX" = xyes
; then
23272 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23275 if test "x$SUNCC" = xyes
; then
23276 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23279 if test "x$SGICC" = "xyes"; then
23280 CFLAGS
="-woff 3970 $CFLAGS"
23282 if test "x$SGICXX" = "xyes"; then
23283 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23286 if test "x$HPCC" = "xyes"; then
23287 CFLAGS
="+W 2011,2450 $CFLAGS"
23289 if test "x$HPCXX" = "xyes"; then
23290 CXXFLAGS
="+W 2340 $CXXFLAGS"
23293 if test "x$COMPAQCXX" = "xyes"; then
23294 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23297 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23298 if test "$wxUSE_UNICODE" = "yes"; then
23299 std_string
="std::wstring"
23300 char_type
="wchar_t"
23302 std_string
="std::string"
23306 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23307 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23308 cat >conftest.
$ac_ext <<_ACEOF
23311 cat confdefs.h
>>conftest.
$ac_ext
23312 cat >>conftest.
$ac_ext <<_ACEOF
23313 /* end confdefs.h. */
23323 rm -f conftest.
$ac_objext
23324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23325 (eval $ac_compile) 2>conftest.er1
23327 grep -v '^ *+' conftest.er1
>conftest.err
23329 cat conftest.err
>&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); } &&
23332 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23334 (eval $ac_try) 2>&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); }; } &&
23338 { ac_try
='test -s conftest.$ac_objext'
23339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23340 (eval $ac_try) 2>&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); }; }; then
23344 echo "$as_me:$LINENO: result: yes" >&5
23345 echo "${ECHO_T}yes" >&6
23346 cat >>confdefs.h
<<\_ACEOF
23347 #define HAVE_STD_WSTRING 1
23351 echo "$as_me: failed program was:" >&5
23352 sed 's/^/| /' conftest.
$ac_ext >&5
23354 echo "$as_me:$LINENO: result: no" >&5
23355 echo "${ECHO_T}no" >&6
23356 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23357 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23358 cat >conftest.
$ac_ext <<_ACEOF
23361 cat confdefs.h
>>conftest.
$ac_ext
23362 cat >>conftest.
$ac_ext <<_ACEOF
23363 /* end confdefs.h. */
23365 #ifdef HAVE_WCHAR_H
23367 # include <stddef.h>
23369 # include <wchar.h>
23371 #ifdef HAVE_STDLIB_H
23372 # include <stdlib.h>
23380 std::basic_string<$char_type> foo;
23381 const $char_type* dummy = foo.c_str();
23386 rm -f conftest.
$ac_objext
23387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23388 (eval $ac_compile) 2>conftest.er1
23390 grep -v '^ *+' conftest.er1
>conftest.err
23392 cat conftest.err
>&5
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); } &&
23395 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23397 (eval $ac_try) 2>&5
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); }; } &&
23401 { ac_try
='test -s conftest.$ac_objext'
23402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23403 (eval $ac_try) 2>&5
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); }; }; then
23407 echo "$as_me:$LINENO: result: yes" >&5
23408 echo "${ECHO_T}yes" >&6
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.
$ac_ext >&5
23413 echo "$as_me:$LINENO: result: no" >&5
23414 echo "${ECHO_T}no" >&6
23415 if test "$wxUSE_STL" = "yes"; then
23416 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23417 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23418 { (exit 1); exit 1; }; }
23419 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23420 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23421 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23422 { (exit 1); exit 1; }; }
23424 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23425 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23426 wxUSE_STD_STRING
=no
23431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23437 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23438 echo "$as_me:$LINENO: checking for std::istream" >&5
23439 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23440 if test "${ac_cv_type_std__istream+set}" = set; then
23441 echo $ECHO_N "(cached) $ECHO_C" >&6
23443 cat >conftest.
$ac_ext <<_ACEOF
23446 cat confdefs.h
>>conftest.
$ac_ext
23447 cat >>conftest.
$ac_ext <<_ACEOF
23448 /* end confdefs.h. */
23449 #include <iostream>
23454 if ((std::istream *) 0)
23456 if (sizeof (std::istream))
23462 rm -f conftest.
$ac_objext
23463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23464 (eval $ac_compile) 2>conftest.er1
23466 grep -v '^ *+' conftest.er1
>conftest.err
23468 cat conftest.err
>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); } &&
23471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473 (eval $ac_try) 2>&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; } &&
23477 { ac_try
='test -s conftest.$ac_objext'
23478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23479 (eval $ac_try) 2>&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); }; }; then
23483 ac_cv_type_std__istream
=yes
23485 echo "$as_me: failed program was:" >&5
23486 sed 's/^/| /' conftest.
$ac_ext >&5
23488 ac_cv_type_std__istream
=no
23490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23492 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23493 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23494 if test $ac_cv_type_std__istream = yes; then
23496 cat >>confdefs.h
<<_ACEOF
23497 #define HAVE_STD__ISTREAM 1
23502 wxUSE_STD_IOSTREAM
=no
23504 echo "$as_me:$LINENO: checking for std::ostream" >&5
23505 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23506 if test "${ac_cv_type_std__ostream+set}" = set; then
23507 echo $ECHO_N "(cached) $ECHO_C" >&6
23509 cat >conftest.
$ac_ext <<_ACEOF
23512 cat confdefs.h
>>conftest.
$ac_ext
23513 cat >>conftest.
$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23515 #include <iostream>
23520 if ((std::ostream *) 0)
23522 if (sizeof (std::ostream))
23528 rm -f conftest.
$ac_objext
23529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23530 (eval $ac_compile) 2>conftest.er1
23532 grep -v '^ *+' conftest.er1
>conftest.err
23534 cat conftest.err
>&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); } &&
23537 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23539 (eval $ac_try) 2>&5
23541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); }; } &&
23543 { ac_try
='test -s conftest.$ac_objext'
23544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23545 (eval $ac_try) 2>&5
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); }; }; then
23549 ac_cv_type_std__ostream
=yes
23551 echo "$as_me: failed program was:" >&5
23552 sed 's/^/| /' conftest.
$ac_ext >&5
23554 ac_cv_type_std__ostream
=no
23556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23558 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23559 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23560 if test $ac_cv_type_std__ostream = yes; then
23562 cat >>confdefs.h
<<_ACEOF
23563 #define HAVE_STD__OSTREAM 1
23568 wxUSE_STD_IOSTREAM
=no
23572 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23573 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23574 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23575 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23576 { (exit 1); exit 1; }; }
23578 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23579 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23584 if test "$wxUSE_STL" = "yes"; then
23585 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23586 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23587 cat >conftest.
$ac_ext <<_ACEOF
23590 cat confdefs.h
>>conftest.
$ac_ext
23591 cat >>conftest.
$ac_ext <<_ACEOF
23592 /* end confdefs.h. */
23594 #include <functional>
23595 #include <algorithm>
23601 std::vector<int> moo;
23602 std::list<int> foo;
23603 std::vector<int>::iterator it =
23604 std::find_if(moo.begin(), moo.end(),
23605 std::bind2nd(std::less<int>(), 3));
23610 rm -f conftest.
$ac_objext
23611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23612 (eval $ac_compile) 2>conftest.er1
23614 grep -v '^ *+' conftest.er1
>conftest.err
23616 cat conftest.err
>&5
23617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618 (exit $ac_status); } &&
23619 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23621 (eval $ac_try) 2>&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); }; } &&
23625 { ac_try
='test -s conftest.$ac_objext'
23626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23627 (eval $ac_try) 2>&5
23629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23630 (exit $ac_status); }; }; then
23631 echo "$as_me:$LINENO: result: yes" >&5
23632 echo "${ECHO_T}yes" >&6
23634 echo "$as_me: failed program was:" >&5
23635 sed 's/^/| /' conftest.
$ac_ext >&5
23637 echo "$as_me:$LINENO: result: no" >&5
23638 echo "${ECHO_T}no" >&6
23639 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23640 echo "$as_me: error: Basic STL functionality missing" >&2;}
23641 { (exit 1); exit 1; }; }
23643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23645 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23646 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23647 cat >conftest.
$ac_ext <<_ACEOF
23650 cat confdefs.h
>>conftest.
$ac_ext
23651 cat >>conftest.
$ac_ext <<_ACEOF
23652 /* end confdefs.h. */
23657 std::string foo, bar;
23659 foo.compare(1, 1, bar);
23660 foo.compare(1, 1, bar, 1, 1);
23662 foo.compare(1, 1, "");
23663 foo.compare(1, 1, "", 2);
23668 rm -f conftest.
$ac_objext
23669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23670 (eval $ac_compile) 2>conftest.er1
23672 grep -v '^ *+' conftest.er1
>conftest.err
23674 cat conftest.err
>&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); } &&
23677 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; } &&
23683 { ac_try
='test -s conftest.$ac_objext'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 echo "$as_me:$LINENO: result: yes" >&5
23690 echo "${ECHO_T}yes" >&6
23691 cat >>confdefs.h
<<\_ACEOF
23692 #define HAVE_STD_STRING_COMPARE 1
23696 echo "$as_me: failed program was:" >&5
23697 sed 's/^/| /' conftest.
$ac_ext >&5
23699 echo "$as_me:$LINENO: result: no" >&5
23700 echo "${ECHO_T}no" >&6
23702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23704 if test "${ac_cv_header_hash_map+set}" = set; then
23705 echo "$as_me:$LINENO: checking for hash_map" >&5
23706 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23707 if test "${ac_cv_header_hash_map+set}" = set; then
23708 echo $ECHO_N "(cached) $ECHO_C" >&6
23710 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23711 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23713 # Is the header compilable?
23714 echo "$as_me:$LINENO: checking hash_map usability" >&5
23715 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23716 cat >conftest.
$ac_ext <<_ACEOF
23719 cat confdefs.h
>>conftest.
$ac_ext
23720 cat >>conftest.
$ac_ext <<_ACEOF
23721 /* end confdefs.h. */
23722 $ac_includes_default
23723 #include <hash_map>
23725 rm -f conftest.
$ac_objext
23726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23727 (eval $ac_compile) 2>conftest.er1
23729 grep -v '^ *+' conftest.er1
>conftest.err
23731 cat conftest.err
>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); } &&
23734 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23736 (eval $ac_try) 2>&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); }; } &&
23740 { ac_try
='test -s conftest.$ac_objext'
23741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742 (eval $ac_try) 2>&5
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); }; }; then
23746 ac_header_compiler
=yes
23748 echo "$as_me: failed program was:" >&5
23749 sed 's/^/| /' conftest.
$ac_ext >&5
23751 ac_header_compiler
=no
23753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23755 echo "${ECHO_T}$ac_header_compiler" >&6
23757 # Is the header present?
23758 echo "$as_me:$LINENO: checking hash_map presence" >&5
23759 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23760 cat >conftest.
$ac_ext <<_ACEOF
23763 cat confdefs.h
>>conftest.
$ac_ext
23764 cat >>conftest.
$ac_ext <<_ACEOF
23765 /* end confdefs.h. */
23766 #include <hash_map>
23768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23769 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23771 grep -v '^ *+' conftest.er1
>conftest.err
23773 cat conftest.err
>&5
23774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23775 (exit $ac_status); } >/dev
/null
; then
23776 if test -s conftest.err
; then
23777 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23778 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23785 if test -z "$ac_cpp_err"; then
23786 ac_header_preproc
=yes
23788 echo "$as_me: failed program was:" >&5
23789 sed 's/^/| /' conftest.
$ac_ext >&5
23791 ac_header_preproc
=no
23793 rm -f conftest.err conftest.
$ac_ext
23794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23795 echo "${ECHO_T}$ac_header_preproc" >&6
23797 # So? What about this header?
23798 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23800 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23801 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23802 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23803 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23804 ac_header_preproc
=yes
23807 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23808 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23809 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23810 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23811 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23812 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23813 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23814 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23815 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23816 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23817 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23818 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23821 ## ----------------------------------------- ##
23822 ## Report this to wx-dev@lists.wxwidgets.org ##
23823 ## ----------------------------------------- ##
23826 sed "s/^/$as_me: WARNING: /" >&2
23829 echo "$as_me:$LINENO: checking for hash_map" >&5
23830 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23831 if test "${ac_cv_header_hash_map+set}" = set; then
23832 echo $ECHO_N "(cached) $ECHO_C" >&6
23834 ac_cv_header_hash_map
=$ac_header_preproc
23836 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23837 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23840 if test $ac_cv_header_hash_map = yes; then
23841 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23842 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23843 cat >conftest.
$ac_ext <<_ACEOF
23846 cat confdefs.h
>>conftest.
$ac_ext
23847 cat >>conftest.
$ac_ext <<_ACEOF
23848 /* end confdefs.h. */
23849 #include <hash_map>
23850 #include <hash_set>
23854 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23855 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23860 rm -f conftest.
$ac_objext
23861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23862 (eval $ac_compile) 2>conftest.er1
23864 grep -v '^ *+' conftest.er1
>conftest.err
23866 cat conftest.err
>&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); } &&
23869 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; } &&
23875 { ac_try
='test -s conftest.$ac_objext'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; }; then
23881 echo "$as_me:$LINENO: result: yes" >&5
23882 echo "${ECHO_T}yes" >&6
23883 cat >>confdefs.h
<<\_ACEOF
23884 #define HAVE_HASH_MAP 1
23887 cat >>confdefs.h
<<\_ACEOF
23888 #define HAVE_STD_HASH_MAP 1
23892 echo "$as_me: failed program was:" >&5
23893 sed 's/^/| /' conftest.
$ac_ext >&5
23895 echo "$as_me:$LINENO: result: no" >&5
23896 echo "${ECHO_T}no" >&6
23898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23904 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23905 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23906 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23907 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23908 echo $ECHO_N "(cached) $ECHO_C" >&6
23910 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23911 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23913 # Is the header compilable?
23914 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23915 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23916 cat >conftest.
$ac_ext <<_ACEOF
23919 cat confdefs.h
>>conftest.
$ac_ext
23920 cat >>conftest.
$ac_ext <<_ACEOF
23921 /* end confdefs.h. */
23922 $ac_includes_default
23923 #include <ext/hash_map>
23925 rm -f conftest.
$ac_objext
23926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23927 (eval $ac_compile) 2>conftest.er1
23929 grep -v '^ *+' conftest.er1
>conftest.err
23931 cat conftest.err
>&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } &&
23934 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23936 (eval $ac_try) 2>&5
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); }; } &&
23940 { ac_try
='test -s conftest.$ac_objext'
23941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23942 (eval $ac_try) 2>&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); }; }; then
23946 ac_header_compiler
=yes
23948 echo "$as_me: failed program was:" >&5
23949 sed 's/^/| /' conftest.
$ac_ext >&5
23951 ac_header_compiler
=no
23953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23955 echo "${ECHO_T}$ac_header_compiler" >&6
23957 # Is the header present?
23958 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23959 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23960 cat >conftest.
$ac_ext <<_ACEOF
23963 cat confdefs.h
>>conftest.
$ac_ext
23964 cat >>conftest.
$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23966 #include <ext/hash_map>
23968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23969 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23971 grep -v '^ *+' conftest.er1
>conftest.err
23973 cat conftest.err
>&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); } >/dev
/null
; then
23976 if test -s conftest.err
; then
23977 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23978 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23985 if test -z "$ac_cpp_err"; then
23986 ac_header_preproc
=yes
23988 echo "$as_me: failed program was:" >&5
23989 sed 's/^/| /' conftest.
$ac_ext >&5
23991 ac_header_preproc
=no
23993 rm -f conftest.err conftest.
$ac_ext
23994 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23995 echo "${ECHO_T}$ac_header_preproc" >&6
23997 # So? What about this header?
23998 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24000 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24001 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24002 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24003 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24004 ac_header_preproc
=yes
24007 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24008 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24009 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24010 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24011 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24012 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24013 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24014 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24015 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24016 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24017 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24018 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24021 ## ----------------------------------------- ##
24022 ## Report this to wx-dev@lists.wxwidgets.org ##
24023 ## ----------------------------------------- ##
24026 sed "s/^/$as_me: WARNING: /" >&2
24029 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24030 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24031 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24032 echo $ECHO_N "(cached) $ECHO_C" >&6
24034 ac_cv_header_ext_hash_map
=$ac_header_preproc
24036 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24037 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24040 if test $ac_cv_header_ext_hash_map = yes; then
24041 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24042 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24043 cat >conftest.
$ac_ext <<_ACEOF
24046 cat confdefs.h
>>conftest.
$ac_ext
24047 cat >>conftest.
$ac_ext <<_ACEOF
24048 /* end confdefs.h. */
24049 #include <ext/hash_map>
24050 #include <ext/hash_set>
24054 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24055 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24060 rm -f conftest.
$ac_objext
24061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24062 (eval $ac_compile) 2>conftest.er1
24064 grep -v '^ *+' conftest.er1
>conftest.err
24066 cat conftest.err
>&5
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); } &&
24069 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24071 (eval $ac_try) 2>&5
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); }; } &&
24075 { ac_try
='test -s conftest.$ac_objext'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; }; then
24081 echo "$as_me:$LINENO: result: yes" >&5
24082 echo "${ECHO_T}yes" >&6
24083 cat >>confdefs.h
<<\_ACEOF
24084 #define HAVE_EXT_HASH_MAP 1
24087 cat >>confdefs.h
<<\_ACEOF
24088 #define HAVE_GNU_CXX_HASH_MAP 1
24092 echo "$as_me: failed program was:" >&5
24093 sed 's/^/| /' conftest.
$ac_ext >&5
24095 echo "$as_me:$LINENO: result: no" >&5
24096 echo "${ECHO_T}no" >&6
24098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24107 /usr/local/include \
24109 /usr/Motif-2.1/include \
24110 /usr/Motif-1.2/include \
24111 /usr/include/Motif1.2 \
24114 /usr/openwin/include \
24118 /usr/X11R6/include \
24119 /usr/X11R6.4/include \
24120 /usr/X11R5/include \
24121 /usr/X11R4/include \
24123 /usr/include/X11R6 \
24124 /usr/include/X11R5 \
24125 /usr/include/X11R4 \
24127 /usr/local/X11R6/include \
24128 /usr/local/X11R5/include \
24129 /usr/local/X11R4/include \
24131 /usr/local/include/X11R6 \
24132 /usr/local/include/X11R5 \
24133 /usr/local/include/X11R4 \
24137 /usr/local/X11/include \
24138 /usr/local/include/X11 \
24140 /usr/XFree86/include/X11 \
24143 /usr/openwin/share/include"
24145 echo "$as_me:$LINENO: checking for libraries directory" >&5
24146 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24150 if test "${wx_cv_std_libpath+set}" = set; then
24151 echo $ECHO_N "(cached) $ECHO_C" >&6
24154 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24155 for e
in a so sl dylib dll.a
; do
24157 if test -f $libc; then
24160 cat >conftest.
$ac_ext <<_ACEOF
24161 int main() { return 0; }
24163 rm -f conftest.
$ac_objext conftest
$ac_exeext
24164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24165 (eval $ac_link) 2>conftest.er1
24167 grep -v '^ *+' conftest.er1
>conftest.err
24169 cat conftest.err
>&5
24170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24171 (exit $ac_status); } &&
24172 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24174 (eval $ac_try) 2>&5
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); }; } &&
24178 { ac_try
='test -s conftest$ac_exeext'
24179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180 (eval $ac_try) 2>&5
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); }; }; then
24184 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24186 echo "$as_me: failed program was:" >&5
24187 sed 's/^/| /' conftest.
$ac_ext >&5
24190 rm -f conftest.err conftest.
$ac_objext \
24191 conftest
$ac_exeext conftest.
$ac_ext
24193 if test "x$wx_cv_std_libpath" != "x"; then
24199 if test "x$wx_cv_std_libpath" = "x"; then
24200 wx_cv_std_libpath
="lib"
24209 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24210 wx_cv_std_libpath
="lib/64"
24212 wx_cv_std_libpath
="lib"
24217 if test "$ac_cv_sizeof_void_p" = 8 -a \
24218 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24219 wx_cv_std_libpath
="lib64"
24221 wx_cv_std_libpath
="lib"
24226 wx_cv_std_libpath
="lib";
24230 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24231 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24233 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24235 if test "$build" != "$host" -a "$GCC" = yes; then
24236 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24237 cross_root
=`dirname $cross_root`
24238 cross_root
=`dirname $cross_root`
24240 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24241 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24242 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24244 if test -z "$PKG_CONFIG_PATH"; then
24245 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24246 export PKG_CONFIG_PATH
24249 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24252 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24254 if test -f "$ac_dir/X11/Intrinsic.h"; then
24255 ac_find_includes
=$ac_dir
24260 x_includes
=$ac_find_includes
24262 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24265 for ac_dir
in $SEARCH_LIB;
24267 for ac_extension
in a so sl dylib dll.a
; do
24268 if test -f "$ac_dir/libXt.$ac_extension"; then
24269 ac_find_libraries
=$ac_dir
24275 x_libraries
=$ac_find_libraries
24281 cat >confcache
<<\_ACEOF
24282 # This file is a shell script that caches the results of configure
24283 # tests run on this system so they can be shared between configure
24284 # scripts and configure runs, see configure's option --config-cache.
24285 # It is not useful on other systems. If it contains results you don't
24286 # want to keep, you may remove or edit it.
24288 # config.status only pays attention to the cache file if you give it
24289 # the --recheck option to rerun configure.
24291 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24292 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24293 # following values.
24297 # The following way of writing the cache mishandles newlines in values,
24298 # but we know of no workaround that is simple, portable, and efficient.
24299 # So, don't put newlines in cache variables' values.
24300 # Ultrix sh set writes to stderr and can't be redirected directly,
24301 # and sets the high bit in the cache file unless we assign to the vars.
24304 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24306 # `set' does not quote correctly, so add quotes (double-quote
24307 # substitution turns \\\\ into \\, and sed turns \\ into \).
24310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24313 # `set' quotes correctly as required by POSIX, so do not add quotes.
24315 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24322 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24324 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24326 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24327 if test -w $cache_file; then
24328 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24329 cat confcache
>$cache_file
24331 echo "not updating unwritable cache $cache_file"
24336 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24337 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24338 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24339 if test "${wx_cv_lib_glibc21+set}" = set; then
24340 echo $ECHO_N "(cached) $ECHO_C" >&6
24343 cat >conftest.
$ac_ext <<_ACEOF
24346 cat confdefs.h
>>conftest.
$ac_ext
24347 cat >>conftest.
$ac_ext <<_ACEOF
24348 /* end confdefs.h. */
24349 #include <features.h>
24354 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24362 rm -f conftest.
$ac_objext
24363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24364 (eval $ac_compile) 2>conftest.er1
24366 grep -v '^ *+' conftest.er1
>conftest.err
24368 cat conftest.err
>&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } &&
24371 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24373 (eval $ac_try) 2>&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); }; } &&
24377 { ac_try
='test -s conftest.$ac_objext'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; }; then
24384 wx_cv_lib_glibc21
=yes
24387 echo "$as_me: failed program was:" >&5
24388 sed 's/^/| /' conftest.
$ac_ext >&5
24391 wx_cv_lib_glibc21
=no
24395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24398 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24399 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24400 if test "$wx_cv_lib_glibc21" = "yes"; then
24401 cat >>confdefs.h
<<\_ACEOF
24402 #define wxHAVE_GLIBC2 1
24408 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24409 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24410 cat >>confdefs.h
<<\_ACEOF
24411 #define _GNU_SOURCE 1
24422 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24423 echo "$as_me:$LINENO: checking for $ac_func" >&5
24424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24425 if eval "test \"\${$as_ac_var+set}\" = set"; then
24426 echo $ECHO_N "(cached) $ECHO_C" >&6
24428 cat >conftest.
$ac_ext <<_ACEOF
24431 cat confdefs.h
>>conftest.
$ac_ext
24432 cat >>conftest.
$ac_ext <<_ACEOF
24433 /* end confdefs.h. */
24434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24436 #define $ac_func innocuous_$ac_func
24438 /* System header to define __stub macros and hopefully few prototypes,
24439 which can conflict with char $ac_func (); below.
24440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24441 <limits.h> exists even on freestanding compilers. */
24444 # include <limits.h>
24446 # include <assert.h>
24451 /* Override any gcc2 internal prototype to avoid an error. */
24456 /* We use char because int might match the return type of a gcc2
24457 builtin and then its argument prototype would still apply. */
24459 /* The GNU C library defines this for functions which it implements
24460 to always fail with ENOSYS. Some functions are actually named
24461 something starting with __ and the normal name is an alias. */
24462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24465 char (*f) () = $ac_func;
24474 return f != $ac_func;
24479 rm -f conftest.
$ac_objext conftest
$ac_exeext
24480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24481 (eval $ac_link) 2>conftest.er1
24483 grep -v '^ *+' conftest.er1
>conftest.err
24485 cat conftest.err
>&5
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); } &&
24488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24490 (eval $ac_try) 2>&5
24492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493 (exit $ac_status); }; } &&
24494 { ac_try
='test -s conftest$ac_exeext'
24495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24496 (eval $ac_try) 2>&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); }; }; then
24500 eval "$as_ac_var=yes"
24502 echo "$as_me: failed program was:" >&5
24503 sed 's/^/| /' conftest.
$ac_ext >&5
24505 eval "$as_ac_var=no"
24507 rm -f conftest.err conftest.
$ac_objext \
24508 conftest
$ac_exeext conftest.
$ac_ext
24510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24512 if test `eval echo '${'$as_ac_var'}'` = yes; then
24513 cat >>confdefs.h
<<_ACEOF
24514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24521 for ac_func
in floor
24523 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24524 echo "$as_me:$LINENO: checking for $ac_func" >&5
24525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24526 if eval "test \"\${$as_ac_var+set}\" = set"; then
24527 echo $ECHO_N "(cached) $ECHO_C" >&6
24529 cat >conftest.
$ac_ext <<_ACEOF
24532 cat confdefs.h
>>conftest.
$ac_ext
24533 cat >>conftest.
$ac_ext <<_ACEOF
24534 /* end confdefs.h. */
24535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24537 #define $ac_func innocuous_$ac_func
24539 /* System header to define __stub macros and hopefully few prototypes,
24540 which can conflict with char $ac_func (); below.
24541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24542 <limits.h> exists even on freestanding compilers. */
24545 # include <limits.h>
24547 # include <assert.h>
24552 /* Override any gcc2 internal prototype to avoid an error. */
24557 /* We use char because int might match the return type of a gcc2
24558 builtin and then its argument prototype would still apply. */
24560 /* The GNU C library defines this for functions which it implements
24561 to always fail with ENOSYS. Some functions are actually named
24562 something starting with __ and the normal name is an alias. */
24563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24566 char (*f) () = $ac_func;
24575 return f != $ac_func;
24580 rm -f conftest.
$ac_objext conftest
$ac_exeext
24581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24582 (eval $ac_link) 2>conftest.er1
24584 grep -v '^ *+' conftest.er1
>conftest.err
24586 cat conftest.err
>&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } &&
24589 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24591 (eval $ac_try) 2>&5
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); }; } &&
24595 { ac_try
='test -s conftest$ac_exeext'
24596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24597 (eval $ac_try) 2>&5
24599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600 (exit $ac_status); }; }; then
24601 eval "$as_ac_var=yes"
24603 echo "$as_me: failed program was:" >&5
24604 sed 's/^/| /' conftest.
$ac_ext >&5
24606 eval "$as_ac_var=no"
24608 rm -f conftest.err conftest.
$ac_objext \
24609 conftest
$ac_exeext conftest.
$ac_ext
24611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24613 if test `eval echo '${'$as_ac_var'}'` = yes; then
24614 cat >>confdefs.h
<<_ACEOF
24615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24621 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24622 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24623 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24624 echo "$as_me:$LINENO: result: yes" >&5
24625 echo "${ECHO_T}yes" >&6
24627 echo "$as_me:$LINENO: result: no" >&5
24628 echo "${ECHO_T}no" >&6
24630 # use different functions to avoid configure caching
24636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24637 echo "$as_me:$LINENO: checking for $ac_func" >&5
24638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24639 if eval "test \"\${$as_ac_var+set}\" = set"; then
24640 echo $ECHO_N "(cached) $ECHO_C" >&6
24642 cat >conftest.
$ac_ext <<_ACEOF
24645 cat confdefs.h
>>conftest.
$ac_ext
24646 cat >>conftest.
$ac_ext <<_ACEOF
24647 /* end confdefs.h. */
24648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24650 #define $ac_func innocuous_$ac_func
24652 /* System header to define __stub macros and hopefully few prototypes,
24653 which can conflict with char $ac_func (); below.
24654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24655 <limits.h> exists even on freestanding compilers. */
24658 # include <limits.h>
24660 # include <assert.h>
24665 /* Override any gcc2 internal prototype to avoid an error. */
24670 /* We use char because int might match the return type of a gcc2
24671 builtin and then its argument prototype would still apply. */
24673 /* The GNU C library defines this for functions which it implements
24674 to always fail with ENOSYS. Some functions are actually named
24675 something starting with __ and the normal name is an alias. */
24676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24679 char (*f) () = $ac_func;
24688 return f != $ac_func;
24693 rm -f conftest.
$ac_objext conftest
$ac_exeext
24694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24695 (eval $ac_link) 2>conftest.er1
24697 grep -v '^ *+' conftest.er1
>conftest.err
24699 cat conftest.err
>&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); } &&
24702 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24704 (eval $ac_try) 2>&5
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); }; } &&
24708 { ac_try
='test -s conftest$ac_exeext'
24709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24710 (eval $ac_try) 2>&5
24712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24713 (exit $ac_status); }; }; then
24714 eval "$as_ac_var=yes"
24716 echo "$as_me: failed program was:" >&5
24717 sed 's/^/| /' conftest.
$ac_ext >&5
24719 eval "$as_ac_var=no"
24721 rm -f conftest.err conftest.
$ac_objext \
24722 conftest
$ac_exeext conftest.
$ac_ext
24724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24726 if test `eval echo '${'$as_ac_var'}'` = yes; then
24727 cat >>confdefs.h
<<_ACEOF
24728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24735 for ac_func
in ceil
24737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24738 echo "$as_me:$LINENO: checking for $ac_func" >&5
24739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24740 if eval "test \"\${$as_ac_var+set}\" = set"; then
24741 echo $ECHO_N "(cached) $ECHO_C" >&6
24743 cat >conftest.
$ac_ext <<_ACEOF
24746 cat confdefs.h
>>conftest.
$ac_ext
24747 cat >>conftest.
$ac_ext <<_ACEOF
24748 /* end confdefs.h. */
24749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24751 #define $ac_func innocuous_$ac_func
24753 /* System header to define __stub macros and hopefully few prototypes,
24754 which can conflict with char $ac_func (); below.
24755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24756 <limits.h> exists even on freestanding compilers. */
24759 # include <limits.h>
24761 # include <assert.h>
24766 /* Override any gcc2 internal prototype to avoid an error. */
24771 /* We use char because int might match the return type of a gcc2
24772 builtin and then its argument prototype would still apply. */
24774 /* The GNU C library defines this for functions which it implements
24775 to always fail with ENOSYS. Some functions are actually named
24776 something starting with __ and the normal name is an alias. */
24777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24780 char (*f) () = $ac_func;
24789 return f != $ac_func;
24794 rm -f conftest.
$ac_objext conftest
$ac_exeext
24795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24796 (eval $ac_link) 2>conftest.er1
24798 grep -v '^ *+' conftest.er1
>conftest.err
24800 cat conftest.err
>&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); } &&
24803 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24805 (eval $ac_try) 2>&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); }; } &&
24809 { ac_try
='test -s conftest$ac_exeext'
24810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24811 (eval $ac_try) 2>&5
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); }; }; then
24815 eval "$as_ac_var=yes"
24817 echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.
$ac_ext >&5
24820 eval "$as_ac_var=no"
24822 rm -f conftest.err conftest.
$ac_objext \
24823 conftest
$ac_exeext conftest.
$ac_ext
24825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24827 if test `eval echo '${'$as_ac_var'}'` = yes; then
24828 cat >>confdefs.h
<<_ACEOF
24829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24835 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24836 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24837 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24838 echo "$as_me:$LINENO: result: yes" >&5
24839 echo "${ECHO_T}yes" >&6
24841 echo "$as_me:$LINENO: result: no" >&5
24842 echo "${ECHO_T}no" >&6
24843 # not sure we should warn the user, crash, etc.
24849 if test "$wxUSE_REGEX" != "no"; then
24850 cat >>confdefs.h
<<\_ACEOF
24851 #define wxUSE_REGEX 1
24855 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24856 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24857 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24858 wxUSE_REGEX
=builtin
24861 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24862 if test "${ac_cv_header_regex_h+set}" = set; then
24863 echo "$as_me:$LINENO: checking for regex.h" >&5
24864 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24865 if test "${ac_cv_header_regex_h+set}" = set; then
24866 echo $ECHO_N "(cached) $ECHO_C" >&6
24868 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24869 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24871 # Is the header compilable?
24872 echo "$as_me:$LINENO: checking regex.h usability" >&5
24873 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24874 cat >conftest.
$ac_ext <<_ACEOF
24877 cat confdefs.h
>>conftest.
$ac_ext
24878 cat >>conftest.
$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24880 $ac_includes_default
24883 rm -f conftest.
$ac_objext
24884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24885 (eval $ac_compile) 2>conftest.er1
24887 grep -v '^ *+' conftest.er1
>conftest.err
24889 cat conftest.err
>&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); } &&
24892 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24894 (eval $ac_try) 2>&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); }; } &&
24898 { ac_try
='test -s conftest.$ac_objext'
24899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24900 (eval $ac_try) 2>&5
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); }; }; then
24904 ac_header_compiler
=yes
24906 echo "$as_me: failed program was:" >&5
24907 sed 's/^/| /' conftest.
$ac_ext >&5
24909 ac_header_compiler
=no
24911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24912 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24913 echo "${ECHO_T}$ac_header_compiler" >&6
24915 # Is the header present?
24916 echo "$as_me:$LINENO: checking regex.h presence" >&5
24917 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24918 cat >conftest.
$ac_ext <<_ACEOF
24921 cat confdefs.h
>>conftest.
$ac_ext
24922 cat >>conftest.
$ac_ext <<_ACEOF
24923 /* end confdefs.h. */
24926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24927 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24929 grep -v '^ *+' conftest.er1
>conftest.err
24931 cat conftest.err
>&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); } >/dev
/null
; then
24934 if test -s conftest.err
; then
24935 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24936 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24943 if test -z "$ac_cpp_err"; then
24944 ac_header_preproc
=yes
24946 echo "$as_me: failed program was:" >&5
24947 sed 's/^/| /' conftest.
$ac_ext >&5
24949 ac_header_preproc
=no
24951 rm -f conftest.err conftest.
$ac_ext
24952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24953 echo "${ECHO_T}$ac_header_preproc" >&6
24955 # So? What about this header?
24956 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24958 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24959 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24960 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24961 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24962 ac_header_preproc
=yes
24965 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24966 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24967 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24968 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24969 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24970 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24971 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24972 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24973 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24974 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24975 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24976 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24979 ## ----------------------------------------- ##
24980 ## Report this to wx-dev@lists.wxwidgets.org ##
24981 ## ----------------------------------------- ##
24984 sed "s/^/$as_me: WARNING: /" >&2
24987 echo "$as_me:$LINENO: checking for regex.h" >&5
24988 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24989 if test "${ac_cv_header_regex_h+set}" = set; then
24990 echo $ECHO_N "(cached) $ECHO_C" >&6
24992 ac_cv_header_regex_h
=$ac_header_preproc
24994 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24995 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24998 if test $ac_cv_header_regex_h = yes; then
25001 for ac_func
in regcomp re_search
25003 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25004 echo "$as_me:$LINENO: checking for $ac_func" >&5
25005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25006 if eval "test \"\${$as_ac_var+set}\" = set"; then
25007 echo $ECHO_N "(cached) $ECHO_C" >&6
25009 cat >conftest.
$ac_ext <<_ACEOF
25012 cat confdefs.h
>>conftest.
$ac_ext
25013 cat >>conftest.
$ac_ext <<_ACEOF
25014 /* end confdefs.h. */
25015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25017 #define $ac_func innocuous_$ac_func
25019 /* System header to define __stub macros and hopefully few prototypes,
25020 which can conflict with char $ac_func (); below.
25021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25022 <limits.h> exists even on freestanding compilers. */
25025 # include <limits.h>
25027 # include <assert.h>
25032 /* Override any gcc2 internal prototype to avoid an error. */
25037 /* We use char because int might match the return type of a gcc2
25038 builtin and then its argument prototype would still apply. */
25040 /* The GNU C library defines this for functions which it implements
25041 to always fail with ENOSYS. Some functions are actually named
25042 something starting with __ and the normal name is an alias. */
25043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25046 char (*f) () = $ac_func;
25055 return f != $ac_func;
25060 rm -f conftest.
$ac_objext conftest
$ac_exeext
25061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25062 (eval $ac_link) 2>conftest.er1
25064 grep -v '^ *+' conftest.er1
>conftest.err
25066 cat conftest.err
>&5
25067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068 (exit $ac_status); } &&
25069 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25071 (eval $ac_try) 2>&5
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); }; } &&
25075 { ac_try
='test -s conftest$ac_exeext'
25076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25077 (eval $ac_try) 2>&5
25079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25080 (exit $ac_status); }; }; then
25081 eval "$as_ac_var=yes"
25083 echo "$as_me: failed program was:" >&5
25084 sed 's/^/| /' conftest.
$ac_ext >&5
25086 eval "$as_ac_var=no"
25088 rm -f conftest.err conftest.
$ac_objext \
25089 conftest
$ac_exeext conftest.
$ac_ext
25091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25093 if test `eval echo '${'$as_ac_var'}'` = yes; then
25094 cat >>confdefs.h
<<_ACEOF
25095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25105 if test "x$ac_cv_func_regcomp" != "xyes"; then
25106 if test "$wxUSE_REGEX" = "sys" ; then
25107 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25108 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25109 { (exit 1); exit 1; }; }
25111 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25112 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25113 wxUSE_REGEX
=builtin
25117 cat >>confdefs.h
<<\_ACEOF
25118 #define WX_NO_REGEX_ADVANCED 1
25127 if test "$wxUSE_ZLIB" != "no" ; then
25128 cat >>confdefs.h
<<\_ACEOF
25129 #define wxUSE_ZLIB 1
25133 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25134 if test "$USE_DARWIN" = 1; then
25135 system_zlib_h_ok
="yes"
25137 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25138 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25139 if test "${ac_cv_header_zlib_h+set}" = set; then
25140 echo $ECHO_N "(cached) $ECHO_C" >&6
25142 if test "$cross_compiling" = yes; then
25143 unset ac_cv_header_zlib_h
25146 cat >conftest.
$ac_ext <<_ACEOF
25149 cat confdefs.h
>>conftest.
$ac_ext
25150 cat >>conftest.
$ac_ext <<_ACEOF
25151 /* end confdefs.h. */
25158 FILE *f=fopen("conftestval", "w");
25161 ZLIB_VERSION[0] == '1' &&
25162 (ZLIB_VERSION[2] > '1' ||
25163 (ZLIB_VERSION[2] == '1' &&
25164 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25169 rm -f conftest
$ac_exeext
25170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25171 (eval $ac_link) 2>&5
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25176 (eval $ac_try) 2>&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); }; }; then
25180 ac_cv_header_zlib_h
=`cat conftestval`
25182 echo "$as_me: program exited with status $ac_status" >&5
25183 echo "$as_me: failed program was:" >&5
25184 sed 's/^/| /' conftest.
$ac_ext >&5
25186 ( exit $ac_status )
25187 ac_cv_header_zlib_h
=no
25189 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25193 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25194 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25195 if test "${ac_cv_header_zlib_h+set}" = set; then
25196 echo "$as_me:$LINENO: checking for zlib.h" >&5
25197 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25198 if test "${ac_cv_header_zlib_h+set}" = set; then
25199 echo $ECHO_N "(cached) $ECHO_C" >&6
25201 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25202 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25204 # Is the header compilable?
25205 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25206 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25207 cat >conftest.
$ac_ext <<_ACEOF
25210 cat confdefs.h
>>conftest.
$ac_ext
25211 cat >>conftest.
$ac_ext <<_ACEOF
25212 /* end confdefs.h. */
25213 $ac_includes_default
25216 rm -f conftest.
$ac_objext
25217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25218 (eval $ac_compile) 2>conftest.er1
25220 grep -v '^ *+' conftest.er1
>conftest.err
25222 cat conftest.err
>&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); } &&
25225 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25227 (eval $ac_try) 2>&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); }; } &&
25231 { ac_try
='test -s conftest.$ac_objext'
25232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25233 (eval $ac_try) 2>&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); }; }; then
25237 ac_header_compiler
=yes
25239 echo "$as_me: failed program was:" >&5
25240 sed 's/^/| /' conftest.
$ac_ext >&5
25242 ac_header_compiler
=no
25244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25246 echo "${ECHO_T}$ac_header_compiler" >&6
25248 # Is the header present?
25249 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25250 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25251 cat >conftest.
$ac_ext <<_ACEOF
25254 cat confdefs.h
>>conftest.
$ac_ext
25255 cat >>conftest.
$ac_ext <<_ACEOF
25256 /* end confdefs.h. */
25259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25260 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25262 grep -v '^ *+' conftest.er1
>conftest.err
25264 cat conftest.err
>&5
25265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25266 (exit $ac_status); } >/dev
/null
; then
25267 if test -s conftest.err
; then
25268 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25269 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25276 if test -z "$ac_cpp_err"; then
25277 ac_header_preproc
=yes
25279 echo "$as_me: failed program was:" >&5
25280 sed 's/^/| /' conftest.
$ac_ext >&5
25282 ac_header_preproc
=no
25284 rm -f conftest.err conftest.
$ac_ext
25285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25286 echo "${ECHO_T}$ac_header_preproc" >&6
25288 # So? What about this header?
25289 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25291 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25292 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25293 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25294 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25295 ac_header_preproc
=yes
25298 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25299 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25300 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25301 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25302 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25303 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25304 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25305 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25306 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25307 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25308 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25309 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25312 ## ----------------------------------------- ##
25313 ## Report this to wx-dev@lists.wxwidgets.org ##
25314 ## ----------------------------------------- ##
25317 sed "s/^/$as_me: WARNING: /" >&2
25320 echo "$as_me:$LINENO: checking for zlib.h" >&5
25321 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25322 if test "${ac_cv_header_zlib_h+set}" = set; then
25323 echo $ECHO_N "(cached) $ECHO_C" >&6
25325 ac_cv_header_zlib_h
=$ac_header_preproc
25327 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25328 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25334 system_zlib_h_ok
=$ac_cv_header_zlib_h
25337 if test "$system_zlib_h_ok" = "yes"; then
25338 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25339 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25340 if test "${ac_cv_lib_z_deflate+set}" = set; then
25341 echo $ECHO_N "(cached) $ECHO_C" >&6
25343 ac_check_lib_save_LIBS
=$LIBS
25345 cat >conftest.
$ac_ext <<_ACEOF
25348 cat confdefs.h
>>conftest.
$ac_ext
25349 cat >>conftest.
$ac_ext <<_ACEOF
25350 /* end confdefs.h. */
25352 /* Override any gcc2 internal prototype to avoid an error. */
25356 /* We use char because int might match the return type of a gcc2
25357 builtin and then its argument prototype would still apply. */
25367 rm -f conftest.
$ac_objext conftest
$ac_exeext
25368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25369 (eval $ac_link) 2>conftest.er1
25371 grep -v '^ *+' conftest.er1
>conftest.err
25373 cat conftest.err
>&5
25374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25375 (exit $ac_status); } &&
25376 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25378 (eval $ac_try) 2>&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); }; } &&
25382 { ac_try
='test -s conftest$ac_exeext'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; }; then
25388 ac_cv_lib_z_deflate
=yes
25390 echo "$as_me: failed program was:" >&5
25391 sed 's/^/| /' conftest.
$ac_ext >&5
25393 ac_cv_lib_z_deflate
=no
25395 rm -f conftest.err conftest.
$ac_objext \
25396 conftest
$ac_exeext conftest.
$ac_ext
25397 LIBS
=$ac_check_lib_save_LIBS
25399 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25400 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25401 if test $ac_cv_lib_z_deflate = yes; then
25407 if test "x$ZLIB_LINK" = "x" ; then
25408 if test "$wxUSE_ZLIB" = "sys" ; then
25409 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25410 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25411 { (exit 1); exit 1; }; }
25413 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25414 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25425 if test "$wxUSE_LIBPNG" != "no" ; then
25426 cat >>confdefs.h
<<\_ACEOF
25427 #define wxUSE_LIBPNG 1
25431 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25432 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25433 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25437 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25438 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25439 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25440 wxUSE_LIBPNG
=builtin
25443 if test "$wxUSE_MGL" != 1 ; then
25444 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25445 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25446 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25447 if test "${ac_cv_header_png_h+set}" = set; then
25448 echo $ECHO_N "(cached) $ECHO_C" >&6
25450 if test "$cross_compiling" = yes; then
25451 unset ac_cv_header_png_h
25454 cat >conftest.
$ac_ext <<_ACEOF
25457 cat confdefs.h
>>conftest.
$ac_ext
25458 cat >>conftest.
$ac_ext <<_ACEOF
25459 /* end confdefs.h. */
25466 FILE *f=fopen("conftestval", "w");
25469 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25474 rm -f conftest
$ac_exeext
25475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25476 (eval $ac_link) 2>&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25481 (eval $ac_try) 2>&5
25483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484 (exit $ac_status); }; }; then
25485 ac_cv_header_png_h
=`cat conftestval`
25487 echo "$as_me: program exited with status $ac_status" >&5
25488 echo "$as_me: failed program was:" >&5
25489 sed 's/^/| /' conftest.
$ac_ext >&5
25491 ( exit $ac_status )
25492 ac_cv_header_png_h
=no
25494 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25498 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25499 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25500 if test "${ac_cv_header_png_h+set}" = set; then
25501 echo "$as_me:$LINENO: checking for png.h" >&5
25502 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25503 if test "${ac_cv_header_png_h+set}" = set; then
25504 echo $ECHO_N "(cached) $ECHO_C" >&6
25506 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25507 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25509 # Is the header compilable?
25510 echo "$as_me:$LINENO: checking png.h usability" >&5
25511 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25512 cat >conftest.
$ac_ext <<_ACEOF
25515 cat confdefs.h
>>conftest.
$ac_ext
25516 cat >>conftest.
$ac_ext <<_ACEOF
25517 /* end confdefs.h. */
25518 $ac_includes_default
25521 rm -f conftest.
$ac_objext
25522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25523 (eval $ac_compile) 2>conftest.er1
25525 grep -v '^ *+' conftest.er1
>conftest.err
25527 cat conftest.err
>&5
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); } &&
25530 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532 (eval $ac_try) 2>&5
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); }; } &&
25536 { ac_try
='test -s conftest.$ac_objext'
25537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25538 (eval $ac_try) 2>&5
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); }; }; then
25542 ac_header_compiler
=yes
25544 echo "$as_me: failed program was:" >&5
25545 sed 's/^/| /' conftest.
$ac_ext >&5
25547 ac_header_compiler
=no
25549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25551 echo "${ECHO_T}$ac_header_compiler" >&6
25553 # Is the header present?
25554 echo "$as_me:$LINENO: checking png.h presence" >&5
25555 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25556 cat >conftest.
$ac_ext <<_ACEOF
25559 cat confdefs.h
>>conftest.
$ac_ext
25560 cat >>conftest.
$ac_ext <<_ACEOF
25561 /* end confdefs.h. */
25564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25565 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25567 grep -v '^ *+' conftest.er1
>conftest.err
25569 cat conftest.err
>&5
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); } >/dev
/null
; then
25572 if test -s conftest.err
; then
25573 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25574 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25581 if test -z "$ac_cpp_err"; then
25582 ac_header_preproc
=yes
25584 echo "$as_me: failed program was:" >&5
25585 sed 's/^/| /' conftest.
$ac_ext >&5
25587 ac_header_preproc
=no
25589 rm -f conftest.err conftest.
$ac_ext
25590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25591 echo "${ECHO_T}$ac_header_preproc" >&6
25593 # So? What about this header?
25594 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25596 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25597 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25598 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25599 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25600 ac_header_preproc
=yes
25603 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25604 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25605 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25606 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25607 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25608 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25609 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25610 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25611 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25612 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25613 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25614 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25617 ## ----------------------------------------- ##
25618 ## Report this to wx-dev@lists.wxwidgets.org ##
25619 ## ----------------------------------------- ##
25622 sed "s/^/$as_me: WARNING: /" >&2
25625 echo "$as_me:$LINENO: checking for png.h" >&5
25626 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25627 if test "${ac_cv_header_png_h+set}" = set; then
25628 echo $ECHO_N "(cached) $ECHO_C" >&6
25630 ac_cv_header_png_h
=$ac_header_preproc
25632 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25633 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25639 if test "$ac_cv_header_png_h" = "yes"; then
25640 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25641 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25642 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25643 echo $ECHO_N "(cached) $ECHO_C" >&6
25645 ac_check_lib_save_LIBS
=$LIBS
25646 LIBS
="-lpng -lz -lm $LIBS"
25647 cat >conftest.
$ac_ext <<_ACEOF
25650 cat confdefs.h
>>conftest.
$ac_ext
25651 cat >>conftest.
$ac_ext <<_ACEOF
25652 /* end confdefs.h. */
25654 /* Override any gcc2 internal prototype to avoid an error. */
25658 /* We use char because int might match the return type of a gcc2
25659 builtin and then its argument prototype would still apply. */
25660 char png_check_sig ();
25669 rm -f conftest.
$ac_objext conftest
$ac_exeext
25670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25671 (eval $ac_link) 2>conftest.er1
25673 grep -v '^ *+' conftest.er1
>conftest.err
25675 cat conftest.err
>&5
25676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25677 (exit $ac_status); } &&
25678 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25680 (eval $ac_try) 2>&5
25682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25683 (exit $ac_status); }; } &&
25684 { ac_try
='test -s conftest$ac_exeext'
25685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25686 (eval $ac_try) 2>&5
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); }; }; then
25690 ac_cv_lib_png_png_check_sig
=yes
25692 echo "$as_me: failed program was:" >&5
25693 sed 's/^/| /' conftest.
$ac_ext >&5
25695 ac_cv_lib_png_png_check_sig
=no
25697 rm -f conftest.err conftest.
$ac_objext \
25698 conftest
$ac_exeext conftest.
$ac_ext
25699 LIBS
=$ac_check_lib_save_LIBS
25701 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25702 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25703 if test $ac_cv_lib_png_png_check_sig = yes; then
25704 PNG_LINK
=" -lpng -lz"
25709 if test "x$PNG_LINK" = "x" ; then
25710 if test "$wxUSE_LIBPNG" = "sys" ; then
25711 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25712 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25713 { (exit 1); exit 1; }; }
25715 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25716 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25717 wxUSE_LIBPNG
=builtin
25725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
25730 if test "$wxUSE_LIBJPEG" != "no" ; then
25731 cat >>confdefs.h
<<\_ACEOF
25732 #define wxUSE_LIBJPEG 1
25736 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25737 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25738 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25742 if test "$wxUSE_MGL" != 1 ; then
25743 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25744 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25745 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25746 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 cat >conftest.
$ac_ext <<_ACEOF
25752 cat confdefs.h
>>conftest.
$ac_ext
25753 cat >>conftest.
$ac_ext <<_ACEOF
25754 /* end confdefs.h. */
25756 #undef HAVE_STDLIB_H
25758 #include <jpeglib.h>
25769 rm -f conftest.
$ac_objext
25770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25771 (eval $ac_compile) 2>conftest.er1
25773 grep -v '^ *+' conftest.er1
>conftest.err
25775 cat conftest.err
>&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); } &&
25778 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; } &&
25784 { ac_try
='test -s conftest.$ac_objext'
25785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25786 (eval $ac_try) 2>&5
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; }; then
25790 ac_cv_header_jpeglib_h
=yes
25792 echo "$as_me: failed program was:" >&5
25793 sed 's/^/| /' conftest.
$ac_ext >&5
25795 ac_cv_header_jpeglib_h
=no
25798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25802 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25803 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25805 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25806 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25807 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25808 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25809 echo $ECHO_N "(cached) $ECHO_C" >&6
25811 ac_check_lib_save_LIBS
=$LIBS
25812 LIBS
="-ljpeg $LIBS"
25813 cat >conftest.
$ac_ext <<_ACEOF
25816 cat confdefs.h
>>conftest.
$ac_ext
25817 cat >>conftest.
$ac_ext <<_ACEOF
25818 /* end confdefs.h. */
25820 /* Override any gcc2 internal prototype to avoid an error. */
25824 /* We use char because int might match the return type of a gcc2
25825 builtin and then its argument prototype would still apply. */
25826 char jpeg_read_header ();
25830 jpeg_read_header ();
25835 rm -f conftest.
$ac_objext conftest
$ac_exeext
25836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25837 (eval $ac_link) 2>conftest.er1
25839 grep -v '^ *+' conftest.er1
>conftest.err
25841 cat conftest.err
>&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); } &&
25844 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25846 (eval $ac_try) 2>&5
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); }; } &&
25850 { ac_try
='test -s conftest$ac_exeext'
25851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25852 (eval $ac_try) 2>&5
25854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855 (exit $ac_status); }; }; then
25856 ac_cv_lib_jpeg_jpeg_read_header
=yes
25858 echo "$as_me: failed program was:" >&5
25859 sed 's/^/| /' conftest.
$ac_ext >&5
25861 ac_cv_lib_jpeg_jpeg_read_header
=no
25863 rm -f conftest.err conftest.
$ac_objext \
25864 conftest
$ac_exeext conftest.
$ac_ext
25865 LIBS
=$ac_check_lib_save_LIBS
25867 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25868 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25869 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25870 JPEG_LINK
=" -ljpeg"
25875 if test "x$JPEG_LINK" = "x" ; then
25876 if test "$wxUSE_LIBJPEG" = "sys" ; then
25877 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25878 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25879 { (exit 1); exit 1; }; }
25881 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25882 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25883 wxUSE_LIBJPEG
=builtin
25894 TIFF_PREREQ_LINKS
=-lm
25895 if test "$wxUSE_LIBTIFF" != "no" ; then
25896 cat >>confdefs.h
<<\_ACEOF
25897 #define wxUSE_LIBTIFF 1
25901 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25902 if test "$wxUSE_LIBJPEG" = "sys"; then
25903 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25905 if test "$wxUSE_ZLIB" = "sys"; then
25906 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25908 if test "${ac_cv_header_tiffio_h+set}" = set; then
25909 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25910 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25911 if test "${ac_cv_header_tiffio_h+set}" = set; then
25912 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25915 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25917 # Is the header compilable?
25918 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25919 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25920 cat >conftest.
$ac_ext <<_ACEOF
25923 cat confdefs.h
>>conftest.
$ac_ext
25924 cat >>conftest.
$ac_ext <<_ACEOF
25925 /* end confdefs.h. */
25926 $ac_includes_default
25927 #include <tiffio.h>
25929 rm -f conftest.
$ac_objext
25930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25931 (eval $ac_compile) 2>conftest.er1
25933 grep -v '^ *+' conftest.er1
>conftest.err
25935 cat conftest.err
>&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); } &&
25938 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; } &&
25944 { ac_try
='test -s conftest.$ac_objext'
25945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25946 (eval $ac_try) 2>&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); }; }; then
25950 ac_header_compiler
=yes
25952 echo "$as_me: failed program was:" >&5
25953 sed 's/^/| /' conftest.
$ac_ext >&5
25955 ac_header_compiler
=no
25957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25959 echo "${ECHO_T}$ac_header_compiler" >&6
25961 # Is the header present?
25962 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25963 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25964 cat >conftest.
$ac_ext <<_ACEOF
25967 cat confdefs.h
>>conftest.
$ac_ext
25968 cat >>conftest.
$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25970 #include <tiffio.h>
25972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25973 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25975 grep -v '^ *+' conftest.er1
>conftest.err
25977 cat conftest.err
>&5
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); } >/dev
/null
; then
25980 if test -s conftest.err
; then
25981 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25982 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25989 if test -z "$ac_cpp_err"; then
25990 ac_header_preproc
=yes
25992 echo "$as_me: failed program was:" >&5
25993 sed 's/^/| /' conftest.
$ac_ext >&5
25995 ac_header_preproc
=no
25997 rm -f conftest.err conftest.
$ac_ext
25998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25999 echo "${ECHO_T}$ac_header_preproc" >&6
26001 # So? What about this header?
26002 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26004 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26005 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26006 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26007 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26008 ac_header_preproc
=yes
26011 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26012 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26013 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26014 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26015 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26016 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26017 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26018 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26019 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26020 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26021 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26022 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26025 ## ----------------------------------------- ##
26026 ## Report this to wx-dev@lists.wxwidgets.org ##
26027 ## ----------------------------------------- ##
26030 sed "s/^/$as_me: WARNING: /" >&2
26033 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26034 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26035 if test "${ac_cv_header_tiffio_h+set}" = set; then
26036 echo $ECHO_N "(cached) $ECHO_C" >&6
26038 ac_cv_header_tiffio_h
=$ac_header_preproc
26040 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26041 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26044 if test $ac_cv_header_tiffio_h = yes; then
26046 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26047 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26048 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26049 echo $ECHO_N "(cached) $ECHO_C" >&6
26051 ac_check_lib_save_LIBS
=$LIBS
26052 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26053 cat >conftest.
$ac_ext <<_ACEOF
26056 cat confdefs.h
>>conftest.
$ac_ext
26057 cat >>conftest.
$ac_ext <<_ACEOF
26058 /* end confdefs.h. */
26060 /* Override any gcc2 internal prototype to avoid an error. */
26064 /* We use char because int might match the return type of a gcc2
26065 builtin and then its argument prototype would still apply. */
26075 rm -f conftest.
$ac_objext conftest
$ac_exeext
26076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26077 (eval $ac_link) 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); } &&
26084 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26086 (eval $ac_try) 2>&5
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); }; } &&
26090 { ac_try
='test -s conftest$ac_exeext'
26091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26092 (eval $ac_try) 2>&5
26094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095 (exit $ac_status); }; }; then
26096 ac_cv_lib_tiff_TIFFError
=yes
26098 echo "$as_me: failed program was:" >&5
26099 sed 's/^/| /' conftest.
$ac_ext >&5
26101 ac_cv_lib_tiff_TIFFError
=no
26103 rm -f conftest.err conftest.
$ac_objext \
26104 conftest
$ac_exeext conftest.
$ac_ext
26105 LIBS
=$ac_check_lib_save_LIBS
26107 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26108 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26109 if test $ac_cv_lib_tiff_TIFFError = yes; then
26110 TIFF_LINK
=" -ltiff"
26119 if test "x$TIFF_LINK" = "x" ; then
26120 if test "$wxUSE_LIBTIFF" = "sys" ; then
26121 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26122 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26123 { (exit 1); exit 1; }; }
26125 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26126 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26127 wxUSE_LIBTIFF
=builtin
26136 if test "$wxUSE_WCHAR_T" != "yes"; then
26137 if test "$wxUSE_EXPAT" != "no"; then
26138 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26139 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26142 if test "$wxUSE_XML" != "no"; then
26143 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26144 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26149 if test "$wxUSE_EXPAT" != "no"; then
26151 cat >>confdefs.h
<<\_ACEOF
26152 #define wxUSE_EXPAT 1
26155 cat >>confdefs.h
<<\_ACEOF
26156 #define wxUSE_XML 1
26160 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26161 if test "${ac_cv_header_expat_h+set}" = set; then
26162 echo "$as_me:$LINENO: checking for expat.h" >&5
26163 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26164 if test "${ac_cv_header_expat_h+set}" = set; then
26165 echo $ECHO_N "(cached) $ECHO_C" >&6
26167 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26168 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26170 # Is the header compilable?
26171 echo "$as_me:$LINENO: checking expat.h usability" >&5
26172 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26173 cat >conftest.
$ac_ext <<_ACEOF
26176 cat confdefs.h
>>conftest.
$ac_ext
26177 cat >>conftest.
$ac_ext <<_ACEOF
26178 /* end confdefs.h. */
26179 $ac_includes_default
26182 rm -f conftest.
$ac_objext
26183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26184 (eval $ac_compile) 2>conftest.er1
26186 grep -v '^ *+' conftest.er1
>conftest.err
26188 cat conftest.err
>&5
26189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190 (exit $ac_status); } &&
26191 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26193 (eval $ac_try) 2>&5
26195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26196 (exit $ac_status); }; } &&
26197 { ac_try
='test -s conftest.$ac_objext'
26198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26199 (eval $ac_try) 2>&5
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); }; }; then
26203 ac_header_compiler
=yes
26205 echo "$as_me: failed program was:" >&5
26206 sed 's/^/| /' conftest.
$ac_ext >&5
26208 ac_header_compiler
=no
26210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26211 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26212 echo "${ECHO_T}$ac_header_compiler" >&6
26214 # Is the header present?
26215 echo "$as_me:$LINENO: checking expat.h presence" >&5
26216 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26217 cat >conftest.
$ac_ext <<_ACEOF
26220 cat confdefs.h
>>conftest.
$ac_ext
26221 cat >>conftest.
$ac_ext <<_ACEOF
26222 /* end confdefs.h. */
26225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26226 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26228 grep -v '^ *+' conftest.er1
>conftest.err
26230 cat conftest.err
>&5
26231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232 (exit $ac_status); } >/dev
/null
; then
26233 if test -s conftest.err
; then
26234 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26235 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26242 if test -z "$ac_cpp_err"; then
26243 ac_header_preproc
=yes
26245 echo "$as_me: failed program was:" >&5
26246 sed 's/^/| /' conftest.
$ac_ext >&5
26248 ac_header_preproc
=no
26250 rm -f conftest.err conftest.
$ac_ext
26251 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26252 echo "${ECHO_T}$ac_header_preproc" >&6
26254 # So? What about this header?
26255 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26257 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26258 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26259 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26260 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26261 ac_header_preproc
=yes
26264 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26265 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26266 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26267 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26268 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26269 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26270 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26271 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26272 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26273 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26274 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26275 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26278 ## ----------------------------------------- ##
26279 ## Report this to wx-dev@lists.wxwidgets.org ##
26280 ## ----------------------------------------- ##
26283 sed "s/^/$as_me: WARNING: /" >&2
26286 echo "$as_me:$LINENO: checking for expat.h" >&5
26287 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26288 if test "${ac_cv_header_expat_h+set}" = set; then
26289 echo $ECHO_N "(cached) $ECHO_C" >&6
26291 ac_cv_header_expat_h
=$ac_header_preproc
26293 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26294 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26297 if test $ac_cv_header_expat_h = yes; then
26302 if test "x$found_expat_h" = "x1"; then
26303 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26304 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26305 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26306 echo $ECHO_N "(cached) $ECHO_C" >&6
26309 cat >conftest.
$ac_ext <<_ACEOF
26312 cat confdefs.h
>>conftest.
$ac_ext
26313 cat >>conftest.
$ac_ext <<_ACEOF
26314 /* end confdefs.h. */
26324 rm -f conftest.
$ac_objext
26325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26326 (eval $ac_compile) 2>conftest.er1
26328 grep -v '^ *+' conftest.er1
>conftest.err
26330 cat conftest.err
>&5
26331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332 (exit $ac_status); } &&
26333 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26335 (eval $ac_try) 2>&5
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); }; } &&
26339 { ac_try
='test -s conftest.$ac_objext'
26340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26341 (eval $ac_try) 2>&5
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); }; }; then
26345 wx_cv_expat_is_not_broken
=yes
26347 echo "$as_me: failed program was:" >&5
26348 sed 's/^/| /' conftest.
$ac_ext >&5
26350 wx_cv_expat_is_not_broken
=no
26353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26357 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26358 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26359 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26360 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26361 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26362 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26363 echo $ECHO_N "(cached) $ECHO_C" >&6
26365 ac_check_lib_save_LIBS
=$LIBS
26366 LIBS
="-lexpat $LIBS"
26367 cat >conftest.
$ac_ext <<_ACEOF
26370 cat confdefs.h
>>conftest.
$ac_ext
26371 cat >>conftest.
$ac_ext <<_ACEOF
26372 /* end confdefs.h. */
26374 /* Override any gcc2 internal prototype to avoid an error. */
26378 /* We use char because int might match the return type of a gcc2
26379 builtin and then its argument prototype would still apply. */
26380 char XML_ParserCreate ();
26384 XML_ParserCreate ();
26389 rm -f conftest.
$ac_objext conftest
$ac_exeext
26390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26391 (eval $ac_link) 2>conftest.er1
26393 grep -v '^ *+' conftest.er1
>conftest.err
26395 cat conftest.err
>&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); } &&
26398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26400 (eval $ac_try) 2>&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); }; } &&
26404 { ac_try
='test -s conftest$ac_exeext'
26405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406 (eval $ac_try) 2>&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); }; }; then
26410 ac_cv_lib_expat_XML_ParserCreate
=yes
26412 echo "$as_me: failed program was:" >&5
26413 sed 's/^/| /' conftest.
$ac_ext >&5
26415 ac_cv_lib_expat_XML_ParserCreate
=no
26417 rm -f conftest.err conftest.
$ac_objext \
26418 conftest
$ac_exeext conftest.
$ac_ext
26419 LIBS
=$ac_check_lib_save_LIBS
26421 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26422 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26423 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26424 EXPAT_LINK
=" -lexpat"
26429 if test "x$EXPAT_LINK" = "x" ; then
26430 if test "$wxUSE_EXPAT" = "sys" ; then
26431 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26432 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26433 { (exit 1); exit 1; }; }
26435 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26436 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26437 wxUSE_EXPAT
=builtin
26443 if test "$wxUSE_EXPAT" = "builtin" ; then
26446 subdirs
="$subdirs src/expat"
26453 if test "$wxUSE_LIBMSPACK" != "no"; then
26454 if test "${ac_cv_header_mspack_h+set}" = set; then
26455 echo "$as_me:$LINENO: checking for mspack.h" >&5
26456 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26457 if test "${ac_cv_header_mspack_h+set}" = set; then
26458 echo $ECHO_N "(cached) $ECHO_C" >&6
26460 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26461 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26463 # Is the header compilable?
26464 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26465 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26466 cat >conftest.
$ac_ext <<_ACEOF
26469 cat confdefs.h
>>conftest.
$ac_ext
26470 cat >>conftest.
$ac_ext <<_ACEOF
26471 /* end confdefs.h. */
26472 $ac_includes_default
26473 #include <mspack.h>
26475 rm -f conftest.
$ac_objext
26476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26477 (eval $ac_compile) 2>conftest.er1
26479 grep -v '^ *+' conftest.er1
>conftest.err
26481 cat conftest.err
>&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); } &&
26484 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26486 (eval $ac_try) 2>&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); }; } &&
26490 { ac_try
='test -s conftest.$ac_objext'
26491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26492 (eval $ac_try) 2>&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); }; }; then
26496 ac_header_compiler
=yes
26498 echo "$as_me: failed program was:" >&5
26499 sed 's/^/| /' conftest.
$ac_ext >&5
26501 ac_header_compiler
=no
26503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26505 echo "${ECHO_T}$ac_header_compiler" >&6
26507 # Is the header present?
26508 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26509 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26510 cat >conftest.
$ac_ext <<_ACEOF
26513 cat confdefs.h
>>conftest.
$ac_ext
26514 cat >>conftest.
$ac_ext <<_ACEOF
26515 /* end confdefs.h. */
26516 #include <mspack.h>
26518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26519 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26521 grep -v '^ *+' conftest.er1
>conftest.err
26523 cat conftest.err
>&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } >/dev
/null
; then
26526 if test -s conftest.err
; then
26527 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26528 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26535 if test -z "$ac_cpp_err"; then
26536 ac_header_preproc
=yes
26538 echo "$as_me: failed program was:" >&5
26539 sed 's/^/| /' conftest.
$ac_ext >&5
26541 ac_header_preproc
=no
26543 rm -f conftest.err conftest.
$ac_ext
26544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26545 echo "${ECHO_T}$ac_header_preproc" >&6
26547 # So? What about this header?
26548 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26550 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26551 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26552 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26553 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26554 ac_header_preproc
=yes
26557 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26558 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26559 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26560 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26561 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26562 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26563 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26564 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26565 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26566 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26567 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26568 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26571 ## ----------------------------------------- ##
26572 ## Report this to wx-dev@lists.wxwidgets.org ##
26573 ## ----------------------------------------- ##
26576 sed "s/^/$as_me: WARNING: /" >&2
26579 echo "$as_me:$LINENO: checking for mspack.h" >&5
26580 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26581 if test "${ac_cv_header_mspack_h+set}" = set; then
26582 echo $ECHO_N "(cached) $ECHO_C" >&6
26584 ac_cv_header_mspack_h
=$ac_header_preproc
26586 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26587 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26590 if test $ac_cv_header_mspack_h = yes; then
26595 if test "x$found_mspack_h" = "x1"; then
26596 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26597 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26598 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26601 ac_check_lib_save_LIBS
=$LIBS
26602 LIBS
="-lmspack $LIBS"
26603 cat >conftest.
$ac_ext <<_ACEOF
26606 cat confdefs.h
>>conftest.
$ac_ext
26607 cat >>conftest.
$ac_ext <<_ACEOF
26608 /* end confdefs.h. */
26610 /* Override any gcc2 internal prototype to avoid an error. */
26614 /* We use char because int might match the return type of a gcc2
26615 builtin and then its argument prototype would still apply. */
26616 char mspack_create_chm_decompressor ();
26620 mspack_create_chm_decompressor ();
26625 rm -f conftest.
$ac_objext conftest
$ac_exeext
26626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26627 (eval $ac_link) 2>conftest.er1
26629 grep -v '^ *+' conftest.er1
>conftest.err
26631 cat conftest.err
>&5
26632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633 (exit $ac_status); } &&
26634 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26636 (eval $ac_try) 2>&5
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); }; } &&
26640 { ac_try
='test -s conftest$ac_exeext'
26641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26642 (eval $ac_try) 2>&5
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); }; }; then
26646 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
26648 echo "$as_me: failed program was:" >&5
26649 sed 's/^/| /' conftest.
$ac_ext >&5
26651 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
26653 rm -f conftest.err conftest.
$ac_objext \
26654 conftest
$ac_exeext conftest.
$ac_ext
26655 LIBS
=$ac_check_lib_save_LIBS
26657 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26658 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26659 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26660 MSPACK_LINK
=" -lmspack"
26664 if test "x$MSPACK_LINK" = "x" ; then
26669 if test "$wxUSE_LIBMSPACK" != "no"; then
26670 cat >>confdefs.h
<<\_ACEOF
26671 #define wxUSE_LIBMSPACK 1
26685 if test "$USE_WIN32" = 1 ; then
26687 for ac_header
in w32api.h
26689 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26691 echo "$as_me:$LINENO: checking for $ac_header" >&5
26692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26694 echo $ECHO_N "(cached) $ECHO_C" >&6
26696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26699 # Is the header compilable?
26700 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26701 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26702 cat >conftest.
$ac_ext <<_ACEOF
26705 cat confdefs.h
>>conftest.
$ac_ext
26706 cat >>conftest.
$ac_ext <<_ACEOF
26707 /* end confdefs.h. */
26708 $ac_includes_default
26709 #include <$ac_header>
26711 rm -f conftest.
$ac_objext
26712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26713 (eval $ac_compile) 2>conftest.er1
26715 grep -v '^ *+' conftest.er1
>conftest.err
26717 cat conftest.err
>&5
26718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26719 (exit $ac_status); } &&
26720 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26722 (eval $ac_try) 2>&5
26724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26725 (exit $ac_status); }; } &&
26726 { ac_try
='test -s conftest.$ac_objext'
26727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26728 (eval $ac_try) 2>&5
26730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26731 (exit $ac_status); }; }; then
26732 ac_header_compiler
=yes
26734 echo "$as_me: failed program was:" >&5
26735 sed 's/^/| /' conftest.
$ac_ext >&5
26737 ac_header_compiler
=no
26739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26741 echo "${ECHO_T}$ac_header_compiler" >&6
26743 # Is the header present?
26744 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26746 cat >conftest.
$ac_ext <<_ACEOF
26749 cat confdefs.h
>>conftest.
$ac_ext
26750 cat >>conftest.
$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26752 #include <$ac_header>
26754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26757 grep -v '^ *+' conftest.er1
>conftest.err
26759 cat conftest.err
>&5
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); } >/dev
/null
; then
26762 if test -s conftest.err
; then
26763 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26764 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26771 if test -z "$ac_cpp_err"; then
26772 ac_header_preproc
=yes
26774 echo "$as_me: failed program was:" >&5
26775 sed 's/^/| /' conftest.
$ac_ext >&5
26777 ac_header_preproc
=no
26779 rm -f conftest.err conftest.
$ac_ext
26780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26781 echo "${ECHO_T}$ac_header_preproc" >&6
26783 # So? What about this header?
26784 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26786 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26787 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26789 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26790 ac_header_preproc
=yes
26793 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26794 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26795 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26796 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26797 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26798 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26799 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26800 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26803 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26804 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26807 ## ----------------------------------------- ##
26808 ## Report this to wx-dev@lists.wxwidgets.org ##
26809 ## ----------------------------------------- ##
26812 sed "s/^/$as_me: WARNING: /" >&2
26815 echo "$as_me:$LINENO: checking for $ac_header" >&5
26816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26818 echo $ECHO_N "(cached) $ECHO_C" >&6
26820 eval "$as_ac_Header=\$ac_header_preproc"
26822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26827 cat >>confdefs.h
<<_ACEOF
26828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26835 if test "${ac_cv_header_windows_h+set}" = set; then
26836 echo "$as_me:$LINENO: checking for windows.h" >&5
26837 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26838 if test "${ac_cv_header_windows_h+set}" = set; then
26839 echo $ECHO_N "(cached) $ECHO_C" >&6
26841 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26842 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26844 # Is the header compilable?
26845 echo "$as_me:$LINENO: checking windows.h usability" >&5
26846 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26847 cat >conftest.
$ac_ext <<_ACEOF
26850 cat confdefs.h
>>conftest.
$ac_ext
26851 cat >>conftest.
$ac_ext <<_ACEOF
26852 /* end confdefs.h. */
26853 $ac_includes_default
26854 #include <windows.h>
26856 rm -f conftest.
$ac_objext
26857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26858 (eval $ac_compile) 2>conftest.er1
26860 grep -v '^ *+' conftest.er1
>conftest.err
26862 cat conftest.err
>&5
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); } &&
26865 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26867 (eval $ac_try) 2>&5
26869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870 (exit $ac_status); }; } &&
26871 { ac_try
='test -s conftest.$ac_objext'
26872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26873 (eval $ac_try) 2>&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); }; }; then
26877 ac_header_compiler
=yes
26879 echo "$as_me: failed program was:" >&5
26880 sed 's/^/| /' conftest.
$ac_ext >&5
26882 ac_header_compiler
=no
26884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26886 echo "${ECHO_T}$ac_header_compiler" >&6
26888 # Is the header present?
26889 echo "$as_me:$LINENO: checking windows.h presence" >&5
26890 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26891 cat >conftest.
$ac_ext <<_ACEOF
26894 cat confdefs.h
>>conftest.
$ac_ext
26895 cat >>conftest.
$ac_ext <<_ACEOF
26896 /* end confdefs.h. */
26897 #include <windows.h>
26899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26900 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26902 grep -v '^ *+' conftest.er1
>conftest.err
26904 cat conftest.err
>&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } >/dev
/null
; then
26907 if test -s conftest.err
; then
26908 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26909 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26916 if test -z "$ac_cpp_err"; then
26917 ac_header_preproc
=yes
26919 echo "$as_me: failed program was:" >&5
26920 sed 's/^/| /' conftest.
$ac_ext >&5
26922 ac_header_preproc
=no
26924 rm -f conftest.err conftest.
$ac_ext
26925 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26926 echo "${ECHO_T}$ac_header_preproc" >&6
26928 # So? What about this header?
26929 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26931 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26932 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26933 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26934 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26935 ac_header_preproc
=yes
26938 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26939 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26940 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26941 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26942 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26943 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26944 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26945 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26946 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26947 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26948 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26949 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26952 ## ----------------------------------------- ##
26953 ## Report this to wx-dev@lists.wxwidgets.org ##
26954 ## ----------------------------------------- ##
26957 sed "s/^/$as_me: WARNING: /" >&2
26960 echo "$as_me:$LINENO: checking for windows.h" >&5
26961 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26962 if test "${ac_cv_header_windows_h+set}" = set; then
26963 echo $ECHO_N "(cached) $ECHO_C" >&6
26965 ac_cv_header_windows_h
=$ac_header_preproc
26967 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26968 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26971 if test $ac_cv_header_windows_h = yes; then
26975 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26976 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26977 { (exit 1); exit 1; }; }
26983 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26985 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26986 LIBS
="$LIBS -loleacc"
26991 LIBS
="$LIBS -lkernel32 -luser32"
26994 if test "$wxUSE_ODBC" = "sys" ; then
26997 if test "$wxUSE_ODBC" = "yes" ; then
26998 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26999 cat >>confdefs.h
<<\_ACEOF
27000 #define wxUSE_ODBC 1
27005 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27006 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27008 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27010 WIN32INSTALL
=win32install
27013 if test "$wxUSE_GUI" = "yes"; then
27023 if test "$wxUSE_COCOA" = 1 ; then
27024 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27025 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27026 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27027 wxUSE_PRINTING_ARCHITECTURE
=no
27029 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27030 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27031 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27032 wxUSE_DRAG_AND_DROP
=no
27034 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27035 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27036 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27041 if test "$wxUSE_MSW" = 1 ; then
27047 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27051 if test "$wxUSE_GTK" = 1; then
27053 ac_cpp
='$CPP $CPPFLAGS'
27054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27059 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27060 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27062 gtk_version_cached
=1
27063 if test "${wx_cv_lib_gtk+set}" = set; then
27064 echo $ECHO_N "(cached) $ECHO_C" >&6
27067 gtk_version_cached
=0
27068 echo "$as_me:$LINENO: result: " >&5
27069 echo "${ECHO_T}" >&6
27072 if test "$wxUSE_THREADS" = "yes"; then
27073 GTK_MODULES
=gthread
27077 if test "x$wxGTK_VERSION" != "x1"
27081 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27086 # Check whether --enable-gtktest or --disable-gtktest was given.
27087 if test "${enable_gtktest+set}" = set; then
27088 enableval
="$enable_gtktest"
27094 pkg_config_args
=gtk
+-2.0
27095 for module
in .
$GTK_MODULES
27099 pkg_config_args
="$pkg_config_args gthread-2.0"
27106 # Extract the first word of "pkg-config", so it can be a program name with args.
27107 set dummy pkg
-config; ac_word
=$2
27108 echo "$as_me:$LINENO: checking for $ac_word" >&5
27109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27110 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27111 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 case $PKG_CONFIG in
27115 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27119 for as_dir
in $PATH
27122 test -z "$as_dir" && as_dir
=.
27123 for ac_exec_ext
in '' $ac_executable_extensions; do
27124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27125 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27132 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27136 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27138 if test -n "$PKG_CONFIG"; then
27139 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27140 echo "${ECHO_T}$PKG_CONFIG" >&6
27142 echo "$as_me:$LINENO: result: no" >&5
27143 echo "${ECHO_T}no" >&6
27147 if test x
$PKG_CONFIG != xno
; then
27148 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27151 echo "*** pkg-config too old; version 0.7 or better required."
27159 min_gtk_version
=2.0.0
27160 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27161 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27163 if test x
$PKG_CONFIG != xno
; then
27164 ## don't try to run the test against uninstalled libtool libs
27165 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27166 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27170 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27177 if test x
"$no_gtk" = x
; then
27178 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27179 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27180 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27181 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27182 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27183 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27184 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27185 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27186 if test "x$enable_gtktest" = "xyes" ; then
27187 ac_save_CFLAGS
="$CFLAGS"
27188 ac_save_LIBS
="$LIBS"
27189 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27190 LIBS
="$GTK_LIBS $LIBS"
27192 if test "$cross_compiling" = yes; then
27193 echo $ac_n "cross compiling; assumed OK... $ac_c"
27195 cat >conftest.
$ac_ext <<_ACEOF
27198 cat confdefs.h
>>conftest.
$ac_ext
27199 cat >>conftest.
$ac_ext <<_ACEOF
27200 /* end confdefs.h. */
27202 #include <gtk/gtk.h>
27204 #include <stdlib.h>
27209 int major, minor, micro;
27212 system ("touch conf.gtktest");
27214 /* HP/UX 9 (%@#!) writes to sscanf strings */
27215 tmp_version = g_strdup("$min_gtk_version");
27216 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27217 printf("%s, bad version string\n", "$min_gtk_version");
27221 if ((gtk_major_version != $gtk_config_major_version) ||
27222 (gtk_minor_version != $gtk_config_minor_version) ||
27223 (gtk_micro_version != $gtk_config_micro_version))
27225 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27226 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27227 gtk_major_version, gtk_minor_version, gtk_micro_version);
27228 printf ("*** was found! If pkg-config was correct, then it is best\n");
27229 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27230 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27231 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27232 printf("*** required on your system.\n");
27233 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27234 printf("*** to point to the correct configuration files\n");
27236 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27237 (gtk_minor_version != GTK_MINOR_VERSION) ||
27238 (gtk_micro_version != GTK_MICRO_VERSION))
27240 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27241 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27242 printf("*** library (version %d.%d.%d)\n",
27243 gtk_major_version, gtk_minor_version, gtk_micro_version);
27247 if ((gtk_major_version > major) ||
27248 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27249 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27255 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27256 gtk_major_version, gtk_minor_version, gtk_micro_version);
27257 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27258 major, minor, micro);
27259 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27261 printf("*** If you have already installed a sufficiently new version, this error\n");
27262 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27263 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27264 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27265 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27266 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27267 printf("*** so that the correct libraries are found at run-time))\n");
27274 rm -f conftest
$ac_exeext
27275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27276 (eval $ac_link) 2>&5
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27281 (eval $ac_try) 2>&5
27283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27284 (exit $ac_status); }; }; then
27287 echo "$as_me: program exited with status $ac_status" >&5
27288 echo "$as_me: failed program was:" >&5
27289 sed 's/^/| /' conftest.
$ac_ext >&5
27291 ( exit $ac_status )
27294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27296 CFLAGS
="$ac_save_CFLAGS"
27297 LIBS
="$ac_save_LIBS"
27300 if test "x$no_gtk" = x
; then
27301 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27302 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27305 echo "$as_me:$LINENO: result: no" >&5
27306 echo "${ECHO_T}no" >&6
27307 if test "$PKG_CONFIG" = "no" ; then
27308 echo "*** A new enough version of pkg-config was not found."
27309 echo "*** See http://pkgconfig.sourceforge.net"
27311 if test -f conf.gtktest
; then
27314 echo "*** Could not run GTK+ test program, checking why..."
27315 ac_save_CFLAGS
="$CFLAGS"
27316 ac_save_LIBS
="$LIBS"
27317 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27318 LIBS
="$LIBS $GTK_LIBS"
27319 cat >conftest.
$ac_ext <<_ACEOF
27322 cat confdefs.h
>>conftest.
$ac_ext
27323 cat >>conftest.
$ac_ext <<_ACEOF
27324 /* end confdefs.h. */
27326 #include <gtk/gtk.h>
27332 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27337 rm -f conftest.
$ac_objext conftest
$ac_exeext
27338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27339 (eval $ac_link) 2>conftest.er1
27341 grep -v '^ *+' conftest.er1
>conftest.err
27343 cat conftest.err
>&5
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); } &&
27346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27348 (eval $ac_try) 2>&5
27350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27351 (exit $ac_status); }; } &&
27352 { ac_try
='test -s conftest$ac_exeext'
27353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27354 (eval $ac_try) 2>&5
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); }; }; then
27358 echo "*** The test program compiled, but did not run. This usually means"
27359 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27360 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27361 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27362 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27363 echo "*** is required on your system"
27365 echo "*** If you have an old version installed, it is best to remove it, although"
27366 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27368 echo "$as_me: failed program was:" >&5
27369 sed 's/^/| /' conftest.
$ac_ext >&5
27371 echo "*** The test program failed to compile or link. See the file config.log for the"
27372 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27374 rm -f conftest.err conftest.
$ac_objext \
27375 conftest
$ac_exeext conftest.
$ac_ext
27376 CFLAGS
="$ac_save_CFLAGS"
27377 LIBS
="$ac_save_LIBS"
27391 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27392 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
27393 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
27395 if test "$wxUSE_SHARED" != "yes"; then
27396 GTK_LIBS
="$GTK_LIBS -lX11"
27401 if test -z "$wx_cv_lib_gtk"; then
27402 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27404 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27405 if test "${with_gtk_prefix+set}" = set; then
27406 withval
="$with_gtk_prefix"
27407 gtk_config_prefix
="$withval"
27409 gtk_config_prefix
=""
27412 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27413 if test "${with_gtk_exec_prefix+set}" = set; then
27414 withval
="$with_gtk_exec_prefix"
27415 gtk_config_exec_prefix
="$withval"
27417 gtk_config_exec_prefix
=""
27419 # Check whether --enable-gtktest or --disable-gtktest was given.
27420 if test "${enable_gtktest+set}" = set; then
27421 enableval
="$enable_gtktest"
27427 for module
in .
$GTK_MODULES
27431 gtk_config_args
="$gtk_config_args gthread"
27436 if test x
$gtk_config_exec_prefix != x
; then
27437 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27438 if test x
${GTK_CONFIG+set} != xset
; then
27439 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27442 if test x
$gtk_config_prefix != x
; then
27443 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27444 if test x
${GTK_CONFIG+set} != xset
; then
27445 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27449 # Extract the first word of "gtk-config", so it can be a program name with args.
27450 set dummy gtk
-config; ac_word
=$2
27451 echo "$as_me:$LINENO: checking for $ac_word" >&5
27452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27453 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27454 echo $ECHO_N "(cached) $ECHO_C" >&6
27456 case $GTK_CONFIG in
27458 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27462 for as_dir
in $PATH
27465 test -z "$as_dir" && as_dir
=.
27466 for ac_exec_ext
in '' $ac_executable_extensions; do
27467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27468 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27475 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27479 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27481 if test -n "$GTK_CONFIG"; then
27482 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27483 echo "${ECHO_T}$GTK_CONFIG" >&6
27485 echo "$as_me:$LINENO: result: no" >&5
27486 echo "${ECHO_T}no" >&6
27489 min_gtk_version
=1.2.7
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 "$GTK_CONFIG" = "no" ; then
27496 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27497 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27498 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27500 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27501 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27502 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27503 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27504 if test "x$enable_gtktest" = "xyes" ; then
27505 ac_save_CFLAGS
="$CFLAGS"
27506 ac_save_LIBS
="$LIBS"
27507 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27508 LIBS
="$GTK_LIBS $LIBS"
27510 if test "$cross_compiling" = yes; then
27511 echo $ac_n "cross compiling; assumed OK... $ac_c"
27513 cat >conftest.
$ac_ext <<_ACEOF
27516 cat confdefs.h
>>conftest.
$ac_ext
27517 cat >>conftest.
$ac_ext <<_ACEOF
27518 /* end confdefs.h. */
27520 #include <gtk/gtk.h>
27522 #include <stdlib.h>
27527 int major, minor, micro;
27530 system ("touch conf.gtktest");
27532 /* HP/UX 9 (%@#!) writes to sscanf strings */
27533 tmp_version = g_strdup("$min_gtk_version");
27534 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27535 printf("%s, bad version string\n", "$min_gtk_version");
27539 if ((gtk_major_version != $gtk_config_major_version) ||
27540 (gtk_minor_version != $gtk_config_minor_version) ||
27541 (gtk_micro_version != $gtk_config_micro_version))
27543 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27544 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27545 gtk_major_version, gtk_minor_version, gtk_micro_version);
27546 printf ("*** was found! If gtk-config was correct, then it is best\n");
27547 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27548 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27549 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27550 printf("*** required on your system.\n");
27551 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27552 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27553 printf("*** before re-running configure\n");
27555 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27556 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27557 (gtk_minor_version != GTK_MINOR_VERSION) ||
27558 (gtk_micro_version != GTK_MICRO_VERSION))
27560 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27561 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27562 printf("*** library (version %d.%d.%d)\n",
27563 gtk_major_version, gtk_minor_version, gtk_micro_version);
27565 #endif /* defined (GTK_MAJOR_VERSION) ... */
27568 if ((gtk_major_version > major) ||
27569 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27570 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27576 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27577 gtk_major_version, gtk_minor_version, gtk_micro_version);
27578 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27579 major, minor, micro);
27580 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27582 printf("*** If you have already installed a sufficiently new version, this error\n");
27583 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27584 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27585 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27586 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27587 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27588 printf("*** so that the correct libraries are found at run-time))\n");
27595 rm -f conftest
$ac_exeext
27596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27597 (eval $ac_link) 2>&5
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27602 (eval $ac_try) 2>&5
27604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27605 (exit $ac_status); }; }; then
27608 echo "$as_me: program exited with status $ac_status" >&5
27609 echo "$as_me: failed program was:" >&5
27610 sed 's/^/| /' conftest.
$ac_ext >&5
27612 ( exit $ac_status )
27615 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27617 CFLAGS
="$ac_save_CFLAGS"
27618 LIBS
="$ac_save_LIBS"
27621 if test "x$no_gtk" = x
; then
27622 echo "$as_me:$LINENO: result: yes" >&5
27623 echo "${ECHO_T}yes" >&6
27624 wx_cv_lib_gtk
=1.2.7
27626 echo "$as_me:$LINENO: result: no" >&5
27627 echo "${ECHO_T}no" >&6
27628 if test "$GTK_CONFIG" = "no" ; then
27629 echo "*** The gtk-config script installed by GTK could not be found"
27630 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27631 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27632 echo "*** full path to gtk-config."
27634 if test -f conf.gtktest
; then
27637 echo "*** Could not run GTK test program, checking why..."
27638 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27639 LIBS
="$LIBS $GTK_LIBS"
27640 cat >conftest.
$ac_ext <<_ACEOF
27643 cat confdefs.h
>>conftest.
$ac_ext
27644 cat >>conftest.
$ac_ext <<_ACEOF
27645 /* end confdefs.h. */
27647 #include <gtk/gtk.h>
27653 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27658 rm -f conftest.
$ac_objext conftest
$ac_exeext
27659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27660 (eval $ac_link) 2>conftest.er1
27662 grep -v '^ *+' conftest.er1
>conftest.err
27664 cat conftest.err
>&5
27665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666 (exit $ac_status); } &&
27667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27669 (eval $ac_try) 2>&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); }; } &&
27673 { ac_try
='test -s conftest$ac_exeext'
27674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27675 (eval $ac_try) 2>&5
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); }; }; then
27679 echo "*** The test program compiled, but did not run. This usually means"
27680 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27681 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27682 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27683 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27684 echo "*** is required on your system"
27686 echo "*** If you have an old version installed, it is best to remove it, although"
27687 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27689 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27690 echo "*** came with the system with the command"
27692 echo "*** rpm --erase --nodeps gtk gtk-devel"
27694 echo "$as_me: failed program was:" >&5
27695 sed 's/^/| /' conftest.
$ac_ext >&5
27697 echo "*** The test program failed to compile or link. See the file config.log for the"
27698 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27699 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27700 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27702 rm -f conftest.err conftest.
$ac_objext \
27703 conftest
$ac_exeext conftest.
$ac_ext
27704 CFLAGS
="$ac_save_CFLAGS"
27705 LIBS
="$ac_save_LIBS"
27717 if test -z "$wx_cv_lib_gtk"; then
27719 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27720 if test "${with_gtk_prefix+set}" = set; then
27721 withval
="$with_gtk_prefix"
27722 gtk_config_prefix
="$withval"
27724 gtk_config_prefix
=""
27727 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27728 if test "${with_gtk_exec_prefix+set}" = set; then
27729 withval
="$with_gtk_exec_prefix"
27730 gtk_config_exec_prefix
="$withval"
27732 gtk_config_exec_prefix
=""
27734 # Check whether --enable-gtktest or --disable-gtktest was given.
27735 if test "${enable_gtktest+set}" = set; then
27736 enableval
="$enable_gtktest"
27742 for module
in .
$GTK_MODULES
27746 gtk_config_args
="$gtk_config_args gthread"
27751 if test x
$gtk_config_exec_prefix != x
; then
27752 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27753 if test x
${GTK_CONFIG+set} != xset
; then
27754 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
27757 if test x
$gtk_config_prefix != x
; then
27758 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
27759 if test x
${GTK_CONFIG+set} != xset
; then
27760 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
27764 # Extract the first word of "gtk-config", so it can be a program name with args.
27765 set dummy gtk
-config; ac_word
=$2
27766 echo "$as_me:$LINENO: checking for $ac_word" >&5
27767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27768 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27771 case $GTK_CONFIG in
27773 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
27776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27777 for as_dir
in $PATH
27780 test -z "$as_dir" && as_dir
=.
27781 for ac_exec_ext
in '' $ac_executable_extensions; do
27782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27783 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27790 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
27794 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
27796 if test -n "$GTK_CONFIG"; then
27797 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27798 echo "${ECHO_T}$GTK_CONFIG" >&6
27800 echo "$as_me:$LINENO: result: no" >&5
27801 echo "${ECHO_T}no" >&6
27804 min_gtk_version
=1.2.3
27805 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27806 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27808 if test "$GTK_CONFIG" = "no" ; then
27811 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
27812 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
27813 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
27814 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27815 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
27816 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27817 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
27818 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27819 if test "x$enable_gtktest" = "xyes" ; then
27820 ac_save_CFLAGS
="$CFLAGS"
27821 ac_save_LIBS
="$LIBS"
27822 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27823 LIBS
="$GTK_LIBS $LIBS"
27825 if test "$cross_compiling" = yes; then
27826 echo $ac_n "cross compiling; assumed OK... $ac_c"
27828 cat >conftest.
$ac_ext <<_ACEOF
27831 cat confdefs.h
>>conftest.
$ac_ext
27832 cat >>conftest.
$ac_ext <<_ACEOF
27833 /* end confdefs.h. */
27835 #include <gtk/gtk.h>
27837 #include <stdlib.h>
27842 int major, minor, micro;
27845 system ("touch conf.gtktest");
27847 /* HP/UX 9 (%@#!) writes to sscanf strings */
27848 tmp_version = g_strdup("$min_gtk_version");
27849 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27850 printf("%s, bad version string\n", "$min_gtk_version");
27854 if ((gtk_major_version != $gtk_config_major_version) ||
27855 (gtk_minor_version != $gtk_config_minor_version) ||
27856 (gtk_micro_version != $gtk_config_micro_version))
27858 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27859 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27860 gtk_major_version, gtk_minor_version, gtk_micro_version);
27861 printf ("*** was found! If gtk-config was correct, then it is best\n");
27862 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27863 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27864 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27865 printf("*** required on your system.\n");
27866 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27867 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27868 printf("*** before re-running configure\n");
27870 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27871 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27872 (gtk_minor_version != GTK_MINOR_VERSION) ||
27873 (gtk_micro_version != GTK_MICRO_VERSION))
27875 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27876 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27877 printf("*** library (version %d.%d.%d)\n",
27878 gtk_major_version, gtk_minor_version, gtk_micro_version);
27880 #endif /* defined (GTK_MAJOR_VERSION) ... */
27883 if ((gtk_major_version > major) ||
27884 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27885 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27891 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27892 gtk_major_version, gtk_minor_version, gtk_micro_version);
27893 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27894 major, minor, micro);
27895 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27897 printf("*** If you have already installed a sufficiently new version, this error\n");
27898 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27899 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27900 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27901 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27902 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27903 printf("*** so that the correct libraries are found at run-time))\n");
27910 rm -f conftest
$ac_exeext
27911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27912 (eval $ac_link) 2>&5
27914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27915 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27917 (eval $ac_try) 2>&5
27919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27920 (exit $ac_status); }; }; then
27923 echo "$as_me: program exited with status $ac_status" >&5
27924 echo "$as_me: failed program was:" >&5
27925 sed 's/^/| /' conftest.
$ac_ext >&5
27927 ( exit $ac_status )
27930 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27932 CFLAGS
="$ac_save_CFLAGS"
27933 LIBS
="$ac_save_LIBS"
27936 if test "x$no_gtk" = x
; then
27937 echo "$as_me:$LINENO: result: yes" >&5
27938 echo "${ECHO_T}yes" >&6
27939 wx_cv_lib_gtk
=1.2.3
27941 echo "$as_me:$LINENO: result: no" >&5
27942 echo "${ECHO_T}no" >&6
27943 if test "$GTK_CONFIG" = "no" ; then
27944 echo "*** The gtk-config script installed by GTK could not be found"
27945 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27946 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27947 echo "*** full path to gtk-config."
27949 if test -f conf.gtktest
; then
27952 echo "*** Could not run GTK test program, checking why..."
27953 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27954 LIBS
="$LIBS $GTK_LIBS"
27955 cat >conftest.
$ac_ext <<_ACEOF
27958 cat confdefs.h
>>conftest.
$ac_ext
27959 cat >>conftest.
$ac_ext <<_ACEOF
27960 /* end confdefs.h. */
27962 #include <gtk/gtk.h>
27968 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27973 rm -f conftest.
$ac_objext conftest
$ac_exeext
27974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27975 (eval $ac_link) 2>conftest.er1
27977 grep -v '^ *+' conftest.er1
>conftest.err
27979 cat conftest.err
>&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } &&
27982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27984 (eval $ac_try) 2>&5
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); }; } &&
27988 { ac_try
='test -s conftest$ac_exeext'
27989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27990 (eval $ac_try) 2>&5
27992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27993 (exit $ac_status); }; }; then
27994 echo "*** The test program compiled, but did not run. This usually means"
27995 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27996 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27997 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27998 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27999 echo "*** is required on your system"
28001 echo "*** If you have an old version installed, it is best to remove it, although"
28002 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28004 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28005 echo "*** came with the system with the command"
28007 echo "*** rpm --erase --nodeps gtk gtk-devel"
28009 echo "$as_me: failed program was:" >&5
28010 sed 's/^/| /' conftest.
$ac_ext >&5
28012 echo "*** The test program failed to compile or link. See the file config.log for the"
28013 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28014 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28015 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28017 rm -f conftest.err conftest.
$ac_objext \
28018 conftest
$ac_exeext conftest.
$ac_ext
28019 CFLAGS
="$ac_save_CFLAGS"
28020 LIBS
="$ac_save_LIBS"
28035 if test -z "$wx_cv_lib_gtk"; then
28038 wx_cv_cflags_gtk
=$GTK_CFLAGS
28039 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28046 if test "$gtk_version_cached" = 1; then
28047 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28048 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28051 case "$wx_cv_lib_gtk" in
28060 *) { { echo "$as_me:$LINENO: error:
28061 The development files for GTK+ were not found. For GTK+ 2, please
28062 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28063 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28064 and that the version is 1.2.3 or above. Also check that the
28065 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28066 --libs' are in the LD_LIBRARY_PATH or equivalent.
28068 echo "$as_me: error:
28069 The development files for GTK+ were not found. For GTK+ 2, please
28070 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28071 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28072 and that the version is 1.2.3 or above. Also check that the
28073 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28074 --libs' are in the LD_LIBRARY_PATH or equivalent.
28076 { (exit 1); exit 1; }; }
28080 if test "$WXGTK20" = 1; then
28081 save_CFLAGS
="$CFLAGS"
28083 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28084 LIBS
="$LIBS $wx_cv_libs_gtk"
28086 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
28087 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
28088 cat >conftest.
$ac_ext <<_ACEOF
28091 cat confdefs.h
>>conftest.
$ac_ext
28092 cat >>conftest.
$ac_ext <<_ACEOF
28093 /* end confdefs.h. */
28095 #include <gtk/gtk.h>
28101 void *f = gtk_icon_size_lookup;
28107 rm -f conftest.
$ac_objext
28108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28109 (eval $ac_compile) 2>conftest.er1
28111 grep -v '^ *+' conftest.er1
>conftest.err
28113 cat conftest.err
>&5
28114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28115 (exit $ac_status); } &&
28116 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28118 (eval $ac_try) 2>&5
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); }; } &&
28122 { ac_try
='test -s conftest.$ac_objext'
28123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28124 (eval $ac_try) 2>&5
28126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127 (exit $ac_status); }; }; then
28129 echo "$as_me:$LINENO: result: no" >&5
28130 echo "${ECHO_T}no" >&6
28133 echo "$as_me: failed program was:" >&5
28134 sed 's/^/| /' conftest.
$ac_ext >&5
28137 cat >>confdefs.h
<<\_ACEOF
28138 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28141 echo "$as_me:$LINENO: result: yes" >&5
28142 echo "${ECHO_T}yes" >&6
28145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28147 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28148 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28149 cat >conftest.
$ac_ext <<_ACEOF
28152 cat confdefs.h
>>conftest.
$ac_ext
28153 cat >>conftest.
$ac_ext <<_ACEOF
28154 /* end confdefs.h. */
28156 #include <gtk/gtk.h>
28162 #if !GTK_CHECK_VERSION(2,6,0)
28170 rm -f conftest.
$ac_objext
28171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28172 (eval $ac_compile) 2>conftest.er1
28174 grep -v '^ *+' conftest.er1
>conftest.err
28176 cat conftest.err
>&5
28177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178 (exit $ac_status); } &&
28179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28181 (eval $ac_try) 2>&5
28183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184 (exit $ac_status); }; } &&
28185 { ac_try
='test -s conftest.$ac_objext'
28186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28187 (eval $ac_try) 2>&5
28189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28190 (exit $ac_status); }; }; then
28192 cat >>confdefs.h
<<\_ACEOF
28193 #define __WXGTK26__ 1
28196 cat >>confdefs.h
<<\_ACEOF
28197 #define __WXGTK24__ 1
28200 echo "$as_me:$LINENO: result: yes" >&5
28201 echo "${ECHO_T}yes" >&6
28205 echo "$as_me: failed program was:" >&5
28206 sed 's/^/| /' conftest.
$ac_ext >&5
28209 echo "$as_me:$LINENO: result: no" >&5
28210 echo "${ECHO_T}no" >&6
28214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28216 if test "$ac_wxgtk26" = 0; then
28217 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28218 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28219 cat >conftest.
$ac_ext <<_ACEOF
28222 cat confdefs.h
>>conftest.
$ac_ext
28223 cat >>conftest.
$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28226 #include <gtk/gtk.h>
28232 #if !GTK_CHECK_VERSION(2,4,0)
28240 rm -f conftest.
$ac_objext
28241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28242 (eval $ac_compile) 2>conftest.er1
28244 grep -v '^ *+' conftest.er1
>conftest.err
28246 cat conftest.err
>&5
28247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248 (exit $ac_status); } &&
28249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28251 (eval $ac_try) 2>&5
28253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254 (exit $ac_status); }; } &&
28255 { ac_try
='test -s conftest.$ac_objext'
28256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28257 (eval $ac_try) 2>&5
28259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28260 (exit $ac_status); }; }; then
28262 cat >>confdefs.h
<<\_ACEOF
28263 #define __WXGTK24__ 1
28266 echo "$as_me:$LINENO: result: yes" >&5
28267 echo "${ECHO_T}yes" >&6
28270 echo "$as_me: failed program was:" >&5
28271 sed 's/^/| /' conftest.
$ac_ext >&5
28274 echo "$as_me:$LINENO: result: no" >&5
28275 echo "${ECHO_T}no" >&6
28278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28281 CFLAGS
="$save_CFLAGS"
28284 if test "$wxUSE_UNICODE" = "yes"; then
28285 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28286 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28292 ac_cpp
='$CXXCPP $CPPFLAGS'
28293 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28294 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28295 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28298 if test "$USE_DARWIN" != 1; then
28300 for ac_func
in poll
28302 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28303 echo "$as_me:$LINENO: checking for $ac_func" >&5
28304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28305 if eval "test \"\${$as_ac_var+set}\" = set"; then
28306 echo $ECHO_N "(cached) $ECHO_C" >&6
28308 cat >conftest.
$ac_ext <<_ACEOF
28311 cat confdefs.h
>>conftest.
$ac_ext
28312 cat >>conftest.
$ac_ext <<_ACEOF
28313 /* end confdefs.h. */
28314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28316 #define $ac_func innocuous_$ac_func
28318 /* System header to define __stub macros and hopefully few prototypes,
28319 which can conflict with char $ac_func (); below.
28320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28321 <limits.h> exists even on freestanding compilers. */
28324 # include <limits.h>
28326 # include <assert.h>
28331 /* Override any gcc2 internal prototype to avoid an error. */
28336 /* We use char because int might match the return type of a gcc2
28337 builtin and then its argument prototype would still apply. */
28339 /* The GNU C library defines this for functions which it implements
28340 to always fail with ENOSYS. Some functions are actually named
28341 something starting with __ and the normal name is an alias. */
28342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28345 char (*f) () = $ac_func;
28354 return f != $ac_func;
28359 rm -f conftest.
$ac_objext conftest
$ac_exeext
28360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28361 (eval $ac_link) 2>conftest.er1
28363 grep -v '^ *+' conftest.er1
>conftest.err
28365 cat conftest.err
>&5
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); } &&
28368 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28370 (eval $ac_try) 2>&5
28372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373 (exit $ac_status); }; } &&
28374 { ac_try
='test -s conftest$ac_exeext'
28375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28376 (eval $ac_try) 2>&5
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); }; }; then
28380 eval "$as_ac_var=yes"
28382 echo "$as_me: failed program was:" >&5
28383 sed 's/^/| /' conftest.
$ac_ext >&5
28385 eval "$as_ac_var=no"
28387 rm -f conftest.err conftest.
$ac_objext \
28388 conftest
$ac_exeext conftest.
$ac_ext
28390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28392 if test `eval echo '${'$as_ac_var'}'` = yes; then
28393 cat >>confdefs.h
<<_ACEOF
28394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28402 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
28403 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28405 AFMINSTALL
=afminstall
28409 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28410 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28411 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28412 echo $ECHO_N "(cached) $ECHO_C" >&6
28414 ac_check_lib_save_LIBS
=$LIBS
28416 cat >conftest.
$ac_ext <<_ACEOF
28419 cat confdefs.h
>>conftest.
$ac_ext
28420 cat >>conftest.
$ac_ext <<_ACEOF
28421 /* end confdefs.h. */
28423 /* Override any gcc2 internal prototype to avoid an error. */
28427 /* We use char because int might match the return type of a gcc2
28428 builtin and then its argument prototype would still apply. */
28429 char gdk_im_open ();
28438 rm -f conftest.
$ac_objext conftest
$ac_exeext
28439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28440 (eval $ac_link) 2>conftest.er1
28442 grep -v '^ *+' conftest.er1
>conftest.err
28444 cat conftest.err
>&5
28445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28446 (exit $ac_status); } &&
28447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28449 (eval $ac_try) 2>&5
28451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28452 (exit $ac_status); }; } &&
28453 { ac_try
='test -s conftest$ac_exeext'
28454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28455 (eval $ac_try) 2>&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); }; }; then
28459 ac_cv_lib_gdk_gdk_im_open
=yes
28461 echo "$as_me: failed program was:" >&5
28462 sed 's/^/| /' conftest.
$ac_ext >&5
28464 ac_cv_lib_gdk_gdk_im_open
=no
28466 rm -f conftest.err conftest.
$ac_objext \
28467 conftest
$ac_exeext conftest.
$ac_ext
28468 LIBS
=$ac_check_lib_save_LIBS
28470 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28471 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28472 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28473 cat >>confdefs.h
<<\_ACEOF
28481 if test "$wxUSE_GPE" = "yes"; then
28482 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28483 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28486 for ac_dir
in $SEARCH_LIB;
28488 for ac_extension
in a so sl dylib dll.a
; do
28489 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28490 ac_find_libraries
=$ac_dir
28496 if test "$ac_find_libraries" != "" ; then
28498 if test "$ac_find_libraries" = "default location"; then
28501 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28503 if test $result = 0; then
28506 ac_path_to_link
=" -L$ac_find_libraries"
28510 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28512 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28513 echo "${ECHO_T}found in $ac_find_libraries" >&6
28515 echo "$as_me:$LINENO: result: not found" >&5
28516 echo "${ECHO_T}not found" >&6
28522 if test "$wxUSE_MGL" = 1; then
28523 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28524 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28525 if test "x$MGL_ROOT" = x
; then
28526 echo "$as_me:$LINENO: result: not found" >&5
28527 echo "${ECHO_T}not found" >&6
28528 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28529 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28530 { (exit 1); exit 1; }; }
28532 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28533 echo "${ECHO_T}$MGL_ROOT" >&6
28536 echo "$as_me:$LINENO: checking for libmgl location" >&5
28537 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28540 if test "x$wxUSE_SHARED" = xyes
; then
28541 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28543 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28547 mgl_os_candidates
="dos32/dj2"
28550 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28551 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28552 { (exit 1); exit 1; }; }
28558 for mgl_os_i
in $mgl_os_candidates ; do
28559 if test "x$mgl_os" = x
; then
28560 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28561 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
28562 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
28567 if test "x$mgl_lib_type" = x
; then
28568 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
28569 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
28570 mgl_lib_type
=release
28577 if test "x$mgl_os" = x
; then
28578 echo "$as_me:$LINENO: result: not found" >&5
28579 echo "${ECHO_T}not found" >&6
28580 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28581 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28582 { (exit 1); exit 1; }; }
28584 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28585 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28587 wxUSE_UNIVERSAL
="yes"
28589 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
28590 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28592 AFMINSTALL
=afminstall
28597 if test "$wxUSE_DFB" = 1; then
28600 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28601 if test -n "$ac_tool_prefix"; then
28602 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28603 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28604 echo "$as_me:$LINENO: checking for $ac_word" >&5
28605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28606 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28607 echo $ECHO_N "(cached) $ECHO_C" >&6
28609 case $PKG_CONFIG in
28611 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28615 for as_dir
in $PATH
28618 test -z "$as_dir" && as_dir
=.
28619 for ac_exec_ext
in '' $ac_executable_extensions; do
28620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28621 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28631 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28633 if test -n "$PKG_CONFIG"; then
28634 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28635 echo "${ECHO_T}$PKG_CONFIG" >&6
28637 echo "$as_me:$LINENO: result: no" >&5
28638 echo "${ECHO_T}no" >&6
28642 if test -z "$ac_cv_path_PKG_CONFIG"; then
28643 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28644 # Extract the first word of "pkg-config", so it can be a program name with args.
28645 set dummy pkg
-config; ac_word
=$2
28646 echo "$as_me:$LINENO: checking for $ac_word" >&5
28647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28648 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28649 echo $ECHO_N "(cached) $ECHO_C" >&6
28651 case $ac_pt_PKG_CONFIG in
28653 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28657 for as_dir
in $PATH
28660 test -z "$as_dir" && as_dir
=.
28661 for ac_exec_ext
in '' $ac_executable_extensions; do
28662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28663 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28673 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28675 if test -n "$ac_pt_PKG_CONFIG"; then
28676 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28677 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
28679 echo "$as_me:$LINENO: result: no" >&5
28680 echo "${ECHO_T}no" >&6
28683 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28685 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28689 if test -n "$PKG_CONFIG"; then
28690 _pkg_min_version
=0.9.0
28691 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28692 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
28693 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28694 echo "$as_me:$LINENO: result: yes" >&5
28695 echo "${ECHO_T}yes" >&6
28697 echo "$as_me:$LINENO: result: no" >&5
28698 echo "${ECHO_T}no" >&6
28705 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28706 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
28708 if test -n "$PKG_CONFIG"; then
28709 if test -n "$DIRECTFB_CFLAGS"; then
28710 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
28712 if test -n "$PKG_CONFIG" && \
28713 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.25\"") >&5
28714 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.25") 2>&5
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); }; then
28718 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.25" 2>/dev/null`
28726 if test -n "$PKG_CONFIG"; then
28727 if test -n "$DIRECTFB_LIBS"; then
28728 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
28730 if test -n "$PKG_CONFIG" && \
28731 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.25\"") >&5
28732 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.25") 2>&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); }; then
28736 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.25" 2>/dev/null`
28747 if test $pkg_failed = yes; then
28749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28750 _pkg_short_errors_supported
=yes
28752 _pkg_short_errors_supported
=no
28754 if test $_pkg_short_errors_supported = yes; then
28755 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.25"`
28757 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.25"`
28759 # Put the nasty error message in config.log where it belongs
28760 echo "$DIRECTFB_PKG_ERRORS" >&5
28763 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28764 echo "$as_me: error: DirectFB not found." >&2;}
28765 { (exit 1); exit 1; }; }
28768 elif test $pkg_failed = untried
; then
28770 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28771 echo "$as_me: error: DirectFB not found." >&2;}
28772 { (exit 1); exit 1; }; }
28776 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
28777 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
28778 echo "$as_me:$LINENO: result: yes" >&5
28779 echo "${ECHO_T}yes" >&6
28781 wxUSE_UNIVERSAL
="yes"
28782 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
28783 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
28790 if test "$wxUSE_MICROWIN" = 1; then
28791 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28792 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28793 if test "x$MICROWINDOWS" = x
; then
28794 echo "$as_me:$LINENO: result: not found" >&5
28795 echo "${ECHO_T}not found" >&6
28796 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28797 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28798 { (exit 1); exit 1; }; }
28800 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28801 echo "${ECHO_T}$MICROWINDOWS" >&6
28804 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28805 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28806 echo "${ECHO_T}MicroWindows' libraries found." >&6
28808 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28809 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28810 { (exit 1); exit 1; }; }
28813 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28814 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28816 wxUSE_UNIVERSAL
="yes"
28818 AFMINSTALL
=afminstall
28820 GUIDIST
=MICROWIN_DIST
28822 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28825 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28827 if test "x$ac_path_x_has_been_run" != xyes
; then
28828 echo "$as_me:$LINENO: checking for X" >&5
28829 echo $ECHO_N "checking for X... $ECHO_C" >&6
28831 ac_path_x_has_been_run
=yes
28833 # Check whether --with-x or --without-x was given.
28834 if test "${with_x+set}" = set; then
28838 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28839 if test "x$with_x" = xno
; then
28840 # The user explicitly disabled X.
28843 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28844 # Both variables are already set.
28847 if test "${ac_cv_have_x+set}" = set; then
28848 echo $ECHO_N "(cached) $ECHO_C" >&6
28850 # One or both of the vars are not set, and there is no cached value.
28851 ac_x_includes
=no ac_x_libraries
=no
28852 rm -fr conftest.dir
28853 if mkdir conftest.dir
; then
28855 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28856 cat >Imakefile
<<'_ACEOF'
28858 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28860 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28861 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28862 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28863 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28864 for ac_extension
in a so sl
; do
28865 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28866 test -f $ac_im_libdir/libX11.
$ac_extension; then
28867 ac_im_usrlibdir
=$ac_im_libdir; break
28870 # Screen out bogus values from the imake configuration. They are
28871 # bogus both because they are the default anyway, and because
28872 # using them would break gcc on systems where it needs fixed includes.
28873 case $ac_im_incroot in
28875 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28877 case $ac_im_usrlibdir in
28878 /usr
/lib
| /lib
) ;;
28879 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28883 rm -fr conftest.dir
28886 # Standard set of common directories for X headers.
28887 # Check X11 before X11Rn because it is often a symlink to the current release.
28899 /usr/local/X11/include
28900 /usr/local/X11R6/include
28901 /usr/local/X11R5/include
28902 /usr/local/X11R4/include
28904 /usr/local/include/X11
28905 /usr/local/include/X11R6
28906 /usr/local/include/X11R5
28907 /usr/local/include/X11R4
28911 /usr/XFree86/include/X11
28915 /usr/unsupported/include
28916 /usr/athena/include
28917 /usr/local/x11r5/include
28918 /usr/lpp/Xamples/include
28920 /usr/openwin/include
28921 /usr/openwin/share/include'
28923 if test "$ac_x_includes" = no
; then
28924 # Guess where to find include files, by looking for a specified header file.
28925 # First, try using that file with no special directory specified.
28926 cat >conftest.
$ac_ext <<_ACEOF
28929 cat confdefs.h
>>conftest.
$ac_ext
28930 cat >>conftest.
$ac_ext <<_ACEOF
28931 /* end confdefs.h. */
28932 #include <X11/Intrinsic.h>
28934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28937 grep -v '^ *+' conftest.er1
>conftest.err
28939 cat conftest.err
>&5
28940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28941 (exit $ac_status); } >/dev
/null
; then
28942 if test -s conftest.err
; then
28943 ac_cpp_err
=$ac_cxx_preproc_warn_flag
28944 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
28951 if test -z "$ac_cpp_err"; then
28952 # We can compile using X headers with no special include directory.
28955 echo "$as_me: failed program was:" >&5
28956 sed 's/^/| /' conftest.
$ac_ext >&5
28958 for ac_dir
in $ac_x_header_dirs; do
28959 if test -r "$ac_dir/X11/Intrinsic.h"; then
28960 ac_x_includes
=$ac_dir
28965 rm -f conftest.err conftest.
$ac_ext
28966 fi # $ac_x_includes = no
28968 if test "$ac_x_libraries" = no
; then
28969 # Check for the libraries.
28970 # See if we find them without any special options.
28971 # Don't add to $LIBS permanently.
28974 cat >conftest.
$ac_ext <<_ACEOF
28977 cat confdefs.h
>>conftest.
$ac_ext
28978 cat >>conftest.
$ac_ext <<_ACEOF
28979 /* end confdefs.h. */
28980 #include <X11/Intrinsic.h>
28989 rm -f conftest.
$ac_objext conftest
$ac_exeext
28990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28991 (eval $ac_link) 2>conftest.er1
28993 grep -v '^ *+' conftest.er1
>conftest.err
28995 cat conftest.err
>&5
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); } &&
28998 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29000 (eval $ac_try) 2>&5
29002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003 (exit $ac_status); }; } &&
29004 { ac_try
='test -s conftest$ac_exeext'
29005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29006 (eval $ac_try) 2>&5
29008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 (exit $ac_status); }; }; then
29011 # We can link X programs with no special library path.
29014 echo "$as_me: failed program was:" >&5
29015 sed 's/^/| /' conftest.
$ac_ext >&5
29018 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29020 # Don't even attempt the hair of trying to link an X program!
29021 for ac_extension
in a so sl
; do
29022 if test -r $ac_dir/libXt.
$ac_extension; then
29023 ac_x_libraries
=$ac_dir
29029 rm -f conftest.err conftest.
$ac_objext \
29030 conftest
$ac_exeext conftest.
$ac_ext
29031 fi # $ac_x_libraries = no
29033 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29034 # Didn't find X anywhere. Cache the known absence of X.
29035 ac_cv_have_x
="have_x=no"
29037 # Record where we found X for the cache.
29038 ac_cv_have_x
="have_x=yes \
29039 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29044 eval "$ac_cv_have_x"
29047 if test "$have_x" != yes; then
29048 echo "$as_me:$LINENO: result: $have_x" >&5
29049 echo "${ECHO_T}$have_x" >&6
29052 # If each of the values was on the command line, it overrides each guess.
29053 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29054 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29055 # Update the cache value to reflect the command line values.
29056 ac_cv_have_x
="have_x=yes \
29057 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29058 # It might be that x_includes is empty (headers are found in the
29059 # standard search path. Then output the corresponding message
29060 ac_out_x_includes
=$x_includes
29061 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29062 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29063 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29067 if test "$no_x" = yes; then
29068 # Not all programs may use this symbol, but it does not hurt to define it.
29070 cat >>confdefs.h
<<\_ACEOF
29071 #define X_DISPLAY_MISSING 1
29074 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29076 if test -n "$x_includes"; then
29077 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29080 # It would also be nice to do this for all -L options, not just this one.
29081 if test -n "$x_libraries"; then
29082 X_LIBS
="$X_LIBS -L$x_libraries"
29083 # For Solaris; some versions of Sun CC require a space after -R and
29084 # others require no space. Words are not sufficient . . . .
29085 case `(uname -sr) 2>/dev/null` in
29087 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29088 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29089 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29090 cat >conftest.
$ac_ext <<_ACEOF
29093 cat confdefs.h
>>conftest.
$ac_ext
29094 cat >>conftest.
$ac_ext <<_ACEOF
29095 /* end confdefs.h. */
29105 rm -f conftest.
$ac_objext conftest
$ac_exeext
29106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29107 (eval $ac_link) 2>conftest.er1
29109 grep -v '^ *+' conftest.er1
>conftest.err
29111 cat conftest.err
>&5
29112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29113 (exit $ac_status); } &&
29114 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29116 (eval $ac_try) 2>&5
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); }; } &&
29120 { ac_try
='test -s conftest$ac_exeext'
29121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29122 (eval $ac_try) 2>&5
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); }; }; then
29128 echo "$as_me: failed program was:" >&5
29129 sed 's/^/| /' conftest.
$ac_ext >&5
29133 rm -f conftest.err conftest.
$ac_objext \
29134 conftest
$ac_exeext conftest.
$ac_ext
29135 if test $ac_R_nospace = yes; then
29136 echo "$as_me:$LINENO: result: no" >&5
29137 echo "${ECHO_T}no" >&6
29138 X_LIBS
="$X_LIBS -R$x_libraries"
29140 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29141 cat >conftest.
$ac_ext <<_ACEOF
29144 cat confdefs.h
>>conftest.
$ac_ext
29145 cat >>conftest.
$ac_ext <<_ACEOF
29146 /* end confdefs.h. */
29156 rm -f conftest.
$ac_objext conftest
$ac_exeext
29157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29158 (eval $ac_link) 2>conftest.er1
29160 grep -v '^ *+' conftest.er1
>conftest.err
29162 cat conftest.err
>&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); } &&
29165 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167 (eval $ac_try) 2>&5
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); }; } &&
29171 { ac_try
='test -s conftest$ac_exeext'
29172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29173 (eval $ac_try) 2>&5
29175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176 (exit $ac_status); }; }; then
29179 echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.
$ac_ext >&5
29184 rm -f conftest.err conftest.
$ac_objext \
29185 conftest
$ac_exeext conftest.
$ac_ext
29186 if test $ac_R_space = yes; then
29187 echo "$as_me:$LINENO: result: yes" >&5
29188 echo "${ECHO_T}yes" >&6
29189 X_LIBS
="$X_LIBS -R $x_libraries"
29191 echo "$as_me:$LINENO: result: neither works" >&5
29192 echo "${ECHO_T}neither works" >&6
29195 LIBS
=$ac_xsave_LIBS
29199 # Check for system-dependent libraries X programs must link with.
29200 # Do this before checking for the system-independent R6 libraries
29201 # (-lICE), since we may need -lsocket or whatever for X linking.
29203 if test "$ISC" = yes; then
29204 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29206 # Martyn Johnson says this is needed for Ultrix, if the X
29207 # libraries were built with DECnet support. And Karl Berry says
29208 # the Alpha needs dnet_stub (dnet does not exist).
29209 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29210 cat >conftest.
$ac_ext <<_ACEOF
29213 cat confdefs.h
>>conftest.
$ac_ext
29214 cat >>conftest.
$ac_ext <<_ACEOF
29215 /* end confdefs.h. */
29217 /* Override any gcc2 internal prototype to avoid an error. */
29221 /* We use char because int might match the return type of a gcc2
29222 builtin and then its argument prototype would still apply. */
29223 char XOpenDisplay ();
29232 rm -f conftest.
$ac_objext conftest
$ac_exeext
29233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29234 (eval $ac_link) 2>conftest.er1
29236 grep -v '^ *+' conftest.er1
>conftest.err
29238 cat conftest.err
>&5
29239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29240 (exit $ac_status); } &&
29241 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29243 (eval $ac_try) 2>&5
29245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29246 (exit $ac_status); }; } &&
29247 { ac_try
='test -s conftest$ac_exeext'
29248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29249 (eval $ac_try) 2>&5
29251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29252 (exit $ac_status); }; }; then
29255 echo "$as_me: failed program was:" >&5
29256 sed 's/^/| /' conftest.
$ac_ext >&5
29258 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29259 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29260 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29261 echo $ECHO_N "(cached) $ECHO_C" >&6
29263 ac_check_lib_save_LIBS
=$LIBS
29264 LIBS
="-ldnet $LIBS"
29265 cat >conftest.
$ac_ext <<_ACEOF
29268 cat confdefs.h
>>conftest.
$ac_ext
29269 cat >>conftest.
$ac_ext <<_ACEOF
29270 /* end confdefs.h. */
29272 /* Override any gcc2 internal prototype to avoid an error. */
29276 /* We use char because int might match the return type of a gcc2
29277 builtin and then its argument prototype would still apply. */
29287 rm -f conftest.
$ac_objext conftest
$ac_exeext
29288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29289 (eval $ac_link) 2>conftest.er1
29291 grep -v '^ *+' conftest.er1
>conftest.err
29293 cat conftest.err
>&5
29294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29295 (exit $ac_status); } &&
29296 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29298 (eval $ac_try) 2>&5
29300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29301 (exit $ac_status); }; } &&
29302 { ac_try
='test -s conftest$ac_exeext'
29303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29304 (eval $ac_try) 2>&5
29306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29307 (exit $ac_status); }; }; then
29308 ac_cv_lib_dnet_dnet_ntoa
=yes
29310 echo "$as_me: failed program was:" >&5
29311 sed 's/^/| /' conftest.
$ac_ext >&5
29313 ac_cv_lib_dnet_dnet_ntoa
=no
29315 rm -f conftest.err conftest.
$ac_objext \
29316 conftest
$ac_exeext conftest.
$ac_ext
29317 LIBS
=$ac_check_lib_save_LIBS
29319 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29320 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29321 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29322 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29325 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29326 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29327 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29328 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29329 echo $ECHO_N "(cached) $ECHO_C" >&6
29331 ac_check_lib_save_LIBS
=$LIBS
29332 LIBS
="-ldnet_stub $LIBS"
29333 cat >conftest.
$ac_ext <<_ACEOF
29336 cat confdefs.h
>>conftest.
$ac_ext
29337 cat >>conftest.
$ac_ext <<_ACEOF
29338 /* end confdefs.h. */
29340 /* Override any gcc2 internal prototype to avoid an error. */
29344 /* We use char because int might match the return type of a gcc2
29345 builtin and then its argument prototype would still apply. */
29355 rm -f conftest.
$ac_objext conftest
$ac_exeext
29356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29357 (eval $ac_link) 2>conftest.er1
29359 grep -v '^ *+' conftest.er1
>conftest.err
29361 cat conftest.err
>&5
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); } &&
29364 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366 (eval $ac_try) 2>&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); }; } &&
29370 { ac_try
='test -s conftest$ac_exeext'
29371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29372 (eval $ac_try) 2>&5
29374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375 (exit $ac_status); }; }; then
29376 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29378 echo "$as_me: failed program was:" >&5
29379 sed 's/^/| /' conftest.
$ac_ext >&5
29381 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29383 rm -f conftest.err conftest.
$ac_objext \
29384 conftest
$ac_exeext conftest.
$ac_ext
29385 LIBS
=$ac_check_lib_save_LIBS
29387 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29388 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29389 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29390 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29395 rm -f conftest.err conftest.
$ac_objext \
29396 conftest
$ac_exeext conftest.
$ac_ext
29397 LIBS
="$ac_xsave_LIBS"
29399 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29400 # to get the SysV transport functions.
29401 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29403 # The nsl library prevents programs from opening the X display
29404 # on Irix 5.2, according to T.E. Dickey.
29405 # The functions gethostbyname, getservbyname, and inet_addr are
29406 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29407 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29408 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29409 if test "${ac_cv_func_gethostbyname+set}" = set; then
29410 echo $ECHO_N "(cached) $ECHO_C" >&6
29412 cat >conftest.
$ac_ext <<_ACEOF
29415 cat confdefs.h
>>conftest.
$ac_ext
29416 cat >>conftest.
$ac_ext <<_ACEOF
29417 /* end confdefs.h. */
29418 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29420 #define gethostbyname innocuous_gethostbyname
29422 /* System header to define __stub macros and hopefully few prototypes,
29423 which can conflict with char gethostbyname (); below.
29424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29425 <limits.h> exists even on freestanding compilers. */
29428 # include <limits.h>
29430 # include <assert.h>
29433 #undef gethostbyname
29435 /* Override any gcc2 internal prototype to avoid an error. */
29440 /* We use char because int might match the return type of a gcc2
29441 builtin and then its argument prototype would still apply. */
29442 char gethostbyname ();
29443 /* The GNU C library defines this for functions which it implements
29444 to always fail with ENOSYS. Some functions are actually named
29445 something starting with __ and the normal name is an alias. */
29446 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29449 char (*f) () = gethostbyname;
29458 return f != gethostbyname;
29463 rm -f conftest.
$ac_objext conftest
$ac_exeext
29464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29465 (eval $ac_link) 2>conftest.er1
29467 grep -v '^ *+' conftest.er1
>conftest.err
29469 cat conftest.err
>&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } &&
29472 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; } &&
29478 { ac_try
='test -s conftest$ac_exeext'
29479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29480 (eval $ac_try) 2>&5
29482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); }; }; then
29484 ac_cv_func_gethostbyname
=yes
29486 echo "$as_me: failed program was:" >&5
29487 sed 's/^/| /' conftest.
$ac_ext >&5
29489 ac_cv_func_gethostbyname
=no
29491 rm -f conftest.err conftest.
$ac_objext \
29492 conftest
$ac_exeext conftest.
$ac_ext
29494 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29495 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29497 if test $ac_cv_func_gethostbyname = no
; then
29498 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29499 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29500 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29501 echo $ECHO_N "(cached) $ECHO_C" >&6
29503 ac_check_lib_save_LIBS
=$LIBS
29505 cat >conftest.
$ac_ext <<_ACEOF
29508 cat confdefs.h
>>conftest.
$ac_ext
29509 cat >>conftest.
$ac_ext <<_ACEOF
29510 /* end confdefs.h. */
29512 /* Override any gcc2 internal prototype to avoid an error. */
29516 /* We use char because int might match the return type of a gcc2
29517 builtin and then its argument prototype would still apply. */
29518 char gethostbyname ();
29527 rm -f conftest.
$ac_objext conftest
$ac_exeext
29528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29529 (eval $ac_link) 2>conftest.er1
29531 grep -v '^ *+' conftest.er1
>conftest.err
29533 cat conftest.err
>&5
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); } &&
29536 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538 (eval $ac_try) 2>&5
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; } &&
29542 { ac_try
='test -s conftest$ac_exeext'
29543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544 (eval $ac_try) 2>&5
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; }; then
29548 ac_cv_lib_nsl_gethostbyname
=yes
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.
$ac_ext >&5
29553 ac_cv_lib_nsl_gethostbyname
=no
29555 rm -f conftest.err conftest.
$ac_objext \
29556 conftest
$ac_exeext conftest.
$ac_ext
29557 LIBS
=$ac_check_lib_save_LIBS
29559 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29560 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29561 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29562 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29565 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29566 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29567 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29568 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29569 echo $ECHO_N "(cached) $ECHO_C" >&6
29571 ac_check_lib_save_LIBS
=$LIBS
29573 cat >conftest.
$ac_ext <<_ACEOF
29576 cat confdefs.h
>>conftest.
$ac_ext
29577 cat >>conftest.
$ac_ext <<_ACEOF
29578 /* end confdefs.h. */
29580 /* Override any gcc2 internal prototype to avoid an error. */
29584 /* We use char because int might match the return type of a gcc2
29585 builtin and then its argument prototype would still apply. */
29586 char gethostbyname ();
29595 rm -f conftest.
$ac_objext conftest
$ac_exeext
29596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29597 (eval $ac_link) 2>conftest.er1
29599 grep -v '^ *+' conftest.er1
>conftest.err
29601 cat conftest.err
>&5
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); } &&
29604 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29606 (eval $ac_try) 2>&5
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); }; } &&
29610 { ac_try
='test -s conftest$ac_exeext'
29611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29612 (eval $ac_try) 2>&5
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); }; }; then
29616 ac_cv_lib_bsd_gethostbyname
=yes
29618 echo "$as_me: failed program was:" >&5
29619 sed 's/^/| /' conftest.
$ac_ext >&5
29621 ac_cv_lib_bsd_gethostbyname
=no
29623 rm -f conftest.err conftest.
$ac_objext \
29624 conftest
$ac_exeext conftest.
$ac_ext
29625 LIBS
=$ac_check_lib_save_LIBS
29627 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29628 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29629 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29630 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
29636 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29637 # socket/setsockopt and other routines are undefined under SCO ODT
29638 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29639 # on later versions), says Simon Leinen: it contains gethostby*
29640 # variants that don't use the name server (or something). -lsocket
29641 # must be given before -lnsl if both are needed. We assume that
29642 # if connect needs -lnsl, so does gethostbyname.
29643 echo "$as_me:$LINENO: checking for connect" >&5
29644 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29645 if test "${ac_cv_func_connect+set}" = set; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29648 cat >conftest.
$ac_ext <<_ACEOF
29651 cat confdefs.h
>>conftest.
$ac_ext
29652 cat >>conftest.
$ac_ext <<_ACEOF
29653 /* end confdefs.h. */
29654 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29656 #define connect innocuous_connect
29658 /* System header to define __stub macros and hopefully few prototypes,
29659 which can conflict with char connect (); below.
29660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29661 <limits.h> exists even on freestanding compilers. */
29664 # include <limits.h>
29666 # include <assert.h>
29671 /* Override any gcc2 internal prototype to avoid an error. */
29676 /* We use char because int might match the return type of a gcc2
29677 builtin and then its argument prototype would still apply. */
29679 /* The GNU C library defines this for functions which it implements
29680 to always fail with ENOSYS. Some functions are actually named
29681 something starting with __ and the normal name is an alias. */
29682 #if defined (__stub_connect) || defined (__stub___connect)
29685 char (*f) () = connect;
29694 return f != connect;
29699 rm -f conftest.
$ac_objext conftest
$ac_exeext
29700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29701 (eval $ac_link) 2>conftest.er1
29703 grep -v '^ *+' conftest.er1
>conftest.err
29705 cat conftest.err
>&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); } &&
29708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
29714 { ac_try
='test -s conftest$ac_exeext'
29715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29716 (eval $ac_try) 2>&5
29718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29719 (exit $ac_status); }; }; then
29720 ac_cv_func_connect
=yes
29722 echo "$as_me: failed program was:" >&5
29723 sed 's/^/| /' conftest.
$ac_ext >&5
29725 ac_cv_func_connect
=no
29727 rm -f conftest.err conftest.
$ac_objext \
29728 conftest
$ac_exeext conftest.
$ac_ext
29730 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29731 echo "${ECHO_T}$ac_cv_func_connect" >&6
29733 if test $ac_cv_func_connect = no
; then
29734 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29735 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29736 if test "${ac_cv_lib_socket_connect+set}" = set; then
29737 echo $ECHO_N "(cached) $ECHO_C" >&6
29739 ac_check_lib_save_LIBS
=$LIBS
29740 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29741 cat >conftest.
$ac_ext <<_ACEOF
29744 cat confdefs.h
>>conftest.
$ac_ext
29745 cat >>conftest.
$ac_ext <<_ACEOF
29746 /* end confdefs.h. */
29748 /* Override any gcc2 internal prototype to avoid an error. */
29752 /* We use char because int might match the return type of a gcc2
29753 builtin and then its argument prototype would still apply. */
29763 rm -f conftest.
$ac_objext conftest
$ac_exeext
29764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29765 (eval $ac_link) 2>conftest.er1
29767 grep -v '^ *+' conftest.er1
>conftest.err
29769 cat conftest.err
>&5
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); } &&
29772 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29774 (eval $ac_try) 2>&5
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); }; } &&
29778 { ac_try
='test -s conftest$ac_exeext'
29779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780 (eval $ac_try) 2>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; }; then
29784 ac_cv_lib_socket_connect
=yes
29786 echo "$as_me: failed program was:" >&5
29787 sed 's/^/| /' conftest.
$ac_ext >&5
29789 ac_cv_lib_socket_connect
=no
29791 rm -f conftest.err conftest.
$ac_objext \
29792 conftest
$ac_exeext conftest.
$ac_ext
29793 LIBS
=$ac_check_lib_save_LIBS
29795 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29796 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29797 if test $ac_cv_lib_socket_connect = yes; then
29798 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29803 # Guillermo Gomez says -lposix is necessary on A/UX.
29804 echo "$as_me:$LINENO: checking for remove" >&5
29805 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29806 if test "${ac_cv_func_remove+set}" = set; then
29807 echo $ECHO_N "(cached) $ECHO_C" >&6
29809 cat >conftest.
$ac_ext <<_ACEOF
29812 cat confdefs.h
>>conftest.
$ac_ext
29813 cat >>conftest.
$ac_ext <<_ACEOF
29814 /* end confdefs.h. */
29815 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29817 #define remove innocuous_remove
29819 /* System header to define __stub macros and hopefully few prototypes,
29820 which can conflict with char remove (); below.
29821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29822 <limits.h> exists even on freestanding compilers. */
29825 # include <limits.h>
29827 # include <assert.h>
29832 /* Override any gcc2 internal prototype to avoid an error. */
29837 /* We use char because int might match the return type of a gcc2
29838 builtin and then its argument prototype would still apply. */
29840 /* The GNU C library defines this for functions which it implements
29841 to always fail with ENOSYS. Some functions are actually named
29842 something starting with __ and the normal name is an alias. */
29843 #if defined (__stub_remove) || defined (__stub___remove)
29846 char (*f) () = remove;
29855 return f != remove;
29860 rm -f conftest.
$ac_objext conftest
$ac_exeext
29861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29862 (eval $ac_link) 2>conftest.er1
29864 grep -v '^ *+' conftest.er1
>conftest.err
29866 cat conftest.err
>&5
29867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29868 (exit $ac_status); } &&
29869 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29871 (eval $ac_try) 2>&5
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); }; } &&
29875 { ac_try
='test -s conftest$ac_exeext'
29876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29877 (eval $ac_try) 2>&5
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); }; }; then
29881 ac_cv_func_remove
=yes
29883 echo "$as_me: failed program was:" >&5
29884 sed 's/^/| /' conftest.
$ac_ext >&5
29886 ac_cv_func_remove
=no
29888 rm -f conftest.err conftest.
$ac_objext \
29889 conftest
$ac_exeext conftest.
$ac_ext
29891 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29892 echo "${ECHO_T}$ac_cv_func_remove" >&6
29894 if test $ac_cv_func_remove = no
; then
29895 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29896 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29897 if test "${ac_cv_lib_posix_remove+set}" = set; then
29898 echo $ECHO_N "(cached) $ECHO_C" >&6
29900 ac_check_lib_save_LIBS
=$LIBS
29901 LIBS
="-lposix $LIBS"
29902 cat >conftest.
$ac_ext <<_ACEOF
29905 cat confdefs.h
>>conftest.
$ac_ext
29906 cat >>conftest.
$ac_ext <<_ACEOF
29907 /* end confdefs.h. */
29909 /* Override any gcc2 internal prototype to avoid an error. */
29913 /* We use char because int might match the return type of a gcc2
29914 builtin and then its argument prototype would still apply. */
29924 rm -f conftest.
$ac_objext conftest
$ac_exeext
29925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29926 (eval $ac_link) 2>conftest.er1
29928 grep -v '^ *+' conftest.er1
>conftest.err
29930 cat conftest.err
>&5
29931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932 (exit $ac_status); } &&
29933 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29935 (eval $ac_try) 2>&5
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); }; } &&
29939 { ac_try
='test -s conftest$ac_exeext'
29940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941 (eval $ac_try) 2>&5
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); }; }; then
29945 ac_cv_lib_posix_remove
=yes
29947 echo "$as_me: failed program was:" >&5
29948 sed 's/^/| /' conftest.
$ac_ext >&5
29950 ac_cv_lib_posix_remove
=no
29952 rm -f conftest.err conftest.
$ac_objext \
29953 conftest
$ac_exeext conftest.
$ac_ext
29954 LIBS
=$ac_check_lib_save_LIBS
29956 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29957 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29958 if test $ac_cv_lib_posix_remove = yes; then
29959 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29964 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29965 echo "$as_me:$LINENO: checking for shmat" >&5
29966 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29967 if test "${ac_cv_func_shmat+set}" = set; then
29968 echo $ECHO_N "(cached) $ECHO_C" >&6
29970 cat >conftest.
$ac_ext <<_ACEOF
29973 cat confdefs.h
>>conftest.
$ac_ext
29974 cat >>conftest.
$ac_ext <<_ACEOF
29975 /* end confdefs.h. */
29976 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29978 #define shmat innocuous_shmat
29980 /* System header to define __stub macros and hopefully few prototypes,
29981 which can conflict with char shmat (); below.
29982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29983 <limits.h> exists even on freestanding compilers. */
29986 # include <limits.h>
29988 # include <assert.h>
29993 /* Override any gcc2 internal prototype to avoid an error. */
29998 /* We use char because int might match the return type of a gcc2
29999 builtin and then its argument prototype would still apply. */
30001 /* The GNU C library defines this for functions which it implements
30002 to always fail with ENOSYS. Some functions are actually named
30003 something starting with __ and the normal name is an alias. */
30004 #if defined (__stub_shmat) || defined (__stub___shmat)
30007 char (*f) () = shmat;
30021 rm -f conftest.
$ac_objext conftest
$ac_exeext
30022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30023 (eval $ac_link) 2>conftest.er1
30025 grep -v '^ *+' conftest.er1
>conftest.err
30027 cat conftest.err
>&5
30028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30029 (exit $ac_status); } &&
30030 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30032 (eval $ac_try) 2>&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); }; } &&
30036 { ac_try
='test -s conftest$ac_exeext'
30037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30038 (eval $ac_try) 2>&5
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); }; }; then
30042 ac_cv_func_shmat
=yes
30044 echo "$as_me: failed program was:" >&5
30045 sed 's/^/| /' conftest.
$ac_ext >&5
30047 ac_cv_func_shmat
=no
30049 rm -f conftest.err conftest.
$ac_objext \
30050 conftest
$ac_exeext conftest.
$ac_ext
30052 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30053 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30055 if test $ac_cv_func_shmat = no
; then
30056 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30057 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30058 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30059 echo $ECHO_N "(cached) $ECHO_C" >&6
30061 ac_check_lib_save_LIBS
=$LIBS
30063 cat >conftest.
$ac_ext <<_ACEOF
30066 cat confdefs.h
>>conftest.
$ac_ext
30067 cat >>conftest.
$ac_ext <<_ACEOF
30068 /* end confdefs.h. */
30070 /* Override any gcc2 internal prototype to avoid an error. */
30074 /* We use char because int might match the return type of a gcc2
30075 builtin and then its argument prototype would still apply. */
30085 rm -f conftest.
$ac_objext conftest
$ac_exeext
30086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30087 (eval $ac_link) 2>conftest.er1
30089 grep -v '^ *+' conftest.er1
>conftest.err
30091 cat conftest.err
>&5
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); } &&
30094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30096 (eval $ac_try) 2>&5
30098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099 (exit $ac_status); }; } &&
30100 { ac_try
='test -s conftest$ac_exeext'
30101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30102 (eval $ac_try) 2>&5
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); }; }; then
30106 ac_cv_lib_ipc_shmat
=yes
30108 echo "$as_me: failed program was:" >&5
30109 sed 's/^/| /' conftest.
$ac_ext >&5
30111 ac_cv_lib_ipc_shmat
=no
30113 rm -f conftest.err conftest.
$ac_objext \
30114 conftest
$ac_exeext conftest.
$ac_ext
30115 LIBS
=$ac_check_lib_save_LIBS
30117 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30118 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30119 if test $ac_cv_lib_ipc_shmat = yes; then
30120 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30126 # Check for libraries that X11R6 Xt/Xaw programs need.
30127 ac_save_LDFLAGS
=$LDFLAGS
30128 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30129 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30130 # check for ICE first), but we must link in the order -lSM -lICE or
30131 # we get undefined symbols. So assume we have SM if we have ICE.
30132 # These have to be linked with before -lX11, unlike the other
30133 # libraries we check for below, so use a different variable.
30134 # John Interrante, Karl Berry
30135 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30136 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30137 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30138 echo $ECHO_N "(cached) $ECHO_C" >&6
30140 ac_check_lib_save_LIBS
=$LIBS
30141 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30142 cat >conftest.
$ac_ext <<_ACEOF
30145 cat confdefs.h
>>conftest.
$ac_ext
30146 cat >>conftest.
$ac_ext <<_ACEOF
30147 /* end confdefs.h. */
30149 /* Override any gcc2 internal prototype to avoid an error. */
30153 /* We use char because int might match the return type of a gcc2
30154 builtin and then its argument prototype would still apply. */
30155 char IceConnectionNumber ();
30159 IceConnectionNumber ();
30164 rm -f conftest.
$ac_objext conftest
$ac_exeext
30165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30166 (eval $ac_link) 2>conftest.er1
30168 grep -v '^ *+' conftest.er1
>conftest.err
30170 cat conftest.err
>&5
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); } &&
30173 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30175 (eval $ac_try) 2>&5
30177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30178 (exit $ac_status); }; } &&
30179 { ac_try
='test -s conftest$ac_exeext'
30180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30181 (eval $ac_try) 2>&5
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); }; }; then
30185 ac_cv_lib_ICE_IceConnectionNumber
=yes
30187 echo "$as_me: failed program was:" >&5
30188 sed 's/^/| /' conftest.
$ac_ext >&5
30190 ac_cv_lib_ICE_IceConnectionNumber
=no
30192 rm -f conftest.err conftest.
$ac_objext \
30193 conftest
$ac_exeext conftest.
$ac_ext
30194 LIBS
=$ac_check_lib_save_LIBS
30196 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30197 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30198 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30199 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30202 LDFLAGS
=$ac_save_LDFLAGS
30207 if test "$no_x" = "yes"; then
30208 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30209 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30210 { (exit 1); exit 1; }; }
30213 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30214 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30215 AFMINSTALL
=afminstall
30216 COMPILED_X_PROGRAM
=0
30220 if test "$wxUSE_X11" = 1; then
30221 if test "$wxUSE_NANOX" = "yes"; then
30222 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30223 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30224 if test "x$MICROWIN" = x
; then
30225 echo "$as_me:$LINENO: result: not found" >&5
30226 echo "${ECHO_T}not found" >&6
30227 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30228 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30229 { (exit 1); exit 1; }; }
30231 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30232 echo "${ECHO_T}$MICROWIN" >&6
30233 cat >>confdefs.h
<<\_ACEOF
30234 #define wxUSE_NANOX 1
30240 if test "$wxUSE_UNICODE" = "yes"; then
30243 echo "$as_me:$LINENO: checking for PANGOX" >&5
30244 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30246 if test -n "$PKG_CONFIG"; then
30247 if test -n "$PANGOX_CFLAGS"; then
30248 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30250 if test -n "$PKG_CONFIG" && \
30251 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30252 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); }; then
30256 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30264 if test -n "$PKG_CONFIG"; then
30265 if test -n "$PANGOX_LIBS"; then
30266 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30268 if test -n "$PKG_CONFIG" && \
30269 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30270 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273 (exit $ac_status); }; then
30274 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30285 if test $pkg_failed = yes; then
30287 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30288 _pkg_short_errors_supported
=yes
30290 _pkg_short_errors_supported
=no
30292 if test $_pkg_short_errors_supported = yes; then
30293 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30295 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30297 # Put the nasty error message in config.log where it belongs
30298 echo "$PANGOX_PKG_ERRORS" >&5
30301 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30302 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30303 { (exit 1); exit 1; }; }
30306 elif test $pkg_failed = untried
; then
30308 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30309 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30310 { (exit 1); exit 1; }; }
30314 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30315 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30316 echo "$as_me:$LINENO: result: yes" >&5
30317 echo "${ECHO_T}yes" >&6
30319 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30320 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30325 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30326 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30328 if test -n "$PKG_CONFIG"; then
30329 if test -n "$PANGOFT2_CFLAGS"; then
30330 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30332 if test -n "$PKG_CONFIG" && \
30333 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30334 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); }; then
30338 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30346 if test -n "$PKG_CONFIG"; then
30347 if test -n "$PANGOFT2_LIBS"; then
30348 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30350 if test -n "$PKG_CONFIG" && \
30351 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30352 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); }; then
30356 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30367 if test $pkg_failed = yes; then
30369 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30370 _pkg_short_errors_supported
=yes
30372 _pkg_short_errors_supported
=no
30374 if test $_pkg_short_errors_supported = yes; then
30375 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30377 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30379 # Put the nasty error message in config.log where it belongs
30380 echo "$PANGOFT2_PKG_ERRORS" >&5
30383 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30384 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30385 wxUSE_PRINTING_ARCHITECTURE
="no"
30388 elif test $pkg_failed = untried
; then
30390 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30391 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30392 wxUSE_PRINTING_ARCHITECTURE
="no"
30396 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30397 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30398 echo "$as_me:$LINENO: result: yes" >&5
30399 echo "${ECHO_T}yes" >&6
30401 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30402 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30407 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30408 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30410 if test -n "$PKG_CONFIG"; then
30411 if test -n "$PANGOXFT_CFLAGS"; then
30412 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30414 if test -n "$PKG_CONFIG" && \
30415 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30416 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30419 (exit $ac_status); }; then
30420 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30428 if test -n "$PKG_CONFIG"; then
30429 if test -n "$PANGOXFT_LIBS"; then
30430 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30432 if test -n "$PKG_CONFIG" && \
30433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30434 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); }; then
30438 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30449 if test $pkg_failed = yes; then
30451 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30452 _pkg_short_errors_supported
=yes
30454 _pkg_short_errors_supported
=no
30456 if test $_pkg_short_errors_supported = yes; then
30457 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30459 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30461 # Put the nasty error message in config.log where it belongs
30462 echo "$PANGOXFT_PKG_ERRORS" >&5
30465 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30466 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30469 elif test $pkg_failed = untried
; then
30471 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30472 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30476 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30477 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30478 echo "$as_me:$LINENO: result: yes" >&5
30479 echo "${ECHO_T}yes" >&6
30481 cat >>confdefs.h
<<\_ACEOF
30482 #define HAVE_PANGO_XFT 1
30485 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30486 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30489 save_CXXFLAGS
="$CXXFLAGS"
30491 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30492 LIBS
="$LIBS $PANGOX_LIBS"
30494 for ac_func
in pango_font_family_is_monospace
30496 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30497 echo "$as_me:$LINENO: checking for $ac_func" >&5
30498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30499 if eval "test \"\${$as_ac_var+set}\" = set"; then
30500 echo $ECHO_N "(cached) $ECHO_C" >&6
30502 cat >conftest.
$ac_ext <<_ACEOF
30505 cat confdefs.h
>>conftest.
$ac_ext
30506 cat >>conftest.
$ac_ext <<_ACEOF
30507 /* end confdefs.h. */
30508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30510 #define $ac_func innocuous_$ac_func
30512 /* System header to define __stub macros and hopefully few prototypes,
30513 which can conflict with char $ac_func (); below.
30514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30515 <limits.h> exists even on freestanding compilers. */
30518 # include <limits.h>
30520 # include <assert.h>
30525 /* Override any gcc2 internal prototype to avoid an error. */
30530 /* We use char because int might match the return type of a gcc2
30531 builtin and then its argument prototype would still apply. */
30533 /* The GNU C library defines this for functions which it implements
30534 to always fail with ENOSYS. Some functions are actually named
30535 something starting with __ and the normal name is an alias. */
30536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30539 char (*f) () = $ac_func;
30548 return f != $ac_func;
30553 rm -f conftest.
$ac_objext conftest
$ac_exeext
30554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30555 (eval $ac_link) 2>conftest.er1
30557 grep -v '^ *+' conftest.er1
>conftest.err
30559 cat conftest.err
>&5
30560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561 (exit $ac_status); } &&
30562 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30564 (eval $ac_try) 2>&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); }; } &&
30568 { ac_try
='test -s conftest$ac_exeext'
30569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30570 (eval $ac_try) 2>&5
30572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30573 (exit $ac_status); }; }; then
30574 eval "$as_ac_var=yes"
30576 echo "$as_me: failed program was:" >&5
30577 sed 's/^/| /' conftest.
$ac_ext >&5
30579 eval "$as_ac_var=no"
30581 rm -f conftest.err conftest.
$ac_objext \
30582 conftest
$ac_exeext conftest.
$ac_ext
30584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30586 if test `eval echo '${'$as_ac_var'}'` = yes; then
30587 cat >>confdefs.h
<<_ACEOF
30588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30594 CXXFLAGS
="$save_CXXFLAGS"
30598 wxUSE_UNIVERSAL
="yes"
30600 if test "$wxUSE_NANOX" = "yes"; then
30601 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30602 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"
30603 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30605 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
30612 if test "$wxUSE_MOTIF" = 1; then
30613 if test "$wxUSE_UNICODE" = "yes"; then
30614 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30615 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30616 { (exit 1); exit 1; }; }
30619 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30620 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30623 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30625 if test -f "$ac_dir/Xm/Xm.h"; then
30626 ac_find_includes
=$ac_dir
30631 if test "$ac_find_includes" != "" ; then
30632 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30633 echo "${ECHO_T}found in $ac_find_includes" >&6
30635 if test "x$ac_find_includes" = "x/usr/include"; then
30636 ac_path_to_include
=""
30638 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
30640 if test $result = 0; then
30641 ac_path_to_include
=""
30643 ac_path_to_include
=" -I$ac_find_includes"
30647 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
30649 save_CXXFLAGS
=$CXXFLAGS
30650 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30652 cat >conftest.
$ac_ext <<_ACEOF
30655 cat confdefs.h
>>conftest.
$ac_ext
30656 cat >>conftest.
$ac_ext <<_ACEOF
30657 /* end confdefs.h. */
30666 version = xmUseVersion;
30672 rm -f conftest.
$ac_objext
30673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30674 (eval $ac_compile) 2>conftest.er1
30676 grep -v '^ *+' conftest.er1
>conftest.err
30678 cat conftest.err
>&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); } &&
30681 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; } &&
30687 { ac_try
='test -s conftest.$ac_objext'
30688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30689 (eval $ac_try) 2>&5
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); }; }; then
30694 echo "$as_me:$LINENO: result: found in default search path" >&5
30695 echo "${ECHO_T}found in default search path" >&6
30696 COMPILED_X_PROGRAM
=1
30699 echo "$as_me: failed program was:" >&5
30700 sed 's/^/| /' conftest.
$ac_ext >&5
30703 echo "$as_me:$LINENO: result: no" >&5
30704 echo "${ECHO_T}no" >&6
30705 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30706 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30707 { (exit 1); exit 1; }; }
30711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30713 CXXFLAGS
=$save_CXXFLAGS
30717 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30718 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30721 for ac_dir
in $SEARCH_LIB;
30723 for ac_extension
in a so sl dylib dll.a
; do
30724 if test -f "$ac_dir/libXm.$ac_extension"; then
30725 ac_find_libraries
=$ac_dir
30732 if test "x$ac_find_libraries" != "x" ; then
30733 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30734 echo "${ECHO_T}found in $ac_find_libraries" >&6
30737 if test "$ac_find_libraries" = "default location"; then
30740 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30742 if test $result = 0; then
30745 ac_path_to_link
=" -L$ac_find_libraries"
30749 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30751 save_CXXFLAGS
=$CXXFLAGS
30752 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30754 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30756 cat >conftest.
$ac_ext <<_ACEOF
30759 cat confdefs.h
>>conftest.
$ac_ext
30760 cat >>conftest.
$ac_ext <<_ACEOF
30761 /* end confdefs.h. */
30770 version = xmUseVersion;
30776 rm -f conftest.
$ac_objext conftest
$ac_exeext
30777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30778 (eval $ac_link) 2>conftest.er1
30780 grep -v '^ *+' conftest.er1
>conftest.err
30782 cat conftest.err
>&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); } &&
30785 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30787 (eval $ac_try) 2>&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); }; } &&
30791 { ac_try
='test -s conftest$ac_exeext'
30792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793 (eval $ac_try) 2>&5
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; }; then
30798 echo "$as_me:$LINENO: result: found in default search path" >&5
30799 echo "${ECHO_T}found in default search path" >&6
30800 COMPILED_X_PROGRAM
=1
30803 echo "$as_me: failed program was:" >&5
30804 sed 's/^/| /' conftest.
$ac_ext >&5
30807 echo "$as_me:$LINENO: result: no" >&5
30808 echo "${ECHO_T}no" >&6
30809 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30810 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30811 { (exit 1); exit 1; }; }
30815 rm -f conftest.err conftest.
$ac_objext \
30816 conftest
$ac_exeext conftest.
$ac_ext
30818 CXXFLAGS
=$save_CXXFLAGS
30822 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30823 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30827 for libp
in "" " -lXp"; do
30828 if test "$libs_found" = "0"; then
30829 for libsm_ice
in "" " -lSM -lICE"; do
30830 if test "$libs_found" = "0"; then
30832 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30833 save_CXXFLAGS
=$CXXFLAGS
30834 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30836 cat >conftest.
$ac_ext <<_ACEOF
30839 cat confdefs.h
>>conftest.
$ac_ext
30840 cat >>conftest.
$ac_ext <<_ACEOF
30841 /* end confdefs.h. */
30844 #include <Xm/List.h>
30850 XmString string = NULL;
30853 XmListAddItem(w, string, position);
30859 rm -f conftest.
$ac_objext conftest
$ac_exeext
30860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30861 (eval $ac_link) 2>conftest.er1
30863 grep -v '^ *+' conftest.er1
>conftest.err
30865 cat conftest.err
>&5
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); } &&
30868 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30870 (eval $ac_try) 2>&5
30872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30873 (exit $ac_status); }; } &&
30874 { ac_try
='test -s conftest$ac_exeext'
30875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30876 (eval $ac_try) 2>&5
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); }; }; then
30882 libsm_ice_link
="$libsm_ice"
30883 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30884 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30888 echo "$as_me: failed program was:" >&5
30889 sed 's/^/| /' conftest.
$ac_ext >&5
30894 rm -f conftest.err conftest.
$ac_objext \
30895 conftest
$ac_exeext conftest.
$ac_ext
30898 CXXFLAGS
=$save_CXXFLAGS
30904 if test "$libs_found" = "0"; then
30905 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30906 echo "${ECHO_T}can't find the right libraries" >&6
30907 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30908 echo "$as_me: error: can't link a simple motif program" >&2;}
30909 { (exit 1); exit 1; }; }
30912 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30913 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30914 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30915 echo $ECHO_N "(cached) $ECHO_C" >&6
30917 ac_check_lib_save_LIBS
=$LIBS
30919 cat >conftest.
$ac_ext <<_ACEOF
30922 cat confdefs.h
>>conftest.
$ac_ext
30923 cat >>conftest.
$ac_ext <<_ACEOF
30924 /* end confdefs.h. */
30926 /* Override any gcc2 internal prototype to avoid an error. */
30930 /* We use char because int might match the return type of a gcc2
30931 builtin and then its argument prototype would still apply. */
30932 char SgCreateList ();
30941 rm -f conftest.
$ac_objext conftest
$ac_exeext
30942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30943 (eval $ac_link) 2>conftest.er1
30945 grep -v '^ *+' conftest.er1
>conftest.err
30947 cat conftest.err
>&5
30948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30949 (exit $ac_status); } &&
30950 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30952 (eval $ac_try) 2>&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); }; } &&
30956 { ac_try
='test -s conftest$ac_exeext'
30957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30958 (eval $ac_try) 2>&5
30960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30961 (exit $ac_status); }; }; then
30962 ac_cv_lib_Sgm_SgCreateList
=yes
30964 echo "$as_me: failed program was:" >&5
30965 sed 's/^/| /' conftest.
$ac_ext >&5
30967 ac_cv_lib_Sgm_SgCreateList
=no
30969 rm -f conftest.err conftest.
$ac_objext \
30970 conftest
$ac_exeext conftest.
$ac_ext
30971 LIBS
=$ac_check_lib_save_LIBS
30973 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30974 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30975 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30976 libsgm_link
=" -lSgm"
30980 save_CXXFLAGS
=$CXXFLAGS
30981 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
30983 echo "$as_me:$LINENO: checking for Motif 2" >&5
30984 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30985 if test "${wx_cv_lib_motif2+set}" = set; then
30986 echo $ECHO_N "(cached) $ECHO_C" >&6
30988 cat >conftest.
$ac_ext <<_ACEOF
30991 cat confdefs.h
>>conftest.
$ac_ext
30992 cat >>conftest.
$ac_ext <<_ACEOF
30993 /* end confdefs.h. */
31001 #if XmVersion < 2000
31009 rm -f conftest.
$ac_objext
31010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31011 (eval $ac_compile) 2>conftest.er1
31013 grep -v '^ *+' conftest.er1
>conftest.err
31015 cat conftest.err
>&5
31016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017 (exit $ac_status); } &&
31018 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31020 (eval $ac_try) 2>&5
31022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31023 (exit $ac_status); }; } &&
31024 { ac_try
='test -s conftest.$ac_objext'
31025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31026 (eval $ac_try) 2>&5
31028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31029 (exit $ac_status); }; }; then
31030 wx_cv_lib_motif2
="yes"
31032 echo "$as_me: failed program was:" >&5
31033 sed 's/^/| /' conftest.
$ac_ext >&5
31035 wx_cv_lib_motif2
="no"
31037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31039 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31040 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31041 if test "$wx_cv_lib_motif2" = "yes"; then
31042 cat >>confdefs.h
<<\_ACEOF
31043 #define __WXMOTIF20__ 1
31047 cat >>confdefs.h
<<\_ACEOF
31048 #define __WXMOTIF20__ 0
31053 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31054 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31055 if test "${wx_cv_lib_lesstif+set}" = set; then
31056 echo $ECHO_N "(cached) $ECHO_C" >&6
31058 cat >conftest.
$ac_ext <<_ACEOF
31061 cat confdefs.h
>>conftest.
$ac_ext
31062 cat >>conftest.
$ac_ext <<_ACEOF
31063 /* end confdefs.h. */
31071 #if !defined(LesstifVersion) || LesstifVersion <= 0
31079 rm -f conftest.
$ac_objext
31080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31081 (eval $ac_compile) 2>conftest.er1
31083 grep -v '^ *+' conftest.er1
>conftest.err
31085 cat conftest.err
>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); } &&
31088 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31090 (eval $ac_try) 2>&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); }; } &&
31094 { ac_try
='test -s conftest.$ac_objext'
31095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31096 (eval $ac_try) 2>&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); }; }; then
31100 wx_cv_lib_lesstif
="yes"
31102 echo "$as_me: failed program was:" >&5
31103 sed 's/^/| /' conftest.
$ac_ext >&5
31105 wx_cv_lib_lesstif
="no"
31107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31110 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31111 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31112 if test "$wx_cv_lib_lesstif" = "yes"; then
31113 cat >>confdefs.h
<<\_ACEOF
31114 #define __WXLESSTIF__ 1
31118 cat >>confdefs.h
<<\_ACEOF
31119 #define __WXLESSTIF__ 0
31124 CXXFLAGS
=$save_CXXFLAGS
31126 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31131 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31132 if test "$wxUSE_LIBXPM" = "sys"; then
31133 echo "$as_me:$LINENO: checking for Xpm library" >&5
31134 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31137 for ac_dir
in $SEARCH_LIB;
31139 for ac_extension
in a so sl dylib dll.a
; do
31140 if test -f "$ac_dir/libXpm.$ac_extension"; then
31141 ac_find_libraries
=$ac_dir
31147 if test "$ac_find_libraries" != "" ; then
31149 if test "$ac_find_libraries" = "default location"; then
31152 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31154 if test $result = 0; then
31157 ac_path_to_link
=" -L$ac_find_libraries"
31161 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31162 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31163 echo "${ECHO_T}found in $ac_find_libraries" >&6
31165 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31166 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31167 if test "${wx_cv_x11_xpm_h+set}" = set; then
31168 echo $ECHO_N "(cached) $ECHO_C" >&6
31171 save_CXXFLAGS
=$CXXFLAGS
31172 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31174 cat >conftest.
$ac_ext <<_ACEOF
31177 cat confdefs.h
>>conftest.
$ac_ext
31178 cat >>conftest.
$ac_ext <<_ACEOF
31179 /* end confdefs.h. */
31181 #include <X11/xpm.h>
31188 version = XpmLibraryVersion();
31194 rm -f conftest.
$ac_objext
31195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31196 (eval $ac_compile) 2>conftest.er1
31198 grep -v '^ *+' conftest.er1
>conftest.err
31200 cat conftest.err
>&5
31201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31202 (exit $ac_status); } &&
31203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31205 (eval $ac_try) 2>&5
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); }; } &&
31209 { ac_try
='test -s conftest.$ac_objext'
31210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31211 (eval $ac_try) 2>&5
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); }; }; then
31215 wx_cv_x11_xpm_h
=yes
31217 echo "$as_me: failed program was:" >&5
31218 sed 's/^/| /' conftest.
$ac_ext >&5
31223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31225 CXXFLAGS
=$save_CXXFLAGS
31229 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31230 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31232 if test $wx_cv_x11_xpm_h = "yes"; then
31233 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31234 cat >>confdefs.h
<<\_ACEOF
31235 #define wxHAVE_LIB_XPM 1
31239 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31240 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31246 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31247 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31248 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31249 echo $ECHO_N "(cached) $ECHO_C" >&6
31251 ac_check_lib_save_LIBS
=$LIBS
31252 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31253 cat >conftest.
$ac_ext <<_ACEOF
31256 cat confdefs.h
>>conftest.
$ac_ext
31257 cat >>conftest.
$ac_ext <<_ACEOF
31258 /* end confdefs.h. */
31260 /* Override any gcc2 internal prototype to avoid an error. */
31264 /* We use char because int might match the return type of a gcc2
31265 builtin and then its argument prototype would still apply. */
31266 char XShapeQueryExtension ();
31270 XShapeQueryExtension ();
31275 rm -f conftest.
$ac_objext conftest
$ac_exeext
31276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31277 (eval $ac_link) 2>conftest.er1
31279 grep -v '^ *+' conftest.er1
>conftest.err
31281 cat conftest.err
>&5
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); } &&
31284 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31286 (eval $ac_try) 2>&5
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); }; } &&
31290 { ac_try
='test -s conftest$ac_exeext'
31291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31292 (eval $ac_try) 2>&5
31294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31295 (exit $ac_status); }; }; then
31296 ac_cv_lib_Xext_XShapeQueryExtension
=yes
31298 echo "$as_me: failed program was:" >&5
31299 sed 's/^/| /' conftest.
$ac_ext >&5
31301 ac_cv_lib_Xext_XShapeQueryExtension
=no
31303 rm -f conftest.err conftest.
$ac_objext \
31304 conftest
$ac_exeext conftest.
$ac_ext
31305 LIBS
=$ac_check_lib_save_LIBS
31307 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31308 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31309 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31311 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
31317 if test "$wxHAVE_XEXT_LIB" = 1; then
31318 save_CXXFLAGS
="$CXXFLAGS"
31319 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31321 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31322 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31323 cat >conftest.
$ac_ext <<_ACEOF
31326 cat confdefs.h
>>conftest.
$ac_ext
31327 cat >>conftest.
$ac_ext <<_ACEOF
31328 /* end confdefs.h. */
31330 #include <X11/Xlib.h>
31331 #include <X11/extensions/shape.h>
31337 int dummy1, dummy2;
31338 XShapeQueryExtension((Display*)NULL,
31339 (int*)NULL, (int*)NULL);
31345 rm -f conftest.
$ac_objext
31346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31347 (eval $ac_compile) 2>conftest.er1
31349 grep -v '^ *+' conftest.er1
>conftest.err
31351 cat conftest.err
>&5
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); } &&
31354 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31356 (eval $ac_try) 2>&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); }; } &&
31360 { ac_try
='test -s conftest.$ac_objext'
31361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31362 (eval $ac_try) 2>&5
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); }; }; then
31367 cat >>confdefs.h
<<\_ACEOF
31368 #define HAVE_XSHAPE 1
31371 echo "$as_me:$LINENO: result: found" >&5
31372 echo "${ECHO_T}found" >&6
31375 echo "$as_me: failed program was:" >&5
31376 sed 's/^/| /' conftest.
$ac_ext >&5
31379 echo "$as_me:$LINENO: result: not found" >&5
31380 echo "${ECHO_T}not found" >&6
31383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31384 CXXFLAGS
="$save_CXXFLAGS"
31389 if test "$wxUSE_MAC" = 1; then
31390 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31391 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31392 if test "$GCC" = yes; then
31393 echo "$as_me:$LINENO: result: gcc" >&5
31394 echo "${ECHO_T}gcc" >&6
31395 CPPFLAGS_PASCAL
="-fpascal-strings"
31396 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31397 echo "$as_me:$LINENO: result: xlc" >&5
31398 echo "${ECHO_T}xlc" >&6
31399 CPPFLAGS_PASCAL
="-qmacpstr"
31401 echo "$as_me:$LINENO: result: none" >&5
31402 echo "${ECHO_T}none" >&6
31405 if test "x$wxUSE_UNIX" = "xyes"; then
31406 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31408 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31413 WXBASEPORT
="_carbon"
31416 if test "$wxUSE_COCOA" = 1; then
31421 if test "$wxUSE_PM" = 1; then
31424 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31425 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31426 if test "${wx_cv_spbcdata+set}" = set; then
31427 echo $ECHO_N "(cached) $ECHO_C" >&6
31430 cat >conftest.
$ac_ext <<_ACEOF
31433 cat confdefs.h
>>conftest.
$ac_ext
31434 cat >>conftest.
$ac_ext <<_ACEOF
31435 /* end confdefs.h. */
31450 rm -f conftest.
$ac_objext
31451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31452 (eval $ac_compile) 2>conftest.er1
31454 grep -v '^ *+' conftest.er1
>conftest.err
31456 cat conftest.err
>&5
31457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31458 (exit $ac_status); } &&
31459 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31461 (eval $ac_try) 2>&5
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); }; } &&
31465 { ac_try
='test -s conftest.$ac_objext'
31466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31467 (eval $ac_try) 2>&5
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); }; }; then
31473 echo "$as_me: failed program was:" >&5
31474 sed 's/^/| /' conftest.
$ac_ext >&5
31479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31483 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31484 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31486 if test $wx_cv_spbcdata = "yes"; then
31487 cat >>confdefs.h
<<\_ACEOF
31488 #define HAVE_SPBCDATA 1
31494 if test "$TOOLKIT" = "PM" ; then
31497 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31500 if test "$wxUSE_UNIVERSAL" = "yes"; then
31501 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31505 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31506 DISTDIR
="wx\$(TOOLKIT)"
31512 if test "$USE_WIN32" = 1 ; then
31516 GUIDIST
="BASE_DIST"
31521 if test "$wxUSE_GUI" = "yes"; then
31522 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31524 for ac_header
in X
11/Xlib.h
31526 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31528 echo "$as_me:$LINENO: checking for $ac_header" >&5
31529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31531 echo $ECHO_N "(cached) $ECHO_C" >&6
31533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31536 # Is the header compilable?
31537 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31538 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31539 cat >conftest.
$ac_ext <<_ACEOF
31542 cat confdefs.h
>>conftest.
$ac_ext
31543 cat >>conftest.
$ac_ext <<_ACEOF
31544 /* end confdefs.h. */
31545 $ac_includes_default
31546 #include <$ac_header>
31548 rm -f conftest.
$ac_objext
31549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31550 (eval $ac_compile) 2>conftest.er1
31552 grep -v '^ *+' conftest.er1
>conftest.err
31554 cat conftest.err
>&5
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); } &&
31557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31559 (eval $ac_try) 2>&5
31561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31562 (exit $ac_status); }; } &&
31563 { ac_try
='test -s conftest.$ac_objext'
31564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31565 (eval $ac_try) 2>&5
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); }; }; then
31569 ac_header_compiler
=yes
31571 echo "$as_me: failed program was:" >&5
31572 sed 's/^/| /' conftest.
$ac_ext >&5
31574 ac_header_compiler
=no
31576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31578 echo "${ECHO_T}$ac_header_compiler" >&6
31580 # Is the header present?
31581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31583 cat >conftest.
$ac_ext <<_ACEOF
31586 cat confdefs.h
>>conftest.
$ac_ext
31587 cat >>conftest.
$ac_ext <<_ACEOF
31588 /* end confdefs.h. */
31589 #include <$ac_header>
31591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31592 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31594 grep -v '^ *+' conftest.er1
>conftest.err
31596 cat conftest.err
>&5
31597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31598 (exit $ac_status); } >/dev
/null
; then
31599 if test -s conftest.err
; then
31600 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31601 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31608 if test -z "$ac_cpp_err"; then
31609 ac_header_preproc
=yes
31611 echo "$as_me: failed program was:" >&5
31612 sed 's/^/| /' conftest.
$ac_ext >&5
31614 ac_header_preproc
=no
31616 rm -f conftest.err conftest.
$ac_ext
31617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31618 echo "${ECHO_T}$ac_header_preproc" >&6
31620 # So? What about this header?
31621 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31626 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31627 ac_header_preproc
=yes
31630 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31631 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31632 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31633 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31634 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31635 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31636 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31637 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31639 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31640 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31641 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31644 ## ----------------------------------------- ##
31645 ## Report this to wx-dev@lists.wxwidgets.org ##
31646 ## ----------------------------------------- ##
31649 sed "s/^/$as_me: WARNING: /" >&2
31652 echo "$as_me:$LINENO: checking for $ac_header" >&5
31653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31655 echo $ECHO_N "(cached) $ECHO_C" >&6
31657 eval "$as_ac_Header=\$ac_header_preproc"
31659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31664 cat >>confdefs.h
<<_ACEOF
31665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31673 for ac_header
in X
11/XKBlib.h
31675 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31676 echo "$as_me:$LINENO: checking for $ac_header" >&5
31677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31679 echo $ECHO_N "(cached) $ECHO_C" >&6
31681 cat >conftest.
$ac_ext <<_ACEOF
31684 cat confdefs.h
>>conftest.
$ac_ext
31685 cat >>conftest.
$ac_ext <<_ACEOF
31686 /* end confdefs.h. */
31688 #if HAVE_X11_XLIB_H
31689 #include <X11/Xlib.h>
31693 #include <$ac_header>
31695 rm -f conftest.
$ac_objext
31696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31697 (eval $ac_compile) 2>conftest.er1
31699 grep -v '^ *+' conftest.er1
>conftest.err
31701 cat conftest.err
>&5
31702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31703 (exit $ac_status); } &&
31704 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31706 (eval $ac_try) 2>&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; } &&
31710 { ac_try
='test -s conftest.$ac_objext'
31711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31712 (eval $ac_try) 2>&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); }; }; then
31716 eval "$as_ac_Header=yes"
31718 echo "$as_me: failed program was:" >&5
31719 sed 's/^/| /' conftest.
$ac_ext >&5
31721 eval "$as_ac_Header=no"
31723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31728 cat >>confdefs.h
<<_ACEOF
31729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31744 if test "$TOOLKIT" != "MSW" ; then
31746 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31748 if test "${ac_cv_header_sql_h+set}" = set; then
31749 echo "$as_me:$LINENO: checking for sql.h" >&5
31750 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31751 if test "${ac_cv_header_sql_h+set}" = set; then
31752 echo $ECHO_N "(cached) $ECHO_C" >&6
31754 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31755 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31757 # Is the header compilable?
31758 echo "$as_me:$LINENO: checking sql.h usability" >&5
31759 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31760 cat >conftest.
$ac_ext <<_ACEOF
31763 cat confdefs.h
>>conftest.
$ac_ext
31764 cat >>conftest.
$ac_ext <<_ACEOF
31765 /* end confdefs.h. */
31766 $ac_includes_default
31769 rm -f conftest.
$ac_objext
31770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31771 (eval $ac_compile) 2>conftest.er1
31773 grep -v '^ *+' conftest.er1
>conftest.err
31775 cat conftest.err
>&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } &&
31778 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; } &&
31784 { ac_try
='test -s conftest.$ac_objext'
31785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31786 (eval $ac_try) 2>&5
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); }; }; then
31790 ac_header_compiler
=yes
31792 echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.
$ac_ext >&5
31795 ac_header_compiler
=no
31797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31799 echo "${ECHO_T}$ac_header_compiler" >&6
31801 # Is the header present?
31802 echo "$as_me:$LINENO: checking sql.h presence" >&5
31803 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31804 cat >conftest.
$ac_ext <<_ACEOF
31807 cat confdefs.h
>>conftest.
$ac_ext
31808 cat >>conftest.
$ac_ext <<_ACEOF
31809 /* end confdefs.h. */
31812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31813 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31815 grep -v '^ *+' conftest.er1
>conftest.err
31817 cat conftest.err
>&5
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); } >/dev
/null
; then
31820 if test -s conftest.err
; then
31821 ac_cpp_err
=$ac_cxx_preproc_warn_flag
31822 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
31829 if test -z "$ac_cpp_err"; then
31830 ac_header_preproc
=yes
31832 echo "$as_me: failed program was:" >&5
31833 sed 's/^/| /' conftest.
$ac_ext >&5
31835 ac_header_preproc
=no
31837 rm -f conftest.err conftest.
$ac_ext
31838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31839 echo "${ECHO_T}$ac_header_preproc" >&6
31841 # So? What about this header?
31842 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31844 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31845 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31846 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31847 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31848 ac_header_preproc
=yes
31851 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31852 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31853 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31854 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31855 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31856 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31857 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31858 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31859 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31860 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31861 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31862 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31865 ## ----------------------------------------- ##
31866 ## Report this to wx-dev@lists.wxwidgets.org ##
31867 ## ----------------------------------------- ##
31870 sed "s/^/$as_me: WARNING: /" >&2
31873 echo "$as_me:$LINENO: checking for sql.h" >&5
31874 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31875 if test "${ac_cv_header_sql_h+set}" = set; then
31876 echo $ECHO_N "(cached) $ECHO_C" >&6
31878 ac_cv_header_sql_h
=$ac_header_preproc
31880 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31881 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31884 if test $ac_cv_header_sql_h = yes; then
31889 if test "x$found_sql_h" = "x1" ; then
31890 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31891 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31892 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31893 echo $ECHO_N "(cached) $ECHO_C" >&6
31895 ac_check_lib_save_LIBS
=$LIBS
31896 LIBS
="-liodbc $LIBS"
31897 cat >conftest.
$ac_ext <<_ACEOF
31900 cat confdefs.h
>>conftest.
$ac_ext
31901 cat >>conftest.
$ac_ext <<_ACEOF
31902 /* end confdefs.h. */
31904 /* Override any gcc2 internal prototype to avoid an error. */
31908 /* We use char because int might match the return type of a gcc2
31909 builtin and then its argument prototype would still apply. */
31910 char SQLAllocEnv ();
31919 rm -f conftest.
$ac_objext conftest
$ac_exeext
31920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31921 (eval $ac_link) 2>conftest.er1
31923 grep -v '^ *+' conftest.er1
>conftest.err
31925 cat conftest.err
>&5
31926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31927 (exit $ac_status); } &&
31928 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31930 (eval $ac_try) 2>&5
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); }; } &&
31934 { ac_try
='test -s conftest$ac_exeext'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; }; then
31940 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31942 echo "$as_me: failed program was:" >&5
31943 sed 's/^/| /' conftest.
$ac_ext >&5
31945 ac_cv_lib_iodbc_SQLAllocEnv
=no
31947 rm -f conftest.err conftest.
$ac_objext \
31948 conftest
$ac_exeext conftest.
$ac_ext
31949 LIBS
=$ac_check_lib_save_LIBS
31951 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31952 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31953 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31954 ODBC_LINK
=" -liodbc"
31957 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31958 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31959 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31960 echo $ECHO_N "(cached) $ECHO_C" >&6
31962 ac_check_lib_save_LIBS
=$LIBS
31963 LIBS
="-lunixodbc $LIBS"
31964 cat >conftest.
$ac_ext <<_ACEOF
31967 cat confdefs.h
>>conftest.
$ac_ext
31968 cat >>conftest.
$ac_ext <<_ACEOF
31969 /* end confdefs.h. */
31971 /* Override any gcc2 internal prototype to avoid an error. */
31975 /* We use char because int might match the return type of a gcc2
31976 builtin and then its argument prototype would still apply. */
31977 char SQLAllocEnv ();
31986 rm -f conftest.
$ac_objext conftest
$ac_exeext
31987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31988 (eval $ac_link) 2>conftest.er1
31990 grep -v '^ *+' conftest.er1
>conftest.err
31992 cat conftest.err
>&5
31993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31994 (exit $ac_status); } &&
31995 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31997 (eval $ac_try) 2>&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); }; } &&
32001 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
32007 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32009 echo "$as_me: failed program was:" >&5
32010 sed 's/^/| /' conftest.
$ac_ext >&5
32012 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32014 rm -f conftest.err conftest.
$ac_objext \
32015 conftest
$ac_exeext conftest.
$ac_ext
32016 LIBS
=$ac_check_lib_save_LIBS
32018 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32019 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32020 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32021 ODBC_LINK
=" -lunixodbc"
32024 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32025 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32026 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32027 echo $ECHO_N "(cached) $ECHO_C" >&6
32029 ac_check_lib_save_LIBS
=$LIBS
32030 LIBS
="-lodbc $LIBS"
32031 cat >conftest.
$ac_ext <<_ACEOF
32034 cat confdefs.h
>>conftest.
$ac_ext
32035 cat >>conftest.
$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32038 /* Override any gcc2 internal prototype to avoid an error. */
32042 /* We use char because int might match the return type of a gcc2
32043 builtin and then its argument prototype would still apply. */
32044 char SQLAllocEnv ();
32053 rm -f conftest.
$ac_objext conftest
$ac_exeext
32054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32055 (eval $ac_link) 2>conftest.er1
32057 grep -v '^ *+' conftest.er1
>conftest.err
32059 cat conftest.err
>&5
32060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32061 (exit $ac_status); } &&
32062 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32064 (eval $ac_try) 2>&5
32066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32067 (exit $ac_status); }; } &&
32068 { ac_try
='test -s conftest$ac_exeext'
32069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32070 (eval $ac_try) 2>&5
32072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32073 (exit $ac_status); }; }; then
32074 ac_cv_lib_odbc_SQLAllocEnv
=yes
32076 echo "$as_me: failed program was:" >&5
32077 sed 's/^/| /' conftest.
$ac_ext >&5
32079 ac_cv_lib_odbc_SQLAllocEnv
=no
32081 rm -f conftest.err conftest.
$ac_objext \
32082 conftest
$ac_exeext conftest.
$ac_ext
32083 LIBS
=$ac_check_lib_save_LIBS
32085 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32086 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32087 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32088 ODBC_LINK
=" -lodbc"
32098 if test "x$ODBC_LINK" = "x" ; then
32099 if test "$wxUSE_ODBC" = "sys" ; then
32100 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32101 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32102 { (exit 1); exit 1; }; }
32104 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32105 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32113 if test "$wxUSE_ODBC" = "builtin" ; then
32114 cat >>confdefs.h
<<\_ACEOF
32115 #define wxUSE_BUILTIN_IODBC 1
32121 if test "$wxUSE_ODBC" != "no" ; then
32122 cat >>confdefs.h
<<\_ACEOF
32123 #define wxUSE_ODBC 1
32126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32128 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32132 if test "$wxUSE_DISPLAY" = "yes"; then
32133 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32134 echo "$as_me:$LINENO: checking for Xinerama" >&5
32135 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32138 for ac_dir
in $SEARCH_LIB;
32140 for ac_extension
in a so sl dylib dll.a
; do
32141 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32142 ac_find_libraries
=$ac_dir
32148 if test "$ac_find_libraries" != "" ; then
32150 if test "$ac_find_libraries" = "default location"; then
32153 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32155 if test $result = 0; then
32158 ac_path_to_link
=" -L$ac_find_libraries"
32162 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32163 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32165 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32166 echo "$as_me:$LINENO: result: yes" >&5
32167 echo "${ECHO_T}yes" >&6
32169 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32170 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32173 for ac_dir
in $SEARCH_LIB;
32175 for ac_extension
in a so sl dylib dll.a
; do
32176 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32177 ac_find_libraries
=$ac_dir
32183 if test "$ac_find_libraries" != "" ; then
32184 echo "$as_me:$LINENO: result: yes" >&5
32185 echo "${ECHO_T}yes" >&6
32187 for ac_header
in X
11/extensions
/xf86vmode.h
32189 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32190 echo "$as_me:$LINENO: checking for $ac_header" >&5
32191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32193 echo $ECHO_N "(cached) $ECHO_C" >&6
32195 cat >conftest.
$ac_ext <<_ACEOF
32198 cat confdefs.h
>>conftest.
$ac_ext
32199 cat >>conftest.
$ac_ext <<_ACEOF
32200 /* end confdefs.h. */
32202 #if HAVE_X11_XLIB_H
32203 #include <X11/Xlib.h>
32207 #include <$ac_header>
32209 rm -f conftest.
$ac_objext
32210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32211 (eval $ac_compile) 2>conftest.er1
32213 grep -v '^ *+' conftest.er1
>conftest.err
32215 cat conftest.err
>&5
32216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32217 (exit $ac_status); } &&
32218 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32220 (eval $ac_try) 2>&5
32222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32223 (exit $ac_status); }; } &&
32224 { ac_try
='test -s conftest.$ac_objext'
32225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32226 (eval $ac_try) 2>&5
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); }; }; then
32230 eval "$as_ac_Header=yes"
32232 echo "$as_me: failed program was:" >&5
32233 sed 's/^/| /' conftest.
$ac_ext >&5
32235 eval "$as_ac_Header=no"
32237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32242 cat >>confdefs.h
<<_ACEOF
32243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32246 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32253 echo "$as_me:$LINENO: result: no" >&5
32254 echo "${ECHO_T}no" >&6
32258 echo "$as_me:$LINENO: result: no" >&5
32259 echo "${ECHO_T}no" >&6
32260 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32261 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32264 elif test "$wxUSE_MSW" = 1; then
32266 for ac_header
in ddraw.h
32268 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32269 echo "$as_me:$LINENO: checking for $ac_header" >&5
32270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32272 echo $ECHO_N "(cached) $ECHO_C" >&6
32274 cat >conftest.
$ac_ext <<_ACEOF
32277 cat confdefs.h
>>conftest.
$ac_ext
32278 cat >>conftest.
$ac_ext <<_ACEOF
32279 /* end confdefs.h. */
32280 #include <windows.h>
32282 #include <$ac_header>
32284 rm -f conftest.
$ac_objext
32285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32286 (eval $ac_compile) 2>conftest.er1
32288 grep -v '^ *+' conftest.er1
>conftest.err
32290 cat conftest.err
>&5
32291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292 (exit $ac_status); } &&
32293 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32295 (eval $ac_try) 2>&5
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); }; } &&
32299 { ac_try
='test -s conftest.$ac_objext'
32300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32301 (eval $ac_try) 2>&5
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); }; }; then
32305 eval "$as_ac_Header=yes"
32307 echo "$as_me: failed program was:" >&5
32308 sed 's/^/| /' conftest.
$ac_ext >&5
32310 eval "$as_ac_Header=no"
32312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32317 cat >>confdefs.h
<<_ACEOF
32318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32330 if test "$wxUSE_OPENGL" = "yes"; then
32331 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32332 OPENGL_LIBS
="-framework OpenGL -framework AGL"
32333 elif test "$wxUSE_MSW" = 1; then
32334 OPENGL_LIBS
="-lopengl32 -lglu32"
32339 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32341 if test -f "$ac_dir/GL/gl.h"; then
32342 ac_find_includes
=$ac_dir
32347 if test "$ac_find_includes" != "" ; then
32348 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32349 echo "${ECHO_T}found in $ac_find_includes" >&6
32351 if test "x$ac_find_includes" = "x/usr/include"; then
32352 ac_path_to_include
=""
32354 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
32356 if test $result = 0; then
32357 ac_path_to_include
=""
32359 ac_path_to_include
=" -I$ac_find_includes"
32363 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
32366 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32367 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32368 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32369 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32370 echo $ECHO_N "(cached) $ECHO_C" >&6
32372 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32373 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32375 # Is the header compilable?
32376 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32377 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32378 cat >conftest.
$ac_ext <<_ACEOF
32381 cat confdefs.h
>>conftest.
$ac_ext
32382 cat >>conftest.
$ac_ext <<_ACEOF
32383 /* end confdefs.h. */
32384 $ac_includes_default
32387 rm -f conftest.
$ac_objext
32388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32389 (eval $ac_compile) 2>conftest.er1
32391 grep -v '^ *+' conftest.er1
>conftest.err
32393 cat conftest.err
>&5
32394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395 (exit $ac_status); } &&
32396 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32398 (eval $ac_try) 2>&5
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); }; } &&
32402 { ac_try
='test -s conftest.$ac_objext'
32403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32404 (eval $ac_try) 2>&5
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); }; }; then
32408 ac_header_compiler
=yes
32410 echo "$as_me: failed program was:" >&5
32411 sed 's/^/| /' conftest.
$ac_ext >&5
32413 ac_header_compiler
=no
32415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32417 echo "${ECHO_T}$ac_header_compiler" >&6
32419 # Is the header present?
32420 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32421 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32422 cat >conftest.
$ac_ext <<_ACEOF
32425 cat confdefs.h
>>conftest.
$ac_ext
32426 cat >>conftest.
$ac_ext <<_ACEOF
32427 /* end confdefs.h. */
32430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32431 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32433 grep -v '^ *+' conftest.er1
>conftest.err
32435 cat conftest.err
>&5
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); } >/dev
/null
; then
32438 if test -s conftest.err
; then
32439 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32440 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32447 if test -z "$ac_cpp_err"; then
32448 ac_header_preproc
=yes
32450 echo "$as_me: failed program was:" >&5
32451 sed 's/^/| /' conftest.
$ac_ext >&5
32453 ac_header_preproc
=no
32455 rm -f conftest.err conftest.
$ac_ext
32456 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32457 echo "${ECHO_T}$ac_header_preproc" >&6
32459 # So? What about this header?
32460 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32462 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32463 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32464 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32465 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32466 ac_header_preproc
=yes
32469 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32470 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32471 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32472 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32473 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32474 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32475 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32476 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32477 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32478 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32479 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32480 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32483 ## ----------------------------------------- ##
32484 ## Report this to wx-dev@lists.wxwidgets.org ##
32485 ## ----------------------------------------- ##
32488 sed "s/^/$as_me: WARNING: /" >&2
32491 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32492 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32493 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32494 echo $ECHO_N "(cached) $ECHO_C" >&6
32496 ac_cv_header_GL_gl_h
=$ac_header_preproc
32498 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32499 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32502 if test $ac_cv_header_GL_gl_h = yes; then
32506 echo "$as_me:$LINENO: checking for -lGL" >&5
32507 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32510 for ac_dir
in $SEARCH_LIB;
32512 for ac_extension
in a so sl dylib dll.a
; do
32513 if test -f "$ac_dir/libGL.$ac_extension"; then
32514 ac_find_libraries
=$ac_dir
32520 if test "$ac_find_libraries" != "" ; then
32521 echo "$as_me:$LINENO: result: yes" >&5
32522 echo "${ECHO_T}yes" >&6
32525 if test "$ac_find_libraries" = "default location"; then
32528 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32530 if test $result = 0; then
32533 ac_path_to_link
=" -L$ac_find_libraries"
32537 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32538 LDFLAGS_GL
="$ac_path_to_link"
32541 echo "$as_me:$LINENO: checking for -lGLU" >&5
32542 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32545 for ac_dir
in $SEARCH_LIB;
32547 for ac_extension
in a so sl dylib dll.a
; do
32548 if test -f "$ac_dir/libGLU.$ac_extension"; then
32549 ac_find_libraries
=$ac_dir
32555 if test "$ac_find_libraries" != "" ; then
32557 if test "$ac_find_libraries" = "default location"; then
32560 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32562 if test $result = 0; then
32565 ac_path_to_link
=" -L$ac_find_libraries"
32569 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32570 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32571 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32575 OPENGL_LIBS
="-lGL -lGLU"
32576 echo "$as_me:$LINENO: result: yes" >&5
32577 echo "${ECHO_T}yes" >&6
32579 echo "$as_me:$LINENO: result: no" >&5
32580 echo "${ECHO_T}no" >&6
32583 echo "$as_me:$LINENO: result: no" >&5
32584 echo "${ECHO_T}no" >&6
32587 if test "$found_gl" != 1; then
32588 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32589 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32592 for ac_dir
in $SEARCH_LIB;
32594 for ac_extension
in a so sl dylib dll.a
; do
32595 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32596 ac_find_libraries
=$ac_dir
32602 if test "$ac_find_libraries" != "" ; then
32604 if test "$ac_find_libraries" = "default location"; then
32607 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32609 if test $result = 0; then
32612 ac_path_to_link
=" -L$ac_find_libraries"
32616 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32617 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32618 echo "$as_me:$LINENO: result: yes" >&5
32619 echo "${ECHO_T}yes" >&6
32621 echo "$as_me:$LINENO: result: no" >&5
32622 echo "${ECHO_T}no" >&6
32630 if test "x$OPENGL_LIBS" = "x"; then
32631 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32632 echo "$as_me: error: OpenGL libraries not available" >&2;}
32633 { (exit 1); exit 1; }; }
32637 if test "$wxUSE_OPENGL" = "yes"; then
32639 cat >>confdefs.h
<<\_ACEOF
32640 #define wxUSE_OPENGL 1
32643 cat >>confdefs.h
<<\_ACEOF
32644 #define wxUSE_GLCANVAS 1
32647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32652 if test -n "$TOOLKIT" ; then
32653 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32658 if test "$wxUSE_SHARED" = "yes"; then
32662 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32663 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32668 if test "$wxUSE_SHARED" = "yes"; then
32671 found_versioning
=no
32674 if test $found_versioning = no
; then
32675 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32676 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32677 if test "${wx_cv_version_script+set}" = set; then
32678 echo $ECHO_N "(cached) $ECHO_C" >&6
32681 echo "VER_1 { *; };" >conftest.sym
32682 echo "int main() { return 0; }" >conftest.cpp
32685 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32686 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32688 (eval $ac_try) 2>&5
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); }; } ; then
32692 if test -s conftest.stderr
; then
32693 wx_cv_version_script
=no
32695 wx_cv_version_script
=yes
32698 wx_cv_version_script
=no
32701 if test $wx_cv_version_script = yes
32703 echo "struct B { virtual ~B() { } }; \
32704 struct D : public B { }; \
32705 void F() { D d; }" > conftest.cpp
32708 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32709 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32711 (eval $ac_try) 2>&5
32713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32714 (exit $ac_status); }; } &&
32716 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32717 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32719 (eval $ac_try) 2>&5
32721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32722 (exit $ac_status); }; }
32725 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32726 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32728 (eval $ac_try) 2>&5
32730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32731 (exit $ac_status); }; }
32733 wx_cv_version_script
=yes
32735 wx_cv_version_script
=no
32740 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32741 rm -f conftest1.output conftest2.output conftest3.output
32744 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32745 echo "${ECHO_T}$wx_cv_version_script" >&6
32746 if test $wx_cv_version_script = yes ; then
32747 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
32753 *-*-linux* | *-*-gnu* )
32754 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32755 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32759 if test "$GCC" = yes ; then
32760 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32762 saveLdflags
="$LDFLAGS"
32763 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32764 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32765 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32766 cat >conftest.
$ac_ext <<_ACEOF
32769 cat confdefs.h
>>conftest.
$ac_ext
32770 cat >>conftest.
$ac_ext <<_ACEOF
32771 /* end confdefs.h. */
32781 rm -f conftest.
$ac_objext conftest
$ac_exeext
32782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32783 (eval $ac_link) 2>conftest.er1
32785 grep -v '^ *+' conftest.er1
>conftest.err
32787 cat conftest.err
>&5
32788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789 (exit $ac_status); } &&
32790 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32792 (eval $ac_try) 2>&5
32794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795 (exit $ac_status); }; } &&
32796 { ac_try
='test -s conftest$ac_exeext'
32797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32798 (eval $ac_try) 2>&5
32800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32801 (exit $ac_status); }; }; then
32803 echo "$as_me:$LINENO: result: yes" >&5
32804 echo "${ECHO_T}yes" >&6
32805 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
32806 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32809 echo "$as_me: failed program was:" >&5
32810 sed 's/^/| /' conftest.
$ac_ext >&5
32813 echo "$as_me:$LINENO: result: no" >&5
32814 echo "${ECHO_T}no" >&6
32815 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32816 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32817 LDFLAGS
="$saveLdflags -Wl,-R,/"
32818 cat >conftest.
$ac_ext <<_ACEOF
32821 cat confdefs.h
>>conftest.
$ac_ext
32822 cat >>conftest.
$ac_ext <<_ACEOF
32823 /* end confdefs.h. */
32833 rm -f conftest.
$ac_objext conftest
$ac_exeext
32834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32835 (eval $ac_link) 2>conftest.er1
32837 grep -v '^ *+' conftest.er1
>conftest.err
32839 cat conftest.err
>&5
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); } &&
32842 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844 (eval $ac_try) 2>&5
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); }; } &&
32848 { ac_try
='test -s conftest$ac_exeext'
32849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32850 (eval $ac_try) 2>&5
32852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32853 (exit $ac_status); }; }; then
32855 echo "$as_me:$LINENO: result: yes" >&5
32856 echo "${ECHO_T}yes" >&6
32857 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
32858 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32861 echo "$as_me: failed program was:" >&5
32862 sed 's/^/| /' conftest.
$ac_ext >&5
32865 echo "$as_me:$LINENO: result: no" >&5
32866 echo "${ECHO_T}no" >&6
32869 rm -f conftest.err conftest.
$ac_objext \
32870 conftest
$ac_exeext conftest.
$ac_ext
32873 rm -f conftest.err conftest.
$ac_objext \
32874 conftest
$ac_exeext conftest.
$ac_ext
32875 LDFLAGS
="$saveLdflags"
32877 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
32878 WXCONFIG_RPATH
="-R\$libdir"
32883 install_name_tool
=`which install_name_tool`
32884 if test "$install_name_tool" -a -x "$install_name_tool"; then
32885 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32886 cat <<EOF >change-install-names
32888 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32889 inst_cmd="install_name_tool "
32890 for i in \${libnames} ; do
32891 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32895 chmod +x change
-install-names
32899 *-*-cygwin* | *-*-mingw32* )
32900 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32904 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
32905 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32910 if test $wxUSE_RPATH = "no"; then
32911 SAMPLES_RPATH_FLAG
=''
32912 SAMPLES_RPATH_POSTLINK
=''
32920 config_linkage_component
="-static"
32927 lib_unicode_suffix
=
32929 if test "$wxUSE_UNICODE" = "yes"; then
32930 lib_unicode_suffix
=u
32931 WX_CHARTYPE
="unicode"
32936 WX_DEBUGTYPE
="release"
32938 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32940 WX_DEBUGTYPE
="debug"
32944 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32945 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32948 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32952 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32954 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32956 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32958 if test "$cross_compiling" = "yes"; then
32959 HOST_SUFFIX
="-$host_alias"
32960 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32961 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32964 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32965 if test "${TOOLKIT_DIR}" = "os2"; then
32966 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32968 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32973 if test "$wxUSE_COCOA" = 1; then
32977 ac_cpp
='$CPP $CPPFLAGS'
32978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32984 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32985 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32986 cat >conftest.
$ac_ext <<_ACEOF
32989 cat confdefs.h
>>conftest.
$ac_ext
32990 cat >>conftest.
$ac_ext <<_ACEOF
32991 /* end confdefs.h. */
32992 #include <AppKit/NSEvent.h>
32993 #include <CoreFoundation/CoreFoundation.h>
33003 rm -f conftest.
$ac_objext
33004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33005 (eval $ac_compile) 2>conftest.er1
33007 grep -v '^ *+' conftest.er1
>conftest.err
33009 cat conftest.err
>&5
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); } &&
33012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33014 (eval $ac_try) 2>&5
33016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017 (exit $ac_status); }; } &&
33018 { ac_try
='test -s conftest.$ac_objext'
33019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33020 (eval $ac_try) 2>&5
33022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33023 (exit $ac_status); }; }; then
33024 echo "$as_me:$LINENO: result: no" >&5
33025 echo "${ECHO_T}no" >&6
33027 echo "$as_me: failed program was:" >&5
33028 sed 's/^/| /' conftest.
$ac_ext >&5
33030 echo "$as_me:$LINENO: result: yes" >&5
33031 echo "${ECHO_T}yes" >&6
33032 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33033 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33034 cat >conftest.
$ac_ext <<_ACEOF
33037 cat confdefs.h
>>conftest.
$ac_ext
33038 cat >>conftest.
$ac_ext <<_ACEOF
33039 /* end confdefs.h. */
33040 #define __Point__ 1
33041 #include <AppKit/NSEvent.h>
33042 #include <CoreFoundation/CoreFoundation.h>
33052 rm -f conftest.
$ac_objext
33053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33054 (eval $ac_compile) 2>conftest.er1
33056 grep -v '^ *+' conftest.er1
>conftest.err
33058 cat conftest.err
>&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } &&
33061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33063 (eval $ac_try) 2>&5
33065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066 (exit $ac_status); }; } &&
33067 { ac_try
='test -s conftest.$ac_objext'
33068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33069 (eval $ac_try) 2>&5
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); }; }; then
33073 echo "$as_me:$LINENO: result: yes" >&5
33074 echo "${ECHO_T}yes" >&6
33075 cat >>confdefs.h
<<\_ACEOF
33076 #define __Point__ 1
33081 echo "$as_me: failed program was:" >&5
33082 sed 's/^/| /' conftest.
$ac_ext >&5
33084 { { echo "$as_me:$LINENO: error: no
33085 See \`config.log' for more details." >&5
33086 echo "$as_me: error: no
33087 See \`config.log' for more details." >&2;}
33088 { (exit 1); exit 1; }; }
33091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33096 ac_cpp
='$CXXCPP $CPPFLAGS'
33097 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33098 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33099 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33103 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33104 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33105 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33107 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33109 # Extract the first word of "Rez", so it can be a program name with args.
33110 set dummy Rez
; ac_word
=$2
33111 echo "$as_me:$LINENO: checking for $ac_word" >&5
33112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33113 if test "${ac_cv_prog_REZ+set}" = set; then
33114 echo $ECHO_N "(cached) $ECHO_C" >&6
33116 if test -n "$REZ"; then
33117 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33120 for as_dir
in $PATH
33123 test -z "$as_dir" && as_dir
=.
33124 for ac_exec_ext
in '' $ac_executable_extensions; do
33125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33126 ac_cv_prog_REZ
="Rez"
33127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33133 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33136 REZ
=$ac_cv_prog_REZ
33137 if test -n "$REZ"; then
33138 echo "$as_me:$LINENO: result: $REZ" >&5
33139 echo "${ECHO_T}$REZ" >&6
33141 echo "$as_me:$LINENO: result: no" >&5
33142 echo "${ECHO_T}no" >&6
33145 # Extract the first word of "DeRez", so it can be a program name with args.
33146 set dummy DeRez
; ac_word
=$2
33147 echo "$as_me:$LINENO: checking for $ac_word" >&5
33148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33149 if test "${ac_cv_prog_DEREZ+set}" = set; then
33150 echo $ECHO_N "(cached) $ECHO_C" >&6
33152 if test -n "$DEREZ"; then
33153 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33156 for as_dir
in $PATH
33159 test -z "$as_dir" && as_dir
=.
33160 for ac_exec_ext
in '' $ac_executable_extensions; do
33161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33162 ac_cv_prog_DEREZ
="DeRez"
33163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33169 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33172 DEREZ
=$ac_cv_prog_DEREZ
33173 if test -n "$DEREZ"; then
33174 echo "$as_me:$LINENO: result: $DEREZ" >&5
33175 echo "${ECHO_T}$DEREZ" >&6
33177 echo "$as_me:$LINENO: result: no" >&5
33178 echo "${ECHO_T}no" >&6
33181 # Extract the first word of "SetFile", so it can be a program name with args.
33182 set dummy SetFile
; ac_word
=$2
33183 echo "$as_me:$LINENO: checking for $ac_word" >&5
33184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33185 if test "${ac_cv_prog_SETFILE+set}" = set; then
33186 echo $ECHO_N "(cached) $ECHO_C" >&6
33188 if test -n "$SETFILE"; then
33189 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33192 for as_dir
in $PATH
33195 test -z "$as_dir" && as_dir
=.
33196 for ac_exec_ext
in '' $ac_executable_extensions; do
33197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33198 ac_cv_prog_SETFILE
="SetFile"
33199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33205 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33208 SETFILE
=$ac_cv_prog_SETFILE
33209 if test -n "$SETFILE"; then
33210 echo "$as_me:$LINENO: result: $SETFILE" >&5
33211 echo "${ECHO_T}$SETFILE" >&6
33213 echo "$as_me:$LINENO: result: no" >&5
33214 echo "${ECHO_T}no" >&6
33218 MACSETFILE
="\$(SETFILE)"
33220 if test "$wxUSE_MAC" = 1; then
33221 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33223 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33225 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33226 RESCOMP
="echo -n \| $REZ"
33227 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33233 if test "$wxUSE_PM" = 1; then
33235 WXCONFIG_RESFLAGS
="-ep"
33237 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33239 POSTLINK_COMMAND
="@true"
33246 echo "$as_me:$LINENO: checking for mode_t" >&5
33247 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33248 if test "${ac_cv_type_mode_t+set}" = set; then
33249 echo $ECHO_N "(cached) $ECHO_C" >&6
33251 cat >conftest.
$ac_ext <<_ACEOF
33254 cat confdefs.h
>>conftest.
$ac_ext
33255 cat >>conftest.
$ac_ext <<_ACEOF
33256 /* end confdefs.h. */
33257 $ac_includes_default
33263 if (sizeof (mode_t))
33269 rm -f conftest.
$ac_objext
33270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33271 (eval $ac_compile) 2>conftest.er1
33273 grep -v '^ *+' conftest.er1
>conftest.err
33275 cat conftest.err
>&5
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); } &&
33278 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33280 (eval $ac_try) 2>&5
33282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283 (exit $ac_status); }; } &&
33284 { ac_try
='test -s conftest.$ac_objext'
33285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33286 (eval $ac_try) 2>&5
33288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289 (exit $ac_status); }; }; then
33290 ac_cv_type_mode_t
=yes
33292 echo "$as_me: failed program was:" >&5
33293 sed 's/^/| /' conftest.
$ac_ext >&5
33295 ac_cv_type_mode_t
=no
33297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33299 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33300 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33301 if test $ac_cv_type_mode_t = yes; then
33305 cat >>confdefs.h
<<_ACEOF
33311 echo "$as_me:$LINENO: checking for off_t" >&5
33312 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33313 if test "${ac_cv_type_off_t+set}" = set; then
33314 echo $ECHO_N "(cached) $ECHO_C" >&6
33316 cat >conftest.
$ac_ext <<_ACEOF
33319 cat confdefs.h
>>conftest.
$ac_ext
33320 cat >>conftest.
$ac_ext <<_ACEOF
33321 /* end confdefs.h. */
33322 $ac_includes_default
33328 if (sizeof (off_t))
33334 rm -f conftest.
$ac_objext
33335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33336 (eval $ac_compile) 2>conftest.er1
33338 grep -v '^ *+' conftest.er1
>conftest.err
33340 cat conftest.err
>&5
33341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342 (exit $ac_status); } &&
33343 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33345 (eval $ac_try) 2>&5
33347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33348 (exit $ac_status); }; } &&
33349 { ac_try
='test -s conftest.$ac_objext'
33350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33351 (eval $ac_try) 2>&5
33353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354 (exit $ac_status); }; }; then
33355 ac_cv_type_off_t
=yes
33357 echo "$as_me: failed program was:" >&5
33358 sed 's/^/| /' conftest.
$ac_ext >&5
33360 ac_cv_type_off_t
=no
33362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33364 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33365 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33366 if test $ac_cv_type_off_t = yes; then
33370 cat >>confdefs.h
<<_ACEOF
33376 echo "$as_me:$LINENO: checking for pid_t" >&5
33377 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33378 if test "${ac_cv_type_pid_t+set}" = set; then
33379 echo $ECHO_N "(cached) $ECHO_C" >&6
33381 cat >conftest.
$ac_ext <<_ACEOF
33384 cat confdefs.h
>>conftest.
$ac_ext
33385 cat >>conftest.
$ac_ext <<_ACEOF
33386 /* end confdefs.h. */
33387 $ac_includes_default
33393 if (sizeof (pid_t))
33399 rm -f conftest.
$ac_objext
33400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33401 (eval $ac_compile) 2>conftest.er1
33403 grep -v '^ *+' conftest.er1
>conftest.err
33405 cat conftest.err
>&5
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); } &&
33408 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; } &&
33414 { ac_try
='test -s conftest.$ac_objext'
33415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33416 (eval $ac_try) 2>&5
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); }; }; then
33420 ac_cv_type_pid_t
=yes
33422 echo "$as_me: failed program was:" >&5
33423 sed 's/^/| /' conftest.
$ac_ext >&5
33425 ac_cv_type_pid_t
=no
33427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33429 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33430 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33431 if test $ac_cv_type_pid_t = yes; then
33435 cat >>confdefs.h
<<_ACEOF
33441 echo "$as_me:$LINENO: checking for size_t" >&5
33442 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33443 if test "${ac_cv_type_size_t+set}" = set; then
33444 echo $ECHO_N "(cached) $ECHO_C" >&6
33446 cat >conftest.
$ac_ext <<_ACEOF
33449 cat confdefs.h
>>conftest.
$ac_ext
33450 cat >>conftest.
$ac_ext <<_ACEOF
33451 /* end confdefs.h. */
33452 $ac_includes_default
33458 if (sizeof (size_t))
33464 rm -f conftest.
$ac_objext
33465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33466 (eval $ac_compile) 2>conftest.er1
33468 grep -v '^ *+' conftest.er1
>conftest.err
33470 cat conftest.err
>&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); } &&
33473 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33475 (eval $ac_try) 2>&5
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); }; } &&
33479 { ac_try
='test -s conftest.$ac_objext'
33480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481 (eval $ac_try) 2>&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; }; then
33485 ac_cv_type_size_t
=yes
33487 echo "$as_me: failed program was:" >&5
33488 sed 's/^/| /' conftest.
$ac_ext >&5
33490 ac_cv_type_size_t
=no
33492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33494 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33495 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33496 if test $ac_cv_type_size_t = yes; then
33500 cat >>confdefs.h
<<_ACEOF
33501 #define size_t unsigned
33506 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33507 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33508 if test "${ac_cv_type_uid_t+set}" = set; then
33509 echo $ECHO_N "(cached) $ECHO_C" >&6
33511 cat >conftest.
$ac_ext <<_ACEOF
33514 cat confdefs.h
>>conftest.
$ac_ext
33515 cat >>conftest.
$ac_ext <<_ACEOF
33516 /* end confdefs.h. */
33517 #include <sys/types.h>
33520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33521 $EGREP "uid_t" >/dev
/null
2>&1; then
33522 ac_cv_type_uid_t
=yes
33524 ac_cv_type_uid_t
=no
33529 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33530 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33531 if test $ac_cv_type_uid_t = no
; then
33533 cat >>confdefs.h
<<\_ACEOF
33538 cat >>confdefs.h
<<\_ACEOF
33545 echo "$as_me:$LINENO: checking for ssize_t" >&5
33546 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33547 if test "${ac_cv_type_ssize_t+set}" = set; then
33548 echo $ECHO_N "(cached) $ECHO_C" >&6
33550 cat >conftest.
$ac_ext <<_ACEOF
33553 cat confdefs.h
>>conftest.
$ac_ext
33554 cat >>conftest.
$ac_ext <<_ACEOF
33555 /* end confdefs.h. */
33556 $ac_includes_default
33562 if (sizeof (ssize_t))
33568 rm -f conftest.
$ac_objext
33569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33570 (eval $ac_compile) 2>conftest.er1
33572 grep -v '^ *+' conftest.er1
>conftest.err
33574 cat conftest.err
>&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); } &&
33577 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33579 (eval $ac_try) 2>&5
33581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33582 (exit $ac_status); }; } &&
33583 { ac_try
='test -s conftest.$ac_objext'
33584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33585 (eval $ac_try) 2>&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); }; }; then
33589 ac_cv_type_ssize_t
=yes
33591 echo "$as_me: failed program was:" >&5
33592 sed 's/^/| /' conftest.
$ac_ext >&5
33594 ac_cv_type_ssize_t
=no
33596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33598 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33599 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33600 if test $ac_cv_type_ssize_t = yes; then
33602 cat >>confdefs.h
<<_ACEOF
33603 #define HAVE_SSIZE_T 1
33610 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33611 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33612 if test "${wx_cv_size_t_is_uint+set}" = set; then
33613 echo $ECHO_N "(cached) $ECHO_C" >&6
33616 cat >conftest.
$ac_ext <<_ACEOF
33619 cat confdefs.h
>>conftest.
$ac_ext
33620 cat >>conftest.
$ac_ext <<_ACEOF
33621 /* end confdefs.h. */
33622 #include <stddef.h>
33629 struct Foo { void foo(size_t); void foo(unsigned int); };
33637 rm -f conftest.
$ac_objext
33638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33639 (eval $ac_compile) 2>conftest.er1
33641 grep -v '^ *+' conftest.er1
>conftest.err
33643 cat conftest.err
>&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); } &&
33646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33648 (eval $ac_try) 2>&5
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); }; } &&
33652 { ac_try
='test -s conftest.$ac_objext'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; }; then
33658 wx_cv_size_t_is_uint
=no
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.
$ac_ext >&5
33663 wx_cv_size_t_is_uint
=yes
33666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33670 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33671 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33673 if test "$wx_cv_size_t_is_uint" = "yes"; then
33674 cat >>confdefs.h
<<\_ACEOF
33675 #define wxSIZE_T_IS_UINT 1
33679 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33680 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33681 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33682 echo $ECHO_N "(cached) $ECHO_C" >&6
33684 cat >conftest.
$ac_ext <<_ACEOF
33687 cat confdefs.h
>>conftest.
$ac_ext
33688 cat >>conftest.
$ac_ext <<_ACEOF
33689 /* end confdefs.h. */
33690 #include <stddef.h>
33697 struct Foo { void foo(size_t); void foo(unsigned long); };
33705 rm -f conftest.
$ac_objext
33706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33707 (eval $ac_compile) 2>conftest.er1
33709 grep -v '^ *+' conftest.er1
>conftest.err
33711 cat conftest.err
>&5
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); } &&
33714 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33716 (eval $ac_try) 2>&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); }; } &&
33720 { ac_try
='test -s conftest.$ac_objext'
33721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33722 (eval $ac_try) 2>&5
33724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725 (exit $ac_status); }; }; then
33726 wx_cv_size_t_is_ulong
=no
33728 echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.
$ac_ext >&5
33731 wx_cv_size_t_is_ulong
=yes
33734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33737 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33738 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33740 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33741 cat >>confdefs.h
<<\_ACEOF
33742 #define wxSIZE_T_IS_ULONG 1
33749 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33750 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33751 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33752 echo $ECHO_N "(cached) $ECHO_C" >&6
33755 cat >conftest.
$ac_ext <<_ACEOF
33758 cat confdefs.h
>>conftest.
$ac_ext
33759 cat >>conftest.
$ac_ext <<_ACEOF
33760 /* end confdefs.h. */
33774 rm -f conftest.
$ac_objext
33775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33776 (eval $ac_compile) 2>conftest.er1
33778 grep -v '^ *+' conftest.er1
>conftest.err
33780 cat conftest.err
>&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); } &&
33783 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33785 (eval $ac_try) 2>&5
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); }; } &&
33789 { ac_try
='test -s conftest.$ac_objext'
33790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33791 (eval $ac_try) 2>&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); }; }; then
33796 wx_cv_struct_pw_gecos
=yes
33799 echo "$as_me: failed program was:" >&5
33800 sed 's/^/| /' conftest.
$ac_ext >&5
33803 wx_cv_struct_pw_gecos
=no
33807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33811 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33812 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33814 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33815 cat >>confdefs.h
<<\_ACEOF
33816 #define HAVE_PW_GECOS 1
33822 if test "$wxUSE_WCHAR_T" = "yes"; then
33823 cat >>confdefs.h
<<\_ACEOF
33824 #define wxUSE_WCHAR_T 1
33831 for ac_func
in wcslen
33833 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33834 echo "$as_me:$LINENO: checking for $ac_func" >&5
33835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33836 if eval "test \"\${$as_ac_var+set}\" = set"; then
33837 echo $ECHO_N "(cached) $ECHO_C" >&6
33839 cat >conftest.
$ac_ext <<_ACEOF
33842 cat confdefs.h
>>conftest.
$ac_ext
33843 cat >>conftest.
$ac_ext <<_ACEOF
33844 /* end confdefs.h. */
33845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33847 #define $ac_func innocuous_$ac_func
33849 /* System header to define __stub macros and hopefully few prototypes,
33850 which can conflict with char $ac_func (); below.
33851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33852 <limits.h> exists even on freestanding compilers. */
33855 # include <limits.h>
33857 # include <assert.h>
33862 /* Override any gcc2 internal prototype to avoid an error. */
33867 /* We use char because int might match the return type of a gcc2
33868 builtin and then its argument prototype would still apply. */
33870 /* The GNU C library defines this for functions which it implements
33871 to always fail with ENOSYS. Some functions are actually named
33872 something starting with __ and the normal name is an alias. */
33873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33876 char (*f) () = $ac_func;
33885 return f != $ac_func;
33890 rm -f conftest.
$ac_objext conftest
$ac_exeext
33891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33892 (eval $ac_link) 2>conftest.er1
33894 grep -v '^ *+' conftest.er1
>conftest.err
33896 cat conftest.err
>&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); } &&
33899 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33901 (eval $ac_try) 2>&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); }; } &&
33905 { ac_try
='test -s conftest$ac_exeext'
33906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33907 (eval $ac_try) 2>&5
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; }; then
33911 eval "$as_ac_var=yes"
33913 echo "$as_me: failed program was:" >&5
33914 sed 's/^/| /' conftest.
$ac_ext >&5
33916 eval "$as_ac_var=no"
33918 rm -f conftest.err conftest.
$ac_objext \
33919 conftest
$ac_exeext conftest.
$ac_ext
33921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33923 if test `eval echo '${'$as_ac_var'}'` = yes; then
33924 cat >>confdefs.h
<<_ACEOF
33925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33932 if test "$WCSLEN_FOUND" = 0; then
33933 if test "$TOOLKIT" = "MSW"; then
33934 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33935 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33936 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33937 echo $ECHO_N "(cached) $ECHO_C" >&6
33939 ac_check_lib_save_LIBS
=$LIBS
33940 LIBS
="-lmsvcrt $LIBS"
33941 cat >conftest.
$ac_ext <<_ACEOF
33944 cat confdefs.h
>>conftest.
$ac_ext
33945 cat >>conftest.
$ac_ext <<_ACEOF
33946 /* end confdefs.h. */
33948 /* Override any gcc2 internal prototype to avoid an error. */
33952 /* We use char because int might match the return type of a gcc2
33953 builtin and then its argument prototype would still apply. */
33963 rm -f conftest.
$ac_objext conftest
$ac_exeext
33964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33965 (eval $ac_link) 2>conftest.er1
33967 grep -v '^ *+' conftest.er1
>conftest.err
33969 cat conftest.err
>&5
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); } &&
33972 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33974 (eval $ac_try) 2>&5
33976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33977 (exit $ac_status); }; } &&
33978 { ac_try
='test -s conftest$ac_exeext'
33979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33980 (eval $ac_try) 2>&5
33982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33983 (exit $ac_status); }; }; then
33984 ac_cv_lib_msvcrt_wcslen
=yes
33986 echo "$as_me: failed program was:" >&5
33987 sed 's/^/| /' conftest.
$ac_ext >&5
33989 ac_cv_lib_msvcrt_wcslen
=no
33991 rm -f conftest.err conftest.
$ac_objext \
33992 conftest
$ac_exeext conftest.
$ac_ext
33993 LIBS
=$ac_check_lib_save_LIBS
33995 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33996 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33997 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34002 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34003 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34004 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34005 echo $ECHO_N "(cached) $ECHO_C" >&6
34007 ac_check_lib_save_LIBS
=$LIBS
34009 cat >conftest.
$ac_ext <<_ACEOF
34012 cat confdefs.h
>>conftest.
$ac_ext
34013 cat >>conftest.
$ac_ext <<_ACEOF
34014 /* end confdefs.h. */
34016 /* Override any gcc2 internal prototype to avoid an error. */
34020 /* We use char because int might match the return type of a gcc2
34021 builtin and then its argument prototype would still apply. */
34031 rm -f conftest.
$ac_objext conftest
$ac_exeext
34032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34033 (eval $ac_link) 2>conftest.er1
34035 grep -v '^ *+' conftest.er1
>conftest.err
34037 cat conftest.err
>&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } &&
34040 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34042 (eval $ac_try) 2>&5
34044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34045 (exit $ac_status); }; } &&
34046 { ac_try
='test -s conftest$ac_exeext'
34047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34048 (eval $ac_try) 2>&5
34050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051 (exit $ac_status); }; }; then
34052 ac_cv_lib_w_wcslen
=yes
34054 echo "$as_me: failed program was:" >&5
34055 sed 's/^/| /' conftest.
$ac_ext >&5
34057 ac_cv_lib_w_wcslen
=no
34059 rm -f conftest.err conftest.
$ac_objext \
34060 conftest
$ac_exeext conftest.
$ac_ext
34061 LIBS
=$ac_check_lib_save_LIBS
34063 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34064 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34065 if test $ac_cv_lib_w_wcslen = yes; then
34075 if test "$WCSLEN_FOUND" = 1; then
34076 cat >>confdefs.h
<<\_ACEOF
34077 #define HAVE_WCSLEN 1
34082 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34083 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34086 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34087 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34088 if test "${ac_cv_type_mbstate_t+set}" = set; then
34089 echo $ECHO_N "(cached) $ECHO_C" >&6
34091 cat >conftest.
$ac_ext <<_ACEOF
34094 cat confdefs.h
>>conftest.
$ac_ext
34095 cat >>conftest.
$ac_ext <<_ACEOF
34096 /* end confdefs.h. */
34102 if ((mbstate_t *) 0)
34104 if (sizeof (mbstate_t))
34110 rm -f conftest.
$ac_objext
34111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34112 (eval $ac_compile) 2>conftest.er1
34114 grep -v '^ *+' conftest.er1
>conftest.err
34116 cat conftest.err
>&5
34117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34118 (exit $ac_status); } &&
34119 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34121 (eval $ac_try) 2>&5
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); }; } &&
34125 { ac_try
='test -s conftest.$ac_objext'
34126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34127 (eval $ac_try) 2>&5
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); }; }; then
34131 ac_cv_type_mbstate_t
=yes
34133 echo "$as_me: failed program was:" >&5
34134 sed 's/^/| /' conftest.
$ac_ext >&5
34136 ac_cv_type_mbstate_t
=no
34138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34140 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34141 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34142 if test $ac_cv_type_mbstate_t = yes; then
34144 cat >>confdefs.h
<<_ACEOF
34145 #define HAVE_MBSTATE_T 1
34149 for ac_func
in wcsrtombs
34151 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34152 echo "$as_me:$LINENO: checking for $ac_func" >&5
34153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34154 if eval "test \"\${$as_ac_var+set}\" = set"; then
34155 echo $ECHO_N "(cached) $ECHO_C" >&6
34157 cat >conftest.
$ac_ext <<_ACEOF
34160 cat confdefs.h
>>conftest.
$ac_ext
34161 cat >>conftest.
$ac_ext <<_ACEOF
34162 /* end confdefs.h. */
34163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34165 #define $ac_func innocuous_$ac_func
34167 /* System header to define __stub macros and hopefully few prototypes,
34168 which can conflict with char $ac_func (); below.
34169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34170 <limits.h> exists even on freestanding compilers. */
34173 # include <limits.h>
34175 # include <assert.h>
34180 /* Override any gcc2 internal prototype to avoid an error. */
34185 /* We use char because int might match the return type of a gcc2
34186 builtin and then its argument prototype would still apply. */
34188 /* The GNU C library defines this for functions which it implements
34189 to always fail with ENOSYS. Some functions are actually named
34190 something starting with __ and the normal name is an alias. */
34191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34194 char (*f) () = $ac_func;
34203 return f != $ac_func;
34208 rm -f conftest.
$ac_objext conftest
$ac_exeext
34209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34210 (eval $ac_link) 2>conftest.er1
34212 grep -v '^ *+' conftest.er1
>conftest.err
34214 cat conftest.err
>&5
34215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 (exit $ac_status); } &&
34217 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34219 (eval $ac_try) 2>&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); }; } &&
34223 { ac_try
='test -s conftest$ac_exeext'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; }; then
34229 eval "$as_ac_var=yes"
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.
$ac_ext >&5
34234 eval "$as_ac_var=no"
34236 rm -f conftest.err conftest.
$ac_objext \
34237 conftest
$ac_exeext conftest.
$ac_ext
34239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34241 if test `eval echo '${'$as_ac_var'}'` = yes; then
34242 cat >>confdefs.h
<<_ACEOF
34243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34252 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34253 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34258 for ac_func
in snprintf vsnprintf
34260 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34261 echo "$as_me:$LINENO: checking for $ac_func" >&5
34262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34263 if eval "test \"\${$as_ac_var+set}\" = set"; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34266 cat >conftest.
$ac_ext <<_ACEOF
34269 cat confdefs.h
>>conftest.
$ac_ext
34270 cat >>conftest.
$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34274 #define $ac_func innocuous_$ac_func
34276 /* System header to define __stub macros and hopefully few prototypes,
34277 which can conflict with char $ac_func (); below.
34278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34279 <limits.h> exists even on freestanding compilers. */
34282 # include <limits.h>
34284 # include <assert.h>
34289 /* Override any gcc2 internal prototype to avoid an error. */
34294 /* We use char because int might match the return type of a gcc2
34295 builtin and then its argument prototype would still apply. */
34297 /* The GNU C library defines this for functions which it implements
34298 to always fail with ENOSYS. Some functions are actually named
34299 something starting with __ and the normal name is an alias. */
34300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34303 char (*f) () = $ac_func;
34312 return f != $ac_func;
34317 rm -f conftest.
$ac_objext conftest
$ac_exeext
34318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34319 (eval $ac_link) 2>conftest.er1
34321 grep -v '^ *+' conftest.er1
>conftest.err
34323 cat conftest.err
>&5
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); } &&
34326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34328 (eval $ac_try) 2>&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); }; } &&
34332 { ac_try
='test -s conftest$ac_exeext'
34333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34334 (eval $ac_try) 2>&5
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); }; }; then
34338 eval "$as_ac_var=yes"
34340 echo "$as_me: failed program was:" >&5
34341 sed 's/^/| /' conftest.
$ac_ext >&5
34343 eval "$as_ac_var=no"
34345 rm -f conftest.err conftest.
$ac_objext \
34346 conftest
$ac_exeext conftest.
$ac_ext
34348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34350 if test `eval echo '${'$as_ac_var'}'` = yes; then
34351 cat >>confdefs.h
<<_ACEOF
34352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34359 if test "$ac_cv_func_vsnprintf" = "yes"; then
34360 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34361 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34362 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34363 echo $ECHO_N "(cached) $ECHO_C" >&6
34366 cat >conftest.
$ac_ext <<_ACEOF
34369 cat confdefs.h
>>conftest.
$ac_ext
34370 cat >>conftest.
$ac_ext <<_ACEOF
34371 /* end confdefs.h. */
34374 #include <stdarg.h>
34376 #if __MSL__ >= 0x6000
34378 using namespace std;
34388 vsnprintf(buf, 10u, "%s", ap);
34394 rm -f conftest.
$ac_objext
34395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34396 (eval $ac_compile) 2>conftest.er1
34398 grep -v '^ *+' conftest.er1
>conftest.err
34400 cat conftest.err
>&5
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); } &&
34403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34405 (eval $ac_try) 2>&5
34407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34408 (exit $ac_status); }; } &&
34409 { ac_try
='test -s conftest.$ac_objext'
34410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34411 (eval $ac_try) 2>&5
34413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34414 (exit $ac_status); }; }; then
34415 wx_cv_func_vsnprintf_decl
=yes
34417 echo "$as_me: failed program was:" >&5
34418 sed 's/^/| /' conftest.
$ac_ext >&5
34420 wx_cv_func_vsnprintf_decl
=no
34423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34427 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34428 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34430 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34431 cat >>confdefs.h
<<\_ACEOF
34432 #define HAVE_VSNPRINTF_DECL 1
34436 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34437 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34438 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34439 echo $ECHO_N "(cached) $ECHO_C" >&6
34442 cat >conftest.
$ac_ext <<_ACEOF
34445 cat confdefs.h
>>conftest.
$ac_ext
34446 cat >>conftest.
$ac_ext <<_ACEOF
34447 /* end confdefs.h. */
34450 #include <stdarg.h>
34452 #if __MSL__ >= 0x6000
34454 using namespace std;
34464 const char *fmt = "%s";
34465 vsnprintf(buf, 10u, fmt, ap);
34471 rm -f conftest.
$ac_objext
34472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34473 (eval $ac_compile) 2>conftest.er1
34475 grep -v '^ *+' conftest.er1
>conftest.err
34477 cat conftest.err
>&5
34478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34479 (exit $ac_status); } &&
34480 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34482 (eval $ac_try) 2>&5
34484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34485 (exit $ac_status); }; } &&
34486 { ac_try
='test -s conftest.$ac_objext'
34487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34488 (eval $ac_try) 2>&5
34490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34491 (exit $ac_status); }; }; then
34492 wx_cv_func_broken_vsnprintf_decl
=no
34494 echo "$as_me: failed program was:" >&5
34495 sed 's/^/| /' conftest.
$ac_ext >&5
34497 wx_cv_func_broken_vsnprintf_decl
=yes
34500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34504 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34505 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34507 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34508 cat >>confdefs.h
<<\_ACEOF
34509 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34516 if test "$ac_cv_func_snprintf" = "yes"; then
34517 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34518 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34519 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34520 echo $ECHO_N "(cached) $ECHO_C" >&6
34523 cat >conftest.
$ac_ext <<_ACEOF
34526 cat confdefs.h
>>conftest.
$ac_ext
34527 cat >>conftest.
$ac_ext <<_ACEOF
34528 /* end confdefs.h. */
34531 #include <stdarg.h>
34533 #if __MSL__ >= 0x6000
34535 using namespace std;
34544 snprintf(buf, 10u, "%s", "wx");
34550 rm -f conftest.
$ac_objext
34551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34552 (eval $ac_compile) 2>conftest.er1
34554 grep -v '^ *+' conftest.er1
>conftest.err
34556 cat conftest.err
>&5
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); } &&
34559 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
34565 { ac_try
='test -s conftest.$ac_objext'
34566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34567 (eval $ac_try) 2>&5
34569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34570 (exit $ac_status); }; }; then
34571 wx_cv_func_snprintf_decl
=yes
34573 echo "$as_me: failed program was:" >&5
34574 sed 's/^/| /' conftest.
$ac_ext >&5
34576 wx_cv_func_snprintf_decl
=no
34579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34583 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34584 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34586 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34587 cat >>confdefs.h
<<\_ACEOF
34588 #define HAVE_SNPRINTF_DECL 1
34592 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34593 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34594 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34595 echo $ECHO_N "(cached) $ECHO_C" >&6
34598 cat >conftest.
$ac_ext <<_ACEOF
34601 cat confdefs.h
>>conftest.
$ac_ext
34602 cat >>conftest.
$ac_ext <<_ACEOF
34603 /* end confdefs.h. */
34606 #include <stdarg.h>
34608 #if __MSL__ >= 0x6000
34610 using namespace std;
34619 const char *fmt = "%s";
34620 snprintf(buf, 10u, fmt, "wx");
34626 rm -f conftest.
$ac_objext
34627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34628 (eval $ac_compile) 2>conftest.er1
34630 grep -v '^ *+' conftest.er1
>conftest.err
34632 cat conftest.err
>&5
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); } &&
34635 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34637 (eval $ac_try) 2>&5
34639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640 (exit $ac_status); }; } &&
34641 { ac_try
='test -s conftest.$ac_objext'
34642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34643 (eval $ac_try) 2>&5
34645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646 (exit $ac_status); }; }; then
34647 wx_cv_func_broken_snprintf_decl
=no
34649 echo "$as_me: failed program was:" >&5
34650 sed 's/^/| /' conftest.
$ac_ext >&5
34652 wx_cv_func_broken_snprintf_decl
=yes
34655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34659 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34660 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34662 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34663 cat >>confdefs.h
<<\_ACEOF
34664 #define HAVE_BROKEN_SNPRINTF_DECL 1
34670 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34672 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34673 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
34674 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34675 echo $ECHO_N "(cached) $ECHO_C" >&6
34678 if test "$cross_compiling" = yes; then
34679 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
34680 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
34681 { (exit 1); exit 1; }; }
34683 cat >conftest.
$ac_ext <<_ACEOF
34686 cat confdefs.h
>>conftest.
$ac_ext
34687 cat >>conftest.
$ac_ext <<_ACEOF
34688 /* end confdefs.h. */
34695 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
34696 if (strcmp ("2 3 1", buffer) == 0)
34702 rm -f conftest
$ac_exeext
34703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34704 (eval $ac_link) 2>&5
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34709 (eval $ac_try) 2>&5
34711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34712 (exit $ac_status); }; }; then
34713 wx_cv_func_snprintf_pos_params
=no
34715 echo "$as_me: program exited with status $ac_status" >&5
34716 echo "$as_me: failed program was:" >&5
34717 sed 's/^/| /' conftest.
$ac_ext >&5
34719 ( exit $ac_status )
34720 wx_cv_func_snprintf_pos_params
=yes
34723 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34728 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34729 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34731 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34732 cat >>confdefs.h
<<\_ACEOF
34733 #define HAVE_UNIX98_PRINTF 1
34741 if test "$wxUSE_UNICODE" = yes; then
34748 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
34750 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34751 echo "$as_me:$LINENO: checking for $ac_func" >&5
34752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34753 if eval "test \"\${$as_ac_var+set}\" = set"; then
34754 echo $ECHO_N "(cached) $ECHO_C" >&6
34756 cat >conftest.
$ac_ext <<_ACEOF
34759 cat confdefs.h
>>conftest.
$ac_ext
34760 cat >>conftest.
$ac_ext <<_ACEOF
34761 /* end confdefs.h. */
34762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34764 #define $ac_func innocuous_$ac_func
34766 /* System header to define __stub macros and hopefully few prototypes,
34767 which can conflict with char $ac_func (); below.
34768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34769 <limits.h> exists even on freestanding compilers. */
34772 # include <limits.h>
34774 # include <assert.h>
34779 /* Override any gcc2 internal prototype to avoid an error. */
34784 /* We use char because int might match the return type of a gcc2
34785 builtin and then its argument prototype would still apply. */
34787 /* The GNU C library defines this for functions which it implements
34788 to always fail with ENOSYS. Some functions are actually named
34789 something starting with __ and the normal name is an alias. */
34790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34793 char (*f) () = $ac_func;
34802 return f != $ac_func;
34807 rm -f conftest.
$ac_objext conftest
$ac_exeext
34808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34809 (eval $ac_link) 2>conftest.er1
34811 grep -v '^ *+' conftest.er1
>conftest.err
34813 cat conftest.err
>&5
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); } &&
34816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34818 (eval $ac_try) 2>&5
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); }; } &&
34822 { ac_try
='test -s conftest$ac_exeext'
34823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34824 (eval $ac_try) 2>&5
34826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827 (exit $ac_status); }; }; then
34828 eval "$as_ac_var=yes"
34830 echo "$as_me: failed program was:" >&5
34831 sed 's/^/| /' conftest.
$ac_ext >&5
34833 eval "$as_ac_var=no"
34835 rm -f conftest.err conftest.
$ac_objext \
34836 conftest
$ac_exeext conftest.
$ac_ext
34838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34840 if test `eval echo '${'$as_ac_var'}'` = yes; then
34841 cat >>confdefs.h
<<_ACEOF
34842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34849 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34850 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34851 cat >conftest.
$ac_ext <<_ACEOF
34854 cat confdefs.h
>>conftest.
$ac_ext
34855 cat >>conftest.
$ac_ext <<_ACEOF
34856 /* end confdefs.h. */
34866 rm -f conftest.
$ac_objext
34867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34868 (eval $ac_compile) 2>conftest.er1
34870 grep -v '^ *+' conftest.er1
>conftest.err
34872 cat conftest.err
>&5
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); } &&
34875 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34877 (eval $ac_try) 2>&5
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); }; } &&
34881 { ac_try
='test -s conftest.$ac_objext'
34882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34883 (eval $ac_try) 2>&5
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); }; }; then
34887 echo "$as_me:$LINENO: result: yes" >&5
34888 echo "${ECHO_T}yes" >&6
34889 cat >>confdefs.h
<<\_ACEOF
34890 #define HAVE__VSNWPRINTF 1
34894 echo "$as_me: failed program was:" >&5
34895 sed 's/^/| /' conftest.
$ac_ext >&5
34897 echo "$as_me:$LINENO: result: no" >&5
34898 echo "${ECHO_T}no" >&6
34900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34903 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34905 for ac_func
in fnmatch
34907 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34908 echo "$as_me:$LINENO: checking for $ac_func" >&5
34909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34910 if eval "test \"\${$as_ac_var+set}\" = set"; then
34911 echo $ECHO_N "(cached) $ECHO_C" >&6
34913 cat >conftest.
$ac_ext <<_ACEOF
34916 cat confdefs.h
>>conftest.
$ac_ext
34917 cat >>conftest.
$ac_ext <<_ACEOF
34918 /* end confdefs.h. */
34919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34921 #define $ac_func innocuous_$ac_func
34923 /* System header to define __stub macros and hopefully few prototypes,
34924 which can conflict with char $ac_func (); below.
34925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34926 <limits.h> exists even on freestanding compilers. */
34929 # include <limits.h>
34931 # include <assert.h>
34936 /* Override any gcc2 internal prototype to avoid an error. */
34941 /* We use char because int might match the return type of a gcc2
34942 builtin and then its argument prototype would still apply. */
34944 /* The GNU C library defines this for functions which it implements
34945 to always fail with ENOSYS. Some functions are actually named
34946 something starting with __ and the normal name is an alias. */
34947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34950 char (*f) () = $ac_func;
34959 return f != $ac_func;
34964 rm -f conftest.
$ac_objext conftest
$ac_exeext
34965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34966 (eval $ac_link) 2>conftest.er1
34968 grep -v '^ *+' conftest.er1
>conftest.err
34970 cat conftest.err
>&5
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); } &&
34973 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34975 (eval $ac_try) 2>&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); }; } &&
34979 { ac_try
='test -s conftest$ac_exeext'
34980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34981 (eval $ac_try) 2>&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); }; }; then
34985 eval "$as_ac_var=yes"
34987 echo "$as_me: failed program was:" >&5
34988 sed 's/^/| /' conftest.
$ac_ext >&5
34990 eval "$as_ac_var=no"
34992 rm -f conftest.err conftest.
$ac_objext \
34993 conftest
$ac_exeext conftest.
$ac_ext
34995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34997 if test `eval echo '${'$as_ac_var'}'` = yes; then
34998 cat >>confdefs.h
<<_ACEOF
34999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35007 if test "$wxUSE_FILE" = "yes"; then
35009 for ac_func
in fsync
35011 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35012 echo "$as_me:$LINENO: checking for $ac_func" >&5
35013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35014 if eval "test \"\${$as_ac_var+set}\" = set"; then
35015 echo $ECHO_N "(cached) $ECHO_C" >&6
35017 cat >conftest.
$ac_ext <<_ACEOF
35020 cat confdefs.h
>>conftest.
$ac_ext
35021 cat >>conftest.
$ac_ext <<_ACEOF
35022 /* end confdefs.h. */
35023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35025 #define $ac_func innocuous_$ac_func
35027 /* System header to define __stub macros and hopefully few prototypes,
35028 which can conflict with char $ac_func (); below.
35029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35030 <limits.h> exists even on freestanding compilers. */
35033 # include <limits.h>
35035 # include <assert.h>
35040 /* Override any gcc2 internal prototype to avoid an error. */
35045 /* We use char because int might match the return type of a gcc2
35046 builtin and then its argument prototype would still apply. */
35048 /* The GNU C library defines this for functions which it implements
35049 to always fail with ENOSYS. Some functions are actually named
35050 something starting with __ and the normal name is an alias. */
35051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35054 char (*f) () = $ac_func;
35063 return f != $ac_func;
35068 rm -f conftest.
$ac_objext conftest
$ac_exeext
35069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35070 (eval $ac_link) 2>conftest.er1
35072 grep -v '^ *+' conftest.er1
>conftest.err
35074 cat conftest.err
>&5
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); } &&
35077 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35079 (eval $ac_try) 2>&5
35081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35082 (exit $ac_status); }; } &&
35083 { ac_try
='test -s conftest$ac_exeext'
35084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35085 (eval $ac_try) 2>&5
35087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088 (exit $ac_status); }; }; then
35089 eval "$as_ac_var=yes"
35091 echo "$as_me: failed program was:" >&5
35092 sed 's/^/| /' conftest.
$ac_ext >&5
35094 eval "$as_ac_var=no"
35096 rm -f conftest.err conftest.
$ac_objext \
35097 conftest
$ac_exeext conftest.
$ac_ext
35099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35101 if test `eval echo '${'$as_ac_var'}'` = yes; then
35102 cat >>confdefs.h
<<_ACEOF
35103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35112 for ac_func
in round
35114 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35115 echo "$as_me:$LINENO: checking for $ac_func" >&5
35116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35117 if eval "test \"\${$as_ac_var+set}\" = set"; then
35118 echo $ECHO_N "(cached) $ECHO_C" >&6
35120 cat >conftest.
$ac_ext <<_ACEOF
35123 cat confdefs.h
>>conftest.
$ac_ext
35124 cat >>conftest.
$ac_ext <<_ACEOF
35125 /* end confdefs.h. */
35126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35128 #define $ac_func innocuous_$ac_func
35130 /* System header to define __stub macros and hopefully few prototypes,
35131 which can conflict with char $ac_func (); below.
35132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35133 <limits.h> exists even on freestanding compilers. */
35136 # include <limits.h>
35138 # include <assert.h>
35143 /* Override any gcc2 internal prototype to avoid an error. */
35148 /* We use char because int might match the return type of a gcc2
35149 builtin and then its argument prototype would still apply. */
35151 /* The GNU C library defines this for functions which it implements
35152 to always fail with ENOSYS. Some functions are actually named
35153 something starting with __ and the normal name is an alias. */
35154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35157 char (*f) () = $ac_func;
35166 return f != $ac_func;
35171 rm -f conftest.
$ac_objext conftest
$ac_exeext
35172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35173 (eval $ac_link) 2>conftest.er1
35175 grep -v '^ *+' conftest.er1
>conftest.err
35177 cat conftest.err
>&5
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); } &&
35180 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35182 (eval $ac_try) 2>&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); }; } &&
35186 { ac_try
='test -s conftest$ac_exeext'
35187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188 (eval $ac_try) 2>&5
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); }; }; then
35192 eval "$as_ac_var=yes"
35194 echo "$as_me: failed program was:" >&5
35195 sed 's/^/| /' conftest.
$ac_ext >&5
35197 eval "$as_ac_var=no"
35199 rm -f conftest.err conftest.
$ac_objext \
35200 conftest
$ac_exeext conftest.
$ac_ext
35202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35204 if test `eval echo '${'$as_ac_var'}'` = yes; then
35205 cat >>confdefs.h
<<_ACEOF
35206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35212 if test "$ac_cv_func_round" = yes; then
35213 echo "$as_me:$LINENO: checking whether round is declared" >&5
35214 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35215 if test "${ac_cv_have_decl_round+set}" = set; then
35216 echo $ECHO_N "(cached) $ECHO_C" >&6
35218 cat >conftest.
$ac_ext <<_ACEOF
35221 cat confdefs.h
>>conftest.
$ac_ext
35222 cat >>conftest.
$ac_ext <<_ACEOF
35223 /* end confdefs.h. */
35230 char *p = (char *) round;
35237 rm -f conftest.
$ac_objext
35238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35239 (eval $ac_compile) 2>conftest.er1
35241 grep -v '^ *+' conftest.er1
>conftest.err
35243 cat conftest.err
>&5
35244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35245 (exit $ac_status); } &&
35246 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35248 (eval $ac_try) 2>&5
35250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35251 (exit $ac_status); }; } &&
35252 { ac_try
='test -s conftest.$ac_objext'
35253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35254 (eval $ac_try) 2>&5
35256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35257 (exit $ac_status); }; }; then
35258 ac_cv_have_decl_round
=yes
35260 echo "$as_me: failed program was:" >&5
35261 sed 's/^/| /' conftest.
$ac_ext >&5
35263 ac_cv_have_decl_round
=no
35265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35267 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35268 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35269 if test $ac_cv_have_decl_round = yes; then
35271 cat >>confdefs.h
<<_ACEOF
35272 #define HAVE_DECL_ROUND 1
35277 cat >>confdefs.h
<<_ACEOF
35278 #define HAVE_DECL_ROUND 0
35288 if test "$TOOLKIT" != "MSW"; then
35294 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35295 if test "${with_libiconv_prefix+set}" = set; then
35296 withval
="$with_libiconv_prefix"
35298 for dir
in `echo "$withval" | tr : ' '`; do
35299 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35300 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35305 echo "$as_me:$LINENO: checking for iconv" >&5
35306 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35307 if test "${am_cv_func_iconv+set}" = set; then
35308 echo $ECHO_N "(cached) $ECHO_C" >&6
35311 am_cv_func_iconv
="no, consider installing GNU libiconv"
35313 cat >conftest.
$ac_ext <<_ACEOF
35316 cat confdefs.h
>>conftest.
$ac_ext
35317 cat >>conftest.
$ac_ext <<_ACEOF
35318 /* end confdefs.h. */
35319 #include <stdlib.h>
35324 iconv_t cd = iconv_open("","");
35325 iconv(cd,NULL,NULL,NULL,NULL);
35331 rm -f conftest.
$ac_objext conftest
$ac_exeext
35332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35333 (eval $ac_link) 2>conftest.er1
35335 grep -v '^ *+' conftest.er1
>conftest.err
35337 cat conftest.err
>&5
35338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339 (exit $ac_status); } &&
35340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35342 (eval $ac_try) 2>&5
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); }; } &&
35346 { ac_try
='test -s conftest$ac_exeext'
35347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35348 (eval $ac_try) 2>&5
35350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351 (exit $ac_status); }; }; then
35352 am_cv_func_iconv
=yes
35354 echo "$as_me: failed program was:" >&5
35355 sed 's/^/| /' conftest.
$ac_ext >&5
35358 rm -f conftest.err conftest.
$ac_objext \
35359 conftest
$ac_exeext conftest.
$ac_ext
35360 if test "$am_cv_func_iconv" != yes; then
35361 am_save_LIBS
="$LIBS"
35362 LIBS
="$LIBS -liconv"
35363 cat >conftest.
$ac_ext <<_ACEOF
35366 cat confdefs.h
>>conftest.
$ac_ext
35367 cat >>conftest.
$ac_ext <<_ACEOF
35368 /* end confdefs.h. */
35369 #include <stdlib.h>
35374 iconv_t cd = iconv_open("","");
35375 iconv(cd,NULL,NULL,NULL,NULL);
35381 rm -f conftest.
$ac_objext conftest
$ac_exeext
35382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35383 (eval $ac_link) 2>conftest.er1
35385 grep -v '^ *+' conftest.er1
>conftest.err
35387 cat conftest.err
>&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); } &&
35390 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392 (eval $ac_try) 2>&5
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); }; } &&
35396 { ac_try
='test -s conftest$ac_exeext'
35397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35398 (eval $ac_try) 2>&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); }; }; then
35402 am_cv_lib_iconv
=yes
35403 am_cv_func_iconv
=yes
35405 echo "$as_me: failed program was:" >&5
35406 sed 's/^/| /' conftest.
$ac_ext >&5
35409 rm -f conftest.err conftest.
$ac_objext \
35410 conftest
$ac_exeext conftest.
$ac_ext
35411 LIBS
="$am_save_LIBS"
35415 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35416 echo "${ECHO_T}$am_cv_func_iconv" >&6
35417 if test "$am_cv_func_iconv" = yes; then
35419 cat >>confdefs.h
<<\_ACEOF
35420 #define HAVE_ICONV 1
35423 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35424 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35425 if test "${wx_cv_func_iconv_const+set}" = set; then
35426 echo $ECHO_N "(cached) $ECHO_C" >&6
35428 cat >conftest.
$ac_ext <<_ACEOF
35431 cat confdefs.h
>>conftest.
$ac_ext
35432 cat >>conftest.
$ac_ext <<_ACEOF
35433 /* end confdefs.h. */
35435 #include <stdlib.h>
35441 #if defined(__STDC__) || defined(__cplusplus)
35442 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35455 rm -f conftest.
$ac_objext
35456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35457 (eval $ac_compile) 2>conftest.er1
35459 grep -v '^ *+' conftest.er1
>conftest.err
35461 cat conftest.err
>&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); } &&
35464 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35466 (eval $ac_try) 2>&5
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); }; } &&
35470 { ac_try
='test -s conftest.$ac_objext'
35471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35472 (eval $ac_try) 2>&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); }; }; then
35476 wx_cv_func_iconv_const
="no"
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.
$ac_ext >&5
35481 wx_cv_func_iconv_const
="yes"
35484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35487 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35488 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
35491 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35492 iconv_const
="const"
35496 cat >>confdefs.h
<<_ACEOF
35497 #define ICONV_CONST $iconv_const
35502 if test "$am_cv_lib_iconv" = yes; then
35507 LIBS
="$LIBICONV $LIBS"
35509 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35511 for ac_func
in sigaction
35513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35514 echo "$as_me:$LINENO: checking for $ac_func" >&5
35515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35516 if eval "test \"\${$as_ac_var+set}\" = set"; then
35517 echo $ECHO_N "(cached) $ECHO_C" >&6
35519 cat >conftest.
$ac_ext <<_ACEOF
35522 cat confdefs.h
>>conftest.
$ac_ext
35523 cat >>conftest.
$ac_ext <<_ACEOF
35524 /* end confdefs.h. */
35525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35527 #define $ac_func innocuous_$ac_func
35529 /* System header to define __stub macros and hopefully few prototypes,
35530 which can conflict with char $ac_func (); below.
35531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35532 <limits.h> exists even on freestanding compilers. */
35535 # include <limits.h>
35537 # include <assert.h>
35542 /* Override any gcc2 internal prototype to avoid an error. */
35547 /* We use char because int might match the return type of a gcc2
35548 builtin and then its argument prototype would still apply. */
35550 /* The GNU C library defines this for functions which it implements
35551 to always fail with ENOSYS. Some functions are actually named
35552 something starting with __ and the normal name is an alias. */
35553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35556 char (*f) () = $ac_func;
35565 return f != $ac_func;
35570 rm -f conftest.
$ac_objext conftest
$ac_exeext
35571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35572 (eval $ac_link) 2>conftest.er1
35574 grep -v '^ *+' conftest.er1
>conftest.err
35576 cat conftest.err
>&5
35577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35578 (exit $ac_status); } &&
35579 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35581 (eval $ac_try) 2>&5
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); }; } &&
35585 { ac_try
='test -s conftest$ac_exeext'
35586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35587 (eval $ac_try) 2>&5
35589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35590 (exit $ac_status); }; }; then
35591 eval "$as_ac_var=yes"
35593 echo "$as_me: failed program was:" >&5
35594 sed 's/^/| /' conftest.
$ac_ext >&5
35596 eval "$as_ac_var=no"
35598 rm -f conftest.err conftest.
$ac_objext \
35599 conftest
$ac_exeext conftest.
$ac_ext
35601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35603 if test `eval echo '${'$as_ac_var'}'` = yes; then
35604 cat >>confdefs.h
<<_ACEOF
35605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35612 if test "$ac_cv_func_sigaction" = "no"; then
35613 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35614 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35615 wxUSE_ON_FATAL_EXCEPTION
=no
35618 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35619 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35620 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35621 if test "${wx_cv_type_sa_handler+set}" = set; then
35622 echo $ECHO_N "(cached) $ECHO_C" >&6
35625 cat >conftest.
$ac_ext <<_ACEOF
35628 cat confdefs.h
>>conftest.
$ac_ext
35629 cat >>conftest.
$ac_ext <<_ACEOF
35630 /* end confdefs.h. */
35631 #include <signal.h>
35636 extern void testSigHandler(int);
35638 struct sigaction sa;
35639 sa.sa_handler = testSigHandler;
35645 rm -f conftest.
$ac_objext
35646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35647 (eval $ac_compile) 2>conftest.er1
35649 grep -v '^ *+' conftest.er1
>conftest.err
35651 cat conftest.err
>&5
35652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35653 (exit $ac_status); } &&
35654 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35656 (eval $ac_try) 2>&5
35658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35659 (exit $ac_status); }; } &&
35660 { ac_try
='test -s conftest.$ac_objext'
35661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35662 (eval $ac_try) 2>&5
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); }; }; then
35667 wx_cv_type_sa_handler
=int
35670 echo "$as_me: failed program was:" >&5
35671 sed 's/^/| /' conftest.
$ac_ext >&5
35674 wx_cv_type_sa_handler
=void
35677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35680 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35681 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35683 cat >>confdefs.h
<<_ACEOF
35684 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35690 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35691 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35692 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35693 if test "${wx_cv_func_backtrace+set}" = set; then
35694 echo $ECHO_N "(cached) $ECHO_C" >&6
35697 cat >conftest.
$ac_ext <<_ACEOF
35700 cat confdefs.h
>>conftest.
$ac_ext
35701 cat >>conftest.
$ac_ext <<_ACEOF
35702 /* end confdefs.h. */
35703 #include <execinfo.h>
35711 backtrace(trace, 1);
35712 messages = backtrace_symbols(trace, 1);
35718 rm -f conftest.
$ac_objext
35719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35720 (eval $ac_compile) 2>conftest.er1
35722 grep -v '^ *+' conftest.er1
>conftest.err
35724 cat conftest.err
>&5
35725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35726 (exit $ac_status); } &&
35727 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35729 (eval $ac_try) 2>&5
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); }; } &&
35733 { ac_try
='test -s conftest.$ac_objext'
35734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35735 (eval $ac_try) 2>&5
35737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738 (exit $ac_status); }; }; then
35739 wx_cv_func_backtrace
=yes
35741 echo "$as_me: failed program was:" >&5
35742 sed 's/^/| /' conftest.
$ac_ext >&5
35744 wx_cv_func_backtrace
=no
35747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35751 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35752 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35755 if test "$wx_cv_func_backtrace" = "no"; then
35756 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35757 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35758 wxUSE_STACKWALKER
=no
35760 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35761 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35762 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35763 echo $ECHO_N "(cached) $ECHO_C" >&6
35766 cat >conftest.
$ac_ext <<_ACEOF
35769 cat confdefs.h
>>conftest.
$ac_ext
35770 cat >>conftest.
$ac_ext <<_ACEOF
35771 /* end confdefs.h. */
35772 #include <cxxabi.h>
35778 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35784 rm -f conftest.
$ac_objext conftest
$ac_exeext
35785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35786 (eval $ac_link) 2>conftest.er1
35788 grep -v '^ *+' conftest.er1
>conftest.err
35790 cat conftest.err
>&5
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); } &&
35793 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35795 (eval $ac_try) 2>&5
35797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35798 (exit $ac_status); }; } &&
35799 { ac_try
='test -s conftest$ac_exeext'
35800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35801 (eval $ac_try) 2>&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); }; }; then
35805 wx_cv_func_cxa_demangle
=yes
35807 echo "$as_me: failed program was:" >&5
35808 sed 's/^/| /' conftest.
$ac_ext >&5
35810 wx_cv_func_cxa_demangle
=no
35813 rm -f conftest.err conftest.
$ac_objext \
35814 conftest
$ac_exeext conftest.
$ac_ext
35818 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35819 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35821 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35822 cat >>confdefs.h
<<\_ACEOF
35823 #define HAVE_CXA_DEMANGLE 1
35830 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35831 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35832 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35833 wxUSE_STACKWALKER
=no
35839 for ac_func
in mkstemp mktemp
35841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35842 echo "$as_me:$LINENO: checking for $ac_func" >&5
35843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35844 if eval "test \"\${$as_ac_var+set}\" = set"; then
35845 echo $ECHO_N "(cached) $ECHO_C" >&6
35847 cat >conftest.
$ac_ext <<_ACEOF
35850 cat confdefs.h
>>conftest.
$ac_ext
35851 cat >>conftest.
$ac_ext <<_ACEOF
35852 /* end confdefs.h. */
35853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35855 #define $ac_func innocuous_$ac_func
35857 /* System header to define __stub macros and hopefully few prototypes,
35858 which can conflict with char $ac_func (); below.
35859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35860 <limits.h> exists even on freestanding compilers. */
35863 # include <limits.h>
35865 # include <assert.h>
35870 /* Override any gcc2 internal prototype to avoid an error. */
35875 /* We use char because int might match the return type of a gcc2
35876 builtin and then its argument prototype would still apply. */
35878 /* The GNU C library defines this for functions which it implements
35879 to always fail with ENOSYS. Some functions are actually named
35880 something starting with __ and the normal name is an alias. */
35881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35884 char (*f) () = $ac_func;
35893 return f != $ac_func;
35898 rm -f conftest.
$ac_objext conftest
$ac_exeext
35899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35900 (eval $ac_link) 2>conftest.er1
35902 grep -v '^ *+' conftest.er1
>conftest.err
35904 cat conftest.err
>&5
35905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35906 (exit $ac_status); } &&
35907 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35909 (eval $ac_try) 2>&5
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); }; } &&
35913 { ac_try
='test -s conftest$ac_exeext'
35914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35915 (eval $ac_try) 2>&5
35917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35918 (exit $ac_status); }; }; then
35919 eval "$as_ac_var=yes"
35921 echo "$as_me: failed program was:" >&5
35922 sed 's/^/| /' conftest.
$ac_ext >&5
35924 eval "$as_ac_var=no"
35926 rm -f conftest.err conftest.
$ac_objext \
35927 conftest
$ac_exeext conftest.
$ac_ext
35929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35931 if test `eval echo '${'$as_ac_var'}'` = yes; then
35932 cat >>confdefs.h
<<_ACEOF
35933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35940 echo "$as_me:$LINENO: checking for statfs" >&5
35941 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35942 if test "${wx_cv_func_statfs+set}" = set; then
35943 echo $ECHO_N "(cached) $ECHO_C" >&6
35945 cat >conftest.
$ac_ext <<_ACEOF
35948 cat confdefs.h
>>conftest.
$ac_ext
35949 cat >>conftest.
$ac_ext <<_ACEOF
35950 /* end confdefs.h. */
35952 #if defined(__BSD__)
35953 #include <sys/param.h>
35954 #include <sys/mount.h>
35956 #include <sys/vfs.h>
35974 rm -f conftest.
$ac_objext
35975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35976 (eval $ac_compile) 2>conftest.er1
35978 grep -v '^ *+' conftest.er1
>conftest.err
35980 cat conftest.err
>&5
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); } &&
35983 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35985 (eval $ac_try) 2>&5
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); }; } &&
35989 { ac_try
='test -s conftest.$ac_objext'
35990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35991 (eval $ac_try) 2>&5
35993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35994 (exit $ac_status); }; }; then
35995 wx_cv_func_statfs
=yes
35997 echo "$as_me: failed program was:" >&5
35998 sed 's/^/| /' conftest.
$ac_ext >&5
36000 wx_cv_func_statfs
=no
36003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36006 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36007 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36009 if test "$wx_cv_func_statfs" = "yes"; then
36010 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36011 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36012 if test "${wx_cv_func_statfs_decl+set}" = set; then
36013 echo $ECHO_N "(cached) $ECHO_C" >&6
36015 cat >conftest.
$ac_ext <<_ACEOF
36018 cat confdefs.h
>>conftest.
$ac_ext
36019 cat >>conftest.
$ac_ext <<_ACEOF
36020 /* end confdefs.h. */
36022 #if defined(__BSD__)
36023 #include <sys/param.h>
36024 #include <sys/mount.h>
36026 #include <sys/vfs.h>
36040 rm -f conftest.
$ac_objext
36041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36042 (eval $ac_compile) 2>conftest.er1
36044 grep -v '^ *+' conftest.er1
>conftest.err
36046 cat conftest.err
>&5
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); } &&
36049 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36051 (eval $ac_try) 2>&5
36053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36054 (exit $ac_status); }; } &&
36055 { ac_try
='test -s conftest.$ac_objext'
36056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36057 (eval $ac_try) 2>&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); }; }; then
36061 wx_cv_func_statfs_decl
=yes
36063 echo "$as_me: failed program was:" >&5
36064 sed 's/^/| /' conftest.
$ac_ext >&5
36066 wx_cv_func_statfs_decl
=no
36069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36072 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36073 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36075 if test "$wx_cv_func_statfs_decl" = "yes"; then
36076 cat >>confdefs.h
<<\_ACEOF
36077 #define HAVE_STATFS_DECL 1
36082 wx_cv_type_statvfs_t
="struct statfs"
36083 cat >>confdefs.h
<<\_ACEOF
36084 #define HAVE_STATFS 1
36088 echo "$as_me:$LINENO: checking for statvfs" >&5
36089 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36090 if test "${wx_cv_func_statvfs+set}" = set; then
36091 echo $ECHO_N "(cached) $ECHO_C" >&6
36093 cat >conftest.
$ac_ext <<_ACEOF
36096 cat confdefs.h
>>conftest.
$ac_ext
36097 cat >>conftest.
$ac_ext <<_ACEOF
36098 /* end confdefs.h. */
36100 #include <stddef.h>
36101 #include <sys/statvfs.h>
36107 statvfs("/", NULL);
36113 rm -f conftest.
$ac_objext
36114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36115 (eval $ac_compile) 2>conftest.er1
36117 grep -v '^ *+' conftest.er1
>conftest.err
36119 cat conftest.err
>&5
36120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36121 (exit $ac_status); } &&
36122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36124 (eval $ac_try) 2>&5
36126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36127 (exit $ac_status); }; } &&
36128 { ac_try
='test -s conftest.$ac_objext'
36129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36130 (eval $ac_try) 2>&5
36132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36133 (exit $ac_status); }; }; then
36134 wx_cv_func_statvfs
=yes
36136 echo "$as_me: failed program was:" >&5
36137 sed 's/^/| /' conftest.
$ac_ext >&5
36139 wx_cv_func_statvfs
=no
36142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36145 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36146 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36148 if test "$wx_cv_func_statvfs" = "yes"; then
36149 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36150 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36151 if test "${wx_cv_type_statvfs_t+set}" = set; then
36152 echo $ECHO_N "(cached) $ECHO_C" >&6
36154 cat >conftest.
$ac_ext <<_ACEOF
36157 cat confdefs.h
>>conftest.
$ac_ext
36158 cat >>conftest.
$ac_ext <<_ACEOF
36159 /* end confdefs.h. */
36161 #include <sys/statvfs.h>
36178 rm -f conftest.
$ac_objext
36179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36180 (eval $ac_compile) 2>conftest.er1
36182 grep -v '^ *+' conftest.er1
>conftest.err
36184 cat conftest.err
>&5
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); } &&
36187 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36189 (eval $ac_try) 2>&5
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); }; } &&
36193 { ac_try
='test -s conftest.$ac_objext'
36194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36195 (eval $ac_try) 2>&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); }; }; then
36199 wx_cv_type_statvfs_t
=statvfs_t
36201 echo "$as_me: failed program was:" >&5
36202 sed 's/^/| /' conftest.
$ac_ext >&5
36205 cat >conftest.
$ac_ext <<_ACEOF
36208 cat confdefs.h
>>conftest.
$ac_ext
36209 cat >>conftest.
$ac_ext <<_ACEOF
36210 /* end confdefs.h. */
36212 #include <sys/statvfs.h>
36229 rm -f conftest.
$ac_objext
36230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36231 (eval $ac_compile) 2>conftest.er1
36233 grep -v '^ *+' conftest.er1
>conftest.err
36235 cat conftest.err
>&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); } &&
36238 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36240 (eval $ac_try) 2>&5
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); }; } &&
36244 { ac_try
='test -s conftest.$ac_objext'
36245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36246 (eval $ac_try) 2>&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); }; }; then
36250 wx_cv_type_statvfs_t
="struct statvfs"
36252 echo "$as_me: failed program was:" >&5
36253 sed 's/^/| /' conftest.
$ac_ext >&5
36255 wx_cv_type_statvfs_t
="unknown"
36258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36265 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36266 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36268 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36269 cat >>confdefs.h
<<\_ACEOF
36270 #define HAVE_STATVFS 1
36275 wx_cv_type_statvfs_t
="unknown"
36279 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36280 cat >>confdefs.h
<<_ACEOF
36281 #define WX_STATFS_T $wx_cv_type_statvfs_t
36285 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36286 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36289 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36292 for ac_func
in fcntl flock
36294 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36295 echo "$as_me:$LINENO: checking for $ac_func" >&5
36296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36297 if eval "test \"\${$as_ac_var+set}\" = set"; then
36298 echo $ECHO_N "(cached) $ECHO_C" >&6
36300 cat >conftest.
$ac_ext <<_ACEOF
36303 cat confdefs.h
>>conftest.
$ac_ext
36304 cat >>conftest.
$ac_ext <<_ACEOF
36305 /* end confdefs.h. */
36306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36308 #define $ac_func innocuous_$ac_func
36310 /* System header to define __stub macros and hopefully few prototypes,
36311 which can conflict with char $ac_func (); below.
36312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36313 <limits.h> exists even on freestanding compilers. */
36316 # include <limits.h>
36318 # include <assert.h>
36323 /* Override any gcc2 internal prototype to avoid an error. */
36328 /* We use char because int might match the return type of a gcc2
36329 builtin and then its argument prototype would still apply. */
36331 /* The GNU C library defines this for functions which it implements
36332 to always fail with ENOSYS. Some functions are actually named
36333 something starting with __ and the normal name is an alias. */
36334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36337 char (*f) () = $ac_func;
36346 return f != $ac_func;
36351 rm -f conftest.
$ac_objext conftest
$ac_exeext
36352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36353 (eval $ac_link) 2>conftest.er1
36355 grep -v '^ *+' conftest.er1
>conftest.err
36357 cat conftest.err
>&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); } &&
36360 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36362 (eval $ac_try) 2>&5
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); }; } &&
36366 { ac_try
='test -s conftest$ac_exeext'
36367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36368 (eval $ac_try) 2>&5
36370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36371 (exit $ac_status); }; }; then
36372 eval "$as_ac_var=yes"
36374 echo "$as_me: failed program was:" >&5
36375 sed 's/^/| /' conftest.
$ac_ext >&5
36377 eval "$as_ac_var=no"
36379 rm -f conftest.err conftest.
$ac_objext \
36380 conftest
$ac_exeext conftest.
$ac_ext
36382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36384 if test `eval echo '${'$as_ac_var'}'` = yes; then
36385 cat >>confdefs.h
<<_ACEOF
36386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36393 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36394 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36395 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36396 wxUSE_SNGLINST_CHECKER
=no
36401 for ac_func
in timegm
36403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36404 echo "$as_me:$LINENO: checking for $ac_func" >&5
36405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36406 if eval "test \"\${$as_ac_var+set}\" = set"; then
36407 echo $ECHO_N "(cached) $ECHO_C" >&6
36409 cat >conftest.
$ac_ext <<_ACEOF
36412 cat confdefs.h
>>conftest.
$ac_ext
36413 cat >>conftest.
$ac_ext <<_ACEOF
36414 /* end confdefs.h. */
36415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36417 #define $ac_func innocuous_$ac_func
36419 /* System header to define __stub macros and hopefully few prototypes,
36420 which can conflict with char $ac_func (); below.
36421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36422 <limits.h> exists even on freestanding compilers. */
36425 # include <limits.h>
36427 # include <assert.h>
36432 /* Override any gcc2 internal prototype to avoid an error. */
36437 /* We use char because int might match the return type of a gcc2
36438 builtin and then its argument prototype would still apply. */
36440 /* The GNU C library defines this for functions which it implements
36441 to always fail with ENOSYS. Some functions are actually named
36442 something starting with __ and the normal name is an alias. */
36443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36446 char (*f) () = $ac_func;
36455 return f != $ac_func;
36460 rm -f conftest.
$ac_objext conftest
$ac_exeext
36461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36462 (eval $ac_link) 2>conftest.er1
36464 grep -v '^ *+' conftest.er1
>conftest.err
36466 cat conftest.err
>&5
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); } &&
36469 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36471 (eval $ac_try) 2>&5
36473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36474 (exit $ac_status); }; } &&
36475 { ac_try
='test -s conftest$ac_exeext'
36476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36477 (eval $ac_try) 2>&5
36479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36480 (exit $ac_status); }; }; then
36481 eval "$as_ac_var=yes"
36483 echo "$as_me: failed program was:" >&5
36484 sed 's/^/| /' conftest.
$ac_ext >&5
36486 eval "$as_ac_var=no"
36488 rm -f conftest.err conftest.
$ac_objext \
36489 conftest
$ac_exeext conftest.
$ac_ext
36491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36493 if test `eval echo '${'$as_ac_var'}'` = yes; then
36494 cat >>confdefs.h
<<_ACEOF
36495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36504 for ac_func
in putenv setenv
36506 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36507 echo "$as_me:$LINENO: checking for $ac_func" >&5
36508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36509 if eval "test \"\${$as_ac_var+set}\" = set"; then
36510 echo $ECHO_N "(cached) $ECHO_C" >&6
36512 cat >conftest.
$ac_ext <<_ACEOF
36515 cat confdefs.h
>>conftest.
$ac_ext
36516 cat >>conftest.
$ac_ext <<_ACEOF
36517 /* end confdefs.h. */
36518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36520 #define $ac_func innocuous_$ac_func
36522 /* System header to define __stub macros and hopefully few prototypes,
36523 which can conflict with char $ac_func (); below.
36524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36525 <limits.h> exists even on freestanding compilers. */
36528 # include <limits.h>
36530 # include <assert.h>
36535 /* Override any gcc2 internal prototype to avoid an error. */
36540 /* We use char because int might match the return type of a gcc2
36541 builtin and then its argument prototype would still apply. */
36543 /* The GNU C library defines this for functions which it implements
36544 to always fail with ENOSYS. Some functions are actually named
36545 something starting with __ and the normal name is an alias. */
36546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36549 char (*f) () = $ac_func;
36558 return f != $ac_func;
36563 rm -f conftest.
$ac_objext conftest
$ac_exeext
36564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36565 (eval $ac_link) 2>conftest.er1
36567 grep -v '^ *+' conftest.er1
>conftest.err
36569 cat conftest.err
>&5
36570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36571 (exit $ac_status); } &&
36572 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36574 (eval $ac_try) 2>&5
36576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36577 (exit $ac_status); }; } &&
36578 { ac_try
='test -s conftest$ac_exeext'
36579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36580 (eval $ac_try) 2>&5
36582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583 (exit $ac_status); }; }; then
36584 eval "$as_ac_var=yes"
36586 echo "$as_me: failed program was:" >&5
36587 sed 's/^/| /' conftest.
$ac_ext >&5
36589 eval "$as_ac_var=no"
36591 rm -f conftest.err conftest.
$ac_objext \
36592 conftest
$ac_exeext conftest.
$ac_ext
36594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36596 if test `eval echo '${'$as_ac_var'}'` = yes; then
36597 cat >>confdefs.h
<<_ACEOF
36598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36605 HAVE_SOME_SLEEP_FUNC
=0
36606 if test "$USE_BEOS" = 1; then
36607 cat >>confdefs.h
<<\_ACEOF
36608 #define HAVE_SLEEP 1
36611 HAVE_SOME_SLEEP_FUNC
=1
36614 if test "$USE_DARWIN" = 1; then
36615 cat >>confdefs.h
<<\_ACEOF
36616 #define HAVE_USLEEP 1
36619 HAVE_SOME_SLEEP_FUNC
=1
36622 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36625 for ac_func
in nanosleep
36627 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36628 echo "$as_me:$LINENO: checking for $ac_func" >&5
36629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36630 if eval "test \"\${$as_ac_var+set}\" = set"; then
36631 echo $ECHO_N "(cached) $ECHO_C" >&6
36633 cat >conftest.
$ac_ext <<_ACEOF
36636 cat confdefs.h
>>conftest.
$ac_ext
36637 cat >>conftest.
$ac_ext <<_ACEOF
36638 /* end confdefs.h. */
36639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36641 #define $ac_func innocuous_$ac_func
36643 /* System header to define __stub macros and hopefully few prototypes,
36644 which can conflict with char $ac_func (); below.
36645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36646 <limits.h> exists even on freestanding compilers. */
36649 # include <limits.h>
36651 # include <assert.h>
36656 /* Override any gcc2 internal prototype to avoid an error. */
36661 /* We use char because int might match the return type of a gcc2
36662 builtin and then its argument prototype would still apply. */
36664 /* The GNU C library defines this for functions which it implements
36665 to always fail with ENOSYS. Some functions are actually named
36666 something starting with __ and the normal name is an alias. */
36667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36670 char (*f) () = $ac_func;
36679 return f != $ac_func;
36684 rm -f conftest.
$ac_objext conftest
$ac_exeext
36685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36686 (eval $ac_link) 2>conftest.er1
36688 grep -v '^ *+' conftest.er1
>conftest.err
36690 cat conftest.err
>&5
36691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36692 (exit $ac_status); } &&
36693 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36695 (eval $ac_try) 2>&5
36697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36698 (exit $ac_status); }; } &&
36699 { ac_try
='test -s conftest$ac_exeext'
36700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36701 (eval $ac_try) 2>&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); }; }; then
36705 eval "$as_ac_var=yes"
36707 echo "$as_me: failed program was:" >&5
36708 sed 's/^/| /' conftest.
$ac_ext >&5
36710 eval "$as_ac_var=no"
36712 rm -f conftest.err conftest.
$ac_objext \
36713 conftest
$ac_exeext conftest.
$ac_ext
36715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36717 if test `eval echo '${'$as_ac_var'}'` = yes; then
36718 cat >>confdefs.h
<<_ACEOF
36719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36721 cat >>confdefs.h
<<\_ACEOF
36722 #define HAVE_NANOSLEEP 1
36727 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36728 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36729 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36730 echo $ECHO_N "(cached) $ECHO_C" >&6
36732 ac_check_lib_save_LIBS
=$LIBS
36733 LIBS
="-lposix4 $LIBS"
36734 cat >conftest.
$ac_ext <<_ACEOF
36737 cat confdefs.h
>>conftest.
$ac_ext
36738 cat >>conftest.
$ac_ext <<_ACEOF
36739 /* end confdefs.h. */
36741 /* Override any gcc2 internal prototype to avoid an error. */
36745 /* We use char because int might match the return type of a gcc2
36746 builtin and then its argument prototype would still apply. */
36756 rm -f conftest.
$ac_objext conftest
$ac_exeext
36757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36758 (eval $ac_link) 2>conftest.er1
36760 grep -v '^ *+' conftest.er1
>conftest.err
36762 cat conftest.err
>&5
36763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764 (exit $ac_status); } &&
36765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36767 (eval $ac_try) 2>&5
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); }; } &&
36771 { ac_try
='test -s conftest$ac_exeext'
36772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36773 (eval $ac_try) 2>&5
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); }; }; then
36777 ac_cv_lib_posix4_nanosleep
=yes
36779 echo "$as_me: failed program was:" >&5
36780 sed 's/^/| /' conftest.
$ac_ext >&5
36782 ac_cv_lib_posix4_nanosleep
=no
36784 rm -f conftest.err conftest.
$ac_objext \
36785 conftest
$ac_exeext conftest.
$ac_ext
36786 LIBS
=$ac_check_lib_save_LIBS
36788 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36789 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36790 if test $ac_cv_lib_posix4_nanosleep = yes; then
36792 cat >>confdefs.h
<<\_ACEOF
36793 #define HAVE_NANOSLEEP 1
36796 POSIX4_LINK
=" -lposix4"
36801 for ac_func
in usleep
36803 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36804 echo "$as_me:$LINENO: checking for $ac_func" >&5
36805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36806 if eval "test \"\${$as_ac_var+set}\" = set"; then
36807 echo $ECHO_N "(cached) $ECHO_C" >&6
36809 cat >conftest.
$ac_ext <<_ACEOF
36812 cat confdefs.h
>>conftest.
$ac_ext
36813 cat >>conftest.
$ac_ext <<_ACEOF
36814 /* end confdefs.h. */
36815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36817 #define $ac_func innocuous_$ac_func
36819 /* System header to define __stub macros and hopefully few prototypes,
36820 which can conflict with char $ac_func (); below.
36821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36822 <limits.h> exists even on freestanding compilers. */
36825 # include <limits.h>
36827 # include <assert.h>
36832 /* Override any gcc2 internal prototype to avoid an error. */
36837 /* We use char because int might match the return type of a gcc2
36838 builtin and then its argument prototype would still apply. */
36840 /* The GNU C library defines this for functions which it implements
36841 to always fail with ENOSYS. Some functions are actually named
36842 something starting with __ and the normal name is an alias. */
36843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36846 char (*f) () = $ac_func;
36855 return f != $ac_func;
36860 rm -f conftest.
$ac_objext conftest
$ac_exeext
36861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36862 (eval $ac_link) 2>conftest.er1
36864 grep -v '^ *+' conftest.er1
>conftest.err
36866 cat conftest.err
>&5
36867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36868 (exit $ac_status); } &&
36869 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36871 (eval $ac_try) 2>&5
36873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36874 (exit $ac_status); }; } &&
36875 { ac_try
='test -s conftest$ac_exeext'
36876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36877 (eval $ac_try) 2>&5
36879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36880 (exit $ac_status); }; }; then
36881 eval "$as_ac_var=yes"
36883 echo "$as_me: failed program was:" >&5
36884 sed 's/^/| /' conftest.
$ac_ext >&5
36886 eval "$as_ac_var=no"
36888 rm -f conftest.err conftest.
$ac_objext \
36889 conftest
$ac_exeext conftest.
$ac_ext
36891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36893 if test `eval echo '${'$as_ac_var'}'` = yes; then
36894 cat >>confdefs.h
<<_ACEOF
36895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36897 cat >>confdefs.h
<<\_ACEOF
36898 #define HAVE_USLEEP 1
36902 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36903 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36921 for ac_func
in uname gethostname
36923 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36924 echo "$as_me:$LINENO: checking for $ac_func" >&5
36925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36926 if eval "test \"\${$as_ac_var+set}\" = set"; then
36927 echo $ECHO_N "(cached) $ECHO_C" >&6
36929 cat >conftest.
$ac_ext <<_ACEOF
36932 cat confdefs.h
>>conftest.
$ac_ext
36933 cat >>conftest.
$ac_ext <<_ACEOF
36934 /* end confdefs.h. */
36935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36937 #define $ac_func innocuous_$ac_func
36939 /* System header to define __stub macros and hopefully few prototypes,
36940 which can conflict with char $ac_func (); below.
36941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36942 <limits.h> exists even on freestanding compilers. */
36945 # include <limits.h>
36947 # include <assert.h>
36952 /* Override any gcc2 internal prototype to avoid an error. */
36957 /* We use char because int might match the return type of a gcc2
36958 builtin and then its argument prototype would still apply. */
36960 /* The GNU C library defines this for functions which it implements
36961 to always fail with ENOSYS. Some functions are actually named
36962 something starting with __ and the normal name is an alias. */
36963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36966 char (*f) () = $ac_func;
36975 return f != $ac_func;
36980 rm -f conftest.
$ac_objext conftest
$ac_exeext
36981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36982 (eval $ac_link) 2>conftest.er1
36984 grep -v '^ *+' conftest.er1
>conftest.err
36986 cat conftest.err
>&5
36987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36988 (exit $ac_status); } &&
36989 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36991 (eval $ac_try) 2>&5
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); }; } &&
36995 { ac_try
='test -s conftest$ac_exeext'
36996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36997 (eval $ac_try) 2>&5
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); }; }; then
37001 eval "$as_ac_var=yes"
37003 echo "$as_me: failed program was:" >&5
37004 sed 's/^/| /' conftest.
$ac_ext >&5
37006 eval "$as_ac_var=no"
37008 rm -f conftest.err conftest.
$ac_objext \
37009 conftest
$ac_exeext conftest.
$ac_ext
37011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37013 if test `eval echo '${'$as_ac_var'}'` = yes; then
37014 cat >>confdefs.h
<<_ACEOF
37015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37022 SAVE_CPPFLAGS
="$CPPFLAGS"
37023 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
37024 echo "$as_me:$LINENO: checking whether strtok_r is declared" >&5
37025 echo $ECHO_N "checking whether strtok_r is declared... $ECHO_C" >&6
37026 if test "${ac_cv_have_decl_strtok_r+set}" = set; then
37027 echo $ECHO_N "(cached) $ECHO_C" >&6
37029 cat >conftest.
$ac_ext <<_ACEOF
37032 cat confdefs.h
>>conftest.
$ac_ext
37033 cat >>conftest.
$ac_ext <<_ACEOF
37034 /* end confdefs.h. */
37035 $ac_includes_default
37040 char *p = (char *) strtok_r;
37047 rm -f conftest.
$ac_objext
37048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37049 (eval $ac_compile) 2>conftest.er1
37051 grep -v '^ *+' conftest.er1
>conftest.err
37053 cat conftest.err
>&5
37054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055 (exit $ac_status); } &&
37056 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37058 (eval $ac_try) 2>&5
37060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061 (exit $ac_status); }; } &&
37062 { ac_try
='test -s conftest.$ac_objext'
37063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37064 (eval $ac_try) 2>&5
37066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067 (exit $ac_status); }; }; then
37068 ac_cv_have_decl_strtok_r
=yes
37070 echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.
$ac_ext >&5
37073 ac_cv_have_decl_strtok_r
=no
37075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37077 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strtok_r" >&5
37078 echo "${ECHO_T}$ac_cv_have_decl_strtok_r" >&6
37079 if test $ac_cv_have_decl_strtok_r = yes; then
37081 cat >>confdefs.h
<<_ACEOF
37082 #define HAVE_DECL_STRTOK_R 1
37085 cat >>confdefs.h
<<\_ACEOF
37086 #define HAVE_STRTOK_R 1
37090 cat >>confdefs.h
<<_ACEOF
37091 #define HAVE_DECL_STRTOK_R 0
37098 CPPFLAGS
="$SAVE_CPPFLAGS"
37102 for ac_func
in inet_addr
37104 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37105 echo "$as_me:$LINENO: checking for $ac_func" >&5
37106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37107 if eval "test \"\${$as_ac_var+set}\" = set"; then
37108 echo $ECHO_N "(cached) $ECHO_C" >&6
37110 cat >conftest.
$ac_ext <<_ACEOF
37113 cat confdefs.h
>>conftest.
$ac_ext
37114 cat >>conftest.
$ac_ext <<_ACEOF
37115 /* end confdefs.h. */
37116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37118 #define $ac_func innocuous_$ac_func
37120 /* System header to define __stub macros and hopefully few prototypes,
37121 which can conflict with char $ac_func (); below.
37122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37123 <limits.h> exists even on freestanding compilers. */
37126 # include <limits.h>
37128 # include <assert.h>
37133 /* Override any gcc2 internal prototype to avoid an error. */
37138 /* We use char because int might match the return type of a gcc2
37139 builtin and then its argument prototype would still apply. */
37141 /* The GNU C library defines this for functions which it implements
37142 to always fail with ENOSYS. Some functions are actually named
37143 something starting with __ and the normal name is an alias. */
37144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37147 char (*f) () = $ac_func;
37156 return f != $ac_func;
37161 rm -f conftest.
$ac_objext conftest
$ac_exeext
37162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37163 (eval $ac_link) 2>conftest.er1
37165 grep -v '^ *+' conftest.er1
>conftest.err
37167 cat conftest.err
>&5
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); } &&
37170 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37172 (eval $ac_try) 2>&5
37174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37175 (exit $ac_status); }; } &&
37176 { ac_try
='test -s conftest$ac_exeext'
37177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37178 (eval $ac_try) 2>&5
37180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37181 (exit $ac_status); }; }; then
37182 eval "$as_ac_var=yes"
37184 echo "$as_me: failed program was:" >&5
37185 sed 's/^/| /' conftest.
$ac_ext >&5
37187 eval "$as_ac_var=no"
37189 rm -f conftest.err conftest.
$ac_objext \
37190 conftest
$ac_exeext conftest.
$ac_ext
37192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37194 if test `eval echo '${'$as_ac_var'}'` = yes; then
37195 cat >>confdefs.h
<<_ACEOF
37196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37198 cat >>confdefs.h
<<\_ACEOF
37199 #define HAVE_INET_ADDR 1
37204 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37205 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37206 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37207 echo $ECHO_N "(cached) $ECHO_C" >&6
37209 ac_check_lib_save_LIBS
=$LIBS
37211 cat >conftest.
$ac_ext <<_ACEOF
37214 cat confdefs.h
>>conftest.
$ac_ext
37215 cat >>conftest.
$ac_ext <<_ACEOF
37216 /* end confdefs.h. */
37218 /* Override any gcc2 internal prototype to avoid an error. */
37222 /* We use char because int might match the return type of a gcc2
37223 builtin and then its argument prototype would still apply. */
37233 rm -f conftest.
$ac_objext conftest
$ac_exeext
37234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37235 (eval $ac_link) 2>conftest.er1
37237 grep -v '^ *+' conftest.er1
>conftest.err
37239 cat conftest.err
>&5
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); } &&
37242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37244 (eval $ac_try) 2>&5
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); }; } &&
37248 { ac_try
='test -s conftest$ac_exeext'
37249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37250 (eval $ac_try) 2>&5
37252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253 (exit $ac_status); }; }; then
37254 ac_cv_lib_nsl_inet_addr
=yes
37256 echo "$as_me: failed program was:" >&5
37257 sed 's/^/| /' conftest.
$ac_ext >&5
37259 ac_cv_lib_nsl_inet_addr
=no
37261 rm -f conftest.err conftest.
$ac_objext \
37262 conftest
$ac_exeext conftest.
$ac_ext
37263 LIBS
=$ac_check_lib_save_LIBS
37265 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37266 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37267 if test $ac_cv_lib_nsl_inet_addr = yes; then
37271 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37272 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37273 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37274 echo $ECHO_N "(cached) $ECHO_C" >&6
37276 ac_check_lib_save_LIBS
=$LIBS
37277 LIBS
="-lresolv $LIBS"
37278 cat >conftest.
$ac_ext <<_ACEOF
37281 cat confdefs.h
>>conftest.
$ac_ext
37282 cat >>conftest.
$ac_ext <<_ACEOF
37283 /* end confdefs.h. */
37285 /* Override any gcc2 internal prototype to avoid an error. */
37289 /* We use char because int might match the return type of a gcc2
37290 builtin and then its argument prototype would still apply. */
37300 rm -f conftest.
$ac_objext conftest
$ac_exeext
37301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37302 (eval $ac_link) 2>conftest.er1
37304 grep -v '^ *+' conftest.er1
>conftest.err
37306 cat conftest.err
>&5
37307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37308 (exit $ac_status); } &&
37309 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37311 (eval $ac_try) 2>&5
37313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37314 (exit $ac_status); }; } &&
37315 { ac_try
='test -s conftest$ac_exeext'
37316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37317 (eval $ac_try) 2>&5
37319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37320 (exit $ac_status); }; }; then
37321 ac_cv_lib_resolv_inet_addr
=yes
37323 echo "$as_me: failed program was:" >&5
37324 sed 's/^/| /' conftest.
$ac_ext >&5
37326 ac_cv_lib_resolv_inet_addr
=no
37328 rm -f conftest.err conftest.
$ac_objext \
37329 conftest
$ac_exeext conftest.
$ac_ext
37330 LIBS
=$ac_check_lib_save_LIBS
37332 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37333 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37334 if test $ac_cv_lib_resolv_inet_addr = yes; then
37338 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37339 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37340 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37341 echo $ECHO_N "(cached) $ECHO_C" >&6
37343 ac_check_lib_save_LIBS
=$LIBS
37344 LIBS
="-lsocket $LIBS"
37345 cat >conftest.
$ac_ext <<_ACEOF
37348 cat confdefs.h
>>conftest.
$ac_ext
37349 cat >>conftest.
$ac_ext <<_ACEOF
37350 /* end confdefs.h. */
37352 /* Override any gcc2 internal prototype to avoid an error. */
37356 /* We use char because int might match the return type of a gcc2
37357 builtin and then its argument prototype would still apply. */
37367 rm -f conftest.
$ac_objext conftest
$ac_exeext
37368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37369 (eval $ac_link) 2>conftest.er1
37371 grep -v '^ *+' conftest.er1
>conftest.err
37373 cat conftest.err
>&5
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); } &&
37376 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37378 (eval $ac_try) 2>&5
37380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37381 (exit $ac_status); }; } &&
37382 { ac_try
='test -s conftest$ac_exeext'
37383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37384 (eval $ac_try) 2>&5
37386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37387 (exit $ac_status); }; }; then
37388 ac_cv_lib_socket_inet_addr
=yes
37390 echo "$as_me: failed program was:" >&5
37391 sed 's/^/| /' conftest.
$ac_ext >&5
37393 ac_cv_lib_socket_inet_addr
=no
37395 rm -f conftest.err conftest.
$ac_objext \
37396 conftest
$ac_exeext conftest.
$ac_ext
37397 LIBS
=$ac_check_lib_save_LIBS
37399 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37400 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37401 if test $ac_cv_lib_socket_inet_addr = yes; then
37421 for ac_func
in inet_aton
37423 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37424 echo "$as_me:$LINENO: checking for $ac_func" >&5
37425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37426 if eval "test \"\${$as_ac_var+set}\" = set"; then
37427 echo $ECHO_N "(cached) $ECHO_C" >&6
37429 cat >conftest.
$ac_ext <<_ACEOF
37432 cat confdefs.h
>>conftest.
$ac_ext
37433 cat >>conftest.
$ac_ext <<_ACEOF
37434 /* end confdefs.h. */
37435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37437 #define $ac_func innocuous_$ac_func
37439 /* System header to define __stub macros and hopefully few prototypes,
37440 which can conflict with char $ac_func (); below.
37441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37442 <limits.h> exists even on freestanding compilers. */
37445 # include <limits.h>
37447 # include <assert.h>
37452 /* Override any gcc2 internal prototype to avoid an error. */
37457 /* We use char because int might match the return type of a gcc2
37458 builtin and then its argument prototype would still apply. */
37460 /* The GNU C library defines this for functions which it implements
37461 to always fail with ENOSYS. Some functions are actually named
37462 something starting with __ and the normal name is an alias. */
37463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37466 char (*f) () = $ac_func;
37475 return f != $ac_func;
37480 rm -f conftest.
$ac_objext conftest
$ac_exeext
37481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37482 (eval $ac_link) 2>conftest.er1
37484 grep -v '^ *+' conftest.er1
>conftest.err
37486 cat conftest.err
>&5
37487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37488 (exit $ac_status); } &&
37489 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37491 (eval $ac_try) 2>&5
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); }; } &&
37495 { ac_try
='test -s conftest$ac_exeext'
37496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37497 (eval $ac_try) 2>&5
37499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37500 (exit $ac_status); }; }; then
37501 eval "$as_ac_var=yes"
37503 echo "$as_me: failed program was:" >&5
37504 sed 's/^/| /' conftest.
$ac_ext >&5
37506 eval "$as_ac_var=no"
37508 rm -f conftest.err conftest.
$ac_objext \
37509 conftest
$ac_exeext conftest.
$ac_ext
37511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37513 if test `eval echo '${'$as_ac_var'}'` = yes; then
37514 cat >>confdefs.h
<<_ACEOF
37515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37517 cat >>confdefs.h
<<\_ACEOF
37518 #define HAVE_INET_ATON 1
37523 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37524 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37525 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37526 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37527 echo $ECHO_N "(cached) $ECHO_C" >&6
37529 ac_check_lib_save_LIBS
=$LIBS
37530 LIBS
="-l$INET_LINK $LIBS"
37531 cat >conftest.
$ac_ext <<_ACEOF
37534 cat confdefs.h
>>conftest.
$ac_ext
37535 cat >>conftest.
$ac_ext <<_ACEOF
37536 /* end confdefs.h. */
37538 /* Override any gcc2 internal prototype to avoid an error. */
37542 /* We use char because int might match the return type of a gcc2
37543 builtin and then its argument prototype would still apply. */
37553 rm -f conftest.
$ac_objext conftest
$ac_exeext
37554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37555 (eval $ac_link) 2>conftest.er1
37557 grep -v '^ *+' conftest.er1
>conftest.err
37559 cat conftest.err
>&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); } &&
37562 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37564 (eval $ac_try) 2>&5
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); }; } &&
37568 { ac_try
='test -s conftest$ac_exeext'
37569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570 (eval $ac_try) 2>&5
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); }; }; then
37574 eval "$as_ac_Lib=yes"
37576 echo "$as_me: failed program was:" >&5
37577 sed 's/^/| /' conftest.
$ac_ext >&5
37579 eval "$as_ac_Lib=no"
37581 rm -f conftest.err conftest.
$ac_objext \
37582 conftest
$ac_exeext conftest.
$ac_ext
37583 LIBS
=$ac_check_lib_save_LIBS
37585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37586 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37587 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37588 cat >>confdefs.h
<<\_ACEOF
37589 #define HAVE_INET_ATON 1
37599 if test "x$INET_LINK" != "x"; then
37600 cat >>confdefs.h
<<\_ACEOF
37601 #define HAVE_INET_ADDR 1
37604 INET_LINK
=" -l$INET_LINK"
37612 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37613 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
37614 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37615 echo $ECHO_N "(cached) $ECHO_C" >&6
37617 ac_check_lib_save_LIBS
=$LIBS
37619 cat >conftest.
$ac_ext <<_ACEOF
37622 cat confdefs.h
>>conftest.
$ac_ext
37623 cat >>conftest.
$ac_ext <<_ACEOF
37624 /* end confdefs.h. */
37626 /* Override any gcc2 internal prototype to avoid an error. */
37630 /* We use char because int might match the return type of a gcc2
37631 builtin and then its argument prototype would still apply. */
37641 rm -f conftest.
$ac_objext conftest
$ac_exeext
37642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37643 (eval $ac_link) 2>conftest.er1
37645 grep -v '^ *+' conftest.er1
>conftest.err
37647 cat conftest.err
>&5
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); } &&
37650 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37652 (eval $ac_try) 2>&5
37654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655 (exit $ac_status); }; } &&
37656 { ac_try
='test -s conftest$ac_exeext'
37657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37658 (eval $ac_try) 2>&5
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); }; }; then
37662 ac_cv_lib_esd_esd_close
=yes
37664 echo "$as_me: failed program was:" >&5
37665 sed 's/^/| /' conftest.
$ac_ext >&5
37667 ac_cv_lib_esd_esd_close
=no
37669 rm -f conftest.err conftest.
$ac_objext \
37670 conftest
$ac_exeext conftest.
$ac_ext
37671 LIBS
=$ac_check_lib_save_LIBS
37673 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37674 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37675 if test $ac_cv_lib_esd_esd_close = yes; then
37678 for ac_header
in esd.h
37680 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37682 echo "$as_me:$LINENO: checking for $ac_header" >&5
37683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37685 echo $ECHO_N "(cached) $ECHO_C" >&6
37687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37690 # Is the header compilable?
37691 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37692 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37693 cat >conftest.
$ac_ext <<_ACEOF
37696 cat confdefs.h
>>conftest.
$ac_ext
37697 cat >>conftest.
$ac_ext <<_ACEOF
37698 /* end confdefs.h. */
37699 $ac_includes_default
37700 #include <$ac_header>
37702 rm -f conftest.
$ac_objext
37703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37704 (eval $ac_compile) 2>conftest.er1
37706 grep -v '^ *+' conftest.er1
>conftest.err
37708 cat conftest.err
>&5
37709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37710 (exit $ac_status); } &&
37711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37713 (eval $ac_try) 2>&5
37715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37716 (exit $ac_status); }; } &&
37717 { ac_try
='test -s conftest.$ac_objext'
37718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37719 (eval $ac_try) 2>&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); }; }; then
37723 ac_header_compiler
=yes
37725 echo "$as_me: failed program was:" >&5
37726 sed 's/^/| /' conftest.
$ac_ext >&5
37728 ac_header_compiler
=no
37730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37732 echo "${ECHO_T}$ac_header_compiler" >&6
37734 # Is the header present?
37735 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37736 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37737 cat >conftest.
$ac_ext <<_ACEOF
37740 cat confdefs.h
>>conftest.
$ac_ext
37741 cat >>conftest.
$ac_ext <<_ACEOF
37742 /* end confdefs.h. */
37743 #include <$ac_header>
37745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37746 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37748 grep -v '^ *+' conftest.er1
>conftest.err
37750 cat conftest.err
>&5
37751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752 (exit $ac_status); } >/dev
/null
; then
37753 if test -s conftest.err
; then
37754 ac_cpp_err
=$ac_cxx_preproc_warn_flag
37755 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
37762 if test -z "$ac_cpp_err"; then
37763 ac_header_preproc
=yes
37765 echo "$as_me: failed program was:" >&5
37766 sed 's/^/| /' conftest.
$ac_ext >&5
37768 ac_header_preproc
=no
37770 rm -f conftest.err conftest.
$ac_ext
37771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37772 echo "${ECHO_T}$ac_header_preproc" >&6
37774 # So? What about this header?
37775 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37777 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37778 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37780 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37781 ac_header_preproc
=yes
37784 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37785 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37786 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37787 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37788 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37789 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37790 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37791 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37794 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37795 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37798 ## ----------------------------------------- ##
37799 ## Report this to wx-dev@lists.wxwidgets.org ##
37800 ## ----------------------------------------- ##
37803 sed "s/^/$as_me: WARNING: /" >&2
37806 echo "$as_me:$LINENO: checking for $ac_header" >&5
37807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37809 echo $ECHO_N "(cached) $ECHO_C" >&6
37811 eval "$as_ac_Header=\$ac_header_preproc"
37813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37818 cat >>confdefs.h
<<_ACEOF
37819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37822 EXTRALIBS_ESD
="-lesd"
37833 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37834 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
37835 cat >conftest.
$ac_ext <<_ACEOF
37838 cat confdefs.h
>>conftest.
$ac_ext
37839 cat >>conftest.
$ac_ext <<_ACEOF
37840 /* end confdefs.h. */
37842 #include <linux/cdrom.h>
37845 #include <sys/cdio.h>
37851 struct cdrom_tocentry entry, old_entry;
37856 rm -f conftest.
$ac_objext
37857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37858 (eval $ac_compile) 2>conftest.er1
37860 grep -v '^ *+' conftest.er1
>conftest.err
37862 cat conftest.err
>&5
37863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37864 (exit $ac_status); } &&
37865 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37867 (eval $ac_try) 2>&5
37869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37870 (exit $ac_status); }; } &&
37871 { ac_try
='test -s conftest.$ac_objext'
37872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37873 (eval $ac_try) 2>&5
37875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876 (exit $ac_status); }; }; then
37877 echo "$as_me:$LINENO: result: yes" >&5
37878 echo "${ECHO_T}yes" >&6
37879 cat >>confdefs.h
<<\_ACEOF
37880 #define HAVE_KNOWN_CDROM_INTERFACE 1
37884 echo "$as_me: failed program was:" >&5
37885 sed 's/^/| /' conftest.
$ac_ext >&5
37887 echo "$as_me:$LINENO: result: no" >&5
37888 echo "${ECHO_T}no" >&6
37890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37893 cat >confcache
<<\_ACEOF
37894 # This file is a shell script that caches the results of configure
37895 # tests run on this system so they can be shared between configure
37896 # scripts and configure runs, see configure's option --config-cache.
37897 # It is not useful on other systems. If it contains results you don't
37898 # want to keep, you may remove or edit it.
37900 # config.status only pays attention to the cache file if you give it
37901 # the --recheck option to rerun configure.
37903 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37904 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37905 # following values.
37909 # The following way of writing the cache mishandles newlines in values,
37910 # but we know of no workaround that is simple, portable, and efficient.
37911 # So, don't put newlines in cache variables' values.
37912 # Ultrix sh set writes to stderr and can't be redirected directly,
37913 # and sets the high bit in the cache file unless we assign to the vars.
37916 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37918 # `set' does not quote correctly, so add quotes (double-quote
37919 # substitution turns \\\\ into \\, and sed turns \\ into \).
37922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37925 # `set' quotes correctly as required by POSIX, so do not add quotes.
37927 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37934 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37936 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37938 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37939 if test -w $cache_file; then
37940 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37941 cat confcache
>$cache_file
37943 echo "not updating unwritable cache $cache_file"
37949 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37955 if test "$wxUSE_THREADS" = "yes" ; then
37956 if test "$USE_BEOS" = 1; then
37957 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37958 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37963 if test "$wxUSE_THREADS" = "yes" ; then
37966 THREAD_OPTS
="-pthread"
37968 *-*-solaris2* | *-*-sunos4* )
37969 if test "x$GCC" = "xyes"; then
37970 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37972 THREAD_OPTS
="-mt $THREAD_OPTS"
37976 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37978 *-*-darwin* | *-*-cygwin* )
37982 THREAD_OPTS
="pthreads"
37985 if test "x$GCC" = "xyes"; then
37986 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37994 if test "x$GCC" = "xyes"; then
38000 if test "x$GCC" != "xyes"; then
38001 THREAD_OPTS
="-Ethread"
38006 THREAD_OPTS
="$THREAD_OPTS pthread none"
38009 for flag
in $THREAD_OPTS; do
38012 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38013 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38017 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38018 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38019 THREADS_CXXFLAGS
="$flag"
38023 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38024 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38025 THREADS_LINK
="-l$flag"
38030 save_CXXFLAGS
="$CXXFLAGS"
38031 LIBS
="$THREADS_LINK $LIBS"
38032 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
38034 cat >conftest.
$ac_ext <<_ACEOF
38037 cat confdefs.h
>>conftest.
$ac_ext
38038 cat >>conftest.
$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38040 #include <pthread.h>
38044 pthread_create(0,0,0,0);
38049 rm -f conftest.
$ac_objext conftest
$ac_exeext
38050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38051 (eval $ac_link) 2>conftest.er1
38053 grep -v '^ *+' conftest.er1
>conftest.err
38055 cat conftest.err
>&5
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); } &&
38058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38060 (eval $ac_try) 2>&5
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); }; } &&
38064 { ac_try
='test -s conftest$ac_exeext'
38065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38066 (eval $ac_try) 2>&5
38068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069 (exit $ac_status); }; }; then
38072 echo "$as_me: failed program was:" >&5
38073 sed 's/^/| /' conftest.
$ac_ext >&5
38076 rm -f conftest.err conftest.
$ac_objext \
38077 conftest
$ac_exeext conftest.
$ac_ext
38080 CXXFLAGS
="$save_CXXFLAGS"
38082 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38083 echo "${ECHO_T}$THREADS_OK" >&6
38084 if test "x$THREADS_OK" = "xyes"; then
38089 THREADS_CXXFLAGS
=""
38092 if test "x$THREADS_OK" != "xyes"; then
38094 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38095 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38097 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
38098 LIBS
="$THREADS_LINK $LIBS"
38100 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38101 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38105 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
38106 flag
="-D_THREAD_SAFE"
38109 flag
="-D_THREAD_SAFE"
38112 flag
="-D_REENTRANT"
38113 if test "x$GCC" != "xyes"; then
38114 flag
="$flag -D_RWSTD_MULTI_THREAD"
38117 *solaris
* | alpha
*-osf*)
38118 flag
="-D_REENTRANT"
38121 echo "$as_me:$LINENO: result: ${flag}" >&5
38122 echo "${ECHO_T}${flag}" >&6
38123 if test "x$flag" != xno
; then
38124 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
38127 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38131 if test "$wxUSE_THREADS" = "yes" ; then
38133 for ac_func
in thr_setconcurrency
38135 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38136 echo "$as_me:$LINENO: checking for $ac_func" >&5
38137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38138 if eval "test \"\${$as_ac_var+set}\" = set"; then
38139 echo $ECHO_N "(cached) $ECHO_C" >&6
38141 cat >conftest.
$ac_ext <<_ACEOF
38144 cat confdefs.h
>>conftest.
$ac_ext
38145 cat >>conftest.
$ac_ext <<_ACEOF
38146 /* end confdefs.h. */
38147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38149 #define $ac_func innocuous_$ac_func
38151 /* System header to define __stub macros and hopefully few prototypes,
38152 which can conflict with char $ac_func (); below.
38153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38154 <limits.h> exists even on freestanding compilers. */
38157 # include <limits.h>
38159 # include <assert.h>
38164 /* Override any gcc2 internal prototype to avoid an error. */
38169 /* We use char because int might match the return type of a gcc2
38170 builtin and then its argument prototype would still apply. */
38172 /* The GNU C library defines this for functions which it implements
38173 to always fail with ENOSYS. Some functions are actually named
38174 something starting with __ and the normal name is an alias. */
38175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38178 char (*f) () = $ac_func;
38187 return f != $ac_func;
38192 rm -f conftest.
$ac_objext conftest
$ac_exeext
38193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38194 (eval $ac_link) 2>conftest.er1
38196 grep -v '^ *+' conftest.er1
>conftest.err
38198 cat conftest.err
>&5
38199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38200 (exit $ac_status); } &&
38201 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38203 (eval $ac_try) 2>&5
38205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38206 (exit $ac_status); }; } &&
38207 { ac_try
='test -s conftest$ac_exeext'
38208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38209 (eval $ac_try) 2>&5
38211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38212 (exit $ac_status); }; }; then
38213 eval "$as_ac_var=yes"
38215 echo "$as_me: failed program was:" >&5
38216 sed 's/^/| /' conftest.
$ac_ext >&5
38218 eval "$as_ac_var=no"
38220 rm -f conftest.err conftest.
$ac_objext \
38221 conftest
$ac_exeext conftest.
$ac_ext
38223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38225 if test `eval echo '${'$as_ac_var'}'` = yes; then
38226 cat >>confdefs.h
<<_ACEOF
38227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38234 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38235 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38236 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38237 echo $ECHO_N "(cached) $ECHO_C" >&6
38240 cat >conftest.
$ac_ext <<_ACEOF
38243 cat confdefs.h
>>conftest.
$ac_ext
38244 cat >>conftest.
$ac_ext <<_ACEOF
38245 /* end confdefs.h. */
38246 #include <pthread.h>
38247 void ThreadCleanupFunc(void *p);
38254 pthread_cleanup_push(ThreadCleanupFunc, p);
38255 pthread_cleanup_pop(0);
38261 rm -f conftest.
$ac_objext
38262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38263 (eval $ac_compile) 2>conftest.er1
38265 grep -v '^ *+' conftest.er1
>conftest.err
38267 cat conftest.err
>&5
38268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38269 (exit $ac_status); } &&
38270 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38272 (eval $ac_try) 2>&5
38274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38275 (exit $ac_status); }; } &&
38276 { ac_try
='test -s conftest.$ac_objext'
38277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38278 (eval $ac_try) 2>&5
38280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38281 (exit $ac_status); }; }; then
38283 wx_cv_func_pthread_cleanup
=yes
38286 echo "$as_me: failed program was:" >&5
38287 sed 's/^/| /' conftest.
$ac_ext >&5
38290 wx_cv_func_pthread_cleanup
=no
38294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38297 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38298 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38299 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38300 cat >>confdefs.h
<<\_ACEOF
38301 #define wxHAVE_PTHREAD_CLEANUP 1
38307 for ac_header
in sched.h
38309 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38311 echo "$as_me:$LINENO: checking for $ac_header" >&5
38312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38314 echo $ECHO_N "(cached) $ECHO_C" >&6
38316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38319 # Is the header compilable?
38320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38322 cat >conftest.
$ac_ext <<_ACEOF
38325 cat confdefs.h
>>conftest.
$ac_ext
38326 cat >>conftest.
$ac_ext <<_ACEOF
38327 /* end confdefs.h. */
38328 $ac_includes_default
38329 #include <$ac_header>
38331 rm -f conftest.
$ac_objext
38332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38333 (eval $ac_compile) 2>conftest.er1
38335 grep -v '^ *+' conftest.er1
>conftest.err
38337 cat conftest.err
>&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); } &&
38340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38342 (eval $ac_try) 2>&5
38344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38345 (exit $ac_status); }; } &&
38346 { ac_try
='test -s conftest.$ac_objext'
38347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38348 (eval $ac_try) 2>&5
38350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38351 (exit $ac_status); }; }; then
38352 ac_header_compiler
=yes
38354 echo "$as_me: failed program was:" >&5
38355 sed 's/^/| /' conftest.
$ac_ext >&5
38357 ac_header_compiler
=no
38359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38361 echo "${ECHO_T}$ac_header_compiler" >&6
38363 # Is the header present?
38364 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38365 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38366 cat >conftest.
$ac_ext <<_ACEOF
38369 cat confdefs.h
>>conftest.
$ac_ext
38370 cat >>conftest.
$ac_ext <<_ACEOF
38371 /* end confdefs.h. */
38372 #include <$ac_header>
38374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38377 grep -v '^ *+' conftest.er1
>conftest.err
38379 cat conftest.err
>&5
38380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38381 (exit $ac_status); } >/dev
/null
; then
38382 if test -s conftest.err
; then
38383 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38384 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38391 if test -z "$ac_cpp_err"; then
38392 ac_header_preproc
=yes
38394 echo "$as_me: failed program was:" >&5
38395 sed 's/^/| /' conftest.
$ac_ext >&5
38397 ac_header_preproc
=no
38399 rm -f conftest.err conftest.
$ac_ext
38400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38401 echo "${ECHO_T}$ac_header_preproc" >&6
38403 # So? What about this header?
38404 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38409 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38410 ac_header_preproc
=yes
38413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38417 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38418 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38419 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38420 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38423 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38424 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38427 ## ----------------------------------------- ##
38428 ## Report this to wx-dev@lists.wxwidgets.org ##
38429 ## ----------------------------------------- ##
38432 sed "s/^/$as_me: WARNING: /" >&2
38435 echo "$as_me:$LINENO: checking for $ac_header" >&5
38436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38438 echo $ECHO_N "(cached) $ECHO_C" >&6
38440 eval "$as_ac_Header=\$ac_header_preproc"
38442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38447 cat >>confdefs.h
<<_ACEOF
38448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38455 if test "$ac_cv_header_sched_h" = "yes"; then
38456 echo "$as_me:$LINENO: checking for sched_yield" >&5
38457 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
38458 if test "${ac_cv_func_sched_yield+set}" = set; then
38459 echo $ECHO_N "(cached) $ECHO_C" >&6
38461 cat >conftest.
$ac_ext <<_ACEOF
38464 cat confdefs.h
>>conftest.
$ac_ext
38465 cat >>conftest.
$ac_ext <<_ACEOF
38466 /* end confdefs.h. */
38467 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38469 #define sched_yield innocuous_sched_yield
38471 /* System header to define __stub macros and hopefully few prototypes,
38472 which can conflict with char sched_yield (); below.
38473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38474 <limits.h> exists even on freestanding compilers. */
38477 # include <limits.h>
38479 # include <assert.h>
38484 /* Override any gcc2 internal prototype to avoid an error. */
38489 /* We use char because int might match the return type of a gcc2
38490 builtin and then its argument prototype would still apply. */
38491 char sched_yield ();
38492 /* The GNU C library defines this for functions which it implements
38493 to always fail with ENOSYS. Some functions are actually named
38494 something starting with __ and the normal name is an alias. */
38495 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
38498 char (*f) () = sched_yield;
38507 return f != sched_yield;
38512 rm -f conftest.
$ac_objext conftest
$ac_exeext
38513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38514 (eval $ac_link) 2>conftest.er1
38516 grep -v '^ *+' conftest.er1
>conftest.err
38518 cat conftest.err
>&5
38519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38520 (exit $ac_status); } &&
38521 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38523 (eval $ac_try) 2>&5
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); }; } &&
38527 { ac_try
='test -s conftest$ac_exeext'
38528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38529 (eval $ac_try) 2>&5
38531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38532 (exit $ac_status); }; }; then
38533 ac_cv_func_sched_yield
=yes
38535 echo "$as_me: failed program was:" >&5
38536 sed 's/^/| /' conftest.
$ac_ext >&5
38538 ac_cv_func_sched_yield
=no
38540 rm -f conftest.err conftest.
$ac_objext \
38541 conftest
$ac_exeext conftest.
$ac_ext
38543 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38544 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
38545 if test $ac_cv_func_sched_yield = yes; then
38546 cat >>confdefs.h
<<\_ACEOF
38547 #define HAVE_SCHED_YIELD 1
38552 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38553 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
38554 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38555 echo $ECHO_N "(cached) $ECHO_C" >&6
38557 ac_check_lib_save_LIBS
=$LIBS
38558 LIBS
="-lposix4 $LIBS"
38559 cat >conftest.
$ac_ext <<_ACEOF
38562 cat confdefs.h
>>conftest.
$ac_ext
38563 cat >>conftest.
$ac_ext <<_ACEOF
38564 /* end confdefs.h. */
38566 /* Override any gcc2 internal prototype to avoid an error. */
38570 /* We use char because int might match the return type of a gcc2
38571 builtin and then its argument prototype would still apply. */
38572 char sched_yield ();
38581 rm -f conftest.
$ac_objext conftest
$ac_exeext
38582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38583 (eval $ac_link) 2>conftest.er1
38585 grep -v '^ *+' conftest.er1
>conftest.err
38587 cat conftest.err
>&5
38588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38589 (exit $ac_status); } &&
38590 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38592 (eval $ac_try) 2>&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); }; } &&
38596 { ac_try
='test -s conftest$ac_exeext'
38597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38598 (eval $ac_try) 2>&5
38600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38601 (exit $ac_status); }; }; then
38602 ac_cv_lib_posix4_sched_yield
=yes
38604 echo "$as_me: failed program was:" >&5
38605 sed 's/^/| /' conftest.
$ac_ext >&5
38607 ac_cv_lib_posix4_sched_yield
=no
38609 rm -f conftest.err conftest.
$ac_objext \
38610 conftest
$ac_exeext conftest.
$ac_ext
38611 LIBS
=$ac_check_lib_save_LIBS
38613 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38614 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38615 if test $ac_cv_lib_posix4_sched_yield = yes; then
38616 cat >>confdefs.h
<<\_ACEOF
38617 #define HAVE_SCHED_YIELD 1
38619 POSIX4_LINK
=" -lposix4"
38621 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38622 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38633 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38634 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38635 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38636 echo $ECHO_N "(cached) $ECHO_C" >&6
38638 cat >conftest.
$ac_ext <<_ACEOF
38641 cat confdefs.h
>>conftest.
$ac_ext
38642 cat >>conftest.
$ac_ext <<_ACEOF
38643 /* end confdefs.h. */
38644 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38646 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38648 /* System header to define __stub macros and hopefully few prototypes,
38649 which can conflict with char pthread_attr_getschedpolicy (); below.
38650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38651 <limits.h> exists even on freestanding compilers. */
38654 # include <limits.h>
38656 # include <assert.h>
38659 #undef pthread_attr_getschedpolicy
38661 /* Override any gcc2 internal prototype to avoid an error. */
38666 /* We use char because int might match the return type of a gcc2
38667 builtin and then its argument prototype would still apply. */
38668 char pthread_attr_getschedpolicy ();
38669 /* The GNU C library defines this for functions which it implements
38670 to always fail with ENOSYS. Some functions are actually named
38671 something starting with __ and the normal name is an alias. */
38672 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38675 char (*f) () = pthread_attr_getschedpolicy;
38684 return f != pthread_attr_getschedpolicy;
38689 rm -f conftest.
$ac_objext conftest
$ac_exeext
38690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38691 (eval $ac_link) 2>conftest.er1
38693 grep -v '^ *+' conftest.er1
>conftest.err
38695 cat conftest.err
>&5
38696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38697 (exit $ac_status); } &&
38698 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38700 (eval $ac_try) 2>&5
38702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38703 (exit $ac_status); }; } &&
38704 { ac_try
='test -s conftest$ac_exeext'
38705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38706 (eval $ac_try) 2>&5
38708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38709 (exit $ac_status); }; }; then
38710 ac_cv_func_pthread_attr_getschedpolicy
=yes
38712 echo "$as_me: failed program was:" >&5
38713 sed 's/^/| /' conftest.
$ac_ext >&5
38715 ac_cv_func_pthread_attr_getschedpolicy
=no
38717 rm -f conftest.err conftest.
$ac_objext \
38718 conftest
$ac_exeext conftest.
$ac_ext
38720 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38721 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38722 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38723 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38724 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38725 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38726 echo $ECHO_N "(cached) $ECHO_C" >&6
38728 cat >conftest.
$ac_ext <<_ACEOF
38731 cat confdefs.h
>>conftest.
$ac_ext
38732 cat >>conftest.
$ac_ext <<_ACEOF
38733 /* end confdefs.h. */
38734 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38736 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38738 /* System header to define __stub macros and hopefully few prototypes,
38739 which can conflict with char pthread_attr_setschedparam (); below.
38740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38741 <limits.h> exists even on freestanding compilers. */
38744 # include <limits.h>
38746 # include <assert.h>
38749 #undef pthread_attr_setschedparam
38751 /* Override any gcc2 internal prototype to avoid an error. */
38756 /* We use char because int might match the return type of a gcc2
38757 builtin and then its argument prototype would still apply. */
38758 char pthread_attr_setschedparam ();
38759 /* The GNU C library defines this for functions which it implements
38760 to always fail with ENOSYS. Some functions are actually named
38761 something starting with __ and the normal name is an alias. */
38762 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38765 char (*f) () = pthread_attr_setschedparam;
38774 return f != pthread_attr_setschedparam;
38779 rm -f conftest.
$ac_objext conftest
$ac_exeext
38780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38781 (eval $ac_link) 2>conftest.er1
38783 grep -v '^ *+' conftest.er1
>conftest.err
38785 cat conftest.err
>&5
38786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38787 (exit $ac_status); } &&
38788 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38790 (eval $ac_try) 2>&5
38792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38793 (exit $ac_status); }; } &&
38794 { ac_try
='test -s conftest$ac_exeext'
38795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38796 (eval $ac_try) 2>&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); }; }; then
38800 ac_cv_func_pthread_attr_setschedparam
=yes
38802 echo "$as_me: failed program was:" >&5
38803 sed 's/^/| /' conftest.
$ac_ext >&5
38805 ac_cv_func_pthread_attr_setschedparam
=no
38807 rm -f conftest.err conftest.
$ac_objext \
38808 conftest
$ac_exeext conftest.
$ac_ext
38810 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38811 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38812 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38813 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38814 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38815 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38816 echo $ECHO_N "(cached) $ECHO_C" >&6
38818 cat >conftest.
$ac_ext <<_ACEOF
38821 cat confdefs.h
>>conftest.
$ac_ext
38822 cat >>conftest.
$ac_ext <<_ACEOF
38823 /* end confdefs.h. */
38824 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38826 #define sched_get_priority_max innocuous_sched_get_priority_max
38828 /* System header to define __stub macros and hopefully few prototypes,
38829 which can conflict with char sched_get_priority_max (); below.
38830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38831 <limits.h> exists even on freestanding compilers. */
38834 # include <limits.h>
38836 # include <assert.h>
38839 #undef sched_get_priority_max
38841 /* Override any gcc2 internal prototype to avoid an error. */
38846 /* We use char because int might match the return type of a gcc2
38847 builtin and then its argument prototype would still apply. */
38848 char sched_get_priority_max ();
38849 /* The GNU C library defines this for functions which it implements
38850 to always fail with ENOSYS. Some functions are actually named
38851 something starting with __ and the normal name is an alias. */
38852 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38855 char (*f) () = sched_get_priority_max;
38864 return f != sched_get_priority_max;
38869 rm -f conftest.
$ac_objext conftest
$ac_exeext
38870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38871 (eval $ac_link) 2>conftest.er1
38873 grep -v '^ *+' conftest.er1
>conftest.err
38875 cat conftest.err
>&5
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); } &&
38878 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38880 (eval $ac_try) 2>&5
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); }; } &&
38884 { ac_try
='test -s conftest$ac_exeext'
38885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38886 (eval $ac_try) 2>&5
38888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889 (exit $ac_status); }; }; then
38890 ac_cv_func_sched_get_priority_max
=yes
38892 echo "$as_me: failed program was:" >&5
38893 sed 's/^/| /' conftest.
$ac_ext >&5
38895 ac_cv_func_sched_get_priority_max
=no
38897 rm -f conftest.err conftest.
$ac_objext \
38898 conftest
$ac_exeext conftest.
$ac_ext
38900 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38901 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38902 if test $ac_cv_func_sched_get_priority_max = yes; then
38905 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38906 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38907 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38908 echo $ECHO_N "(cached) $ECHO_C" >&6
38910 ac_check_lib_save_LIBS
=$LIBS
38911 LIBS
="-lposix4 $LIBS"
38912 cat >conftest.
$ac_ext <<_ACEOF
38915 cat confdefs.h
>>conftest.
$ac_ext
38916 cat >>conftest.
$ac_ext <<_ACEOF
38917 /* end confdefs.h. */
38919 /* Override any gcc2 internal prototype to avoid an error. */
38923 /* We use char because int might match the return type of a gcc2
38924 builtin and then its argument prototype would still apply. */
38925 char sched_get_priority_max ();
38929 sched_get_priority_max ();
38934 rm -f conftest.
$ac_objext conftest
$ac_exeext
38935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38936 (eval $ac_link) 2>conftest.er1
38938 grep -v '^ *+' conftest.er1
>conftest.err
38940 cat conftest.err
>&5
38941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38942 (exit $ac_status); } &&
38943 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38945 (eval $ac_try) 2>&5
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); }; } &&
38949 { ac_try
='test -s conftest$ac_exeext'
38950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38951 (eval $ac_try) 2>&5
38953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38954 (exit $ac_status); }; }; then
38955 ac_cv_lib_posix4_sched_get_priority_max
=yes
38957 echo "$as_me: failed program was:" >&5
38958 sed 's/^/| /' conftest.
$ac_ext >&5
38960 ac_cv_lib_posix4_sched_get_priority_max
=no
38962 rm -f conftest.err conftest.
$ac_objext \
38963 conftest
$ac_exeext conftest.
$ac_ext
38964 LIBS
=$ac_check_lib_save_LIBS
38966 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38967 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38968 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38971 POSIX4_LINK
=" -lposix4"
38985 if test "$HAVE_PRIOR_FUNCS" = 1; then
38986 cat >>confdefs.h
<<\_ACEOF
38987 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38991 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38992 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38995 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38996 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38997 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38998 echo $ECHO_N "(cached) $ECHO_C" >&6
39000 cat >conftest.
$ac_ext <<_ACEOF
39003 cat confdefs.h
>>conftest.
$ac_ext
39004 cat >>conftest.
$ac_ext <<_ACEOF
39005 /* end confdefs.h. */
39006 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39008 #define pthread_cancel innocuous_pthread_cancel
39010 /* System header to define __stub macros and hopefully few prototypes,
39011 which can conflict with char pthread_cancel (); below.
39012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39013 <limits.h> exists even on freestanding compilers. */
39016 # include <limits.h>
39018 # include <assert.h>
39021 #undef pthread_cancel
39023 /* Override any gcc2 internal prototype to avoid an error. */
39028 /* We use char because int might match the return type of a gcc2
39029 builtin and then its argument prototype would still apply. */
39030 char pthread_cancel ();
39031 /* The GNU C library defines this for functions which it implements
39032 to always fail with ENOSYS. Some functions are actually named
39033 something starting with __ and the normal name is an alias. */
39034 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39037 char (*f) () = pthread_cancel;
39046 return f != pthread_cancel;
39051 rm -f conftest.
$ac_objext conftest
$ac_exeext
39052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39053 (eval $ac_link) 2>conftest.er1
39055 grep -v '^ *+' conftest.er1
>conftest.err
39057 cat conftest.err
>&5
39058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39059 (exit $ac_status); } &&
39060 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39062 (eval $ac_try) 2>&5
39064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39065 (exit $ac_status); }; } &&
39066 { ac_try
='test -s conftest$ac_exeext'
39067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39068 (eval $ac_try) 2>&5
39070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39071 (exit $ac_status); }; }; then
39072 ac_cv_func_pthread_cancel
=yes
39074 echo "$as_me: failed program was:" >&5
39075 sed 's/^/| /' conftest.
$ac_ext >&5
39077 ac_cv_func_pthread_cancel
=no
39079 rm -f conftest.err conftest.
$ac_objext \
39080 conftest
$ac_exeext conftest.
$ac_ext
39082 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39083 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39084 if test $ac_cv_func_pthread_cancel = yes; then
39085 cat >>confdefs.h
<<\_ACEOF
39086 #define HAVE_PTHREAD_CANCEL 1
39090 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39091 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39095 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39096 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39097 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39098 echo $ECHO_N "(cached) $ECHO_C" >&6
39100 cat >conftest.
$ac_ext <<_ACEOF
39103 cat confdefs.h
>>conftest.
$ac_ext
39104 cat >>conftest.
$ac_ext <<_ACEOF
39105 /* end confdefs.h. */
39106 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39108 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39110 /* System header to define __stub macros and hopefully few prototypes,
39111 which can conflict with char pthread_attr_setstacksize (); below.
39112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39113 <limits.h> exists even on freestanding compilers. */
39116 # include <limits.h>
39118 # include <assert.h>
39121 #undef pthread_attr_setstacksize
39123 /* Override any gcc2 internal prototype to avoid an error. */
39128 /* We use char because int might match the return type of a gcc2
39129 builtin and then its argument prototype would still apply. */
39130 char pthread_attr_setstacksize ();
39131 /* The GNU C library defines this for functions which it implements
39132 to always fail with ENOSYS. Some functions are actually named
39133 something starting with __ and the normal name is an alias. */
39134 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39137 char (*f) () = pthread_attr_setstacksize;
39146 return f != pthread_attr_setstacksize;
39151 rm -f conftest.
$ac_objext conftest
$ac_exeext
39152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39153 (eval $ac_link) 2>conftest.er1
39155 grep -v '^ *+' conftest.er1
>conftest.err
39157 cat conftest.err
>&5
39158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39159 (exit $ac_status); } &&
39160 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39162 (eval $ac_try) 2>&5
39164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39165 (exit $ac_status); }; } &&
39166 { ac_try
='test -s conftest$ac_exeext'
39167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39168 (eval $ac_try) 2>&5
39170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39171 (exit $ac_status); }; }; then
39172 ac_cv_func_pthread_attr_setstacksize
=yes
39174 echo "$as_me: failed program was:" >&5
39175 sed 's/^/| /' conftest.
$ac_ext >&5
39177 ac_cv_func_pthread_attr_setstacksize
=no
39179 rm -f conftest.err conftest.
$ac_objext \
39180 conftest
$ac_exeext conftest.
$ac_ext
39182 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39183 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39184 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39185 cat >>confdefs.h
<<\_ACEOF
39186 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39193 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39194 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39195 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39196 echo $ECHO_N "(cached) $ECHO_C" >&6
39199 cat >conftest.
$ac_ext <<_ACEOF
39202 cat confdefs.h
>>conftest.
$ac_ext
39203 cat >>conftest.
$ac_ext <<_ACEOF
39204 /* end confdefs.h. */
39205 #include <pthread.h>
39210 pthread_mutexattr_t attr;
39211 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39217 rm -f conftest.
$ac_objext
39218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39219 (eval $ac_compile) 2>conftest.er1
39221 grep -v '^ *+' conftest.er1
>conftest.err
39223 cat conftest.err
>&5
39224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39225 (exit $ac_status); } &&
39226 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39228 (eval $ac_try) 2>&5
39230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39231 (exit $ac_status); }; } &&
39232 { ac_try
='test -s conftest.$ac_objext'
39233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39234 (eval $ac_try) 2>&5
39236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39237 (exit $ac_status); }; }; then
39238 wx_cv_type_pthread_mutexattr_t
=yes
39240 echo "$as_me: failed program was:" >&5
39241 sed 's/^/| /' conftest.
$ac_ext >&5
39243 wx_cv_type_pthread_mutexattr_t
=no
39246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39249 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39250 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39252 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39253 cat >>confdefs.h
<<\_ACEOF
39254 #define HAVE_PTHREAD_MUTEXATTR_T 1
39258 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39259 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39260 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39261 echo $ECHO_N "(cached) $ECHO_C" >&6
39264 cat >conftest.
$ac_ext <<_ACEOF
39267 cat confdefs.h
>>conftest.
$ac_ext
39268 cat >>conftest.
$ac_ext <<_ACEOF
39269 /* end confdefs.h. */
39270 #include <pthread.h>
39275 pthread_mutexattr_t attr;
39276 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39282 rm -f conftest.
$ac_objext
39283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39284 (eval $ac_compile) 2>conftest.er1
39286 grep -v '^ *+' conftest.er1
>conftest.err
39288 cat conftest.err
>&5
39289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39290 (exit $ac_status); } &&
39291 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39293 (eval $ac_try) 2>&5
39295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39296 (exit $ac_status); }; } &&
39297 { ac_try
='test -s conftest.$ac_objext'
39298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39299 (eval $ac_try) 2>&5
39301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39302 (exit $ac_status); }; }; then
39303 wx_cv_func_pthread_mutexattr_settype_decl
=yes
39305 echo "$as_me: failed program was:" >&5
39306 sed 's/^/| /' conftest.
$ac_ext >&5
39308 wx_cv_func_pthread_mutexattr_settype_decl
=no
39311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39314 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39315 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39316 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39317 cat >>confdefs.h
<<\_ACEOF
39318 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39323 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39324 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39325 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39326 echo $ECHO_N "(cached) $ECHO_C" >&6
39329 cat >conftest.
$ac_ext <<_ACEOF
39332 cat confdefs.h
>>conftest.
$ac_ext
39333 cat >>conftest.
$ac_ext <<_ACEOF
39334 /* end confdefs.h. */
39335 #include <pthread.h>
39340 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39346 rm -f conftest.
$ac_objext
39347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39348 (eval $ac_compile) 2>conftest.er1
39350 grep -v '^ *+' conftest.er1
>conftest.err
39352 cat conftest.err
>&5
39353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39354 (exit $ac_status); } &&
39355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39357 (eval $ac_try) 2>&5
39359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39360 (exit $ac_status); }; } &&
39361 { ac_try
='test -s conftest.$ac_objext'
39362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39363 (eval $ac_try) 2>&5
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); }; }; then
39368 wx_cv_type_pthread_rec_mutex_init
=yes
39371 echo "$as_me: failed program was:" >&5
39372 sed 's/^/| /' conftest.
$ac_ext >&5
39375 wx_cv_type_pthread_rec_mutex_init
=no
39379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39382 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39383 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39384 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39385 cat >>confdefs.h
<<\_ACEOF
39386 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39390 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39391 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39397 if test "$wxUSE_THREADS" = "yes" ; then
39400 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39401 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39402 if test "${wx_cv_cflags_mthread+set}" = set; then
39403 echo $ECHO_N "(cached) $ECHO_C" >&6
39406 CXXFLAGS_OLD
="$CXXFLAGS"
39407 CXXFLAGS
="-mthreads $CXXFLAGS"
39408 cat >conftest.
$ac_ext <<_ACEOF
39411 cat confdefs.h
>>conftest.
$ac_ext
39412 cat >>conftest.
$ac_ext <<_ACEOF
39413 /* end confdefs.h. */
39423 rm -f conftest.
$ac_objext
39424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39425 (eval $ac_compile) 2>conftest.er1
39427 grep -v '^ *+' conftest.er1
>conftest.err
39429 cat conftest.err
>&5
39430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39431 (exit $ac_status); } &&
39432 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39434 (eval $ac_try) 2>&5
39436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39437 (exit $ac_status); }; } &&
39438 { ac_try
='test -s conftest.$ac_objext'
39439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39440 (eval $ac_try) 2>&5
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); }; }; then
39444 wx_cv_cflags_mthread
=yes
39446 echo "$as_me: failed program was:" >&5
39447 sed 's/^/| /' conftest.
$ac_ext >&5
39449 wx_cv_cflags_mthread
=no
39452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39456 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39457 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
39459 if test "$wx_cv_cflags_mthread" = "yes"; then
39460 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
39461 LDFLAGS
="$LDFLAGS -mthreads"
39463 CXXFLAGS
="$CXXFLAGS_OLD"
39467 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39468 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
39469 LDFLAGS
="$LDFLAGS -Zmt"
39475 echo "$as_me:$LINENO: checking for localtime_r" >&5
39476 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
39477 if test "${ac_cv_func_localtime_r+set}" = set; then
39478 echo $ECHO_N "(cached) $ECHO_C" >&6
39480 cat >conftest.
$ac_ext <<_ACEOF
39483 cat confdefs.h
>>conftest.
$ac_ext
39484 cat >>conftest.
$ac_ext <<_ACEOF
39485 /* end confdefs.h. */
39486 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39488 #define localtime_r innocuous_localtime_r
39490 /* System header to define __stub macros and hopefully few prototypes,
39491 which can conflict with char localtime_r (); below.
39492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39493 <limits.h> exists even on freestanding compilers. */
39496 # include <limits.h>
39498 # include <assert.h>
39503 /* Override any gcc2 internal prototype to avoid an error. */
39508 /* We use char because int might match the return type of a gcc2
39509 builtin and then its argument prototype would still apply. */
39510 char localtime_r ();
39511 /* The GNU C library defines this for functions which it implements
39512 to always fail with ENOSYS. Some functions are actually named
39513 something starting with __ and the normal name is an alias. */
39514 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
39517 char (*f) () = localtime_r;
39526 return f != localtime_r;
39531 rm -f conftest.
$ac_objext conftest
$ac_exeext
39532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39533 (eval $ac_link) 2>conftest.er1
39535 grep -v '^ *+' conftest.er1
>conftest.err
39537 cat conftest.err
>&5
39538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39539 (exit $ac_status); } &&
39540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39542 (eval $ac_try) 2>&5
39544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39545 (exit $ac_status); }; } &&
39546 { ac_try
='test -s conftest$ac_exeext'
39547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39548 (eval $ac_try) 2>&5
39550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39551 (exit $ac_status); }; }; then
39552 ac_cv_func_localtime_r
=yes
39554 echo "$as_me: failed program was:" >&5
39555 sed 's/^/| /' conftest.
$ac_ext >&5
39557 ac_cv_func_localtime_r
=no
39559 rm -f conftest.err conftest.
$ac_objext \
39560 conftest
$ac_exeext conftest.
$ac_ext
39562 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39563 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
39564 if test $ac_cv_func_localtime_r = yes; then
39565 cat >>confdefs.h
<<\_ACEOF
39566 #define HAVE_LOCALTIME_R 1
39571 echo "$as_me:$LINENO: checking for gmtime_r" >&5
39572 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
39573 if test "${ac_cv_func_gmtime_r+set}" = set; then
39574 echo $ECHO_N "(cached) $ECHO_C" >&6
39576 cat >conftest.
$ac_ext <<_ACEOF
39579 cat confdefs.h
>>conftest.
$ac_ext
39580 cat >>conftest.
$ac_ext <<_ACEOF
39581 /* end confdefs.h. */
39582 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39584 #define gmtime_r innocuous_gmtime_r
39586 /* System header to define __stub macros and hopefully few prototypes,
39587 which can conflict with char gmtime_r (); below.
39588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39589 <limits.h> exists even on freestanding compilers. */
39592 # include <limits.h>
39594 # include <assert.h>
39599 /* Override any gcc2 internal prototype to avoid an error. */
39604 /* We use char because int might match the return type of a gcc2
39605 builtin and then its argument prototype would still apply. */
39607 /* The GNU C library defines this for functions which it implements
39608 to always fail with ENOSYS. Some functions are actually named
39609 something starting with __ and the normal name is an alias. */
39610 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39613 char (*f) () = gmtime_r;
39622 return f != gmtime_r;
39627 rm -f conftest.
$ac_objext conftest
$ac_exeext
39628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39629 (eval $ac_link) 2>conftest.er1
39631 grep -v '^ *+' conftest.er1
>conftest.err
39633 cat conftest.err
>&5
39634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39635 (exit $ac_status); } &&
39636 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39638 (eval $ac_try) 2>&5
39640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39641 (exit $ac_status); }; } &&
39642 { ac_try
='test -s conftest$ac_exeext'
39643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39644 (eval $ac_try) 2>&5
39646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39647 (exit $ac_status); }; }; then
39648 ac_cv_func_gmtime_r
=yes
39650 echo "$as_me: failed program was:" >&5
39651 sed 's/^/| /' conftest.
$ac_ext >&5
39653 ac_cv_func_gmtime_r
=no
39655 rm -f conftest.err conftest.
$ac_objext \
39656 conftest
$ac_exeext conftest.
$ac_ext
39658 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39659 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39660 if test $ac_cv_func_gmtime_r = yes; then
39661 cat >>confdefs.h
<<\_ACEOF
39662 #define HAVE_GMTIME_R 1
39667 echo "$as_me:$LINENO: checking for readdir_r" >&5
39668 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39669 if test "${ac_cv_func_readdir_r+set}" = set; then
39670 echo $ECHO_N "(cached) $ECHO_C" >&6
39672 cat >conftest.
$ac_ext <<_ACEOF
39675 cat confdefs.h
>>conftest.
$ac_ext
39676 cat >>conftest.
$ac_ext <<_ACEOF
39677 /* end confdefs.h. */
39678 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39680 #define readdir_r innocuous_readdir_r
39682 /* System header to define __stub macros and hopefully few prototypes,
39683 which can conflict with char readdir_r (); below.
39684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39685 <limits.h> exists even on freestanding compilers. */
39688 # include <limits.h>
39690 # include <assert.h>
39695 /* Override any gcc2 internal prototype to avoid an error. */
39700 /* We use char because int might match the return type of a gcc2
39701 builtin and then its argument prototype would still apply. */
39703 /* The GNU C library defines this for functions which it implements
39704 to always fail with ENOSYS. Some functions are actually named
39705 something starting with __ and the normal name is an alias. */
39706 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39709 char (*f) () = readdir_r;
39718 return f != readdir_r;
39723 rm -f conftest.
$ac_objext conftest
$ac_exeext
39724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39725 (eval $ac_link) 2>conftest.er1
39727 grep -v '^ *+' conftest.er1
>conftest.err
39729 cat conftest.err
>&5
39730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39731 (exit $ac_status); } &&
39732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39734 (eval $ac_try) 2>&5
39736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39737 (exit $ac_status); }; } &&
39738 { ac_try
='test -s conftest$ac_exeext'
39739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39740 (eval $ac_try) 2>&5
39742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39743 (exit $ac_status); }; }; then
39744 ac_cv_func_readdir_r
=yes
39746 echo "$as_me: failed program was:" >&5
39747 sed 's/^/| /' conftest.
$ac_ext >&5
39749 ac_cv_func_readdir_r
=no
39751 rm -f conftest.err conftest.
$ac_objext \
39752 conftest
$ac_exeext conftest.
$ac_ext
39754 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39755 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39756 if test $ac_cv_func_readdir_r = yes; then
39757 cat >>confdefs.h
<<\_ACEOF
39758 #define HAVE_READDIR_R 1
39767 ac_cpp
='$CPP $CPPFLAGS'
39768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39772 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39773 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39775 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39776 echo $ECHO_N "(cached) $ECHO_C" >&6
39780 ################################################################
39782 ac_cv_func_which_gethostbyname_r
=unknown
39785 # ONE ARGUMENT (sanity check)
39788 # This should fail, as there is no variant of gethostbyname_r() that takes
39789 # a single argument. If it actually compiles, then we can assume that
39790 # netdb.h is not declaring the function, and the compiler is thereby
39791 # assuming an implicit prototype. In which case, we're out of luck.
39793 cat >conftest.
$ac_ext <<_ACEOF
39796 cat confdefs.h
>>conftest.
$ac_ext
39797 cat >>conftest.
$ac_ext <<_ACEOF
39798 /* end confdefs.h. */
39804 char *name = "www.gnu.org";
39805 (void)gethostbyname_r(name) /* ; */
39811 rm -f conftest.
$ac_objext
39812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39813 (eval $ac_compile) 2>conftest.er1
39815 grep -v '^ *+' conftest.er1
>conftest.err
39817 cat conftest.err
>&5
39818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39819 (exit $ac_status); } &&
39820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
39826 { ac_try
='test -s conftest.$ac_objext'
39827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39828 (eval $ac_try) 2>&5
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); }; }; then
39832 ac_cv_func_which_gethostbyname_r
=no
39834 echo "$as_me: failed program was:" >&5
39835 sed 's/^/| /' conftest.
$ac_ext >&5
39838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39845 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39847 cat >conftest.
$ac_ext <<_ACEOF
39850 cat confdefs.h
>>conftest.
$ac_ext
39851 cat >>conftest.
$ac_ext <<_ACEOF
39852 /* end confdefs.h. */
39858 char *name = "www.gnu.org";
39859 struct hostent ret, *retp;
39863 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39869 rm -f conftest.
$ac_objext
39870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39871 (eval $ac_compile) 2>conftest.er1
39873 grep -v '^ *+' conftest.er1
>conftest.err
39875 cat conftest.err
>&5
39876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39877 (exit $ac_status); } &&
39878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39880 (eval $ac_try) 2>&5
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); }; } &&
39884 { ac_try
='test -s conftest.$ac_objext'
39885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39886 (eval $ac_try) 2>&5
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); }; }; then
39890 ac_cv_func_which_gethostbyname_r
=six
39892 echo "$as_me: failed program was:" >&5
39893 sed 's/^/| /' conftest.
$ac_ext >&5
39896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39905 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39907 cat >conftest.
$ac_ext <<_ACEOF
39910 cat confdefs.h
>>conftest.
$ac_ext
39911 cat >>conftest.
$ac_ext <<_ACEOF
39912 /* end confdefs.h. */
39918 char *name = "www.gnu.org";
39919 struct hostent ret;
39923 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39929 rm -f conftest.
$ac_objext
39930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39931 (eval $ac_compile) 2>conftest.er1
39933 grep -v '^ *+' conftest.er1
>conftest.err
39935 cat conftest.err
>&5
39936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39937 (exit $ac_status); } &&
39938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39940 (eval $ac_try) 2>&5
39942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39943 (exit $ac_status); }; } &&
39944 { ac_try
='test -s conftest.$ac_objext'
39945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39946 (eval $ac_try) 2>&5
39948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39949 (exit $ac_status); }; }; then
39950 ac_cv_func_which_gethostbyname_r
=five
39952 echo "$as_me: failed program was:" >&5
39953 sed 's/^/| /' conftest.
$ac_ext >&5
39956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39962 # (e.g. AIX, HP-UX, Tru64)
39965 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39967 cat >conftest.
$ac_ext <<_ACEOF
39970 cat confdefs.h
>>conftest.
$ac_ext
39971 cat >>conftest.
$ac_ext <<_ACEOF
39972 /* end confdefs.h. */
39978 char *name = "www.gnu.org";
39979 struct hostent ret;
39980 struct hostent_data data;
39981 (void)gethostbyname_r(name, &ret, &data) /* ; */
39987 rm -f conftest.
$ac_objext
39988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39989 (eval $ac_compile) 2>conftest.er1
39991 grep -v '^ *+' conftest.er1
>conftest.err
39993 cat conftest.err
>&5
39994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39995 (exit $ac_status); } &&
39996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39998 (eval $ac_try) 2>&5
40000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40001 (exit $ac_status); }; } &&
40002 { ac_try
='test -s conftest.$ac_objext'
40003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40004 (eval $ac_try) 2>&5
40006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40007 (exit $ac_status); }; }; then
40008 ac_cv_func_which_gethostbyname_r
=three
40010 echo "$as_me: failed program was:" >&5
40011 sed 's/^/| /' conftest.
$ac_ext >&5
40014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40018 ################################################################
40023 case "$ac_cv_func_which_gethostbyname_r" in
40025 echo "$as_me:$LINENO: result: three" >&5
40026 echo "${ECHO_T}three" >&6
40027 cat >>confdefs.h
<<\_ACEOF
40028 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40034 echo "$as_me:$LINENO: result: five" >&5
40035 echo "${ECHO_T}five" >&6
40036 cat >>confdefs.h
<<\_ACEOF
40037 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40043 echo "$as_me:$LINENO: result: six" >&5
40044 echo "${ECHO_T}six" >&6
40045 cat >>confdefs.h
<<\_ACEOF
40046 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40052 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40053 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40057 echo "$as_me:$LINENO: result: can't tell" >&5
40058 echo "${ECHO_T}can't tell" >&6
40062 { { echo "$as_me:$LINENO: error: internal error" >&5
40063 echo "$as_me: error: internal error" >&2;}
40064 { (exit 1); exit 1; }; }
40069 ac_cpp
='$CXXCPP $CPPFLAGS'
40070 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40071 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40072 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40076 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40077 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40078 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40079 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40080 if test "${ac_cv_func_gethostbyname+set}" = set; then
40081 echo $ECHO_N "(cached) $ECHO_C" >&6
40083 cat >conftest.
$ac_ext <<_ACEOF
40086 cat confdefs.h
>>conftest.
$ac_ext
40087 cat >>conftest.
$ac_ext <<_ACEOF
40088 /* end confdefs.h. */
40089 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40091 #define gethostbyname innocuous_gethostbyname
40093 /* System header to define __stub macros and hopefully few prototypes,
40094 which can conflict with char gethostbyname (); below.
40095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40096 <limits.h> exists even on freestanding compilers. */
40099 # include <limits.h>
40101 # include <assert.h>
40104 #undef gethostbyname
40106 /* Override any gcc2 internal prototype to avoid an error. */
40111 /* We use char because int might match the return type of a gcc2
40112 builtin and then its argument prototype would still apply. */
40113 char gethostbyname ();
40114 /* The GNU C library defines this for functions which it implements
40115 to always fail with ENOSYS. Some functions are actually named
40116 something starting with __ and the normal name is an alias. */
40117 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40120 char (*f) () = gethostbyname;
40129 return f != gethostbyname;
40134 rm -f conftest.
$ac_objext conftest
$ac_exeext
40135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40136 (eval $ac_link) 2>conftest.er1
40138 grep -v '^ *+' conftest.er1
>conftest.err
40140 cat conftest.err
>&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); } &&
40143 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40145 (eval $ac_try) 2>&5
40147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40148 (exit $ac_status); }; } &&
40149 { ac_try
='test -s conftest$ac_exeext'
40150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40151 (eval $ac_try) 2>&5
40153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154 (exit $ac_status); }; }; then
40155 ac_cv_func_gethostbyname
=yes
40157 echo "$as_me: failed program was:" >&5
40158 sed 's/^/| /' conftest.
$ac_ext >&5
40160 ac_cv_func_gethostbyname
=no
40162 rm -f conftest.err conftest.
$ac_objext \
40163 conftest
$ac_exeext conftest.
$ac_ext
40165 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40166 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40167 if test $ac_cv_func_gethostbyname = yes; then
40168 cat >>confdefs.h
<<\_ACEOF
40169 #define HAVE_GETHOSTBYNAME 1
40175 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40176 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40177 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40178 echo $ECHO_N "(cached) $ECHO_C" >&6
40181 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40182 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40183 if test "${ac_cv_func_getservbyname_r+set}" = set; then
40184 echo $ECHO_N "(cached) $ECHO_C" >&6
40186 cat >conftest.
$ac_ext <<_ACEOF
40189 cat confdefs.h
>>conftest.
$ac_ext
40190 cat >>conftest.
$ac_ext <<_ACEOF
40191 /* end confdefs.h. */
40192 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
40193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40194 #define getservbyname_r innocuous_getservbyname_r
40196 /* System header to define __stub macros and hopefully few prototypes,
40197 which can conflict with char getservbyname_r (); below.
40198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40199 <limits.h> exists even on freestanding compilers. */
40202 # include <limits.h>
40204 # include <assert.h>
40207 #undef getservbyname_r
40209 /* Override any gcc2 internal prototype to avoid an error. */
40214 /* We use char because int might match the return type of a gcc2
40215 builtin and then its argument prototype would still apply. */
40216 char getservbyname_r ();
40217 /* The GNU C library defines this for functions which it implements
40218 to always fail with ENOSYS. Some functions are actually named
40219 something starting with __ and the normal name is an alias. */
40220 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
40223 char (*f) () = getservbyname_r;
40232 return f != getservbyname_r;
40237 rm -f conftest.
$ac_objext conftest
$ac_exeext
40238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40239 (eval $ac_link) 2>conftest.er1
40241 grep -v '^ *+' conftest.er1
>conftest.err
40243 cat conftest.err
>&5
40244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40245 (exit $ac_status); } &&
40246 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40248 (eval $ac_try) 2>&5
40250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40251 (exit $ac_status); }; } &&
40252 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
40258 ac_cv_func_getservbyname_r
=yes
40260 echo "$as_me: failed program was:" >&5
40261 sed 's/^/| /' conftest.
$ac_ext >&5
40263 ac_cv_func_getservbyname_r
=no
40265 rm -f conftest.err conftest.
$ac_objext \
40266 conftest
$ac_exeext conftest.
$ac_ext
40268 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
40269 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
40270 if test $ac_cv_func_getservbyname_r = yes; then
40272 cat >conftest.
$ac_ext <<_ACEOF
40275 cat confdefs.h
>>conftest.
$ac_ext
40276 cat >>conftest.
$ac_ext <<_ACEOF
40277 /* end confdefs.h. */
40279 # include <netdb.h>
40288 struct servent *se;
40289 struct servent_data data;
40290 (void) getservbyname_r(name, proto, se, &data);
40297 rm -f conftest.
$ac_objext
40298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40299 (eval $ac_compile) 2>conftest.er1
40301 grep -v '^ *+' conftest.er1
>conftest.err
40303 cat conftest.err
>&5
40304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40305 (exit $ac_status); } &&
40306 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40308 (eval $ac_try) 2>&5
40310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40311 (exit $ac_status); }; } &&
40312 { ac_try
='test -s conftest.$ac_objext'
40313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40314 (eval $ac_try) 2>&5
40316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40317 (exit $ac_status); }; }; then
40318 ac_cv_func_which_getservbyname_r
=four
40320 echo "$as_me: failed program was:" >&5
40321 sed 's/^/| /' conftest.
$ac_ext >&5
40324 cat >conftest.
$ac_ext <<_ACEOF
40327 cat confdefs.h
>>conftest.
$ac_ext
40328 cat >>conftest.
$ac_ext <<_ACEOF
40329 /* end confdefs.h. */
40331 # include <netdb.h>
40339 struct servent *se, *res;
40342 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40348 rm -f conftest.
$ac_objext
40349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40350 (eval $ac_compile) 2>conftest.er1
40352 grep -v '^ *+' conftest.er1
>conftest.err
40354 cat conftest.err
>&5
40355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40356 (exit $ac_status); } &&
40357 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40359 (eval $ac_try) 2>&5
40361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40362 (exit $ac_status); }; } &&
40363 { ac_try
='test -s conftest.$ac_objext'
40364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40365 (eval $ac_try) 2>&5
40367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40368 (exit $ac_status); }; }; then
40369 ac_cv_func_which_getservbyname_r
=six
40371 echo "$as_me: failed program was:" >&5
40372 sed 's/^/| /' conftest.
$ac_ext >&5
40375 cat >conftest.
$ac_ext <<_ACEOF
40378 cat confdefs.h
>>conftest.
$ac_ext
40379 cat >>conftest.
$ac_ext <<_ACEOF
40380 /* end confdefs.h. */
40382 # include <netdb.h>
40390 struct servent *se;
40393 (void) getservbyname_r(name, proto, se, buffer, buflen)
40399 rm -f conftest.
$ac_objext
40400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40401 (eval $ac_compile) 2>conftest.er1
40403 grep -v '^ *+' conftest.er1
>conftest.err
40405 cat conftest.err
>&5
40406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40407 (exit $ac_status); } &&
40408 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40410 (eval $ac_try) 2>&5
40412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40413 (exit $ac_status); }; } &&
40414 { ac_try
='test -s conftest.$ac_objext'
40415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40416 (eval $ac_try) 2>&5
40418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40419 (exit $ac_status); }; }; then
40420 ac_cv_func_which_getservbyname_r
=five
40422 echo "$as_me: failed program was:" >&5
40423 sed 's/^/| /' conftest.
$ac_ext >&5
40425 ac_cv_func_which_getservbyname_r
=no
40427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40440 ac_cv_func_which_getservbyname_r
=no
40444 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40445 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
40447 if test $ac_cv_func_which_getservbyname_r = six
; then
40448 cat >>confdefs.h
<<\_ACEOF
40449 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40452 elif test $ac_cv_func_which_getservbyname_r = five
; then
40453 cat >>confdefs.h
<<\_ACEOF
40454 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40457 elif test $ac_cv_func_which_getservbyname_r = four
; then
40458 cat >>confdefs.h
<<\_ACEOF
40459 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40466 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40467 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40469 for ac_func
in getservbyname
40471 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40472 echo "$as_me:$LINENO: checking for $ac_func" >&5
40473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40474 if eval "test \"\${$as_ac_var+set}\" = set"; then
40475 echo $ECHO_N "(cached) $ECHO_C" >&6
40477 cat >conftest.
$ac_ext <<_ACEOF
40480 cat confdefs.h
>>conftest.
$ac_ext
40481 cat >>conftest.
$ac_ext <<_ACEOF
40482 /* end confdefs.h. */
40483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40485 #define $ac_func innocuous_$ac_func
40487 /* System header to define __stub macros and hopefully few prototypes,
40488 which can conflict with char $ac_func (); below.
40489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40490 <limits.h> exists even on freestanding compilers. */
40493 # include <limits.h>
40495 # include <assert.h>
40500 /* Override any gcc2 internal prototype to avoid an error. */
40505 /* We use char because int might match the return type of a gcc2
40506 builtin and then its argument prototype would still apply. */
40508 /* The GNU C library defines this for functions which it implements
40509 to always fail with ENOSYS. Some functions are actually named
40510 something starting with __ and the normal name is an alias. */
40511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40514 char (*f) () = $ac_func;
40523 return f != $ac_func;
40528 rm -f conftest.
$ac_objext conftest
$ac_exeext
40529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40530 (eval $ac_link) 2>conftest.er1
40532 grep -v '^ *+' conftest.er1
>conftest.err
40534 cat conftest.err
>&5
40535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40536 (exit $ac_status); } &&
40537 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40539 (eval $ac_try) 2>&5
40541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40542 (exit $ac_status); }; } &&
40543 { ac_try
='test -s conftest$ac_exeext'
40544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40545 (eval $ac_try) 2>&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); }; }; then
40549 eval "$as_ac_var=yes"
40551 echo "$as_me: failed program was:" >&5
40552 sed 's/^/| /' conftest.
$ac_ext >&5
40554 eval "$as_ac_var=no"
40556 rm -f conftest.err conftest.
$ac_objext \
40557 conftest
$ac_exeext conftest.
$ac_ext
40559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40561 if test `eval echo '${'$as_ac_var'}'` = yes; then
40562 cat >>confdefs.h
<<_ACEOF
40563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40565 cat >>confdefs.h
<<\_ACEOF
40566 #define HAVE_GETSERVBYNAME 1
40574 if test "$wxUSE_THREADS" = "yes"; then
40575 cat >>confdefs.h
<<\_ACEOF
40576 #define wxUSE_THREADS 1
40580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40582 if test "$ac_cv_have_decl_strtok_r" = "yes"; then
40583 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40584 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
40585 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40586 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40587 echo "$as_me:$LINENO: result: yes" >&5
40588 echo "${ECHO_T}yes" >&6
40590 echo "$as_me:$LINENO: result: no" >&5
40591 echo "${ECHO_T}no" >&6
40596 if test "$WXGTK20" = 1 ; then
40597 cat >>confdefs.h
<<_ACEOF
40598 #define __WXGTK20__ $WXGTK20
40604 if test "$WXGTK12" = 1 ; then
40605 cat >>confdefs.h
<<_ACEOF
40606 #define __WXGTK12__ $WXGTK12
40611 if test "$WXGTK127" = 1 ; then
40612 cat >>confdefs.h
<<_ACEOF
40613 #define __WXGTK127__ $WXGTK127
40618 if test "$WXGPE" = 1 ; then
40619 cat >>confdefs.h
<<_ACEOF
40620 #define __WXGPE__ $WXGPE
40626 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40631 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40632 wxUSE_DEBUG_INFO
=yes
40633 if test "$GCC" = yes; then
40634 DEBUG_CFLAGS
="-ggdb"
40638 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40639 cat >>confdefs.h
<<\_ACEOF
40643 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40645 if test "$wxUSE_GTK" = 1 ; then
40646 if test "x$wxGTK_VERSION" = "x1" ; then
40647 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40652 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40653 cat >>confdefs.h
<<\_ACEOF
40654 #define wxUSE_MEMORY_TRACING 1
40657 cat >>confdefs.h
<<\_ACEOF
40658 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40661 cat >>confdefs.h
<<\_ACEOF
40662 #define wxUSE_DEBUG_NEW_ALWAYS 1
40665 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40668 if test "$wxUSE_DMALLOC" = "yes" ; then
40669 DMALLOC_LIBS
="-ldmallocthcxx"
40673 if test "$wxUSE_PROFILE" = "yes" ; then
40674 PROFILE_FLAGS
=" -pg"
40677 if test "$GCC" = "yes" ; then
40678 if test "$wxUSE_NO_RTTI" = "yes" ; then
40679 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40681 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40682 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40684 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40685 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40690 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40693 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40699 if test "$wxUSE_OPTIMISE" = "no" ; then
40700 if test "$GCC" = yes ; then
40701 OPTIMISE_CFLAGS
="-O0"
40704 if test "$GCC" = yes ; then
40706 *-pc-os2_emx | *-pc-os2-emx )
40707 OPTIMISE_CFLAGS
="-O2"
40710 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40714 OPTIMISE_CFLAGS
="-O"
40719 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
40720 cat >>confdefs.h
<<\_ACEOF
40721 #define WXWIN_COMPATIBILITY_2_4 1
40725 WXWIN_COMPATIBILITY_2_6
="yes"
40728 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
40729 cat >>confdefs.h
<<\_ACEOF
40730 #define WXWIN_COMPATIBILITY_2_6 1
40736 if test "$wxUSE_GUI" = "yes"; then
40737 cat >>confdefs.h
<<\_ACEOF
40738 #define wxUSE_GUI 1
40745 if test "$wxUSE_UNIX" = "yes"; then
40746 cat >>confdefs.h
<<\_ACEOF
40747 #define wxUSE_UNIX 1
40753 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40757 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40758 if test "$USE_DARWIN" = 1; then
40760 elif test "$USE_DOS" = 1; then
40764 for ac_func
in dlopen
40766 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40767 echo "$as_me:$LINENO: checking for $ac_func" >&5
40768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40769 if eval "test \"\${$as_ac_var+set}\" = set"; then
40770 echo $ECHO_N "(cached) $ECHO_C" >&6
40772 cat >conftest.
$ac_ext <<_ACEOF
40775 cat confdefs.h
>>conftest.
$ac_ext
40776 cat >>conftest.
$ac_ext <<_ACEOF
40777 /* end confdefs.h. */
40778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40780 #define $ac_func innocuous_$ac_func
40782 /* System header to define __stub macros and hopefully few prototypes,
40783 which can conflict with char $ac_func (); below.
40784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40785 <limits.h> exists even on freestanding compilers. */
40788 # include <limits.h>
40790 # include <assert.h>
40795 /* Override any gcc2 internal prototype to avoid an error. */
40800 /* We use char because int might match the return type of a gcc2
40801 builtin and then its argument prototype would still apply. */
40803 /* The GNU C library defines this for functions which it implements
40804 to always fail with ENOSYS. Some functions are actually named
40805 something starting with __ and the normal name is an alias. */
40806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40809 char (*f) () = $ac_func;
40818 return f != $ac_func;
40823 rm -f conftest.
$ac_objext conftest
$ac_exeext
40824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40825 (eval $ac_link) 2>conftest.er1
40827 grep -v '^ *+' conftest.er1
>conftest.err
40829 cat conftest.err
>&5
40830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40831 (exit $ac_status); } &&
40832 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40834 (eval $ac_try) 2>&5
40836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40837 (exit $ac_status); }; } &&
40838 { ac_try
='test -s conftest$ac_exeext'
40839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40840 (eval $ac_try) 2>&5
40842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40843 (exit $ac_status); }; }; then
40844 eval "$as_ac_var=yes"
40846 echo "$as_me: failed program was:" >&5
40847 sed 's/^/| /' conftest.
$ac_ext >&5
40849 eval "$as_ac_var=no"
40851 rm -f conftest.err conftest.
$ac_objext \
40852 conftest
$ac_exeext conftest.
$ac_ext
40854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40856 if test `eval echo '${'$as_ac_var'}'` = yes; then
40857 cat >>confdefs.h
<<_ACEOF
40858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40861 cat >>confdefs.h
<<\_ACEOF
40862 #define HAVE_DLOPEN 1
40869 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40870 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40871 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40872 echo $ECHO_N "(cached) $ECHO_C" >&6
40874 ac_check_lib_save_LIBS
=$LIBS
40876 cat >conftest.
$ac_ext <<_ACEOF
40879 cat confdefs.h
>>conftest.
$ac_ext
40880 cat >>conftest.
$ac_ext <<_ACEOF
40881 /* end confdefs.h. */
40883 /* Override any gcc2 internal prototype to avoid an error. */
40887 /* We use char because int might match the return type of a gcc2
40888 builtin and then its argument prototype would still apply. */
40898 rm -f conftest.
$ac_objext conftest
$ac_exeext
40899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40900 (eval $ac_link) 2>conftest.er1
40902 grep -v '^ *+' conftest.er1
>conftest.err
40904 cat conftest.err
>&5
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); } &&
40907 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40909 (eval $ac_try) 2>&5
40911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40912 (exit $ac_status); }; } &&
40913 { ac_try
='test -s conftest$ac_exeext'
40914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40915 (eval $ac_try) 2>&5
40917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40918 (exit $ac_status); }; }; then
40919 ac_cv_lib_dl_dlopen
=yes
40921 echo "$as_me: failed program was:" >&5
40922 sed 's/^/| /' conftest.
$ac_ext >&5
40924 ac_cv_lib_dl_dlopen
=no
40926 rm -f conftest.err conftest.
$ac_objext \
40927 conftest
$ac_exeext conftest.
$ac_ext
40928 LIBS
=$ac_check_lib_save_LIBS
40930 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40931 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40932 if test $ac_cv_lib_dl_dlopen = yes; then
40934 cat >>confdefs.h
<<\_ACEOF
40935 #define HAVE_DLOPEN 1
40939 DL_LINK
=" -ldl$DL_LINK"
40944 for ac_func
in shl_load
40946 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40947 echo "$as_me:$LINENO: checking for $ac_func" >&5
40948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40949 if eval "test \"\${$as_ac_var+set}\" = set"; then
40950 echo $ECHO_N "(cached) $ECHO_C" >&6
40952 cat >conftest.
$ac_ext <<_ACEOF
40955 cat confdefs.h
>>conftest.
$ac_ext
40956 cat >>conftest.
$ac_ext <<_ACEOF
40957 /* end confdefs.h. */
40958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40960 #define $ac_func innocuous_$ac_func
40962 /* System header to define __stub macros and hopefully few prototypes,
40963 which can conflict with char $ac_func (); below.
40964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40965 <limits.h> exists even on freestanding compilers. */
40968 # include <limits.h>
40970 # include <assert.h>
40975 /* Override any gcc2 internal prototype to avoid an error. */
40980 /* We use char because int might match the return type of a gcc2
40981 builtin and then its argument prototype would still apply. */
40983 /* The GNU C library defines this for functions which it implements
40984 to always fail with ENOSYS. Some functions are actually named
40985 something starting with __ and the normal name is an alias. */
40986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40989 char (*f) () = $ac_func;
40998 return f != $ac_func;
41003 rm -f conftest.
$ac_objext conftest
$ac_exeext
41004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41005 (eval $ac_link) 2>conftest.er1
41007 grep -v '^ *+' conftest.er1
>conftest.err
41009 cat conftest.err
>&5
41010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011 (exit $ac_status); } &&
41012 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41014 (eval $ac_try) 2>&5
41016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41017 (exit $ac_status); }; } &&
41018 { ac_try
='test -s conftest$ac_exeext'
41019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41020 (eval $ac_try) 2>&5
41022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41023 (exit $ac_status); }; }; then
41024 eval "$as_ac_var=yes"
41026 echo "$as_me: failed program was:" >&5
41027 sed 's/^/| /' conftest.
$ac_ext >&5
41029 eval "$as_ac_var=no"
41031 rm -f conftest.err conftest.
$ac_objext \
41032 conftest
$ac_exeext conftest.
$ac_ext
41034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41036 if test `eval echo '${'$as_ac_var'}'` = yes; then
41037 cat >>confdefs.h
<<_ACEOF
41038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41041 cat >>confdefs.h
<<\_ACEOF
41042 #define HAVE_SHL_LOAD 1
41049 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41050 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41051 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41052 echo $ECHO_N "(cached) $ECHO_C" >&6
41054 ac_check_lib_save_LIBS
=$LIBS
41055 LIBS
="-lshl_load $LIBS"
41056 cat >conftest.
$ac_ext <<_ACEOF
41059 cat confdefs.h
>>conftest.
$ac_ext
41060 cat >>conftest.
$ac_ext <<_ACEOF
41061 /* end confdefs.h. */
41063 /* Override any gcc2 internal prototype to avoid an error. */
41067 /* We use char because int might match the return type of a gcc2
41068 builtin and then its argument prototype would still apply. */
41078 rm -f conftest.
$ac_objext conftest
$ac_exeext
41079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41080 (eval $ac_link) 2>conftest.er1
41082 grep -v '^ *+' conftest.er1
>conftest.err
41084 cat conftest.err
>&5
41085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41086 (exit $ac_status); } &&
41087 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41089 (eval $ac_try) 2>&5
41091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41092 (exit $ac_status); }; } &&
41093 { ac_try
='test -s conftest$ac_exeext'
41094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41095 (eval $ac_try) 2>&5
41097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41098 (exit $ac_status); }; }; then
41099 ac_cv_lib_shl_load_dld
=yes
41101 echo "$as_me: failed program was:" >&5
41102 sed 's/^/| /' conftest.
$ac_ext >&5
41104 ac_cv_lib_shl_load_dld
=no
41106 rm -f conftest.err conftest.
$ac_objext \
41107 conftest
$ac_exeext conftest.
$ac_ext
41108 LIBS
=$ac_check_lib_save_LIBS
41110 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41111 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41112 if test $ac_cv_lib_shl_load_dld = yes; then
41115 DL_LINK
=" -ldld$DL_LINK"
41131 if test "$HAVE_DL_FUNCS" = 1; then
41133 for ac_func
in dlerror
41135 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41136 echo "$as_me:$LINENO: checking for $ac_func" >&5
41137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41138 if eval "test \"\${$as_ac_var+set}\" = set"; then
41139 echo $ECHO_N "(cached) $ECHO_C" >&6
41141 cat >conftest.
$ac_ext <<_ACEOF
41144 cat confdefs.h
>>conftest.
$ac_ext
41145 cat >>conftest.
$ac_ext <<_ACEOF
41146 /* end confdefs.h. */
41147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41149 #define $ac_func innocuous_$ac_func
41151 /* System header to define __stub macros and hopefully few prototypes,
41152 which can conflict with char $ac_func (); below.
41153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41154 <limits.h> exists even on freestanding compilers. */
41157 # include <limits.h>
41159 # include <assert.h>
41164 /* Override any gcc2 internal prototype to avoid an error. */
41169 /* We use char because int might match the return type of a gcc2
41170 builtin and then its argument prototype would still apply. */
41172 /* The GNU C library defines this for functions which it implements
41173 to always fail with ENOSYS. Some functions are actually named
41174 something starting with __ and the normal name is an alias. */
41175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41178 char (*f) () = $ac_func;
41187 return f != $ac_func;
41192 rm -f conftest.
$ac_objext conftest
$ac_exeext
41193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41194 (eval $ac_link) 2>conftest.er1
41196 grep -v '^ *+' conftest.er1
>conftest.err
41198 cat conftest.err
>&5
41199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41200 (exit $ac_status); } &&
41201 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41203 (eval $ac_try) 2>&5
41205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41206 (exit $ac_status); }; } &&
41207 { ac_try
='test -s conftest$ac_exeext'
41208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41209 (eval $ac_try) 2>&5
41211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41212 (exit $ac_status); }; }; then
41213 eval "$as_ac_var=yes"
41215 echo "$as_me: failed program was:" >&5
41216 sed 's/^/| /' conftest.
$ac_ext >&5
41218 eval "$as_ac_var=no"
41220 rm -f conftest.err conftest.
$ac_objext \
41221 conftest
$ac_exeext conftest.
$ac_ext
41223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41225 if test `eval echo '${'$as_ac_var'}'` = yes; then
41226 cat >>confdefs.h
<<_ACEOF
41227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41229 cat >>confdefs.h
<<\_ACEOF
41230 #define HAVE_DLERROR 1
41235 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41236 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41237 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41238 echo $ECHO_N "(cached) $ECHO_C" >&6
41240 ac_check_lib_save_LIBS
=$LIBS
41242 cat >conftest.
$ac_ext <<_ACEOF
41245 cat confdefs.h
>>conftest.
$ac_ext
41246 cat >>conftest.
$ac_ext <<_ACEOF
41247 /* end confdefs.h. */
41249 /* Override any gcc2 internal prototype to avoid an error. */
41253 /* We use char because int might match the return type of a gcc2
41254 builtin and then its argument prototype would still apply. */
41264 rm -f conftest.
$ac_objext conftest
$ac_exeext
41265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41266 (eval $ac_link) 2>conftest.er1
41268 grep -v '^ *+' conftest.er1
>conftest.err
41270 cat conftest.err
>&5
41271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41272 (exit $ac_status); } &&
41273 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41275 (eval $ac_try) 2>&5
41277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41278 (exit $ac_status); }; } &&
41279 { ac_try
='test -s conftest$ac_exeext'
41280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41281 (eval $ac_try) 2>&5
41283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41284 (exit $ac_status); }; }; then
41285 ac_cv_lib_dl_dlerror
=yes
41287 echo "$as_me: failed program was:" >&5
41288 sed 's/^/| /' conftest.
$ac_ext >&5
41290 ac_cv_lib_dl_dlerror
=no
41292 rm -f conftest.err conftest.
$ac_objext \
41293 conftest
$ac_exeext conftest.
$ac_ext
41294 LIBS
=$ac_check_lib_save_LIBS
41296 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41297 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41298 if test $ac_cv_lib_dl_dlerror = yes; then
41299 cat >>confdefs.h
<<\_ACEOF
41300 #define HAVE_DLERROR 1
41313 if test "$HAVE_DL_FUNCS" = 0; then
41314 if test "$HAVE_SHL_FUNCS" = 0; then
41315 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41316 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41317 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41318 wxUSE_DYNAMIC_LOADER
=no
41319 wxUSE_DYNLIB_CLASS
=no
41321 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41322 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41329 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41330 cat >>confdefs.h
<<\_ACEOF
41331 #define wxUSE_DYNAMIC_LOADER 1
41335 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41336 cat >>confdefs.h
<<\_ACEOF
41337 #define wxUSE_DYNLIB_CLASS 1
41344 if test "$wxUSE_PLUGINS" = "yes" ; then
41345 if test "$wxUSE_SHARED" = "no" ; then
41346 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41347 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41350 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41351 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41352 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41355 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41356 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41357 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41360 if test "$wxUSE_PLUGINS" = "yes" ; then
41361 cat >>confdefs.h
<<\_ACEOF
41362 #define wxUSE_PLUGINS 1
41369 if test "$wxUSE_STL" = "yes"; then
41370 cat >>confdefs.h
<<\_ACEOF
41371 #define wxUSE_STL 1
41376 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41377 cat >>confdefs.h
<<\_ACEOF
41378 #define wxUSE_APPLE_IEEE 1
41383 if test "$wxUSE_TIMER" = "yes"; then
41384 cat >>confdefs.h
<<\_ACEOF
41385 #define wxUSE_TIMER 1
41390 if test "$USE_UNIX" = "1" ; then
41391 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41392 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41393 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41394 echo $ECHO_N "(cached) $ECHO_C" >&6
41397 cat >conftest.
$ac_ext <<_ACEOF
41400 cat confdefs.h
>>conftest.
$ac_ext
41401 cat >>conftest.
$ac_ext <<_ACEOF
41402 /* end confdefs.h. */
41404 #include <sys/ioctl.h>
41405 #include <sys/soundcard.h>
41411 ioctl(0, SNDCTL_DSP_SPEED, 0);
41417 rm -f conftest.
$ac_objext conftest
$ac_exeext
41418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41419 (eval $ac_link) 2>conftest.er1
41421 grep -v '^ *+' conftest.er1
>conftest.err
41423 cat conftest.err
>&5
41424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41425 (exit $ac_status); } &&
41426 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41428 (eval $ac_try) 2>&5
41430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41431 (exit $ac_status); }; } &&
41432 { ac_try
='test -s conftest$ac_exeext'
41433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41434 (eval $ac_try) 2>&5
41436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41437 (exit $ac_status); }; }; then
41438 ac_cv_header_sys_soundcard
=yes
41440 echo "$as_me: failed program was:" >&5
41441 sed 's/^/| /' conftest.
$ac_ext >&5
41445 LIBS
="$saveLibs -lossaudio"
41446 cat >conftest.
$ac_ext <<_ACEOF
41449 cat confdefs.h
>>conftest.
$ac_ext
41450 cat >>conftest.
$ac_ext <<_ACEOF
41451 /* end confdefs.h. */
41453 #include <sys/ioctl.h>
41454 #include <sys/soundcard.h>
41460 ioctl(0, SNDCTL_DSP_SPEED, 0);
41466 rm -f conftest.
$ac_objext conftest
$ac_exeext
41467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41468 (eval $ac_link) 2>conftest.er1
41470 grep -v '^ *+' conftest.er1
>conftest.err
41472 cat conftest.err
>&5
41473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41474 (exit $ac_status); } &&
41475 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41477 (eval $ac_try) 2>&5
41479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41480 (exit $ac_status); }; } &&
41481 { ac_try
='test -s conftest$ac_exeext'
41482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41483 (eval $ac_try) 2>&5
41485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41486 (exit $ac_status); }; }; then
41487 ac_cv_header_sys_soundcard
=yes
41489 echo "$as_me: failed program was:" >&5
41490 sed 's/^/| /' conftest.
$ac_ext >&5
41494 ac_cv_header_sys_soundcard
=no
41498 rm -f conftest.err conftest.
$ac_objext \
41499 conftest
$ac_exeext conftest.
$ac_ext
41503 rm -f conftest.err conftest.
$ac_objext \
41504 conftest
$ac_exeext conftest.
$ac_ext
41507 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41508 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41510 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41511 cat >>confdefs.h
<<\_ACEOF
41512 #define HAVE_SYS_SOUNDCARD_H 1
41516 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
41520 if test "$wxUSE_SOUND" = "yes"; then
41521 if test "$USE_UNIX" = "1" ; then
41522 if test "$wxUSE_LIBSDL" != "no"; then
41524 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
41525 if test "${with_sdl_prefix+set}" = set; then
41526 withval
="$with_sdl_prefix"
41527 sdl_prefix
="$withval"
41532 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
41533 if test "${with_sdl_exec_prefix+set}" = set; then
41534 withval
="$with_sdl_exec_prefix"
41535 sdl_exec_prefix
="$withval"
41539 # Check whether --enable-sdltest or --disable-sdltest was given.
41540 if test "${enable_sdltest+set}" = set; then
41541 enableval
="$enable_sdltest"
41547 if test x
$sdl_exec_prefix != x
; then
41548 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41549 if test x
${SDL_CONFIG+set} != xset
; then
41550 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41553 if test x
$sdl_prefix != x
; then
41554 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41555 if test x
${SDL_CONFIG+set} != xset
; then
41556 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41560 if test "x$prefix" != xNONE
; then
41561 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41563 # Extract the first word of "sdl-config", so it can be a program name with args.
41564 set dummy sdl
-config; ac_word
=$2
41565 echo "$as_me:$LINENO: checking for $ac_word" >&5
41566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41567 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41568 echo $ECHO_N "(cached) $ECHO_C" >&6
41570 case $SDL_CONFIG in
41572 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41576 for as_dir
in $PATH
41579 test -z "$as_dir" && as_dir
=.
41580 for ac_exec_ext
in '' $ac_executable_extensions; do
41581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41582 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41589 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41593 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41595 if test -n "$SDL_CONFIG"; then
41596 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41597 echo "${ECHO_T}$SDL_CONFIG" >&6
41599 echo "$as_me:$LINENO: result: no" >&5
41600 echo "${ECHO_T}no" >&6
41603 min_sdl_version
=1.2.0
41604 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41605 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
41607 if test "$SDL_CONFIG" = "no" ; then
41610 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41611 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41613 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41614 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41615 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41616 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41617 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41618 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41619 if test "x$enable_sdltest" = "xyes" ; then
41620 ac_save_CFLAGS
="$CFLAGS"
41621 ac_save_CXXFLAGS
="$CXXFLAGS"
41622 ac_save_LIBS
="$LIBS"
41623 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41624 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41625 LIBS
="$LIBS $SDL_LIBS"
41627 if test "$cross_compiling" = yes; then
41628 echo $ac_n "cross compiling; assumed OK... $ac_c"
41630 cat >conftest.
$ac_ext <<_ACEOF
41633 cat confdefs.h
>>conftest.
$ac_ext
41634 cat >>conftest.
$ac_ext <<_ACEOF
41635 /* end confdefs.h. */
41638 #include <stdlib.h>
41639 #include <string.h>
41643 my_strdup (char *str)
41649 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41650 strcpy (new_str, str);
41658 int main (int argc, char *argv[])
41660 int major, minor, micro;
41663 /* This hangs on some systems (?)
41664 system ("touch conf.sdltest");
41666 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41668 /* HP/UX 9 (%@#!) writes to sscanf strings */
41669 tmp_version = my_strdup("$min_sdl_version");
41670 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41671 printf("%s, bad version string\n", "$min_sdl_version");
41675 if (($sdl_major_version > major) ||
41676 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41677 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41683 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41684 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41685 printf("*** best to upgrade to the required version.\n");
41686 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41687 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41688 printf("*** config.cache before re-running configure\n");
41695 rm -f conftest
$ac_exeext
41696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41697 (eval $ac_link) 2>&5
41699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41700 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41702 (eval $ac_try) 2>&5
41704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705 (exit $ac_status); }; }; then
41708 echo "$as_me: program exited with status $ac_status" >&5
41709 echo "$as_me: failed program was:" >&5
41710 sed 's/^/| /' conftest.
$ac_ext >&5
41712 ( exit $ac_status )
41715 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41717 CFLAGS
="$ac_save_CFLAGS"
41718 CXXFLAGS
="$ac_save_CXXFLAGS"
41719 LIBS
="$ac_save_LIBS"
41722 if test "x$no_sdl" = x
; then
41723 echo "$as_me:$LINENO: result: yes" >&5
41724 echo "${ECHO_T}yes" >&6
41726 EXTRALIBS_SDL
="$SDL_LIBS"
41727 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41728 cat >>confdefs.h
<<\_ACEOF
41729 #define wxUSE_LIBSDL 1
41734 echo "$as_me:$LINENO: result: no" >&5
41735 echo "${ECHO_T}no" >&6
41736 if test "$SDL_CONFIG" = "no" ; then
41737 echo "*** The sdl-config script installed by SDL could not be found"
41738 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41739 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41740 echo "*** full path to sdl-config."
41742 if test -f conf.sdltest
; then
41745 echo "*** Could not run SDL test program, checking why..."
41746 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41747 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41748 LIBS
="$LIBS $SDL_LIBS"
41749 cat >conftest.
$ac_ext <<_ACEOF
41752 cat confdefs.h
>>conftest.
$ac_ext
41753 cat >>conftest.
$ac_ext <<_ACEOF
41754 /* end confdefs.h. */
41759 int main(int argc, char *argv[])
41762 #define main K_and_R_C_main
41772 rm -f conftest.
$ac_objext conftest
$ac_exeext
41773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41774 (eval $ac_link) 2>conftest.er1
41776 grep -v '^ *+' conftest.er1
>conftest.err
41778 cat conftest.err
>&5
41779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41780 (exit $ac_status); } &&
41781 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41783 (eval $ac_try) 2>&5
41785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786 (exit $ac_status); }; } &&
41787 { ac_try
='test -s conftest$ac_exeext'
41788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41789 (eval $ac_try) 2>&5
41791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41792 (exit $ac_status); }; }; then
41793 echo "*** The test program compiled, but did not run. This usually means"
41794 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41795 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41796 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41797 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41798 echo "*** is required on your system"
41800 echo "*** If you have an old version installed, it is best to remove it, although"
41801 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41803 echo "$as_me: failed program was:" >&5
41804 sed 's/^/| /' conftest.
$ac_ext >&5
41806 echo "*** The test program failed to compile or link. See the file config.log for the"
41807 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41808 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41809 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41811 rm -f conftest.err conftest.
$ac_objext \
41812 conftest
$ac_exeext conftest.
$ac_ext
41813 CFLAGS
="$ac_save_CFLAGS"
41814 CXXFLAGS
="$ac_save_CXXFLAGS"
41815 LIBS
="$ac_save_LIBS"
41826 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41832 cat >>confdefs.h
<<\_ACEOF
41833 #define wxUSE_SOUND 1
41836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41839 if test "$WXGTK20" = 1; then
41840 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41841 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41845 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41846 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
41848 if test -n "$PKG_CONFIG"; then
41849 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41850 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
41852 if test -n "$PKG_CONFIG" && \
41853 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41854 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41857 (exit $ac_status); }; then
41858 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41866 if test -n "$PKG_CONFIG"; then
41867 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41868 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
41870 if test -n "$PKG_CONFIG" && \
41871 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41872 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41875 (exit $ac_status); }; then
41876 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41887 if test $pkg_failed = yes; then
41889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41890 _pkg_short_errors_supported
=yes
41892 _pkg_short_errors_supported
=no
41894 if test $_pkg_short_errors_supported = yes; then
41895 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41897 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41899 # Put the nasty error message in config.log where it belongs
41900 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41903 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41904 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41905 wxUSE_LIBGNOMEPRINT
="no"
41908 elif test $pkg_failed = untried
; then
41910 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41911 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41912 wxUSE_LIBGNOMEPRINT
="no"
41916 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41917 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41918 echo "$as_me:$LINENO: result: yes" >&5
41919 echo "${ECHO_T}yes" >&6
41921 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41922 cat >>confdefs.h
<<\_ACEOF
41923 #define wxUSE_LIBGNOMEPRINT 1
41932 if test "$WXGTK20" = 1; then
41933 if test "$wxUSE_MIMETYPE" = "yes" ; then
41934 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41938 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41939 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
41941 if test -n "$PKG_CONFIG"; then
41942 if test -n "$GNOMEVFS_CFLAGS"; then
41943 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
41945 if test -n "$PKG_CONFIG" && \
41946 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41947 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41950 (exit $ac_status); }; then
41951 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41959 if test -n "$PKG_CONFIG"; then
41960 if test -n "$GNOMEVFS_LIBS"; then
41961 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
41963 if test -n "$PKG_CONFIG" && \
41964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41965 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41968 (exit $ac_status); }; then
41969 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41980 if test $pkg_failed = yes; then
41982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41983 _pkg_short_errors_supported
=yes
41985 _pkg_short_errors_supported
=no
41987 if test $_pkg_short_errors_supported = yes; then
41988 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41990 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41992 # Put the nasty error message in config.log where it belongs
41993 echo "$GNOMEVFS_PKG_ERRORS" >&5
41996 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41997 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41998 wxUSE_LIBGNOMEVFS
="no"
42001 elif test $pkg_failed = untried
; then
42003 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42004 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42005 wxUSE_LIBGNOMEVFS
="no"
42009 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42010 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42011 echo "$as_me:$LINENO: result: yes" >&5
42012 echo "${ECHO_T}yes" >&6
42014 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42015 cat >>confdefs.h
<<\_ACEOF
42016 #define wxUSE_LIBGNOMEVFS 1
42025 if test "$WXGTK20" = 1; then
42026 if test "$wxUSE_LIBHILDON" = "yes" ; then
42029 echo "$as_me:$LINENO: checking for HILDON" >&5
42030 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42032 if test -n "$PKG_CONFIG"; then
42033 if test -n "$HILDON_CFLAGS"; then
42034 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42036 if test -n "$PKG_CONFIG" && \
42037 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42038 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42041 (exit $ac_status); }; then
42042 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42050 if test -n "$PKG_CONFIG"; then
42051 if test -n "$HILDON_LIBS"; then
42052 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42054 if test -n "$PKG_CONFIG" && \
42055 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42056 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); }; then
42060 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42071 if test $pkg_failed = yes; then
42073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42074 _pkg_short_errors_supported
=yes
42076 _pkg_short_errors_supported
=no
42078 if test $_pkg_short_errors_supported = yes; then
42079 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42081 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42083 # Put the nasty error message in config.log where it belongs
42084 echo "$HILDON_PKG_ERRORS" >&5
42087 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42088 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42089 wxUSE_LIBHILDON
="no"
42092 elif test $pkg_failed = untried
; then
42094 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42095 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42096 wxUSE_LIBHILDON
="no"
42100 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42101 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42102 echo "$as_me:$LINENO: result: yes" >&5
42103 echo "${ECHO_T}yes" >&6
42105 EXTRALIBS_HILDON
="$HILDON_LIBS"
42106 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42107 cat >>confdefs.h
<<\_ACEOF
42108 #define wxUSE_LIBHILDON 1
42116 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42117 cat >>confdefs.h
<<\_ACEOF
42118 #define wxUSE_CMDLINE_PARSER 1
42123 if test "$wxUSE_STOPWATCH" = "yes"; then
42124 cat >>confdefs.h
<<\_ACEOF
42125 #define wxUSE_STOPWATCH 1
42130 if test "$wxUSE_DATETIME" = "yes"; then
42131 cat >>confdefs.h
<<\_ACEOF
42132 #define wxUSE_DATETIME 1
42137 if test "$wxUSE_FILE" = "yes"; then
42138 cat >>confdefs.h
<<\_ACEOF
42139 #define wxUSE_FILE 1
42144 if test "$wxUSE_FFILE" = "yes"; then
42145 cat >>confdefs.h
<<\_ACEOF
42146 #define wxUSE_FFILE 1
42151 if test "$wxUSE_FILESYSTEM" = "yes"; then
42152 cat >>confdefs.h
<<\_ACEOF
42153 #define wxUSE_FILESYSTEM 1
42158 if test "$wxUSE_FS_ZIP" = "yes"; then
42159 cat >>confdefs.h
<<\_ACEOF
42160 #define wxUSE_FS_ZIP 1
42165 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42166 cat >>confdefs.h
<<\_ACEOF
42167 #define wxUSE_ARCHIVE_STREAMS 1
42172 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42173 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42174 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42175 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42176 elif test "$wxUSE_ZLIB" = "no"; then
42177 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42178 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42180 cat >>confdefs.h
<<\_ACEOF
42181 #define wxUSE_ZIPSTREAM 1
42187 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42188 if test "$USE_UNIX" != 1; then
42189 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42190 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42191 wxUSE_ON_FATAL_EXCEPTION
=no
42193 cat >>confdefs.h
<<\_ACEOF
42194 #define wxUSE_ON_FATAL_EXCEPTION 1
42200 if test "$wxUSE_STACKWALKER" = "yes"; then
42201 cat >>confdefs.h
<<\_ACEOF
42202 #define wxUSE_STACKWALKER 1
42207 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42208 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42209 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42210 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42211 wxUSE_DEBUGREPORT
=no
42213 cat >>confdefs.h
<<\_ACEOF
42214 #define wxUSE_DEBUGREPORT 1
42217 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42223 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42224 cat >>confdefs.h
<<\_ACEOF
42225 #define wxUSE_SNGLINST_CHECKER 1
42230 if test "$wxUSE_BUSYINFO" = "yes"; then
42231 cat >>confdefs.h
<<\_ACEOF
42232 #define wxUSE_BUSYINFO 1
42237 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42238 cat >>confdefs.h
<<\_ACEOF
42239 #define wxUSE_STD_IOSTREAM 1
42244 if test "$wxUSE_STD_STRING" = "yes"; then
42245 cat >>confdefs.h
<<\_ACEOF
42246 #define wxUSE_STD_STRING 1
42251 if test "$wxUSE_STDPATHS" = "yes"; then
42252 cat >>confdefs.h
<<\_ACEOF
42253 #define wxUSE_STDPATHS 1
42258 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42259 cat >>confdefs.h
<<\_ACEOF
42260 #define wxUSE_TEXTBUFFER 1
42265 if test "$wxUSE_TEXTFILE" = "yes"; then
42266 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42267 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42268 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42270 cat >>confdefs.h
<<\_ACEOF
42271 #define wxUSE_TEXTFILE 1
42277 if test "$wxUSE_CONFIG" = "yes" ; then
42278 if test "$wxUSE_TEXTFILE" != "yes"; then
42279 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42280 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42282 cat >>confdefs.h
<<\_ACEOF
42283 #define wxUSE_CONFIG 1
42286 cat >>confdefs.h
<<\_ACEOF
42287 #define wxUSE_CONFIG_NATIVE 1
42290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42294 if test "$wxUSE_INTL" = "yes" ; then
42295 if test "$wxUSE_FILE" != "yes"; then
42296 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42297 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42299 cat >>confdefs.h
<<\_ACEOF
42300 #define wxUSE_INTL 1
42303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42304 GUIDIST
="$GUIDIST INTL_DIST"
42308 if test "$wxUSE_LOG" = "yes"; then
42309 cat >>confdefs.h
<<\_ACEOF
42310 #define wxUSE_LOG 1
42314 if test "$wxUSE_LOGGUI" = "yes"; then
42315 cat >>confdefs.h
<<\_ACEOF
42316 #define wxUSE_LOGGUI 1
42321 if test "$wxUSE_LOGWINDOW" = "yes"; then
42322 cat >>confdefs.h
<<\_ACEOF
42323 #define wxUSE_LOGWINDOW 1
42328 if test "$wxUSE_LOGDIALOG" = "yes"; then
42329 cat >>confdefs.h
<<\_ACEOF
42330 #define wxUSE_LOG_DIALOG 1
42335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42338 if test "$wxUSE_LONGLONG" = "yes"; then
42339 cat >>confdefs.h
<<\_ACEOF
42340 #define wxUSE_LONGLONG 1
42345 if test "$wxUSE_GEOMETRY" = "yes"; then
42346 cat >>confdefs.h
<<\_ACEOF
42347 #define wxUSE_GEOMETRY 1
42352 if test "$wxUSE_STREAMS" = "yes" ; then
42353 cat >>confdefs.h
<<\_ACEOF
42354 #define wxUSE_STREAMS 1
42359 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42360 cat >>confdefs.h
<<\_ACEOF
42361 #define wxUSE_PRINTF_POS_PARAMS 1
42368 if test "$wxUSE_DATETIME" = "yes"; then
42370 for ac_func
in strptime
42372 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42373 echo "$as_me:$LINENO: checking for $ac_func" >&5
42374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42375 if eval "test \"\${$as_ac_var+set}\" = set"; then
42376 echo $ECHO_N "(cached) $ECHO_C" >&6
42378 cat >conftest.
$ac_ext <<_ACEOF
42381 cat confdefs.h
>>conftest.
$ac_ext
42382 cat >>conftest.
$ac_ext <<_ACEOF
42383 /* end confdefs.h. */
42384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42386 #define $ac_func innocuous_$ac_func
42388 /* System header to define __stub macros and hopefully few prototypes,
42389 which can conflict with char $ac_func (); below.
42390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42391 <limits.h> exists even on freestanding compilers. */
42394 # include <limits.h>
42396 # include <assert.h>
42401 /* Override any gcc2 internal prototype to avoid an error. */
42406 /* We use char because int might match the return type of a gcc2
42407 builtin and then its argument prototype would still apply. */
42409 /* The GNU C library defines this for functions which it implements
42410 to always fail with ENOSYS. Some functions are actually named
42411 something starting with __ and the normal name is an alias. */
42412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42415 char (*f) () = $ac_func;
42424 return f != $ac_func;
42429 rm -f conftest.
$ac_objext conftest
$ac_exeext
42430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42431 (eval $ac_link) 2>conftest.er1
42433 grep -v '^ *+' conftest.er1
>conftest.err
42435 cat conftest.err
>&5
42436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42437 (exit $ac_status); } &&
42438 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42440 (eval $ac_try) 2>&5
42442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42443 (exit $ac_status); }; } &&
42444 { ac_try
='test -s conftest$ac_exeext'
42445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42446 (eval $ac_try) 2>&5
42448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42449 (exit $ac_status); }; }; then
42450 eval "$as_ac_var=yes"
42452 echo "$as_me: failed program was:" >&5
42453 sed 's/^/| /' conftest.
$ac_ext >&5
42455 eval "$as_ac_var=no"
42457 rm -f conftest.err conftest.
$ac_objext \
42458 conftest
$ac_exeext conftest.
$ac_ext
42460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42462 if test `eval echo '${'$as_ac_var'}'` = yes; then
42463 cat >>confdefs.h
<<_ACEOF
42464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42470 if test "$ac_cv_func_strptime" = "yes"; then
42471 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42472 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42473 if test "${wx_cv_func_strptime_decl+set}" = set; then
42474 echo $ECHO_N "(cached) $ECHO_C" >&6
42477 cat >conftest.
$ac_ext <<_ACEOF
42480 cat confdefs.h
>>conftest.
$ac_ext
42481 cat >>conftest.
$ac_ext <<_ACEOF
42482 /* end confdefs.h. */
42491 strptime("foo", "bar", &t);
42497 rm -f conftest.
$ac_objext
42498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42499 (eval $ac_compile) 2>conftest.er1
42501 grep -v '^ *+' conftest.er1
>conftest.err
42503 cat conftest.err
>&5
42504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42505 (exit $ac_status); } &&
42506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42508 (eval $ac_try) 2>&5
42510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42511 (exit $ac_status); }; } &&
42512 { ac_try
='test -s conftest.$ac_objext'
42513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42514 (eval $ac_try) 2>&5
42516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42517 (exit $ac_status); }; }; then
42518 wx_cv_func_strptime_decl
=yes
42520 echo "$as_me: failed program was:" >&5
42521 sed 's/^/| /' conftest.
$ac_ext >&5
42523 wx_cv_func_strptime_decl
=no
42526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42530 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42531 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42533 if test "$wx_cv_func_strptime_decl" = "yes"; then
42534 cat >>confdefs.h
<<\_ACEOF
42535 #define HAVE_STRPTIME_DECL 1
42540 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42541 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42542 if test "${wx_cv_var_timezone+set}" = set; then
42543 echo $ECHO_N "(cached) $ECHO_C" >&6
42546 cat >conftest.
$ac_ext <<_ACEOF
42549 cat confdefs.h
>>conftest.
$ac_ext
42550 cat >>conftest.
$ac_ext <<_ACEOF
42551 /* end confdefs.h. */
42566 rm -f conftest.
$ac_objext
42567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42568 (eval $ac_compile) 2>conftest.er1
42570 grep -v '^ *+' conftest.er1
>conftest.err
42572 cat conftest.err
>&5
42573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42574 (exit $ac_status); } &&
42575 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42577 (eval $ac_try) 2>&5
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); }; } &&
42581 { ac_try
='test -s conftest.$ac_objext'
42582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42583 (eval $ac_try) 2>&5
42585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42586 (exit $ac_status); }; }; then
42588 wx_cv_var_timezone
=timezone
42591 echo "$as_me: failed program was:" >&5
42592 sed 's/^/| /' conftest.
$ac_ext >&5
42595 cat >conftest.
$ac_ext <<_ACEOF
42598 cat confdefs.h
>>conftest.
$ac_ext
42599 cat >>conftest.
$ac_ext <<_ACEOF
42600 /* end confdefs.h. */
42615 rm -f conftest.
$ac_objext
42616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42617 (eval $ac_compile) 2>conftest.er1
42619 grep -v '^ *+' conftest.er1
>conftest.err
42621 cat conftest.err
>&5
42622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42623 (exit $ac_status); } &&
42624 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42626 (eval $ac_try) 2>&5
42628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42629 (exit $ac_status); }; } &&
42630 { ac_try
='test -s conftest.$ac_objext'
42631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42632 (eval $ac_try) 2>&5
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); }; }; then
42637 wx_cv_var_timezone
=_timezone
42640 echo "$as_me: failed program was:" >&5
42641 sed 's/^/| /' conftest.
$ac_ext >&5
42644 cat >conftest.
$ac_ext <<_ACEOF
42647 cat confdefs.h
>>conftest.
$ac_ext
42648 cat >>conftest.
$ac_ext <<_ACEOF
42649 /* end confdefs.h. */
42664 rm -f conftest.
$ac_objext
42665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42666 (eval $ac_compile) 2>conftest.er1
42668 grep -v '^ *+' conftest.er1
>conftest.err
42670 cat conftest.err
>&5
42671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42672 (exit $ac_status); } &&
42673 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42675 (eval $ac_try) 2>&5
42677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42678 (exit $ac_status); }; } &&
42679 { ac_try
='test -s conftest.$ac_objext'
42680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42681 (eval $ac_try) 2>&5
42683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42684 (exit $ac_status); }; }; then
42686 wx_cv_var_timezone
=__timezone
42689 echo "$as_me: failed program was:" >&5
42690 sed 's/^/| /' conftest.
$ac_ext >&5
42693 if test "$USE_DOS" = 0 ; then
42694 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42695 echo "$as_me: WARNING: no timezone variable" >&2;}
42700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42712 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42713 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42715 if test "x$wx_cv_var_timezone" != x
; then
42716 cat >>confdefs.h
<<_ACEOF
42717 #define WX_TIMEZONE $wx_cv_var_timezone
42723 for ac_func
in localtime
42725 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42726 echo "$as_me:$LINENO: checking for $ac_func" >&5
42727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42728 if eval "test \"\${$as_ac_var+set}\" = set"; then
42729 echo $ECHO_N "(cached) $ECHO_C" >&6
42731 cat >conftest.
$ac_ext <<_ACEOF
42734 cat confdefs.h
>>conftest.
$ac_ext
42735 cat >>conftest.
$ac_ext <<_ACEOF
42736 /* end confdefs.h. */
42737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42739 #define $ac_func innocuous_$ac_func
42741 /* System header to define __stub macros and hopefully few prototypes,
42742 which can conflict with char $ac_func (); below.
42743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42744 <limits.h> exists even on freestanding compilers. */
42747 # include <limits.h>
42749 # include <assert.h>
42754 /* Override any gcc2 internal prototype to avoid an error. */
42759 /* We use char because int might match the return type of a gcc2
42760 builtin and then its argument prototype would still apply. */
42762 /* The GNU C library defines this for functions which it implements
42763 to always fail with ENOSYS. Some functions are actually named
42764 something starting with __ and the normal name is an alias. */
42765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42768 char (*f) () = $ac_func;
42777 return f != $ac_func;
42782 rm -f conftest.
$ac_objext conftest
$ac_exeext
42783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42784 (eval $ac_link) 2>conftest.er1
42786 grep -v '^ *+' conftest.er1
>conftest.err
42788 cat conftest.err
>&5
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); } &&
42791 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42793 (eval $ac_try) 2>&5
42795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42796 (exit $ac_status); }; } &&
42797 { ac_try
='test -s conftest$ac_exeext'
42798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42799 (eval $ac_try) 2>&5
42801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42802 (exit $ac_status); }; }; then
42803 eval "$as_ac_var=yes"
42805 echo "$as_me: failed program was:" >&5
42806 sed 's/^/| /' conftest.
$ac_ext >&5
42808 eval "$as_ac_var=no"
42810 rm -f conftest.err conftest.
$ac_objext \
42811 conftest
$ac_exeext conftest.
$ac_ext
42813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42815 if test `eval echo '${'$as_ac_var'}'` = yes; then
42816 cat >>confdefs.h
<<_ACEOF
42817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42824 if test "$ac_cv_func_localtime" = "yes"; then
42825 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42826 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42827 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42828 echo $ECHO_N "(cached) $ECHO_C" >&6
42831 cat >conftest.
$ac_ext <<_ACEOF
42834 cat confdefs.h
>>conftest.
$ac_ext
42835 cat >>conftest.
$ac_ext <<_ACEOF
42836 /* end confdefs.h. */
42851 rm -f conftest.
$ac_objext
42852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42853 (eval $ac_compile) 2>conftest.er1
42855 grep -v '^ *+' conftest.er1
>conftest.err
42857 cat conftest.err
>&5
42858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42859 (exit $ac_status); } &&
42860 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42862 (eval $ac_try) 2>&5
42864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42865 (exit $ac_status); }; } &&
42866 { ac_try
='test -s conftest.$ac_objext'
42867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42868 (eval $ac_try) 2>&5
42870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42871 (exit $ac_status); }; }; then
42873 wx_cv_struct_tm_has_gmtoff
=yes
42876 echo "$as_me: failed program was:" >&5
42877 sed 's/^/| /' conftest.
$ac_ext >&5
42879 wx_cv_struct_tm_has_gmtoff
=no
42882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42885 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42886 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42889 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42890 cat >>confdefs.h
<<\_ACEOF
42891 #define WX_GMTOFF_IN_TM 1
42898 for ac_func
in gettimeofday ftime
42900 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42901 echo "$as_me:$LINENO: checking for $ac_func" >&5
42902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42903 if eval "test \"\${$as_ac_var+set}\" = set"; then
42904 echo $ECHO_N "(cached) $ECHO_C" >&6
42906 cat >conftest.
$ac_ext <<_ACEOF
42909 cat confdefs.h
>>conftest.
$ac_ext
42910 cat >>conftest.
$ac_ext <<_ACEOF
42911 /* end confdefs.h. */
42912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42914 #define $ac_func innocuous_$ac_func
42916 /* System header to define __stub macros and hopefully few prototypes,
42917 which can conflict with char $ac_func (); below.
42918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42919 <limits.h> exists even on freestanding compilers. */
42922 # include <limits.h>
42924 # include <assert.h>
42929 /* Override any gcc2 internal prototype to avoid an error. */
42934 /* We use char because int might match the return type of a gcc2
42935 builtin and then its argument prototype would still apply. */
42937 /* The GNU C library defines this for functions which it implements
42938 to always fail with ENOSYS. Some functions are actually named
42939 something starting with __ and the normal name is an alias. */
42940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42943 char (*f) () = $ac_func;
42952 return f != $ac_func;
42957 rm -f conftest.
$ac_objext conftest
$ac_exeext
42958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42959 (eval $ac_link) 2>conftest.er1
42961 grep -v '^ *+' conftest.er1
>conftest.err
42963 cat conftest.err
>&5
42964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42965 (exit $ac_status); } &&
42966 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42968 (eval $ac_try) 2>&5
42970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42971 (exit $ac_status); }; } &&
42972 { ac_try
='test -s conftest$ac_exeext'
42973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42974 (eval $ac_try) 2>&5
42976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42977 (exit $ac_status); }; }; then
42978 eval "$as_ac_var=yes"
42980 echo "$as_me: failed program was:" >&5
42981 sed 's/^/| /' conftest.
$ac_ext >&5
42983 eval "$as_ac_var=no"
42985 rm -f conftest.err conftest.
$ac_objext \
42986 conftest
$ac_exeext conftest.
$ac_ext
42988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42990 if test `eval echo '${'$as_ac_var'}'` = yes; then
42991 cat >>confdefs.h
<<_ACEOF
42992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42999 if test "$ac_cv_func_gettimeofday" = "yes"; then
43000 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43001 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43002 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43003 echo $ECHO_N "(cached) $ECHO_C" >&6
43006 cat >conftest.
$ac_ext <<_ACEOF
43009 cat confdefs.h
>>conftest.
$ac_ext
43010 cat >>conftest.
$ac_ext <<_ACEOF
43011 /* end confdefs.h. */
43013 #include <sys/time.h>
43014 #include <unistd.h>
43021 gettimeofday(&tv, NULL);
43027 rm -f conftest.
$ac_objext
43028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43029 (eval $ac_compile) 2>conftest.er1
43031 grep -v '^ *+' conftest.er1
>conftest.err
43033 cat conftest.err
>&5
43034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43035 (exit $ac_status); } &&
43036 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43038 (eval $ac_try) 2>&5
43040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43041 (exit $ac_status); }; } &&
43042 { ac_try
='test -s conftest.$ac_objext'
43043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43044 (eval $ac_try) 2>&5
43046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43047 (exit $ac_status); }; }; then
43048 wx_cv_func_gettimeofday_has_2_args
=yes
43050 echo "$as_me: failed program was:" >&5
43051 sed 's/^/| /' conftest.
$ac_ext >&5
43053 cat >conftest.
$ac_ext <<_ACEOF
43056 cat confdefs.h
>>conftest.
$ac_ext
43057 cat >>conftest.
$ac_ext <<_ACEOF
43058 /* end confdefs.h. */
43060 #include <sys/time.h>
43061 #include <unistd.h>
43074 rm -f conftest.
$ac_objext
43075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43076 (eval $ac_compile) 2>conftest.er1
43078 grep -v '^ *+' conftest.er1
>conftest.err
43080 cat conftest.err
>&5
43081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43082 (exit $ac_status); } &&
43083 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43085 (eval $ac_try) 2>&5
43087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088 (exit $ac_status); }; } &&
43089 { ac_try
='test -s conftest.$ac_objext'
43090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43091 (eval $ac_try) 2>&5
43093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43094 (exit $ac_status); }; }; then
43095 wx_cv_func_gettimeofday_has_2_args
=no
43097 echo "$as_me: failed program was:" >&5
43098 sed 's/^/| /' conftest.
$ac_ext >&5
43101 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43102 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43103 wx_cv_func_gettimeofday_has_2_args
=unknown
43107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43113 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43114 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43116 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43117 cat >>confdefs.h
<<\_ACEOF
43118 #define WX_GETTIMEOFDAY_NO_TZ 1
43124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43128 if test "$wxUSE_SOCKETS" = "yes"; then
43129 if test "$wxUSE_MGL" = "1"; then
43130 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43131 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43136 if test "$wxUSE_SOCKETS" = "yes"; then
43137 if test "$TOOLKIT" != "MSW"; then
43138 echo "$as_me:$LINENO: checking for socket" >&5
43139 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43140 if test "${ac_cv_func_socket+set}" = set; then
43141 echo $ECHO_N "(cached) $ECHO_C" >&6
43143 cat >conftest.
$ac_ext <<_ACEOF
43146 cat confdefs.h
>>conftest.
$ac_ext
43147 cat >>conftest.
$ac_ext <<_ACEOF
43148 /* end confdefs.h. */
43149 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43151 #define socket innocuous_socket
43153 /* System header to define __stub macros and hopefully few prototypes,
43154 which can conflict with char socket (); below.
43155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43156 <limits.h> exists even on freestanding compilers. */
43159 # include <limits.h>
43161 # include <assert.h>
43166 /* Override any gcc2 internal prototype to avoid an error. */
43171 /* We use char because int might match the return type of a gcc2
43172 builtin and then its argument prototype would still apply. */
43174 /* The GNU C library defines this for functions which it implements
43175 to always fail with ENOSYS. Some functions are actually named
43176 something starting with __ and the normal name is an alias. */
43177 #if defined (__stub_socket) || defined (__stub___socket)
43180 char (*f) () = socket;
43189 return f != socket;
43194 rm -f conftest.
$ac_objext conftest
$ac_exeext
43195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43196 (eval $ac_link) 2>conftest.er1
43198 grep -v '^ *+' conftest.er1
>conftest.err
43200 cat conftest.err
>&5
43201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43202 (exit $ac_status); } &&
43203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43205 (eval $ac_try) 2>&5
43207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208 (exit $ac_status); }; } &&
43209 { ac_try
='test -s conftest$ac_exeext'
43210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43211 (eval $ac_try) 2>&5
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); }; }; then
43215 ac_cv_func_socket
=yes
43217 echo "$as_me: failed program was:" >&5
43218 sed 's/^/| /' conftest.
$ac_ext >&5
43220 ac_cv_func_socket
=no
43222 rm -f conftest.err conftest.
$ac_objext \
43223 conftest
$ac_exeext conftest.
$ac_ext
43225 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43226 echo "${ECHO_T}$ac_cv_func_socket" >&6
43227 if test $ac_cv_func_socket = yes; then
43231 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43232 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43233 if test "${ac_cv_lib_socket_socket+set}" = set; then
43234 echo $ECHO_N "(cached) $ECHO_C" >&6
43236 ac_check_lib_save_LIBS
=$LIBS
43237 LIBS
="-lsocket $LIBS"
43238 cat >conftest.
$ac_ext <<_ACEOF
43241 cat confdefs.h
>>conftest.
$ac_ext
43242 cat >>conftest.
$ac_ext <<_ACEOF
43243 /* end confdefs.h. */
43245 /* Override any gcc2 internal prototype to avoid an error. */
43249 /* We use char because int might match the return type of a gcc2
43250 builtin and then its argument prototype would still apply. */
43260 rm -f conftest.
$ac_objext conftest
$ac_exeext
43261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43262 (eval $ac_link) 2>conftest.er1
43264 grep -v '^ *+' conftest.er1
>conftest.err
43266 cat conftest.err
>&5
43267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43268 (exit $ac_status); } &&
43269 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43271 (eval $ac_try) 2>&5
43273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43274 (exit $ac_status); }; } &&
43275 { ac_try
='test -s conftest$ac_exeext'
43276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43277 (eval $ac_try) 2>&5
43279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43280 (exit $ac_status); }; }; then
43281 ac_cv_lib_socket_socket
=yes
43283 echo "$as_me: failed program was:" >&5
43284 sed 's/^/| /' conftest.
$ac_ext >&5
43286 ac_cv_lib_socket_socket
=no
43288 rm -f conftest.err conftest.
$ac_objext \
43289 conftest
$ac_exeext conftest.
$ac_ext
43290 LIBS
=$ac_check_lib_save_LIBS
43292 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43293 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43294 if test $ac_cv_lib_socket_socket = yes; then
43295 if test "$INET_LINK" != " -lsocket"; then
43296 INET_LINK
="$INET_LINK -lsocket"
43300 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43301 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43314 if test "$wxUSE_SOCKETS" = "yes" ; then
43315 if test "$TOOLKIT" != "MSW"; then
43316 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43317 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43318 if test "${wx_cv_type_getsockname3+set}" = set; then
43319 echo $ECHO_N "(cached) $ECHO_C" >&6
43322 cat >conftest.
$ac_ext <<_ACEOF
43325 cat confdefs.h
>>conftest.
$ac_ext
43326 cat >>conftest.
$ac_ext <<_ACEOF
43327 /* end confdefs.h. */
43329 #include <sys/types.h>
43330 #include <sys/socket.h>
43337 getsockname(0, 0, &len);
43343 rm -f conftest.
$ac_objext
43344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43345 (eval $ac_compile) 2>conftest.er1
43347 grep -v '^ *+' conftest.er1
>conftest.err
43349 cat conftest.err
>&5
43350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43351 (exit $ac_status); } &&
43352 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43354 (eval $ac_try) 2>&5
43356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43357 (exit $ac_status); }; } &&
43358 { ac_try
='test -s conftest.$ac_objext'
43359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43360 (eval $ac_try) 2>&5
43362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43363 (exit $ac_status); }; }; then
43364 wx_cv_type_getsockname3
=socklen_t
43366 echo "$as_me: failed program was:" >&5
43367 sed 's/^/| /' conftest.
$ac_ext >&5
43370 CXXFLAGS_OLD
="$CXXFLAGS"
43371 if test "$GCC" = yes ; then
43372 CXXFLAGS
="-Werror $CXXFLAGS"
43375 cat >conftest.
$ac_ext <<_ACEOF
43378 cat confdefs.h
>>conftest.
$ac_ext
43379 cat >>conftest.
$ac_ext <<_ACEOF
43380 /* end confdefs.h. */
43382 #include <sys/types.h>
43383 #include <sys/socket.h>
43390 getsockname(0, 0, &len);
43396 rm -f conftest.
$ac_objext
43397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43398 (eval $ac_compile) 2>conftest.er1
43400 grep -v '^ *+' conftest.er1
>conftest.err
43402 cat conftest.err
>&5
43403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43404 (exit $ac_status); } &&
43405 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43407 (eval $ac_try) 2>&5
43409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43410 (exit $ac_status); }; } &&
43411 { ac_try
='test -s conftest.$ac_objext'
43412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43413 (eval $ac_try) 2>&5
43415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43416 (exit $ac_status); }; }; then
43417 wx_cv_type_getsockname3
=size_t
43419 echo "$as_me: failed program was:" >&5
43420 sed 's/^/| /' conftest.
$ac_ext >&5
43422 cat >conftest.
$ac_ext <<_ACEOF
43425 cat confdefs.h
>>conftest.
$ac_ext
43426 cat >>conftest.
$ac_ext <<_ACEOF
43427 /* end confdefs.h. */
43429 #include <sys/types.h>
43430 #include <sys/socket.h>
43437 getsockname(0, 0, &len);
43443 rm -f conftest.
$ac_objext
43444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43445 (eval $ac_compile) 2>conftest.er1
43447 grep -v '^ *+' conftest.er1
>conftest.err
43449 cat conftest.err
>&5
43450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43451 (exit $ac_status); } &&
43452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43454 (eval $ac_try) 2>&5
43456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43457 (exit $ac_status); }; } &&
43458 { ac_try
='test -s conftest.$ac_objext'
43459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43460 (eval $ac_try) 2>&5
43462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43463 (exit $ac_status); }; }; then
43464 wx_cv_type_getsockname3
=int
43466 echo "$as_me: failed program was:" >&5
43467 sed 's/^/| /' conftest.
$ac_ext >&5
43469 wx_cv_type_getsockname3
=unknown
43472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43477 CXXFLAGS
="$CXXFLAGS_OLD"
43481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43484 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43485 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43487 if test "$wx_cv_type_getsockname3" = "unknown"; then
43489 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43490 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43492 cat >>confdefs.h
<<_ACEOF
43493 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43497 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43498 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43499 if test "${wx_cv_type_getsockopt5+set}" = set; then
43500 echo $ECHO_N "(cached) $ECHO_C" >&6
43503 cat >conftest.
$ac_ext <<_ACEOF
43506 cat confdefs.h
>>conftest.
$ac_ext
43507 cat >>conftest.
$ac_ext <<_ACEOF
43508 /* end confdefs.h. */
43510 #include <sys/types.h>
43511 #include <sys/socket.h>
43518 getsockopt(0, 0, 0, 0, &len);
43524 rm -f conftest.
$ac_objext
43525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43526 (eval $ac_compile) 2>conftest.er1
43528 grep -v '^ *+' conftest.er1
>conftest.err
43530 cat conftest.err
>&5
43531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43532 (exit $ac_status); } &&
43533 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43535 (eval $ac_try) 2>&5
43537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43538 (exit $ac_status); }; } &&
43539 { ac_try
='test -s conftest.$ac_objext'
43540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43541 (eval $ac_try) 2>&5
43543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43544 (exit $ac_status); }; }; then
43545 wx_cv_type_getsockopt5
=socklen_t
43547 echo "$as_me: failed program was:" >&5
43548 sed 's/^/| /' conftest.
$ac_ext >&5
43551 CXXFLAGS_OLD
="$CXXFLAGS"
43552 if test "$GCC" = yes ; then
43553 CXXFLAGS
="-Werror $CXXFLAGS"
43556 cat >conftest.
$ac_ext <<_ACEOF
43559 cat confdefs.h
>>conftest.
$ac_ext
43560 cat >>conftest.
$ac_ext <<_ACEOF
43561 /* end confdefs.h. */
43563 #include <sys/types.h>
43564 #include <sys/socket.h>
43571 getsockopt(0, 0, 0, 0, &len);
43577 rm -f conftest.
$ac_objext
43578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43579 (eval $ac_compile) 2>conftest.er1
43581 grep -v '^ *+' conftest.er1
>conftest.err
43583 cat conftest.err
>&5
43584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43585 (exit $ac_status); } &&
43586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43588 (eval $ac_try) 2>&5
43590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43591 (exit $ac_status); }; } &&
43592 { ac_try
='test -s conftest.$ac_objext'
43593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43594 (eval $ac_try) 2>&5
43596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43597 (exit $ac_status); }; }; then
43598 wx_cv_type_getsockopt5
=size_t
43600 echo "$as_me: failed program was:" >&5
43601 sed 's/^/| /' conftest.
$ac_ext >&5
43603 cat >conftest.
$ac_ext <<_ACEOF
43606 cat confdefs.h
>>conftest.
$ac_ext
43607 cat >>conftest.
$ac_ext <<_ACEOF
43608 /* end confdefs.h. */
43610 #include <sys/types.h>
43611 #include <sys/socket.h>
43618 getsockopt(0, 0, 0, 0, &len);
43624 rm -f conftest.
$ac_objext
43625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43626 (eval $ac_compile) 2>conftest.er1
43628 grep -v '^ *+' conftest.er1
>conftest.err
43630 cat conftest.err
>&5
43631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43632 (exit $ac_status); } &&
43633 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43635 (eval $ac_try) 2>&5
43637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43638 (exit $ac_status); }; } &&
43639 { ac_try
='test -s conftest.$ac_objext'
43640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43641 (eval $ac_try) 2>&5
43643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43644 (exit $ac_status); }; }; then
43645 wx_cv_type_getsockopt5
=int
43647 echo "$as_me: failed program was:" >&5
43648 sed 's/^/| /' conftest.
$ac_ext >&5
43650 wx_cv_type_getsockopt5
=unknown
43653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43658 CXXFLAGS
="$CXXFLAGS_OLD"
43662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43665 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43666 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43668 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43670 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43671 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43673 cat >>confdefs.h
<<_ACEOF
43674 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43681 if test "$wxUSE_SOCKETS" = "yes" ; then
43682 cat >>confdefs.h
<<\_ACEOF
43683 #define wxUSE_SOCKETS 1
43686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43689 if test "$wxUSE_PROTOCOL" = "yes"; then
43690 if test "$wxUSE_SOCKETS" != "yes"; then
43691 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43692 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43697 if test "$wxUSE_PROTOCOL" = "yes"; then
43698 cat >>confdefs.h
<<\_ACEOF
43699 #define wxUSE_PROTOCOL 1
43703 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43704 cat >>confdefs.h
<<\_ACEOF
43705 #define wxUSE_PROTOCOL_HTTP 1
43709 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43710 cat >>confdefs.h
<<\_ACEOF
43711 #define wxUSE_PROTOCOL_FTP 1
43715 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43716 cat >>confdefs.h
<<\_ACEOF
43717 #define wxUSE_PROTOCOL_FILE 1
43722 if test "$wxUSE_FS_INET" = "yes"; then
43723 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43724 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43729 if test "$wxUSE_URL" = "yes"; then
43730 if test "$wxUSE_PROTOCOL" != "yes"; then
43731 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43732 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43735 if test "$wxUSE_URL" = "yes"; then
43736 cat >>confdefs.h
<<\_ACEOF
43737 #define wxUSE_URL 1
43743 if test "$wxUSE_FS_INET" = "yes"; then
43744 cat >>confdefs.h
<<\_ACEOF
43745 #define wxUSE_FS_INET 1
43751 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43754 if test "$TOOLKIT" = "MSW"; then
43757 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43758 if test "$USE_DARWIN" = 1; then
43759 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43760 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43761 cat >conftest.
$ac_ext <<_ACEOF
43764 cat confdefs.h
>>conftest.
$ac_ext
43765 cat >>conftest.
$ac_ext <<_ACEOF
43766 /* end confdefs.h. */
43767 #include <IOKit/hid/IOHIDLib.h>
43771 IOHIDQueueInterface *qi = NULL;
43772 IOHIDCallbackFunction cb = NULL;
43773 qi->setEventCallout(NULL, cb, NULL, NULL);
43778 rm -f conftest.
$ac_objext
43779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43780 (eval $ac_compile) 2>conftest.er1
43782 grep -v '^ *+' conftest.er1
>conftest.err
43784 cat conftest.err
>&5
43785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43786 (exit $ac_status); } &&
43787 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
43793 { ac_try
='test -s conftest.$ac_objext'
43794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43795 (eval $ac_try) 2>&5
43797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43798 (exit $ac_status); }; }; then
43802 echo "$as_me: failed program was:" >&5
43803 sed 's/^/| /' conftest.
$ac_ext >&5
43806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43807 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43808 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43813 for ac_header
in linux
/joystick.h
43815 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43817 echo "$as_me:$LINENO: checking for $ac_header" >&5
43818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43820 echo $ECHO_N "(cached) $ECHO_C" >&6
43822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43825 # Is the header compilable?
43826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43828 cat >conftest.
$ac_ext <<_ACEOF
43831 cat confdefs.h
>>conftest.
$ac_ext
43832 cat >>conftest.
$ac_ext <<_ACEOF
43833 /* end confdefs.h. */
43834 $ac_includes_default
43835 #include <$ac_header>
43837 rm -f conftest.
$ac_objext
43838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43839 (eval $ac_compile) 2>conftest.er1
43841 grep -v '^ *+' conftest.er1
>conftest.err
43843 cat conftest.err
>&5
43844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43845 (exit $ac_status); } &&
43846 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43848 (eval $ac_try) 2>&5
43850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43851 (exit $ac_status); }; } &&
43852 { ac_try
='test -s conftest.$ac_objext'
43853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43854 (eval $ac_try) 2>&5
43856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857 (exit $ac_status); }; }; then
43858 ac_header_compiler
=yes
43860 echo "$as_me: failed program was:" >&5
43861 sed 's/^/| /' conftest.
$ac_ext >&5
43863 ac_header_compiler
=no
43865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43866 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43867 echo "${ECHO_T}$ac_header_compiler" >&6
43869 # Is the header present?
43870 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43871 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43872 cat >conftest.
$ac_ext <<_ACEOF
43875 cat confdefs.h
>>conftest.
$ac_ext
43876 cat >>conftest.
$ac_ext <<_ACEOF
43877 /* end confdefs.h. */
43878 #include <$ac_header>
43880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43881 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43883 grep -v '^ *+' conftest.er1
>conftest.err
43885 cat conftest.err
>&5
43886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43887 (exit $ac_status); } >/dev
/null
; then
43888 if test -s conftest.err
; then
43889 ac_cpp_err
=$ac_cxx_preproc_warn_flag
43890 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
43897 if test -z "$ac_cpp_err"; then
43898 ac_header_preproc
=yes
43900 echo "$as_me: failed program was:" >&5
43901 sed 's/^/| /' conftest.
$ac_ext >&5
43903 ac_header_preproc
=no
43905 rm -f conftest.err conftest.
$ac_ext
43906 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43907 echo "${ECHO_T}$ac_header_preproc" >&6
43909 # So? What about this header?
43910 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43912 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43913 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43915 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43916 ac_header_preproc
=yes
43919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43923 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43924 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43925 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43926 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43928 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43929 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43930 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43933 ## ----------------------------------------- ##
43934 ## Report this to wx-dev@lists.wxwidgets.org ##
43935 ## ----------------------------------------- ##
43938 sed "s/^/$as_me: WARNING: /" >&2
43941 echo "$as_me:$LINENO: checking for $ac_header" >&5
43942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43944 echo $ECHO_N "(cached) $ECHO_C" >&6
43946 eval "$as_ac_Header=\$ac_header_preproc"
43948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43953 cat >>confdefs.h
<<_ACEOF
43954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43963 if test "$wxUSE_JOYSTICK" = "yes"; then
43964 cat >>confdefs.h
<<\_ACEOF
43965 #define wxUSE_JOYSTICK 1
43968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43970 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43971 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43977 if test "$wxUSE_FONTMAP" = "yes" ; then
43978 cat >>confdefs.h
<<\_ACEOF
43979 #define wxUSE_FONTMAP 1
43984 if test "$wxUSE_UNICODE" = "yes" ; then
43985 cat >>confdefs.h
<<\_ACEOF
43986 #define wxUSE_UNICODE 1
43990 if test "$USE_WIN32" != 1; then
43991 wxUSE_UNICODE_MSLU
=no
43994 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43995 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43996 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43997 if test "${ac_cv_lib_unicows_main+set}" = set; then
43998 echo $ECHO_N "(cached) $ECHO_C" >&6
44000 ac_check_lib_save_LIBS
=$LIBS
44001 LIBS
="-lunicows $LIBS"
44002 cat >conftest.
$ac_ext <<_ACEOF
44005 cat confdefs.h
>>conftest.
$ac_ext
44006 cat >>conftest.
$ac_ext <<_ACEOF
44007 /* end confdefs.h. */
44018 rm -f conftest.
$ac_objext conftest
$ac_exeext
44019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44020 (eval $ac_link) 2>conftest.er1
44022 grep -v '^ *+' conftest.er1
>conftest.err
44024 cat conftest.err
>&5
44025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44026 (exit $ac_status); } &&
44027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44029 (eval $ac_try) 2>&5
44031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44032 (exit $ac_status); }; } &&
44033 { ac_try
='test -s conftest$ac_exeext'
44034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44035 (eval $ac_try) 2>&5
44037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44038 (exit $ac_status); }; }; then
44039 ac_cv_lib_unicows_main
=yes
44041 echo "$as_me: failed program was:" >&5
44042 sed 's/^/| /' conftest.
$ac_ext >&5
44044 ac_cv_lib_unicows_main
=no
44046 rm -f conftest.err conftest.
$ac_objext \
44047 conftest
$ac_exeext conftest.
$ac_ext
44048 LIBS
=$ac_check_lib_save_LIBS
44050 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44051 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44052 if test $ac_cv_lib_unicows_main = yes; then
44054 cat >>confdefs.h
<<\_ACEOF
44055 #define wxUSE_UNICODE_MSLU 1
44061 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44062 Applications will only run on Windows NT/2000/XP!" >&5
44063 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44064 Applications will only run on Windows NT/2000/XP!" >&2;}
44065 wxUSE_UNICODE_MSLU
=no
44072 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44073 cat >>confdefs.h
<<\_ACEOF
44074 #define wxUSE_EXPERIMENTAL_PRINTF 1
44080 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44081 cat >>confdefs.h
<<\_ACEOF
44082 #define wxUSE_POSTSCRIPT 1
44087 cat >>confdefs.h
<<\_ACEOF
44088 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44092 cat >>confdefs.h
<<\_ACEOF
44093 #define wxUSE_NORMALIZED_PS_FONTS 1
44098 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44099 cat >>confdefs.h
<<\_ACEOF
44100 #define wxUSE_CONSTRAINTS 1
44103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44106 if test "$wxUSE_MDI" = "yes"; then
44107 cat >>confdefs.h
<<\_ACEOF
44108 #define wxUSE_MDI 1
44112 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44113 cat >>confdefs.h
<<\_ACEOF
44114 #define wxUSE_MDI_ARCHITECTURE 1
44117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44121 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44122 cat >>confdefs.h
<<\_ACEOF
44123 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44127 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44132 if test "$wxUSE_HELP" = "yes"; then
44133 cat >>confdefs.h
<<\_ACEOF
44134 #define wxUSE_HELP 1
44137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44139 if test "$wxUSE_MSW" = 1; then
44140 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44141 cat >>confdefs.h
<<\_ACEOF
44142 #define wxUSE_MS_HTML_HELP 1
44148 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44149 if test "$wxUSE_HTML" = "yes"; then
44150 cat >>confdefs.h
<<\_ACEOF
44151 #define wxUSE_WXHTML_HELP 1
44155 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44156 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44157 wxUSE_WXHTML_HELP
=no
44162 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44163 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44164 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44165 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44167 cat >>confdefs.h
<<\_ACEOF
44168 #define wxUSE_PRINTING_ARCHITECTURE 1
44172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44175 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44176 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44177 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44178 { (exit 1); exit 1; }; }
44182 if test "$wxUSE_METAFILE" = "yes"; then
44183 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44184 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44185 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44191 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44192 -o "$wxUSE_CLIPBOARD" = "yes" \
44193 -o "$wxUSE_OLE" = "yes" \
44194 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44196 for ac_header
in ole2.h
44198 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44200 echo "$as_me:$LINENO: checking for $ac_header" >&5
44201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44203 echo $ECHO_N "(cached) $ECHO_C" >&6
44205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44208 # Is the header compilable?
44209 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44210 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44211 cat >conftest.
$ac_ext <<_ACEOF
44214 cat confdefs.h
>>conftest.
$ac_ext
44215 cat >>conftest.
$ac_ext <<_ACEOF
44216 /* end confdefs.h. */
44217 $ac_includes_default
44218 #include <$ac_header>
44220 rm -f conftest.
$ac_objext
44221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44222 (eval $ac_compile) 2>conftest.er1
44224 grep -v '^ *+' conftest.er1
>conftest.err
44226 cat conftest.err
>&5
44227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44228 (exit $ac_status); } &&
44229 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44231 (eval $ac_try) 2>&5
44233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44234 (exit $ac_status); }; } &&
44235 { ac_try
='test -s conftest.$ac_objext'
44236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44237 (eval $ac_try) 2>&5
44239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44240 (exit $ac_status); }; }; then
44241 ac_header_compiler
=yes
44243 echo "$as_me: failed program was:" >&5
44244 sed 's/^/| /' conftest.
$ac_ext >&5
44246 ac_header_compiler
=no
44248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44249 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44250 echo "${ECHO_T}$ac_header_compiler" >&6
44252 # Is the header present?
44253 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44254 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44255 cat >conftest.
$ac_ext <<_ACEOF
44258 cat confdefs.h
>>conftest.
$ac_ext
44259 cat >>conftest.
$ac_ext <<_ACEOF
44260 /* end confdefs.h. */
44261 #include <$ac_header>
44263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44264 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44266 grep -v '^ *+' conftest.er1
>conftest.err
44268 cat conftest.err
>&5
44269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44270 (exit $ac_status); } >/dev
/null
; then
44271 if test -s conftest.err
; then
44272 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44273 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44280 if test -z "$ac_cpp_err"; then
44281 ac_header_preproc
=yes
44283 echo "$as_me: failed program was:" >&5
44284 sed 's/^/| /' conftest.
$ac_ext >&5
44286 ac_header_preproc
=no
44288 rm -f conftest.err conftest.
$ac_ext
44289 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44290 echo "${ECHO_T}$ac_header_preproc" >&6
44292 # So? What about this header?
44293 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44295 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44298 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44299 ac_header_preproc
=yes
44302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44306 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44307 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44308 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44309 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44312 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44313 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44316 ## ----------------------------------------- ##
44317 ## Report this to wx-dev@lists.wxwidgets.org ##
44318 ## ----------------------------------------- ##
44321 sed "s/^/$as_me: WARNING: /" >&2
44324 echo "$as_me:$LINENO: checking for $ac_header" >&5
44325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44327 echo $ECHO_N "(cached) $ECHO_C" >&6
44329 eval "$as_ac_Header=\$ac_header_preproc"
44331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44336 cat >>confdefs.h
<<_ACEOF
44337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44345 if test "$ac_cv_header_ole2_h" = "yes" ; then
44346 if test "$GCC" = yes ; then
44347 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44348 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44349 cat >conftest.
$ac_ext <<_ACEOF
44352 cat confdefs.h
>>conftest.
$ac_ext
44353 cat >>conftest.
$ac_ext <<_ACEOF
44354 /* end confdefs.h. */
44355 #include <windows.h>
44365 rm -f conftest.
$ac_objext
44366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44367 (eval $ac_compile) 2>conftest.er1
44369 grep -v '^ *+' conftest.er1
>conftest.err
44371 cat conftest.err
>&5
44372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44373 (exit $ac_status); } &&
44374 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44376 (eval $ac_try) 2>&5
44378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44379 (exit $ac_status); }; } &&
44380 { ac_try
='test -s conftest.$ac_objext'
44381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44382 (eval $ac_try) 2>&5
44384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44385 (exit $ac_status); }; }; then
44386 echo "$as_me:$LINENO: result: no" >&5
44387 echo "${ECHO_T}no" >&6
44389 echo "$as_me: failed program was:" >&5
44390 sed 's/^/| /' conftest.
$ac_ext >&5
44392 echo "$as_me:$LINENO: result: yes" >&5
44393 echo "${ECHO_T}yes" >&6
44394 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44397 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44398 if test "$wxUSE_OLE" = "yes" ; then
44399 cat >>confdefs.h
<<\_ACEOF
44400 #define wxUSE_OLE 1
44403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44407 if test "$wxUSE_DATAOBJ" = "yes" ; then
44408 cat >>confdefs.h
<<\_ACEOF
44409 #define wxUSE_DATAOBJ 1
44414 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44415 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44418 wxUSE_DRAG_AND_DROP
=no
44423 if test "$wxUSE_METAFILE" = "yes"; then
44424 cat >>confdefs.h
<<\_ACEOF
44425 #define wxUSE_METAFILE 1
44429 cat >>confdefs.h
<<\_ACEOF
44430 #define wxUSE_ENH_METAFILE 1
44436 if test "$wxUSE_IPC" = "yes"; then
44437 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44438 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44439 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44443 if test "$wxUSE_IPC" = "yes"; then
44444 cat >>confdefs.h
<<\_ACEOF
44445 #define wxUSE_IPC 1
44448 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44452 if test "$wxUSE_DATAOBJ" = "yes"; then
44453 if test "$wxUSE_MGL" = 1; then
44454 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
44455 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
44458 cat >>confdefs.h
<<\_ACEOF
44459 #define wxUSE_DATAOBJ 1
44464 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44465 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44467 wxUSE_DRAG_AND_DROP
=no
44470 if test "$wxUSE_CLIPBOARD" = "yes"; then
44471 if test "$wxUSE_MGL" = 1; then
44472 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
44473 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
44477 if test "$wxUSE_CLIPBOARD" = "yes"; then
44478 cat >>confdefs.h
<<\_ACEOF
44479 #define wxUSE_CLIPBOARD 1
44485 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44486 if test "$wxUSE_GTK" = 1; then
44487 if test "$WXGTK12" != 1; then
44488 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44489 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44490 wxUSE_DRAG_AND_DROP
=no
44494 if test "$wxUSE_MOTIF" = 1; then
44495 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
44496 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
44497 wxUSE_DRAG_AND_DROP
=no
44500 if test "$wxUSE_X11" = 1; then
44501 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
44502 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
44503 wxUSE_DRAG_AND_DROP
=no
44506 if test "$wxUSE_MGL" = 1; then
44507 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
44508 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
44509 wxUSE_DRAG_AND_DROP
=no
44512 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44513 cat >>confdefs.h
<<\_ACEOF
44514 #define wxUSE_DRAG_AND_DROP 1
44521 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44525 if test "$wxUSE_SPLINES" = "yes" ; then
44526 cat >>confdefs.h
<<\_ACEOF
44527 #define wxUSE_SPLINES 1
44532 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44533 cat >>confdefs.h
<<\_ACEOF
44534 #define wxUSE_MOUSEWHEEL 1
44541 if test "$wxUSE_CONTROLS" = "yes"; then
44545 if test "$wxUSE_ACCEL" = "yes"; then
44546 cat >>confdefs.h
<<\_ACEOF
44547 #define wxUSE_ACCEL 1
44553 if test "$wxUSE_BUTTON" = "yes"; then
44554 cat >>confdefs.h
<<\_ACEOF
44555 #define wxUSE_BUTTON 1
44561 if test "$wxUSE_BMPBUTTON" = "yes"; then
44562 cat >>confdefs.h
<<\_ACEOF
44563 #define wxUSE_BMPBUTTON 1
44569 if test "$wxUSE_CALCTRL" = "yes"; then
44570 cat >>confdefs.h
<<\_ACEOF
44571 #define wxUSE_CALENDARCTRL 1
44575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44578 if test "$wxUSE_CARET" = "yes"; then
44579 cat >>confdefs.h
<<\_ACEOF
44580 #define wxUSE_CARET 1
44584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44587 if test "$wxUSE_COMBOBOX" = "yes"; then
44588 cat >>confdefs.h
<<\_ACEOF
44589 #define wxUSE_COMBOBOX 1
44595 if test "$wxUSE_COMBOCTRL" = "yes"; then
44596 cat >>confdefs.h
<<\_ACEOF
44597 #define wxUSE_COMBOCTRL 1
44603 if test "$wxUSE_CHOICE" = "yes"; then
44604 cat >>confdefs.h
<<\_ACEOF
44605 #define wxUSE_CHOICE 1
44611 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44612 cat >>confdefs.h
<<\_ACEOF
44613 #define wxUSE_CHOICEBOOK 1
44619 if test "$wxUSE_CHECKBOX" = "yes"; then
44620 cat >>confdefs.h
<<\_ACEOF
44621 #define wxUSE_CHECKBOX 1
44627 if test "$wxUSE_CHECKLST" = "yes"; then
44628 cat >>confdefs.h
<<\_ACEOF
44629 #define wxUSE_CHECKLISTBOX 1
44633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44636 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44637 cat >>confdefs.h
<<\_ACEOF
44638 #define wxUSE_COLOURPICKERCTRL 1
44644 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44645 cat >>confdefs.h
<<\_ACEOF
44646 #define wxUSE_DATEPICKCTRL 1
44652 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44653 cat >>confdefs.h
<<\_ACEOF
44654 #define wxUSE_DIRPICKERCTRL 1
44660 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44661 cat >>confdefs.h
<<\_ACEOF
44662 #define wxUSE_FILEPICKERCTRL 1
44668 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44669 cat >>confdefs.h
<<\_ACEOF
44670 #define wxUSE_FONTPICKERCTRL 1
44676 if test "$wxUSE_DISPLAY" = "yes"; then
44677 cat >>confdefs.h
<<\_ACEOF
44678 #define wxUSE_DISPLAY 1
44681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44684 if test "$wxUSE_GAUGE" = "yes"; then
44685 cat >>confdefs.h
<<\_ACEOF
44686 #define wxUSE_GAUGE 1
44692 if test "$wxUSE_GRID" = "yes"; then
44693 cat >>confdefs.h
<<\_ACEOF
44694 #define wxUSE_GRID 1
44698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44701 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44702 cat >>confdefs.h
<<\_ACEOF
44703 #define wxUSE_HYPERLINKCTRL 1
44709 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44710 cat >>confdefs.h
<<\_ACEOF
44711 #define wxUSE_DATAVIEWCTRL 1
44715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44718 if test "$wxUSE_IMAGLIST" = "yes"; then
44719 cat >>confdefs.h
<<\_ACEOF
44720 #define wxUSE_IMAGLIST 1
44725 if test "$wxUSE_LISTBOOK" = "yes"; then
44726 cat >>confdefs.h
<<\_ACEOF
44727 #define wxUSE_LISTBOOK 1
44733 if test "$wxUSE_LISTBOX" = "yes"; then
44734 cat >>confdefs.h
<<\_ACEOF
44735 #define wxUSE_LISTBOX 1
44739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44742 if test "$wxUSE_LISTCTRL" = "yes"; then
44743 if test "$wxUSE_IMAGLIST" = "yes"; then
44744 cat >>confdefs.h
<<\_ACEOF
44745 #define wxUSE_LISTCTRL 1
44749 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44751 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44752 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44756 if test "$wxUSE_NOTEBOOK" = "yes"; then
44757 cat >>confdefs.h
<<\_ACEOF
44758 #define wxUSE_NOTEBOOK 1
44762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44765 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44766 cat >>confdefs.h
<<\_ACEOF
44767 #define wxUSE_ODCOMBOBOX 1
44771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44775 if test "$wxUSE_RADIOBOX" = "yes"; then
44776 cat >>confdefs.h
<<\_ACEOF
44777 #define wxUSE_RADIOBOX 1
44783 if test "$wxUSE_RADIOBTN" = "yes"; then
44784 cat >>confdefs.h
<<\_ACEOF
44785 #define wxUSE_RADIOBTN 1
44791 if test "$wxUSE_SASH" = "yes"; then
44792 cat >>confdefs.h
<<\_ACEOF
44793 #define wxUSE_SASH 1
44796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44799 if test "$wxUSE_SCROLLBAR" = "yes"; then
44800 cat >>confdefs.h
<<\_ACEOF
44801 #define wxUSE_SCROLLBAR 1
44805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44808 if test "$wxUSE_SLIDER" = "yes"; then
44809 cat >>confdefs.h
<<\_ACEOF
44810 #define wxUSE_SLIDER 1
44816 if test "$wxUSE_SPINBTN" = "yes"; then
44817 cat >>confdefs.h
<<\_ACEOF
44818 #define wxUSE_SPINBTN 1
44824 if test "$wxUSE_SPINCTRL" = "yes"; then
44825 cat >>confdefs.h
<<\_ACEOF
44826 #define wxUSE_SPINCTRL 1
44832 if test "$wxUSE_SPLITTER" = "yes"; then
44833 cat >>confdefs.h
<<\_ACEOF
44834 #define wxUSE_SPLITTER 1
44837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44840 if test "$wxUSE_STATBMP" = "yes"; then
44841 cat >>confdefs.h
<<\_ACEOF
44842 #define wxUSE_STATBMP 1
44848 if test "$wxUSE_STATBOX" = "yes"; then
44849 cat >>confdefs.h
<<\_ACEOF
44850 #define wxUSE_STATBOX 1
44856 if test "$wxUSE_STATTEXT" = "yes"; then
44857 cat >>confdefs.h
<<\_ACEOF
44858 #define wxUSE_STATTEXT 1
44864 if test "$wxUSE_STATLINE" = "yes"; then
44865 cat >>confdefs.h
<<\_ACEOF
44866 #define wxUSE_STATLINE 1
44872 if test "$wxUSE_STATUSBAR" = "yes"; then
44873 cat >>confdefs.h
<<\_ACEOF
44874 #define wxUSE_NATIVE_STATUSBAR 1
44877 cat >>confdefs.h
<<\_ACEOF
44878 #define wxUSE_STATUSBAR 1
44883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44886 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44887 cat >>confdefs.h
<<\_ACEOF
44888 #define wxUSE_TAB_DIALOG 1
44893 if test "$wxUSE_TEXTCTRL" = "yes"; then
44894 cat >>confdefs.h
<<\_ACEOF
44895 #define wxUSE_TEXTCTRL 1
44899 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44902 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44903 if test "$wxUSE_COCOA" = 1 ; then
44904 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44905 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44909 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44910 cat >>confdefs.h
<<\_ACEOF
44911 #define wxUSE_TOGGLEBTN 1
44918 if test "$wxUSE_TOOLBAR" = "yes"; then
44919 cat >>confdefs.h
<<\_ACEOF
44920 #define wxUSE_TOOLBAR 1
44925 if test "$wxUSE_UNIVERSAL" = "yes"; then
44926 wxUSE_TOOLBAR_NATIVE
="no"
44928 wxUSE_TOOLBAR_NATIVE
="yes"
44929 cat >>confdefs.h
<<\_ACEOF
44930 #define wxUSE_TOOLBAR_NATIVE 1
44935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44938 if test "$wxUSE_TOOLTIPS" = "yes"; then
44939 if test "$wxUSE_MOTIF" = 1; then
44940 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44941 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44943 if test "$wxUSE_UNIVERSAL" = "yes"; then
44944 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44945 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44947 cat >>confdefs.h
<<\_ACEOF
44948 #define wxUSE_TOOLTIPS 1
44955 if test "$wxUSE_TREEBOOK" = "yes"; then
44956 cat >>confdefs.h
<<\_ACEOF
44957 #define wxUSE_TREEBOOK 1
44963 if test "$wxUSE_TOOLBOOK" = "yes"; then
44964 cat >>confdefs.h
<<\_ACEOF
44965 #define wxUSE_TOOLBOOK 1
44971 if test "$wxUSE_TREECTRL" = "yes"; then
44972 if test "$wxUSE_IMAGLIST" = "yes"; then
44973 cat >>confdefs.h
<<\_ACEOF
44974 #define wxUSE_TREECTRL 1
44978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44980 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44981 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44985 if test "$wxUSE_POPUPWIN" = "yes"; then
44986 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44987 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44988 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44990 if test "$wxUSE_PM" = 1; then
44991 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44992 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44994 cat >>confdefs.h
<<\_ACEOF
44995 #define wxUSE_POPUPWIN 1
44998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45005 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45006 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45007 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45008 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45010 cat >>confdefs.h
<<\_ACEOF
45011 #define wxUSE_DIALUP_MANAGER 1
45014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45018 if test "$wxUSE_TIPWINDOW" = "yes"; then
45019 if test "$wxUSE_PM" = 1; then
45020 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45021 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45023 cat >>confdefs.h
<<\_ACEOF
45024 #define wxUSE_TIPWINDOW 1
45030 if test "$USES_CONTROLS" = 1; then
45031 cat >>confdefs.h
<<\_ACEOF
45032 #define wxUSE_CONTROLS 1
45038 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45039 cat >>confdefs.h
<<\_ACEOF
45040 #define wxUSE_ACCESSIBILITY 1
45043 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45046 if test "$wxUSE_DC_CACHEING" = "yes"; then
45047 cat >>confdefs.h
<<\_ACEOF
45048 #define wxUSE_DC_CACHEING 1
45053 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45054 cat >>confdefs.h
<<\_ACEOF
45055 #define wxUSE_DRAGIMAGE 1
45058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45061 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45062 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45063 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45064 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45066 cat >>confdefs.h
<<\_ACEOF
45067 #define wxUSE_EXCEPTIONS 1
45070 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45075 if test "$wxUSE_HTML" = "yes"; then
45076 cat >>confdefs.h
<<\_ACEOF
45077 #define wxUSE_HTML 1
45081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45082 if test "$wxUSE_MAC" = 1; then
45083 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45086 if test "$wxUSE_WEBKIT" = "yes"; then
45087 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45088 old_CPPFLAGS
="$CPPFLAGS"
45089 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45090 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45091 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45092 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45093 echo $ECHO_N "(cached) $ECHO_C" >&6
45095 cat >conftest.
$ac_ext <<_ACEOF
45098 cat confdefs.h
>>conftest.
$ac_ext
45099 cat >>conftest.
$ac_ext <<_ACEOF
45100 /* end confdefs.h. */
45101 #include <Carbon/Carbon.h>
45103 #include <WebKit/HIWebView.h>
45105 rm -f conftest.
$ac_objext
45106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45107 (eval $ac_compile) 2>conftest.er1
45109 grep -v '^ *+' conftest.er1
>conftest.err
45111 cat conftest.err
>&5
45112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45113 (exit $ac_status); } &&
45114 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45116 (eval $ac_try) 2>&5
45118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45119 (exit $ac_status); }; } &&
45120 { ac_try
='test -s conftest.$ac_objext'
45121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45122 (eval $ac_try) 2>&5
45124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45125 (exit $ac_status); }; }; then
45126 ac_cv_header_WebKit_HIWebView_h
=yes
45128 echo "$as_me: failed program was:" >&5
45129 sed 's/^/| /' conftest.
$ac_ext >&5
45131 ac_cv_header_WebKit_HIWebView_h
=no
45133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45135 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45136 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45137 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45139 cat >>confdefs.h
<<\_ACEOF
45140 #define wxUSE_WEBKIT 1
45143 WEBKIT_LINK
="-framework WebKit"
45147 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45148 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45154 CPPFLAGS
="$old_CPPFLAGS"
45155 elif test "$wxUSE_COCOA" = 1; then
45156 cat >>confdefs.h
<<\_ACEOF
45157 #define wxUSE_WEBKIT 1
45166 if test "$wxUSE_XRC" = "yes"; then
45167 if test "$wxUSE_XML" != "yes"; then
45168 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45169 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45172 cat >>confdefs.h
<<\_ACEOF
45173 #define wxUSE_XRC 1
45177 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
45182 if test "$wxUSE_AUI" = "yes"; then
45183 cat >>confdefs.h
<<\_ACEOF
45184 #define wxUSE_AUI 1
45188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
45191 if test "$wxUSE_MENUS" = "yes"; then
45192 cat >>confdefs.h
<<\_ACEOF
45193 #define wxUSE_MENUS 1
45196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
45199 if test "$wxUSE_METAFILE" = "yes"; then
45200 cat >>confdefs.h
<<\_ACEOF
45201 #define wxUSE_METAFILE 1
45206 if test "$wxUSE_MIMETYPE" = "yes"; then
45207 cat >>confdefs.h
<<\_ACEOF
45208 #define wxUSE_MIMETYPE 1
45213 if test "$wxUSE_MINIFRAME" = "yes"; then
45214 cat >>confdefs.h
<<\_ACEOF
45215 #define wxUSE_MINIFRAME 1
45218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
45221 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45222 cat >>confdefs.h
<<\_ACEOF
45223 #define wxUSE_SYSTEM_OPTIONS 1
45226 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45227 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
45233 if test "$wxUSE_VALIDATORS" = "yes"; then
45234 cat >>confdefs.h
<<\_ACEOF
45235 #define wxUSE_VALIDATORS 1
45238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
45241 if test "$wxUSE_PALETTE" = "yes" ; then
45242 cat >>confdefs.h
<<\_ACEOF
45243 #define wxUSE_PALETTE 1
45248 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45249 LIBS
=" -lunicows $LIBS"
45253 if test "$wxUSE_RICHTEXT" = "yes"; then
45254 cat >>confdefs.h
<<\_ACEOF
45255 #define wxUSE_RICHTEXT 1
45259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
45263 if test "$wxUSE_IMAGE" = "yes" ; then
45264 cat >>confdefs.h
<<\_ACEOF
45265 #define wxUSE_IMAGE 1
45269 if test "$wxUSE_GIF" = "yes" ; then
45270 cat >>confdefs.h
<<\_ACEOF
45271 #define wxUSE_GIF 1
45276 if test "$wxUSE_PCX" = "yes" ; then
45277 cat >>confdefs.h
<<\_ACEOF
45278 #define wxUSE_PCX 1
45283 if test "$wxUSE_IFF" = "yes" ; then
45284 cat >>confdefs.h
<<\_ACEOF
45285 #define wxUSE_IFF 1
45290 if test "$wxUSE_PNM" = "yes" ; then
45291 cat >>confdefs.h
<<\_ACEOF
45292 #define wxUSE_PNM 1
45297 if test "$wxUSE_XPM" = "yes" ; then
45298 cat >>confdefs.h
<<\_ACEOF
45299 #define wxUSE_XPM 1
45304 if test "$wxUSE_ICO_CUR" = "yes" ; then
45305 cat >>confdefs.h
<<\_ACEOF
45306 #define wxUSE_ICO_CUR 1
45313 if test "$wxUSE_CHOICEDLG" = "yes"; then
45314 cat >>confdefs.h
<<\_ACEOF
45315 #define wxUSE_CHOICEDLG 1
45320 if test "$wxUSE_COLOURDLG" = "yes"; then
45321 cat >>confdefs.h
<<\_ACEOF
45322 #define wxUSE_COLOURDLG 1
45327 if test "$wxUSE_FILEDLG" = "yes"; then
45328 cat >>confdefs.h
<<\_ACEOF
45329 #define wxUSE_FILEDLG 1
45334 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45335 cat >>confdefs.h
<<\_ACEOF
45336 #define wxUSE_FINDREPLDLG 1
45341 if test "$wxUSE_FONTDLG" = "yes"; then
45342 cat >>confdefs.h
<<\_ACEOF
45343 #define wxUSE_FONTDLG 1
45348 if test "$wxUSE_DIRDLG" = "yes"; then
45349 if test "$wxUSE_TREECTRL" != "yes"; then
45350 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45351 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45353 cat >>confdefs.h
<<\_ACEOF
45354 #define wxUSE_DIRDLG 1
45360 if test "$wxUSE_MSGDLG" = "yes"; then
45361 cat >>confdefs.h
<<\_ACEOF
45362 #define wxUSE_MSGDLG 1
45367 if test "$wxUSE_NUMBERDLG" = "yes"; then
45368 cat >>confdefs.h
<<\_ACEOF
45369 #define wxUSE_NUMBERDLG 1
45374 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45375 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45376 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45377 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45379 cat >>confdefs.h
<<\_ACEOF
45380 #define wxUSE_PROGRESSDLG 1
45386 if test "$wxUSE_SPLASH" = "yes"; then
45387 cat >>confdefs.h
<<\_ACEOF
45388 #define wxUSE_SPLASH 1
45391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
45394 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45395 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45396 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45397 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45399 cat >>confdefs.h
<<\_ACEOF
45400 #define wxUSE_STARTUP_TIPS 1
45406 if test "$wxUSE_TEXTDLG" = "yes"; then
45407 cat >>confdefs.h
<<\_ACEOF
45408 #define wxUSE_TEXTDLG 1
45413 if test "$wxUSE_WIZARDDLG" = "yes"; then
45414 cat >>confdefs.h
<<\_ACEOF
45415 #define wxUSE_WIZARDDLG 1
45418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
45424 if test "$wxUSE_MEDIACTRL" = "yes"; then
45427 if test "$wxUSE_GTK" = 1; then
45428 wxUSE_GSTREAMER
="no"
45430 GST_VERSION_MAJOR
=0
45431 GST_VERSION_MINOR
=10
45432 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45434 if test "$wxUSE_GSTREAMER8" = "no"; then
45437 echo "$as_me:$LINENO: checking for GST" >&5
45438 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45440 if test -n "$PKG_CONFIG"; then
45441 if test -n "$GST_CFLAGS"; then
45442 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45444 if test -n "$PKG_CONFIG" && \
45445 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45446 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45449 (exit $ac_status); }; then
45450 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45458 if test -n "$PKG_CONFIG"; then
45459 if test -n "$GST_LIBS"; then
45460 pkg_cv_GST_LIBS
="$GST_LIBS"
45462 if test -n "$PKG_CONFIG" && \
45463 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45464 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45467 (exit $ac_status); }; then
45468 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45479 if test $pkg_failed = yes; then
45481 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45482 _pkg_short_errors_supported
=yes
45484 _pkg_short_errors_supported
=no
45486 if test $_pkg_short_errors_supported = yes; then
45487 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45489 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45491 # Put the nasty error message in config.log where it belongs
45492 echo "$GST_PKG_ERRORS" >&5
45495 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45496 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45497 GST_VERSION_MINOR
=8
45500 elif test $pkg_failed = untried
; then
45502 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45503 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45504 GST_VERSION_MINOR
=8
45508 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45509 GST_LIBS
=$pkg_cv_GST_LIBS
45510 echo "$as_me:$LINENO: result: yes" >&5
45511 echo "${ECHO_T}yes" >&6
45513 wxUSE_GSTREAMER
="yes"
45514 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45518 GST_VERSION_MINOR
=8
45521 if test $GST_VERSION_MINOR = "8"; then
45522 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45525 echo "$as_me:$LINENO: checking for GST" >&5
45526 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45528 if test -n "$PKG_CONFIG"; then
45529 if test -n "$GST_CFLAGS"; then
45530 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45532 if test -n "$PKG_CONFIG" && \
45533 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45534 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45537 (exit $ac_status); }; then
45538 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45546 if test -n "$PKG_CONFIG"; then
45547 if test -n "$GST_LIBS"; then
45548 pkg_cv_GST_LIBS
="$GST_LIBS"
45550 if test -n "$PKG_CONFIG" && \
45551 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45552 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45555 (exit $ac_status); }; then
45556 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45567 if test $pkg_failed = yes; then
45569 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45570 _pkg_short_errors_supported
=yes
45572 _pkg_short_errors_supported
=no
45574 if test $_pkg_short_errors_supported = yes; then
45575 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45577 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45579 # Put the nasty error message in config.log where it belongs
45580 echo "$GST_PKG_ERRORS" >&5
45583 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45584 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45586 elif test $pkg_failed = untried
; then
45588 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45589 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45592 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45593 GST_LIBS
=$pkg_cv_GST_LIBS
45594 echo "$as_me:$LINENO: result: yes" >&5
45595 echo "${ECHO_T}yes" >&6
45596 wxUSE_GSTREAMER
="yes"
45601 if test "$wxUSE_GSTREAMER" = "yes"; then
45604 if "$GCC" = yes; then
45605 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
45606 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
45610 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45611 LIBS
="$GST_LIBS $LIBS"
45613 cat >>confdefs.h
<<\_ACEOF
45614 #define wxUSE_GSTREAMER 1
45622 if test $USE_MEDIA = 1; then
45623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45624 cat >>confdefs.h
<<\_ACEOF
45625 #define wxUSE_MEDIACTRL 1
45632 if test "$cross_compiling" = "yes"; then
45635 OSINFO
=`uname -s -r -m`
45636 OSINFO
="\"$OSINFO\""
45639 cat >>confdefs.h
<<_ACEOF
45640 #define WXWIN_OS_DESCRIPTION $OSINFO
45645 if test "x$prefix" != "xNONE"; then
45648 wxPREFIX
=$ac_default_prefix
45651 cat >>confdefs.h
<<_ACEOF
45652 #define wxINSTALL_PREFIX "$wxPREFIX"
45658 CORE_BASE_LIBS
="net base"
45659 CORE_GUI_LIBS
="adv core"
45661 if test "$wxUSE_XML" = "yes" ; then
45662 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45664 if test "$wxUSE_ODBC" != "no" ; then
45665 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45666 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45668 if test "$wxUSE_HTML" = "yes" ; then
45669 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45671 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45672 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45674 if test "$wxUSE_XRC" = "yes" ; then
45675 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45677 if test "$wxUSE_AUI" = "yes" ; then
45678 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45681 if test "$wxUSE_GUI" != "yes"; then
45690 ac_cpp
='$CPP $CPPFLAGS'
45691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45697 if test "$wxUSE_MAC" = 1 ; then
45698 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45699 if test "$USE_DARWIN" = 1; then
45700 LDFLAGS
="$LDFLAGS -framework QuickTime"
45702 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45705 if test "$USE_DARWIN" = 1; then
45706 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45708 LDFLAGS
="$LDFLAGS -lCarbonLib"
45711 if test "$wxUSE_COCOA" = 1 ; then
45712 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45713 if test "$wxUSE_MEDIACTRL" = "yes"; then
45714 LDFLAGS
="$LDFLAGS -framework QuickTime"
45717 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45718 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45721 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45723 if test "$wxUSE_GUI" = "yes"; then
45726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45727 dynamic erase event exec font image minimal mobile \
45728 mobile/wxedit mobile/styles propsize render \
45729 rotate shaped vscroll widgets"
45731 if test "$wxUSE_MONOLITHIC" != "yes"; then
45732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45734 if test "$TOOLKIT" = "MSW"; then
45735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45736 if test "$wxUSE_UNIVERSAL" != "yes"; then
45737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45740 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45744 SAMPLES_SUBDIRS
="console"
45748 if test "x$INTELCC" = "xyes" ; then
45749 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45750 elif test "$GCC" = yes ; then
45751 CWARNINGS
="-Wall -Wundef"
45754 if test "x$INTELCXX" = "xyes" ; then
45755 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45756 elif test "$GXX" = yes ; then
45757 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45761 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45762 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45765 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45766 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45767 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45770 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45771 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45772 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45774 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45777 if test "x$MWCC" = "xyes"; then
45779 CC
="$CC -cwd source -I-"
45780 CXX
="$CXX -cwd source -I-"
45785 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45786 EXTRALIBS_XML
="$EXPAT_LINK"
45787 EXTRALIBS_HTML
="$MSPACK_LINK"
45788 EXTRALIBS_ODBC
="$ODBC_LINK"
45789 if test "$wxUSE_GUI" = "yes"; then
45790 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45792 if test "$wxUSE_OPENGL" = "yes"; then
45793 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45796 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45798 WXCONFIG_LIBS
="$LIBS"
45800 if test "$wxUSE_REGEX" = "builtin" ; then
45801 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45803 if test "$wxUSE_EXPAT" = "builtin" ; then
45804 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45806 if test "$wxUSE_ODBC" = "builtin" ; then
45807 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45809 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45810 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45812 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45813 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45815 if test "$wxUSE_LIBPNG" = "builtin" ; then
45816 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45818 if test "$wxUSE_ZLIB" = "builtin" ; then
45819 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45822 for i
in $wxconfig_3rdparty ; do
45823 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45827 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45841 if test $wxUSE_MONOLITHIC = "yes" ; then
45847 if test $wxUSE_PLUGINS = "yes" ; then
45853 if test $wxUSE_ODBC != "no" ; then
45859 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45865 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45895 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45906 TOOLKIT_DESC
="GTK+"
45907 if test "$WXGTK20" = 1; then
45908 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
45909 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45910 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
45912 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45913 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
45915 if test "$wxUSE_LIBHILDON" = "yes"; then
45916 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
45919 if test "$TOOLKIT_EXTRA" != ""; then
45920 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45926 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
45930 TOOLKIT_DESC
="base only"
45934 if test "$wxUSE_WINE" = "yes"; then
45935 BAKEFILE_FORCE_PLATFORM
=win32
45938 if test "$wxUSE_MAC" = 1 ; then
45939 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
45940 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
45941 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45943 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45945 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
45946 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
45947 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
45948 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
45951 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45952 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45958 if test "x$BAKEFILE_HOST" = "x"; then
45959 if test "x${host}" = "x" ; then
45960 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45961 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45962 { (exit 1); exit 1; }; }
45965 BAKEFILE_HOST
="${host}"
45968 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45970 if test -n "$ac_tool_prefix"; then
45971 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45972 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45973 echo "$as_me:$LINENO: checking for $ac_word" >&5
45974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45975 if test "${ac_cv_prog_RANLIB+set}" = set; then
45976 echo $ECHO_N "(cached) $ECHO_C" >&6
45978 if test -n "$RANLIB"; then
45979 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45982 for as_dir
in $PATH
45985 test -z "$as_dir" && as_dir
=.
45986 for ac_exec_ext
in '' $ac_executable_extensions; do
45987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45988 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45997 RANLIB
=$ac_cv_prog_RANLIB
45998 if test -n "$RANLIB"; then
45999 echo "$as_me:$LINENO: result: $RANLIB" >&5
46000 echo "${ECHO_T}$RANLIB" >&6
46002 echo "$as_me:$LINENO: result: no" >&5
46003 echo "${ECHO_T}no" >&6
46007 if test -z "$ac_cv_prog_RANLIB"; then
46008 ac_ct_RANLIB
=$RANLIB
46009 # Extract the first word of "ranlib", so it can be a program name with args.
46010 set dummy ranlib
; ac_word
=$2
46011 echo "$as_me:$LINENO: checking for $ac_word" >&5
46012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46013 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46014 echo $ECHO_N "(cached) $ECHO_C" >&6
46016 if test -n "$ac_ct_RANLIB"; then
46017 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
46019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46020 for as_dir
in $PATH
46023 test -z "$as_dir" && as_dir
=.
46024 for ac_exec_ext
in '' $ac_executable_extensions; do
46025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46026 ac_cv_prog_ac_ct_RANLIB
="ranlib"
46027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46033 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
46036 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
46037 if test -n "$ac_ct_RANLIB"; then
46038 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46039 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46041 echo "$as_me:$LINENO: result: no" >&5
46042 echo "${ECHO_T}no" >&6
46045 RANLIB
=$ac_ct_RANLIB
46047 RANLIB
="$ac_cv_prog_RANLIB"
46050 # Find a good install program. We prefer a C program (faster),
46051 # so one script is as good as another. But avoid the broken or
46052 # incompatible versions:
46053 # SysV /etc/install, /usr/sbin/install
46054 # SunOS /usr/etc/install
46055 # IRIX /sbin/install
46057 # AmigaOS /C/install, which installs bootblocks on floppy discs
46058 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46059 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46060 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46061 # OS/2's system install, which has a completely different semantic
46062 # ./install, which can be erroneously created by make from ./install.sh.
46063 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46064 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46065 if test -z "$INSTALL"; then
46066 if test "${ac_cv_path_install+set}" = set; then
46067 echo $ECHO_N "(cached) $ECHO_C" >&6
46069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46070 for as_dir
in $PATH
46073 test -z "$as_dir" && as_dir
=.
46074 # Account for people who put trailing slashes in PATH elements.
46076 .
/ | .
// | /cC
/* | \
46077 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
46078 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
46081 # OSF1 and SCO ODT 3.0 have their own names for install.
46082 # Don't use installbsd from OSF since it installs stuff as root
46084 for ac_prog
in ginstall scoinst
install; do
46085 for ac_exec_ext
in '' $ac_executable_extensions; do
46086 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46087 if test $ac_prog = install &&
46088 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46089 # AIX install. It has an incompatible calling convention.
46091 elif test $ac_prog = install &&
46092 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46093 # program-specific install script used by HP pwplus--don't use.
46096 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
46108 if test "${ac_cv_path_install+set}" = set; then
46109 INSTALL
=$ac_cv_path_install
46111 # As a last resort, use the slow shell script. We don't cache a
46112 # path for INSTALL within a source directory, because that will
46113 # break other packages using the cache if that directory is
46114 # removed, or if the path is relative.
46115 INSTALL
=$ac_install_sh
46118 echo "$as_me:$LINENO: result: $INSTALL" >&5
46119 echo "${ECHO_T}$INSTALL" >&6
46121 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46122 # It thinks the first close brace ends the variable substitution.
46123 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
46125 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
46127 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
46129 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46130 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46132 if test "$LN_S" = "ln -s"; then
46133 echo "$as_me:$LINENO: result: yes" >&5
46134 echo "${ECHO_T}yes" >&6
46136 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46137 echo "${ECHO_T}no, using $LN_S" >&6
46141 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46142 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46143 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46144 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46145 echo $ECHO_N "(cached) $ECHO_C" >&6
46147 cat >conftest.
make <<\_ACEOF
46149 @
echo 'ac_maketemp="$(MAKE)"'
46151 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46152 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46153 if test -n "$ac_maketemp"; then
46154 eval ac_cv_prog_make_
${ac_make}_set
=yes
46156 eval ac_cv_prog_make_
${ac_make}_set
=no
46158 rm -f conftest.
make
46160 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46161 echo "$as_me:$LINENO: result: yes" >&5
46162 echo "${ECHO_T}yes" >&6
46165 echo "$as_me:$LINENO: result: no" >&5
46166 echo "${ECHO_T}no" >&6
46167 SET_MAKE
="MAKE=${MAKE-make}"
46172 if test -n "$ac_tool_prefix"; then
46173 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46174 set dummy
${ac_tool_prefix}ar; ac_word
=$2
46175 echo "$as_me:$LINENO: checking for $ac_word" >&5
46176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46177 if test "${ac_cv_prog_AR+set}" = set; then
46178 echo $ECHO_N "(cached) $ECHO_C" >&6
46180 if test -n "$AR"; then
46181 ac_cv_prog_AR
="$AR" # Let the user override the test.
46183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46184 for as_dir
in $PATH
46187 test -z "$as_dir" && as_dir
=.
46188 for ac_exec_ext
in '' $ac_executable_extensions; do
46189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46190 ac_cv_prog_AR
="${ac_tool_prefix}ar"
46191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46200 if test -n "$AR"; then
46201 echo "$as_me:$LINENO: result: $AR" >&5
46202 echo "${ECHO_T}$AR" >&6
46204 echo "$as_me:$LINENO: result: no" >&5
46205 echo "${ECHO_T}no" >&6
46209 if test -z "$ac_cv_prog_AR"; then
46211 # Extract the first word of "ar", so it can be a program name with args.
46212 set dummy
ar; ac_word
=$2
46213 echo "$as_me:$LINENO: checking for $ac_word" >&5
46214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46215 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46216 echo $ECHO_N "(cached) $ECHO_C" >&6
46218 if test -n "$ac_ct_AR"; then
46219 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
46221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46222 for as_dir
in $PATH
46225 test -z "$as_dir" && as_dir
=.
46226 for ac_exec_ext
in '' $ac_executable_extensions; do
46227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46228 ac_cv_prog_ac_ct_AR
="ar"
46229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46235 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
46238 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46239 if test -n "$ac_ct_AR"; then
46240 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46241 echo "${ECHO_T}$ac_ct_AR" >&6
46243 echo "$as_me:$LINENO: result: no" >&5
46244 echo "${ECHO_T}no" >&6
46249 AR
="$ac_cv_prog_AR"
46252 if test -n "$ac_tool_prefix"; then
46253 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46254 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46255 echo "$as_me:$LINENO: checking for $ac_word" >&5
46256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46257 if test "${ac_cv_prog_STRIP+set}" = set; then
46258 echo $ECHO_N "(cached) $ECHO_C" >&6
46260 if test -n "$STRIP"; then
46261 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46264 for as_dir
in $PATH
46267 test -z "$as_dir" && as_dir
=.
46268 for ac_exec_ext
in '' $ac_executable_extensions; do
46269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46270 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46279 STRIP
=$ac_cv_prog_STRIP
46280 if test -n "$STRIP"; then
46281 echo "$as_me:$LINENO: result: $STRIP" >&5
46282 echo "${ECHO_T}$STRIP" >&6
46284 echo "$as_me:$LINENO: result: no" >&5
46285 echo "${ECHO_T}no" >&6
46289 if test -z "$ac_cv_prog_STRIP"; then
46291 # Extract the first word of "strip", so it can be a program name with args.
46292 set dummy strip
; ac_word
=$2
46293 echo "$as_me:$LINENO: checking for $ac_word" >&5
46294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46295 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46296 echo $ECHO_N "(cached) $ECHO_C" >&6
46298 if test -n "$ac_ct_STRIP"; then
46299 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46302 for as_dir
in $PATH
46305 test -z "$as_dir" && as_dir
=.
46306 for ac_exec_ext
in '' $ac_executable_extensions; do
46307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46308 ac_cv_prog_ac_ct_STRIP
="strip"
46309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46315 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
46318 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46319 if test -n "$ac_ct_STRIP"; then
46320 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46321 echo "${ECHO_T}$ac_ct_STRIP" >&6
46323 echo "$as_me:$LINENO: result: no" >&5
46324 echo "${ECHO_T}no" >&6
46329 STRIP
="$ac_cv_prog_STRIP"
46332 if test -n "$ac_tool_prefix"; then
46333 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46334 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46335 echo "$as_me:$LINENO: checking for $ac_word" >&5
46336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46337 if test "${ac_cv_prog_NM+set}" = set; then
46338 echo $ECHO_N "(cached) $ECHO_C" >&6
46340 if test -n "$NM"; then
46341 ac_cv_prog_NM
="$NM" # Let the user override the test.
46343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46344 for as_dir
in $PATH
46347 test -z "$as_dir" && as_dir
=.
46348 for ac_exec_ext
in '' $ac_executable_extensions; do
46349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46350 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46360 if test -n "$NM"; then
46361 echo "$as_me:$LINENO: result: $NM" >&5
46362 echo "${ECHO_T}$NM" >&6
46364 echo "$as_me:$LINENO: result: no" >&5
46365 echo "${ECHO_T}no" >&6
46369 if test -z "$ac_cv_prog_NM"; then
46371 # Extract the first word of "nm", so it can be a program name with args.
46372 set dummy nm
; ac_word
=$2
46373 echo "$as_me:$LINENO: checking for $ac_word" >&5
46374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46375 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46376 echo $ECHO_N "(cached) $ECHO_C" >&6
46378 if test -n "$ac_ct_NM"; then
46379 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46382 for as_dir
in $PATH
46385 test -z "$as_dir" && as_dir
=.
46386 for ac_exec_ext
in '' $ac_executable_extensions; do
46387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46388 ac_cv_prog_ac_ct_NM
="nm"
46389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46395 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
46398 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46399 if test -n "$ac_ct_NM"; then
46400 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46401 echo "${ECHO_T}$ac_ct_NM" >&6
46403 echo "$as_me:$LINENO: result: no" >&5
46404 echo "${ECHO_T}no" >&6
46409 NM
="$ac_cv_prog_NM"
46413 case ${BAKEFILE_HOST} in
46415 INSTALL_DIR
="mkdir -p"
46417 *) INSTALL_DIR
="$INSTALL -d"
46423 case ${BAKEFILE_HOST} in
46424 *-*-cygwin* | *-*-mingw32* )
46425 LDFLAGS_GUI
="-mwindows"
46431 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46432 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46433 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46434 echo $ECHO_N "(cached) $ECHO_C" >&6
46437 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46438 egrep -s GNU
> /dev
/null
); then
46439 bakefile_cv_prog_makeisgnu
="yes"
46441 bakefile_cv_prog_makeisgnu
="no"
46445 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46446 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46448 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46465 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46466 case "${BAKEFILE_HOST}" in
46473 *-pc-os2_emx | *-pc-os2-emx )
46483 powerpc
-apple-macos* )
46492 case "$BAKEFILE_FORCE_PLATFORM" in
46513 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46514 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46515 { (exit 1); exit 1; }; }
46530 # Check whether --enable-omf or --disable-omf was given.
46531 if test "${enable_omf+set}" = set; then
46532 enableval
="$enable_omf"
46533 bk_os2_use_omf
="$enableval"
46536 case "${BAKEFILE_HOST}" in
46538 if test "x$GCC" = "xyes"; then
46539 CFLAGS
="$CFLAGS -fno-common"
46540 CXXFLAGS
="$CXXFLAGS -fno-common"
46542 if test "x$XLCC" = "xyes"; then
46543 CFLAGS
="$CFLAGS -qnocommon"
46544 CXXFLAGS
="$CXXFLAGS -qnocommon"
46548 *-pc-os2_emx | *-pc-os2-emx )
46549 if test "x$bk_os2_use_omf" = "xyes" ; then
46552 LDFLAGS
="-Zomf $LDFLAGS"
46553 CFLAGS
="-Zomf $CFLAGS"
46554 CXXFLAGS
="-Zomf $CXXFLAGS"
46562 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46568 SO_SUFFIX_MODULE
="so"
46573 DLLPREFIX_MODULE
=""
46577 case "${BAKEFILE_HOST}" in
46580 SO_SUFFIX_MODULE
="sl"
46584 SO_SUFFIX_MODULE
="a"
46588 SO_SUFFIX_MODULE
="dll"
46589 DLLIMP_SUFFIX
="dll.a"
46596 SO_SUFFIX_MODULE
="dll"
46597 DLLIMP_SUFFIX
="dll.a"
46607 *-pc-os2_emx | *-pc-os2-emx )
46609 SO_SUFFIX_MODULE
="dll"
46610 DLLIMP_SUFFIX
=$OS2_LIBEXT
46614 LIBEXT
=".$OS2_LIBEXT"
46619 SO_SUFFIX_MODULE
="bundle"
46623 if test "x$DLLIMP_SUFFIX" = "x" ; then
46624 DLLIMP_SUFFIX
="$SO_SUFFIX"
46639 if test "x$GCC" = "xyes"; then
46643 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46644 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46647 case "${BAKEFILE_HOST}" in
46649 if test "x$GCC" != "xyes"; then
46650 LDFLAGS
="$LDFLAGS -L/usr/lib"
46652 SHARED_LD_CC
="${CC} -b -o"
46653 SHARED_LD_CXX
="${CXX} -b -o"
46659 if test "x$GCC" != "xyes"; then
46660 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46661 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46662 if test "${bakefile_cv_prog_icc+set}" = set; then
46663 echo $ECHO_N "(cached) $ECHO_C" >&6
46666 cat >conftest.
$ac_ext <<_ACEOF
46669 cat confdefs.h
>>conftest.
$ac_ext
46670 cat >>conftest.
$ac_ext <<_ACEOF
46671 /* end confdefs.h. */
46677 #ifndef __INTEL_COMPILER
46685 rm -f conftest.
$ac_objext
46686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46687 (eval $ac_compile) 2>conftest.er1
46689 grep -v '^ *+' conftest.er1
>conftest.err
46691 cat conftest.err
>&5
46692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46693 (exit $ac_status); } &&
46694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46696 (eval $ac_try) 2>&5
46698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46699 (exit $ac_status); }; } &&
46700 { ac_try
='test -s conftest.$ac_objext'
46701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46702 (eval $ac_try) 2>&5
46704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46705 (exit $ac_status); }; }; then
46706 bakefile_cv_prog_icc
=yes
46708 echo "$as_me: failed program was:" >&5
46709 sed 's/^/| /' conftest.
$ac_ext >&5
46711 bakefile_cv_prog_icc
=no
46714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46717 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46718 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46719 if test "$bakefile_cv_prog_icc" = "yes"; then
46726 if test "x$GCC" != xyes
; then
46727 SHARED_LD_CC
="${CC} -G -o"
46728 SHARED_LD_CXX
="${CXX} -G -o"
46736 cat <<EOF >shared-ld-sh
46738 #-----------------------------------------------------------------------------
46739 #-- Name: distrib/mac/shared-ld-sh
46740 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46741 #-- Author: Gilles Depeyrot
46742 #-- Copyright: (c) 2002 Gilles Depeyrot
46743 #-- Licence: any use permitted
46744 #-----------------------------------------------------------------------------
46749 linking_flag="-dynamiclib"
46750 ldargs="-r -keep_private_externs -nostdlib"
46752 while test ${D}# -gt 0; do
46759 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46760 # collect these options and values
46761 args="${D}{args} ${D}1 ${D}2"
46766 # collect these load args
46767 ldargs="${D}{ldargs} ${D}1"
46770 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46771 # collect these options
46772 args="${D}{args} ${D}1"
46775 -dynamiclib|-bundle)
46776 linking_flag="${D}1"
46780 echo "shared-ld: unhandled option '${D}1'"
46784 *.o | *.a | *.dylib)
46785 # collect object files
46786 objects="${D}{objects} ${D}1"
46790 echo "shared-ld: unhandled argument '${D}1'"
46801 # Link one module containing all the others
46803 if test ${D}{verbose} = 1; then
46804 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46806 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46810 # Link the shared library from the single module created, but only if the
46811 # previous command didn't fail:
46813 if test ${D}{status} = 0; then
46814 if test ${D}{verbose} = 1; then
46815 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46817 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46822 # Remove intermediate module
46824 rm -f master.${D}${D}.o
46829 chmod +x shared
-ld-sh
46831 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46832 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46835 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46836 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46837 if test "${bakefile_cv_gcc31+set}" = set; then
46838 echo $ECHO_N "(cached) $ECHO_C" >&6
46841 cat >conftest.
$ac_ext <<_ACEOF
46844 cat confdefs.h
>>conftest.
$ac_ext
46845 cat >>conftest.
$ac_ext <<_ACEOF
46846 /* end confdefs.h. */
46852 #if (__GNUC__ < 3) || \
46853 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46861 rm -f conftest.
$ac_objext
46862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46863 (eval $ac_compile) 2>conftest.er1
46865 grep -v '^ *+' conftest.er1
>conftest.err
46867 cat conftest.err
>&5
46868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46869 (exit $ac_status); } &&
46870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46872 (eval $ac_try) 2>&5
46874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46875 (exit $ac_status); }; } &&
46876 { ac_try
='test -s conftest.$ac_objext'
46877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46878 (eval $ac_try) 2>&5
46880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46881 (exit $ac_status); }; }; then
46883 bakefile_cv_gcc31
=yes
46886 echo "$as_me: failed program was:" >&5
46887 sed 's/^/| /' conftest.
$ac_ext >&5
46890 bakefile_cv_gcc31
=no
46894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46897 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46898 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46899 if test "$bakefile_cv_gcc31" = "no"; then
46900 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46901 SHARED_LD_CXX
="$SHARED_LD_CC"
46903 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46904 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46907 if test "x$GCC" == "xyes"; then
46908 PIC_FLAG
="-dynamic -fPIC"
46910 if test "x$XLCC" = "xyes"; then
46911 PIC_FLAG
="-dynamic -DPIC"
46916 if test "x$GCC" = "xyes"; then
46919 case "${BAKEFILE_HOST}" in
46921 LD_EXPFULL
="-Wl,-bexpfull"
46925 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46926 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46928 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46929 set dummy makeC
++SharedLib
; ac_word
=$2
46930 echo "$as_me:$LINENO: checking for $ac_word" >&5
46931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46932 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46933 echo $ECHO_N "(cached) $ECHO_C" >&6
46935 if test -n "$AIX_CXX_LD"; then
46936 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46939 for as_dir
in $PATH
46942 test -z "$as_dir" && as_dir
=.
46943 for ac_exec_ext
in '' $ac_executable_extensions; do
46944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46945 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46952 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46955 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46956 if test -n "$AIX_CXX_LD"; then
46957 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46958 echo "${ECHO_T}$AIX_CXX_LD" >&6
46960 echo "$as_me:$LINENO: result: no" >&5
46961 echo "${ECHO_T}no" >&6
46964 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46965 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46970 SHARED_LD_CC
="${LD} -nostart -o"
46971 SHARED_LD_CXX
="${LD} -nostart -o"
46975 if test "x$GCC" != "xyes"; then
46980 *-*-cygwin* | *-*-mingw32* )
46982 SHARED_LD_CC
="\$(CC) -shared -o"
46983 SHARED_LD_CXX
="\$(CXX) -shared -o"
46987 *-pc-os2_emx | *-pc-os2-emx )
46988 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46989 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46993 cat <<EOF >dllar.sh
46996 # dllar - a tool to build both a .dll and an .a file
46997 # from a set of object (.o) files for EMX/OS2.
46999 # Written by Andrew Zabolotny, bit@freya.etu.ru
47000 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47002 # This script will accept a set of files on the command line.
47003 # All the public symbols from the .o files will be exported into
47004 # a .DEF file, then linker will be run (through gcc) against them to
47005 # build a shared library consisting of all given .o files. All libraries
47006 # (.a) will be first decompressed into component .o files then act as
47007 # described above. You can optionally give a description (-d "description")
47008 # which will be put into .DLL. To see the list of accepted options (as well
47009 # as command-line format) simply run this program without options. The .DLL
47010 # is built to be imported by name (there is no guarantee that new versions
47011 # of the library you build will have same ordinals for same symbols).
47013 # dllar is free software; you can redistribute it and/or modify
47014 # it under the terms of the GNU General Public License as published by
47015 # the Free Software Foundation; either version 2, or (at your option)
47016 # any later version.
47018 # dllar is distributed in the hope that it will be useful,
47019 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47020 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47021 # GNU General Public License for more details.
47023 # You should have received a copy of the GNU General Public License
47024 # along with dllar; see the file COPYING. If not, write to the Free
47025 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47028 # To successfuly run this program you will need:
47029 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47030 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47032 # (used to build the .dll)
47034 # (used to create .def file from .o files)
47036 # (used to create .a file from .def file)
47037 # - GNU text utilites (cat, sort, uniq)
47038 # used to process emxexp output
47039 # - GNU file utilities (mv, rm)
47041 # - lxlite (optional, see flag below)
47042 # (used for general .dll cleanup)
47049 # basnam, variant of basename, which does _not_ remove the path, _iff_
47050 # second argument (suffix to remove) is given
47054 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47057 echo ${D}1 | sed 's/'${D}2'${D}//'
47060 echo "error in basnam ${D}*"
47066 # Cleanup temporary files and output
47069 for i in ${D}inputFiles ; do
47072 rm -rf \`basnam ${D}i !\`
47079 # Kill result in case of failure as there is just to many stupid make/nmake
47080 # things out there which doesn't do this.
47081 if [ ${D}# -eq 0 ]; then
47082 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47086 # Print usage and exit script with rc=1.
47088 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47089 echo ' [-name-mangler-script script.sh]'
47090 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47091 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47092 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47093 echo ' [*.o] [*.a]'
47094 echo '*> "output_file" should have no extension.'
47095 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47096 echo ' The import library name is derived from this and is set to "name".a,'
47097 echo ' unless overridden by -import'
47098 echo '*> "importlib_name" should have no extension.'
47099 echo ' If it has the .o, or .a extension, it is automatically removed.'
47100 echo ' This name is used as the import library name and may be longer and'
47101 echo ' more descriptive than the DLL name which has to follow the old '
47102 echo ' 8.3 convention of FAT.'
47103 echo '*> "script.sh may be given to override the output_file name by a'
47104 echo ' different name. It is mainly useful if the regular make process'
47105 echo ' of some package does not take into account OS/2 restriction of'
47106 echo ' DLL name lengths. It takes the importlib name as input and is'
47107 echo ' supposed to procude a shorter name as output. The script should'
47108 echo ' expect to get importlib_name without extension and should produce'
47109 echo ' a (max.) 8 letter name without extension.'
47110 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47111 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47112 echo ' These flags will be put at the start of GCC command line.'
47113 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47114 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47115 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47116 echo ' If the last character of a symbol is "*", all symbols beginning'
47117 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47118 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47119 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47120 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47121 echo ' C runtime DLLs.'
47122 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47123 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47124 echo ' unchanged to GCC at the end of command line.'
47125 echo '*> If you create a DLL from a library and you do not specify -o,'
47126 echo ' the basename for DLL and import library will be set to library name,'
47127 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47128 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47129 echo ' library will be renamed into gcc_s.a.'
47132 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47133 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47138 # Execute a command.
47139 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47140 # @Uses Whatever CleanUp() uses.
47146 if [ ${D}rcCmd -ne 0 ]; then
47147 echo "command failed, exit code="${D}rcCmd
47162 CFLAGS="-s -Zcrtdll"
47164 EXPORT_BY_ORDINALS=0
47169 case ${D}curDirS in
47173 curDirS=${D}{curDirS}"/"
47176 # Parse commandline
47179 while [ ${D}1 ]; do
47182 EXPORT_BY_ORDINALS=1;
47192 -name-mangler-script)
47213 exclude_symbols=${D}{exclude_symbols}${D}1" "
47217 library_flags=${D}{library_flags}${D}1" "
47236 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47239 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47240 if [ ${D}omfLinking -eq 1 ]; then
47241 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47243 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47248 if [ ${D}libsToLink -ne 0 ]; then
47249 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47251 for file in ${D}1 ; do
47252 if [ -f ${D}file ]; then
47253 inputFiles="${D}{inputFiles} ${D}file"
47257 if [ ${D}found -eq 0 ]; then
47258 echo "ERROR: No file(s) found: "${D}1
47265 done # iterate cmdline words
47268 if [ -z "${D}inputFiles" ]; then
47269 echo "dllar: no input files"
47273 # Now extract all .o files from .a files
47275 for file in ${D}inputFiles ; do
47286 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47291 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47293 if [ ${D}? -ne 0 ]; then
47294 echo "Failed to create subdirectory ./${D}dirname"
47298 # Append '!' to indicate archive
47299 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47300 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47303 for subfile in ${D}dirname/*.o* ; do
47304 if [ -f ${D}subfile ]; then
47306 if [ -s ${D}subfile ]; then
47307 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47308 newInputFiles="${D}newInputFiles ${D}subfile"
47312 if [ ${D}found -eq 0 ]; then
47313 echo "WARNING: there are no files in archive \\'${D}file\\'"
47317 newInputFiles="${D}{newInputFiles} ${D}file"
47321 inputFiles="${D}newInputFiles"
47323 # Output filename(s).
47325 if [ -z ${D}outFile ]; then
47327 set outFile ${D}inputFiles; outFile=${D}2
47330 # If it is an archive, remove the '!' and the '_%' suffixes
47331 case ${D}outFile in
47333 outFile=\`basnam ${D}outFile _%!\`
47338 case ${D}outFile in
47340 outFile=\`basnam ${D}outFile .dll\`
47343 outFile=\`basnam ${D}outFile .DLL\`
47346 outFile=\`basnam ${D}outFile .o\`
47349 outFile=\`basnam ${D}outFile .obj\`
47352 outFile=\`basnam ${D}outFile .a\`
47355 outFile=\`basnam ${D}outFile .lib\`
47360 case ${D}outimpFile in
47362 outimpFile=\`basnam ${D}outimpFile .a\`
47365 outimpFile=\`basnam ${D}outimpFile .lib\`
47370 if [ -z ${D}outimpFile ]; then
47371 outimpFile=${D}outFile
47373 defFile="${D}{outFile}.def"
47374 arcFile="${D}{outimpFile}.a"
47375 arcFile2="${D}{outimpFile}.lib"
47377 #create ${D}dllFile as something matching 8.3 restrictions,
47378 if [ -z ${D}renameScript ] ; then
47379 dllFile="${D}outFile"
47381 dllFile=\`${D}renameScript ${D}outimpFile\`
47384 if [ ${D}do_backup -ne 0 ] ; then
47385 if [ -f ${D}arcFile ] ; then
47386 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47388 if [ -f ${D}arcFile2 ] ; then
47389 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47393 # Extract public symbols from all the object files.
47394 tmpdefFile=${D}{defFile}_%
47395 rm -f ${D}tmpdefFile
47396 for file in ${D}inputFiles ; do
47401 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47406 # Create the def file.
47408 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47409 dllFile="${D}{dllFile}.dll"
47410 if [ ! -z ${D}description ]; then
47411 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47413 echo "EXPORTS" >> ${D}defFile
47415 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47416 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47418 # Checks if the export is ok or not.
47419 for word in ${D}exclude_symbols; do
47420 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47421 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47425 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47426 sed "=" < ${D}tmpdefFile | \\
47430 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47432 ' > ${D}{tmpdefFile}%
47433 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47435 rm -f ${D}{tmpdefFile}%
47437 cat ${D}tmpdefFile >> ${D}defFile
47438 rm -f ${D}tmpdefFile
47440 # Do linking, create implib, and apply lxlite.
47442 for file in ${D}inputFiles ; do
47447 gccCmdl="${D}gccCmdl ${D}file"
47451 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47452 touch "${D}{outFile}.dll"
47454 doCommand "emximp -o ${D}arcFile ${D}defFile"
47455 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47457 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47460 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47462 doCommand "emxomf -s -l ${D}arcFile"
47472 powerpc
-apple-macos* | \
47473 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47484 if test "x$PIC_FLAG" != "x" ; then
47485 PIC_FLAG
="$PIC_FLAG -DPIC"
47488 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47489 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47491 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47492 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47511 case "${BAKEFILE_HOST}" in
47512 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47513 SONAME_FLAG
="-Wl,-soname,"
47547 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47548 if test "${enable_dependency_tracking+set}" = set; then
47549 enableval
="$enable_dependency_tracking"
47550 bk_use_trackdeps
="$enableval"
47553 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47554 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47556 if test "x$bk_use_trackdeps" = "xno" ; then
47558 echo "$as_me:$LINENO: result: disabled" >&5
47559 echo "${ECHO_T}disabled" >&6
47563 if test "x$GCC" = "xyes"; then
47565 case "${BAKEFILE_HOST}" in
47567 DEPSFLAG
="-no-cpp-precomp -MMD"
47573 echo "$as_me:$LINENO: result: gcc" >&5
47574 echo "${ECHO_T}gcc" >&6
47575 elif test "x$MWCC" = "xyes"; then
47578 echo "$as_me:$LINENO: result: mwcc" >&5
47579 echo "${ECHO_T}mwcc" >&6
47580 elif test "x$SUNCC" = "xyes"; then
47583 echo "$as_me:$LINENO: result: Sun cc" >&5
47584 echo "${ECHO_T}Sun cc" >&6
47585 elif test "x$SGICC" = "xyes"; then
47588 echo "$as_me:$LINENO: result: SGI cc" >&5
47589 echo "${ECHO_T}SGI cc" >&6
47590 elif test "x$HPCC" = "xyes"; then
47593 echo "$as_me:$LINENO: result: HP cc" >&5
47594 echo "${ECHO_T}HP cc" >&6
47595 elif test "x$COMPAQCC" = "xyes"; then
47598 echo "$as_me:$LINENO: result: Compaq cc" >&5
47599 echo "${ECHO_T}Compaq cc" >&6
47602 echo "$as_me:$LINENO: result: none" >&5
47603 echo "${ECHO_T}none" >&6
47606 if test $DEPS_TRACKING = 1 ; then
47612 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47613 # script. It is used to track C/C++ files dependencies in portable way.
47615 # Permission is given to use this file in any way.
47617 DEPSMODE=${DEPSMODE}
47619 DEPSFLAG="${DEPSFLAG}"
47621 mkdir -p ${D}DEPSDIR
47623 if test ${D}DEPSMODE = gcc ; then
47624 ${D}* ${D}{DEPSFLAG}
47626 if test ${D}{status} != 0 ; then
47629 # move created file to the location we want it in:
47630 while test ${D}# -gt 0; do
47644 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47645 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47646 if test -f ${D}depfile ; then
47647 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47650 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47651 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47652 if test ! -f ${D}depfile ; then
47653 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47654 depfile="${D}objfile.d"
47656 if test -f ${D}depfile ; then
47657 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47662 elif test ${D}DEPSMODE = mwcc ; then
47663 ${D}* || exit ${D}?
47664 # Run mwcc again with -MM and redirect into the dep file we want
47665 # NOTE: We can't use shift here because we need ${D}* to be valid
47667 for arg in ${D}* ; do
47668 if test "${D}prevarg" = "-o"; then
47681 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47683 elif test ${D}DEPSMODE = unixcc; then
47684 ${D}* || exit ${D}?
47685 # Run compiler again with deps flag and redirect into the dep file.
47686 # It doesn't work if the '-o FILE' option is used, but without it the
47687 # dependency file will contain the wrong name for the object. So it is
47688 # removed from the command line, and the dep file is fixed with sed.
47690 while test ${D}# -gt 0; do
47697 eval arg${D}#=\\${D}1
47698 cmd="${D}cmd \\${D}arg${D}#"
47703 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47718 case ${BAKEFILE_HOST} in
47719 *-*-cygwin* | *-*-mingw32* )
47720 if test -n "$ac_tool_prefix"; then
47721 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47722 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47723 echo "$as_me:$LINENO: checking for $ac_word" >&5
47724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47725 if test "${ac_cv_prog_WINDRES+set}" = set; then
47726 echo $ECHO_N "(cached) $ECHO_C" >&6
47728 if test -n "$WINDRES"; then
47729 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47732 for as_dir
in $PATH
47735 test -z "$as_dir" && as_dir
=.
47736 for ac_exec_ext
in '' $ac_executable_extensions; do
47737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47738 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47747 WINDRES
=$ac_cv_prog_WINDRES
47748 if test -n "$WINDRES"; then
47749 echo "$as_me:$LINENO: result: $WINDRES" >&5
47750 echo "${ECHO_T}$WINDRES" >&6
47752 echo "$as_me:$LINENO: result: no" >&5
47753 echo "${ECHO_T}no" >&6
47757 if test -z "$ac_cv_prog_WINDRES"; then
47758 ac_ct_WINDRES
=$WINDRES
47759 # Extract the first word of "windres", so it can be a program name with args.
47760 set dummy windres
; ac_word
=$2
47761 echo "$as_me:$LINENO: checking for $ac_word" >&5
47762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47763 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47764 echo $ECHO_N "(cached) $ECHO_C" >&6
47766 if test -n "$ac_ct_WINDRES"; then
47767 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47770 for as_dir
in $PATH
47773 test -z "$as_dir" && as_dir
=.
47774 for ac_exec_ext
in '' $ac_executable_extensions; do
47775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47776 ac_cv_prog_ac_ct_WINDRES
="windres"
47777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47785 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47786 if test -n "$ac_ct_WINDRES"; then
47787 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47788 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47790 echo "$as_me:$LINENO: result: no" >&5
47791 echo "${ECHO_T}no" >&6
47794 WINDRES
=$ac_ct_WINDRES
47796 WINDRES
="$ac_cv_prog_WINDRES"
47801 *-*-darwin* | powerpc
-apple-macos* )
47802 # Extract the first word of "Rez", so it can be a program name with args.
47803 set dummy Rez
; ac_word
=$2
47804 echo "$as_me:$LINENO: checking for $ac_word" >&5
47805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47806 if test "${ac_cv_prog_REZ+set}" = set; then
47807 echo $ECHO_N "(cached) $ECHO_C" >&6
47809 if test -n "$REZ"; then
47810 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47813 for as_dir
in $PATH
47816 test -z "$as_dir" && as_dir
=.
47817 for ac_exec_ext
in '' $ac_executable_extensions; do
47818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47819 ac_cv_prog_REZ
="Rez"
47820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47826 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47829 REZ
=$ac_cv_prog_REZ
47830 if test -n "$REZ"; then
47831 echo "$as_me:$LINENO: result: $REZ" >&5
47832 echo "${ECHO_T}$REZ" >&6
47834 echo "$as_me:$LINENO: result: no" >&5
47835 echo "${ECHO_T}no" >&6
47838 # Extract the first word of "SetFile", so it can be a program name with args.
47839 set dummy SetFile
; ac_word
=$2
47840 echo "$as_me:$LINENO: checking for $ac_word" >&5
47841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47842 if test "${ac_cv_prog_SETFILE+set}" = set; then
47843 echo $ECHO_N "(cached) $ECHO_C" >&6
47845 if test -n "$SETFILE"; then
47846 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47849 for as_dir
in $PATH
47852 test -z "$as_dir" && as_dir
=.
47853 for ac_exec_ext
in '' $ac_executable_extensions; do
47854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47855 ac_cv_prog_SETFILE
="SetFile"
47856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47862 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47865 SETFILE
=$ac_cv_prog_SETFILE
47866 if test -n "$SETFILE"; then
47867 echo "$as_me:$LINENO: result: $SETFILE" >&5
47868 echo "${ECHO_T}$SETFILE" >&6
47870 echo "$as_me:$LINENO: result: no" >&5
47871 echo "${ECHO_T}no" >&6
47882 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
47885 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
47889 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47890 if test "${enable_precomp_headers+set}" = set; then
47891 enableval
="$enable_precomp_headers"
47892 bk_use_pch
="$enableval"
47899 case ${BAKEFILE_HOST} in
47905 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47906 if test "x$GCC" = "xyes"; then
47907 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47908 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47909 cat >conftest.
$ac_ext <<_ACEOF
47912 cat confdefs.h
>>conftest.
$ac_ext
47913 cat >>conftest.
$ac_ext <<_ACEOF
47914 /* end confdefs.h. */
47920 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47921 There is no PCH support
47924 There is no PCH support
47926 #if (__GNUC__ == 3) && \
47927 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47928 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47929 ( defined(__INTEL_COMPILER) )
47930 There is no PCH support
47937 rm -f conftest.
$ac_objext
47938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47939 (eval $ac_compile) 2>conftest.er1
47941 grep -v '^ *+' conftest.er1
>conftest.err
47943 cat conftest.err
>&5
47944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47945 (exit $ac_status); } &&
47946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47948 (eval $ac_try) 2>&5
47950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47951 (exit $ac_status); }; } &&
47952 { ac_try
='test -s conftest.$ac_objext'
47953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47954 (eval $ac_try) 2>&5
47956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47957 (exit $ac_status); }; }; then
47959 echo "$as_me:$LINENO: result: yes" >&5
47960 echo "${ECHO_T}yes" >&6
47964 echo "$as_me: failed program was:" >&5
47965 sed 's/^/| /' conftest.
$ac_ext >&5
47968 cat >conftest.
$ac_ext <<_ACEOF
47971 cat confdefs.h
>>conftest.
$ac_ext
47972 cat >>conftest.
$ac_ext <<_ACEOF
47973 /* end confdefs.h. */
47979 #if !defined(__INTEL_COMPILER) || \
47980 (__INTEL_COMPILER < 800)
47981 There is no PCH support
47988 rm -f conftest.
$ac_objext
47989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47990 (eval $ac_compile) 2>conftest.er1
47992 grep -v '^ *+' conftest.er1
>conftest.err
47994 cat conftest.err
>&5
47995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47996 (exit $ac_status); } &&
47997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47999 (eval $ac_try) 2>&5
48001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48002 (exit $ac_status); }; } &&
48003 { ac_try
='test -s conftest.$ac_objext'
48004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48005 (eval $ac_try) 2>&5
48007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48008 (exit $ac_status); }; }; then
48010 echo "$as_me:$LINENO: result: yes" >&5
48011 echo "${ECHO_T}yes" >&6
48015 echo "$as_me: failed program was:" >&5
48016 sed 's/^/| /' conftest.
$ac_ext >&5
48019 echo "$as_me:$LINENO: result: no" >&5
48020 echo "${ECHO_T}no" >&6
48023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48027 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48031 cat <<EOF >bk-make-pch
48034 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48035 # script. It is used to generated precompiled headers.
48037 # Permission is given to use this file in any way.
48047 while test ${D}{#} -gt 0; do
48051 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48052 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48053 headerfile="${D}{incdir}/${D}{header}"
48056 -use-pch|-use_pch )
48061 if test ${D}add_to_cmdline = 1 ; then
48062 compiler="${D}{compiler} ${D}{1}"
48067 if test "x${D}{headerfile}" = "x" ; then
48068 echo "error: can't find header ${D}{header} in include paths" >&2
48070 if test -f ${D}{outfile} ; then
48071 rm -f ${D}{outfile}
48073 mkdir -p \`dirname ${D}{outfile}\`
48075 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48077 if test "x${GCC_PCH}" = "x1" ; then
48078 # can do this because gcc is >= 3.4:
48079 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48080 elif test "x${ICC_PCH}" = "x1" ; then
48081 filename=pch_gen-${D}${D}
48082 file=${D}{filename}.c
48083 dfile=${D}{filename}.d
48084 cat > ${D}file <<EOT
48085 #include "${D}header"
48087 # using -MF icc complains about differing command lines in creation/use
48088 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48089 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48090 rm -f ${D}file ${D}dfile ${D}{filename}.o
48096 chmod +x bk
-make-pch
48104 COND_BUILD_DEBUG
="#"
48105 if test "x$BUILD" = "xdebug" ; then
48106 COND_BUILD_DEBUG
=""
48109 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48110 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48111 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48114 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48115 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48116 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48119 COND_BUILD_DEBUG_UNICODE_0
="#"
48120 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48121 COND_BUILD_DEBUG_UNICODE_0
=""
48124 COND_BUILD_DEBUG_UNICODE_1
="#"
48125 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48126 COND_BUILD_DEBUG_UNICODE_1
=""
48129 COND_BUILD_RELEASE
="#"
48130 if test "x$BUILD" = "xrelease" ; then
48131 COND_BUILD_RELEASE
=""
48134 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48135 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48136 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48139 COND_BUILD_RELEASE_UNICODE_0
="#"
48140 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48141 COND_BUILD_RELEASE_UNICODE_0
=""
48144 COND_BUILD_RELEASE_UNICODE_1
="#"
48145 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48146 COND_BUILD_RELEASE_UNICODE_1
=""
48149 COND_DEBUG_FLAG_1
="#"
48150 if test "x$DEBUG_FLAG" = "x1" ; then
48151 COND_DEBUG_FLAG_1
=""
48154 COND_DEBUG_INFO_0
="#"
48155 if test "x$DEBUG_INFO" = "x0" ; then
48156 COND_DEBUG_INFO_0
=""
48159 COND_DEBUG_INFO_1
="#"
48160 if test "x$DEBUG_INFO" = "x1" ; then
48161 COND_DEBUG_INFO_1
=""
48164 COND_DEPS_TRACKING_0
="#"
48165 if test "x$DEPS_TRACKING" = "x0" ; then
48166 COND_DEPS_TRACKING_0
=""
48169 COND_DEPS_TRACKING_1
="#"
48170 if test "x$DEPS_TRACKING" = "x1" ; then
48171 COND_DEPS_TRACKING_1
=""
48175 if test "x$GCC_PCH" = "x1" ; then
48180 if test "x$ICC_PCH" = "x1" ; then
48184 COND_MONOLITHIC_0
="#"
48185 if test "x$MONOLITHIC" = "x0" ; then
48186 COND_MONOLITHIC_0
=""
48189 COND_MONOLITHIC_0_SHARED_0
="#"
48190 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48191 COND_MONOLITHIC_0_SHARED_0
=""
48194 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48195 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48196 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48199 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48200 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48201 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48204 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48205 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48206 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48209 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48210 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48211 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48214 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48215 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48216 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48219 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48220 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48221 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48224 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48225 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48226 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48229 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48230 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48231 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48234 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48235 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48236 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48239 COND_MONOLITHIC_0_SHARED_1
="#"
48240 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48241 COND_MONOLITHIC_0_SHARED_1
=""
48244 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48245 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48246 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48249 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48250 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48251 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48254 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48255 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48256 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48259 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48260 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48261 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48264 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48265 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48266 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48269 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48270 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48271 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48274 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48275 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48276 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48279 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48280 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48281 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48284 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48285 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48286 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48289 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48290 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48291 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48294 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48295 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48296 COND_MONOLITHIC_0_USE_ODBC_1
=""
48299 COND_MONOLITHIC_1
="#"
48300 if test "x$MONOLITHIC" = "x1" ; then
48301 COND_MONOLITHIC_1
=""
48304 COND_MONOLITHIC_1_SHARED_0
="#"
48305 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48306 COND_MONOLITHIC_1_SHARED_0
=""
48309 COND_MONOLITHIC_1_SHARED_1
="#"
48310 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48311 COND_MONOLITHIC_1_SHARED_1
=""
48314 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48315 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48316 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48319 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48320 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48321 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48324 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48325 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48326 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48329 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48330 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48331 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48334 COND_PLATFORM_MACOSX_1
="#"
48335 if test "x$PLATFORM_MACOSX" = "x1" ; then
48336 COND_PLATFORM_MACOSX_1
=""
48339 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48340 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48341 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48344 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48345 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48346 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48349 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48350 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48351 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48354 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48355 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48356 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48359 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48360 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48361 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48364 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48365 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48366 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48369 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48370 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48371 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48374 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48375 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48376 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48379 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48380 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48381 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48384 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48385 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48386 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48389 COND_PLATFORM_MACOS_1
="#"
48390 if test "x$PLATFORM_MACOS" = "x1" ; then
48391 COND_PLATFORM_MACOS_1
=""
48394 COND_PLATFORM_MAC_1
="#"
48395 if test "x$PLATFORM_MAC" = "x1" ; then
48396 COND_PLATFORM_MAC_1
=""
48399 COND_PLATFORM_MSDOS_0
="#"
48400 if test "x$PLATFORM_MSDOS" = "x0" ; then
48401 COND_PLATFORM_MSDOS_0
=""
48404 COND_PLATFORM_MSDOS_1
="#"
48405 if test "x$PLATFORM_MSDOS" = "x1" ; then
48406 COND_PLATFORM_MSDOS_1
=""
48409 COND_PLATFORM_OS2_1
="#"
48410 if test "x$PLATFORM_OS2" = "x1" ; then
48411 COND_PLATFORM_OS2_1
=""
48414 COND_PLATFORM_UNIX_0
="#"
48415 if test "x$PLATFORM_UNIX" = "x0" ; then
48416 COND_PLATFORM_UNIX_0
=""
48419 COND_PLATFORM_UNIX_1
="#"
48420 if test "x$PLATFORM_UNIX" = "x1" ; then
48421 COND_PLATFORM_UNIX_1
=""
48424 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48425 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48426 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48429 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48430 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48431 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48434 COND_PLATFORM_WIN32_0
="#"
48435 if test "x$PLATFORM_WIN32" = "x0" ; then
48436 COND_PLATFORM_WIN32_0
=""
48439 COND_PLATFORM_WIN32_1
="#"
48440 if test "x$PLATFORM_WIN32" = "x1" ; then
48441 COND_PLATFORM_WIN32_1
=""
48445 if test "x$SHARED" = "x0" ; then
48449 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48450 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48451 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48454 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48455 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48456 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48459 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48460 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48461 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48464 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48465 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48466 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48469 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48470 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48471 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48474 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48475 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48476 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48479 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48480 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48481 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48484 COND_SHARED_0_USE_XRC_1
="#"
48485 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48486 COND_SHARED_0_USE_XRC_1
=""
48489 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48490 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48491 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48494 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48495 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48496 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48499 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48500 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48501 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48504 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48505 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48506 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48510 if test "x$SHARED" = "x1" ; then
48514 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48515 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48516 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48519 COND_SHARED_1_USE_XRC_1
="#"
48520 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48521 COND_SHARED_1_USE_XRC_1
=""
48525 if test "x$TOOLKIT" = "x" ; then
48529 COND_TOOLKIT_COCOA
="#"
48530 if test "x$TOOLKIT" = "xCOCOA" ; then
48531 COND_TOOLKIT_COCOA
=""
48534 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48535 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48536 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48539 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48540 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48541 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48544 COND_TOOLKIT_DFB
="#"
48545 if test "x$TOOLKIT" = "xDFB" ; then
48546 COND_TOOLKIT_DFB
=""
48549 COND_TOOLKIT_DFB_USE_GUI_1
="#"
48550 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48551 COND_TOOLKIT_DFB_USE_GUI_1
=""
48554 COND_TOOLKIT_GTK
="#"
48555 if test "x$TOOLKIT" = "xGTK" ; then
48556 COND_TOOLKIT_GTK
=""
48559 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48560 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48561 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48564 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48565 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48566 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48569 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48570 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48571 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48574 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48575 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48576 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48579 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48580 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48581 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48584 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48585 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48586 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48589 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48590 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48591 COND_TOOLKIT_GTK_USE_GUI_1
=""
48594 COND_TOOLKIT_MAC
="#"
48595 if test "x$TOOLKIT" = "xMAC" ; then
48596 COND_TOOLKIT_MAC
=""
48599 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48600 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48601 COND_TOOLKIT_MAC_USE_GUI_1
=""
48604 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48605 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48606 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48609 COND_TOOLKIT_MGL
="#"
48610 if test "x$TOOLKIT" = "xMGL" ; then
48611 COND_TOOLKIT_MGL
=""
48614 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48615 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48616 COND_TOOLKIT_MGL_USE_GUI_1
=""
48619 COND_TOOLKIT_MOTIF
="#"
48620 if test "x$TOOLKIT" = "xMOTIF" ; then
48621 COND_TOOLKIT_MOTIF
=""
48624 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48625 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48626 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48629 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48630 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48631 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48634 COND_TOOLKIT_MSW
="#"
48635 if test "x$TOOLKIT" = "xMSW" ; then
48636 COND_TOOLKIT_MSW
=""
48639 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48640 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48641 COND_TOOLKIT_MSW_USE_GUI_1
=""
48644 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48645 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48646 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48649 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48650 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48651 COND_TOOLKIT_MSW_WXUNIV_0
=""
48654 COND_TOOLKIT_PM
="#"
48655 if test "x$TOOLKIT" = "xPM" ; then
48659 COND_TOOLKIT_PM_USE_GUI_1
="#"
48660 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48661 COND_TOOLKIT_PM_USE_GUI_1
=""
48664 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48665 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48666 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48669 COND_TOOLKIT_WINCE
="#"
48670 if test "x$TOOLKIT" = "xWINCE" ; then
48671 COND_TOOLKIT_WINCE
=""
48674 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48675 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48676 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48679 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48680 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48681 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48684 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48685 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48686 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48689 COND_TOOLKIT_X11
="#"
48690 if test "x$TOOLKIT" = "xX11" ; then
48691 COND_TOOLKIT_X11
=""
48694 COND_TOOLKIT_X11_USE_GUI_1
="#"
48695 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48696 COND_TOOLKIT_X11_USE_GUI_1
=""
48700 if test "x$UNICODE" = "x1" ; then
48704 COND_USE_EXCEPTIONS_0
="#"
48705 if test "x$USE_EXCEPTIONS" = "x0" ; then
48706 COND_USE_EXCEPTIONS_0
=""
48709 COND_USE_EXCEPTIONS_1
="#"
48710 if test "x$USE_EXCEPTIONS" = "x1" ; then
48711 COND_USE_EXCEPTIONS_1
=""
48715 if test "x$USE_GUI" = "x0" ; then
48720 if test "x$USE_GUI" = "x1" ; then
48724 COND_USE_GUI_1_WXUNIV_0
="#"
48725 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48726 COND_USE_GUI_1_WXUNIV_0
=""
48729 COND_USE_GUI_1_WXUNIV_1
="#"
48730 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48731 COND_USE_GUI_1_WXUNIV_1
=""
48734 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48735 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48736 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48739 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48740 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48741 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48744 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48745 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48746 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48749 COND_USE_ODBC_1
="#"
48750 if test "x$USE_ODBC" = "x1" ; then
48754 COND_USE_OPENGL_1
="#"
48755 if test "x$USE_OPENGL" = "x1" ; then
48756 COND_USE_OPENGL_1
=""
48760 if test "x$USE_PCH" = "x1" ; then
48764 COND_USE_PLUGINS_0
="#"
48765 if test "x$USE_PLUGINS" = "x0" ; then
48766 COND_USE_PLUGINS_0
=""
48769 COND_USE_RTTI_0
="#"
48770 if test "x$USE_RTTI" = "x0" ; then
48774 COND_USE_RTTI_1
="#"
48775 if test "x$USE_RTTI" = "x1" ; then
48779 COND_USE_SOSYMLINKS_1
="#"
48780 if test "x$USE_SOSYMLINKS" = "x1" ; then
48781 COND_USE_SOSYMLINKS_1
=""
48784 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48785 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48786 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48789 COND_USE_SOVERLINUX_1
="#"
48790 if test "x$USE_SOVERLINUX" = "x1" ; then
48791 COND_USE_SOVERLINUX_1
=""
48794 COND_USE_SOVERSION_0
="#"
48795 if test "x$USE_SOVERSION" = "x0" ; then
48796 COND_USE_SOVERSION_0
=""
48799 COND_USE_SOVERSOLARIS_1
="#"
48800 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48801 COND_USE_SOVERSOLARIS_1
=""
48804 COND_USE_THREADS_0
="#"
48805 if test "x$USE_THREADS" = "x0" ; then
48806 COND_USE_THREADS_0
=""
48809 COND_USE_THREADS_1
="#"
48810 if test "x$USE_THREADS" = "x1" ; then
48811 COND_USE_THREADS_1
=""
48815 if test "x$USE_XRC" = "x1" ; then
48819 COND_WINDOWS_IMPLIB_1
="#"
48820 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48821 COND_WINDOWS_IMPLIB_1
=""
48824 COND_WITH_PLUGIN_SDL_1
="#"
48825 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48826 COND_WITH_PLUGIN_SDL_1
=""
48830 if test "x$WXUNIV" = "x0" ; then
48835 if test "x$WXUNIV" = "x1" ; then
48839 COND_WXUSE_EXPAT_BUILTIN
="#"
48840 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48841 COND_WXUSE_EXPAT_BUILTIN
=""
48844 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48845 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48846 COND_WXUSE_LIBJPEG_BUILTIN
=""
48849 COND_WXUSE_LIBPNG_BUILTIN
="#"
48850 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48851 COND_WXUSE_LIBPNG_BUILTIN
=""
48854 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48855 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48856 COND_WXUSE_LIBTIFF_BUILTIN
=""
48859 COND_WXUSE_ODBC_BUILTIN
="#"
48860 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48861 COND_WXUSE_ODBC_BUILTIN
=""
48864 COND_WXUSE_REGEX_BUILTIN
="#"
48865 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48866 COND_WXUSE_REGEX_BUILTIN
=""
48869 COND_WXUSE_ZLIB_BUILTIN
="#"
48870 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48871 COND_WXUSE_ZLIB_BUILTIN
=""
48876 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48877 { { 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
48878 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;}
48879 { (exit 1); exit 1; }; }
48882 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48883 { { 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
48884 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;}
48885 { (exit 1); exit 1; }; }
48890 if test "$wxUSE_MAC" = 1 ; then
48891 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48892 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48898 if test "$wxUSE_SHARED" = "yes"; then
48900 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48901 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48904 *-pc-os2_emx | *-pc-os2-emx )
48905 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48906 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48907 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48908 cp -p ${srcdir}/src
/os
2/dllar.sh .
48913 EXE_LINKER
="$CXX -o"
48916 if test "$wxUSE_OMF" = "yes"; then
48918 *-pc-os2_emx | *-pc-os2-emx )
48919 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48920 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48921 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48926 if test $GCC_PCH = 1 ; then
48927 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48930 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48932 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48994 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48995 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48996 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48997 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48998 echo $ECHO_N "(cached) $ECHO_C" >&6
49000 cat >conftest.
make <<\_ACEOF
49002 @
echo 'ac_maketemp="$(MAKE)"'
49004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49005 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49006 if test -n "$ac_maketemp"; then
49007 eval ac_cv_prog_make_
${ac_make}_set
=yes
49009 eval ac_cv_prog_make_
${ac_make}_set
=no
49011 rm -f conftest.
make
49013 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49014 echo "$as_me:$LINENO: result: yes" >&5
49015 echo "${ECHO_T}yes" >&6
49018 echo "$as_me:$LINENO: result: no" >&5
49019 echo "${ECHO_T}no" >&6
49020 SET_MAKE
="MAKE=${MAKE-make}"
49025 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49028 if test "$USE_WIN32" = 1; then
49029 ac_config_commands
="$ac_config_commands
49035 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49038 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49041 ac_config_files
="$ac_config_files version-script Makefile"
49044 ac_config_commands
="$ac_config_commands wx-config"
49048 if test "$wxWITH_SUBDIRS" != "no"; then
49049 if test "$wxUSE_GUI" = "yes"; then
49050 SUBDIRS
="samples demos utils contrib"
49051 else SUBDIRS
="samples utils"
49056 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49057 if test "${with_cppunit_prefix+set}" = set; then
49058 withval
="$with_cppunit_prefix"
49059 cppunit_config_prefix
="$withval"
49061 cppunit_config_prefix
=""
49064 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49065 if test "${with_cppunit_exec_prefix+set}" = set; then
49066 withval
="$with_cppunit_exec_prefix"
49067 cppunit_config_exec_prefix
="$withval"
49069 cppunit_config_exec_prefix
=""
49072 if test x
$cppunit_config_exec_prefix != x
; then
49073 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49074 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49075 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49078 if test x
$cppunit_config_prefix != x
; then
49079 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49080 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49081 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49085 # Extract the first word of "cppunit-config", so it can be a program name with args.
49086 set dummy cppunit
-config; ac_word
=$2
49087 echo "$as_me:$LINENO: checking for $ac_word" >&5
49088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49089 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49090 echo $ECHO_N "(cached) $ECHO_C" >&6
49092 case $CPPUNIT_CONFIG in
49094 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49098 for as_dir
in $PATH
49101 test -z "$as_dir" && as_dir
=.
49102 for ac_exec_ext
in '' $ac_executable_extensions; do
49103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49104 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49111 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49115 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49117 if test -n "$CPPUNIT_CONFIG"; then
49118 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49119 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49121 echo "$as_me:$LINENO: result: no" >&5
49122 echo "${ECHO_T}no" >&6
49125 cppunit_version_min
=1.8.0
49127 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49128 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49130 if test "$CPPUNIT_CONFIG" = "no" ; then
49131 echo "$as_me:$LINENO: result: no" >&5
49132 echo "${ECHO_T}no" >&6
49135 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49136 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49137 cppunit_version
=`$CPPUNIT_CONFIG --version`
49139 cppunit_major_version
=`echo $cppunit_version | \
49140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49141 cppunit_minor_version
=`echo $cppunit_version | \
49142 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49143 cppunit_micro_version
=`echo $cppunit_version | \
49144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49146 cppunit_major_min
=`echo $cppunit_version_min | \
49147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49148 cppunit_minor_min
=`echo $cppunit_version_min | \
49149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49150 cppunit_micro_min
=`echo $cppunit_version_min | \
49151 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49153 cppunit_version_proper
=`expr \
49154 $cppunit_major_version \> $cppunit_major_min \| \
49155 $cppunit_major_version \= $cppunit_major_min \& \
49156 $cppunit_minor_version \> $cppunit_minor_min \| \
49157 $cppunit_major_version \= $cppunit_major_min \& \
49158 $cppunit_minor_version \= $cppunit_minor_min \& \
49159 $cppunit_micro_version \>= $cppunit_micro_min `
49161 if test "$cppunit_version_proper" = "1" ; then
49162 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49163 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49165 echo "$as_me:$LINENO: result: no" >&5
49166 echo "${ECHO_T}no" >&6
49171 if test "x$no_cppunit" = x
; then
49172 SUBDIRS
="$SUBDIRS tests"
49183 for subdir
in `echo $SUBDIRS`; do
49184 if test -d ${srcdir}/${subdir} ; then
49185 if test "$wxUSE_GUI" = "yes"; then
49186 if test ${subdir} = "samples"; then
49187 makefiles
="samples/Makefile.in $makefiles"
49188 for sample
in `echo $SAMPLES_SUBDIRS`; do
49189 if test -d $srcdir/samples
/$sample; then
49190 makefiles
="samples/$sample/Makefile.in $makefiles"
49194 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49195 eval "disabled=\$$disabled_var"
49196 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49197 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49199 else if test ${subdir} = "samples"; then
49200 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49201 elif test ${subdir} = "utils"; then
49203 for util
in HelpGen tex2rtf
; do
49204 if test -d $srcdir/utils
/$util ; then
49205 makefiles
="utils/$util/Makefile.in \
49206 utils/$util/src/Makefile.in \
49210 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49214 for mkin
in $makefiles ; do
49215 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49216 ac_config_files
="$ac_config_files $mk"
49222 cat >confcache
<<\_ACEOF
49223 # This file is a shell script that caches the results of configure
49224 # tests run on this system so they can be shared between configure
49225 # scripts and configure runs, see configure's option --config-cache.
49226 # It is not useful on other systems. If it contains results you don't
49227 # want to keep, you may remove or edit it.
49229 # config.status only pays attention to the cache file if you give it
49230 # the --recheck option to rerun configure.
49232 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49233 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49234 # following values.
49238 # The following way of writing the cache mishandles newlines in values,
49239 # but we know of no workaround that is simple, portable, and efficient.
49240 # So, don't put newlines in cache variables' values.
49241 # Ultrix sh set writes to stderr and can't be redirected directly,
49242 # and sets the high bit in the cache file unless we assign to the vars.
49245 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49247 # `set' does not quote correctly, so add quotes (double-quote
49248 # substitution turns \\\\ into \\, and sed turns \\ into \).
49251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49254 # `set' quotes correctly as required by POSIX, so do not add quotes.
49256 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49263 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49265 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49267 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
49268 if test -w $cache_file; then
49269 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49270 cat confcache
>$cache_file
49272 echo "not updating unwritable cache $cache_file"
49277 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49278 # Let make expand exec_prefix.
49279 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49281 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49282 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49283 # trailing colons and then remove the whole line if VPATH becomes empty
49284 # (actually we leave an empty line to preserve line numbers).
49285 if test "x$srcdir" = x.
; then
49286 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
49287 s/:*\$(srcdir):*/:/;
49288 s/:*\${srcdir}:*/:/;
49290 s/^\([^=]*=[ ]*\):*/\1/;
49296 DEFS
=-DHAVE_CONFIG_H
49300 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49301 # 1. Remove the extension, and $U if already installed.
49302 ac_i
=`echo "$ac_i" |
49303 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49305 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
49306 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
49308 LIBOBJS
=$ac_libobjs
49310 LTLIBOBJS
=$ac_ltlibobjs
49314 : ${CONFIG_STATUS=./config.status}
49315 ac_clean_files_save
=$ac_clean_files
49316 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49317 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49318 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49319 cat >$CONFIG_STATUS <<_ACEOF
49321 # Generated by $as_me.
49322 # Run this file to recreate the current configuration.
49323 # Compiler output produced by configure, useful for debugging
49324 # configure, is in config.log if it exists.
49327 ac_cs_recheck=false
49329 SHELL=\${CONFIG_SHELL-$SHELL}
49332 cat >>$CONFIG_STATUS <<\_ACEOF
49333 ## --------------------- ##
49334 ## M4sh Initialization. ##
49335 ## --------------------- ##
49337 # Be Bourne compatible
49338 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49341 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49342 # is contrary to our usage. Disable this feature.
49343 alias -g '${1+"$@"}'='"$@"'
49344 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
49347 DUALCASE
=1; export DUALCASE
# for MKS sh
49349 # Support unset when possible.
49350 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49357 # Work around bugs in pre-3.0 UWIN ksh.
49358 $as_unset ENV MAIL MAILPATH
49365 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49366 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49367 LC_TELEPHONE LC_TIME
49369 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49370 eval $as_var=C
; export $as_var
49376 # Required to use basename.
49377 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49383 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
49384 as_basename
=basename
49390 # Name of the executable.
49391 as_me
=`$as_basename "$0" ||
49392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49393 X"$0" : 'X\(//\)$' \| \
49394 X"$0" : 'X\(/\)$' \| \
49395 . : '\(.\)' 2>/dev/null ||
49397 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49398 /^X\/\(\/\/\)$/{ s//\1/; q; }
49399 /^X\/\(\/\).*/{ s//\1/; q; }
49403 # PATH needs CR, and LINENO needs CR and PATH.
49404 # Avoid depending upon Character Ranges.
49405 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49406 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49407 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49408 as_cr_digits
='0123456789'
49409 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49411 # The user is always right.
49412 if test "${PATH_SEPARATOR+set}" != set; then
49413 echo "#! /bin/sh" >conf$$.sh
49414 echo "exit 0" >>conf$$.sh
49416 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49425 as_lineno_1
=$LINENO
49426 as_lineno_2
=$LINENO
49427 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
49428 test "x$as_lineno_1" != "x$as_lineno_2" &&
49429 test "x$as_lineno_3" = "x$as_lineno_2" || {
49430 # Find who we are. Look in the path if we contain no path at all
49433 *[\\/]* ) as_myself
=$0 ;;
49434 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49435 for as_dir
in $PATH
49438 test -z "$as_dir" && as_dir
=.
49439 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49444 # We did not find ourselves, most probably we were run as `sh COMMAND'
49445 # in which case we are not to be found in the path.
49446 if test "x$as_myself" = x
; then
49449 if test ! -f "$as_myself"; then
49450 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49451 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49452 { (exit 1); exit 1; }; }
49454 case $CONFIG_SHELL in
49456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49457 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
49460 test -z "$as_dir" && as_dir
=.
49461 for as_base
in sh bash ksh sh5
; do
49464 if ("$as_dir/$as_base" -c '
49465 as_lineno_1=$LINENO
49466 as_lineno_2=$LINENO
49467 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49468 test "x$as_lineno_1" != "x$as_lineno_2" &&
49469 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
49470 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
49471 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
49472 CONFIG_SHELL
=$as_dir/$as_base
49473 export CONFIG_SHELL
49474 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49482 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49483 # uniformly replaced by the line number. The first 'sed' inserts a
49484 # line-number line before each line; the second 'sed' does the real
49485 # work. The second script uses 'N' to pair each line-number line
49486 # with the numbered line, and appends trailing '-' during
49487 # substitution so that $LINENO is not a special case at line end.
49488 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49489 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49490 sed '=' <$as_myself |
49495 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49498 s,^['$as_cr_digits']*\n,,
49499 ' >$as_me.lineno
&&
49500 chmod +x
$as_me.lineno
||
49501 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49502 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49503 { (exit 1); exit 1; }; }
49505 # Don't try to exec as it changes $[0], causing all sort of problems
49506 # (the dirname of $[0] is not the place where we might find the
49507 # original and so on. Autoconf is especially sensible to this).
49509 # Exit status is that of the last command.
49514 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49515 *c
*,-n*) ECHO_N
= ECHO_C
='
49517 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
49518 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
49521 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49527 rm -f conf$$ conf$$.exe conf$$.
file
49529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49530 # We could just check for DJGPP; but this test a) works b) is more generic
49531 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49532 if test -f conf$$.exe
; then
49533 # Don't use ln at all; we don't have any links
49538 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49543 rm -f conf$$ conf$$.exe conf$$.
file
49545 if mkdir -p .
2>/dev
/null
; then
49548 test -d .
/-p && rmdir .
/-p
49552 as_executable_p
="test -f"
49554 # Sed expression to map a string onto a valid CPP name.
49555 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49557 # Sed expression to map a string onto a valid variable name.
49558 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49562 # We need space, tab and new line, in precisely that order.
49572 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49573 # report actual input values of CONFIG_FILES etc. instead of their
49574 # values after options handling. Logging --version etc. is OK.
49578 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49579 ## Running $as_me. ##
49584 This file was extended by wxWidgets $as_me 2.7.0, which was
49585 generated by GNU Autoconf 2.59. Invocation command line was
49587 CONFIG_FILES = $CONFIG_FILES
49588 CONFIG_HEADERS = $CONFIG_HEADERS
49589 CONFIG_LINKS = $CONFIG_LINKS
49590 CONFIG_COMMANDS = $CONFIG_COMMANDS
49594 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49598 # Files that config.status was made for.
49599 if test -n "$ac_config_files"; then
49600 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49603 if test -n "$ac_config_headers"; then
49604 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49607 if test -n "$ac_config_links"; then
49608 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49611 if test -n "$ac_config_commands"; then
49612 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49615 cat >>$CONFIG_STATUS <<\_ACEOF
49618 \`$as_me' instantiates files from templates according to the
49619 current configuration.
49621 Usage: $0 [OPTIONS] [FILE]...
49623 -h, --help print this help, then exit
49624 -V, --version print version number, then exit
49625 -q, --quiet do not print progress messages
49626 -d, --debug don't remove temporary files
49627 --recheck update $as_me by reconfiguring in the same conditions
49628 --file=FILE[:TEMPLATE]
49629 instantiate the configuration file FILE
49630 --header=FILE[:TEMPLATE]
49631 instantiate the configuration header FILE
49633 Configuration files:
49636 Configuration headers:
49639 Configuration commands:
49642 Report bugs to <bug-autoconf@gnu.org>."
49645 cat >>$CONFIG_STATUS <<_ACEOF
49647 wxWidgets config.status 2.7.0
49648 configured by $0, generated by GNU Autoconf 2.59,
49649 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49651 Copyright (C) 2003 Free Software Foundation, Inc.
49652 This config.status script is free software; the Free Software Foundation
49653 gives unlimited permission to copy, distribute and modify it."
49658 cat >>$CONFIG_STATUS <<\_ACEOF
49659 # If no file are specified by the user, then we need to provide default
49660 # value. By we need to know if files were specified by the user.
49666 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
49667 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
49675 *) # This is not an option, so the user has probably given explicit
49678 ac_need_defaults
=false
;;
49682 # Handling of the options.
49684 cat >>$CONFIG_STATUS <<\_ACEOF
49685 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49687 --version | --vers* | -V )
49688 echo "$ac_cs_version"; exit 0 ;;
49690 # Conflict between --help and --header
49691 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49692 Try \`$0 --help' for more information." >&5
49693 echo "$as_me: error: ambiguous option: $1
49694 Try \`$0 --help' for more information." >&2;}
49695 { (exit 1); exit 1; }; };;
49696 --help | --hel | -h )
49697 echo "$ac_cs_usage"; exit 0 ;;
49698 --debug | --d* | -d )
49700 --file | --fil | --fi | --f )
49702 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49703 ac_need_defaults
=false
;;
49704 --header | --heade | --head | --hea )
49706 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49707 ac_need_defaults
=false
;;
49708 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49709 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49712 # This is an error.
49713 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49714 Try \`$0 --help' for more information." >&5
49715 echo "$as_me: error: unrecognized option: $1
49716 Try \`$0 --help' for more information." >&2;}
49717 { (exit 1); exit 1; }; } ;;
49719 *) ac_config_targets
="$ac_config_targets $1" ;;
49725 ac_configure_extra_args
=
49727 if $ac_cs_silent; then
49729 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49733 cat >>$CONFIG_STATUS <<_ACEOF
49734 if \$ac_cs_recheck; then
49735 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49736 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49741 cat >>$CONFIG_STATUS <<_ACEOF
49743 # INIT-COMMANDS section.
49748 infile="$srcdir/include/wx/msw/genrcdefs.h"
49749 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49752 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49753 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49754 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49762 cat >>$CONFIG_STATUS <<\_ACEOF
49763 for ac_config_target
in $ac_config_targets
49765 case "$ac_config_target" in
49766 # Handling of arguments.
49767 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49768 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49769 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49770 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49771 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49772 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49773 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49774 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49775 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49776 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49777 { (exit 1); exit 1; }; };;
49781 # If the user did not use the arguments to specify the items to instantiate,
49782 # then the envvar interface is used. Set only those that are not.
49783 # We use the long form for the default assignment because of an extremely
49784 # bizarre bug on SunOS 4.1.3.
49785 if $ac_need_defaults; then
49786 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49787 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49788 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49791 # Have a temporary directory for convenience. Make it in the build tree
49792 # simply because there is no reason to put it here, and in addition,
49793 # creating and moving files from /tmp can sometimes cause problems.
49794 # Create a temporary directory, and hook for its removal unless debugging.
49797 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49798 trap '{ (exit 1); exit 1; }' 1 2 13 15
49801 # Create a (secure) tmp directory for tmp files.
49804 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49805 test -n "$tmp" && test -d "$tmp"
49808 tmp
=.
/confstat$$
-$RANDOM
49809 (umask 077 && mkdir $tmp)
49812 echo "$me: cannot create a temporary directory in ." >&2
49813 { (exit 1); exit 1; }
49818 cat >>$CONFIG_STATUS <<_ACEOF
49821 # CONFIG_FILES section.
49824 # No need to generate the scripts if there are no CONFIG_FILES.
49825 # This happens for instance when ./config.status config.h
49826 if test -n "\$CONFIG_FILES"; then
49827 # Protect against being on the right side of a sed subst in config.status.
49828 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49829 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49830 s,@SHELL@,$SHELL,;t t
49831 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49832 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49833 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49834 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49835 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49836 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49837 s,@exec_prefix@,$exec_prefix,;t t
49838 s,@prefix@,$prefix,;t t
49839 s,@program_transform_name@,$program_transform_name,;t t
49840 s,@bindir@,$bindir,;t t
49841 s,@sbindir@,$sbindir,;t t
49842 s,@libexecdir@,$libexecdir,;t t
49843 s,@datadir@,$datadir,;t t
49844 s,@sysconfdir@,$sysconfdir,;t t
49845 s,@sharedstatedir@,$sharedstatedir,;t t
49846 s,@localstatedir@,$localstatedir,;t t
49847 s,@libdir@,$libdir,;t t
49848 s,@includedir@,$includedir,;t t
49849 s,@oldincludedir@,$oldincludedir,;t t
49850 s,@infodir@,$infodir,;t t
49851 s,@mandir@,$mandir,;t t
49852 s,@build_alias@,$build_alias,;t t
49853 s,@host_alias@,$host_alias,;t t
49854 s,@target_alias@,$target_alias,;t t
49855 s,@DEFS@,$DEFS,;t t
49856 s,@ECHO_C@,$ECHO_C,;t t
49857 s,@ECHO_N@,$ECHO_N,;t t
49858 s,@ECHO_T@,$ECHO_T,;t t
49859 s,@LIBS@,$LIBS,;t t
49860 s,@build@,$build,;t t
49861 s,@build_cpu@,$build_cpu,;t t
49862 s,@build_vendor@,$build_vendor,;t t
49863 s,@build_os@,$build_os,;t t
49864 s,@host@,$host,;t t
49865 s,@host_cpu@,$host_cpu,;t t
49866 s,@host_vendor@,$host_vendor,;t t
49867 s,@host_os@,$host_os,;t t
49868 s,@target@,$target,;t t
49869 s,@target_cpu@,$target_cpu,;t t
49870 s,@target_vendor@,$target_vendor,;t t
49871 s,@target_os@,$target_os,;t t
49873 s,@CFLAGS@,$CFLAGS,;t t
49874 s,@LDFLAGS@,$LDFLAGS,;t t
49875 s,@CPPFLAGS@,$CPPFLAGS,;t t
49876 s,@ac_ct_CC@,$ac_ct_CC,;t t
49877 s,@EXEEXT@,$EXEEXT,;t t
49878 s,@OBJEXT@,$OBJEXT,;t t
49880 s,@EGREP@,$EGREP,;t t
49882 s,@CXXFLAGS@,$CXXFLAGS,;t t
49883 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49884 s,@RANLIB@,$RANLIB,;t t
49885 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49887 s,@ac_ct_AR@,$ac_ct_AR,;t t
49888 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49889 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49890 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49891 s,@STRIP@,$STRIP,;t t
49892 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49893 s,@WINDRES@,$WINDRES,;t t
49894 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49895 s,@DLLTOOL@,$DLLTOOL,;t t
49896 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49897 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49898 s,@LN_S@,$LN_S,;t t
49899 s,@CXXCPP@,$CXXCPP,;t t
49900 s,@subdirs@,$subdirs,;t t
49901 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49902 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49903 s,@GTK_LIBS@,$GTK_LIBS,;t t
49904 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49905 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
49906 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
49907 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
49908 s,@X_CFLAGS@,$X_CFLAGS,;t t
49909 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49910 s,@X_LIBS@,$X_LIBS,;t t
49911 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49912 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49913 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49914 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49915 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49916 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49917 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49919 s,@DEREZ@,$DEREZ,;t t
49920 s,@SETFILE@,$SETFILE,;t t
49921 s,@LIBICONV@,$LIBICONV,;t t
49922 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49923 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49924 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49925 s,@SDL_LIBS@,$SDL_LIBS,;t t
49926 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49927 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49928 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49929 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49930 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49931 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49932 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49933 s,@GST_LIBS@,$GST_LIBS,;t t
49934 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49935 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49936 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49937 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49938 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49939 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49940 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49941 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49942 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49943 s,@VENDOR@,$VENDOR,;t t
49944 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49945 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49946 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49947 s,@WXUNIV@,$WXUNIV,;t t
49948 s,@MONOLITHIC@,$MONOLITHIC,;t t
49949 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49950 s,@EXTRALIBS@,$EXTRALIBS,;t t
49951 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49952 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49953 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49954 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49955 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49956 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49957 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49958 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49959 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49960 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49961 s,@UNICODE@,$UNICODE,;t t
49962 s,@BUILD@,$BUILD,;t t
49963 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49964 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49965 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49966 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49967 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49968 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49969 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49970 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49971 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49972 s,@SET_MAKE@,$SET_MAKE,;t t
49973 s,@MAKE_SET@,$MAKE_SET,;t t
49975 s,@ac_ct_NM@,$ac_ct_NM,;t t
49976 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49977 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49978 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49979 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49980 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49981 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49982 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49983 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49984 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49985 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49986 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49987 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49988 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49989 s,@LIBPREFIX@,$LIBPREFIX,;t t
49990 s,@LIBEXT@,$LIBEXT,;t t
49991 s,@DLLPREFIX@,$DLLPREFIX,;t t
49992 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49993 s,@dlldir@,$dlldir,;t t
49994 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49995 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49996 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49997 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49998 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49999 s,@PIC_FLAG@,$PIC_FLAG,;t t
50000 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50001 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50002 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50003 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50004 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50005 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50006 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50007 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50008 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50009 s,@GCC_PCH@,$GCC_PCH,;t t
50010 s,@ICC_PCH@,$ICC_PCH,;t t
50011 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50012 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50013 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50014 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50015 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50016 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50017 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50018 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50019 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50020 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50021 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50022 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50023 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50024 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50025 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50026 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50027 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50028 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50029 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50030 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50031 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
50032 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
50033 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
50034 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
50035 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50036 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50037 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50038 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50039 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50040 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50041 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
50042 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
50043 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
50044 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
50045 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50046 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50047 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50048 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50049 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50050 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50051 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50052 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50053 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50054 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50055 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50056 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50057 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50058 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50059 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50060 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50061 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50062 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50063 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50064 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50065 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50066 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50067 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50068 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50069 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50070 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50071 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50072 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50073 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50074 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50075 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50076 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50077 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50078 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50079 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50080 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50081 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50082 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50083 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50084 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50085 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50086 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50087 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50088 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50089 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50090 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50091 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50092 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50093 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50094 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50095 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50096 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50097 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50098 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50099 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50100 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50101 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50102 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50103 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50104 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50105 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
50106 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50107 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50108 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50109 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50110 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50111 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50112 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50113 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50114 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50115 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50116 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50117 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50118 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50119 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50120 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50121 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50122 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50123 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50124 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50125 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50126 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50127 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50128 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50129 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50130 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50131 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50132 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50133 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50134 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50135 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50136 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50137 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50138 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50139 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50140 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50141 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50142 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50143 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50144 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50145 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50146 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50147 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50148 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50149 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50150 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50151 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50152 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50153 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50154 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50155 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50156 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50157 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50158 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50159 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50160 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50161 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50162 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50163 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50164 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50165 s,@SHARED@,$SHARED,;t t
50166 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50167 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50168 s,@USE_GUI@,$USE_GUI,;t t
50169 s,@AFMINSTALL@,$AFMINSTALL,;t t
50170 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50171 s,@TOOLKIT@,$TOOLKIT,;t t
50172 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50173 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50174 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50175 s,@cross_compiling@,$cross_compiling,;t t
50176 s,@WIDGET_SET@,$WIDGET_SET,;t t
50177 s,@WX_RELEASE@,$WX_RELEASE,;t t
50178 s,@WX_VERSION@,$WX_VERSION,;t t
50179 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50180 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50181 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50182 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50183 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50184 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50185 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50186 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50187 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50188 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50189 s,@EXE_LINKER@,$EXE_LINKER,;t t
50190 s,@GUIDIST@,$GUIDIST,;t t
50191 s,@DISTDIR@,$DISTDIR,;t t
50192 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50193 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50194 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50195 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50196 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50197 s,@RESCOMP@,$RESCOMP,;t t
50198 s,@RESFLAGS@,$RESFLAGS,;t t
50199 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50200 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50201 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50202 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50203 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50204 s,@MACSETFILE@,$MACSETFILE,;t t
50206 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50207 s,@LIBOBJS@,$LIBOBJS,;t t
50208 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50213 cat >>$CONFIG_STATUS <<\_ACEOF
50214 # Split the substitutions into bite-sized pieces for seds with
50215 # small command number limits, like on Digital OSF/1 and HP-UX.
50216 ac_max_sed_lines
=48
50217 ac_sed_frag
=1 # Number of current file.
50218 ac_beg
=1 # First line for current file.
50219 ac_end
=$ac_max_sed_lines # Line after last line for current file.
50222 while $ac_more_lines; do
50223 if test $ac_beg -gt 1; then
50224 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50226 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50228 if test ! -s $tmp/subs.frag
; then
50229 ac_more_lines
=false
50231 # The purpose of the label and of the branching condition is to
50232 # speed up the sed processing (if there are no `@' at all, there
50233 # is no need to browse any of the substitutions).
50234 # These are the two extra sed commands mentioned above.
50236 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
50237 if test -z "$ac_sed_cmds"; then
50238 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
50240 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50242 ac_sed_frag
=`expr $ac_sed_frag + 1`
50244 ac_end
=`expr $ac_end + $ac_max_sed_lines`
50247 if test -z "$ac_sed_cmds"; then
50250 fi # test -n "$CONFIG_FILES"
50253 cat >>$CONFIG_STATUS <<\_ACEOF
50254 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
50255 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50257 - | *:- | *:-:* ) # input from stdin
50259 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50260 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50261 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50262 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50263 * ) ac_file_in
=$ac_file.
in ;;
50266 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50267 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50268 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50269 X"$ac_file" : 'X\(//\)[^/]' \| \
50270 X"$ac_file" : 'X\(//\)$' \| \
50271 X"$ac_file" : 'X\(/\)' \| \
50272 . : '\(.\)' 2>/dev/null ||
50274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50275 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50276 /^X\(\/\/\)$/{ s//\1/; q; }
50277 /^X\(\/\).*/{ s//\1/; q; }
50279 { if $as_mkdir_p; then
50284 while test ! -d "$as_dir"; do
50285 as_dirs
="$as_dir $as_dirs"
50286 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50287 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50288 X"$as_dir" : 'X\(//\)[^/]' \| \
50289 X"$as_dir" : 'X\(//\)$' \| \
50290 X"$as_dir" : 'X\(/\)' \| \
50291 . : '\(.\)' 2>/dev/null ||
50293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50294 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50295 /^X\(\/\/\)$/{ s//\1/; q; }
50296 /^X\(\/\).*/{ s//\1/; q; }
50299 test ! -n "$as_dirs" || mkdir $as_dirs
50300 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50301 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50302 { (exit 1); exit 1; }; }; }
50306 if test "$ac_dir" != .
; then
50307 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50308 # A "../" for each directory in $ac_dir_suffix.
50309 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50311 ac_dir_suffix
= ac_top_builddir
=
50315 .
) # No --srcdir option. We are building in place.
50317 if test -z "$ac_top_builddir"; then
50320 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50322 [\\/]* | ?
:[\\/]* ) # Absolute path.
50323 ac_srcdir
=$srcdir$ac_dir_suffix;
50324 ac_top_srcdir
=$srcdir ;;
50325 *) # Relative path.
50326 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50327 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50330 # Do not use `cd foo && pwd` to compute absolute paths, because
50331 # the directories may not exist.
50333 .
) ac_abs_builddir
="$ac_dir";;
50336 .
) ac_abs_builddir
=`pwd`;;
50337 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50338 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50341 case $ac_abs_builddir in
50342 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50344 case ${ac_top_builddir}.
in
50345 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50346 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50347 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50350 case $ac_abs_builddir in
50351 .
) ac_abs_srcdir
=$ac_srcdir;;
50354 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50355 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50356 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50359 case $ac_abs_builddir in
50360 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50362 case $ac_top_srcdir in
50363 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50364 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50365 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50371 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50372 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
50375 # Let's still pretend it is `configure' which instantiates (i.e., don't
50376 # use $as_me), people would be surprised to read:
50377 # /* config.h. Generated by config.status. */
50378 if test x
"$ac_file" = x
-; then
50381 configure_input
="$ac_file. "
50383 configure_input
=$configure_input"Generated from `echo $ac_file_in |
50384 sed 's,.*/,,'` by configure."
50386 # First look for the input files in the build tree, otherwise in the
50388 ac_file_inputs
=`IFS=:
50389 for f in $ac_file_in; do
50391 -) echo $tmp/stdin ;;
50393 # Absolute (can't be DOS-style, as IFS=:)
50394 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50395 echo "$as_me: error: cannot find input file: $f" >&2;}
50396 { (exit 1); exit 1; }; }
50399 if test -f "$f"; then
50402 elif test -f "$srcdir/$f"; then
50407 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50408 echo "$as_me: error: cannot find input file: $f" >&2;}
50409 { (exit 1); exit 1; }; }
50412 done` || { (exit 1); exit 1; }
50414 if test x
"$ac_file" != x
-; then
50415 { echo "$as_me:$LINENO: creating $ac_file" >&5
50416 echo "$as_me: creating $ac_file" >&6;}
50420 cat >>$CONFIG_STATUS <<_ACEOF
50424 cat >>$CONFIG_STATUS <<\_ACEOF
50426 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50427 s
,@configure_input@
,$configure_input,;t t
50428 s
,@srcdir@
,$ac_srcdir,;t t
50429 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
50430 s
,@top_srcdir@
,$ac_top_srcdir,;t t
50431 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
50432 s
,@builddir@
,$ac_builddir,;t t
50433 s
,@abs_builddir@
,$ac_abs_builddir,;t t
50434 s
,@top_builddir@
,$ac_top_builddir,;t t
50435 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
50436 s
,@INSTALL@
,$ac_INSTALL,;t t
50437 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50439 if test x"$ac_file" != x-; then
50440 mv $tmp/out $ac_file
50446 # Run the commands associated with the file.
50448 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50449 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50453 cat >>$CONFIG_STATUS <<\_ACEOF
50456 # CONFIG_HEADER section.
50459 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
50460 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50462 # ac_d sets the value in "#define NAME VALUE" lines.
50463 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50464 ac_dB
='[ ].*$,\1#\2'
50467 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50468 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50469 ac_uB
='$,\1#\2define\3'
50473 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
50474 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50476 - | *:- | *:-:* ) # input from stdin
50478 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50479 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50480 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50481 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50482 * ) ac_file_in
=$ac_file.
in ;;
50485 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50486 echo "$as_me: creating $ac_file" >&6;}
50488 # First look for the input files in the build tree, otherwise in the
50490 ac_file_inputs
=`IFS=:
50491 for f in $ac_file_in; do
50493 -) echo $tmp/stdin ;;
50495 # Absolute (can't be DOS-style, as IFS=:)
50496 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50497 echo "$as_me: error: cannot find input file: $f" >&2;}
50498 { (exit 1); exit 1; }; }
50499 # Do quote $f, to prevent DOS paths from being IFS'd.
50502 if test -f "$f"; then
50505 elif test -f "$srcdir/$f"; then
50510 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50511 echo "$as_me: error: cannot find input file: $f" >&2;}
50512 { (exit 1); exit 1; }; }
50515 done` || { (exit 1); exit 1; }
50516 # Remove the trailing spaces.
50517 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50521 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50522 # `conftest.undefs', that substitutes the proper values into
50523 # config.h.in to produce config.h. The first handles `#define'
50524 # templates, and the second `#undef' templates.
50525 # And first: Protect against being on the right side of a sed subst in
50526 # config.status. Protect against being in an unquoted here document
50527 # in config.status.
50528 rm -f conftest.defines conftest.undefs
50529 # Using a here document instead of a string reduces the quoting nightmare.
50530 # Putting comments in sed scripts is not portable.
50532 # `end' is used to avoid that the second main sed command (meant for
50533 # 0-ary CPP macros) applies to n-ary macro definitions.
50534 # See the Autoconf documentation for `clear'.
50535 cat >confdef2sed.
sed <<\_ACEOF
50540 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50542 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50545 # If some macros were called several times there might be several times
50546 # the same #defines, which is useless. Nevertheless, we may not want to
50547 # sort them, since we want the *last* AC-DEFINE to be honored.
50548 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50549 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50550 rm -f confdef2sed.sed
50552 # This sed command replaces #undef with comments. This is necessary, for
50553 # example, in the case of _POSIX_SOURCE, which is predefined and required
50554 # on some systems where configure will not decide to define it.
50555 cat >>conftest.undefs <<\_ACEOF
50556 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50559 # Break up conftest.defines because some shells have a limit on the size
50560 # of here documents, and old seds have small limits too (100 cmds).
50561 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50562 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50563 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50564 echo ' :' >>$CONFIG_STATUS
50565 rm -f conftest.tail
50566 while grep . conftest.defines >/dev/null
50568 # Write a limited-size here document to $tmp/defines.sed.
50569 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50570 # Speed up: don't consider the non `#define' lines.
50571 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50572 # Work around the forget-to-reset-the-flag bug.
50573 echo 't clr' >>$CONFIG_STATUS
50574 echo ': clr' >>$CONFIG_STATUS
50575 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
50577 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50579 mv $tmp/out $tmp/in
50581 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
50582 rm -f conftest.defines
50583 mv conftest.
tail conftest.defines
50585 rm -f conftest.defines
50586 echo ' fi # grep' >>$CONFIG_STATUS
50587 echo >>$CONFIG_STATUS
50589 # Break up conftest.undefs because some shells have a limit on the size
50590 # of here documents, and old seds have small limits too (100 cmds).
50591 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50592 rm -f conftest.
tail
50593 while grep . conftest.undefs
>/dev
/null
50595 # Write a limited-size here document to $tmp/undefs.sed.
50596 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50597 # Speed up: don't consider the non
`#undef'
50598 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50599 # Work around the forget-to-reset-the-flag bug.
50600 echo 't clr' >>$CONFIG_STATUS
50601 echo ': clr' >>$CONFIG_STATUS
50602 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50604 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50606 mv $tmp/out $tmp/in
50608 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50609 rm -f conftest.undefs
50610 mv conftest.tail conftest.undefs
50612 rm -f conftest.undefs
50614 cat >>$CONFIG_STATUS <<\_ACEOF
50615 # Let's still pretend it is `configure
' which instantiates (i.e., don't
50616 # use $as_me), people would be surprised to read:
50617 # /* config.h. Generated by config.status. */
50618 if test x
"$ac_file" = x
-; then
50619 echo "/* Generated by configure. */" >$tmp/config.h
50621 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50623 cat $tmp/in >>$tmp/config.h
50625 if test x
"$ac_file" != x
-; then
50626 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
50627 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50628 echo "$as_me: $ac_file is unchanged" >&6;}
50630 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50631 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50632 X"$ac_file" : 'X\(//\)[^/]' \| \
50633 X"$ac_file" : 'X\(//\)$' \| \
50634 X"$ac_file" : 'X\(/\)' \| \
50635 . : '\(.\)' 2>/dev/null ||
50637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50638 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50639 /^X\(\/\/\)$/{ s//\1/; q; }
50640 /^X\(\/\).*/{ s//\1/; q; }
50642 { if $as_mkdir_p; then
50647 while test ! -d "$as_dir"; do
50648 as_dirs
="$as_dir $as_dirs"
50649 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50650 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50651 X"$as_dir" : 'X\(//\)[^/]' \| \
50652 X"$as_dir" : 'X\(//\)$' \| \
50653 X"$as_dir" : 'X\(/\)' \| \
50654 . : '\(.\)' 2>/dev/null ||
50656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50658 /^X\(\/\/\)$/{ s//\1/; q; }
50659 /^X\(\/\).*/{ s//\1/; q; }
50662 test ! -n "$as_dirs" || mkdir $as_dirs
50663 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50664 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50665 { (exit 1); exit 1; }; }; }
50668 mv $tmp/config.h
$ac_file
50672 rm -f $tmp/config.h
50676 cat >>$CONFIG_STATUS <<\_ACEOF
50679 # CONFIG_COMMANDS section.
50681 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
50682 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
50683 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50684 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
50685 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50686 X"$ac_dest" : 'X\(//\)[^/]' \| \
50687 X"$ac_dest" : 'X\(//\)$' \| \
50688 X"$ac_dest" : 'X\(/\)' \| \
50689 . : '\(.\)' 2>/dev/null ||
50691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50692 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50693 /^X\(\/\/\)$/{ s//\1/; q; }
50694 /^X\(\/\).*/{ s//\1/; q; }
50696 { if $as_mkdir_p; then
50701 while test ! -d "$as_dir"; do
50702 as_dirs
="$as_dir $as_dirs"
50703 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50704 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50705 X"$as_dir" : 'X\(//\)[^/]' \| \
50706 X"$as_dir" : 'X\(//\)$' \| \
50707 X"$as_dir" : 'X\(/\)' \| \
50708 . : '\(.\)' 2>/dev/null ||
50710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50711 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50712 /^X\(\/\/\)$/{ s//\1/; q; }
50713 /^X\(\/\).*/{ s//\1/; q; }
50716 test ! -n "$as_dirs" || mkdir $as_dirs
50717 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50718 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50719 { (exit 1); exit 1; }; }; }
50723 if test "$ac_dir" != .
; then
50724 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50725 # A "../" for each directory in $ac_dir_suffix.
50726 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50728 ac_dir_suffix
= ac_top_builddir
=
50732 .
) # No --srcdir option. We are building in place.
50734 if test -z "$ac_top_builddir"; then
50737 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50739 [\\/]* | ?
:[\\/]* ) # Absolute path.
50740 ac_srcdir
=$srcdir$ac_dir_suffix;
50741 ac_top_srcdir
=$srcdir ;;
50742 *) # Relative path.
50743 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50744 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50747 # Do not use `cd foo && pwd` to compute absolute paths, because
50748 # the directories may not exist.
50750 .
) ac_abs_builddir
="$ac_dir";;
50753 .
) ac_abs_builddir
=`pwd`;;
50754 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50755 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50758 case $ac_abs_builddir in
50759 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50761 case ${ac_top_builddir}.
in
50762 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50763 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50764 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50767 case $ac_abs_builddir in
50768 .
) ac_abs_srcdir
=$ac_srcdir;;
50771 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50772 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50773 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50776 case $ac_abs_builddir in
50777 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50779 case $ac_top_srcdir in
50780 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50781 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50782 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50787 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50788 echo "$as_me: executing $ac_dest commands" >&6;}
50791 mkdir -p $outdir &&
50792 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50794 wx
-config ) rm -f wx
-config
50795 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50801 cat >>$CONFIG_STATUS <<\_ACEOF
50803 { (exit 0); exit 0; }
50805 chmod +x
$CONFIG_STATUS
50806 ac_clean_files
=$ac_clean_files_save
50809 # configure is writing to config.log, and then calls config.status.
50810 # config.status does its own redirection, appending to config.log.
50811 # Unfortunately, on DOS this fails, as config.log is still kept open
50812 # by configure, so config.status won't be able to write to it; its
50813 # output is simply discarded. So we exec the FD to /dev/null,
50814 # effectively closing config.log, so it can be properly (re)opened and
50815 # appended to by config.status. When coming back to configure, we
50816 # need to make the FD available again.
50817 if test "$no_create" != yes; then
50819 ac_config_status_args
=
50820 test "$silent" = yes &&
50821 ac_config_status_args
="$ac_config_status_args --quiet"
50823 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50825 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50826 # would make configure fail if this is the last instruction.
50827 $ac_cs_success || { (exit 1); exit 1; }
50831 # CONFIG_SUBDIRS section.
50833 if test "$no_recursion" != yes; then
50835 # Remove --cache-file and --srcdir arguments so they do not pile up.
50836 ac_sub_configure_args
=
50838 for ac_arg
in $ac_configure_args; do
50839 if test -n "$ac_prev"; then
50844 -cache-file | --cache-file | --cache-fil | --cache-fi \
50845 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50846 ac_prev
=cache_file
;;
50847 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50848 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50851 --config-cache | -C)
50853 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50855 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50857 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50859 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50861 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50865 # Always prepend --prefix to ensure using the same prefix
50866 # in subdir configurations.
50867 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50870 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50872 # Do not complain, so a configure script can configure whichever
50873 # parts of a large source tree are present.
50874 test -d $srcdir/$ac_dir || continue
50876 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50877 echo "$as_me: configuring in $ac_dir" >&6;}
50878 { if $as_mkdir_p; then
50883 while test ! -d "$as_dir"; do
50884 as_dirs
="$as_dir $as_dirs"
50885 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50886 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50887 X"$as_dir" : 'X\(//\)[^/]' \| \
50888 X"$as_dir" : 'X\(//\)$' \| \
50889 X"$as_dir" : 'X\(/\)' \| \
50890 . : '\(.\)' 2>/dev/null ||
50892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50893 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50894 /^X\(\/\/\)$/{ s//\1/; q; }
50895 /^X\(\/\).*/{ s//\1/; q; }
50898 test ! -n "$as_dirs" || mkdir $as_dirs
50899 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50900 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50901 { (exit 1); exit 1; }; }; }
50905 if test "$ac_dir" != .
; then
50906 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50907 # A "../" for each directory in $ac_dir_suffix.
50908 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50910 ac_dir_suffix
= ac_top_builddir
=
50914 .
) # No --srcdir option. We are building in place.
50916 if test -z "$ac_top_builddir"; then
50919 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50921 [\\/]* | ?
:[\\/]* ) # Absolute path.
50922 ac_srcdir
=$srcdir$ac_dir_suffix;
50923 ac_top_srcdir
=$srcdir ;;
50924 *) # Relative path.
50925 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50926 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50929 # Do not use `cd foo && pwd` to compute absolute paths, because
50930 # the directories may not exist.
50932 .
) ac_abs_builddir
="$ac_dir";;
50935 .
) ac_abs_builddir
=`pwd`;;
50936 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50937 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50940 case $ac_abs_builddir in
50941 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50943 case ${ac_top_builddir}.
in
50944 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50945 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50946 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50949 case $ac_abs_builddir in
50950 .
) ac_abs_srcdir
=$ac_srcdir;;
50953 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50954 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50955 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50958 case $ac_abs_builddir in
50959 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50961 case $ac_top_srcdir in
50962 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50963 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50964 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50971 # Check for guested configure; otherwise get Cygnus style configure.
50972 if test -f $ac_srcdir/configure.gnu
; then
50973 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50974 elif test -f $ac_srcdir/configure
; then
50975 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50976 elif test -f $ac_srcdir/configure.
in; then
50977 ac_sub_configure
=$ac_configure
50979 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50980 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50984 # The recursion is here.
50985 if test -n "$ac_sub_configure"; then
50986 # Make the cache file name correct relative to the subdirectory.
50987 case $cache_file in
50988 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50989 *) # Relative path.
50990 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50993 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50994 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50995 # The eval makes quoting arguments work.
50996 eval $ac_sub_configure $ac_sub_configure_args \
50997 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50998 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50999 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51000 { (exit 1); exit 1; }; }
51009 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51011 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51012 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51014 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51015 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51016 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51018 echo " What level of wxWidgets compatibility should be enabled?"
51019 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51020 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51022 echo " Which libraries should wxWidgets use?"
51023 echo " jpeg ${wxUSE_LIBJPEG-none}"
51024 echo " png ${wxUSE_LIBPNG-none}"
51025 echo " regex ${wxUSE_REGEX}"
51026 echo " tiff ${wxUSE_LIBTIFF-none}"
51027 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51028 echo " xpm ${wxUSE_LIBXPM-none}"
51030 echo " zlib ${wxUSE_ZLIB}"
51031 echo " odbc ${wxUSE_ODBC}"
51032 echo " expat ${wxUSE_EXPAT}"
51033 echo " libmspack ${wxUSE_LIBMSPACK}"
51034 echo " sdl ${wxUSE_LIBSDL}"