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 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 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_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_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_XRC_1 COND_MONOLITHIC_0_SHARED_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_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_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
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-universal_binary create Mac PowerPC and Intel Universal binary
(not yet working
)
893 --enable-compat24 enable wxWidgets
2.4 compatibility
894 --disable-compat26 disable wxWidgets
2.6 compatibility
895 --disable-rpath disable use of rpath
for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig
(and derived
) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP
(requires wxProtocol
900 --enable-http use wxHTTP
(requires wxProtocol
901 --enable-fileproto use wxFileProto class
(requires wxProtocol
902 --enable-sockets use socket
/network classes
903 --enable-ole use OLE classes
(Win32 only
)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication
(wxSocket etc.
)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class
for getting backtraces
909 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class
for DLL loading
915 --enable-dynamicloader use
(new
) wxDynamicLibrary class
916 --enable-exceptions build exception
-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual
file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP
/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C
++ stream classes
930 --enable-std_string use standard C
++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
942 --enable-wxprintfv use wxWidgets implementation of vprintf
()
943 --enable-zipstream use wxZip streams
944 --enable-url use wxURL class
945 --enable-protocol use wxProtocol class
946 --enable-protocol-http HTTP support
in wxProtocol
947 --enable-protocol-ftp FTP support
in wxProtocol
948 --enable-protocol-file FILE support
in wxProtocol
949 --enable-threads use threads
950 --enable-docview use document view architecture
951 --enable-help use
help subsystem
952 --enable-mshtmlhelp use MS HTML Help
(win32
)
953 --enable-html use wxHTML sub
-library
954 --enable-htmlhelp use wxHTML
-based help
955 --enable-xrc use XRC resources sub
-library
956 --enable-constraints use layout
-constraints system
957 --enable-printarch use printing architecture
958 --enable-mdi use multiple document interface architecture
959 --enable-mdidoc use docview architecture with MDI
960 --enable-loggui use standard GUI logger
961 --enable-logwin use wxLogWindow
962 --enable-logdialog use wxLogDialog
963 --enable-webkit use wxWebKitCtrl
(Mac
)
964 --enable-richtext use wxRichTextCtrl
965 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
966 --enable-prologio not available
; see contrib
967 --enable-resources not available
; see contrib
968 --enable-clipboard use wxClipboard class
969 --enable-dnd use Drag
'n'Drop classes
970 --enable-metafile use win32 metafiles
971 --enable-controls use all usual controls
972 --enable-accel use accelerators
973 --enable-button use wxButton class
974 --enable-bmpbutton use wxBitmapButton class
975 --enable-calendar use wxCalendarCtrl class
976 --enable-caret use wxCaret class
977 --enable-checkbox use wxCheckBox class
978 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
979 --enable-choice use wxChoice class
980 --enable-choicebook use wxChoicebook class
981 --enable-combobox use wxComboBox class
982 --enable-datepick use wxDatePickerCtrl class
983 --enable-display use wxDisplay class
984 --enable-gauge use wxGauge class
985 --enable-grid use wxGrid class
986 --enable-dataviewctrl, use wxDataViewCtrl class
987 --enable-imaglist use wxImageList class
988 --enable-listbook use wxListbook class
989 --enable-listbox use wxListBox class
990 --enable-listctrl use wxListCtrl class
991 --enable-notebook use wxNotebook class
992 --enable-radiobox use wxRadioBox class
993 --enable-radiobtn use wxRadioButton class
994 --enable-sash use wxSashWindow class
995 --enable-scrollbar use wxScrollBar class and scrollable windows
996 --enable-slider use wxSlider class
997 --enable-spinbtn use wxSpinButton class
998 --enable-spinctrl use wxSpinCtrl class
999 --enable-splitter use wxSplitterWindow class
1000 --enable-statbmp use wxStaticBitmap class
1001 --enable-statbox use wxStaticBox class
1002 --enable-statline use wxStaticLine class
1003 --enable-stattext use wxStaticText class
1004 --enable-statusbar use wxStatusBar class
1005 --enable-tabdialog use wxTabControl class
1006 --enable-textctrl use wxTextCtrl class
1007 --enable-togglebtn use wxToggleButton class
1008 --enable-toolbar use wxToolBar class
1009 --enable-tbarnative use native wxToolBar class
1010 --enable-tbarsmpl use wxToolBarSimple class
1011 --enable-treebook use wxTreebook class
1012 --enable-toolbook use wxToolbook class
1013 --enable-treectrl use wxTreeCtrl class
1014 --enable-tipwindow use wxTipWindow class
1015 --enable-popupwin use wxPopUpWindow class
1016 --enable-commondlg use all common dialogs
1017 --enable-choicedlg use wxChoiceDialog
1018 --enable-coldlg use wxColourDialog
1019 --enable-filedlg use wxFileDialog
1020 --enable-finddlg use wxFindReplaceDialog
1021 --enable-fontdlg use wxFontDialog
1022 --enable-dirdlg use wxDirDialog
1023 --enable-msgdlg use wxMessageDialog
1024 --enable-numberdlg use wxNumberEntryDialog
1025 --enable-splash use wxSplashScreen
1026 --enable-textdlg use wxTextDialog
1027 --enable-tipdlg use startup tips
1028 --enable-progressdlg use wxProgressDialog
1029 --enable-wizarddlg use wxWizard
1030 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1031 --enable-miniframe use wxMiniFrame class
1032 --enable-tooltips use wxToolTip class
1033 --enable-splines use spline drawing code
1034 --enable-mousewheel use mousewheel
1035 --enable-validators use wxValidator and derived classes
1036 --enable-busyinfo use wxBusyInfo
1037 --enable-joystick use wxJoystick
1038 --enable-metafiles use wxMetaFile
(Win32 only
)
1039 --enable-dragimage use wxDragImage
1040 --enable-accessibility enable accessibility support
1041 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1042 --enable-palette use wxPalette class
1043 --enable-image use wxImage class
1044 --enable-gif use gif images
(GIF
file format
)
1045 --enable-pcx use pcx images
(PCX
file format
)
1046 --enable-iff use iff images
(IFF
file format
)
1047 --enable-pnm use pnm images
(PNM
file format
)
1048 --enable-xpm use xpm images
(XPM
file format
)
1049 --enable-icocur use Windows ICO and CUR formats
1050 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1051 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1052 --disable-largefile omit support
for large files
1053 --disable-gtktest do not try to compile and run a
test GTK
+ program
1054 --disable-gtktest Do not try to compile and run a
test GTK program
1055 --disable-sdltest Do not try to compile and run a
test SDL program
1056 --enable-omf use OMF object format
(OS
/2)
1057 --disable-dependency-tracking
1058 don
't use dependency tracking even if the compiler
1060 --disable-precomp-headers
1061 don't use precompiled headers even
if compiler can
1064 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1065 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1066 --without-subdirs don
't generate makefiles for samples/demos/...
1067 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1068 --with-motif use Motif/Lesstif
1069 --with-mac use Mac OS X
1070 --with-cocoa use Cocoa
1071 --with-wine use Wine
1072 --with-msw use MS-Windows
1073 --with-pm use OS/2 Presentation Manager
1074 --with-mgl use SciTech MGL
1075 --with-microwin use MicroWindows
1077 --with-libpng use libpng (PNG image format)
1078 --with-libjpeg use libjpeg (JPEG file format)
1079 --with-libtiff use libtiff (TIFF file format)
1080 --with-libxpm use libxpm (XPM file format)
1081 --with-libmspack use libmspack (CHM help files loading)
1082 --with-sdl use SDL for audio on Unix
1083 --with-gnomeprint use GNOME print for printing under Unix
1084 --with-hildon use Hildon framework for Nokia 770
1085 --with-opengl use OpenGL (or Mesa)
1086 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1087 --with-regex enable support for wxRegEx class
1088 --with-zlib use zlib for LZW compression
1089 --with-odbc use the IODBC and wxODBC classes
1090 --with-expat enable XML support using expat parser
1091 --with-flavour=NAME specify a name to identify this build
1092 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1093 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1094 --with-x use the X Window System
1095 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1096 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1097 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1098 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1099 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1101 Some influential environment variables:
1102 CC C compiler command
1103 CFLAGS C compiler flags
1104 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1105 nonstandard directory <lib dir>
1106 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1107 headers in a nonstandard directory <include dir>
1109 CXX C++ compiler command
1110 CXXFLAGS C++ compiler flags
1111 CXXCPP C++ preprocessor
1113 Use these variables to override the choices made by `configure' or to
help
1114 it to
find libraries and programs with nonstandard names
/locations.
1116 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1120 if test "$ac_init_help" = "recursive"; then
1121 # If there are subdirs, report their specific --help.
1123 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1124 test -d $ac_dir || continue
1127 if test "$ac_dir" != .
; then
1128 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1129 # A "../" for each directory in $ac_dir_suffix.
1130 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1132 ac_dir_suffix
= ac_top_builddir
=
1136 .
) # No --srcdir option. We are building in place.
1138 if test -z "$ac_top_builddir"; then
1141 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1143 [\\/]* | ?
:[\\/]* ) # Absolute path.
1144 ac_srcdir
=$srcdir$ac_dir_suffix;
1145 ac_top_srcdir
=$srcdir ;;
1147 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1148 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1151 # Do not use `cd foo && pwd` to compute absolute paths, because
1152 # the directories may not exist.
1154 .
) ac_abs_builddir
="$ac_dir";;
1157 .
) ac_abs_builddir
=`pwd`;;
1158 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1159 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1162 case $ac_abs_builddir in
1163 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1165 case ${ac_top_builddir}.
in
1166 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1167 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1168 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1171 case $ac_abs_builddir in
1172 .
) ac_abs_srcdir
=$ac_srcdir;;
1175 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1176 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1177 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1180 case $ac_abs_builddir in
1181 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1183 case $ac_top_srcdir in
1184 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1185 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1186 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1191 # Check for guested configure; otherwise get Cygnus style configure.
1192 if test -f $ac_srcdir/configure.gnu
; then
1194 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1195 elif test -f $ac_srcdir/configure
; then
1197 $SHELL $ac_srcdir/configure
--help=recursive
1198 elif test -f $ac_srcdir/configure.ac
||
1199 test -f $ac_srcdir/configure.
in; then
1201 $ac_configure --help
1203 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1209 test -n "$ac_init_help" && exit 0
1210 if $ac_init_version; then
1212 wxWidgets configure
2.7.0
1213 generated by GNU Autoconf
2.59
1215 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1216 This configure
script is free software
; the Free Software Foundation
1217 gives unlimited permission to copy
, distribute and modify it.
1223 This file contains any messages produced by compilers while
1224 running configure, to aid debugging if configure makes a mistake.
1226 It was created by wxWidgets $as_me 2.7.0, which was
1227 generated by GNU Autoconf 2.59. Invocation command line was
1238 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1239 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1240 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1241 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1242 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1244 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1245 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1247 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1248 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1249 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1250 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1251 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1252 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1253 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1261 test -z "$as_dir" && as_dir
=.
1262 echo "PATH: $as_dir"
1277 # Keep a trace of the command line.
1278 # Strip out --no-create and --no-recursion so they do not pile up.
1279 # Strip out --silent because we don't want to record it for future runs.
1280 # Also quote any args containing shell meta-characters.
1281 # Make two passes to allow for proper duplicate-argument suppression.
1286 ac_must_keep_next
=false
1292 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1293 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1294 | -silent | --silent | --silen | --sile | --sil)
1296 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1297 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1300 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1302 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1303 if test $ac_must_keep_next = true
; then
1304 ac_must_keep_next
=false
# Got value, back to normal.
1307 *=* | --config-cache | -C | -disable-* | --disable-* \
1308 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1309 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1310 | -with-* | --with-* | -without-* | --without-* | --x)
1311 case "$ac_configure_args0 " in
1312 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1315 -* ) ac_must_keep_next
=true
;;
1318 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1319 # Get rid of the leading space.
1325 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1326 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1328 # When interrupted or exit'd, cleanup temporary files, and complete
1329 # config.log. We remove comments because anyway the quotes in there
1330 # would cause problems or look ugly.
1331 # WARNING: Be sure not to use single quotes in there, as some shells,
1332 # such as our DU 5.0 friend, will then `close' the trap.
1333 trap 'exit_status=$?
1334 # Save into config.log some information that might help in debugging.
1339 ## ---------------- ##
1340 ## Cache variables. ##
1341 ## ---------------- ##
1344 # The following way of writing the cache mishandles newlines in values,
1347 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1350 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1351 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1355 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1362 ## ----------------- ##
1363 ## Output variables. ##
1364 ## ----------------- ##
1367 for ac_var in $ac_subst_vars
1369 eval ac_val=$`echo $ac_var`
1370 echo "$ac_var='"'"'$ac_val'"'"'"
1374 if test -n "$ac_subst_files"; then
1381 for ac_var in $ac_subst_files
1383 eval ac_val=$`echo $ac_var`
1384 echo "$ac_var='"'"'$ac_val'"'"'"
1389 if test -s confdefs.h; then
1396 sed "/^$/d" confdefs.h | sort
1399 test "$ac_signal" != 0 &&
1400 echo "$as_me: caught signal $ac_signal"
1401 echo "$as_me: exit $exit_status"
1403 rm -f core *.core &&
1404 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1407 for ac_signal
in 1 2 13 15; do
1408 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1412 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1413 rm -rf conftest
* confdefs.h
1414 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1417 # Predefined preprocessor variables.
1419 cat >>confdefs.h
<<_ACEOF
1420 #define PACKAGE_NAME "$PACKAGE_NAME"
1424 cat >>confdefs.h
<<_ACEOF
1425 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1429 cat >>confdefs.h
<<_ACEOF
1430 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1434 cat >>confdefs.h
<<_ACEOF
1435 #define PACKAGE_STRING "$PACKAGE_STRING"
1439 cat >>confdefs.h
<<_ACEOF
1440 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1444 # Let the site file select an alternate cache file if it wants to.
1445 # Prefer explicitly selected file to automatically selected ones.
1446 if test -z "$CONFIG_SITE"; then
1447 if test "x$prefix" != xNONE
; then
1448 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1450 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1453 for ac_site_file
in $CONFIG_SITE; do
1454 if test -r "$ac_site_file"; then
1455 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1456 echo "$as_me: loading site script $ac_site_file" >&6;}
1457 sed 's/^/| /' "$ac_site_file" >&5
1462 if test -r "$cache_file"; then
1463 # Some versions of bash will fail to source /dev/null (special
1464 # files actually), so we avoid doing that.
1465 if test -f "$cache_file"; then
1466 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1467 echo "$as_me: loading cache $cache_file" >&6;}
1469 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1470 *) . .
/$cache_file;;
1474 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1475 echo "$as_me: creating cache $cache_file" >&6;}
1479 # Check that the precious variables saved in the cache have kept the same
1481 ac_cache_corrupted
=false
1482 for ac_var
in `(set) 2>&1 |
1483 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1484 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1485 eval ac_new_set
=\
$ac_env_${ac_var}_set
1486 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1487 eval ac_new_val
="\$ac_env_${ac_var}_value"
1488 case $ac_old_set,$ac_new_set in
1490 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1491 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1492 ac_cache_corrupted
=: ;;
1494 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1495 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1496 ac_cache_corrupted
=: ;;
1499 if test "x$ac_old_val" != "x$ac_new_val"; then
1500 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1501 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1502 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1503 echo "$as_me: former value: $ac_old_val" >&2;}
1504 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1505 echo "$as_me: current value: $ac_new_val" >&2;}
1506 ac_cache_corrupted
=:
1509 # Pass precious variables to config.status.
1510 if test "$ac_new_set" = set; then
1512 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1513 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1514 *) ac_arg
=$ac_var=$ac_new_val ;;
1516 case " $ac_configure_args " in
1517 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1518 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1522 if $ac_cache_corrupted; then
1523 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1524 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1525 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1526 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1527 { (exit 1); exit 1; }; }
1531 ac_cpp
='$CPP $CPPFLAGS'
1532 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1533 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1534 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1566 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1567 if test -f $ac_dir/install-sh; then
1569 ac_install_sh
="$ac_aux_dir/install-sh -c"
1571 elif test -f $ac_dir/install.sh
; then
1573 ac_install_sh
="$ac_aux_dir/install.sh -c"
1575 elif test -f $ac_dir/shtool
; then
1577 ac_install_sh
="$ac_aux_dir/shtool install -c"
1581 if test -z "$ac_aux_dir"; then
1582 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1583 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1584 { (exit 1); exit 1; }; }
1586 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1587 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1588 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1590 # Make sure we can run config.sub.
1591 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1592 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1593 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1594 { (exit 1); exit 1; }; }
1596 echo "$as_me:$LINENO: checking build system type" >&5
1597 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1598 if test "${ac_cv_build+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 ac_cv_build_alias
=$build_alias
1602 test -z "$ac_cv_build_alias" &&
1603 ac_cv_build_alias
=`$ac_config_guess`
1604 test -z "$ac_cv_build_alias" &&
1605 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1606 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1607 { (exit 1); exit 1; }; }
1608 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1609 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1610 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1611 { (exit 1); exit 1; }; }
1614 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1615 echo "${ECHO_T}$ac_cv_build" >&6
1617 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1618 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1619 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1622 echo "$as_me:$LINENO: checking host system type" >&5
1623 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1624 if test "${ac_cv_host+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 ac_cv_host_alias
=$host_alias
1628 test -z "$ac_cv_host_alias" &&
1629 ac_cv_host_alias
=$ac_cv_build_alias
1630 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1631 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1632 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1633 { (exit 1); exit 1; }; }
1636 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1637 echo "${ECHO_T}$ac_cv_host" >&6
1639 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1640 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1641 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1644 echo "$as_me:$LINENO: checking target system type" >&5
1645 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1646 if test "${ac_cv_target+set}" = set; then
1647 echo $ECHO_N "(cached) $ECHO_C" >&6
1649 ac_cv_target_alias
=$target_alias
1650 test "x$ac_cv_target_alias" = "x" &&
1651 ac_cv_target_alias
=$ac_cv_host_alias
1652 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1653 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1654 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1655 { (exit 1); exit 1; }; }
1658 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1659 echo "${ECHO_T}$ac_cv_target" >&6
1660 target
=$ac_cv_target
1661 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1662 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1663 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1666 # The aliases save the names the user supplied, while $host etc.
1667 # will get canonicalized.
1668 test -n "$target_alias" &&
1669 test "$program_prefix$program_suffix$program_transform_name" = \
1671 program_prefix
=${target_alias}-
1675 wx_major_version_number
=2
1676 wx_minor_version_number
=7
1678 wx_subrelease_number
=0
1680 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1681 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1682 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1684 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1697 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1703 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1709 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1711 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1713 DEFAULT_wxUSE_COCOA
=0
1717 DEFAULT_wxUSE_MICROWIN
=0
1718 DEFAULT_wxUSE_MOTIF
=0
1723 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1724 DEFAULT_DEFAULT_wxUSE_GTK
=0
1725 DEFAULT_DEFAULT_wxUSE_MAC
=0
1726 DEFAULT_DEFAULT_wxUSE_MGL
=0
1727 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1728 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1729 DEFAULT_DEFAULT_wxUSE_MSW
=0
1730 DEFAULT_DEFAULT_wxUSE_PM
=0
1731 DEFAULT_DEFAULT_wxUSE_X11
=0
1736 SAMPLES_RPATH_POSTLINK
=
1738 DEFAULT_STD_FLAG
=yes
1743 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1744 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1746 cat >>confdefs.h
<<\_ACEOF
1751 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1755 cat >>confdefs.h
<<\_ACEOF
1760 if test "x$TMP" = "xalpha"; then
1762 cat >>confdefs.h
<<\_ACEOF
1767 DEFAULT_DEFAULT_wxUSE_GTK
=1
1769 *-*-gnu* | *-*-k*bsd
*-gnu )
1772 if test "x$TMP" = "xalpha"; then
1774 cat >>confdefs.h
<<\_ACEOF
1779 DEFAULT_DEFAULT_wxUSE_GTK
=1
1781 *-*-irix5* | *-*-irix6* )
1784 cat >>confdefs.h
<<\_ACEOF
1788 cat >>confdefs.h
<<\_ACEOF
1792 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1798 cat >>confdefs.h
<<\_ACEOF
1802 cat >>confdefs.h
<<\_ACEOF
1803 #define __SOLARIS__ 1
1806 cat >>confdefs.h
<<\_ACEOF
1810 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1811 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1817 cat >>confdefs.h
<<\_ACEOF
1821 cat >>confdefs.h
<<\_ACEOF
1825 cat >>confdefs.h
<<\_ACEOF
1829 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1834 cat >>confdefs.h
<<\_ACEOF
1835 #define __FREEBSD__ 1
1838 cat >>confdefs.h
<<\_ACEOF
1842 DEFAULT_DEFAULT_wxUSE_GTK
=1
1847 cat >>confdefs.h
<<\_ACEOF
1848 #define __OPENBSD__ 1
1851 cat >>confdefs.h
<<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_GTK
=1
1860 cat >>confdefs.h
<<\_ACEOF
1861 #define __NETBSD__ 1
1864 cat >>confdefs.h
<<\_ACEOF
1868 DEFAULT_DEFAULT_wxUSE_GTK
=1
1869 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1871 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1876 cat >>confdefs.h
<<\_ACEOF
1880 cat >>confdefs.h
<<\_ACEOF
1884 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1885 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1890 cat >>confdefs.h
<<\_ACEOF
1894 cat >>confdefs.h
<<\_ACEOF
1898 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1903 cat >>confdefs.h
<<\_ACEOF
1907 cat >>confdefs.h
<<\_ACEOF
1911 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1918 cat >>confdefs.h
<<\_ACEOF
1922 cat >>confdefs.h
<<\_ACEOF
1926 cat >>confdefs.h
<<\_ACEOF
1930 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1937 cat >>confdefs.h
<<\_ACEOF
1938 #define __UNIXWARE__ 1
1943 *-*-cygwin* | *-*-mingw32* )
1946 DEFAULT_DEFAULT_wxUSE_MSW
=1
1953 cat >>confdefs.h
<<\_ACEOF
1958 DEFAULT_DEFAULT_wxUSE_MGL
=1
1961 *-pc-os2_emx | *-pc-os2-emx )
1962 cat >>confdefs.h
<<\_ACEOF
1967 cat >>confdefs.h
<<\_ACEOF
1972 DEFAULT_DEFAULT_wxUSE_PM
=1
1974 LDFLAGS
="$LDFLAGS -Zcrtdll"
1975 ac_executable_extensions
=".exe"
1976 export ac_executable_extensions
1980 for ac_dir
in $PATH; do
1982 if test -z "$ac_TEMP_PATH"; then
1983 ac_TEMP_PATH
="$ac_dir"
1985 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1988 export PATH
="$ac_TEMP_PATH"
1997 cat >>confdefs.h
<<\_ACEOF
2001 cat >>confdefs.h
<<\_ACEOF
2002 #define __DARWIN__ 1
2005 cat >>confdefs.h
<<\_ACEOF
2006 #define TARGET_CARBON 1
2009 DEFAULT_DEFAULT_wxUSE_MAC
=1
2012 powerpc
-apple-macos* )
2014 ac_cv_c_bigendian
=yes
2016 DEFAULT_DEFAULT_wxUSE_MAC
=1
2022 cat >>confdefs.h
<<\_ACEOF
2029 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2030 echo "$as_me: error: unknown system type ${host}." >&2;}
2031 { (exit 1); exit 1; }; }
2037 wx_arg_cache_file
="configarg.cache"
2038 echo "loading argument cache $wx_arg_cache_file"
2039 rm -f ${wx_arg_cache_file}.tmp
2040 touch ${wx_arg_cache_file}.tmp
2041 touch ${wx_arg_cache_file}
2045 if test $DEBUG_CONFIGURE = 1; then
2046 DEFAULT_wxUSE_UNIVERSAL
=no
2047 DEFAULT_wxUSE_STL
=no
2049 DEFAULT_wxUSE_NANOX
=no
2051 DEFAULT_wxUSE_THREADS
=yes
2053 DEFAULT_wxUSE_SHARED
=yes
2054 DEFAULT_wxUSE_OPTIMISE
=no
2055 DEFAULT_wxUSE_PROFILE
=no
2056 DEFAULT_wxUSE_NO_DEPS
=no
2057 DEFAULT_wxUSE_NO_RTTI
=no
2058 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2059 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2060 DEFAULT_wxUSE_RPATH
=yes
2061 DEFAULT_wxUSE_PERMISSIVE
=no
2062 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2063 DEFAULT_wxUSE_DEBUG_INFO
=yes
2064 DEFAULT_wxUSE_DEBUG_GDB
=yes
2065 DEFAULT_wxUSE_MEM_TRACING
=no
2066 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2067 DEFAULT_wxUSE_DMALLOC
=no
2068 DEFAULT_wxUSE_APPLE_IEEE
=no
2070 DEFAULT_wxUSE_EXCEPTIONS
=no
2071 DEFAULT_wxUSE_LOG
=yes
2072 DEFAULT_wxUSE_LOGWINDOW
=no
2073 DEFAULT_wxUSE_LOGGUI
=no
2074 DEFAULT_wxUSE_LOGDIALOG
=no
2076 DEFAULT_wxUSE_GUI
=yes
2077 DEFAULT_wxUSE_CONTROLS
=no
2079 DEFAULT_wxUSE_REGEX
=no
2080 DEFAULT_wxUSE_XML
=no
2081 DEFAULT_wxUSE_EXPAT
=no
2082 DEFAULT_wxUSE_ZLIB
=no
2083 DEFAULT_wxUSE_LIBPNG
=no
2084 DEFAULT_wxUSE_LIBJPEG
=no
2085 DEFAULT_wxUSE_LIBTIFF
=no
2086 DEFAULT_wxUSE_LIBXPM
=no
2087 DEFAULT_wxUSE_LIBMSPACK
=no
2088 DEFAULT_wxUSE_LIBSDL
=no
2089 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2090 DEFAULT_wxUSE_LIBHILDON
=no
2091 DEFAULT_wxUSE_ODBC
=no
2092 DEFAULT_wxUSE_OPENGL
=no
2094 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2095 DEFAULT_wxUSE_STACKWALKER
=no
2096 DEFAULT_wxUSE_DEBUGREPORT
=no
2097 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2098 DEFAULT_wxUSE_STD_IOSTREAM
=no
2099 DEFAULT_wxUSE_STD_STRING
=no
2100 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2101 DEFAULT_wxUSE_DATETIME
=no
2102 DEFAULT_wxUSE_TIMER
=no
2103 DEFAULT_wxUSE_STOPWATCH
=no
2104 DEFAULT_wxUSE_FILE
=no
2105 DEFAULT_wxUSE_FFILE
=no
2106 DEFAULT_wxUSE_STDPATHS
=no
2107 DEFAULT_wxUSE_TEXTBUFFER
=no
2108 DEFAULT_wxUSE_TEXTFILE
=no
2109 DEFAULT_wxUSE_SOUND
=no
2110 DEFAULT_wxUSE_MEDIACTRL
=no
2111 DEFAULT_wxUSE_GSTREAMER8
=no
2112 DEFAULT_wxUSE_INTL
=no
2113 DEFAULT_wxUSE_CONFIG
=no
2114 DEFAULT_wxUSE_FONTMAP
=no
2115 DEFAULT_wxUSE_STREAMS
=no
2116 DEFAULT_wxUSE_SOCKETS
=no
2117 DEFAULT_wxUSE_OLE
=no
2118 DEFAULT_wxUSE_DATAOBJ
=no
2119 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2120 DEFAULT_wxUSE_JOYSTICK
=no
2121 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2122 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2123 DEFAULT_wxUSE_LONGLONG
=no
2124 DEFAULT_wxUSE_GEOMETRY
=no
2126 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2127 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2128 DEFAULT_wxUSE_POSTSCRIPT
=no
2130 DEFAULT_wxUSE_CLIPBOARD
=no
2131 DEFAULT_wxUSE_TOOLTIPS
=no
2132 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2133 DEFAULT_wxUSE_DRAGIMAGE
=no
2134 DEFAULT_wxUSE_SPLINES
=no
2135 DEFAULT_wxUSE_MOUSEWHEEL
=no
2137 DEFAULT_wxUSE_MDI
=no
2138 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2139 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2140 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2142 DEFAULT_wxUSE_RESOURCES
=no
2143 DEFAULT_wxUSE_CONSTRAINTS
=no
2144 DEFAULT_wxUSE_IPC
=no
2145 DEFAULT_wxUSE_HELP
=no
2146 DEFAULT_wxUSE_MS_HTML_HELP
=no
2147 DEFAULT_wxUSE_WXHTML_HELP
=no
2148 DEFAULT_wxUSE_TREELAYOUT
=no
2149 DEFAULT_wxUSE_METAFILE
=no
2150 DEFAULT_wxUSE_MIMETYPE
=no
2151 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2152 DEFAULT_wxUSE_PROTOCOL
=no
2153 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2154 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2155 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2156 DEFAULT_wxUSE_URL
=no
2158 DEFAULT_wxUSE_COMMONDLGS
=no
2159 DEFAULT_wxUSE_CHOICEDLG
=no
2160 DEFAULT_wxUSE_COLOURDLG
=no
2161 DEFAULT_wxUSE_DIRDLG
=no
2162 DEFAULT_wxUSE_FILEDLG
=no
2163 DEFAULT_wxUSE_FINDREPLDLG
=no
2164 DEFAULT_wxUSE_FONTDLG
=no
2165 DEFAULT_wxUSE_MSGDLG
=no
2166 DEFAULT_wxUSE_NUMBERDLG
=no
2167 DEFAULT_wxUSE_TEXTDLG
=no
2168 DEFAULT_wxUSE_SPLASH
=no
2169 DEFAULT_wxUSE_STARTUP_TIPS
=no
2170 DEFAULT_wxUSE_PROGRESSDLG
=no
2171 DEFAULT_wxUSE_WIZARDDLG
=no
2173 DEFAULT_wxUSE_MENUS
=no
2174 DEFAULT_wxUSE_MINIFRAME
=no
2175 DEFAULT_wxUSE_HTML
=no
2176 DEFAULT_wxUSE_RICHTEXT
=no
2177 DEFAULT_wxUSE_XRC
=no
2178 DEFAULT_wxUSE_WEBKIT
=no
2179 DEFAULT_wxUSE_FILESYSTEM
=no
2180 DEFAULT_wxUSE_FS_INET
=no
2181 DEFAULT_wxUSE_FS_ZIP
=no
2182 DEFAULT_wxUSE_BUSYINFO
=no
2183 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2184 DEFAULT_wxUSE_ZIPSTREAM
=no
2185 DEFAULT_wxUSE_VALIDATORS
=no
2187 DEFAULT_wxUSE_ACCEL
=no
2188 DEFAULT_wxUSE_BUTTON
=no
2189 DEFAULT_wxUSE_BMPBUTTON
=no
2190 DEFAULT_wxUSE_CALCTRL
=no
2191 DEFAULT_wxUSE_CARET
=no
2192 DEFAULT_wxUSE_CHECKBOX
=no
2193 DEFAULT_wxUSE_CHECKLST
=no
2194 DEFAULT_wxUSE_CHOICE
=no
2195 DEFAULT_wxUSE_CHOICEBOOK
=no
2196 DEFAULT_wxUSE_COMBOBOX
=no
2197 DEFAULT_wxUSE_DATEPICKCTRL
=no
2198 DEFAULT_wxUSE_DISPLAY
=no
2199 DEFAULT_wxUSE_GAUGE
=no
2200 DEFAULT_wxUSE_GRID
=no
2201 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2202 DEFAULT_wxUSE_IMAGLIST
=no
2203 DEFAULT_wxUSE_LISTBOOK
=no
2204 DEFAULT_wxUSE_LISTBOX
=no
2205 DEFAULT_wxUSE_LISTCTRL
=no
2206 DEFAULT_wxUSE_NOTEBOOK
=no
2207 DEFAULT_wxUSE_RADIOBOX
=no
2208 DEFAULT_wxUSE_RADIOBTN
=no
2209 DEFAULT_wxUSE_SASH
=no
2210 DEFAULT_wxUSE_SCROLLBAR
=no
2211 DEFAULT_wxUSE_SLIDER
=no
2212 DEFAULT_wxUSE_SPINBTN
=no
2213 DEFAULT_wxUSE_SPINCTRL
=no
2214 DEFAULT_wxUSE_SPLITTER
=no
2215 DEFAULT_wxUSE_STATBMP
=no
2216 DEFAULT_wxUSE_STATBOX
=no
2217 DEFAULT_wxUSE_STATLINE
=no
2218 DEFAULT_wxUSE_STATTEXT
=no
2219 DEFAULT_wxUSE_STATUSBAR
=yes
2220 DEFAULT_wxUSE_TAB_DIALOG
=no
2221 DEFAULT_wxUSE_TEXTCTRL
=no
2222 DEFAULT_wxUSE_TOGGLEBTN
=no
2223 DEFAULT_wxUSE_TOOLBAR
=no
2224 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2225 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2226 DEFAULT_wxUSE_TREEBOOK
=no
2227 DEFAULT_wxUSE_TOOLBOOK
=no
2228 DEFAULT_wxUSE_TREECTRL
=no
2229 DEFAULT_wxUSE_POPUPWIN
=no
2230 DEFAULT_wxUSE_TIPWINDOW
=no
2232 DEFAULT_wxUSE_UNICODE
=no
2233 DEFAULT_wxUSE_UNICODE_MSLU
=no
2234 DEFAULT_wxUSE_WCSRTOMBS
=no
2236 DEFAULT_wxUSE_PALETTE
=no
2237 DEFAULT_wxUSE_IMAGE
=no
2238 DEFAULT_wxUSE_GIF
=no
2239 DEFAULT_wxUSE_PCX
=no
2240 DEFAULT_wxUSE_PNM
=no
2241 DEFAULT_wxUSE_IFF
=no
2242 DEFAULT_wxUSE_XPM
=no
2243 DEFAULT_wxUSE_ICO_CUR
=no
2244 DEFAULT_wxUSE_ACCESSIBILITY
=no
2246 DEFAULT_wxUSE_MONOLITHIC
=no
2247 DEFAULT_wxUSE_PLUGINS
=no
2248 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2250 DEFAULT_wxUSE_UNIVERSAL
=no
2251 DEFAULT_wxUSE_STL
=no
2253 DEFAULT_wxUSE_NANOX
=no
2255 DEFAULT_wxUSE_THREADS
=yes
2257 DEFAULT_wxUSE_SHARED
=yes
2258 DEFAULT_wxUSE_OPTIMISE
=yes
2259 DEFAULT_wxUSE_PROFILE
=no
2260 DEFAULT_wxUSE_NO_DEPS
=no
2261 DEFAULT_wxUSE_NO_RTTI
=no
2262 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2263 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2264 DEFAULT_wxUSE_RPATH
=yes
2265 DEFAULT_wxUSE_PERMISSIVE
=no
2266 DEFAULT_wxUSE_DEBUG_FLAG
=no
2267 DEFAULT_wxUSE_DEBUG_INFO
=no
2268 DEFAULT_wxUSE_DEBUG_GDB
=no
2269 DEFAULT_wxUSE_MEM_TRACING
=no
2270 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2271 DEFAULT_wxUSE_DMALLOC
=no
2272 DEFAULT_wxUSE_APPLE_IEEE
=yes
2274 DEFAULT_wxUSE_EXCEPTIONS
=yes
2275 DEFAULT_wxUSE_LOG
=yes
2276 DEFAULT_wxUSE_LOGWINDOW
=yes
2277 DEFAULT_wxUSE_LOGGUI
=yes
2278 DEFAULT_wxUSE_LOGDIALOG
=yes
2280 DEFAULT_wxUSE_GUI
=yes
2282 DEFAULT_wxUSE_REGEX
=yes
2283 DEFAULT_wxUSE_XML
=yes
2284 DEFAULT_wxUSE_EXPAT
=yes
2285 DEFAULT_wxUSE_ZLIB
=yes
2286 DEFAULT_wxUSE_LIBPNG
=yes
2287 DEFAULT_wxUSE_LIBJPEG
=yes
2288 DEFAULT_wxUSE_LIBTIFF
=yes
2289 DEFAULT_wxUSE_LIBXPM
=yes
2290 DEFAULT_wxUSE_LIBMSPACK
=yes
2291 DEFAULT_wxUSE_LIBSDL
=no
2292 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2293 DEFAULT_wxUSE_LIBHILDON
=no
2294 DEFAULT_wxUSE_ODBC
=no
2295 DEFAULT_wxUSE_OPENGL
=no
2297 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2298 DEFAULT_wxUSE_STACKWALKER
=yes
2299 DEFAULT_wxUSE_DEBUGREPORT
=yes
2300 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2301 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2302 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2303 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2304 DEFAULT_wxUSE_DATETIME
=yes
2305 DEFAULT_wxUSE_TIMER
=yes
2306 DEFAULT_wxUSE_STOPWATCH
=yes
2307 DEFAULT_wxUSE_FILE
=yes
2308 DEFAULT_wxUSE_FFILE
=yes
2309 DEFAULT_wxUSE_STDPATHS
=yes
2310 DEFAULT_wxUSE_TEXTBUFFER
=yes
2311 DEFAULT_wxUSE_TEXTFILE
=yes
2312 DEFAULT_wxUSE_SOUND
=yes
2313 DEFAULT_wxUSE_MEDIACTRL
=no
2314 DEFAULT_wxUSE_GSTREAMER8
=no
2315 DEFAULT_wxUSE_INTL
=yes
2316 DEFAULT_wxUSE_CONFIG
=yes
2317 DEFAULT_wxUSE_FONTMAP
=yes
2318 DEFAULT_wxUSE_STREAMS
=yes
2319 DEFAULT_wxUSE_SOCKETS
=yes
2320 DEFAULT_wxUSE_OLE
=yes
2321 DEFAULT_wxUSE_DATAOBJ
=yes
2322 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2323 DEFAULT_wxUSE_JOYSTICK
=yes
2324 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2325 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2326 DEFAULT_wxUSE_LONGLONG
=yes
2327 DEFAULT_wxUSE_GEOMETRY
=yes
2329 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2330 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2331 DEFAULT_wxUSE_POSTSCRIPT
=yes
2333 DEFAULT_wxUSE_CLIPBOARD
=yes
2334 DEFAULT_wxUSE_TOOLTIPS
=yes
2335 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2336 DEFAULT_wxUSE_DRAGIMAGE
=yes
2337 DEFAULT_wxUSE_SPLINES
=yes
2338 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2340 DEFAULT_wxUSE_MDI
=yes
2341 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2342 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2343 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2345 DEFAULT_wxUSE_RESOURCES
=no
2346 DEFAULT_wxUSE_CONSTRAINTS
=yes
2347 DEFAULT_wxUSE_IPC
=yes
2348 DEFAULT_wxUSE_HELP
=yes
2349 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2350 DEFAULT_wxUSE_WXHTML_HELP
=yes
2351 DEFAULT_wxUSE_TREELAYOUT
=yes
2352 DEFAULT_wxUSE_METAFILE
=yes
2353 DEFAULT_wxUSE_MIMETYPE
=yes
2354 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2355 DEFAULT_wxUSE_PROTOCOL
=yes
2356 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2357 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2358 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2359 DEFAULT_wxUSE_URL
=yes
2361 DEFAULT_wxUSE_COMMONDLGS
=yes
2362 DEFAULT_wxUSE_CHOICEDLG
=yes
2363 DEFAULT_wxUSE_COLOURDLG
=yes
2364 DEFAULT_wxUSE_DIRDLG
=yes
2365 DEFAULT_wxUSE_FILEDLG
=yes
2366 DEFAULT_wxUSE_FINDREPLDLG
=yes
2367 DEFAULT_wxUSE_FONTDLG
=yes
2368 DEFAULT_wxUSE_MSGDLG
=yes
2369 DEFAULT_wxUSE_NUMBERDLG
=yes
2370 DEFAULT_wxUSE_TEXTDLG
=yes
2371 DEFAULT_wxUSE_SPLASH
=yes
2372 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2373 DEFAULT_wxUSE_PROGRESSDLG
=yes
2374 DEFAULT_wxUSE_WIZARDDLG
=yes
2376 DEFAULT_wxUSE_MENUS
=yes
2377 DEFAULT_wxUSE_MINIFRAME
=yes
2378 DEFAULT_wxUSE_HTML
=yes
2379 DEFAULT_wxUSE_RICHTEXT
=yes
2380 DEFAULT_wxUSE_XRC
=yes
2381 DEFAULT_wxUSE_WEBKIT
=yes
2382 DEFAULT_wxUSE_FILESYSTEM
=yes
2383 DEFAULT_wxUSE_FS_INET
=yes
2384 DEFAULT_wxUSE_FS_ZIP
=yes
2385 DEFAULT_wxUSE_BUSYINFO
=yes
2386 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2387 DEFAULT_wxUSE_ZIPSTREAM
=yes
2388 DEFAULT_wxUSE_VALIDATORS
=yes
2390 DEFAULT_wxUSE_ACCEL
=yes
2391 DEFAULT_wxUSE_BUTTON
=yes
2392 DEFAULT_wxUSE_BMPBUTTON
=yes
2393 DEFAULT_wxUSE_CALCTRL
=yes
2394 DEFAULT_wxUSE_CARET
=yes
2395 DEFAULT_wxUSE_CHECKBOX
=yes
2396 DEFAULT_wxUSE_CHECKLST
=yes
2397 DEFAULT_wxUSE_CHOICE
=yes
2398 DEFAULT_wxUSE_CHOICEBOOK
=yes
2399 DEFAULT_wxUSE_COMBOBOX
=yes
2400 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2401 DEFAULT_wxUSE_DISPLAY
=yes
2402 DEFAULT_wxUSE_GAUGE
=yes
2403 DEFAULT_wxUSE_GRID
=yes
2404 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2405 DEFAULT_wxUSE_IMAGLIST
=yes
2406 DEFAULT_wxUSE_LISTBOOK
=yes
2407 DEFAULT_wxUSE_LISTBOX
=yes
2408 DEFAULT_wxUSE_LISTCTRL
=yes
2409 DEFAULT_wxUSE_NOTEBOOK
=yes
2410 DEFAULT_wxUSE_RADIOBOX
=yes
2411 DEFAULT_wxUSE_RADIOBTN
=yes
2412 DEFAULT_wxUSE_SASH
=yes
2413 DEFAULT_wxUSE_SCROLLBAR
=yes
2414 DEFAULT_wxUSE_SLIDER
=yes
2415 DEFAULT_wxUSE_SPINBTN
=yes
2416 DEFAULT_wxUSE_SPINCTRL
=yes
2417 DEFAULT_wxUSE_SPLITTER
=yes
2418 DEFAULT_wxUSE_STATBMP
=yes
2419 DEFAULT_wxUSE_STATBOX
=yes
2420 DEFAULT_wxUSE_STATLINE
=yes
2421 DEFAULT_wxUSE_STATTEXT
=yes
2422 DEFAULT_wxUSE_STATUSBAR
=yes
2423 DEFAULT_wxUSE_TAB_DIALOG
=no
2424 DEFAULT_wxUSE_TEXTCTRL
=yes
2425 DEFAULT_wxUSE_TOGGLEBTN
=yes
2426 DEFAULT_wxUSE_TOOLBAR
=yes
2427 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2428 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2429 DEFAULT_wxUSE_TREEBOOK
=yes
2430 DEFAULT_wxUSE_TOOLBOOK
=yes
2431 DEFAULT_wxUSE_TREECTRL
=yes
2432 DEFAULT_wxUSE_POPUPWIN
=yes
2433 DEFAULT_wxUSE_TIPWINDOW
=yes
2435 DEFAULT_wxUSE_UNICODE
=no
2436 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2437 DEFAULT_wxUSE_WCSRTOMBS
=no
2439 DEFAULT_wxUSE_PALETTE
=yes
2440 DEFAULT_wxUSE_IMAGE
=yes
2441 DEFAULT_wxUSE_GIF
=yes
2442 DEFAULT_wxUSE_PCX
=yes
2443 DEFAULT_wxUSE_IFF
=no
2444 DEFAULT_wxUSE_PNM
=yes
2445 DEFAULT_wxUSE_XPM
=yes
2446 DEFAULT_wxUSE_ICO_CUR
=yes
2447 DEFAULT_wxUSE_ACCESSIBILITY
=no
2449 DEFAULT_wxUSE_MONOLITHIC
=no
2450 DEFAULT_wxUSE_PLUGINS
=no
2451 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2453 DEFAULT_wxUSE_GTK2
=yes
2459 for toolkit
in `echo $ALL_TOOLKITS`; do
2460 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2461 if test "x$LINE" != "x" ; then
2462 has_toolkit_in_cache
=1
2463 eval "DEFAULT_$LINE"
2464 eval "CACHE_$toolkit=1"
2466 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2467 if test "x$LINE" != "x" ; then
2468 eval "DEFAULT_$LINE"
2476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2477 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2479 # Check whether --enable-gui or --disable-gui was given.
2480 if test "${enable_gui+set}" = set; then
2481 enableval
="$enable_gui"
2483 if test "$enableval" = yes; then
2484 ac_cv_use_gui
='wxUSE_GUI=yes'
2486 ac_cv_use_gui
='wxUSE_GUI=no'
2491 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2492 if test "x$LINE" != x
; then
2493 eval "DEFAULT_$LINE"
2498 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2502 eval "$ac_cv_use_gui"
2503 if test "$no_cache" != 1; then
2504 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2507 if test "$wxUSE_GUI" = yes; then
2508 echo "$as_me:$LINENO: result: yes" >&5
2509 echo "${ECHO_T}yes" >&6
2511 echo "$as_me:$LINENO: result: no" >&5
2512 echo "${ECHO_T}no" >&6
2517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2518 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2520 # Check whether --enable-monolithic or --disable-monolithic was given.
2521 if test "${enable_monolithic+set}" = set; then
2522 enableval
="$enable_monolithic"
2524 if test "$enableval" = yes; then
2525 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2527 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2532 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2533 if test "x$LINE" != x
; then
2534 eval "DEFAULT_$LINE"
2539 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2543 eval "$ac_cv_use_monolithic"
2544 if test "$no_cache" != 1; then
2545 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2548 if test "$wxUSE_MONOLITHIC" = yes; then
2549 echo "$as_me:$LINENO: result: yes" >&5
2550 echo "${ECHO_T}yes" >&6
2552 echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6
2558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2559 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2561 # Check whether --enable-plugins or --disable-plugins was given.
2562 if test "${enable_plugins+set}" = set; then
2563 enableval
="$enable_plugins"
2565 if test "$enableval" = yes; then
2566 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2568 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2573 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2574 if test "x$LINE" != x
; then
2575 eval "DEFAULT_$LINE"
2580 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2584 eval "$ac_cv_use_plugins"
2585 if test "$no_cache" != 1; then
2586 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2589 if test "$wxUSE_PLUGINS" = yes; then
2590 echo "$as_me:$LINENO: result: yes" >&5
2591 echo "${ECHO_T}yes" >&6
2593 echo "$as_me:$LINENO: result: no" >&5
2594 echo "${ECHO_T}no" >&6
2599 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2600 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2603 # Check whether --with-subdirs or --without-subdirs was given.
2604 if test "${with_subdirs+set}" = set; then
2605 withval
="$with_subdirs"
2607 if test "$withval" = yes; then
2608 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2610 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2615 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2616 if test "x$LINE" != x
; then
2617 eval "DEFAULT_$LINE"
2622 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2626 eval "$ac_cv_use_subdirs"
2627 if test "$no_cache" != 1; then
2628 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2631 if test "$wxWITH_SUBDIRS" = yes; then
2632 echo "$as_me:$LINENO: result: yes" >&5
2633 echo "${ECHO_T}yes" >&6
2635 echo "$as_me:$LINENO: result: no" >&5
2636 echo "${ECHO_T}no" >&6
2640 if test "$wxUSE_GUI" = "yes"; then
2644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2645 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2647 # Check whether --enable-universal or --disable-universal was given.
2648 if test "${enable_universal+set}" = set; then
2649 enableval
="$enable_universal"
2651 if test "$enableval" = yes; then
2652 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2654 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2659 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x
; then
2661 eval "DEFAULT_$LINE"
2666 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2670 eval "$ac_cv_use_universal"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2675 if test "$wxUSE_UNIVERSAL" = yes; then
2676 echo "$as_me:$LINENO: result: yes" >&5
2677 echo "${ECHO_T}yes" >&6
2679 echo "$as_me:$LINENO: result: no" >&5
2680 echo "${ECHO_T}no" >&6
2684 # Check whether --with-gtk or --without-gtk was given.
2685 if test "${with_gtk+set}" = set; then
2687 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2690 # Check whether --with-motif or --without-motif was given.
2691 if test "${with_motif+set}" = set; then
2692 withval
="$with_motif"
2693 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2696 # Check whether --with-mac or --without-mac was given.
2697 if test "${with_mac+set}" = set; then
2699 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2702 # Check whether --with-cocoa or --without-cocoa was given.
2703 if test "${with_cocoa+set}" = set; then
2704 withval
="$with_cocoa"
2705 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2708 # Check whether --with-wine or --without-wine was given.
2709 if test "${with_wine+set}" = set; then
2710 withval
="$with_wine"
2711 wxUSE_WINE
="$withval" CACHE_WINE
=1
2714 # Check whether --with-msw or --without-msw was given.
2715 if test "${with_msw+set}" = set; then
2717 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2720 # Check whether --with-pm or --without-pm was given.
2721 if test "${with_pm+set}" = set; then
2723 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2726 # Check whether --with-mgl or --without-mgl was given.
2727 if test "${with_mgl+set}" = set; then
2729 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2732 # Check whether --with-microwin or --without-microwin was given.
2733 if test "${with_microwin+set}" = set; then
2734 withval
="$with_microwin"
2735 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2738 # Check whether --with-x11 or --without-x11 was given.
2739 if test "${with_x11+set}" = set; then
2741 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2746 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2748 # Check whether --enable-nanox or --disable-nanox was given.
2749 if test "${enable_nanox+set}" = set; then
2750 enableval
="$enable_nanox"
2752 if test "$enableval" = yes; then
2753 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2755 ac_cv_use_nanox
='wxUSE_NANOX=no'
2760 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2761 if test "x$LINE" != x
; then
2762 eval "DEFAULT_$LINE"
2767 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2771 eval "$ac_cv_use_nanox"
2772 if test "$no_cache" != 1; then
2773 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2776 if test "$wxUSE_NANOX" = yes; then
2777 echo "$as_me:$LINENO: result: yes" >&5
2778 echo "${ECHO_T}yes" >&6
2780 echo "$as_me:$LINENO: result: no" >&5
2781 echo "${ECHO_T}no" >&6
2785 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2786 if test "${enable_gtk2+set}" = set; then
2787 enableval
="$enable_gtk2"
2788 wxUSE_GTK2
="$enableval"
2792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2793 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2795 # Check whether --enable-gpe or --disable-gpe was given.
2796 if test "${enable_gpe+set}" = set; then
2797 enableval
="$enable_gpe"
2799 if test "$enableval" = yes; then
2800 ac_cv_use_gpe
='wxUSE_GPE=yes'
2802 ac_cv_use_gpe
='wxUSE_GPE=no'
2807 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x
; then
2809 eval "DEFAULT_$LINE"
2814 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2818 eval "$ac_cv_use_gpe"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2823 if test "$wxUSE_GPE" = yes; then
2824 echo "$as_me:$LINENO: result: yes" >&5
2825 echo "${ECHO_T}yes" >&6
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2833 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2834 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2837 # Check whether --with-libpng or --without-libpng was given.
2838 if test "${with_libpng+set}" = set; then
2839 withval
="$with_libpng"
2841 if test "$withval" = yes; then
2842 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2843 elif test "$withval" = no
; then
2844 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2845 elif test "$withval" = sys
; then
2846 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2847 elif test "$withval" = builtin; then
2848 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2850 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2851 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2852 { (exit 1); exit 1; }; }
2857 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2858 if test "x$LINE" != x
; then
2859 eval "DEFAULT_$LINE"
2864 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2868 eval "$ac_cv_use_libpng"
2869 if test "$no_cache" != 1; then
2870 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2873 if test "$wxUSE_LIBPNG" = yes; then
2874 echo "$as_me:$LINENO: result: yes" >&5
2875 echo "${ECHO_T}yes" >&6
2876 elif test "$wxUSE_LIBPNG" = no
; then
2877 echo "$as_me:$LINENO: result: no" >&5
2878 echo "${ECHO_T}no" >&6
2879 elif test "$wxUSE_LIBPNG" = sys
; then
2880 echo "$as_me:$LINENO: result: system version" >&5
2881 echo "${ECHO_T}system version" >&6
2882 elif test "$wxUSE_LIBPNG" = builtin; then
2883 echo "$as_me:$LINENO: result: builtin version" >&5
2884 echo "${ECHO_T}builtin version" >&6
2886 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2887 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2888 { (exit 1); exit 1; }; }
2892 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2893 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2896 # Check whether --with-libjpeg or --without-libjpeg was given.
2897 if test "${with_libjpeg+set}" = set; then
2898 withval
="$with_libjpeg"
2900 if test "$withval" = yes; then
2901 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2902 elif test "$withval" = no
; then
2903 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2904 elif test "$withval" = sys
; then
2905 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2906 elif test "$withval" = builtin; then
2907 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2909 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2910 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2911 { (exit 1); exit 1; }; }
2916 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2917 if test "x$LINE" != x
; then
2918 eval "DEFAULT_$LINE"
2923 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2927 eval "$ac_cv_use_libjpeg"
2928 if test "$no_cache" != 1; then
2929 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2932 if test "$wxUSE_LIBJPEG" = yes; then
2933 echo "$as_me:$LINENO: result: yes" >&5
2934 echo "${ECHO_T}yes" >&6
2935 elif test "$wxUSE_LIBJPEG" = no
; then
2936 echo "$as_me:$LINENO: result: no" >&5
2937 echo "${ECHO_T}no" >&6
2938 elif test "$wxUSE_LIBJPEG" = sys
; then
2939 echo "$as_me:$LINENO: result: system version" >&5
2940 echo "${ECHO_T}system version" >&6
2941 elif test "$wxUSE_LIBJPEG" = builtin; then
2942 echo "$as_me:$LINENO: result: builtin version" >&5
2943 echo "${ECHO_T}builtin version" >&6
2945 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2946 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2947 { (exit 1); exit 1; }; }
2951 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2952 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2955 # Check whether --with-libtiff or --without-libtiff was given.
2956 if test "${with_libtiff+set}" = set; then
2957 withval
="$with_libtiff"
2959 if test "$withval" = yes; then
2960 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2961 elif test "$withval" = no
; then
2962 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2963 elif test "$withval" = sys
; then
2964 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2965 elif test "$withval" = builtin; then
2966 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2968 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2969 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2970 { (exit 1); exit 1; }; }
2975 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2976 if test "x$LINE" != x
; then
2977 eval "DEFAULT_$LINE"
2982 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2986 eval "$ac_cv_use_libtiff"
2987 if test "$no_cache" != 1; then
2988 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2991 if test "$wxUSE_LIBTIFF" = yes; then
2992 echo "$as_me:$LINENO: result: yes" >&5
2993 echo "${ECHO_T}yes" >&6
2994 elif test "$wxUSE_LIBTIFF" = no
; then
2995 echo "$as_me:$LINENO: result: no" >&5
2996 echo "${ECHO_T}no" >&6
2997 elif test "$wxUSE_LIBTIFF" = sys
; then
2998 echo "$as_me:$LINENO: result: system version" >&5
2999 echo "${ECHO_T}system version" >&6
3000 elif test "$wxUSE_LIBTIFF" = builtin; then
3001 echo "$as_me:$LINENO: result: builtin version" >&5
3002 echo "${ECHO_T}builtin version" >&6
3004 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3005 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3006 { (exit 1); exit 1; }; }
3010 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3011 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3014 # Check whether --with-libxpm or --without-libxpm was given.
3015 if test "${with_libxpm+set}" = set; then
3016 withval
="$with_libxpm"
3018 if test "$withval" = yes; then
3019 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3020 elif test "$withval" = no
; then
3021 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3022 elif test "$withval" = sys
; then
3023 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3024 elif test "$withval" = builtin; then
3025 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3027 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3028 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3029 { (exit 1); exit 1; }; }
3034 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3035 if test "x$LINE" != x
; then
3036 eval "DEFAULT_$LINE"
3041 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3045 eval "$ac_cv_use_libxpm"
3046 if test "$no_cache" != 1; then
3047 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3050 if test "$wxUSE_LIBXPM" = yes; then
3051 echo "$as_me:$LINENO: result: yes" >&5
3052 echo "${ECHO_T}yes" >&6
3053 elif test "$wxUSE_LIBXPM" = no
; then
3054 echo "$as_me:$LINENO: result: no" >&5
3055 echo "${ECHO_T}no" >&6
3056 elif test "$wxUSE_LIBXPM" = sys
; then
3057 echo "$as_me:$LINENO: result: system version" >&5
3058 echo "${ECHO_T}system version" >&6
3059 elif test "$wxUSE_LIBXPM" = builtin; then
3060 echo "$as_me:$LINENO: result: builtin version" >&5
3061 echo "${ECHO_T}builtin version" >&6
3063 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3064 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3065 { (exit 1); exit 1; }; }
3070 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3071 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3074 # Check whether --with-libmspack or --without-libmspack was given.
3075 if test "${with_libmspack+set}" = set; then
3076 withval
="$with_libmspack"
3078 if test "$withval" = yes; then
3079 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3081 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3086 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3087 if test "x$LINE" != x
; then
3088 eval "DEFAULT_$LINE"
3093 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3097 eval "$ac_cv_use_libmspack"
3098 if test "$no_cache" != 1; then
3099 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3102 if test "$wxUSE_LIBMSPACK" = yes; then
3103 echo "$as_me:$LINENO: result: yes" >&5
3104 echo "${ECHO_T}yes" >&6
3106 echo "$as_me:$LINENO: result: no" >&5
3107 echo "${ECHO_T}no" >&6
3112 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3113 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3116 # Check whether --with-sdl or --without-sdl was given.
3117 if test "${with_sdl+set}" = set; then
3120 if test "$withval" = yes; then
3121 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3123 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3128 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x
; then
3130 eval "DEFAULT_$LINE"
3135 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3139 eval "$ac_cv_use_sdl"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3144 if test "$wxUSE_LIBSDL" = yes; then
3145 echo "$as_me:$LINENO: result: yes" >&5
3146 echo "${ECHO_T}yes" >&6
3148 echo "$as_me:$LINENO: result: no" >&5
3149 echo "${ECHO_T}no" >&6
3154 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3155 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3158 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3159 if test "${with_gnomeprint+set}" = set; then
3160 withval
="$with_gnomeprint"
3162 if test "$withval" = yes; then
3163 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3165 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3170 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x
; then
3172 eval "DEFAULT_$LINE"
3177 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3181 eval "$ac_cv_use_gnomeprint"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3186 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3187 echo "$as_me:$LINENO: result: yes" >&5
3188 echo "${ECHO_T}yes" >&6
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3196 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3197 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3200 # Check whether --with-hildon or --without-hildon was given.
3201 if test "${with_hildon+set}" = set; then
3202 withval
="$with_hildon"
3204 if test "$withval" = yes; then
3205 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3207 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3212 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x
; then
3214 eval "DEFAULT_$LINE"
3219 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3223 eval "$ac_cv_use_hildon"
3224 if test "$no_cache" != 1; then
3225 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3228 if test "$wxUSE_LIBHILDON" = yes; then
3229 echo "$as_me:$LINENO: result: yes" >&5
3230 echo "${ECHO_T}yes" >&6
3232 echo "$as_me:$LINENO: result: no" >&5
3233 echo "${ECHO_T}no" >&6
3238 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3239 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3242 # Check whether --with-opengl or --without-opengl was given.
3243 if test "${with_opengl+set}" = set; then
3244 withval
="$with_opengl"
3246 if test "$withval" = yes; then
3247 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3249 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3254 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3255 if test "x$LINE" != x
; then
3256 eval "DEFAULT_$LINE"
3261 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3265 eval "$ac_cv_use_opengl"
3266 if test "$no_cache" != 1; then
3267 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3270 if test "$wxUSE_OPENGL" = yes; then
3271 echo "$as_me:$LINENO: result: yes" >&5
3272 echo "${ECHO_T}yes" >&6
3274 echo "$as_me:$LINENO: result: no" >&5
3275 echo "${ECHO_T}no" >&6
3283 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3284 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3287 # Check whether --with-dmalloc or --without-dmalloc was given.
3288 if test "${with_dmalloc+set}" = set; then
3289 withval
="$with_dmalloc"
3291 if test "$withval" = yes; then
3292 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3294 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3299 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x
; then
3301 eval "DEFAULT_$LINE"
3306 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3310 eval "$ac_cv_use_dmalloc"
3311 if test "$no_cache" != 1; then
3312 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3315 if test "$wxUSE_DMALLOC" = yes; then
3316 echo "$as_me:$LINENO: result: yes" >&5
3317 echo "${ECHO_T}yes" >&6
3319 echo "$as_me:$LINENO: result: no" >&5
3320 echo "${ECHO_T}no" >&6
3324 echo "$as_me:$LINENO: checking for --with-regex" >&5
3325 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3328 # Check whether --with-regex or --without-regex was given.
3329 if test "${with_regex+set}" = set; then
3330 withval
="$with_regex"
3332 if test "$withval" = yes; then
3333 ac_cv_use_regex
='wxUSE_REGEX=yes'
3334 elif test "$withval" = no
; then
3335 ac_cv_use_regex
='wxUSE_REGEX=no'
3336 elif test "$withval" = sys
; then
3337 ac_cv_use_regex
='wxUSE_REGEX=sys'
3338 elif test "$withval" = builtin; then
3339 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3348 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x
; then
3350 eval "DEFAULT_$LINE"
3355 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3359 eval "$ac_cv_use_regex"
3360 if test "$no_cache" != 1; then
3361 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3364 if test "$wxUSE_REGEX" = yes; then
3365 echo "$as_me:$LINENO: result: yes" >&5
3366 echo "${ECHO_T}yes" >&6
3367 elif test "$wxUSE_REGEX" = no
; then
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3370 elif test "$wxUSE_REGEX" = sys
; then
3371 echo "$as_me:$LINENO: result: system version" >&5
3372 echo "${ECHO_T}system version" >&6
3373 elif test "$wxUSE_REGEX" = builtin; then
3374 echo "$as_me:$LINENO: result: builtin version" >&5
3375 echo "${ECHO_T}builtin version" >&6
3377 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3378 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3379 { (exit 1); exit 1; }; }
3383 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3384 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3387 # Check whether --with-zlib or --without-zlib was given.
3388 if test "${with_zlib+set}" = set; then
3389 withval
="$with_zlib"
3391 if test "$withval" = yes; then
3392 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3393 elif test "$withval" = no
; then
3394 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3395 elif test "$withval" = sys
; then
3396 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3397 elif test "$withval" = builtin; then
3398 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3407 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x
; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3418 eval "$ac_cv_use_zlib"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3423 if test "$wxUSE_ZLIB" = yes; then
3424 echo "$as_me:$LINENO: result: yes" >&5
3425 echo "${ECHO_T}yes" >&6
3426 elif test "$wxUSE_ZLIB" = no
; then
3427 echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3429 elif test "$wxUSE_ZLIB" = sys
; then
3430 echo "$as_me:$LINENO: result: system version" >&5
3431 echo "${ECHO_T}system version" >&6
3432 elif test "$wxUSE_ZLIB" = builtin; then
3433 echo "$as_me:$LINENO: result: builtin version" >&5
3434 echo "${ECHO_T}builtin version" >&6
3436 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3437 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3438 { (exit 1); exit 1; }; }
3442 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3443 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3446 # Check whether --with-odbc or --without-odbc was given.
3447 if test "${with_odbc+set}" = set; then
3448 withval
="$with_odbc"
3450 if test "$withval" = yes; then
3451 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3452 elif test "$withval" = no
; then
3453 ac_cv_use_odbc
='wxUSE_ODBC=no'
3454 elif test "$withval" = sys
; then
3455 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3456 elif test "$withval" = builtin; then
3457 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3459 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3460 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3461 { (exit 1); exit 1; }; }
3466 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3467 if test "x$LINE" != x
; then
3468 eval "DEFAULT_$LINE"
3473 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3477 eval "$ac_cv_use_odbc"
3478 if test "$no_cache" != 1; then
3479 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3482 if test "$wxUSE_ODBC" = yes; then
3483 echo "$as_me:$LINENO: result: yes" >&5
3484 echo "${ECHO_T}yes" >&6
3485 elif test "$wxUSE_ODBC" = no
; then
3486 echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3488 elif test "$wxUSE_ODBC" = sys
; then
3489 echo "$as_me:$LINENO: result: system version" >&5
3490 echo "${ECHO_T}system version" >&6
3491 elif test "$wxUSE_ODBC" = builtin; then
3492 echo "$as_me:$LINENO: result: builtin version" >&5
3493 echo "${ECHO_T}builtin version" >&6
3495 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3496 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3497 { (exit 1); exit 1; }; }
3501 echo "$as_me:$LINENO: checking for --with-expat" >&5
3502 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3505 # Check whether --with-expat or --without-expat was given.
3506 if test "${with_expat+set}" = set; then
3507 withval
="$with_expat"
3509 if test "$withval" = yes; then
3510 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3511 elif test "$withval" = no
; then
3512 ac_cv_use_expat
='wxUSE_EXPAT=no'
3513 elif test "$withval" = sys
; then
3514 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3515 elif test "$withval" = builtin; then
3516 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3518 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3519 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3520 { (exit 1); exit 1; }; }
3525 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3526 if test "x$LINE" != x
; then
3527 eval "DEFAULT_$LINE"
3532 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3536 eval "$ac_cv_use_expat"
3537 if test "$no_cache" != 1; then
3538 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3541 if test "$wxUSE_EXPAT" = yes; then
3542 echo "$as_me:$LINENO: result: yes" >&5
3543 echo "${ECHO_T}yes" >&6
3544 elif test "$wxUSE_EXPAT" = no
; then
3545 echo "$as_me:$LINENO: result: no" >&5
3546 echo "${ECHO_T}no" >&6
3547 elif test "$wxUSE_EXPAT" = sys
; then
3548 echo "$as_me:$LINENO: result: system version" >&5
3549 echo "${ECHO_T}system version" >&6
3550 elif test "$wxUSE_EXPAT" = builtin; then
3551 echo "$as_me:$LINENO: result: builtin version" >&5
3552 echo "${ECHO_T}builtin version" >&6
3554 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3555 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3556 { (exit 1); exit 1; }; }
3563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3564 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3566 # Check whether --enable-shared or --disable-shared was given.
3567 if test "${enable_shared+set}" = set; then
3568 enableval
="$enable_shared"
3570 if test "$enableval" = yes; then
3571 ac_cv_use_shared
='wxUSE_SHARED=yes'
3573 ac_cv_use_shared
='wxUSE_SHARED=no'
3578 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3579 if test "x$LINE" != x
; then
3580 eval "DEFAULT_$LINE"
3585 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3589 eval "$ac_cv_use_shared"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3594 if test "$wxUSE_SHARED" = yes; then
3595 echo "$as_me:$LINENO: result: yes" >&5
3596 echo "${ECHO_T}yes" >&6
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3605 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3607 # Check whether --enable-optimise or --disable-optimise was given.
3608 if test "${enable_optimise+set}" = set; then
3609 enableval
="$enable_optimise"
3611 if test "$enableval" = yes; then
3612 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3614 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3619 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3620 if test "x$LINE" != x
; then
3621 eval "DEFAULT_$LINE"
3626 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3630 eval "$ac_cv_use_optimise"
3631 if test "$no_cache" != 1; then
3632 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3635 if test "$wxUSE_OPTIMISE" = yes; then
3636 echo "$as_me:$LINENO: result: yes" >&5
3637 echo "${ECHO_T}yes" >&6
3639 echo "$as_me:$LINENO: result: no" >&5
3640 echo "${ECHO_T}no" >&6
3645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3646 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3648 # Check whether --enable-debug or --disable-debug was given.
3649 if test "${enable_debug+set}" = set; then
3650 enableval
="$enable_debug"
3652 if test "$enableval" = yes; then
3653 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3655 ac_cv_use_debug
='wxUSE_DEBUG=no'
3660 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3661 if test "x$LINE" != x
; then
3662 eval "DEFAULT_$LINE"
3667 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3671 eval "$ac_cv_use_debug"
3672 if test "$no_cache" != 1; then
3673 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3676 if test "$wxUSE_DEBUG" = yes; then
3677 echo "$as_me:$LINENO: result: yes" >&5
3678 echo "${ECHO_T}yes" >&6
3680 echo "$as_me:$LINENO: result: no" >&5
3681 echo "${ECHO_T}no" >&6
3686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3687 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3689 # Check whether --enable-stl or --disable-stl was given.
3690 if test "${enable_stl+set}" = set; then
3691 enableval
="$enable_stl"
3693 if test "$enableval" = yes; then
3694 ac_cv_use_stl
='wxUSE_STL=yes'
3696 ac_cv_use_stl
='wxUSE_STL=no'
3701 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x
; then
3703 eval "DEFAULT_$LINE"
3708 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3712 eval "$ac_cv_use_stl"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3717 if test "$wxUSE_STL" = yes; then
3718 echo "$as_me:$LINENO: result: yes" >&5
3719 echo "${ECHO_T}yes" >&6
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3725 if test "$USE_OS2" = "1"; then
3726 DEFAULT_wxUSE_OMF
=no
3729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3730 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3732 # Check whether --enable-omf or --disable-omf was given.
3733 if test "${enable_omf+set}" = set; then
3734 enableval
="$enable_omf"
3736 if test "$enableval" = yes; then
3737 ac_cv_use_omf
='wxUSE_OMF=yes'
3739 ac_cv_use_omf
='wxUSE_OMF=no'
3744 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x
; then
3746 eval "DEFAULT_$LINE"
3751 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3755 eval "$ac_cv_use_omf"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3760 if test "$wxUSE_OMF" = yes; then
3761 echo "$as_me:$LINENO: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6
3764 echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3770 if test "$wxUSE_DEBUG" = "yes"; then
3771 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3772 DEFAULT_wxUSE_DEBUG_INFO
=yes
3774 elif test "$wxUSE_DEBUG" = "no"; then
3775 DEFAULT_wxUSE_DEBUG_FLAG
=no
3776 DEFAULT_wxUSE_DEBUG_INFO
=no
3782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3783 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3785 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3786 if test "${enable_debug_flag+set}" = set; then
3787 enableval
="$enable_debug_flag"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3792 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3797 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3808 eval "$ac_cv_use_debug_flag"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3813 if test "$wxUSE_DEBUG_FLAG" = 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_info" >&5
3824 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3826 # Check whether --enable-debug_info or --disable-debug_info was given.
3827 if test "${enable_debug_info+set}" = set; then
3828 enableval
="$enable_debug_info"
3830 if test "$enableval" = yes; then
3831 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3833 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3838 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x
; then
3840 eval "DEFAULT_$LINE"
3845 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3849 eval "$ac_cv_use_debug_info"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3854 if test "$wxUSE_DEBUG_INFO" = 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}-debug_gdb" >&5
3865 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3867 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3868 if test "${enable_debug_gdb+set}" = set; then
3869 enableval
="$enable_debug_gdb"
3871 if test "$enableval" = yes; then
3872 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3874 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3879 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x
; then
3881 eval "DEFAULT_$LINE"
3886 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3890 eval "$ac_cv_use_debug_gdb"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3895 if test "$wxUSE_DEBUG_GDB" = 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
3905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3906 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3908 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3909 if test "${enable_debug_cntxt+set}" = set; then
3910 enableval
="$enable_debug_cntxt"
3912 if test "$enableval" = yes; then
3913 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3915 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3920 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3921 if test "x$LINE" != x
; then
3922 eval "DEFAULT_$LINE"
3927 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3931 eval "$ac_cv_use_debug_cntxt"
3932 if test "$no_cache" != 1; then
3933 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3936 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3937 echo "$as_me:$LINENO: result: yes" >&5
3938 echo "${ECHO_T}yes" >&6
3940 echo "$as_me:$LINENO: result: no" >&5
3941 echo "${ECHO_T}no" >&6
3946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3947 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3949 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3950 if test "${enable_mem_tracing+set}" = set; then
3951 enableval
="$enable_mem_tracing"
3953 if test "$enableval" = yes; then
3954 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3956 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3961 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x
; then
3963 eval "DEFAULT_$LINE"
3968 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3972 eval "$ac_cv_use_mem_tracing"
3973 if test "$no_cache" != 1; then
3974 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3977 if test "$wxUSE_MEM_TRACING" = yes; then
3978 echo "$as_me:$LINENO: result: yes" >&5
3979 echo "${ECHO_T}yes" >&6
3981 echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6
3987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3988 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3990 # Check whether --enable-profile or --disable-profile was given.
3991 if test "${enable_profile+set}" = set; then
3992 enableval
="$enable_profile"
3994 if test "$enableval" = yes; then
3995 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3997 ac_cv_use_profile
='wxUSE_PROFILE=no'
4002 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4003 if test "x$LINE" != x
; then
4004 eval "DEFAULT_$LINE"
4009 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4013 eval "$ac_cv_use_profile"
4014 if test "$no_cache" != 1; then
4015 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4018 if test "$wxUSE_PROFILE" = yes; then
4019 echo "$as_me:$LINENO: result: yes" >&5
4020 echo "${ECHO_T}yes" >&6
4022 echo "$as_me:$LINENO: result: no" >&5
4023 echo "${ECHO_T}no" >&6
4028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4029 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4031 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4032 if test "${enable_no_rtti+set}" = set; then
4033 enableval
="$enable_no_rtti"
4035 if test "$enableval" = yes; then
4036 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4038 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4043 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4044 if test "x$LINE" != x
; then
4045 eval "DEFAULT_$LINE"
4050 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4054 eval "$ac_cv_use_no_rtti"
4055 if test "$no_cache" != 1; then
4056 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4059 if test "$wxUSE_NO_RTTI" = yes; then
4060 echo "$as_me:$LINENO: result: yes" >&5
4061 echo "${ECHO_T}yes" >&6
4063 echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6
4069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4070 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4072 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4073 if test "${enable_no_exceptions+set}" = set; then
4074 enableval
="$enable_no_exceptions"
4076 if test "$enableval" = yes; then
4077 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4079 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4084 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4085 if test "x$LINE" != x
; then
4086 eval "DEFAULT_$LINE"
4091 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4095 eval "$ac_cv_use_no_exceptions"
4096 if test "$no_cache" != 1; then
4097 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4100 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4101 echo "$as_me:$LINENO: result: yes" >&5
4102 echo "${ECHO_T}yes" >&6
4104 echo "$as_me:$LINENO: result: no" >&5
4105 echo "${ECHO_T}no" >&6
4110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4111 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4113 # Check whether --enable-permissive or --disable-permissive was given.
4114 if test "${enable_permissive+set}" = set; then
4115 enableval
="$enable_permissive"
4117 if test "$enableval" = yes; then
4118 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4120 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4125 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4126 if test "x$LINE" != x
; then
4127 eval "DEFAULT_$LINE"
4132 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4136 eval "$ac_cv_use_permissive"
4137 if test "$no_cache" != 1; then
4138 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4141 if test "$wxUSE_PERMISSIVE" = yes; then
4142 echo "$as_me:$LINENO: result: yes" >&5
4143 echo "${ECHO_T}yes" >&6
4145 echo "$as_me:$LINENO: result: no" >&5
4146 echo "${ECHO_T}no" >&6
4151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4152 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4154 # Check whether --enable-no_deps or --disable-no_deps was given.
4155 if test "${enable_no_deps+set}" = set; then
4156 enableval
="$enable_no_deps"
4158 if test "$enableval" = yes; then
4159 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4161 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4166 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4167 if test "x$LINE" != x
; then
4168 eval "DEFAULT_$LINE"
4173 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4177 eval "$ac_cv_use_no_deps"
4178 if test "$no_cache" != 1; then
4179 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4182 if test "$wxUSE_NO_DEPS" = yes; then
4183 echo "$as_me:$LINENO: result: yes" >&5
4184 echo "${ECHO_T}yes" >&6
4186 echo "$as_me:$LINENO: result: no" >&5
4187 echo "${ECHO_T}no" >&6
4192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4193 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4195 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4196 if test "${enable_universal_binary+set}" = set; then
4197 enableval
="$enable_universal_binary"
4199 if test "$enableval" = yes; then
4200 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=yes'
4202 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY=no'
4207 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4208 if test "x$LINE" != x
; then
4209 eval "DEFAULT_$LINE"
4214 ac_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4218 eval "$ac_cv_use_universal_binary"
4219 if test "$no_cache" != 1; then
4220 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4223 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4224 echo "$as_me:$LINENO: result: yes" >&5
4225 echo "${ECHO_T}yes" >&6
4227 echo "$as_me:$LINENO: result: no" >&5
4228 echo "${ECHO_T}no" >&6
4234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4235 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4237 # Check whether --enable-compat24 or --disable-compat24 was given.
4238 if test "${enable_compat24+set}" = set; then
4239 enableval
="$enable_compat24"
4241 if test "$enableval" = yes; then
4242 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4244 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4249 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4250 if test "x$LINE" != x
; then
4251 eval "DEFAULT_$LINE"
4256 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4260 eval "$ac_cv_use_compat24"
4261 if test "$no_cache" != 1; then
4262 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4265 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4266 echo "$as_me:$LINENO: result: yes" >&5
4267 echo "${ECHO_T}yes" >&6
4269 echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6
4274 enablestring
=disable
4275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4276 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4278 # Check whether --enable-compat26 or --disable-compat26 was given.
4279 if test "${enable_compat26+set}" = set; then
4280 enableval
="$enable_compat26"
4282 if test "$enableval" = yes; then
4283 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4285 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4290 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4291 if test "x$LINE" != x
; then
4292 eval "DEFAULT_$LINE"
4297 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4301 eval "$ac_cv_use_compat26"
4302 if test "$no_cache" != 1; then
4303 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4306 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4307 echo "$as_me:$LINENO: result: yes" >&5
4308 echo "${ECHO_T}yes" >&6
4310 echo "$as_me:$LINENO: result: no" >&5
4311 echo "${ECHO_T}no" >&6
4317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4318 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4320 # Check whether --enable-rpath or --disable-rpath was given.
4321 if test "${enable_rpath+set}" = set; then
4322 enableval
="$enable_rpath"
4324 if test "$enableval" = yes; then
4325 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4327 ac_cv_use_rpath
='wxUSE_RPATH=no'
4332 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4333 if test "x$LINE" != x
; then
4334 eval "DEFAULT_$LINE"
4339 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4343 eval "$ac_cv_use_rpath"
4344 if test "$no_cache" != 1; then
4345 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4348 if test "$wxUSE_RPATH" = yes; then
4349 echo "$as_me:$LINENO: result: yes" >&5
4350 echo "${ECHO_T}yes" >&6
4352 echo "$as_me:$LINENO: result: no" >&5
4353 echo "${ECHO_T}no" >&6
4361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4362 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4364 # Check whether --enable-intl or --disable-intl was given.
4365 if test "${enable_intl+set}" = set; then
4366 enableval
="$enable_intl"
4368 if test "$enableval" = yes; then
4369 ac_cv_use_intl
='wxUSE_INTL=yes'
4371 ac_cv_use_intl
='wxUSE_INTL=no'
4376 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4377 if test "x$LINE" != x
; then
4378 eval "DEFAULT_$LINE"
4383 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4387 eval "$ac_cv_use_intl"
4388 if test "$no_cache" != 1; then
4389 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4392 if test "$wxUSE_INTL" = yes; then
4393 echo "$as_me:$LINENO: result: yes" >&5
4394 echo "${ECHO_T}yes" >&6
4396 echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6
4402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4403 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4405 # Check whether --enable-config or --disable-config was given.
4406 if test "${enable_config+set}" = set; then
4407 enableval
="$enable_config"
4409 if test "$enableval" = yes; then
4410 ac_cv_use_config
='wxUSE_CONFIG=yes'
4412 ac_cv_use_config
='wxUSE_CONFIG=no'
4417 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4418 if test "x$LINE" != x
; then
4419 eval "DEFAULT_$LINE"
4424 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4428 eval "$ac_cv_use_config"
4429 if test "$no_cache" != 1; then
4430 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4433 if test "$wxUSE_CONFIG" = yes; then
4434 echo "$as_me:$LINENO: result: yes" >&5
4435 echo "${ECHO_T}yes" >&6
4437 echo "$as_me:$LINENO: result: no" >&5
4438 echo "${ECHO_T}no" >&6
4444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4447 # Check whether --enable-protocols or --disable-protocols was given.
4448 if test "${enable_protocols+set}" = set; then
4449 enableval
="$enable_protocols"
4451 if test "$enableval" = yes; then
4452 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4454 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4459 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4460 if test "x$LINE" != x
; then
4461 eval "DEFAULT_$LINE"
4466 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4470 eval "$ac_cv_use_protocols"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4475 if test "$wxUSE_PROTOCOL" = 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
4485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4486 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4488 # Check whether --enable-ftp or --disable-ftp was given.
4489 if test "${enable_ftp+set}" = set; then
4490 enableval
="$enable_ftp"
4492 if test "$enableval" = yes; then
4493 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4495 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4500 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4501 if test "x$LINE" != x
; then
4502 eval "DEFAULT_$LINE"
4507 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4511 eval "$ac_cv_use_ftp"
4512 if test "$no_cache" != 1; then
4513 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4516 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4517 echo "$as_me:$LINENO: result: yes" >&5
4518 echo "${ECHO_T}yes" >&6
4520 echo "$as_me:$LINENO: result: no" >&5
4521 echo "${ECHO_T}no" >&6
4526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4527 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4529 # Check whether --enable-http or --disable-http was given.
4530 if test "${enable_http+set}" = set; then
4531 enableval
="$enable_http"
4533 if test "$enableval" = yes; then
4534 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4536 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4541 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4542 if test "x$LINE" != x
; then
4543 eval "DEFAULT_$LINE"
4548 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4552 eval "$ac_cv_use_http"
4553 if test "$no_cache" != 1; then
4554 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4557 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4558 echo "$as_me:$LINENO: result: yes" >&5
4559 echo "${ECHO_T}yes" >&6
4561 echo "$as_me:$LINENO: result: no" >&5
4562 echo "${ECHO_T}no" >&6
4567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4568 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4570 # Check whether --enable-fileproto or --disable-fileproto was given.
4571 if test "${enable_fileproto+set}" = set; then
4572 enableval
="$enable_fileproto"
4574 if test "$enableval" = yes; then
4575 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4577 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4582 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4583 if test "x$LINE" != x
; then
4584 eval "DEFAULT_$LINE"
4589 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4593 eval "$ac_cv_use_fileproto"
4594 if test "$no_cache" != 1; then
4595 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4598 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4599 echo "$as_me:$LINENO: result: yes" >&5
4600 echo "${ECHO_T}yes" >&6
4602 echo "$as_me:$LINENO: result: no" >&5
4603 echo "${ECHO_T}no" >&6
4608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4609 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4611 # Check whether --enable-sockets or --disable-sockets was given.
4612 if test "${enable_sockets+set}" = set; then
4613 enableval
="$enable_sockets"
4615 if test "$enableval" = yes; then
4616 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4618 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4623 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4624 if test "x$LINE" != x
; then
4625 eval "DEFAULT_$LINE"
4630 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4634 eval "$ac_cv_use_sockets"
4635 if test "$no_cache" != 1; then
4636 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4639 if test "$wxUSE_SOCKETS" = yes; then
4640 echo "$as_me:$LINENO: result: yes" >&5
4641 echo "${ECHO_T}yes" >&6
4643 echo "$as_me:$LINENO: result: no" >&5
4644 echo "${ECHO_T}no" >&6
4649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4650 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4652 # Check whether --enable-ole or --disable-ole was given.
4653 if test "${enable_ole+set}" = set; then
4654 enableval
="$enable_ole"
4656 if test "$enableval" = yes; then
4657 ac_cv_use_ole
='wxUSE_OLE=yes'
4659 ac_cv_use_ole
='wxUSE_OLE=no'
4664 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4665 if test "x$LINE" != x
; then
4666 eval "DEFAULT_$LINE"
4671 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4675 eval "$ac_cv_use_ole"
4676 if test "$no_cache" != 1; then
4677 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4680 if test "$wxUSE_OLE" = yes; then
4681 echo "$as_me:$LINENO: result: yes" >&5
4682 echo "${ECHO_T}yes" >&6
4684 echo "$as_me:$LINENO: result: no" >&5
4685 echo "${ECHO_T}no" >&6
4690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4691 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4693 # Check whether --enable-dataobj or --disable-dataobj was given.
4694 if test "${enable_dataobj+set}" = set; then
4695 enableval
="$enable_dataobj"
4697 if test "$enableval" = yes; then
4698 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4700 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4705 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x
; then
4707 eval "DEFAULT_$LINE"
4712 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4716 eval "$ac_cv_use_dataobj"
4717 if test "$no_cache" != 1; then
4718 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4721 if test "$wxUSE_DATAOBJ" = yes; then
4722 echo "$as_me:$LINENO: result: yes" >&5
4723 echo "${ECHO_T}yes" >&6
4725 echo "$as_me:$LINENO: result: no" >&5
4726 echo "${ECHO_T}no" >&6
4732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4733 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4735 # Check whether --enable-ipc or --disable-ipc was given.
4736 if test "${enable_ipc+set}" = set; then
4737 enableval
="$enable_ipc"
4739 if test "$enableval" = yes; then
4740 ac_cv_use_ipc
='wxUSE_IPC=yes'
4742 ac_cv_use_ipc
='wxUSE_IPC=no'
4747 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4748 if test "x$LINE" != x
; then
4749 eval "DEFAULT_$LINE"
4754 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4758 eval "$ac_cv_use_ipc"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4763 if test "$wxUSE_IPC" = yes; then
4764 echo "$as_me:$LINENO: result: yes" >&5
4765 echo "${ECHO_T}yes" >&6
4767 echo "$as_me:$LINENO: result: no" >&5
4768 echo "${ECHO_T}no" >&6
4774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4775 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4777 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4778 if test "${enable_apple_ieee+set}" = set; then
4779 enableval
="$enable_apple_ieee"
4781 if test "$enableval" = yes; then
4782 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4784 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4789 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4790 if test "x$LINE" != x
; then
4791 eval "DEFAULT_$LINE"
4796 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4800 eval "$ac_cv_use_apple_ieee"
4801 if test "$no_cache" != 1; then
4802 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4805 if test "$wxUSE_APPLE_IEEE" = yes; then
4806 echo "$as_me:$LINENO: result: yes" >&5
4807 echo "${ECHO_T}yes" >&6
4809 echo "$as_me:$LINENO: result: no" >&5
4810 echo "${ECHO_T}no" >&6
4815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4816 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4818 # Check whether --enable-arcstream or --disable-arcstream was given.
4819 if test "${enable_arcstream+set}" = set; then
4820 enableval
="$enable_arcstream"
4822 if test "$enableval" = yes; then
4823 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4825 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4830 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4831 if test "x$LINE" != x
; then
4832 eval "DEFAULT_$LINE"
4837 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4841 eval "$ac_cv_use_arcstream"
4842 if test "$no_cache" != 1; then
4843 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4846 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4847 echo "$as_me:$LINENO: result: yes" >&5
4848 echo "${ECHO_T}yes" >&6
4850 echo "$as_me:$LINENO: result: no" >&5
4851 echo "${ECHO_T}no" >&6
4856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4857 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4859 # Check whether --enable-backtrace or --disable-backtrace was given.
4860 if test "${enable_backtrace+set}" = set; then
4861 enableval
="$enable_backtrace"
4863 if test "$enableval" = yes; then
4864 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4866 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4871 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x
; then
4873 eval "DEFAULT_$LINE"
4878 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4882 eval "$ac_cv_use_backtrace"
4883 if test "$no_cache" != 1; then
4884 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4887 if test "$wxUSE_STACKWALKER" = yes; then
4888 echo "$as_me:$LINENO: result: yes" >&5
4889 echo "${ECHO_T}yes" >&6
4891 echo "$as_me:$LINENO: result: no" >&5
4892 echo "${ECHO_T}no" >&6
4897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4898 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4900 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4901 if test "${enable_catch_segvs+set}" = set; then
4902 enableval
="$enable_catch_segvs"
4904 if test "$enableval" = yes; then
4905 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4907 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4912 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x
; then
4914 eval "DEFAULT_$LINE"
4919 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4923 eval "$ac_cv_use_catch_segvs"
4924 if test "$no_cache" != 1; then
4925 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4928 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4929 echo "$as_me:$LINENO: result: yes" >&5
4930 echo "${ECHO_T}yes" >&6
4932 echo "$as_me:$LINENO: result: no" >&5
4933 echo "${ECHO_T}no" >&6
4938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4939 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4941 # Check whether --enable-cmdline or --disable-cmdline was given.
4942 if test "${enable_cmdline+set}" = set; then
4943 enableval
="$enable_cmdline"
4945 if test "$enableval" = yes; then
4946 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4948 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4953 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4954 if test "x$LINE" != x
; then
4955 eval "DEFAULT_$LINE"
4960 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4964 eval "$ac_cv_use_cmdline"
4965 if test "$no_cache" != 1; then
4966 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4969 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4970 echo "$as_me:$LINENO: result: yes" >&5
4971 echo "${ECHO_T}yes" >&6
4973 echo "$as_me:$LINENO: result: no" >&5
4974 echo "${ECHO_T}no" >&6
4979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4982 # Check whether --enable-datetime or --disable-datetime was given.
4983 if test "${enable_datetime+set}" = set; then
4984 enableval
="$enable_datetime"
4986 if test "$enableval" = yes; then
4987 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4989 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4994 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x
; then
4996 eval "DEFAULT_$LINE"
5001 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5005 eval "$ac_cv_use_datetime"
5006 if test "$no_cache" != 1; then
5007 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5010 if test "$wxUSE_DATETIME" = yes; then
5011 echo "$as_me:$LINENO: result: yes" >&5
5012 echo "${ECHO_T}yes" >&6
5014 echo "$as_me:$LINENO: result: no" >&5
5015 echo "${ECHO_T}no" >&6
5020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5021 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5023 # Check whether --enable-debugreport or --disable-debugreport was given.
5024 if test "${enable_debugreport+set}" = set; then
5025 enableval
="$enable_debugreport"
5027 if test "$enableval" = yes; then
5028 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5030 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5035 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5036 if test "x$LINE" != x
; then
5037 eval "DEFAULT_$LINE"
5042 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5046 eval "$ac_cv_use_debugreport"
5047 if test "$no_cache" != 1; then
5048 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5051 if test "$wxUSE_DEBUGREPORT" = yes; then
5052 echo "$as_me:$LINENO: result: yes" >&5
5053 echo "${ECHO_T}yes" >&6
5055 echo "$as_me:$LINENO: result: no" >&5
5056 echo "${ECHO_T}no" >&6
5061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5062 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5064 # Check whether --enable-dialupman or --disable-dialupman was given.
5065 if test "${enable_dialupman+set}" = set; then
5066 enableval
="$enable_dialupman"
5068 if test "$enableval" = yes; then
5069 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5071 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5076 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5077 if test "x$LINE" != x
; then
5078 eval "DEFAULT_$LINE"
5083 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5087 eval "$ac_cv_use_dialupman"
5088 if test "$no_cache" != 1; then
5089 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5092 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5093 echo "$as_me:$LINENO: result: yes" >&5
5094 echo "${ECHO_T}yes" >&6
5096 echo "$as_me:$LINENO: result: no" >&5
5097 echo "${ECHO_T}no" >&6
5102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5103 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5105 # Check whether --enable-dynlib or --disable-dynlib was given.
5106 if test "${enable_dynlib+set}" = set; then
5107 enableval
="$enable_dynlib"
5109 if test "$enableval" = yes; then
5110 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5112 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5117 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x
; then
5119 eval "DEFAULT_$LINE"
5124 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5128 eval "$ac_cv_use_dynlib"
5129 if test "$no_cache" != 1; then
5130 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5133 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5134 echo "$as_me:$LINENO: result: yes" >&5
5135 echo "${ECHO_T}yes" >&6
5137 echo "$as_me:$LINENO: result: no" >&5
5138 echo "${ECHO_T}no" >&6
5143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5144 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5146 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5147 if test "${enable_dynamicloader+set}" = set; then
5148 enableval
="$enable_dynamicloader"
5150 if test "$enableval" = yes; then
5151 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5153 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5158 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5159 if test "x$LINE" != x
; then
5160 eval "DEFAULT_$LINE"
5165 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5169 eval "$ac_cv_use_dynamicloader"
5170 if test "$no_cache" != 1; then
5171 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5174 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5175 echo "$as_me:$LINENO: result: yes" >&5
5176 echo "${ECHO_T}yes" >&6
5178 echo "$as_me:$LINENO: result: no" >&5
5179 echo "${ECHO_T}no" >&6
5184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5187 # Check whether --enable-exceptions or --disable-exceptions was given.
5188 if test "${enable_exceptions+set}" = set; then
5189 enableval
="$enable_exceptions"
5191 if test "$enableval" = yes; then
5192 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5194 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5199 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5200 if test "x$LINE" != x
; then
5201 eval "DEFAULT_$LINE"
5206 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5210 eval "$ac_cv_use_exceptions"
5211 if test "$no_cache" != 1; then
5212 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5215 if test "$wxUSE_EXCEPTIONS" = yes; then
5216 echo "$as_me:$LINENO: result: yes" >&5
5217 echo "${ECHO_T}yes" >&6
5219 echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6
5225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5226 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5228 # Check whether --enable-ffile or --disable-ffile was given.
5229 if test "${enable_ffile+set}" = set; then
5230 enableval
="$enable_ffile"
5232 if test "$enableval" = yes; then
5233 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5235 ac_cv_use_ffile
='wxUSE_FFILE=no'
5240 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5241 if test "x$LINE" != x
; then
5242 eval "DEFAULT_$LINE"
5247 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5251 eval "$ac_cv_use_ffile"
5252 if test "$no_cache" != 1; then
5253 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5256 if test "$wxUSE_FFILE" = yes; then
5257 echo "$as_me:$LINENO: result: yes" >&5
5258 echo "${ECHO_T}yes" >&6
5260 echo "$as_me:$LINENO: result: no" >&5
5261 echo "${ECHO_T}no" >&6
5266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5267 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5269 # Check whether --enable-file or --disable-file was given.
5270 if test "${enable_file+set}" = set; then
5271 enableval
="$enable_file"
5273 if test "$enableval" = yes; then
5274 ac_cv_use_file
='wxUSE_FILE=yes'
5276 ac_cv_use_file
='wxUSE_FILE=no'
5281 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5282 if test "x$LINE" != x
; then
5283 eval "DEFAULT_$LINE"
5288 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5292 eval "$ac_cv_use_file"
5293 if test "$no_cache" != 1; then
5294 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5297 if test "$wxUSE_FILE" = yes; then
5298 echo "$as_me:$LINENO: result: yes" >&5
5299 echo "${ECHO_T}yes" >&6
5301 echo "$as_me:$LINENO: result: no" >&5
5302 echo "${ECHO_T}no" >&6
5307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5310 # Check whether --enable-filesystem or --disable-filesystem was given.
5311 if test "${enable_filesystem+set}" = set; then
5312 enableval
="$enable_filesystem"
5314 if test "$enableval" = yes; then
5315 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5317 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5322 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5323 if test "x$LINE" != x
; then
5324 eval "DEFAULT_$LINE"
5329 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5333 eval "$ac_cv_use_filesystem"
5334 if test "$no_cache" != 1; then
5335 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5338 if test "$wxUSE_FILESYSTEM" = yes; then
5339 echo "$as_me:$LINENO: result: yes" >&5
5340 echo "${ECHO_T}yes" >&6
5342 echo "$as_me:$LINENO: result: no" >&5
5343 echo "${ECHO_T}no" >&6
5348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5349 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5351 # Check whether --enable-fontmap or --disable-fontmap was given.
5352 if test "${enable_fontmap+set}" = set; then
5353 enableval
="$enable_fontmap"
5355 if test "$enableval" = yes; then
5356 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5358 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5363 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5364 if test "x$LINE" != x
; then
5365 eval "DEFAULT_$LINE"
5370 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5374 eval "$ac_cv_use_fontmap"
5375 if test "$no_cache" != 1; then
5376 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5379 if test "$wxUSE_FONTMAP" = yes; then
5380 echo "$as_me:$LINENO: result: yes" >&5
5381 echo "${ECHO_T}yes" >&6
5383 echo "$as_me:$LINENO: result: no" >&5
5384 echo "${ECHO_T}no" >&6
5389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5390 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5392 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5393 if test "${enable_fs_inet+set}" = set; then
5394 enableval
="$enable_fs_inet"
5396 if test "$enableval" = yes; then
5397 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5399 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5404 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5405 if test "x$LINE" != x
; then
5406 eval "DEFAULT_$LINE"
5411 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5415 eval "$ac_cv_use_fs_inet"
5416 if test "$no_cache" != 1; then
5417 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5420 if test "$wxUSE_FS_INET" = yes; then
5421 echo "$as_me:$LINENO: result: yes" >&5
5422 echo "${ECHO_T}yes" >&6
5424 echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6
5430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5431 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5433 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5434 if test "${enable_fs_zip+set}" = set; then
5435 enableval
="$enable_fs_zip"
5437 if test "$enableval" = yes; then
5438 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5440 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5445 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5446 if test "x$LINE" != x
; then
5447 eval "DEFAULT_$LINE"
5452 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5456 eval "$ac_cv_use_fs_zip"
5457 if test "$no_cache" != 1; then
5458 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5461 if test "$wxUSE_FS_ZIP" = yes; then
5462 echo "$as_me:$LINENO: result: yes" >&5
5463 echo "${ECHO_T}yes" >&6
5465 echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6
5471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5472 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5474 # Check whether --enable-geometry or --disable-geometry was given.
5475 if test "${enable_geometry+set}" = set; then
5476 enableval
="$enable_geometry"
5478 if test "$enableval" = yes; then
5479 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5481 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5486 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5487 if test "x$LINE" != x
; then
5488 eval "DEFAULT_$LINE"
5493 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5497 eval "$ac_cv_use_geometry"
5498 if test "$no_cache" != 1; then
5499 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5502 if test "$wxUSE_GEOMETRY" = yes; then
5503 echo "$as_me:$LINENO: result: yes" >&5
5504 echo "${ECHO_T}yes" >&6
5506 echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6
5512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5513 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5515 # Check whether --enable-log or --disable-log was given.
5516 if test "${enable_log+set}" = set; then
5517 enableval
="$enable_log"
5519 if test "$enableval" = yes; then
5520 ac_cv_use_log
='wxUSE_LOG=yes'
5522 ac_cv_use_log
='wxUSE_LOG=no'
5527 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5528 if test "x$LINE" != x
; then
5529 eval "DEFAULT_$LINE"
5534 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5538 eval "$ac_cv_use_log"
5539 if test "$no_cache" != 1; then
5540 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5543 if test "$wxUSE_LOG" = yes; then
5544 echo "$as_me:$LINENO: result: yes" >&5
5545 echo "${ECHO_T}yes" >&6
5547 echo "$as_me:$LINENO: result: no" >&5
5548 echo "${ECHO_T}no" >&6
5553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5554 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5556 # Check whether --enable-longlong or --disable-longlong was given.
5557 if test "${enable_longlong+set}" = set; then
5558 enableval
="$enable_longlong"
5560 if test "$enableval" = yes; then
5561 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5563 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5568 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5569 if test "x$LINE" != x
; then
5570 eval "DEFAULT_$LINE"
5575 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5579 eval "$ac_cv_use_longlong"
5580 if test "$no_cache" != 1; then
5581 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5584 if test "$wxUSE_LONGLONG" = yes; then
5585 echo "$as_me:$LINENO: result: yes" >&5
5586 echo "${ECHO_T}yes" >&6
5588 echo "$as_me:$LINENO: result: no" >&5
5589 echo "${ECHO_T}no" >&6
5594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5595 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5597 # Check whether --enable-mimetype or --disable-mimetype was given.
5598 if test "${enable_mimetype+set}" = set; then
5599 enableval
="$enable_mimetype"
5601 if test "$enableval" = yes; then
5602 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5604 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5609 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x
; then
5611 eval "DEFAULT_$LINE"
5616 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5620 eval "$ac_cv_use_mimetype"
5621 if test "$no_cache" != 1; then
5622 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5625 if test "$wxUSE_MIMETYPE" = yes; then
5626 echo "$as_me:$LINENO: result: yes" >&5
5627 echo "${ECHO_T}yes" >&6
5629 echo "$as_me:$LINENO: result: no" >&5
5630 echo "${ECHO_T}no" >&6
5635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5638 # Check whether --enable-mslu or --disable-mslu was given.
5639 if test "${enable_mslu+set}" = set; then
5640 enableval
="$enable_mslu"
5642 if test "$enableval" = yes; then
5643 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5645 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5650 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x
; then
5652 eval "DEFAULT_$LINE"
5657 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5661 eval "$ac_cv_use_mslu"
5662 if test "$no_cache" != 1; then
5663 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5666 if test "$wxUSE_UNICODE_MSLU" = yes; then
5667 echo "$as_me:$LINENO: result: yes" >&5
5668 echo "${ECHO_T}yes" >&6
5670 echo "$as_me:$LINENO: result: no" >&5
5671 echo "${ECHO_T}no" >&6
5676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5677 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5679 # Check whether --enable-snglinst or --disable-snglinst was given.
5680 if test "${enable_snglinst+set}" = set; then
5681 enableval
="$enable_snglinst"
5683 if test "$enableval" = yes; then
5684 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5686 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5691 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5692 if test "x$LINE" != x
; then
5693 eval "DEFAULT_$LINE"
5698 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5702 eval "$ac_cv_use_snglinst"
5703 if test "$no_cache" != 1; then
5704 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5707 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5708 echo "$as_me:$LINENO: result: yes" >&5
5709 echo "${ECHO_T}yes" >&6
5711 echo "$as_me:$LINENO: result: no" >&5
5712 echo "${ECHO_T}no" >&6
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5720 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5721 if test "${enable_std_iostreams+set}" = set; then
5722 enableval
="$enable_std_iostreams"
5724 if test "$enableval" = yes; then
5725 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5727 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5732 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x
; then
5734 eval "DEFAULT_$LINE"
5739 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5743 eval "$ac_cv_use_std_iostreams"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5748 if test "$wxUSE_STD_IOSTREAM" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5761 # Check whether --enable-std_string or --disable-std_string was given.
5762 if test "${enable_std_string+set}" = set; then
5763 enableval
="$enable_std_string"
5765 if test "$enableval" = yes; then
5766 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5768 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5773 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x
; then
5775 eval "DEFAULT_$LINE"
5780 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5784 eval "$ac_cv_use_std_string"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5789 if test "$wxUSE_STD_STRING" = yes; then
5790 echo "$as_me:$LINENO: result: yes" >&5
5791 echo "${ECHO_T}yes" >&6
5793 echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5802 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5803 if test "${enable_stdpaths+set}" = set; then
5804 enableval
="$enable_stdpaths"
5806 if test "$enableval" = yes; then
5807 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5809 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5814 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x
; then
5816 eval "DEFAULT_$LINE"
5821 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5825 eval "$ac_cv_use_stdpaths"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5830 if test "$wxUSE_STDPATHS" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6
5834 echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5843 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5844 if test "${enable_stopwatch+set}" = set; then
5845 enableval
="$enable_stopwatch"
5847 if test "$enableval" = yes; then
5848 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5850 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5855 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x
; then
5857 eval "DEFAULT_$LINE"
5862 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5866 eval "$ac_cv_use_stopwatch"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5871 if test "$wxUSE_STOPWATCH" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6
5875 echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5884 # Check whether --enable-streams or --disable-streams was given.
5885 if test "${enable_streams+set}" = set; then
5886 enableval
="$enable_streams"
5888 if test "$enableval" = yes; then
5889 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5891 ac_cv_use_streams
='wxUSE_STREAMS=no'
5896 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x
; then
5898 eval "DEFAULT_$LINE"
5903 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5907 eval "$ac_cv_use_streams"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5912 if test "$wxUSE_STREAMS" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6
5916 echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6
5922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5925 # Check whether --enable-system_options or --disable-system_options was given.
5926 if test "${enable_system_options+set}" = set; then
5927 enableval
="$enable_system_options"
5929 if test "$enableval" = yes; then
5930 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5932 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5937 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x
; then
5939 eval "DEFAULT_$LINE"
5944 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5948 eval "$ac_cv_use_system_options"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5953 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5954 echo "$as_me:$LINENO: result: yes" >&5
5955 echo "${ECHO_T}yes" >&6
5957 echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6
5963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5966 # Check whether --enable-textbuf or --disable-textbuf was given.
5967 if test "${enable_textbuf+set}" = set; then
5968 enableval
="$enable_textbuf"
5970 if test "$enableval" = yes; then
5971 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5973 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5978 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x
; then
5980 eval "DEFAULT_$LINE"
5985 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5989 eval "$ac_cv_use_textbuf"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5994 if test "$wxUSE_TEXTBUFFER" = yes; then
5995 echo "$as_me:$LINENO: result: yes" >&5
5996 echo "${ECHO_T}yes" >&6
5998 echo "$as_me:$LINENO: result: no" >&5
5999 echo "${ECHO_T}no" >&6
6004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6007 # Check whether --enable-textfile or --disable-textfile was given.
6008 if test "${enable_textfile+set}" = set; then
6009 enableval
="$enable_textfile"
6011 if test "$enableval" = yes; then
6012 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6014 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6019 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6020 if test "x$LINE" != x
; then
6021 eval "DEFAULT_$LINE"
6026 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6030 eval "$ac_cv_use_textfile"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6035 if test "$wxUSE_TEXTFILE" = yes; then
6036 echo "$as_me:$LINENO: result: yes" >&5
6037 echo "${ECHO_T}yes" >&6
6039 echo "$as_me:$LINENO: result: no" >&5
6040 echo "${ECHO_T}no" >&6
6045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6048 # Check whether --enable-timer or --disable-timer was given.
6049 if test "${enable_timer+set}" = set; then
6050 enableval
="$enable_timer"
6052 if test "$enableval" = yes; then
6053 ac_cv_use_timer
='wxUSE_TIMER=yes'
6055 ac_cv_use_timer
='wxUSE_TIMER=no'
6060 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x
; then
6062 eval "DEFAULT_$LINE"
6067 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6071 eval "$ac_cv_use_timer"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6076 if test "$wxUSE_TIMER" = yes; then
6077 echo "$as_me:$LINENO: result: yes" >&5
6078 echo "${ECHO_T}yes" >&6
6080 echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6
6086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6087 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6089 # Check whether --enable-unicode or --disable-unicode was given.
6090 if test "${enable_unicode+set}" = set; then
6091 enableval
="$enable_unicode"
6093 if test "$enableval" = yes; then
6094 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6096 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6101 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x
; then
6103 eval "DEFAULT_$LINE"
6108 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6112 eval "$ac_cv_use_unicode"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6117 if test "$wxUSE_UNICODE" = yes; then
6118 echo "$as_me:$LINENO: result: yes" >&5
6119 echo "${ECHO_T}yes" >&6
6121 echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6
6127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6130 # Check whether --enable-sound or --disable-sound was given.
6131 if test "${enable_sound+set}" = set; then
6132 enableval
="$enable_sound"
6134 if test "$enableval" = yes; then
6135 ac_cv_use_sound
='wxUSE_SOUND=yes'
6137 ac_cv_use_sound
='wxUSE_SOUND=no'
6142 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x
; then
6144 eval "DEFAULT_$LINE"
6149 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6153 eval "$ac_cv_use_sound"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6158 if test "$wxUSE_SOUND" = yes; then
6159 echo "$as_me:$LINENO: result: yes" >&5
6160 echo "${ECHO_T}yes" >&6
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6171 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6172 if test "${enable_mediactrl+set}" = set; then
6173 enableval
="$enable_mediactrl"
6175 if test "$enableval" = yes; then
6176 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6178 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6183 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x
; then
6185 eval "DEFAULT_$LINE"
6190 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6194 eval "$ac_cv_use_mediactrl"
6195 if test "$no_cache" != 1; then
6196 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6199 if test "$wxUSE_MEDIACTRL" = yes; then
6200 echo "$as_me:$LINENO: result: yes" >&5
6201 echo "${ECHO_T}yes" >&6
6203 echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6
6209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6212 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6213 if test "${enable_gstreamer8+set}" = set; then
6214 enableval
="$enable_gstreamer8"
6216 if test "$enableval" = yes; then
6217 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6219 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6224 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x
; then
6226 eval "DEFAULT_$LINE"
6231 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6235 eval "$ac_cv_use_gstreamer8"
6236 if test "$no_cache" != 1; then
6237 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6240 if test "$wxUSE_GSTREAMER8" = yes; then
6241 echo "$as_me:$LINENO: result: yes" >&5
6242 echo "${ECHO_T}yes" >&6
6244 echo "$as_me:$LINENO: result: no" >&5
6245 echo "${ECHO_T}no" >&6
6250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6251 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6253 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6254 if test "${enable_wxprintfv+set}" = set; then
6255 enableval
="$enable_wxprintfv"
6257 if test "$enableval" = yes; then
6258 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6260 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6265 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6266 if test "x$LINE" != x
; then
6267 eval "DEFAULT_$LINE"
6272 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6276 eval "$ac_cv_use_wxprintfv"
6277 if test "$no_cache" != 1; then
6278 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6281 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6282 echo "$as_me:$LINENO: result: yes" >&5
6283 echo "${ECHO_T}yes" >&6
6285 echo "$as_me:$LINENO: result: no" >&5
6286 echo "${ECHO_T}no" >&6
6291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6292 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6294 # Check whether --enable-zipstream or --disable-zipstream was given.
6295 if test "${enable_zipstream+set}" = set; then
6296 enableval
="$enable_zipstream"
6298 if test "$enableval" = yes; then
6299 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6301 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6306 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6307 if test "x$LINE" != x
; then
6308 eval "DEFAULT_$LINE"
6313 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6317 eval "$ac_cv_use_zipstream"
6318 if test "$no_cache" != 1; then
6319 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6322 if test "$wxUSE_ZIPSTREAM" = yes; then
6323 echo "$as_me:$LINENO: result: yes" >&5
6324 echo "${ECHO_T}yes" >&6
6326 echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6
6333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6336 # Check whether --enable-url or --disable-url was given.
6337 if test "${enable_url+set}" = set; then
6338 enableval
="$enable_url"
6340 if test "$enableval" = yes; then
6341 ac_cv_use_url
='wxUSE_URL=yes'
6343 ac_cv_use_url
='wxUSE_URL=no'
6348 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6349 if test "x$LINE" != x
; then
6350 eval "DEFAULT_$LINE"
6355 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6359 eval "$ac_cv_use_url"
6360 if test "$no_cache" != 1; then
6361 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6364 if test "$wxUSE_URL" = yes; then
6365 echo "$as_me:$LINENO: result: yes" >&5
6366 echo "${ECHO_T}yes" >&6
6368 echo "$as_me:$LINENO: result: no" >&5
6369 echo "${ECHO_T}no" >&6
6374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6377 # Check whether --enable-protocol or --disable-protocol was given.
6378 if test "${enable_protocol+set}" = set; then
6379 enableval
="$enable_protocol"
6381 if test "$enableval" = yes; then
6382 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6384 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6389 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x
; then
6391 eval "DEFAULT_$LINE"
6396 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6400 eval "$ac_cv_use_protocol"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6405 if test "$wxUSE_PROTOCOL" = yes; then
6406 echo "$as_me:$LINENO: result: yes" >&5
6407 echo "${ECHO_T}yes" >&6
6409 echo "$as_me:$LINENO: result: no" >&5
6410 echo "${ECHO_T}no" >&6
6415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6418 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6419 if test "${enable_protocol_http+set}" = set; then
6420 enableval
="$enable_protocol_http"
6422 if test "$enableval" = yes; then
6423 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6425 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6430 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6431 if test "x$LINE" != x
; then
6432 eval "DEFAULT_$LINE"
6437 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6441 eval "$ac_cv_use_protocol_http"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6446 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6447 echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6
6450 echo "$as_me:$LINENO: result: no" >&5
6451 echo "${ECHO_T}no" >&6
6456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6459 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6460 if test "${enable_protocol_ftp+set}" = set; then
6461 enableval
="$enable_protocol_ftp"
6463 if test "$enableval" = yes; then
6464 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6466 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6471 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6472 if test "x$LINE" != x
; then
6473 eval "DEFAULT_$LINE"
6478 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6482 eval "$ac_cv_use_protocol_ftp"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6487 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6488 echo "$as_me:$LINENO: result: yes" >&5
6489 echo "${ECHO_T}yes" >&6
6491 echo "$as_me:$LINENO: result: no" >&5
6492 echo "${ECHO_T}no" >&6
6497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6500 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6501 if test "${enable_protocol_file+set}" = set; then
6502 enableval
="$enable_protocol_file"
6504 if test "$enableval" = yes; then
6505 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6507 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6512 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6513 if test "x$LINE" != x
; then
6514 eval "DEFAULT_$LINE"
6519 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6523 eval "$ac_cv_use_protocol_file"
6524 if test "$no_cache" != 1; then
6525 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6528 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6529 echo "$as_me:$LINENO: result: yes" >&5
6530 echo "${ECHO_T}yes" >&6
6532 echo "$as_me:$LINENO: result: no" >&5
6533 echo "${ECHO_T}no" >&6
6541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6544 # Check whether --enable-threads or --disable-threads was given.
6545 if test "${enable_threads+set}" = set; then
6546 enableval
="$enable_threads"
6548 if test "$enableval" = yes; then
6549 ac_cv_use_threads
='wxUSE_THREADS=yes'
6551 ac_cv_use_threads
='wxUSE_THREADS=no'
6556 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x
; then
6558 eval "DEFAULT_$LINE"
6563 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6567 eval "$ac_cv_use_threads"
6568 if test "$no_cache" != 1; then
6569 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6572 if test "$wxUSE_THREADS" = yes; then
6573 echo "$as_me:$LINENO: result: yes" >&5
6574 echo "${ECHO_T}yes" >&6
6576 echo "$as_me:$LINENO: result: no" >&5
6577 echo "${ECHO_T}no" >&6
6581 if test "$wxUSE_GUI" = "yes"; then
6586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6589 # Check whether --enable-docview or --disable-docview was given.
6590 if test "${enable_docview+set}" = set; then
6591 enableval
="$enable_docview"
6593 if test "$enableval" = yes; then
6594 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6596 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6601 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6602 if test "x$LINE" != x
; then
6603 eval "DEFAULT_$LINE"
6608 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6612 eval "$ac_cv_use_docview"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6617 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6618 echo "$as_me:$LINENO: result: yes" >&5
6619 echo "${ECHO_T}yes" >&6
6621 echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6
6627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6628 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6630 # Check whether --enable-help or --disable-help was given.
6631 if test "${enable_help+set}" = set; then
6632 enableval
="$enable_help"
6634 if test "$enableval" = yes; then
6635 ac_cv_use_help
='wxUSE_HELP=yes'
6637 ac_cv_use_help
='wxUSE_HELP=no'
6642 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6643 if test "x$LINE" != x
; then
6644 eval "DEFAULT_$LINE"
6649 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6653 eval "$ac_cv_use_help"
6654 if test "$no_cache" != 1; then
6655 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6658 if test "$wxUSE_HELP" = yes; then
6659 echo "$as_me:$LINENO: result: yes" >&5
6660 echo "${ECHO_T}yes" >&6
6662 echo "$as_me:$LINENO: result: no" >&5
6663 echo "${ECHO_T}no" >&6
6668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6669 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6671 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6672 if test "${enable_mshtmlhelp+set}" = set; then
6673 enableval
="$enable_mshtmlhelp"
6675 if test "$enableval" = yes; then
6676 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6678 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6683 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6684 if test "x$LINE" != x
; then
6685 eval "DEFAULT_$LINE"
6690 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6694 eval "$ac_cv_use_mshtmlhelp"
6695 if test "$no_cache" != 1; then
6696 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6699 if test "$wxUSE_MS_HTML_HELP" = yes; then
6700 echo "$as_me:$LINENO: result: yes" >&5
6701 echo "${ECHO_T}yes" >&6
6703 echo "$as_me:$LINENO: result: no" >&5
6704 echo "${ECHO_T}no" >&6
6709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6712 # Check whether --enable-html or --disable-html was given.
6713 if test "${enable_html+set}" = set; then
6714 enableval
="$enable_html"
6716 if test "$enableval" = yes; then
6717 ac_cv_use_html
='wxUSE_HTML=yes'
6719 ac_cv_use_html
='wxUSE_HTML=no'
6724 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6725 if test "x$LINE" != x
; then
6726 eval "DEFAULT_$LINE"
6731 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6735 eval "$ac_cv_use_html"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6740 if test "$wxUSE_HTML" = yes; then
6741 echo "$as_me:$LINENO: result: yes" >&5
6742 echo "${ECHO_T}yes" >&6
6744 echo "$as_me:$LINENO: result: no" >&5
6745 echo "${ECHO_T}no" >&6
6750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6751 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6753 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6754 if test "${enable_htmlhelp+set}" = set; then
6755 enableval
="$enable_htmlhelp"
6757 if test "$enableval" = yes; then
6758 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6760 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6765 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6766 if test "x$LINE" != x
; then
6767 eval "DEFAULT_$LINE"
6772 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6776 eval "$ac_cv_use_htmlhelp"
6777 if test "$no_cache" != 1; then
6778 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6781 if test "$wxUSE_WXHTML_HELP" = yes; then
6782 echo "$as_me:$LINENO: result: yes" >&5
6783 echo "${ECHO_T}yes" >&6
6785 echo "$as_me:$LINENO: result: no" >&5
6786 echo "${ECHO_T}no" >&6
6791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6792 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6794 # Check whether --enable-xrc or --disable-xrc was given.
6795 if test "${enable_xrc+set}" = set; then
6796 enableval
="$enable_xrc"
6798 if test "$enableval" = yes; then
6799 ac_cv_use_xrc
='wxUSE_XRC=yes'
6801 ac_cv_use_xrc
='wxUSE_XRC=no'
6806 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6807 if test "x$LINE" != x
; then
6808 eval "DEFAULT_$LINE"
6813 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6817 eval "$ac_cv_use_xrc"
6818 if test "$no_cache" != 1; then
6819 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6822 if test "$wxUSE_XRC" = yes; then
6823 echo "$as_me:$LINENO: result: yes" >&5
6824 echo "${ECHO_T}yes" >&6
6826 echo "$as_me:$LINENO: result: no" >&5
6827 echo "${ECHO_T}no" >&6
6832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6833 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6835 # Check whether --enable-constraints or --disable-constraints was given.
6836 if test "${enable_constraints+set}" = set; then
6837 enableval
="$enable_constraints"
6839 if test "$enableval" = yes; then
6840 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6842 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6847 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6848 if test "x$LINE" != x
; then
6849 eval "DEFAULT_$LINE"
6854 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6858 eval "$ac_cv_use_constraints"
6859 if test "$no_cache" != 1; then
6860 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6863 if test "$wxUSE_CONSTRAINTS" = yes; then
6864 echo "$as_me:$LINENO: result: yes" >&5
6865 echo "${ECHO_T}yes" >&6
6867 echo "$as_me:$LINENO: result: no" >&5
6868 echo "${ECHO_T}no" >&6
6873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6876 # Check whether --enable-printarch or --disable-printarch was given.
6877 if test "${enable_printarch+set}" = set; then
6878 enableval
="$enable_printarch"
6880 if test "$enableval" = yes; then
6881 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6883 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6888 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6889 if test "x$LINE" != x
; then
6890 eval "DEFAULT_$LINE"
6895 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6899 eval "$ac_cv_use_printarch"
6900 if test "$no_cache" != 1; then
6901 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6904 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6905 echo "$as_me:$LINENO: result: yes" >&5
6906 echo "${ECHO_T}yes" >&6
6908 echo "$as_me:$LINENO: result: no" >&5
6909 echo "${ECHO_T}no" >&6
6914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6917 # Check whether --enable-mdi or --disable-mdi was given.
6918 if test "${enable_mdi+set}" = set; then
6919 enableval
="$enable_mdi"
6921 if test "$enableval" = yes; then
6922 ac_cv_use_mdi
='wxUSE_MDI=yes'
6924 ac_cv_use_mdi
='wxUSE_MDI=no'
6929 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6930 if test "x$LINE" != x
; then
6931 eval "DEFAULT_$LINE"
6936 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6940 eval "$ac_cv_use_mdi"
6941 if test "$no_cache" != 1; then
6942 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6945 if test "$wxUSE_MDI" = yes; then
6946 echo "$as_me:$LINENO: result: yes" >&5
6947 echo "${ECHO_T}yes" >&6
6949 echo "$as_me:$LINENO: result: no" >&5
6950 echo "${ECHO_T}no" >&6
6955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6958 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6959 if test "${enable_mdidoc+set}" = set; then
6960 enableval
="$enable_mdidoc"
6962 if test "$enableval" = yes; then
6963 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6965 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6970 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6971 if test "x$LINE" != x
; then
6972 eval "DEFAULT_$LINE"
6977 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6981 eval "$ac_cv_use_mdidoc"
6982 if test "$no_cache" != 1; then
6983 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6986 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6987 echo "$as_me:$LINENO: result: yes" >&5
6988 echo "${ECHO_T}yes" >&6
6990 echo "$as_me:$LINENO: result: no" >&5
6991 echo "${ECHO_T}no" >&6
6996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6999 # Check whether --enable-loggui or --disable-loggui was given.
7000 if test "${enable_loggui+set}" = set; then
7001 enableval
="$enable_loggui"
7003 if test "$enableval" = yes; then
7004 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7006 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7011 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7012 if test "x$LINE" != x
; then
7013 eval "DEFAULT_$LINE"
7018 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7022 eval "$ac_cv_use_loggui"
7023 if test "$no_cache" != 1; then
7024 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7027 if test "$wxUSE_LOGGUI" = yes; then
7028 echo "$as_me:$LINENO: result: yes" >&5
7029 echo "${ECHO_T}yes" >&6
7031 echo "$as_me:$LINENO: result: no" >&5
7032 echo "${ECHO_T}no" >&6
7037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7040 # Check whether --enable-logwin or --disable-logwin was given.
7041 if test "${enable_logwin+set}" = set; then
7042 enableval
="$enable_logwin"
7044 if test "$enableval" = yes; then
7045 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7047 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7052 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7053 if test "x$LINE" != x
; then
7054 eval "DEFAULT_$LINE"
7059 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7063 eval "$ac_cv_use_logwin"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7068 if test "$wxUSE_LOGWINDOW" = yes; then
7069 echo "$as_me:$LINENO: result: yes" >&5
7070 echo "${ECHO_T}yes" >&6
7072 echo "$as_me:$LINENO: result: no" >&5
7073 echo "${ECHO_T}no" >&6
7078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7081 # Check whether --enable-logdialog or --disable-logdialog was given.
7082 if test "${enable_logdialog+set}" = set; then
7083 enableval
="$enable_logdialog"
7085 if test "$enableval" = yes; then
7086 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7088 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7093 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7094 if test "x$LINE" != x
; then
7095 eval "DEFAULT_$LINE"
7100 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7104 eval "$ac_cv_use_logdialog"
7105 if test "$no_cache" != 1; then
7106 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7109 if test "$wxUSE_LOGDIALOG" = yes; then
7110 echo "$as_me:$LINENO: result: yes" >&5
7111 echo "${ECHO_T}yes" >&6
7113 echo "$as_me:$LINENO: result: no" >&5
7114 echo "${ECHO_T}no" >&6
7119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7120 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7122 # Check whether --enable-webkit or --disable-webkit was given.
7123 if test "${enable_webkit+set}" = set; then
7124 enableval
="$enable_webkit"
7126 if test "$enableval" = yes; then
7127 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7129 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7134 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7135 if test "x$LINE" != x
; then
7136 eval "DEFAULT_$LINE"
7141 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7145 eval "$ac_cv_use_webkit"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7150 if test "$wxUSE_WEBKIT" = yes; then
7151 echo "$as_me:$LINENO: result: yes" >&5
7152 echo "${ECHO_T}yes" >&6
7154 echo "$as_me:$LINENO: result: no" >&5
7155 echo "${ECHO_T}no" >&6
7160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7163 # Check whether --enable-html or --disable-html was given.
7164 if test "${enable_html+set}" = set; then
7165 enableval
="$enable_html"
7167 if test "$enableval" = yes; then
7168 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7170 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7175 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7176 if test "x$LINE" != x
; then
7177 eval "DEFAULT_$LINE"
7182 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7186 eval "$ac_cv_use_html"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7191 if test "$wxUSE_RICHTEXT" = yes; then
7192 echo "$as_me:$LINENO: result: yes" >&5
7193 echo "${ECHO_T}yes" >&6
7195 echo "$as_me:$LINENO: result: no" >&5
7196 echo "${ECHO_T}no" >&6
7202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7203 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7205 # Check whether --enable-postscript or --disable-postscript was given.
7206 if test "${enable_postscript+set}" = set; then
7207 enableval
="$enable_postscript"
7209 if test "$enableval" = yes; then
7210 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7212 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7217 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7218 if test "x$LINE" != x
; then
7219 eval "DEFAULT_$LINE"
7224 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7228 eval "$ac_cv_use_postscript"
7229 if test "$no_cache" != 1; then
7230 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7233 if test "$wxUSE_POSTSCRIPT" = yes; then
7234 echo "$as_me:$LINENO: result: yes" >&5
7235 echo "${ECHO_T}yes" >&6
7237 echo "$as_me:$LINENO: result: no" >&5
7238 echo "${ECHO_T}no" >&6
7246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7247 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7249 # Check whether --enable-prologio or --disable-prologio was given.
7250 if test "${enable_prologio+set}" = set; then
7251 enableval
="$enable_prologio"
7253 if test "$enableval" = yes; then
7254 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7256 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7261 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7262 if test "x$LINE" != x
; then
7263 eval "DEFAULT_$LINE"
7268 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7272 eval "$ac_cv_use_prologio"
7273 if test "$no_cache" != 1; then
7274 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7277 if test "$wxUSE_PROLOGIO" = yes; then
7278 echo "$as_me:$LINENO: result: yes" >&5
7279 echo "${ECHO_T}yes" >&6
7281 echo "$as_me:$LINENO: result: no" >&5
7282 echo "${ECHO_T}no" >&6
7287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7288 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7290 # Check whether --enable-resources or --disable-resources was given.
7291 if test "${enable_resources+set}" = set; then
7292 enableval
="$enable_resources"
7294 if test "$enableval" = yes; then
7295 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7297 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7302 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7303 if test "x$LINE" != x
; then
7304 eval "DEFAULT_$LINE"
7309 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7313 eval "$ac_cv_use_resources"
7314 if test "$no_cache" != 1; then
7315 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7318 if test "$wxUSE_RESOURCES" = yes; then
7319 echo "$as_me:$LINENO: result: yes" >&5
7320 echo "${ECHO_T}yes" >&6
7322 echo "$as_me:$LINENO: result: no" >&5
7323 echo "${ECHO_T}no" >&6
7330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7331 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7333 # Check whether --enable-clipboard or --disable-clipboard was given.
7334 if test "${enable_clipboard+set}" = set; then
7335 enableval
="$enable_clipboard"
7337 if test "$enableval" = yes; then
7338 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7340 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7345 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7346 if test "x$LINE" != x
; then
7347 eval "DEFAULT_$LINE"
7352 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7356 eval "$ac_cv_use_clipboard"
7357 if test "$no_cache" != 1; then
7358 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7361 if test "$wxUSE_CLIPBOARD" = yes; then
7362 echo "$as_me:$LINENO: result: yes" >&5
7363 echo "${ECHO_T}yes" >&6
7365 echo "$as_me:$LINENO: result: no" >&5
7366 echo "${ECHO_T}no" >&6
7371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7372 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7374 # Check whether --enable-dnd or --disable-dnd was given.
7375 if test "${enable_dnd+set}" = set; then
7376 enableval
="$enable_dnd"
7378 if test "$enableval" = yes; then
7379 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7381 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7386 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7387 if test "x$LINE" != x
; then
7388 eval "DEFAULT_$LINE"
7393 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7397 eval "$ac_cv_use_dnd"
7398 if test "$no_cache" != 1; then
7399 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7402 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7403 echo "$as_me:$LINENO: result: yes" >&5
7404 echo "${ECHO_T}yes" >&6
7406 echo "$as_me:$LINENO: result: no" >&5
7407 echo "${ECHO_T}no" >&6
7412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7413 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7415 # Check whether --enable-metafile or --disable-metafile was given.
7416 if test "${enable_metafile+set}" = set; then
7417 enableval
="$enable_metafile"
7419 if test "$enableval" = yes; then
7420 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7422 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7427 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7428 if test "x$LINE" != x
; then
7429 eval "DEFAULT_$LINE"
7434 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7438 eval "$ac_cv_use_metafile"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7443 if test "$wxUSE_METAFILE" = 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}-controls" >&5
7457 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7459 # Check whether --enable-controls or --disable-controls was given.
7460 if test "${enable_controls+set}" = set; then
7461 enableval
="$enable_controls"
7463 if test "$enableval" = yes; then
7464 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7466 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7471 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7472 if test "x$LINE" != x
; then
7473 eval "DEFAULT_$LINE"
7478 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7482 eval "$ac_cv_use_controls"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7487 if test "$wxUSE_CONTROLS" = 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
7496 if test "$wxUSE_CONTROLS" = "yes"; then
7497 DEFAULT_wxUSE_ACCEL
=yes
7498 DEFAULT_wxUSE_BMPBUTTON
=yes
7499 DEFAULT_wxUSE_BUTTON
=yes
7500 DEFAULT_wxUSE_CALCTRL
=yes
7501 DEFAULT_wxUSE_CARET
=yes
7502 DEFAULT_wxUSE_COMBOBOX
=yes
7503 DEFAULT_wxUSE_CHECKBOX
=yes
7504 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7505 DEFAULT_wxUSE_CHOICE
=yes
7506 DEFAULT_wxUSE_CHOICEBOOK
=yes
7507 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7508 DEFAULT_wxUSE_GAUGE
=yes
7509 DEFAULT_wxUSE_GRID
=yes
7510 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7511 DEFAULT_wxUSE_IMAGLIST
=yes
7512 DEFAULT_wxUSE_LISTBOOK
=yes
7513 DEFAULT_wxUSE_LISTBOX
=yes
7514 DEFAULT_wxUSE_LISTCTRL
=yes
7515 DEFAULT_wxUSE_NOTEBOOK
=yes
7516 DEFAULT_wxUSE_RADIOBOX
=yes
7517 DEFAULT_wxUSE_RADIOBTN
=yes
7518 DEFAULT_wxUSE_SASH
=yes
7519 DEFAULT_wxUSE_SCROLLBAR
=yes
7520 DEFAULT_wxUSE_SLIDER
=yes
7521 DEFAULT_wxUSE_SPINBTN
=yes
7522 DEFAULT_wxUSE_SPINCTRL
=yes
7523 DEFAULT_wxUSE_SPLITTER
=yes
7524 DEFAULT_wxUSE_STATBMP
=yes
7525 DEFAULT_wxUSE_STATBOX
=yes
7526 DEFAULT_wxUSE_STATLINE
=yes
7527 DEFAULT_wxUSE_STATUSBAR
=yes
7528 DEFAULT_wxUSE_TAB_DIALOG
=yes
7529 DEFAULT_wxUSE_TOGGLEBTN
=yes
7530 DEFAULT_wxUSE_TOOLBAR
=yes
7531 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7532 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7533 DEFAULT_wxUSE_TOOLTIPS
=yes
7534 DEFAULT_wxUSE_TREEBOOK
=yes
7535 DEFAULT_wxUSE_TOOLBOOK
=yes
7536 DEFAULT_wxUSE_TREECTRL
=yes
7537 DEFAULT_wxUSE_POPUPWIN
=yes
7538 DEFAULT_wxUSE_TIPWINDOW
=yes
7539 elif test "$wxUSE_CONTROLS" = "no"; then
7540 DEFAULT_wxUSE_ACCEL
=no
7541 DEFAULT_wxUSE_BMPBUTTON
=no
7542 DEFAULT_wxUSE_BUTTON
=no
7543 DEFAULT_wxUSE_CALCTRL
=no
7544 DEFAULT_wxUSE_CARET
=no
7545 DEFAULT_wxUSE_COMBOBOX
=no
7546 DEFAULT_wxUSE_CHECKBOX
=no
7547 DEFAULT_wxUSE_CHECKLISTBOX
=no
7548 DEFAULT_wxUSE_CHOICE
=no
7549 DEFAULT_wxUSE_CHOICEBOOK
=no
7550 DEFAULT_wxUSE_DATEPICKCTRL
=no
7551 DEFAULT_wxUSE_GAUGE
=no
7552 DEFAULT_wxUSE_GRID
=no
7553 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7554 DEFAULT_wxUSE_IMAGLIST
=no
7555 DEFAULT_wxUSE_LISTBOOK
=no
7556 DEFAULT_wxUSE_LISTBOX
=no
7557 DEFAULT_wxUSE_LISTCTRL
=no
7558 DEFAULT_wxUSE_NOTEBOOK
=no
7559 DEFAULT_wxUSE_RADIOBOX
=no
7560 DEFAULT_wxUSE_RADIOBTN
=no
7561 DEFAULT_wxUSE_SASH
=no
7562 DEFAULT_wxUSE_SCROLLBAR
=no
7563 DEFAULT_wxUSE_SLIDER
=no
7564 DEFAULT_wxUSE_SPINBTN
=no
7565 DEFAULT_wxUSE_SPINCTRL
=no
7566 DEFAULT_wxUSE_SPLITTER
=no
7567 DEFAULT_wxUSE_STATBMP
=no
7568 DEFAULT_wxUSE_STATBOX
=no
7569 DEFAULT_wxUSE_STATLINE
=no
7570 DEFAULT_wxUSE_STATUSBAR
=no
7571 DEFAULT_wxUSE_TAB_DIALOG
=no
7572 DEFAULT_wxUSE_TOGGLEBTN
=no
7573 DEFAULT_wxUSE_TOOLBAR
=no
7574 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7575 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7576 DEFAULT_wxUSE_TOOLTIPS
=no
7577 DEFAULT_wxUSE_TREEBOOK
=no
7578 DEFAULT_wxUSE_TOOLBOOK
=no
7579 DEFAULT_wxUSE_TREECTRL
=no
7580 DEFAULT_wxUSE_POPUPWIN
=no
7581 DEFAULT_wxUSE_TIPWINDOW
=no
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7589 # Check whether --enable-accel or --disable-accel was given.
7590 if test "${enable_accel+set}" = set; then
7591 enableval
="$enable_accel"
7593 if test "$enableval" = yes; then
7594 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7596 ac_cv_use_accel
='wxUSE_ACCEL=no'
7601 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x
; then
7603 eval "DEFAULT_$LINE"
7608 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7612 eval "$ac_cv_use_accel"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7617 if test "$wxUSE_ACCEL" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7628 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7630 # Check whether --enable-button or --disable-button was given.
7631 if test "${enable_button+set}" = set; then
7632 enableval
="$enable_button"
7634 if test "$enableval" = yes; then
7635 ac_cv_use_button
='wxUSE_BUTTON=yes'
7637 ac_cv_use_button
='wxUSE_BUTTON=no'
7642 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x
; then
7644 eval "DEFAULT_$LINE"
7649 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7653 eval "$ac_cv_use_button"
7654 if test "$no_cache" != 1; then
7655 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7658 if test "$wxUSE_BUTTON" = yes; then
7659 echo "$as_me:$LINENO: result: yes" >&5
7660 echo "${ECHO_T}yes" >&6
7662 echo "$as_me:$LINENO: result: no" >&5
7663 echo "${ECHO_T}no" >&6
7668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7669 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7671 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7672 if test "${enable_bmpbutton+set}" = set; then
7673 enableval
="$enable_bmpbutton"
7675 if test "$enableval" = yes; then
7676 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7678 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7683 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7684 if test "x$LINE" != x
; then
7685 eval "DEFAULT_$LINE"
7690 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7694 eval "$ac_cv_use_bmpbutton"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7699 if test "$wxUSE_BMPBUTTON" = yes; then
7700 echo "$as_me:$LINENO: result: yes" >&5
7701 echo "${ECHO_T}yes" >&6
7703 echo "$as_me:$LINENO: result: no" >&5
7704 echo "${ECHO_T}no" >&6
7709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7712 # Check whether --enable-calendar or --disable-calendar was given.
7713 if test "${enable_calendar+set}" = set; then
7714 enableval
="$enable_calendar"
7716 if test "$enableval" = yes; then
7717 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7719 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7724 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x
; then
7726 eval "DEFAULT_$LINE"
7731 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7735 eval "$ac_cv_use_calendar"
7736 if test "$no_cache" != 1; then
7737 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7740 if test "$wxUSE_CALCTRL" = yes; then
7741 echo "$as_me:$LINENO: result: yes" >&5
7742 echo "${ECHO_T}yes" >&6
7744 echo "$as_me:$LINENO: result: no" >&5
7745 echo "${ECHO_T}no" >&6
7750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7753 # Check whether --enable-caret or --disable-caret was given.
7754 if test "${enable_caret+set}" = set; then
7755 enableval
="$enable_caret"
7757 if test "$enableval" = yes; then
7758 ac_cv_use_caret
='wxUSE_CARET=yes'
7760 ac_cv_use_caret
='wxUSE_CARET=no'
7765 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7766 if test "x$LINE" != x
; then
7767 eval "DEFAULT_$LINE"
7772 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7776 eval "$ac_cv_use_caret"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7781 if test "$wxUSE_CARET" = yes; then
7782 echo "$as_me:$LINENO: result: yes" >&5
7783 echo "${ECHO_T}yes" >&6
7785 echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6
7791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7794 # Check whether --enable-checkbox or --disable-checkbox was given.
7795 if test "${enable_checkbox+set}" = set; then
7796 enableval
="$enable_checkbox"
7798 if test "$enableval" = yes; then
7799 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7801 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7806 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7807 if test "x$LINE" != x
; then
7808 eval "DEFAULT_$LINE"
7813 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7817 eval "$ac_cv_use_checkbox"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7822 if test "$wxUSE_CHECKBOX" = yes; then
7823 echo "$as_me:$LINENO: result: yes" >&5
7824 echo "${ECHO_T}yes" >&6
7826 echo "$as_me:$LINENO: result: no" >&5
7827 echo "${ECHO_T}no" >&6
7832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7833 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7835 # Check whether --enable-checklst or --disable-checklst was given.
7836 if test "${enable_checklst+set}" = set; then
7837 enableval
="$enable_checklst"
7839 if test "$enableval" = yes; then
7840 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7842 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7847 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7848 if test "x$LINE" != x
; then
7849 eval "DEFAULT_$LINE"
7854 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7858 eval "$ac_cv_use_checklst"
7859 if test "$no_cache" != 1; then
7860 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7863 if test "$wxUSE_CHECKLST" = yes; then
7864 echo "$as_me:$LINENO: result: yes" >&5
7865 echo "${ECHO_T}yes" >&6
7867 echo "$as_me:$LINENO: result: no" >&5
7868 echo "${ECHO_T}no" >&6
7873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7876 # Check whether --enable-choice or --disable-choice was given.
7877 if test "${enable_choice+set}" = set; then
7878 enableval
="$enable_choice"
7880 if test "$enableval" = yes; then
7881 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7883 ac_cv_use_choice
='wxUSE_CHOICE=no'
7888 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7889 if test "x$LINE" != x
; then
7890 eval "DEFAULT_$LINE"
7895 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7899 eval "$ac_cv_use_choice"
7900 if test "$no_cache" != 1; then
7901 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7904 if test "$wxUSE_CHOICE" = yes; then
7905 echo "$as_me:$LINENO: result: yes" >&5
7906 echo "${ECHO_T}yes" >&6
7908 echo "$as_me:$LINENO: result: no" >&5
7909 echo "${ECHO_T}no" >&6
7914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7915 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7917 # Check whether --enable-choicebook or --disable-choicebook was given.
7918 if test "${enable_choicebook+set}" = set; then
7919 enableval
="$enable_choicebook"
7921 if test "$enableval" = yes; then
7922 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7924 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7929 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x
; then
7931 eval "DEFAULT_$LINE"
7936 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7940 eval "$ac_cv_use_choicebook"
7941 if test "$no_cache" != 1; then
7942 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7945 if test "$wxUSE_CHOICEBOOK" = yes; then
7946 echo "$as_me:$LINENO: result: yes" >&5
7947 echo "${ECHO_T}yes" >&6
7949 echo "$as_me:$LINENO: result: no" >&5
7950 echo "${ECHO_T}no" >&6
7955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7956 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7958 # Check whether --enable-combobox or --disable-combobox was given.
7959 if test "${enable_combobox+set}" = set; then
7960 enableval
="$enable_combobox"
7962 if test "$enableval" = yes; then
7963 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7965 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7970 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7971 if test "x$LINE" != x
; then
7972 eval "DEFAULT_$LINE"
7977 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7981 eval "$ac_cv_use_combobox"
7982 if test "$no_cache" != 1; then
7983 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7986 if test "$wxUSE_COMBOBOX" = yes; then
7987 echo "$as_me:$LINENO: result: yes" >&5
7988 echo "${ECHO_T}yes" >&6
7990 echo "$as_me:$LINENO: result: no" >&5
7991 echo "${ECHO_T}no" >&6
7996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7997 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7999 # Check whether --enable-datepick or --disable-datepick was given.
8000 if test "${enable_datepick+set}" = set; then
8001 enableval
="$enable_datepick"
8003 if test "$enableval" = yes; then
8004 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8006 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8011 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8012 if test "x$LINE" != x
; then
8013 eval "DEFAULT_$LINE"
8018 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8022 eval "$ac_cv_use_datepick"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8027 if test "$wxUSE_DATEPICKCTRL" = yes; then
8028 echo "$as_me:$LINENO: result: yes" >&5
8029 echo "${ECHO_T}yes" >&6
8031 echo "$as_me:$LINENO: result: no" >&5
8032 echo "${ECHO_T}no" >&6
8037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8040 # Check whether --enable-display or --disable-display was given.
8041 if test "${enable_display+set}" = set; then
8042 enableval
="$enable_display"
8044 if test "$enableval" = yes; then
8045 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8047 ac_cv_use_display
='wxUSE_DISPLAY=no'
8052 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x
; then
8054 eval "DEFAULT_$LINE"
8059 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8063 eval "$ac_cv_use_display"
8064 if test "$no_cache" != 1; then
8065 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8068 if test "$wxUSE_DISPLAY" = yes; then
8069 echo "$as_me:$LINENO: result: yes" >&5
8070 echo "${ECHO_T}yes" >&6
8072 echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6
8078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8081 # Check whether --enable-gauge or --disable-gauge was given.
8082 if test "${enable_gauge+set}" = set; then
8083 enableval
="$enable_gauge"
8085 if test "$enableval" = yes; then
8086 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8088 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8093 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8094 if test "x$LINE" != x
; then
8095 eval "DEFAULT_$LINE"
8100 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8104 eval "$ac_cv_use_gauge"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8109 if test "$wxUSE_GAUGE" = yes; then
8110 echo "$as_me:$LINENO: result: yes" >&5
8111 echo "${ECHO_T}yes" >&6
8113 echo "$as_me:$LINENO: result: no" >&5
8114 echo "${ECHO_T}no" >&6
8119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8120 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8122 # Check whether --enable-grid or --disable-grid was given.
8123 if test "${enable_grid+set}" = set; then
8124 enableval
="$enable_grid"
8126 if test "$enableval" = yes; then
8127 ac_cv_use_grid
='wxUSE_GRID=yes'
8129 ac_cv_use_grid
='wxUSE_GRID=no'
8134 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x
; then
8136 eval "DEFAULT_$LINE"
8141 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8145 eval "$ac_cv_use_grid"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8150 if test "$wxUSE_GRID" = yes; then
8151 echo "$as_me:$LINENO: result: yes" >&5
8152 echo "${ECHO_T}yes" >&6
8154 echo "$as_me:$LINENO: result: no" >&5
8155 echo "${ECHO_T}no" >&6
8160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8161 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8163 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8164 if test "${enable_dataviewctrl+set}" = set; then
8165 enableval
="$enable_dataviewctrl"
8167 if test "$enableval" = yes; then
8168 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8170 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8175 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8176 if test "x$LINE" != x
; then
8177 eval "DEFAULT_$LINE"
8182 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8186 eval "$ac_cv_use_dataviewctrl"
8187 if test "$no_cache" != 1; then
8188 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8191 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8192 echo "$as_me:$LINENO: result: yes" >&5
8193 echo "${ECHO_T}yes" >&6
8195 echo "$as_me:$LINENO: result: no" >&5
8196 echo "${ECHO_T}no" >&6
8201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8202 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8204 # Check whether --enable-imaglist or --disable-imaglist was given.
8205 if test "${enable_imaglist+set}" = set; then
8206 enableval
="$enable_imaglist"
8208 if test "$enableval" = yes; then
8209 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8211 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8216 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8217 if test "x$LINE" != x
; then
8218 eval "DEFAULT_$LINE"
8223 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8227 eval "$ac_cv_use_imaglist"
8228 if test "$no_cache" != 1; then
8229 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8232 if test "$wxUSE_IMAGLIST" = yes; then
8233 echo "$as_me:$LINENO: result: yes" >&5
8234 echo "${ECHO_T}yes" >&6
8236 echo "$as_me:$LINENO: result: no" >&5
8237 echo "${ECHO_T}no" >&6
8242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8243 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8245 # Check whether --enable-listbook or --disable-listbook was given.
8246 if test "${enable_listbook+set}" = set; then
8247 enableval
="$enable_listbook"
8249 if test "$enableval" = yes; then
8250 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
8252 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
8257 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8258 if test "x$LINE" != x
; then
8259 eval "DEFAULT_$LINE"
8264 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8268 eval "$ac_cv_use_listbook"
8269 if test "$no_cache" != 1; then
8270 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8273 if test "$wxUSE_LISTBOOK" = yes; then
8274 echo "$as_me:$LINENO: result: yes" >&5
8275 echo "${ECHO_T}yes" >&6
8277 echo "$as_me:$LINENO: result: no" >&5
8278 echo "${ECHO_T}no" >&6
8283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8286 # Check whether --enable-listbox or --disable-listbox was given.
8287 if test "${enable_listbox+set}" = set; then
8288 enableval
="$enable_listbox"
8290 if test "$enableval" = yes; then
8291 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8293 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8298 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8299 if test "x$LINE" != x
; then
8300 eval "DEFAULT_$LINE"
8305 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8309 eval "$ac_cv_use_listbox"
8310 if test "$no_cache" != 1; then
8311 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8314 if test "$wxUSE_LISTBOX" = yes; then
8315 echo "$as_me:$LINENO: result: yes" >&5
8316 echo "${ECHO_T}yes" >&6
8318 echo "$as_me:$LINENO: result: no" >&5
8319 echo "${ECHO_T}no" >&6
8324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8325 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8327 # Check whether --enable-listctrl or --disable-listctrl was given.
8328 if test "${enable_listctrl+set}" = set; then
8329 enableval
="$enable_listctrl"
8331 if test "$enableval" = yes; then
8332 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8334 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8339 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8340 if test "x$LINE" != x
; then
8341 eval "DEFAULT_$LINE"
8346 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8350 eval "$ac_cv_use_listctrl"
8351 if test "$no_cache" != 1; then
8352 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8355 if test "$wxUSE_LISTCTRL" = yes; then
8356 echo "$as_me:$LINENO: result: yes" >&5
8357 echo "${ECHO_T}yes" >&6
8359 echo "$as_me:$LINENO: result: no" >&5
8360 echo "${ECHO_T}no" >&6
8365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8366 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8368 # Check whether --enable-notebook or --disable-notebook was given.
8369 if test "${enable_notebook+set}" = set; then
8370 enableval
="$enable_notebook"
8372 if test "$enableval" = yes; then
8373 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8375 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8380 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8381 if test "x$LINE" != x
; then
8382 eval "DEFAULT_$LINE"
8387 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8391 eval "$ac_cv_use_notebook"
8392 if test "$no_cache" != 1; then
8393 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8396 if test "$wxUSE_NOTEBOOK" = yes; then
8397 echo "$as_me:$LINENO: result: yes" >&5
8398 echo "${ECHO_T}yes" >&6
8400 echo "$as_me:$LINENO: result: no" >&5
8401 echo "${ECHO_T}no" >&6
8406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8407 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8409 # Check whether --enable-radiobox or --disable-radiobox was given.
8410 if test "${enable_radiobox+set}" = set; then
8411 enableval
="$enable_radiobox"
8413 if test "$enableval" = yes; then
8414 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8416 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8421 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8422 if test "x$LINE" != x
; then
8423 eval "DEFAULT_$LINE"
8428 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8432 eval "$ac_cv_use_radiobox"
8433 if test "$no_cache" != 1; then
8434 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8437 if test "$wxUSE_RADIOBOX" = yes; then
8438 echo "$as_me:$LINENO: result: yes" >&5
8439 echo "${ECHO_T}yes" >&6
8441 echo "$as_me:$LINENO: result: no" >&5
8442 echo "${ECHO_T}no" >&6
8447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8448 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8450 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8451 if test "${enable_radiobtn+set}" = set; then
8452 enableval
="$enable_radiobtn"
8454 if test "$enableval" = yes; then
8455 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8457 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8462 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8463 if test "x$LINE" != x
; then
8464 eval "DEFAULT_$LINE"
8469 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8473 eval "$ac_cv_use_radiobtn"
8474 if test "$no_cache" != 1; then
8475 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8478 if test "$wxUSE_RADIOBTN" = yes; then
8479 echo "$as_me:$LINENO: result: yes" >&5
8480 echo "${ECHO_T}yes" >&6
8482 echo "$as_me:$LINENO: result: no" >&5
8483 echo "${ECHO_T}no" >&6
8488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8489 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8491 # Check whether --enable-sash or --disable-sash was given.
8492 if test "${enable_sash+set}" = set; then
8493 enableval
="$enable_sash"
8495 if test "$enableval" = yes; then
8496 ac_cv_use_sash
='wxUSE_SASH=yes'
8498 ac_cv_use_sash
='wxUSE_SASH=no'
8503 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8504 if test "x$LINE" != x
; then
8505 eval "DEFAULT_$LINE"
8510 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8514 eval "$ac_cv_use_sash"
8515 if test "$no_cache" != 1; then
8516 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8519 if test "$wxUSE_SASH" = yes; then
8520 echo "$as_me:$LINENO: result: yes" >&5
8521 echo "${ECHO_T}yes" >&6
8523 echo "$as_me:$LINENO: result: no" >&5
8524 echo "${ECHO_T}no" >&6
8529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8530 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8532 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8533 if test "${enable_scrollbar+set}" = set; then
8534 enableval
="$enable_scrollbar"
8536 if test "$enableval" = yes; then
8537 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8539 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8544 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8545 if test "x$LINE" != x
; then
8546 eval "DEFAULT_$LINE"
8551 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8555 eval "$ac_cv_use_scrollbar"
8556 if test "$no_cache" != 1; then
8557 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8560 if test "$wxUSE_SCROLLBAR" = yes; then
8561 echo "$as_me:$LINENO: result: yes" >&5
8562 echo "${ECHO_T}yes" >&6
8564 echo "$as_me:$LINENO: result: no" >&5
8565 echo "${ECHO_T}no" >&6
8570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8571 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8573 # Check whether --enable-slider or --disable-slider was given.
8574 if test "${enable_slider+set}" = set; then
8575 enableval
="$enable_slider"
8577 if test "$enableval" = yes; then
8578 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8580 ac_cv_use_slider
='wxUSE_SLIDER=no'
8585 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8586 if test "x$LINE" != x
; then
8587 eval "DEFAULT_$LINE"
8592 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8596 eval "$ac_cv_use_slider"
8597 if test "$no_cache" != 1; then
8598 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8601 if test "$wxUSE_SLIDER" = yes; then
8602 echo "$as_me:$LINENO: result: yes" >&5
8603 echo "${ECHO_T}yes" >&6
8605 echo "$as_me:$LINENO: result: no" >&5
8606 echo "${ECHO_T}no" >&6
8611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8612 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8614 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8615 if test "${enable_spinbtn+set}" = set; then
8616 enableval
="$enable_spinbtn"
8618 if test "$enableval" = yes; then
8619 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8621 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8626 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8627 if test "x$LINE" != x
; then
8628 eval "DEFAULT_$LINE"
8633 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8637 eval "$ac_cv_use_spinbtn"
8638 if test "$no_cache" != 1; then
8639 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8642 if test "$wxUSE_SPINBTN" = yes; then
8643 echo "$as_me:$LINENO: result: yes" >&5
8644 echo "${ECHO_T}yes" >&6
8646 echo "$as_me:$LINENO: result: no" >&5
8647 echo "${ECHO_T}no" >&6
8652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8653 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8655 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8656 if test "${enable_spinctrl+set}" = set; then
8657 enableval
="$enable_spinctrl"
8659 if test "$enableval" = yes; then
8660 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8662 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8667 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8668 if test "x$LINE" != x
; then
8669 eval "DEFAULT_$LINE"
8674 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8678 eval "$ac_cv_use_spinctrl"
8679 if test "$no_cache" != 1; then
8680 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8683 if test "$wxUSE_SPINCTRL" = yes; then
8684 echo "$as_me:$LINENO: result: yes" >&5
8685 echo "${ECHO_T}yes" >&6
8687 echo "$as_me:$LINENO: result: no" >&5
8688 echo "${ECHO_T}no" >&6
8693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8694 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8696 # Check whether --enable-splitter or --disable-splitter was given.
8697 if test "${enable_splitter+set}" = set; then
8698 enableval
="$enable_splitter"
8700 if test "$enableval" = yes; then
8701 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8703 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8708 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8709 if test "x$LINE" != x
; then
8710 eval "DEFAULT_$LINE"
8715 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8719 eval "$ac_cv_use_splitter"
8720 if test "$no_cache" != 1; then
8721 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8724 if test "$wxUSE_SPLITTER" = yes; then
8725 echo "$as_me:$LINENO: result: yes" >&5
8726 echo "${ECHO_T}yes" >&6
8728 echo "$as_me:$LINENO: result: no" >&5
8729 echo "${ECHO_T}no" >&6
8734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8735 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8737 # Check whether --enable-statbmp or --disable-statbmp was given.
8738 if test "${enable_statbmp+set}" = set; then
8739 enableval
="$enable_statbmp"
8741 if test "$enableval" = yes; then
8742 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8744 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8749 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8750 if test "x$LINE" != x
; then
8751 eval "DEFAULT_$LINE"
8756 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8760 eval "$ac_cv_use_statbmp"
8761 if test "$no_cache" != 1; then
8762 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8765 if test "$wxUSE_STATBMP" = yes; then
8766 echo "$as_me:$LINENO: result: yes" >&5
8767 echo "${ECHO_T}yes" >&6
8769 echo "$as_me:$LINENO: result: no" >&5
8770 echo "${ECHO_T}no" >&6
8775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8776 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8778 # Check whether --enable-statbox or --disable-statbox was given.
8779 if test "${enable_statbox+set}" = set; then
8780 enableval
="$enable_statbox"
8782 if test "$enableval" = yes; then
8783 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8785 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8790 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8791 if test "x$LINE" != x
; then
8792 eval "DEFAULT_$LINE"
8797 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8801 eval "$ac_cv_use_statbox"
8802 if test "$no_cache" != 1; then
8803 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8806 if test "$wxUSE_STATBOX" = yes; then
8807 echo "$as_me:$LINENO: result: yes" >&5
8808 echo "${ECHO_T}yes" >&6
8810 echo "$as_me:$LINENO: result: no" >&5
8811 echo "${ECHO_T}no" >&6
8816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8817 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8819 # Check whether --enable-statline or --disable-statline was given.
8820 if test "${enable_statline+set}" = set; then
8821 enableval
="$enable_statline"
8823 if test "$enableval" = yes; then
8824 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8826 ac_cv_use_statline
='wxUSE_STATLINE=no'
8831 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8832 if test "x$LINE" != x
; then
8833 eval "DEFAULT_$LINE"
8838 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8842 eval "$ac_cv_use_statline"
8843 if test "$no_cache" != 1; then
8844 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8847 if test "$wxUSE_STATLINE" = yes; then
8848 echo "$as_me:$LINENO: result: yes" >&5
8849 echo "${ECHO_T}yes" >&6
8851 echo "$as_me:$LINENO: result: no" >&5
8852 echo "${ECHO_T}no" >&6
8857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8858 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8860 # Check whether --enable-stattext or --disable-stattext was given.
8861 if test "${enable_stattext+set}" = set; then
8862 enableval
="$enable_stattext"
8864 if test "$enableval" = yes; then
8865 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8867 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8872 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8873 if test "x$LINE" != x
; then
8874 eval "DEFAULT_$LINE"
8879 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8883 eval "$ac_cv_use_stattext"
8884 if test "$no_cache" != 1; then
8885 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8888 if test "$wxUSE_STATTEXT" = yes; then
8889 echo "$as_me:$LINENO: result: yes" >&5
8890 echo "${ECHO_T}yes" >&6
8892 echo "$as_me:$LINENO: result: no" >&5
8893 echo "${ECHO_T}no" >&6
8898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8899 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8901 # Check whether --enable-statusbar or --disable-statusbar was given.
8902 if test "${enable_statusbar+set}" = set; then
8903 enableval
="$enable_statusbar"
8905 if test "$enableval" = yes; then
8906 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8908 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8913 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8914 if test "x$LINE" != x
; then
8915 eval "DEFAULT_$LINE"
8920 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8924 eval "$ac_cv_use_statusbar"
8925 if test "$no_cache" != 1; then
8926 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8929 if test "$wxUSE_STATUSBAR" = yes; then
8930 echo "$as_me:$LINENO: result: yes" >&5
8931 echo "${ECHO_T}yes" >&6
8933 echo "$as_me:$LINENO: result: no" >&5
8934 echo "${ECHO_T}no" >&6
8939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8940 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8942 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8943 if test "${enable_tabdialog+set}" = set; then
8944 enableval
="$enable_tabdialog"
8946 if test "$enableval" = yes; then
8947 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
8949 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
8954 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
8955 if test "x$LINE" != x
; then
8956 eval "DEFAULT_$LINE"
8961 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
8965 eval "$ac_cv_use_tabdialog"
8966 if test "$no_cache" != 1; then
8967 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8970 if test "$wxUSE_TAB_DIALOG" = yes; then
8971 echo "$as_me:$LINENO: result: yes" >&5
8972 echo "${ECHO_T}yes" >&6
8974 echo "$as_me:$LINENO: result: no" >&5
8975 echo "${ECHO_T}no" >&6
8980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8983 # Check whether --enable-textctrl or --disable-textctrl was given.
8984 if test "${enable_textctrl+set}" = set; then
8985 enableval
="$enable_textctrl"
8987 if test "$enableval" = yes; then
8988 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8990 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8995 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8996 if test "x$LINE" != x
; then
8997 eval "DEFAULT_$LINE"
9002 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9006 eval "$ac_cv_use_textctrl"
9007 if test "$no_cache" != 1; then
9008 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9011 if test "$wxUSE_TEXTCTRL" = yes; then
9012 echo "$as_me:$LINENO: result: yes" >&5
9013 echo "${ECHO_T}yes" >&6
9015 echo "$as_me:$LINENO: result: no" >&5
9016 echo "${ECHO_T}no" >&6
9021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9024 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9025 if test "${enable_togglebtn+set}" = set; then
9026 enableval
="$enable_togglebtn"
9028 if test "$enableval" = yes; then
9029 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9031 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9036 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9037 if test "x$LINE" != x
; then
9038 eval "DEFAULT_$LINE"
9043 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9047 eval "$ac_cv_use_togglebtn"
9048 if test "$no_cache" != 1; then
9049 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9052 if test "$wxUSE_TOGGLEBTN" = yes; then
9053 echo "$as_me:$LINENO: result: yes" >&5
9054 echo "${ECHO_T}yes" >&6
9056 echo "$as_me:$LINENO: result: no" >&5
9057 echo "${ECHO_T}no" >&6
9062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9063 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9065 # Check whether --enable-toolbar or --disable-toolbar was given.
9066 if test "${enable_toolbar+set}" = set; then
9067 enableval
="$enable_toolbar"
9069 if test "$enableval" = yes; then
9070 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9072 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9077 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9078 if test "x$LINE" != x
; then
9079 eval "DEFAULT_$LINE"
9084 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9088 eval "$ac_cv_use_toolbar"
9089 if test "$no_cache" != 1; then
9090 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9093 if test "$wxUSE_TOOLBAR" = yes; then
9094 echo "$as_me:$LINENO: result: yes" >&5
9095 echo "${ECHO_T}yes" >&6
9097 echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6
9103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9106 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9107 if test "${enable_tbarnative+set}" = set; then
9108 enableval
="$enable_tbarnative"
9110 if test "$enableval" = yes; then
9111 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9113 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9118 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9119 if test "x$LINE" != x
; then
9120 eval "DEFAULT_$LINE"
9125 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9129 eval "$ac_cv_use_tbarnative"
9130 if test "$no_cache" != 1; then
9131 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9134 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9135 echo "$as_me:$LINENO: result: yes" >&5
9136 echo "${ECHO_T}yes" >&6
9138 echo "$as_me:$LINENO: result: no" >&5
9139 echo "${ECHO_T}no" >&6
9144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9147 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9148 if test "${enable_tbarsmpl+set}" = set; then
9149 enableval
="$enable_tbarsmpl"
9151 if test "$enableval" = yes; then
9152 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
9154 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
9159 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9160 if test "x$LINE" != x
; then
9161 eval "DEFAULT_$LINE"
9166 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9170 eval "$ac_cv_use_tbarsmpl"
9171 if test "$no_cache" != 1; then
9172 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9175 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9176 echo "$as_me:$LINENO: result: yes" >&5
9177 echo "${ECHO_T}yes" >&6
9179 echo "$as_me:$LINENO: result: no" >&5
9180 echo "${ECHO_T}no" >&6
9185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9186 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9188 # Check whether --enable-treebook or --disable-treebook was given.
9189 if test "${enable_treebook+set}" = set; then
9190 enableval
="$enable_treebook"
9192 if test "$enableval" = yes; then
9193 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9195 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9200 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9201 if test "x$LINE" != x
; then
9202 eval "DEFAULT_$LINE"
9207 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9211 eval "$ac_cv_use_treebook"
9212 if test "$no_cache" != 1; then
9213 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9216 if test "$wxUSE_TREEBOOK" = yes; then
9217 echo "$as_me:$LINENO: result: yes" >&5
9218 echo "${ECHO_T}yes" >&6
9220 echo "$as_me:$LINENO: result: no" >&5
9221 echo "${ECHO_T}no" >&6
9226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9227 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9229 # Check whether --enable-toolbook or --disable-toolbook was given.
9230 if test "${enable_toolbook+set}" = set; then
9231 enableval
="$enable_toolbook"
9233 if test "$enableval" = yes; then
9234 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9236 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
9241 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9242 if test "x$LINE" != x
; then
9243 eval "DEFAULT_$LINE"
9248 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9252 eval "$ac_cv_use_toolbook"
9253 if test "$no_cache" != 1; then
9254 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9257 if test "$wxUSE_TOOLBOOK" = yes; then
9258 echo "$as_me:$LINENO: result: yes" >&5
9259 echo "${ECHO_T}yes" >&6
9261 echo "$as_me:$LINENO: result: no" >&5
9262 echo "${ECHO_T}no" >&6
9267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9268 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9270 # Check whether --enable-treectrl or --disable-treectrl was given.
9271 if test "${enable_treectrl+set}" = set; then
9272 enableval
="$enable_treectrl"
9274 if test "$enableval" = yes; then
9275 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
9277 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
9282 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9283 if test "x$LINE" != x
; then
9284 eval "DEFAULT_$LINE"
9289 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9293 eval "$ac_cv_use_treectrl"
9294 if test "$no_cache" != 1; then
9295 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9298 if test "$wxUSE_TREECTRL" = yes; then
9299 echo "$as_me:$LINENO: result: yes" >&5
9300 echo "${ECHO_T}yes" >&6
9302 echo "$as_me:$LINENO: result: no" >&5
9303 echo "${ECHO_T}no" >&6
9308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9309 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9311 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9312 if test "${enable_tipwindow+set}" = set; then
9313 enableval
="$enable_tipwindow"
9315 if test "$enableval" = yes; then
9316 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
9318 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
9323 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9324 if test "x$LINE" != x
; then
9325 eval "DEFAULT_$LINE"
9330 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9334 eval "$ac_cv_use_tipwindow"
9335 if test "$no_cache" != 1; then
9336 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9339 if test "$wxUSE_TIPWINDOW" = yes; then
9340 echo "$as_me:$LINENO: result: yes" >&5
9341 echo "${ECHO_T}yes" >&6
9343 echo "$as_me:$LINENO: result: no" >&5
9344 echo "${ECHO_T}no" >&6
9349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9350 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9352 # Check whether --enable-popupwin or --disable-popupwin was given.
9353 if test "${enable_popupwin+set}" = set; then
9354 enableval
="$enable_popupwin"
9356 if test "$enableval" = yes; then
9357 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
9359 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
9364 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9365 if test "x$LINE" != x
; then
9366 eval "DEFAULT_$LINE"
9371 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9375 eval "$ac_cv_use_popupwin"
9376 if test "$no_cache" != 1; then
9377 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9380 if test "$wxUSE_POPUPWIN" = yes; then
9381 echo "$as_me:$LINENO: result: yes" >&5
9382 echo "${ECHO_T}yes" >&6
9384 echo "$as_me:$LINENO: result: no" >&5
9385 echo "${ECHO_T}no" >&6
9392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9393 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9395 # Check whether --enable-commondlg or --disable-commondlg was given.
9396 if test "${enable_commondlg+set}" = set; then
9397 enableval
="$enable_commondlg"
9399 if test "$enableval" = yes; then
9400 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9402 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9407 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9408 if test "x$LINE" != x
; then
9409 eval "DEFAULT_$LINE"
9414 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9418 eval "$ac_cv_use_commondlg"
9419 if test "$no_cache" != 1; then
9420 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9423 if test "$wxUSE_COMMONDLGS" = yes; then
9424 echo "$as_me:$LINENO: result: yes" >&5
9425 echo "${ECHO_T}yes" >&6
9427 echo "$as_me:$LINENO: result: no" >&5
9428 echo "${ECHO_T}no" >&6
9433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9436 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9437 if test "${enable_choicedlg+set}" = set; then
9438 enableval
="$enable_choicedlg"
9440 if test "$enableval" = yes; then
9441 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9443 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9448 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9449 if test "x$LINE" != x
; then
9450 eval "DEFAULT_$LINE"
9455 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9459 eval "$ac_cv_use_choicedlg"
9460 if test "$no_cache" != 1; then
9461 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9464 if test "$wxUSE_CHOICEDLG" = yes; then
9465 echo "$as_me:$LINENO: result: yes" >&5
9466 echo "${ECHO_T}yes" >&6
9468 echo "$as_me:$LINENO: result: no" >&5
9469 echo "${ECHO_T}no" >&6
9474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9475 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9477 # Check whether --enable-coldlg or --disable-coldlg was given.
9478 if test "${enable_coldlg+set}" = set; then
9479 enableval
="$enable_coldlg"
9481 if test "$enableval" = yes; then
9482 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9484 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9489 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9490 if test "x$LINE" != x
; then
9491 eval "DEFAULT_$LINE"
9496 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9500 eval "$ac_cv_use_coldlg"
9501 if test "$no_cache" != 1; then
9502 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9505 if test "$wxUSE_COLOURDLG" = yes; then
9506 echo "$as_me:$LINENO: result: yes" >&5
9507 echo "${ECHO_T}yes" >&6
9509 echo "$as_me:$LINENO: result: no" >&5
9510 echo "${ECHO_T}no" >&6
9515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9516 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9518 # Check whether --enable-filedlg or --disable-filedlg was given.
9519 if test "${enable_filedlg+set}" = set; then
9520 enableval
="$enable_filedlg"
9522 if test "$enableval" = yes; then
9523 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9525 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9530 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9531 if test "x$LINE" != x
; then
9532 eval "DEFAULT_$LINE"
9537 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9541 eval "$ac_cv_use_filedlg"
9542 if test "$no_cache" != 1; then
9543 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9546 if test "$wxUSE_FILEDLG" = yes; then
9547 echo "$as_me:$LINENO: result: yes" >&5
9548 echo "${ECHO_T}yes" >&6
9550 echo "$as_me:$LINENO: result: no" >&5
9551 echo "${ECHO_T}no" >&6
9556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9557 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9559 # Check whether --enable-finddlg or --disable-finddlg was given.
9560 if test "${enable_finddlg+set}" = set; then
9561 enableval
="$enable_finddlg"
9563 if test "$enableval" = yes; then
9564 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9566 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9571 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9572 if test "x$LINE" != x
; then
9573 eval "DEFAULT_$LINE"
9578 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9582 eval "$ac_cv_use_finddlg"
9583 if test "$no_cache" != 1; then
9584 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9587 if test "$wxUSE_FINDREPLDLG" = yes; then
9588 echo "$as_me:$LINENO: result: yes" >&5
9589 echo "${ECHO_T}yes" >&6
9591 echo "$as_me:$LINENO: result: no" >&5
9592 echo "${ECHO_T}no" >&6
9597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9600 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9601 if test "${enable_fontdlg+set}" = set; then
9602 enableval
="$enable_fontdlg"
9604 if test "$enableval" = yes; then
9605 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9607 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9612 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9613 if test "x$LINE" != x
; then
9614 eval "DEFAULT_$LINE"
9619 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9623 eval "$ac_cv_use_fontdlg"
9624 if test "$no_cache" != 1; then
9625 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9628 if test "$wxUSE_FONTDLG" = yes; then
9629 echo "$as_me:$LINENO: result: yes" >&5
9630 echo "${ECHO_T}yes" >&6
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9641 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9642 if test "${enable_dirdlg+set}" = set; then
9643 enableval
="$enable_dirdlg"
9645 if test "$enableval" = yes; then
9646 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9648 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9653 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9654 if test "x$LINE" != x
; then
9655 eval "DEFAULT_$LINE"
9660 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9664 eval "$ac_cv_use_dirdlg"
9665 if test "$no_cache" != 1; then
9666 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9669 if test "$wxUSE_DIRDLG" = yes; then
9670 echo "$as_me:$LINENO: result: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9673 echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6
9679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9682 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9683 if test "${enable_msgdlg+set}" = set; then
9684 enableval
="$enable_msgdlg"
9686 if test "$enableval" = yes; then
9687 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9689 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9694 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9695 if test "x$LINE" != x
; then
9696 eval "DEFAULT_$LINE"
9701 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9705 eval "$ac_cv_use_msgdlg"
9706 if test "$no_cache" != 1; then
9707 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9710 if test "$wxUSE_MSGDLG" = yes; then
9711 echo "$as_me:$LINENO: result: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9714 echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6
9720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9723 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9724 if test "${enable_numberdlg+set}" = set; then
9725 enableval
="$enable_numberdlg"
9727 if test "$enableval" = yes; then
9728 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9730 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9735 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9736 if test "x$LINE" != x
; then
9737 eval "DEFAULT_$LINE"
9742 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9746 eval "$ac_cv_use_numberdlg"
9747 if test "$no_cache" != 1; then
9748 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9751 if test "$wxUSE_NUMBERDLG" = yes; then
9752 echo "$as_me:$LINENO: result: yes" >&5
9753 echo "${ECHO_T}yes" >&6
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9764 # Check whether --enable-splash or --disable-splash was given.
9765 if test "${enable_splash+set}" = set; then
9766 enableval
="$enable_splash"
9768 if test "$enableval" = yes; then
9769 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9771 ac_cv_use_splash
='wxUSE_SPLASH=no'
9776 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x
; then
9778 eval "DEFAULT_$LINE"
9783 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9787 eval "$ac_cv_use_splash"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9792 if test "$wxUSE_SPLASH" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9805 # Check whether --enable-textdlg or --disable-textdlg was given.
9806 if test "${enable_textdlg+set}" = set; then
9807 enableval
="$enable_textdlg"
9809 if test "$enableval" = yes; then
9810 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9812 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9817 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x
; then
9819 eval "DEFAULT_$LINE"
9824 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9828 eval "$ac_cv_use_textdlg"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9833 if test "$wxUSE_TEXTDLG" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9846 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9847 if test "${enable_tipdlg+set}" = set; then
9848 enableval
="$enable_tipdlg"
9850 if test "$enableval" = yes; then
9851 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9853 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9858 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9859 if test "x$LINE" != x
; then
9860 eval "DEFAULT_$LINE"
9865 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9869 eval "$ac_cv_use_tipdlg"
9870 if test "$no_cache" != 1; then
9871 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9874 if test "$wxUSE_STARTUP_TIPS" = yes; then
9875 echo "$as_me:$LINENO: result: yes" >&5
9876 echo "${ECHO_T}yes" >&6
9878 echo "$as_me:$LINENO: result: no" >&5
9879 echo "${ECHO_T}no" >&6
9884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9885 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9887 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9888 if test "${enable_progressdlg+set}" = set; then
9889 enableval
="$enable_progressdlg"
9891 if test "$enableval" = yes; then
9892 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9894 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9899 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x
; then
9901 eval "DEFAULT_$LINE"
9906 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9910 eval "$ac_cv_use_progressdlg"
9911 if test "$no_cache" != 1; then
9912 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9915 if test "$wxUSE_PROGRESSDLG" = yes; then
9916 echo "$as_me:$LINENO: result: yes" >&5
9917 echo "${ECHO_T}yes" >&6
9919 echo "$as_me:$LINENO: result: no" >&5
9920 echo "${ECHO_T}no" >&6
9925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9926 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9928 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9929 if test "${enable_wizarddlg+set}" = set; then
9930 enableval
="$enable_wizarddlg"
9932 if test "$enableval" = yes; then
9933 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9935 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9940 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9941 if test "x$LINE" != x
; then
9942 eval "DEFAULT_$LINE"
9947 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9951 eval "$ac_cv_use_wizarddlg"
9952 if test "$no_cache" != 1; then
9953 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9956 if test "$wxUSE_WIZARDDLG" = yes; then
9957 echo "$as_me:$LINENO: result: yes" >&5
9958 echo "${ECHO_T}yes" >&6
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9969 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9971 # Check whether --enable-menus or --disable-menus was given.
9972 if test "${enable_menus+set}" = set; then
9973 enableval
="$enable_menus"
9975 if test "$enableval" = yes; then
9976 ac_cv_use_menus
='wxUSE_MENUS=yes'
9978 ac_cv_use_menus
='wxUSE_MENUS=no'
9983 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9984 if test "x$LINE" != x
; then
9985 eval "DEFAULT_$LINE"
9990 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9994 eval "$ac_cv_use_menus"
9995 if test "$no_cache" != 1; then
9996 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9999 if test "$wxUSE_MENUS" = yes; then
10000 echo "$as_me:$LINENO: result: yes" >&5
10001 echo "${ECHO_T}yes" >&6
10003 echo "$as_me:$LINENO: result: no" >&5
10004 echo "${ECHO_T}no" >&6
10009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10010 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10012 # Check whether --enable-miniframe or --disable-miniframe was given.
10013 if test "${enable_miniframe+set}" = set; then
10014 enableval
="$enable_miniframe"
10016 if test "$enableval" = yes; then
10017 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10019 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10024 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10025 if test "x$LINE" != x
; then
10026 eval "DEFAULT_$LINE"
10031 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10035 eval "$ac_cv_use_miniframe"
10036 if test "$no_cache" != 1; then
10037 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10040 if test "$wxUSE_MINIFRAME" = yes; then
10041 echo "$as_me:$LINENO: result: yes" >&5
10042 echo "${ECHO_T}yes" >&6
10044 echo "$as_me:$LINENO: result: no" >&5
10045 echo "${ECHO_T}no" >&6
10050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10053 # Check whether --enable-tooltips or --disable-tooltips was given.
10054 if test "${enable_tooltips+set}" = set; then
10055 enableval
="$enable_tooltips"
10057 if test "$enableval" = yes; then
10058 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10060 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10065 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10066 if test "x$LINE" != x
; then
10067 eval "DEFAULT_$LINE"
10072 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10076 eval "$ac_cv_use_tooltips"
10077 if test "$no_cache" != 1; then
10078 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10081 if test "$wxUSE_TOOLTIPS" = yes; then
10082 echo "$as_me:$LINENO: result: yes" >&5
10083 echo "${ECHO_T}yes" >&6
10085 echo "$as_me:$LINENO: result: no" >&5
10086 echo "${ECHO_T}no" >&6
10091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10092 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10094 # Check whether --enable-splines or --disable-splines was given.
10095 if test "${enable_splines+set}" = set; then
10096 enableval
="$enable_splines"
10098 if test "$enableval" = yes; then
10099 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10101 ac_cv_use_splines
='wxUSE_SPLINES=no'
10106 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10107 if test "x$LINE" != x
; then
10108 eval "DEFAULT_$LINE"
10113 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10117 eval "$ac_cv_use_splines"
10118 if test "$no_cache" != 1; then
10119 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10122 if test "$wxUSE_SPLINES" = yes; then
10123 echo "$as_me:$LINENO: result: yes" >&5
10124 echo "${ECHO_T}yes" >&6
10126 echo "$as_me:$LINENO: result: no" >&5
10127 echo "${ECHO_T}no" >&6
10132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10133 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10135 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10136 if test "${enable_mousewheel+set}" = set; then
10137 enableval
="$enable_mousewheel"
10139 if test "$enableval" = yes; then
10140 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10142 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10147 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10148 if test "x$LINE" != x
; then
10149 eval "DEFAULT_$LINE"
10154 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10158 eval "$ac_cv_use_mousewheel"
10159 if test "$no_cache" != 1; then
10160 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10163 if test "$wxUSE_MOUSEWHEEL" = yes; then
10164 echo "$as_me:$LINENO: result: yes" >&5
10165 echo "${ECHO_T}yes" >&6
10167 echo "$as_me:$LINENO: result: no" >&5
10168 echo "${ECHO_T}no" >&6
10173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10174 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10176 # Check whether --enable-validators or --disable-validators was given.
10177 if test "${enable_validators+set}" = set; then
10178 enableval
="$enable_validators"
10180 if test "$enableval" = yes; then
10181 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10183 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10188 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10189 if test "x$LINE" != x
; then
10190 eval "DEFAULT_$LINE"
10195 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10199 eval "$ac_cv_use_validators"
10200 if test "$no_cache" != 1; then
10201 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10204 if test "$wxUSE_VALIDATORS" = yes; then
10205 echo "$as_me:$LINENO: result: yes" >&5
10206 echo "${ECHO_T}yes" >&6
10208 echo "$as_me:$LINENO: result: no" >&5
10209 echo "${ECHO_T}no" >&6
10214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10215 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10217 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10218 if test "${enable_busyinfo+set}" = set; then
10219 enableval
="$enable_busyinfo"
10221 if test "$enableval" = yes; then
10222 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
10224 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
10229 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10230 if test "x$LINE" != x
; then
10231 eval "DEFAULT_$LINE"
10236 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10240 eval "$ac_cv_use_busyinfo"
10241 if test "$no_cache" != 1; then
10242 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10245 if test "$wxUSE_BUSYINFO" = yes; then
10246 echo "$as_me:$LINENO: result: yes" >&5
10247 echo "${ECHO_T}yes" >&6
10249 echo "$as_me:$LINENO: result: no" >&5
10250 echo "${ECHO_T}no" >&6
10255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10256 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10258 # Check whether --enable-joystick or --disable-joystick was given.
10259 if test "${enable_joystick+set}" = set; then
10260 enableval
="$enable_joystick"
10262 if test "$enableval" = yes; then
10263 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
10265 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
10270 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10271 if test "x$LINE" != x
; then
10272 eval "DEFAULT_$LINE"
10277 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10281 eval "$ac_cv_use_joystick"
10282 if test "$no_cache" != 1; then
10283 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10286 if test "$wxUSE_JOYSTICK" = yes; then
10287 echo "$as_me:$LINENO: result: yes" >&5
10288 echo "${ECHO_T}yes" >&6
10290 echo "$as_me:$LINENO: result: no" >&5
10291 echo "${ECHO_T}no" >&6
10296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10297 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10299 # Check whether --enable-metafile or --disable-metafile was given.
10300 if test "${enable_metafile+set}" = set; then
10301 enableval
="$enable_metafile"
10303 if test "$enableval" = yes; then
10304 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
10306 ac_cv_use_metafile
='wxUSE_METAFILE=no'
10311 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10312 if test "x$LINE" != x
; then
10313 eval "DEFAULT_$LINE"
10318 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10322 eval "$ac_cv_use_metafile"
10323 if test "$no_cache" != 1; then
10324 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10327 if test "$wxUSE_METAFILE" = yes; then
10328 echo "$as_me:$LINENO: result: yes" >&5
10329 echo "${ECHO_T}yes" >&6
10331 echo "$as_me:$LINENO: result: no" >&5
10332 echo "${ECHO_T}no" >&6
10337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10338 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10340 # Check whether --enable-dragimage or --disable-dragimage was given.
10341 if test "${enable_dragimage+set}" = set; then
10342 enableval
="$enable_dragimage"
10344 if test "$enableval" = yes; then
10345 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
10347 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
10352 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10353 if test "x$LINE" != x
; then
10354 eval "DEFAULT_$LINE"
10359 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10363 eval "$ac_cv_use_dragimage"
10364 if test "$no_cache" != 1; then
10365 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10368 if test "$wxUSE_DRAGIMAGE" = yes; then
10369 echo "$as_me:$LINENO: result: yes" >&5
10370 echo "${ECHO_T}yes" >&6
10372 echo "$as_me:$LINENO: result: no" >&5
10373 echo "${ECHO_T}no" >&6
10378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10379 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10381 # Check whether --enable-accessibility or --disable-accessibility was given.
10382 if test "${enable_accessibility+set}" = set; then
10383 enableval
="$enable_accessibility"
10385 if test "$enableval" = yes; then
10386 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10388 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10393 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10394 if test "x$LINE" != x
; then
10395 eval "DEFAULT_$LINE"
10400 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10404 eval "$ac_cv_use_accessibility"
10405 if test "$no_cache" != 1; then
10406 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10409 if test "$wxUSE_ACCESSIBILITY" = yes; then
10410 echo "$as_me:$LINENO: result: yes" >&5
10411 echo "${ECHO_T}yes" >&6
10413 echo "$as_me:$LINENO: result: no" >&5
10414 echo "${ECHO_T}no" >&6
10418 if test "$wxUSE_MSW" = "1"; then
10421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10422 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10424 # Check whether --enable-dccache or --disable-dccache was given.
10425 if test "${enable_dccache+set}" = set; then
10426 enableval
="$enable_dccache"
10428 if test "$enableval" = yes; then
10429 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10431 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10436 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10437 if test "x$LINE" != x
; then
10438 eval "DEFAULT_$LINE"
10443 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10447 eval "$ac_cv_use_dccache"
10448 if test "$no_cache" != 1; then
10449 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10452 if test "$wxUSE_DC_CACHEING" = yes; then
10453 echo "$as_me:$LINENO: result: yes" >&5
10454 echo "${ECHO_T}yes" >&6
10456 echo "$as_me:$LINENO: result: no" >&5
10457 echo "${ECHO_T}no" >&6
10465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10466 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10468 # Check whether --enable-palette or --disable-palette was given.
10469 if test "${enable_palette+set}" = set; then
10470 enableval
="$enable_palette"
10472 if test "$enableval" = yes; then
10473 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10475 ac_cv_use_palette
='wxUSE_PALETTE=no'
10480 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10481 if test "x$LINE" != x
; then
10482 eval "DEFAULT_$LINE"
10487 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10491 eval "$ac_cv_use_palette"
10492 if test "$no_cache" != 1; then
10493 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10496 if test "$wxUSE_PALETTE" = yes; then
10497 echo "$as_me:$LINENO: result: yes" >&5
10498 echo "${ECHO_T}yes" >&6
10500 echo "$as_me:$LINENO: result: no" >&5
10501 echo "${ECHO_T}no" >&6
10506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10507 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10509 # Check whether --enable-image or --disable-image was given.
10510 if test "${enable_image+set}" = set; then
10511 enableval
="$enable_image"
10513 if test "$enableval" = yes; then
10514 ac_cv_use_image
='wxUSE_IMAGE=yes'
10516 ac_cv_use_image
='wxUSE_IMAGE=no'
10521 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10522 if test "x$LINE" != x
; then
10523 eval "DEFAULT_$LINE"
10528 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10532 eval "$ac_cv_use_image"
10533 if test "$no_cache" != 1; then
10534 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10537 if test "$wxUSE_IMAGE" = yes; then
10538 echo "$as_me:$LINENO: result: yes" >&5
10539 echo "${ECHO_T}yes" >&6
10541 echo "$as_me:$LINENO: result: no" >&5
10542 echo "${ECHO_T}no" >&6
10547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10550 # Check whether --enable-gif or --disable-gif was given.
10551 if test "${enable_gif+set}" = set; then
10552 enableval
="$enable_gif"
10554 if test "$enableval" = yes; then
10555 ac_cv_use_gif
='wxUSE_GIF=yes'
10557 ac_cv_use_gif
='wxUSE_GIF=no'
10562 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10563 if test "x$LINE" != x
; then
10564 eval "DEFAULT_$LINE"
10569 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10573 eval "$ac_cv_use_gif"
10574 if test "$no_cache" != 1; then
10575 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10578 if test "$wxUSE_GIF" = yes; then
10579 echo "$as_me:$LINENO: result: yes" >&5
10580 echo "${ECHO_T}yes" >&6
10582 echo "$as_me:$LINENO: result: no" >&5
10583 echo "${ECHO_T}no" >&6
10588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10589 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10591 # Check whether --enable-pcx or --disable-pcx was given.
10592 if test "${enable_pcx+set}" = set; then
10593 enableval
="$enable_pcx"
10595 if test "$enableval" = yes; then
10596 ac_cv_use_pcx
='wxUSE_PCX=yes'
10598 ac_cv_use_pcx
='wxUSE_PCX=no'
10603 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10604 if test "x$LINE" != x
; then
10605 eval "DEFAULT_$LINE"
10610 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10614 eval "$ac_cv_use_pcx"
10615 if test "$no_cache" != 1; then
10616 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10619 if test "$wxUSE_PCX" = yes; then
10620 echo "$as_me:$LINENO: result: yes" >&5
10621 echo "${ECHO_T}yes" >&6
10623 echo "$as_me:$LINENO: result: no" >&5
10624 echo "${ECHO_T}no" >&6
10629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10630 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10632 # Check whether --enable-iff or --disable-iff was given.
10633 if test "${enable_iff+set}" = set; then
10634 enableval
="$enable_iff"
10636 if test "$enableval" = yes; then
10637 ac_cv_use_iff
='wxUSE_IFF=yes'
10639 ac_cv_use_iff
='wxUSE_IFF=no'
10644 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10645 if test "x$LINE" != x
; then
10646 eval "DEFAULT_$LINE"
10651 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10655 eval "$ac_cv_use_iff"
10656 if test "$no_cache" != 1; then
10657 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10660 if test "$wxUSE_IFF" = yes; then
10661 echo "$as_me:$LINENO: result: yes" >&5
10662 echo "${ECHO_T}yes" >&6
10664 echo "$as_me:$LINENO: result: no" >&5
10665 echo "${ECHO_T}no" >&6
10670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10671 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10673 # Check whether --enable-pnm or --disable-pnm was given.
10674 if test "${enable_pnm+set}" = set; then
10675 enableval
="$enable_pnm"
10677 if test "$enableval" = yes; then
10678 ac_cv_use_pnm
='wxUSE_PNM=yes'
10680 ac_cv_use_pnm
='wxUSE_PNM=no'
10685 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10686 if test "x$LINE" != x
; then
10687 eval "DEFAULT_$LINE"
10692 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10696 eval "$ac_cv_use_pnm"
10697 if test "$no_cache" != 1; then
10698 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10701 if test "$wxUSE_PNM" = yes; then
10702 echo "$as_me:$LINENO: result: yes" >&5
10703 echo "${ECHO_T}yes" >&6
10705 echo "$as_me:$LINENO: result: no" >&5
10706 echo "${ECHO_T}no" >&6
10711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10712 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10714 # Check whether --enable-xpm or --disable-xpm was given.
10715 if test "${enable_xpm+set}" = set; then
10716 enableval
="$enable_xpm"
10718 if test "$enableval" = yes; then
10719 ac_cv_use_xpm
='wxUSE_XPM=yes'
10721 ac_cv_use_xpm
='wxUSE_XPM=no'
10726 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10727 if test "x$LINE" != x
; then
10728 eval "DEFAULT_$LINE"
10733 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10737 eval "$ac_cv_use_xpm"
10738 if test "$no_cache" != 1; then
10739 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10742 if test "$wxUSE_XPM" = yes; then
10743 echo "$as_me:$LINENO: result: yes" >&5
10744 echo "${ECHO_T}yes" >&6
10746 echo "$as_me:$LINENO: result: no" >&5
10747 echo "${ECHO_T}no" >&6
10752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10753 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10755 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10756 if test "${enable_ico_cur+set}" = set; then
10757 enableval
="$enable_ico_cur"
10759 if test "$enableval" = yes; then
10760 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10762 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10767 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10768 if test "x$LINE" != x
; then
10769 eval "DEFAULT_$LINE"
10774 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10778 eval "$ac_cv_use_ico_cur"
10779 if test "$no_cache" != 1; then
10780 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10783 if test "$wxUSE_ICO_CUR" = yes; then
10784 echo "$as_me:$LINENO: result: yes" >&5
10785 echo "${ECHO_T}yes" >&6
10787 echo "$as_me:$LINENO: result: no" >&5
10788 echo "${ECHO_T}no" >&6
10796 # Check whether --with-flavour or --without-flavour was given.
10797 if test "${with_flavour+set}" = set; then
10798 withval
="$with_flavour"
10799 WX_FLAVOUR
="$withval"
10805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10806 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10808 # Check whether --enable-official_build or --disable-official_build was given.
10809 if test "${enable_official_build+set}" = set; then
10810 enableval
="$enable_official_build"
10812 if test "$enableval" = yes; then
10813 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10815 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10820 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10821 if test "x$LINE" != x
; then
10822 eval "DEFAULT_$LINE"
10827 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10831 eval "$ac_cv_use_official_build"
10832 if test "$no_cache" != 1; then
10833 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10836 if test "$wxUSE_OFFICIAL_BUILD" = 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
10844 # Check whether --enable-vendor or --disable-vendor was given.
10845 if test "${enable_vendor+set}" = set; then
10846 enableval
="$enable_vendor"
10847 VENDOR
="$enableval"
10849 if test "x$VENDOR" = "x"; then
10856 echo "saving argument cache $wx_arg_cache_file"
10857 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10861 echo "$as_me:$LINENO: checking for toolkit" >&5
10862 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10864 # In Wine, we need to default to MSW, not GTK or MOTIF
10865 if test "$wxUSE_WINE" = "yes"; then
10866 DEFAULT_DEFAULT_wxUSE_GTK
=0
10867 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10868 DEFAULT_DEFAULT_wxUSE_MSW
=1
10873 if test "$wxUSE_GUI" = "yes"; then
10875 if test "$USE_BEOS" = 1; then
10876 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10877 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10878 { (exit 1); exit 1; }; }
10881 if test "$TOOLKIT_GIVEN" = 1; then
10882 for toolkit
in `echo $ALL_TOOLKITS`; do
10884 eval "value=\$${var}"
10885 if test "x$value" = "xno"; then
10887 elif test "x$value" != "x"; then
10891 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10892 eval "wx${toolkit}_VERSION=$value"
10896 for toolkit
in `echo $ALL_TOOLKITS`; do
10897 if test "$has_toolkit_in_cache" != 1; then
10898 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10900 var
=DEFAULT_wxUSE_
$toolkit
10902 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10903 if test "x$version" != "x"; then
10904 eval "wx${toolkit}_VERSION=$version"
10907 eval "wxUSE_$toolkit=\$${var}"
10911 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10912 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10913 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10916 *-pc-os2_emx | *-pc-os2-emx )
10917 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10920 case "$NUM_TOOLKITS" in
10924 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10925 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10926 { (exit 1); exit 1; }; }
10929 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10930 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10931 { (exit 1); exit 1; }; }
10934 # to be removed when --disable-gtk2 isn't needed
10935 if test "x$wxUSE_GTK2" = "xyes"; then
10937 elif test "x$wxUSE_GTK2" = "xno"; then
10941 for toolkit
in `echo $ALL_TOOLKITS`; do
10943 eval "value=\$${var}"
10944 if test "x$value" != x
; then
10945 cache_var
=CACHE_
$toolkit
10946 eval "cache=\$${cache_var}"
10947 if test "$cache" = 1; then
10948 echo "$var=$value" >> ${wx_arg_cache_file}
10949 eval "version=\$wx${toolkit}_VERSION"
10950 if test "x$version" != "x"; then
10951 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10954 if test "$value" = 1; then
10955 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10956 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10957 echo "${ECHO_T}$toolkit_echo" >&6
10962 if test "x$host_alias" != "x"; then
10963 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10964 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10966 echo "$as_me:$LINENO: result: base only" >&5
10967 echo "${ECHO_T}base only" >&6
10972 doesnt_want_win32
=0
10975 if test "$wxUSE_MSW" = 1 ; then
10977 BAKEFILE_FORCE_PLATFORM
=win32
10979 doesnt_want_win32
=1
10987 if test "$wxUSE_WINE" = "yes"; then
10991 LDFLAGS_GUI
="-mwindows"
10994 if test "$wants_win32" = 1 ; then
10997 cat >>confdefs.h
<<\_ACEOF
10998 #define __WIN32__ 1
11001 cat >>confdefs.h
<<\_ACEOF
11002 #define __WIN95__ 1
11005 cat >>confdefs.h
<<\_ACEOF
11006 #define __WINDOWS__ 1
11009 cat >>confdefs.h
<<\_ACEOF
11010 #define __GNUWIN32__ 1
11013 cat >>confdefs.h
<<\_ACEOF
11017 cat >>confdefs.h
<<\_ACEOF
11018 #define WINVER 0x0400
11022 if test "$doesnt_want_win32" = 1 ; then
11027 if test "$USE_UNIX" = 1 ; then
11029 cat >>confdefs.h
<<\_ACEOF
11036 cat >confcache
<<\_ACEOF
11037 # This file is a shell script that caches the results of configure
11038 # tests run on this system so they can be shared between configure
11039 # scripts and configure runs, see configure's option --config-cache.
11040 # It is not useful on other systems. If it contains results you don't
11041 # want to keep, you may remove or edit it.
11043 # config.status only pays attention to the cache file if you give it
11044 # the --recheck option to rerun configure.
11046 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11047 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11048 # following values.
11052 # The following way of writing the cache mishandles newlines in values,
11053 # but we know of no workaround that is simple, portable, and efficient.
11054 # So, don't put newlines in cache variables' values.
11055 # Ultrix sh set writes to stderr and can't be redirected directly,
11056 # and sets the high bit in the cache file unless we assign to the vars.
11059 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11061 # `set' does not quote correctly, so add quotes (double-quote
11062 # substitution turns \\\\ into \\, and sed turns \\ into \).
11065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11068 # `set' quotes correctly as required by POSIX, so do not add quotes.
11070 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11077 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11079 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11081 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11082 if test -w $cache_file; then
11083 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11084 cat confcache
>$cache_file
11086 echo "not updating unwritable cache $cache_file"
11096 ac_cpp
='$CPP $CPPFLAGS'
11097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11100 if test -n "$ac_tool_prefix"; then
11101 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11102 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11103 echo "$as_me:$LINENO: checking for $ac_word" >&5
11104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11105 if test "${ac_cv_prog_CC+set}" = set; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11108 if test -n "$CC"; then
11109 ac_cv_prog_CC
="$CC" # Let the user override the test.
11111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11112 for as_dir
in $PATH
11115 test -z "$as_dir" && as_dir
=.
11116 for ac_exec_ext
in '' $ac_executable_extensions; do
11117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11118 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11128 if test -n "$CC"; then
11129 echo "$as_me:$LINENO: result: $CC" >&5
11130 echo "${ECHO_T}$CC" >&6
11132 echo "$as_me:$LINENO: result: no" >&5
11133 echo "${ECHO_T}no" >&6
11137 if test -z "$ac_cv_prog_CC"; then
11139 # Extract the first word of "gcc", so it can be a program name with args.
11140 set dummy gcc
; ac_word
=$2
11141 echo "$as_me:$LINENO: checking for $ac_word" >&5
11142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11143 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11144 echo $ECHO_N "(cached) $ECHO_C" >&6
11146 if test -n "$ac_ct_CC"; then
11147 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11150 for as_dir
in $PATH
11153 test -z "$as_dir" && as_dir
=.
11154 for ac_exec_ext
in '' $ac_executable_extensions; do
11155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11156 ac_cv_prog_ac_ct_CC
="gcc"
11157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11165 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11166 if test -n "$ac_ct_CC"; then
11167 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11168 echo "${ECHO_T}$ac_ct_CC" >&6
11170 echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6
11176 CC
="$ac_cv_prog_CC"
11179 if test -z "$CC"; then
11180 if test -n "$ac_tool_prefix"; then
11181 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11182 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11183 echo "$as_me:$LINENO: checking for $ac_word" >&5
11184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11185 if test "${ac_cv_prog_CC+set}" = set; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 if test -n "$CC"; then
11189 ac_cv_prog_CC
="$CC" # Let the user override the test.
11191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11192 for as_dir
in $PATH
11195 test -z "$as_dir" && as_dir
=.
11196 for ac_exec_ext
in '' $ac_executable_extensions; do
11197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11198 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11208 if test -n "$CC"; then
11209 echo "$as_me:$LINENO: result: $CC" >&5
11210 echo "${ECHO_T}$CC" >&6
11212 echo "$as_me:$LINENO: result: no" >&5
11213 echo "${ECHO_T}no" >&6
11217 if test -z "$ac_cv_prog_CC"; then
11219 # Extract the first word of "cc", so it can be a program name with args.
11220 set dummy cc
; ac_word
=$2
11221 echo "$as_me:$LINENO: checking for $ac_word" >&5
11222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11226 if test -n "$ac_ct_CC"; then
11227 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11230 for as_dir
in $PATH
11233 test -z "$as_dir" && as_dir
=.
11234 for ac_exec_ext
in '' $ac_executable_extensions; do
11235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11236 ac_cv_prog_ac_ct_CC
="cc"
11237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11245 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11246 if test -n "$ac_ct_CC"; then
11247 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11248 echo "${ECHO_T}$ac_ct_CC" >&6
11250 echo "$as_me:$LINENO: result: no" >&5
11251 echo "${ECHO_T}no" >&6
11256 CC
="$ac_cv_prog_CC"
11260 if test -z "$CC"; then
11261 # Extract the first word of "cc", so it can be a program name with args.
11262 set dummy cc
; ac_word
=$2
11263 echo "$as_me:$LINENO: checking for $ac_word" >&5
11264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11265 if test "${ac_cv_prog_CC+set}" = set; then
11266 echo $ECHO_N "(cached) $ECHO_C" >&6
11268 if test -n "$CC"; then
11269 ac_cv_prog_CC
="$CC" # Let the user override the test.
11271 ac_prog_rejected
=no
11272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11273 for as_dir
in $PATH
11276 test -z "$as_dir" && as_dir
=.
11277 for ac_exec_ext
in '' $ac_executable_extensions; do
11278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11279 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11280 ac_prog_rejected
=yes
11284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11290 if test $ac_prog_rejected = yes; then
11291 # We found a bogon in the path, so make sure we never use it.
11292 set dummy
$ac_cv_prog_CC
11294 if test $# != 0; then
11295 # We chose a different compiler from the bogus one.
11296 # However, it has the same basename, so the bogon will be chosen
11297 # first if we set CC to just the basename; use the full file name.
11299 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11305 if test -n "$CC"; then
11306 echo "$as_me:$LINENO: result: $CC" >&5
11307 echo "${ECHO_T}$CC" >&6
11309 echo "$as_me:$LINENO: result: no" >&5
11310 echo "${ECHO_T}no" >&6
11314 if test -z "$CC"; then
11315 if test -n "$ac_tool_prefix"; then
11318 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11319 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11320 echo "$as_me:$LINENO: checking for $ac_word" >&5
11321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11322 if test "${ac_cv_prog_CC+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 if test -n "$CC"; then
11326 ac_cv_prog_CC
="$CC" # Let the user override the test.
11328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11329 for as_dir
in $PATH
11332 test -z "$as_dir" && as_dir
=.
11333 for ac_exec_ext
in '' $ac_executable_extensions; do
11334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11335 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11345 if test -n "$CC"; then
11346 echo "$as_me:$LINENO: result: $CC" >&5
11347 echo "${ECHO_T}$CC" >&6
11349 echo "$as_me:$LINENO: result: no" >&5
11350 echo "${ECHO_T}no" >&6
11353 test -n "$CC" && break
11356 if test -z "$CC"; then
11360 # Extract the first word of "$ac_prog", so it can be a program name with args.
11361 set dummy
$ac_prog; ac_word
=$2
11362 echo "$as_me:$LINENO: checking for $ac_word" >&5
11363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 if test -n "$ac_ct_CC"; then
11368 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11371 for as_dir
in $PATH
11374 test -z "$as_dir" && as_dir
=.
11375 for ac_exec_ext
in '' $ac_executable_extensions; do
11376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11377 ac_cv_prog_ac_ct_CC
="$ac_prog"
11378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11386 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11387 if test -n "$ac_ct_CC"; then
11388 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11389 echo "${ECHO_T}$ac_ct_CC" >&6
11391 echo "$as_me:$LINENO: result: no" >&5
11392 echo "${ECHO_T}no" >&6
11395 test -n "$ac_ct_CC" && break
11404 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11405 See \`config.log' for more details." >&5
11406 echo "$as_me: error: no acceptable C compiler found in \$PATH
11407 See \`config.log' for more details." >&2;}
11408 { (exit 1); exit 1; }; }
11410 # Provide some information about the compiler.
11411 echo "$as_me:$LINENO:" \
11412 "checking for C compiler version" >&5
11413 ac_compiler
=`set X $ac_compile; echo $2`
11414 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11415 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); }
11419 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11420 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11423 (exit $ac_status); }
11424 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11425 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11428 (exit $ac_status); }
11430 cat >conftest.
$ac_ext <<_ACEOF
11433 cat confdefs.h
>>conftest.
$ac_ext
11434 cat >>conftest.
$ac_ext <<_ACEOF
11435 /* end confdefs.h. */
11445 ac_clean_files_save
=$ac_clean_files
11446 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11447 # Try to create an executable without -o first, disregard a.out.
11448 # It will help us diagnose broken compilers, and finding out an intuition
11450 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11451 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11452 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11453 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11454 (eval $ac_link_default) 2>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; then
11458 # Find the output, starting from the most likely. This scheme is
11459 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11462 # Be careful to initialize this variable, since it used to be cached.
11463 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11465 # b.out is created by i960 compilers.
11466 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11468 test -f "$ac_file" || continue
11470 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11473 # This is the source file.
11476 # We found the default executable, but exeext='' is most
11480 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11481 # FIXME: I believe we export ac_cv_exeext for Libtool,
11482 # but it would be cool to find out if it's true. Does anybody
11483 # maintain Libtool? --akim.
11484 export ac_cv_exeext
11491 echo "$as_me: failed program was:" >&5
11492 sed 's/^/| /' conftest.
$ac_ext >&5
11494 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11495 See \`config.log' for more details." >&5
11496 echo "$as_me: error: C compiler cannot create executables
11497 See \`config.log' for more details." >&2;}
11498 { (exit 77); exit 77; }; }
11501 ac_exeext
=$ac_cv_exeext
11502 echo "$as_me:$LINENO: result: $ac_file" >&5
11503 echo "${ECHO_T}$ac_file" >&6
11505 # Check the compiler produces executables we can run. If not, either
11506 # the compiler is broken, or we cross compile.
11507 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11508 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11509 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11510 # If not cross compiling, check that we can run a simple program.
11511 if test "$cross_compiling" != yes; then
11512 if { ac_try
='./$ac_file'
11513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11514 (eval $ac_try) 2>&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); }; }; then
11520 if test "$cross_compiling" = maybe
; then
11521 cross_compiling
=yes
11523 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11524 If you meant to cross compile, use \`--host'.
11525 See \`config.log' for more details." >&5
11526 echo "$as_me: error: cannot run C compiled programs.
11527 If you meant to cross compile, use \`--host'.
11528 See \`config.log' for more details." >&2;}
11529 { (exit 1); exit 1; }; }
11533 echo "$as_me:$LINENO: result: yes" >&5
11534 echo "${ECHO_T}yes" >&6
11536 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11537 ac_clean_files
=$ac_clean_files_save
11538 # Check the compiler produces executables we can run. If not, either
11539 # the compiler is broken, or we cross compile.
11540 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11541 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11542 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11543 echo "${ECHO_T}$cross_compiling" >&6
11545 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11546 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11548 (eval $ac_link) 2>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; then
11552 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11553 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11554 # work properly (i.e., refer to `conftest.exe'), while it won't with
11556 for ac_file
in conftest.exe conftest conftest.
*; do
11557 test -f "$ac_file" || continue
11559 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11560 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11561 export ac_cv_exeext
11567 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11568 See \`config.log' for more details." >&5
11569 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11570 See \`config.log' for more details." >&2;}
11571 { (exit 1); exit 1; }; }
11574 rm -f conftest
$ac_cv_exeext
11575 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11576 echo "${ECHO_T}$ac_cv_exeext" >&6
11578 rm -f conftest.
$ac_ext
11579 EXEEXT
=$ac_cv_exeext
11581 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11582 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11583 if test "${ac_cv_objext+set}" = set; then
11584 echo $ECHO_N "(cached) $ECHO_C" >&6
11586 cat >conftest.
$ac_ext <<_ACEOF
11589 cat confdefs.h
>>conftest.
$ac_ext
11590 cat >>conftest.
$ac_ext <<_ACEOF
11591 /* end confdefs.h. */
11601 rm -f conftest.o conftest.obj
11602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11603 (eval $ac_compile) 2>&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); }; then
11607 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11609 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11610 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11615 echo "$as_me: failed program was:" >&5
11616 sed 's/^/| /' conftest.
$ac_ext >&5
11618 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11619 See \`config.log' for more details." >&5
11620 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11621 See \`config.log' for more details." >&2;}
11622 { (exit 1); exit 1; }; }
11625 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11627 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11628 echo "${ECHO_T}$ac_cv_objext" >&6
11629 OBJEXT
=$ac_cv_objext
11631 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11632 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11633 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11634 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 cat >conftest.
$ac_ext <<_ACEOF
11639 cat confdefs.h
>>conftest.
$ac_ext
11640 cat >>conftest.
$ac_ext <<_ACEOF
11641 /* end confdefs.h. */
11654 rm -f conftest.
$ac_objext
11655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11656 (eval $ac_compile) 2>conftest.er1
11658 grep -v '^ *+' conftest.er1
>conftest.err
11660 cat conftest.err
>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); } &&
11663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665 (eval $ac_try) 2>&5
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); }; } &&
11669 { ac_try
='test -s conftest.$ac_objext'
11670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11671 (eval $ac_try) 2>&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); }; }; then
11675 ac_compiler_gnu
=yes
11677 echo "$as_me: failed program was:" >&5
11678 sed 's/^/| /' conftest.
$ac_ext >&5
11682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11683 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11686 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11687 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11688 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11689 ac_test_CFLAGS
=${CFLAGS+set}
11690 ac_save_CFLAGS
=$CFLAGS
11692 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11693 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11694 if test "${ac_cv_prog_cc_g+set}" = set; then
11695 echo $ECHO_N "(cached) $ECHO_C" >&6
11697 cat >conftest.
$ac_ext <<_ACEOF
11700 cat confdefs.h
>>conftest.
$ac_ext
11701 cat >>conftest.
$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11712 rm -f conftest.
$ac_objext
11713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11714 (eval $ac_compile) 2>conftest.er1
11716 grep -v '^ *+' conftest.er1
>conftest.err
11718 cat conftest.err
>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); } &&
11721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11723 (eval $ac_try) 2>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); }; } &&
11727 { ac_try
='test -s conftest.$ac_objext'
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; }; then
11733 ac_cv_prog_cc_g
=yes
11735 echo "$as_me: failed program was:" >&5
11736 sed 's/^/| /' conftest.
$ac_ext >&5
11740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11742 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11743 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11744 if test "$ac_test_CFLAGS" = set; then
11745 CFLAGS
=$ac_save_CFLAGS
11746 elif test $ac_cv_prog_cc_g = yes; then
11747 if test "$GCC" = yes; then
11753 if test "$GCC" = yes; then
11759 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11760 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11761 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11762 echo $ECHO_N "(cached) $ECHO_C" >&6
11764 ac_cv_prog_cc_stdc
=no
11766 cat >conftest.
$ac_ext <<_ACEOF
11769 cat confdefs.h
>>conftest.
$ac_ext
11770 cat >>conftest.
$ac_ext <<_ACEOF
11771 /* end confdefs.h. */
11772 #include <stdarg.h>
11774 #include <sys/types.h>
11775 #include <sys/stat.h>
11776 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11777 struct buf { int x; };
11778 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11779 static char *e (p, i)
11785 static char *f (char * (*g) (char **, int), char **p, ...)
11790 s = g (p, va_arg (v,int));
11795 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11796 function prototypes and stuff, but not '\xHH' hex character constants.
11797 These don't provoke an error unfortunately, instead are silently treated
11798 as 'x'. The following induces an error, until -std1 is added to get
11799 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11800 array size at least. It's necessary to write '\x00'==0 to get something
11801 that's true only with -std1. */
11802 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11804 int test (int i, double x);
11805 struct s1 {int (*f) (int a);};
11806 struct s2 {int (*f) (double a);};
11807 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11813 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11818 # Don't try gcc -ansi; that turns off useful extensions and
11819 # breaks some systems' header files.
11820 # AIX -qlanglvl=ansi
11821 # Ultrix and OSF/1 -std1
11822 # HP-UX 10.20 and later -Ae
11823 # HP-UX older versions -Aa -D_HPUX_SOURCE
11824 # SVR4 -Xc -D__EXTENSIONS__
11825 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11827 CC
="$ac_save_CC $ac_arg"
11828 rm -f conftest.
$ac_objext
11829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11830 (eval $ac_compile) 2>conftest.er1
11832 grep -v '^ *+' conftest.er1
>conftest.err
11834 cat conftest.err
>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); } &&
11837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11839 (eval $ac_try) 2>&5
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); }; } &&
11843 { ac_try
='test -s conftest.$ac_objext'
11844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11845 (eval $ac_try) 2>&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); }; }; then
11849 ac_cv_prog_cc_stdc
=$ac_arg
11852 echo "$as_me: failed program was:" >&5
11853 sed 's/^/| /' conftest.
$ac_ext >&5
11856 rm -f conftest.err conftest.
$ac_objext
11858 rm -f conftest.
$ac_ext conftest.
$ac_objext
11863 case "x$ac_cv_prog_cc_stdc" in
11865 echo "$as_me:$LINENO: result: none needed" >&5
11866 echo "${ECHO_T}none needed" >&6 ;;
11868 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11869 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11870 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11873 # Some people use a C++ compiler to compile C. Since we use `exit',
11874 # in C++ we need to declare it. In case someone uses the same compiler
11875 # for both compiling C and C++ we need to have the C++ compiler decide
11876 # the declaration of exit, since it's the most demanding environment.
11877 cat >conftest.
$ac_ext <<_ACEOF
11878 #ifndef __cplusplus
11882 rm -f conftest.
$ac_objext
11883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11884 (eval $ac_compile) 2>conftest.er1
11886 grep -v '^ *+' conftest.er1
>conftest.err
11888 cat conftest.err
>&5
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); } &&
11891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11893 (eval $ac_try) 2>&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }; } &&
11897 { ac_try
='test -s conftest.$ac_objext'
11898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11899 (eval $ac_try) 2>&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); }; }; then
11903 for ac_declaration
in \
11905 'extern "C" void std::exit (int) throw (); using std::exit;' \
11906 'extern "C" void std::exit (int); using std::exit;' \
11907 'extern "C" void exit (int) throw ();' \
11908 'extern "C" void exit (int);' \
11911 cat >conftest.
$ac_ext <<_ACEOF
11914 cat confdefs.h
>>conftest.
$ac_ext
11915 cat >>conftest.
$ac_ext <<_ACEOF
11916 /* end confdefs.h. */
11918 #include <stdlib.h>
11927 rm -f conftest.
$ac_objext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11929 (eval $ac_compile) 2>conftest.er1
11931 grep -v '^ *+' conftest.er1
>conftest.err
11933 cat conftest.err
>&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } &&
11936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11938 (eval $ac_try) 2>&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; } &&
11942 { ac_try
='test -s conftest.$ac_objext'
11943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11944 (eval $ac_try) 2>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); }; }; then
11950 echo "$as_me: failed program was:" >&5
11951 sed 's/^/| /' conftest.
$ac_ext >&5
11955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11956 cat >conftest.
$ac_ext <<_ACEOF
11959 cat confdefs.h
>>conftest.
$ac_ext
11960 cat >>conftest.
$ac_ext <<_ACEOF
11961 /* end confdefs.h. */
11971 rm -f conftest.
$ac_objext
11972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11973 (eval $ac_compile) 2>conftest.er1
11975 grep -v '^ *+' conftest.er1
>conftest.err
11977 cat conftest.err
>&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); } &&
11980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
11986 { ac_try
='test -s conftest.$ac_objext'
11987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11988 (eval $ac_try) 2>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); }; }; then
11994 echo "$as_me: failed program was:" >&5
11995 sed 's/^/| /' conftest.
$ac_ext >&5
11998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12001 if test -n "$ac_declaration"; then
12002 echo '#ifdef __cplusplus' >>confdefs.h
12003 echo $ac_declaration >>confdefs.h
12004 echo '#endif' >>confdefs.h
12008 echo "$as_me: failed program was:" >&5
12009 sed 's/^/| /' conftest.
$ac_ext >&5
12012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12014 ac_cpp
='$CPP $CPPFLAGS'
12015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12022 ac_cpp
='$CPP $CPPFLAGS'
12023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12027 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12028 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12029 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 cat >conftest.
$ac_ext <<_ACEOF
12035 cat confdefs.h
>>conftest.
$ac_ext
12036 cat >>conftest.
$ac_ext <<_ACEOF
12037 /* end confdefs.h. */
12043 #ifndef __INTEL_COMPILER
12051 rm -f conftest.
$ac_objext
12052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12053 (eval $ac_compile) 2>conftest.er1
12055 grep -v '^ *+' conftest.er1
>conftest.err
12057 cat conftest.err
>&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); } &&
12060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12062 (eval $ac_try) 2>&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); }; } &&
12066 { ac_try
='test -s conftest.$ac_objext'
12067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12068 (eval $ac_try) 2>&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); }; }; then
12072 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12074 echo "$as_me: failed program was:" >&5
12075 sed 's/^/| /' conftest.
$ac_ext >&5
12077 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12084 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12085 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12087 ac_cpp
='$CPP $CPPFLAGS'
12088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12092 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12099 if test "x$GCC" != "xyes"; then
12100 if test "xCC" = "xC"; then
12101 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12102 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12103 if test "${bakefile_cv_c_exto+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 cat >conftest.
$ac_ext <<_ACEOF
12109 cat confdefs.h
>>conftest.
$ac_ext
12110 cat >>conftest.
$ac_ext <<_ACEOF
12111 /* end confdefs.h. */
12121 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12123 (eval $ac_compile) 2>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); }; then
12127 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12129 conftest.
$ac_ext.o
)
12130 bakefile_cv_c_exto
="-ext o"
12137 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12138 See \`config.log' for more details." >&5
12139 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12140 See \`config.log' for more details." >&2;}
12141 { (exit 1); exit 1; }; }
12145 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12148 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12149 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12150 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12151 if test "c" = "c"; then
12152 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12154 if test "c" = "cxx"; then
12155 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12159 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12160 unset ac_cv_prog_cc_g
12161 ac_test_CFLAGS
=${CFLAGS+set}
12162 ac_save_CFLAGS
=$CFLAGS
12164 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12165 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12166 if test "${ac_cv_prog_cc_g+set}" = set; then
12167 echo $ECHO_N "(cached) $ECHO_C" >&6
12169 cat >conftest.
$ac_ext <<_ACEOF
12172 cat confdefs.h
>>conftest.
$ac_ext
12173 cat >>conftest.
$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12184 rm -f conftest.
$ac_objext
12185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12186 (eval $ac_compile) 2>conftest.er1
12188 grep -v '^ *+' conftest.er1
>conftest.err
12190 cat conftest.err
>&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); } &&
12193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; } &&
12199 { ac_try
='test -s conftest.$ac_objext'
12200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12201 (eval $ac_try) 2>&5
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); }; }; then
12205 ac_cv_prog_cc_g
=yes
12207 echo "$as_me: failed program was:" >&5
12208 sed 's/^/| /' conftest.
$ac_ext >&5
12212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12214 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12215 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12216 if test "$ac_test_CFLAGS" = set; then
12217 CFLAGS
=$ac_save_CFLAGS
12218 elif test $ac_cv_prog_cc_g = yes; then
12219 if test "$GCC" = yes; then
12225 if test "$GCC" = yes; then
12237 ac_cpp
='$CPP $CPPFLAGS'
12238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12242 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12243 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12244 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12245 echo $ECHO_N "(cached) $ECHO_C" >&6
12247 cat >conftest.
$ac_ext <<_ACEOF
12250 cat confdefs.h
>>conftest.
$ac_ext
12251 cat >>conftest.
$ac_ext <<_ACEOF
12252 /* end confdefs.h. */
12265 rm -f conftest.
$ac_objext
12266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12267 (eval $ac_compile) 2>conftest.er1
12269 grep -v '^ *+' conftest.er1
>conftest.err
12271 cat conftest.err
>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); } &&
12274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 (eval $ac_try) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); }; } &&
12280 { ac_try
='test -s conftest.$ac_objext'
12281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282 (eval $ac_try) 2>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); }; }; then
12286 bakefile_compiler_xlc
=yes
12288 echo "$as_me: failed program was:" >&5
12289 sed 's/^/| /' conftest.
$ac_ext >&5
12291 bakefile_compiler_xlc
=no
12293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12294 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12297 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12298 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12300 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12302 ac_cpp
='$CPP $CPPFLAGS'
12303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12312 ac_cpp
='$CPP $CPPFLAGS'
12313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12317 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12318 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12319 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12320 echo $ECHO_N "(cached) $ECHO_C" >&6
12322 cat >conftest.
$ac_ext <<_ACEOF
12325 cat confdefs.h
>>conftest.
$ac_ext
12326 cat >>conftest.
$ac_ext <<_ACEOF
12327 /* end confdefs.h. */
12340 rm -f conftest.
$ac_objext
12341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12342 (eval $ac_compile) 2>conftest.er1
12344 grep -v '^ *+' conftest.er1
>conftest.err
12346 cat conftest.err
>&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); } &&
12349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12351 (eval $ac_try) 2>&5
12353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354 (exit $ac_status); }; } &&
12355 { ac_try
='test -s conftest.$ac_objext'
12356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12357 (eval $ac_try) 2>&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); }; }; then
12361 bakefile_compiler_mwerks
=yes
12363 echo "$as_me: failed program was:" >&5
12364 sed 's/^/| /' conftest.
$ac_ext >&5
12366 bakefile_compiler_mwerks
=no
12368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12369 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12372 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12373 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12375 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12377 ac_cpp
='$CPP $CPPFLAGS'
12378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12384 ac_cpp
='$CPP $CPPFLAGS'
12385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12389 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12390 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12391 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 cat >conftest.
$ac_ext <<_ACEOF
12397 cat confdefs.h
>>conftest.
$ac_ext
12398 cat >>conftest.
$ac_ext <<_ACEOF
12399 /* end confdefs.h. */
12412 rm -f conftest.
$ac_objext
12413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12414 (eval $ac_compile) 2>conftest.er1
12416 grep -v '^ *+' conftest.er1
>conftest.err
12418 cat conftest.err
>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); } &&
12421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423 (eval $ac_try) 2>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); }; } &&
12427 { ac_try
='test -s conftest.$ac_objext'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; }; then
12433 bakefile_compiler_xlc
=yes
12435 echo "$as_me: failed program was:" >&5
12436 sed 's/^/| /' conftest.
$ac_ext >&5
12438 bakefile_compiler_xlc
=no
12440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12441 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12444 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12445 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12447 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12449 ac_cpp
='$CPP $CPPFLAGS'
12450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12461 ac_cpp
='$CPP $CPPFLAGS'
12462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12466 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12467 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12468 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12469 echo $ECHO_N "(cached) $ECHO_C" >&6
12471 cat >conftest.
$ac_ext <<_ACEOF
12474 cat confdefs.h
>>conftest.
$ac_ext
12475 cat >>conftest.
$ac_ext <<_ACEOF
12476 /* end confdefs.h. */
12482 #ifndef _SGI_COMPILER_VERSION
12490 rm -f conftest.
$ac_objext
12491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12492 (eval $ac_compile) 2>conftest.er1
12494 grep -v '^ *+' conftest.er1
>conftest.err
12496 cat conftest.err
>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); } &&
12499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12501 (eval $ac_try) 2>&5
12503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504 (exit $ac_status); }; } &&
12505 { ac_try
='test -s conftest.$ac_objext'
12506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12507 (eval $ac_try) 2>&5
12509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); }; }; then
12511 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12513 echo "$as_me: failed program was:" >&5
12514 sed 's/^/| /' conftest.
$ac_ext >&5
12516 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12523 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12524 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12526 ac_cpp
='$CPP $CPPFLAGS'
12527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12531 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12544 ac_cpp
='$CPP $CPPFLAGS'
12545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12549 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12550 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12551 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12554 cat >conftest.
$ac_ext <<_ACEOF
12557 cat confdefs.h
>>conftest.
$ac_ext
12558 cat >>conftest.
$ac_ext <<_ACEOF
12559 /* end confdefs.h. */
12573 rm -f conftest.
$ac_objext
12574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12575 (eval $ac_compile) 2>conftest.er1
12577 grep -v '^ *+' conftest.er1
>conftest.err
12579 cat conftest.err
>&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); } &&
12582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12584 (eval $ac_try) 2>&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); }; } &&
12588 { ac_try
='test -s conftest.$ac_objext'
12589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12590 (eval $ac_try) 2>&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; }; then
12594 bakefile_cv_c_compiler___HP_cc
=yes
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.
$ac_ext >&5
12599 bakefile_cv_c_compiler___HP_cc
=no
12602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12606 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12607 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12609 ac_cpp
='$CPP $CPPFLAGS'
12610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12614 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12627 ac_cpp
='$CPP $CPPFLAGS'
12628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12632 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12633 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12634 if test "${bakefile_cv_c_compiler___DECC+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. */
12656 rm -f conftest.
$ac_objext
12657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12658 (eval $ac_compile) 2>conftest.er1
12660 grep -v '^ *+' conftest.er1
>conftest.err
12662 cat conftest.err
>&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); } &&
12665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12667 (eval $ac_try) 2>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); }; } &&
12671 { ac_try
='test -s conftest.$ac_objext'
12672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12673 (eval $ac_try) 2>&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; }; then
12677 bakefile_cv_c_compiler___DECC
=yes
12679 echo "$as_me: failed program was:" >&5
12680 sed 's/^/| /' conftest.
$ac_ext >&5
12682 bakefile_cv_c_compiler___DECC
=no
12685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12689 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12690 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12692 ac_cpp
='$CPP $CPPFLAGS'
12693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12697 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12710 ac_cpp
='$CPP $CPPFLAGS'
12711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12715 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12716 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12717 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12718 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 cat >conftest.
$ac_ext <<_ACEOF
12723 cat confdefs.h
>>conftest.
$ac_ext
12724 cat >>conftest.
$ac_ext <<_ACEOF
12725 /* end confdefs.h. */
12739 rm -f conftest.
$ac_objext
12740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12741 (eval $ac_compile) 2>conftest.er1
12743 grep -v '^ *+' conftest.er1
>conftest.err
12745 cat conftest.err
>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); } &&
12748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
12754 { ac_try
='test -s conftest.$ac_objext'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; }; then
12760 bakefile_cv_c_compiler___SUNPRO_C
=yes
12762 echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.
$ac_ext >&5
12765 bakefile_cv_c_compiler___SUNPRO_C
=no
12768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12772 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12773 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12775 ac_cpp
='$CPP $CPPFLAGS'
12776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12780 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12794 ac_cpp
='$CPP $CPPFLAGS'
12795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12798 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12799 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12800 # On Suns, sometimes $CPP names a directory.
12801 if test -n "$CPP" && test -d "$CPP"; then
12804 if test -z "$CPP"; then
12805 if test "${ac_cv_prog_CPP+set}" = set; then
12806 echo $ECHO_N "(cached) $ECHO_C" >&6
12808 # Double quotes because CPP needs to be expanded
12809 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12811 ac_preproc_ok
=false
12812 for ac_c_preproc_warn_flag
in '' yes
12814 # Use a header file that comes with gcc, so configuring glibc
12815 # with a fresh cross-compiler works.
12816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12817 # <limits.h> exists even on freestanding compilers.
12818 # On the NeXT, cc -E runs the code through the compiler's parser,
12819 # not just through cpp. "Syntax error" is here to catch this case.
12820 cat >conftest.
$ac_ext <<_ACEOF
12823 cat confdefs.h
>>conftest.
$ac_ext
12824 cat >>conftest.
$ac_ext <<_ACEOF
12825 /* end confdefs.h. */
12827 # include <limits.h>
12829 # include <assert.h>
12833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12834 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12836 grep -v '^ *+' conftest.er1
>conftest.err
12838 cat conftest.err
>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } >/dev
/null
; then
12841 if test -s conftest.err
; then
12842 ac_cpp_err
=$ac_c_preproc_warn_flag
12843 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12850 if test -z "$ac_cpp_err"; then
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.
$ac_ext >&5
12856 # Broken: fails on valid input.
12859 rm -f conftest.err conftest.
$ac_ext
12861 # OK, works on sane cases. Now check whether non-existent headers
12862 # can be detected and how.
12863 cat >conftest.
$ac_ext <<_ACEOF
12866 cat confdefs.h
>>conftest.
$ac_ext
12867 cat >>conftest.
$ac_ext <<_ACEOF
12868 /* end confdefs.h. */
12869 #include <ac_nonexistent.h>
12871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12874 grep -v '^ *+' conftest.er1
>conftest.err
12876 cat conftest.err
>&5
12877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878 (exit $ac_status); } >/dev
/null
; then
12879 if test -s conftest.err
; then
12880 ac_cpp_err
=$ac_c_preproc_warn_flag
12881 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12888 if test -z "$ac_cpp_err"; then
12889 # Broken: success on invalid input.
12892 echo "$as_me: failed program was:" >&5
12893 sed 's/^/| /' conftest.
$ac_ext >&5
12895 # Passes both tests.
12899 rm -f conftest.err conftest.
$ac_ext
12902 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12903 rm -f conftest.err conftest.
$ac_ext
12904 if $ac_preproc_ok; then
12909 ac_cv_prog_CPP
=$CPP
12912 CPP
=$ac_cv_prog_CPP
12914 ac_cv_prog_CPP
=$CPP
12916 echo "$as_me:$LINENO: result: $CPP" >&5
12917 echo "${ECHO_T}$CPP" >&6
12918 ac_preproc_ok
=false
12919 for ac_c_preproc_warn_flag
in '' yes
12921 # Use a header file that comes with gcc, so configuring glibc
12922 # with a fresh cross-compiler works.
12923 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12924 # <limits.h> exists even on freestanding compilers.
12925 # On the NeXT, cc -E runs the code through the compiler's parser,
12926 # not just through cpp. "Syntax error" is here to catch this case.
12927 cat >conftest.
$ac_ext <<_ACEOF
12930 cat confdefs.h
>>conftest.
$ac_ext
12931 cat >>conftest.
$ac_ext <<_ACEOF
12932 /* end confdefs.h. */
12934 # include <limits.h>
12936 # include <assert.h>
12940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12941 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12943 grep -v '^ *+' conftest.er1
>conftest.err
12945 cat conftest.err
>&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); } >/dev
/null
; then
12948 if test -s conftest.err
; then
12949 ac_cpp_err
=$ac_c_preproc_warn_flag
12950 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12957 if test -z "$ac_cpp_err"; then
12960 echo "$as_me: failed program was:" >&5
12961 sed 's/^/| /' conftest.
$ac_ext >&5
12963 # Broken: fails on valid input.
12966 rm -f conftest.err conftest.
$ac_ext
12968 # OK, works on sane cases. Now check whether non-existent headers
12969 # can be detected and how.
12970 cat >conftest.
$ac_ext <<_ACEOF
12973 cat confdefs.h
>>conftest.
$ac_ext
12974 cat >>conftest.
$ac_ext <<_ACEOF
12975 /* end confdefs.h. */
12976 #include <ac_nonexistent.h>
12978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12979 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12981 grep -v '^ *+' conftest.er1
>conftest.err
12983 cat conftest.err
>&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); } >/dev
/null
; then
12986 if test -s conftest.err
; then
12987 ac_cpp_err
=$ac_c_preproc_warn_flag
12988 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12995 if test -z "$ac_cpp_err"; then
12996 # Broken: success on invalid input.
12999 echo "$as_me: failed program was:" >&5
13000 sed 's/^/| /' conftest.
$ac_ext >&5
13002 # Passes both tests.
13006 rm -f conftest.err conftest.
$ac_ext
13009 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13010 rm -f conftest.err conftest.
$ac_ext
13011 if $ac_preproc_ok; then
13014 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13015 See \`config.log' for more details." >&5
13016 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13017 See \`config.log' for more details." >&2;}
13018 { (exit 1); exit 1; }; }
13022 ac_cpp
='$CPP $CPPFLAGS'
13023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13028 echo "$as_me:$LINENO: checking for egrep" >&5
13029 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13030 if test "${ac_cv_prog_egrep+set}" = set; then
13031 echo $ECHO_N "(cached) $ECHO_C" >&6
13033 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13034 then ac_cv_prog_egrep
='grep -E'
13035 else ac_cv_prog_egrep
='egrep'
13038 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13039 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13040 EGREP
=$ac_cv_prog_egrep
13043 if test $ac_cv_c_compiler_gnu = yes; then
13044 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13045 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13046 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13047 echo $ECHO_N "(cached) $ECHO_C" >&6
13049 ac_pattern
="Autoconf.*'x'"
13050 cat >conftest.
$ac_ext <<_ACEOF
13053 cat confdefs.h
>>conftest.
$ac_ext
13054 cat >>conftest.
$ac_ext <<_ACEOF
13055 /* end confdefs.h. */
13059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13060 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13061 ac_cv_prog_gcc_traditional
=yes
13063 ac_cv_prog_gcc_traditional
=no
13068 if test $ac_cv_prog_gcc_traditional = no
; then
13069 cat >conftest.
$ac_ext <<_ACEOF
13072 cat confdefs.h
>>conftest.
$ac_ext
13073 cat >>conftest.
$ac_ext <<_ACEOF
13074 /* end confdefs.h. */
13075 #include <termio.h>
13078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13079 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13080 ac_cv_prog_gcc_traditional
=yes
13086 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13087 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13088 if test $ac_cv_prog_gcc_traditional = yes; then
13089 CC
="$CC -traditional"
13095 ac_cpp
='$CXXCPP $CPPFLAGS'
13096 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13097 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13098 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13101 CXXFLAGS
=${CXXFLAGS:=}
13106 ac_cpp
='$CXXCPP $CPPFLAGS'
13107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13110 if test -n "$ac_tool_prefix"; then
13111 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13114 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13115 echo "$as_me:$LINENO: checking for $ac_word" >&5
13116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13117 if test "${ac_cv_prog_CXX+set}" = set; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13120 if test -n "$CXX"; then
13121 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13124 for as_dir
in $PATH
13127 test -z "$as_dir" && as_dir
=.
13128 for ac_exec_ext
in '' $ac_executable_extensions; do
13129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13130 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13139 CXX
=$ac_cv_prog_CXX
13140 if test -n "$CXX"; then
13141 echo "$as_me:$LINENO: result: $CXX" >&5
13142 echo "${ECHO_T}$CXX" >&6
13144 echo "$as_me:$LINENO: result: no" >&5
13145 echo "${ECHO_T}no" >&6
13148 test -n "$CXX" && break
13151 if test -z "$CXX"; then
13153 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13155 # Extract the first word of "$ac_prog", so it can be a program name with args.
13156 set dummy
$ac_prog; ac_word
=$2
13157 echo "$as_me:$LINENO: checking for $ac_word" >&5
13158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13159 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13160 echo $ECHO_N "(cached) $ECHO_C" >&6
13162 if test -n "$ac_ct_CXX"; then
13163 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13166 for as_dir
in $PATH
13169 test -z "$as_dir" && as_dir
=.
13170 for ac_exec_ext
in '' $ac_executable_extensions; do
13171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13172 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13181 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13182 if test -n "$ac_ct_CXX"; then
13183 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13184 echo "${ECHO_T}$ac_ct_CXX" >&6
13186 echo "$as_me:$LINENO: result: no" >&5
13187 echo "${ECHO_T}no" >&6
13190 test -n "$ac_ct_CXX" && break
13192 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13198 # Provide some information about the compiler.
13199 echo "$as_me:$LINENO:" \
13200 "checking for C++ compiler version" >&5
13201 ac_compiler
=`set X $ac_compile; echo $2`
13202 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13203 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); }
13207 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13208 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); }
13212 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13213 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); }
13218 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13219 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13220 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13221 echo $ECHO_N "(cached) $ECHO_C" >&6
13223 cat >conftest.
$ac_ext <<_ACEOF
13226 cat confdefs.h
>>conftest.
$ac_ext
13227 cat >>conftest.
$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13241 rm -f conftest.
$ac_objext
13242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13243 (eval $ac_compile) 2>conftest.er1
13245 grep -v '^ *+' conftest.er1
>conftest.err
13247 cat conftest.err
>&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); } &&
13250 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13252 (eval $ac_try) 2>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); }; } &&
13256 { ac_try
='test -s conftest.$ac_objext'
13257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258 (eval $ac_try) 2>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }; }; then
13262 ac_compiler_gnu
=yes
13264 echo "$as_me: failed program was:" >&5
13265 sed 's/^/| /' conftest.
$ac_ext >&5
13269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13270 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13273 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13274 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13275 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13276 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13277 ac_save_CXXFLAGS
=$CXXFLAGS
13279 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13280 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13281 if test "${ac_cv_prog_cxx_g+set}" = set; then
13282 echo $ECHO_N "(cached) $ECHO_C" >&6
13284 cat >conftest.
$ac_ext <<_ACEOF
13287 cat confdefs.h
>>conftest.
$ac_ext
13288 cat >>conftest.
$ac_ext <<_ACEOF
13289 /* end confdefs.h. */
13299 rm -f conftest.
$ac_objext
13300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13301 (eval $ac_compile) 2>conftest.er1
13303 grep -v '^ *+' conftest.er1
>conftest.err
13305 cat conftest.err
>&5
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); } &&
13308 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13310 (eval $ac_try) 2>&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; } &&
13314 { ac_try
='test -s conftest.$ac_objext'
13315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13316 (eval $ac_try) 2>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }; }; then
13320 ac_cv_prog_cxx_g
=yes
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.
$ac_ext >&5
13325 ac_cv_prog_cxx_g
=no
13327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13329 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13330 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13331 if test "$ac_test_CXXFLAGS" = set; then
13332 CXXFLAGS
=$ac_save_CXXFLAGS
13333 elif test $ac_cv_prog_cxx_g = yes; then
13334 if test "$GXX" = yes; then
13340 if test "$GXX" = yes; then
13346 for ac_declaration
in \
13348 'extern "C" void std::exit (int) throw (); using std::exit;' \
13349 'extern "C" void std::exit (int); using std::exit;' \
13350 'extern "C" void exit (int) throw ();' \
13351 'extern "C" void exit (int);' \
13354 cat >conftest.
$ac_ext <<_ACEOF
13357 cat confdefs.h
>>conftest.
$ac_ext
13358 cat >>conftest.
$ac_ext <<_ACEOF
13359 /* end confdefs.h. */
13361 #include <stdlib.h>
13370 rm -f conftest.
$ac_objext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13372 (eval $ac_compile) 2>conftest.er1
13374 grep -v '^ *+' conftest.er1
>conftest.err
13376 cat conftest.err
>&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); } &&
13379 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13381 (eval $ac_try) 2>&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); }; } &&
13385 { ac_try
='test -s conftest.$ac_objext'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; }; then
13393 echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.
$ac_ext >&5
13398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13399 cat >conftest.
$ac_ext <<_ACEOF
13402 cat confdefs.h
>>conftest.
$ac_ext
13403 cat >>conftest.
$ac_ext <<_ACEOF
13404 /* end confdefs.h. */
13414 rm -f conftest.
$ac_objext
13415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13416 (eval $ac_compile) 2>conftest.er1
13418 grep -v '^ *+' conftest.er1
>conftest.err
13420 cat conftest.err
>&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); } &&
13423 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13425 (eval $ac_try) 2>&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); }; } &&
13429 { ac_try
='test -s conftest.$ac_objext'
13430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13431 (eval $ac_try) 2>&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); }; }; then
13437 echo "$as_me: failed program was:" >&5
13438 sed 's/^/| /' conftest.
$ac_ext >&5
13441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13444 if test -n "$ac_declaration"; then
13445 echo '#ifdef __cplusplus' >>confdefs.h
13446 echo $ac_declaration >>confdefs.h
13447 echo '#endif' >>confdefs.h
13451 ac_cpp
='$CXXCPP $CPPFLAGS'
13452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13459 ac_cpp
='$CXXCPP $CPPFLAGS'
13460 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13461 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13462 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13464 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13465 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13466 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13467 echo $ECHO_N "(cached) $ECHO_C" >&6
13469 cat >conftest.
$ac_ext <<_ACEOF
13472 cat confdefs.h
>>conftest.
$ac_ext
13473 cat >>conftest.
$ac_ext <<_ACEOF
13474 /* end confdefs.h. */
13480 #ifndef __INTEL_COMPILER
13488 rm -f conftest.
$ac_objext
13489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13490 (eval $ac_compile) 2>conftest.er1
13492 grep -v '^ *+' conftest.er1
>conftest.err
13494 cat conftest.err
>&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); } &&
13497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13499 (eval $ac_try) 2>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); }; } &&
13503 { ac_try
='test -s conftest.$ac_objext'
13504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13505 (eval $ac_try) 2>&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); }; }; then
13509 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13511 echo "$as_me: failed program was:" >&5
13512 sed 's/^/| /' conftest.
$ac_ext >&5
13514 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13521 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13522 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13524 ac_cpp
='$CXXCPP $CPPFLAGS'
13525 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13526 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13527 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13529 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13536 if test "x$GCXX" != "xyes"; then
13537 if test "xCXX" = "xC"; then
13538 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13539 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13540 if test "${bakefile_cv_cxx_exto+set}" = set; then
13541 echo $ECHO_N "(cached) $ECHO_C" >&6
13543 cat >conftest.
$ac_ext <<_ACEOF
13546 cat confdefs.h
>>conftest.
$ac_ext
13547 cat >>conftest.
$ac_ext <<_ACEOF
13548 /* end confdefs.h. */
13558 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13560 (eval $ac_compile) 2>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); }; then
13564 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13566 conftest.
$ac_ext.o
)
13567 bakefile_cv_cxx_exto
="-ext o"
13574 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13575 See \`config.log' for more details." >&5
13576 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13577 See \`config.log' for more details." >&2;}
13578 { (exit 1); exit 1; }; }
13582 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13585 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13586 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13587 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13588 if test "cxx" = "c"; then
13589 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13591 if test "cxx" = "cxx"; then
13592 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13596 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13597 unset ac_cv_prog_cc_g
13598 ac_test_CFLAGS
=${CFLAGS+set}
13599 ac_save_CFLAGS
=$CFLAGS
13601 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13602 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13603 if test "${ac_cv_prog_cc_g+set}" = set; then
13604 echo $ECHO_N "(cached) $ECHO_C" >&6
13606 cat >conftest.
$ac_ext <<_ACEOF
13609 cat confdefs.h
>>conftest.
$ac_ext
13610 cat >>conftest.
$ac_ext <<_ACEOF
13611 /* end confdefs.h. */
13621 rm -f conftest.
$ac_objext
13622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13623 (eval $ac_compile) 2>conftest.er1
13625 grep -v '^ *+' conftest.er1
>conftest.err
13627 cat conftest.err
>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } &&
13630 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; } &&
13636 { ac_try
='test -s conftest.$ac_objext'
13637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13638 (eval $ac_try) 2>&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); }; }; then
13642 ac_cv_prog_cc_g
=yes
13644 echo "$as_me: failed program was:" >&5
13645 sed 's/^/| /' conftest.
$ac_ext >&5
13649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13651 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13652 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13653 if test "$ac_test_CFLAGS" = set; then
13654 CFLAGS
=$ac_save_CFLAGS
13655 elif test $ac_cv_prog_cc_g = yes; then
13656 if test "$GCC" = yes; then
13662 if test "$GCC" = yes; then
13674 ac_cpp
='$CXXCPP $CPPFLAGS'
13675 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13676 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13677 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13679 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13680 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13681 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13684 cat >conftest.
$ac_ext <<_ACEOF
13687 cat confdefs.h
>>conftest.
$ac_ext
13688 cat >>conftest.
$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13702 rm -f conftest.
$ac_objext
13703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13704 (eval $ac_compile) 2>conftest.er1
13706 grep -v '^ *+' conftest.er1
>conftest.err
13708 cat conftest.err
>&5
13709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710 (exit $ac_status); } &&
13711 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13713 (eval $ac_try) 2>&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); }; } &&
13717 { ac_try
='test -s conftest.$ac_objext'
13718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13719 (eval $ac_try) 2>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); }; }; then
13723 bakefile_compiler_xlc
=yes
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.
$ac_ext >&5
13728 bakefile_compiler_xlc
=no
13730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13731 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13734 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13735 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13737 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13739 ac_cpp
='$CXXCPP $CPPFLAGS'
13740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13749 ac_cpp
='$CXXCPP $CPPFLAGS'
13750 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13751 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13752 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13754 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13755 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13756 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13757 echo $ECHO_N "(cached) $ECHO_C" >&6
13759 cat >conftest.
$ac_ext <<_ACEOF
13762 cat confdefs.h
>>conftest.
$ac_ext
13763 cat >>conftest.
$ac_ext <<_ACEOF
13764 /* end confdefs.h. */
13777 rm -f conftest.
$ac_objext
13778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13779 (eval $ac_compile) 2>conftest.er1
13781 grep -v '^ *+' conftest.er1
>conftest.err
13783 cat conftest.err
>&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); } &&
13786 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13788 (eval $ac_try) 2>&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); }; } &&
13792 { ac_try
='test -s conftest.$ac_objext'
13793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13794 (eval $ac_try) 2>&5
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); }; }; then
13798 bakefile_compiler_mwerks
=yes
13800 echo "$as_me: failed program was:" >&5
13801 sed 's/^/| /' conftest.
$ac_ext >&5
13803 bakefile_compiler_mwerks
=no
13805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13806 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13809 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13810 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13812 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13814 ac_cpp
='$CXXCPP $CPPFLAGS'
13815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13821 ac_cpp
='$CXXCPP $CPPFLAGS'
13822 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13823 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13824 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13826 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13827 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13828 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13829 echo $ECHO_N "(cached) $ECHO_C" >&6
13831 cat >conftest.
$ac_ext <<_ACEOF
13834 cat confdefs.h
>>conftest.
$ac_ext
13835 cat >>conftest.
$ac_ext <<_ACEOF
13836 /* end confdefs.h. */
13849 rm -f conftest.
$ac_objext
13850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13851 (eval $ac_compile) 2>conftest.er1
13853 grep -v '^ *+' conftest.er1
>conftest.err
13855 cat conftest.err
>&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); } &&
13858 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13860 (eval $ac_try) 2>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; } &&
13864 { ac_try
='test -s conftest.$ac_objext'
13865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13866 (eval $ac_try) 2>&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); }; }; then
13870 bakefile_compiler_xlc
=yes
13872 echo "$as_me: failed program was:" >&5
13873 sed 's/^/| /' conftest.
$ac_ext >&5
13875 bakefile_compiler_xlc
=no
13877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13878 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13881 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13882 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13884 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13886 ac_cpp
='$CXXCPP $CPPFLAGS'
13887 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13888 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13889 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13898 ac_cpp
='$CXXCPP $CPPFLAGS'
13899 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13900 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13901 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13903 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13904 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13905 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13906 echo $ECHO_N "(cached) $ECHO_C" >&6
13908 cat >conftest.
$ac_ext <<_ACEOF
13911 cat confdefs.h
>>conftest.
$ac_ext
13912 cat >>conftest.
$ac_ext <<_ACEOF
13913 /* end confdefs.h. */
13919 #ifndef _SGI_COMPILER_VERSION
13927 rm -f conftest.
$ac_objext
13928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13929 (eval $ac_compile) 2>conftest.er1
13931 grep -v '^ *+' conftest.er1
>conftest.err
13933 cat conftest.err
>&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); } &&
13936 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13938 (eval $ac_try) 2>&5
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; } &&
13942 { ac_try
='test -s conftest.$ac_objext'
13943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13944 (eval $ac_try) 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; }; then
13948 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13950 echo "$as_me: failed program was:" >&5
13951 sed 's/^/| /' conftest.
$ac_ext >&5
13953 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13960 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13961 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13963 ac_cpp
='$CXXCPP $CPPFLAGS'
13964 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13965 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13966 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13968 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13981 ac_cpp
='$CXXCPP $CPPFLAGS'
13982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13986 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13987 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13988 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13989 echo $ECHO_N "(cached) $ECHO_C" >&6
13991 cat >conftest.
$ac_ext <<_ACEOF
13994 cat confdefs.h
>>conftest.
$ac_ext
13995 cat >>conftest.
$ac_ext <<_ACEOF
13996 /* end confdefs.h. */
14010 rm -f conftest.
$ac_objext
14011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14012 (eval $ac_compile) 2>conftest.er1
14014 grep -v '^ *+' conftest.er1
>conftest.err
14016 cat conftest.err
>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); } &&
14019 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; } &&
14025 { ac_try
='test -s conftest.$ac_objext'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14031 bakefile_cv_cxx_compiler___HP_aCC
=yes
14033 echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.
$ac_ext >&5
14036 bakefile_cv_cxx_compiler___HP_aCC
=no
14039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14043 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14044 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14046 ac_cpp
='$CXXCPP $CPPFLAGS'
14047 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14048 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14049 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14051 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14064 ac_cpp
='$CXXCPP $CPPFLAGS'
14065 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14066 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14067 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14069 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14070 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14071 if test "${bakefile_cv_cxx_compiler___DECCXX+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. */
14093 rm -f conftest.
$ac_objext
14094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14095 (eval $ac_compile) 2>conftest.er1
14097 grep -v '^ *+' conftest.er1
>conftest.err
14099 cat conftest.err
>&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); } &&
14102 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; } &&
14108 { ac_try
='test -s conftest.$ac_objext'
14109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14110 (eval $ac_try) 2>&5
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); }; }; then
14114 bakefile_cv_cxx_compiler___DECCXX
=yes
14116 echo "$as_me: failed program was:" >&5
14117 sed 's/^/| /' conftest.
$ac_ext >&5
14119 bakefile_cv_cxx_compiler___DECCXX
=no
14122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14126 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14127 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14129 ac_cpp
='$CXXCPP $CPPFLAGS'
14130 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14131 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14132 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14134 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14147 ac_cpp
='$CXXCPP $CPPFLAGS'
14148 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14149 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14150 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14152 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14153 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14154 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14155 echo $ECHO_N "(cached) $ECHO_C" >&6
14157 cat >conftest.
$ac_ext <<_ACEOF
14160 cat confdefs.h
>>conftest.
$ac_ext
14161 cat >>conftest.
$ac_ext <<_ACEOF
14162 /* end confdefs.h. */
14168 #ifndef __SUNPRO_CC
14176 rm -f conftest.
$ac_objext
14177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14178 (eval $ac_compile) 2>conftest.er1
14180 grep -v '^ *+' conftest.er1
>conftest.err
14182 cat conftest.err
>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); } &&
14185 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
14191 { ac_try
='test -s conftest.$ac_objext'
14192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14193 (eval $ac_try) 2>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); }; }; then
14197 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14199 echo "$as_me: failed program was:" >&5
14200 sed 's/^/| /' conftest.
$ac_ext >&5
14202 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14209 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14210 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14212 ac_cpp
='$CXXCPP $CPPFLAGS'
14213 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14214 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14215 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14217 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14231 ac_cpp
='$CPP $CPPFLAGS'
14232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14237 if test -n "$ac_tool_prefix"; then
14238 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14239 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14240 echo "$as_me:$LINENO: checking for $ac_word" >&5
14241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14242 if test "${ac_cv_prog_RANLIB+set}" = set; then
14243 echo $ECHO_N "(cached) $ECHO_C" >&6
14245 if test -n "$RANLIB"; then
14246 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14249 for as_dir
in $PATH
14252 test -z "$as_dir" && as_dir
=.
14253 for ac_exec_ext
in '' $ac_executable_extensions; do
14254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14255 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14264 RANLIB
=$ac_cv_prog_RANLIB
14265 if test -n "$RANLIB"; then
14266 echo "$as_me:$LINENO: result: $RANLIB" >&5
14267 echo "${ECHO_T}$RANLIB" >&6
14269 echo "$as_me:$LINENO: result: no" >&5
14270 echo "${ECHO_T}no" >&6
14274 if test -z "$ac_cv_prog_RANLIB"; then
14275 ac_ct_RANLIB
=$RANLIB
14276 # Extract the first word of "ranlib", so it can be a program name with args.
14277 set dummy ranlib
; ac_word
=$2
14278 echo "$as_me:$LINENO: checking for $ac_word" >&5
14279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14280 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14281 echo $ECHO_N "(cached) $ECHO_C" >&6
14283 if test -n "$ac_ct_RANLIB"; then
14284 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14287 for as_dir
in $PATH
14290 test -z "$as_dir" && as_dir
=.
14291 for ac_exec_ext
in '' $ac_executable_extensions; do
14292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14293 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14300 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14303 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14304 if test -n "$ac_ct_RANLIB"; then
14305 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14306 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14308 echo "$as_me:$LINENO: result: no" >&5
14309 echo "${ECHO_T}no" >&6
14312 RANLIB
=$ac_ct_RANLIB
14314 RANLIB
="$ac_cv_prog_RANLIB"
14318 if test -n "$ac_tool_prefix"; then
14319 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14320 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14321 echo "$as_me:$LINENO: checking for $ac_word" >&5
14322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14323 if test "${ac_cv_prog_AR+set}" = set; then
14324 echo $ECHO_N "(cached) $ECHO_C" >&6
14326 if test -n "$AR"; then
14327 ac_cv_prog_AR
="$AR" # Let the user override the test.
14329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14330 for as_dir
in $PATH
14333 test -z "$as_dir" && as_dir
=.
14334 for ac_exec_ext
in '' $ac_executable_extensions; do
14335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14336 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14346 if test -n "$AR"; then
14347 echo "$as_me:$LINENO: result: $AR" >&5
14348 echo "${ECHO_T}$AR" >&6
14350 echo "$as_me:$LINENO: result: no" >&5
14351 echo "${ECHO_T}no" >&6
14355 if test -z "$ac_cv_prog_AR"; then
14357 # Extract the first word of "ar", so it can be a program name with args.
14358 set dummy
ar; ac_word
=$2
14359 echo "$as_me:$LINENO: checking for $ac_word" >&5
14360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14361 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 if test -n "$ac_ct_AR"; then
14365 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14368 for as_dir
in $PATH
14371 test -z "$as_dir" && as_dir
=.
14372 for ac_exec_ext
in '' $ac_executable_extensions; do
14373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14374 ac_cv_prog_ac_ct_AR
="ar"
14375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14383 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14384 if test -n "$ac_ct_AR"; then
14385 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14386 echo "${ECHO_T}$ac_ct_AR" >&6
14388 echo "$as_me:$LINENO: result: no" >&5
14389 echo "${ECHO_T}no" >&6
14394 AR
="$ac_cv_prog_AR"
14397 if test "x$AR" = "x" ; then
14398 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14399 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14400 { (exit 1); exit 1; }; }
14403 # Find a good install program. We prefer a C program (faster),
14404 # so one script is as good as another. But avoid the broken or
14405 # incompatible versions:
14406 # SysV /etc/install, /usr/sbin/install
14407 # SunOS /usr/etc/install
14408 # IRIX /sbin/install
14410 # AmigaOS /C/install, which installs bootblocks on floppy discs
14411 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14412 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14413 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14414 # OS/2's system install, which has a completely different semantic
14415 # ./install, which can be erroneously created by make from ./install.sh.
14416 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14417 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14418 if test -z "$INSTALL"; then
14419 if test "${ac_cv_path_install+set}" = set; then
14420 echo $ECHO_N "(cached) $ECHO_C" >&6
14422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14423 for as_dir
in $PATH
14426 test -z "$as_dir" && as_dir
=.
14427 # Account for people who put trailing slashes in PATH elements.
14429 .
/ | .
// | /cC
/* | \
14430 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14431 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14434 # OSF1 and SCO ODT 3.0 have their own names for install.
14435 # Don't use installbsd from OSF since it installs stuff as root
14437 for ac_prog
in ginstall scoinst
install; do
14438 for ac_exec_ext
in '' $ac_executable_extensions; do
14439 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14440 if test $ac_prog = install &&
14441 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14442 # AIX install. It has an incompatible calling convention.
14444 elif test $ac_prog = install &&
14445 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14446 # program-specific install script used by HP pwplus--don't use.
14449 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14461 if test "${ac_cv_path_install+set}" = set; then
14462 INSTALL
=$ac_cv_path_install
14464 # As a last resort, use the slow shell script. We don't cache a
14465 # path for INSTALL within a source directory, because that will
14466 # break other packages using the cache if that directory is
14467 # removed, or if the path is relative.
14468 INSTALL
=$ac_install_sh
14471 echo "$as_me:$LINENO: result: $INSTALL" >&5
14472 echo "${ECHO_T}$INSTALL" >&6
14474 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14475 # It thinks the first close brace ends the variable substitution.
14476 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14478 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14480 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14486 ?
:* ) # Drive letter, considered as absolute.
14489 INSTALL
=`pwd`/${INSTALL} ;;
14496 INSTALL_PROGRAM
="cp -fp"
14497 INSTALL_DATA
="cp -fp"
14503 if test -n "$ac_tool_prefix"; then
14504 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14505 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14506 echo "$as_me:$LINENO: checking for $ac_word" >&5
14507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14508 if test "${ac_cv_prog_STRIP+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 if test -n "$STRIP"; then
14512 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14515 for as_dir
in $PATH
14518 test -z "$as_dir" && as_dir
=.
14519 for ac_exec_ext
in '' $ac_executable_extensions; do
14520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14521 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14530 STRIP
=$ac_cv_prog_STRIP
14531 if test -n "$STRIP"; then
14532 echo "$as_me:$LINENO: result: $STRIP" >&5
14533 echo "${ECHO_T}$STRIP" >&6
14535 echo "$as_me:$LINENO: result: no" >&5
14536 echo "${ECHO_T}no" >&6
14540 if test -z "$ac_cv_prog_STRIP"; then
14542 # Extract the first word of "strip", so it can be a program name with args.
14543 set dummy strip
; ac_word
=$2
14544 echo "$as_me:$LINENO: checking for $ac_word" >&5
14545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14546 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14547 echo $ECHO_N "(cached) $ECHO_C" >&6
14549 if test -n "$ac_ct_STRIP"; then
14550 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14553 for as_dir
in $PATH
14556 test -z "$as_dir" && as_dir
=.
14557 for ac_exec_ext
in '' $ac_executable_extensions; do
14558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14559 ac_cv_prog_ac_ct_STRIP
="strip"
14560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14566 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14569 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14570 if test -n "$ac_ct_STRIP"; then
14571 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14572 echo "${ECHO_T}$ac_ct_STRIP" >&6
14574 echo "$as_me:$LINENO: result: no" >&5
14575 echo "${ECHO_T}no" >&6
14580 STRIP
="$ac_cv_prog_STRIP"
14584 if test "$wxUSE_WINE" = "yes"; then
14585 if test -n "$ac_tool_prefix"; then
14586 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14587 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14588 echo "$as_me:$LINENO: checking for $ac_word" >&5
14589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14590 if test "${ac_cv_prog_WINDRES+set}" = set; then
14591 echo $ECHO_N "(cached) $ECHO_C" >&6
14593 if test -n "$WINDRES"; then
14594 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14597 for as_dir
in $PATH
14600 test -z "$as_dir" && as_dir
=.
14601 for ac_exec_ext
in '' $ac_executable_extensions; do
14602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14603 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
14604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14612 WINDRES
=$ac_cv_prog_WINDRES
14613 if test -n "$WINDRES"; then
14614 echo "$as_me:$LINENO: result: $WINDRES" >&5
14615 echo "${ECHO_T}$WINDRES" >&6
14617 echo "$as_me:$LINENO: result: no" >&5
14618 echo "${ECHO_T}no" >&6
14622 if test -z "$ac_cv_prog_WINDRES"; then
14623 ac_ct_WINDRES
=$WINDRES
14624 # Extract the first word of "wrc", so it can be a program name with args.
14625 set dummy wrc
; ac_word
=$2
14626 echo "$as_me:$LINENO: checking for $ac_word" >&5
14627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14631 if test -n "$ac_ct_WINDRES"; then
14632 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14635 for as_dir
in $PATH
14638 test -z "$as_dir" && as_dir
=.
14639 for ac_exec_ext
in '' $ac_executable_extensions; do
14640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14641 ac_cv_prog_ac_ct_WINDRES
="wrc"
14642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14650 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14651 if test -n "$ac_ct_WINDRES"; then
14652 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14653 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14655 echo "$as_me:$LINENO: result: no" >&5
14656 echo "${ECHO_T}no" >&6
14659 WINDRES
=$ac_ct_WINDRES
14661 WINDRES
="$ac_cv_prog_WINDRES"
14667 *-*-cygwin* | *-*-mingw32* )
14668 if test -n "$ac_tool_prefix"; then
14669 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14670 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14671 echo "$as_me:$LINENO: checking for $ac_word" >&5
14672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14673 if test "${ac_cv_prog_WINDRES+set}" = set; then
14674 echo $ECHO_N "(cached) $ECHO_C" >&6
14676 if test -n "$WINDRES"; then
14677 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14680 for as_dir
in $PATH
14683 test -z "$as_dir" && as_dir
=.
14684 for ac_exec_ext
in '' $ac_executable_extensions; do
14685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14686 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
14687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14695 WINDRES
=$ac_cv_prog_WINDRES
14696 if test -n "$WINDRES"; then
14697 echo "$as_me:$LINENO: result: $WINDRES" >&5
14698 echo "${ECHO_T}$WINDRES" >&6
14700 echo "$as_me:$LINENO: result: no" >&5
14701 echo "${ECHO_T}no" >&6
14705 if test -z "$ac_cv_prog_WINDRES"; then
14706 ac_ct_WINDRES
=$WINDRES
14707 # Extract the first word of "windres", so it can be a program name with args.
14708 set dummy windres
; ac_word
=$2
14709 echo "$as_me:$LINENO: checking for $ac_word" >&5
14710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14711 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14714 if test -n "$ac_ct_WINDRES"; then
14715 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14718 for as_dir
in $PATH
14721 test -z "$as_dir" && as_dir
=.
14722 for ac_exec_ext
in '' $ac_executable_extensions; do
14723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14724 ac_cv_prog_ac_ct_WINDRES
="windres"
14725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14733 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14734 if test -n "$ac_ct_WINDRES"; then
14735 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14736 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14738 echo "$as_me:$LINENO: result: no" >&5
14739 echo "${ECHO_T}no" >&6
14742 WINDRES
=$ac_ct_WINDRES
14744 WINDRES
="$ac_cv_prog_WINDRES"
14748 if test -n "$ac_tool_prefix"; then
14749 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14750 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14751 echo "$as_me:$LINENO: checking for $ac_word" >&5
14752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14753 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6
14756 if test -n "$DLLTOOL"; then
14757 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14760 for as_dir
in $PATH
14763 test -z "$as_dir" && as_dir
=.
14764 for ac_exec_ext
in '' $ac_executable_extensions; do
14765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14766 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14775 DLLTOOL
=$ac_cv_prog_DLLTOOL
14776 if test -n "$DLLTOOL"; then
14777 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14778 echo "${ECHO_T}$DLLTOOL" >&6
14780 echo "$as_me:$LINENO: result: no" >&5
14781 echo "${ECHO_T}no" >&6
14785 if test -z "$ac_cv_prog_DLLTOOL"; then
14786 ac_ct_DLLTOOL
=$DLLTOOL
14787 # Extract the first word of "dlltool", so it can be a program name with args.
14788 set dummy dlltool
; ac_word
=$2
14789 echo "$as_me:$LINENO: checking for $ac_word" >&5
14790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14791 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14792 echo $ECHO_N "(cached) $ECHO_C" >&6
14794 if test -n "$ac_ct_DLLTOOL"; then
14795 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14798 for as_dir
in $PATH
14801 test -z "$as_dir" && as_dir
=.
14802 for ac_exec_ext
in '' $ac_executable_extensions; do
14803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14804 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14813 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14814 if test -n "$ac_ct_DLLTOOL"; then
14815 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14816 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14818 echo "$as_me:$LINENO: result: no" >&5
14819 echo "${ECHO_T}no" >&6
14822 DLLTOOL
=$ac_ct_DLLTOOL
14824 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14831 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14832 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14833 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14834 echo $ECHO_N "(cached) $ECHO_C" >&6
14837 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14838 egrep -s GNU
> /dev
/null
); then
14839 wx_cv_prog_makeisgnu
="yes"
14841 wx_cv_prog_makeisgnu
="no"
14845 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14846 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14848 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14856 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14857 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14858 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14859 if test "${wx_cv_prog_makevpath+set}" = set; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14863 cat - << EOF > confMake
14869 if test ! -d sub
; then
14872 echo dummy
> sub
/file
14873 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14875 rm -f sub
/file check final_file confMake
14877 if test "$RESULT" = 0; then
14878 wx_cv_prog_makevpath
="yes"
14880 wx_cv_prog_makevpath
="no"
14884 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14885 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14887 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14888 { { echo "$as_me:$LINENO: error:
14889 You need a make-utility that is able to use the variable
14891 If your version of make does not support VPATH correctly,
14892 please install GNU-make (possibly as gmake), and start
14893 configure with the following command:
14894 export MAKE=gmake; ./configure for sh-type shells
14895 setenv MAKE gmake; ./configure for csh-type shells
14896 Also please do remember to use gmake in this case every time
14897 you are trying to compile.
14899 echo "$as_me: error:
14900 You need a make-utility that is able to use the variable
14902 If your version of make does not support VPATH correctly,
14903 please install GNU-make (possibly as gmake), and start
14904 configure with the following command:
14905 export MAKE=gmake; ./configure for sh-type shells
14906 setenv MAKE gmake; ./configure for csh-type shells
14907 Also please do remember to use gmake in this case every time
14908 you are trying to compile.
14910 { (exit 1); exit 1; }; }
14912 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14913 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14915 if test "$LN_S" = "ln -s"; then
14916 echo "$as_me:$LINENO: result: yes" >&5
14917 echo "${ECHO_T}yes" >&6
14919 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14920 echo "${ECHO_T}no, using $LN_S" >&6
14926 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14927 CXXFLAGS
="-qunique $CXXFLAGS"
14931 powerpc
-*-darwin* )
14932 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14933 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14934 cat >conftest.
$ac_ext <<_ACEOF
14937 cat confdefs.h
>>conftest.
$ac_ext
14938 cat >>conftest.
$ac_ext <<_ACEOF
14939 /* end confdefs.h. */
14944 #ifndef __POWERPC__
14945 choke me for lack of PowerPC
14952 rm -f conftest.
$ac_objext
14953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14954 (eval $ac_compile) 2>conftest.er1
14956 grep -v '^ *+' conftest.er1
>conftest.err
14958 cat conftest.err
>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); } &&
14961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; } &&
14967 { ac_try
='test -s conftest.$ac_objext'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; }; then
14973 echo "$as_me:$LINENO: result: yes" >&5
14974 echo "${ECHO_T}yes" >&6
14976 echo "$as_me: failed program was:" >&5
14977 sed 's/^/| /' conftest.
$ac_ext >&5
14979 echo "$as_me:$LINENO: result: no" >&5
14980 echo "${ECHO_T}no" >&6
14981 cat >>confdefs.h
<<\_ACEOF
14982 #define __POWERPC__ 1
14987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14993 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14994 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14995 cat >conftest.
$ac_ext <<_ACEOF
14998 cat confdefs.h
>>conftest.
$ac_ext
14999 cat >>conftest.
$ac_ext <<_ACEOF
15000 /* end confdefs.h. */
15001 #include <CoreFoundation/CFBase.h>
15011 rm -f conftest.
$ac_objext
15012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15013 (eval $ac_compile) 2>conftest.er1
15015 grep -v '^ *+' conftest.er1
>conftest.err
15017 cat conftest.err
>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); } &&
15020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15022 (eval $ac_try) 2>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); }; } &&
15026 { ac_try
='test -s conftest.$ac_objext'
15027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15028 (eval $ac_try) 2>&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); }; }; then
15032 echo "$as_me:$LINENO: result: yes" >&5
15033 echo "${ECHO_T}yes" >&6
15035 echo "$as_me: failed program was:" >&5
15036 sed 's/^/| /' conftest.
$ac_ext >&5
15038 echo "$as_me:$LINENO: result: no" >&5
15039 echo "${ECHO_T}no" >&6
15040 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15041 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15042 cat >conftest.
$ac_ext <<_ACEOF
15045 cat confdefs.h
>>conftest.
$ac_ext
15046 cat >>conftest.
$ac_ext <<_ACEOF
15047 /* end confdefs.h. */
15048 #define __CF_USE_FRAMEWORK_INCLUDES__
15049 #include <CoreFoundation/CFBase.h>
15059 rm -f conftest.
$ac_objext
15060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15061 (eval $ac_compile) 2>conftest.er1
15063 grep -v '^ *+' conftest.er1
>conftest.err
15065 cat conftest.err
>&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); } &&
15068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15070 (eval $ac_try) 2>&5
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); }; } &&
15074 { ac_try
='test -s conftest.$ac_objext'
15075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15076 (eval $ac_try) 2>&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }; }; then
15080 echo "$as_me:$LINENO: result: yes" >&5
15081 echo "${ECHO_T}yes" >&6
15082 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15084 echo "$as_me: failed program was:" >&5
15085 sed 's/^/| /' conftest.
$ac_ext >&5
15087 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15088 See \`config.log' for more details." >&5
15089 echo "$as_me: error: no. CoreFoundation not available.
15090 See \`config.log' for more details." >&2;}
15091 { (exit 1); exit 1; }; }
15094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15103 *-pc-os2_emx | *-pc-os2-emx )
15104 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15105 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15106 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15107 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15108 echo $ECHO_N "(cached) $ECHO_C" >&6
15110 ac_check_lib_save_LIBS
=$LIBS
15111 LIBS
="-lcExt $LIBS"
15112 cat >conftest.
$ac_ext <<_ACEOF
15115 cat confdefs.h
>>conftest.
$ac_ext
15116 cat >>conftest.
$ac_ext <<_ACEOF
15117 /* end confdefs.h. */
15119 /* Override any gcc2 internal prototype to avoid an error. */
15123 /* We use char because int might match the return type of a gcc2
15124 builtin and then its argument prototype would still apply. */
15134 rm -f conftest.
$ac_objext conftest
$ac_exeext
15135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15136 (eval $ac_link) 2>conftest.er1
15138 grep -v '^ *+' conftest.er1
>conftest.err
15140 cat conftest.err
>&5
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); } &&
15143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15145 (eval $ac_try) 2>&5
15147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148 (exit $ac_status); }; } &&
15149 { ac_try
='test -s conftest$ac_exeext'
15150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15151 (eval $ac_try) 2>&5
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); }; }; then
15155 ac_cv_lib_cExt_drand48
=yes
15157 echo "$as_me: failed program was:" >&5
15158 sed 's/^/| /' conftest.
$ac_ext >&5
15160 ac_cv_lib_cExt_drand48
=no
15162 rm -f conftest.err conftest.
$ac_objext \
15163 conftest
$ac_exeext conftest.
$ac_ext
15164 LIBS
=$ac_check_lib_save_LIBS
15166 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15167 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15168 if test $ac_cv_lib_cExt_drand48 = yes; then
15169 LIBS
="$LIBS -lcExt"
15173 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15175 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15176 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15177 if test "${wx_cv_gccversion+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15181 if test "$cross_compiling" = yes; then
15182 wx_cv_gccversion
="EMX2"
15185 cat >conftest.
$ac_ext <<_ACEOF
15188 cat confdefs.h
>>conftest.
$ac_ext
15189 cat >>conftest.
$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15196 FILE *f=fopen("conftestval", "w");
15201 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15203 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15213 rm -f conftest
$ac_exeext
15214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15215 (eval $ac_link) 2>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15220 (eval $ac_try) 2>&5
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); }; }; then
15224 wx_cv_gccversion
=`cat conftestval`
15226 echo "$as_me: program exited with status $ac_status" >&5
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.
$ac_ext >&5
15230 ( exit $ac_status )
15231 wx_cv_gccversion
="EMX2"
15233 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15237 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15238 echo "${ECHO_T}$wx_cv_gccversion" >&6
15239 if test "$wx_cv_gccversion" = "EMX2"; then
15240 LIBS
="$LIBS -lstdcpp"
15241 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15243 if test "$wx_cv_gccversion" = "EMX3"; then
15244 LIBS
="$LIBS -lstdcxx -lgcc"
15245 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15247 LIBS
="$LIBS -lstdc++"
15250 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15251 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15252 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15260 ac_cpp
='$CXXCPP $CPPFLAGS'
15261 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15262 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15263 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15266 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15267 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15268 if test "${ac_cv_string_strcasecmp+set}" = set; then
15269 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 cat >conftest.
$ac_ext <<_ACEOF
15275 cat confdefs.h
>>conftest.
$ac_ext
15276 cat >>conftest.
$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15279 #include <string.h>
15285 strcasecmp("foo", "bar");
15291 rm -f conftest.
$ac_objext conftest
$ac_exeext
15292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15293 (eval $ac_link) 2>conftest.er1
15295 grep -v '^ *+' conftest.er1
>conftest.err
15297 cat conftest.err
>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; } &&
15306 { ac_try
='test -s conftest$ac_exeext'
15307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15308 (eval $ac_try) 2>&5
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; }; then
15312 ac_cv_string_strcasecmp
=yes
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.
$ac_ext >&5
15317 ac_cv_string_strcasecmp
=no
15320 rm -f conftest.err conftest.
$ac_objext \
15321 conftest
$ac_exeext conftest.
$ac_ext
15324 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15325 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15327 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15328 cat >>confdefs.h
<<\_ACEOF
15329 #define HAVE_STRCASECMP_IN_STRING_H 1
15333 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15334 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15335 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15336 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 cat >conftest.
$ac_ext <<_ACEOF
15342 cat confdefs.h
>>conftest.
$ac_ext
15343 cat >>conftest.
$ac_ext <<_ACEOF
15344 /* end confdefs.h. */
15346 #include <strings.h>
15352 strcasecmp("foo", "bar");
15358 rm -f conftest.
$ac_objext conftest
$ac_exeext
15359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15360 (eval $ac_link) 2>conftest.er1
15362 grep -v '^ *+' conftest.er1
>conftest.err
15364 cat conftest.err
>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } &&
15367 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; } &&
15373 { ac_try
='test -s conftest$ac_exeext'
15374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15375 (eval $ac_try) 2>&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }; }; then
15379 ac_cv_strings_strcasecmp
=yes
15381 echo "$as_me: failed program was:" >&5
15382 sed 's/^/| /' conftest.
$ac_ext >&5
15384 ac_cv_strings_strcasecmp
=no
15387 rm -f conftest.err conftest.
$ac_objext \
15388 conftest
$ac_exeext conftest.
$ac_ext
15391 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15392 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15394 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15395 cat >>confdefs.h
<<\_ACEOF
15396 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15400 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15401 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15402 { (exit 1); exit 1; }; }
15407 ac_cpp
='$CPP $CPPFLAGS'
15408 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15409 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15410 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15416 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15417 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15418 if test "${ac_cv_header_stdc+set}" = set; then
15419 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 cat >conftest.
$ac_ext <<_ACEOF
15424 cat confdefs.h
>>conftest.
$ac_ext
15425 cat >>conftest.
$ac_ext <<_ACEOF
15426 /* end confdefs.h. */
15427 #include <stdlib.h>
15428 #include <stdarg.h>
15429 #include <string.h>
15440 rm -f conftest.
$ac_objext
15441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15442 (eval $ac_compile) 2>conftest.er1
15444 grep -v '^ *+' conftest.er1
>conftest.err
15446 cat conftest.err
>&5
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); } &&
15449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15451 (eval $ac_try) 2>&5
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); }; } &&
15455 { ac_try
='test -s conftest.$ac_objext'
15456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15457 (eval $ac_try) 2>&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; }; then
15461 ac_cv_header_stdc
=yes
15463 echo "$as_me: failed program was:" >&5
15464 sed 's/^/| /' conftest.
$ac_ext >&5
15466 ac_cv_header_stdc
=no
15468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15470 if test $ac_cv_header_stdc = yes; then
15471 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15472 cat >conftest.
$ac_ext <<_ACEOF
15475 cat confdefs.h
>>conftest.
$ac_ext
15476 cat >>conftest.
$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15478 #include <string.h>
15481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15482 $EGREP "memchr" >/dev
/null
2>&1; then
15485 ac_cv_header_stdc
=no
15491 if test $ac_cv_header_stdc = yes; then
15492 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15493 cat >conftest.
$ac_ext <<_ACEOF
15496 cat confdefs.h
>>conftest.
$ac_ext
15497 cat >>conftest.
$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15499 #include <stdlib.h>
15502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15503 $EGREP "free" >/dev
/null
2>&1; then
15506 ac_cv_header_stdc
=no
15512 if test $ac_cv_header_stdc = yes; then
15513 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15514 if test "$cross_compiling" = yes; then
15517 cat >conftest.
$ac_ext <<_ACEOF
15520 cat confdefs.h
>>conftest.
$ac_ext
15521 cat >>conftest.
$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15524 #if ((' ' & 0x0FF) == 0x020)
15525 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15526 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15528 # define ISLOWER(c) \
15529 (('a' <= (c) && (c) <= 'i') \
15530 || ('j' <= (c) && (c) <= 'r') \
15531 || ('s' <= (c) && (c) <= 'z'))
15532 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15535 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15540 for (i = 0; i < 256; i++)
15541 if (XOR (islower (i), ISLOWER (i))
15542 || toupper (i) != TOUPPER (i))
15547 rm -f conftest
$ac_exeext
15548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15549 (eval $ac_link) 2>&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15554 (eval $ac_try) 2>&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); }; }; then
15560 echo "$as_me: program exited with status $ac_status" >&5
15561 echo "$as_me: failed program was:" >&5
15562 sed 's/^/| /' conftest.
$ac_ext >&5
15564 ( exit $ac_status )
15565 ac_cv_header_stdc
=no
15567 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15571 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15572 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15573 if test $ac_cv_header_stdc = yes; then
15575 cat >>confdefs.h
<<\_ACEOF
15576 #define STDC_HEADERS 1
15581 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15591 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15592 inttypes.h stdint.h unistd.h
15594 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15595 echo "$as_me:$LINENO: checking for $ac_header" >&5
15596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15598 echo $ECHO_N "(cached) $ECHO_C" >&6
15600 cat >conftest.
$ac_ext <<_ACEOF
15603 cat confdefs.h
>>conftest.
$ac_ext
15604 cat >>conftest.
$ac_ext <<_ACEOF
15605 /* end confdefs.h. */
15606 $ac_includes_default
15608 #include <$ac_header>
15610 rm -f conftest.
$ac_objext
15611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15612 (eval $ac_compile) 2>conftest.er1
15614 grep -v '^ *+' conftest.er1
>conftest.err
15616 cat conftest.err
>&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); } &&
15619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15621 (eval $ac_try) 2>&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); }; } &&
15625 { ac_try
='test -s conftest.$ac_objext'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; }; then
15631 eval "$as_ac_Header=yes"
15633 echo "$as_me: failed program was:" >&5
15634 sed 's/^/| /' conftest.
$ac_ext >&5
15636 eval "$as_ac_Header=no"
15638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15643 cat >>confdefs.h
<<_ACEOF
15644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15653 for ac_header
in stdlib.h
15655 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15657 echo "$as_me:$LINENO: checking for $ac_header" >&5
15658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15660 echo $ECHO_N "(cached) $ECHO_C" >&6
15662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15665 # Is the header compilable?
15666 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15667 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15668 cat >conftest.
$ac_ext <<_ACEOF
15671 cat confdefs.h
>>conftest.
$ac_ext
15672 cat >>conftest.
$ac_ext <<_ACEOF
15673 /* end confdefs.h. */
15674 $ac_includes_default
15675 #include <$ac_header>
15677 rm -f conftest.
$ac_objext
15678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15679 (eval $ac_compile) 2>conftest.er1
15681 grep -v '^ *+' conftest.er1
>conftest.err
15683 cat conftest.err
>&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } &&
15686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; } &&
15692 { ac_try
='test -s conftest.$ac_objext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15698 ac_header_compiler
=yes
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.
$ac_ext >&5
15703 ac_header_compiler
=no
15705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15707 echo "${ECHO_T}$ac_header_compiler" >&6
15709 # Is the header present?
15710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15712 cat >conftest.
$ac_ext <<_ACEOF
15715 cat confdefs.h
>>conftest.
$ac_ext
15716 cat >>conftest.
$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718 #include <$ac_header>
15720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15721 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15723 grep -v '^ *+' conftest.er1
>conftest.err
15725 cat conftest.err
>&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } >/dev
/null
; then
15728 if test -s conftest.err
; then
15729 ac_cpp_err
=$ac_c_preproc_warn_flag
15730 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15737 if test -z "$ac_cpp_err"; then
15738 ac_header_preproc
=yes
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.
$ac_ext >&5
15743 ac_header_preproc
=no
15745 rm -f conftest.err conftest.
$ac_ext
15746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15747 echo "${ECHO_T}$ac_header_preproc" >&6
15749 # So? What about this header?
15750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15756 ac_header_preproc
=yes
15759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15773 ## ----------------------------------------- ##
15774 ## Report this to wx-dev@lists.wxwidgets.org ##
15775 ## ----------------------------------------- ##
15778 sed "s/^/$as_me: WARNING: /" >&2
15781 echo "$as_me:$LINENO: checking for $ac_header" >&5
15782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15784 echo $ECHO_N "(cached) $ECHO_C" >&6
15786 eval "$as_ac_Header=\$ac_header_preproc"
15788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15793 cat >>confdefs.h
<<_ACEOF
15794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15802 for ac_header
in malloc.h
15804 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15806 echo "$as_me:$LINENO: checking for $ac_header" >&5
15807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15809 echo $ECHO_N "(cached) $ECHO_C" >&6
15811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15814 # Is the header compilable?
15815 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15816 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15817 cat >conftest.
$ac_ext <<_ACEOF
15820 cat confdefs.h
>>conftest.
$ac_ext
15821 cat >>conftest.
$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15823 $ac_includes_default
15824 #include <$ac_header>
15826 rm -f conftest.
$ac_objext
15827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15828 (eval $ac_compile) 2>conftest.er1
15830 grep -v '^ *+' conftest.er1
>conftest.err
15832 cat conftest.err
>&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } &&
15835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15837 (eval $ac_try) 2>&5
15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); }; } &&
15841 { ac_try
='test -s conftest.$ac_objext'
15842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15843 (eval $ac_try) 2>&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); }; }; then
15847 ac_header_compiler
=yes
15849 echo "$as_me: failed program was:" >&5
15850 sed 's/^/| /' conftest.
$ac_ext >&5
15852 ac_header_compiler
=no
15854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15855 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15856 echo "${ECHO_T}$ac_header_compiler" >&6
15858 # Is the header present?
15859 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15860 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15861 cat >conftest.
$ac_ext <<_ACEOF
15864 cat confdefs.h
>>conftest.
$ac_ext
15865 cat >>conftest.
$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15867 #include <$ac_header>
15869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15870 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15872 grep -v '^ *+' conftest.er1
>conftest.err
15874 cat conftest.err
>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); } >/dev
/null
; then
15877 if test -s conftest.err
; then
15878 ac_cpp_err
=$ac_c_preproc_warn_flag
15879 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15886 if test -z "$ac_cpp_err"; then
15887 ac_header_preproc
=yes
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.
$ac_ext >&5
15892 ac_header_preproc
=no
15894 rm -f conftest.err conftest.
$ac_ext
15895 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15896 echo "${ECHO_T}$ac_header_preproc" >&6
15898 # So? What about this header?
15899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15901 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15902 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15904 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15905 ac_header_preproc
=yes
15908 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15910 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15911 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15912 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15913 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15914 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15915 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15918 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15919 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15922 ## ----------------------------------------- ##
15923 ## Report this to wx-dev@lists.wxwidgets.org ##
15924 ## ----------------------------------------- ##
15927 sed "s/^/$as_me: WARNING: /" >&2
15930 echo "$as_me:$LINENO: checking for $ac_header" >&5
15931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15935 eval "$as_ac_Header=\$ac_header_preproc"
15937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15942 cat >>confdefs.h
<<_ACEOF
15943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15951 for ac_header
in unistd.h
15953 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15955 echo "$as_me:$LINENO: checking for $ac_header" >&5
15956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15958 echo $ECHO_N "(cached) $ECHO_C" >&6
15960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15963 # Is the header compilable?
15964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15966 cat >conftest.
$ac_ext <<_ACEOF
15969 cat confdefs.h
>>conftest.
$ac_ext
15970 cat >>conftest.
$ac_ext <<_ACEOF
15971 /* end confdefs.h. */
15972 $ac_includes_default
15973 #include <$ac_header>
15975 rm -f conftest.
$ac_objext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15977 (eval $ac_compile) 2>conftest.er1
15979 grep -v '^ *+' conftest.er1
>conftest.err
15981 cat conftest.err
>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; } &&
15990 { ac_try
='test -s conftest.$ac_objext'
15991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992 (eval $ac_try) 2>&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); }; }; then
15996 ac_header_compiler
=yes
15998 echo "$as_me: failed program was:" >&5
15999 sed 's/^/| /' conftest.
$ac_ext >&5
16001 ac_header_compiler
=no
16003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16005 echo "${ECHO_T}$ac_header_compiler" >&6
16007 # Is the header present?
16008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16010 cat >conftest.
$ac_ext <<_ACEOF
16013 cat confdefs.h
>>conftest.
$ac_ext
16014 cat >>conftest.
$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16016 #include <$ac_header>
16018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16019 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16021 grep -v '^ *+' conftest.er1
>conftest.err
16023 cat conftest.err
>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); } >/dev
/null
; then
16026 if test -s conftest.err
; then
16027 ac_cpp_err
=$ac_c_preproc_warn_flag
16028 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16035 if test -z "$ac_cpp_err"; then
16036 ac_header_preproc
=yes
16038 echo "$as_me: failed program was:" >&5
16039 sed 's/^/| /' conftest.
$ac_ext >&5
16041 ac_header_preproc
=no
16043 rm -f conftest.err conftest.
$ac_ext
16044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16045 echo "${ECHO_T}$ac_header_preproc" >&6
16047 # So? What about this header?
16048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16053 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16054 ac_header_preproc
=yes
16057 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16058 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16059 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16060 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16061 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16062 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16063 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16064 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16067 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16068 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16071 ## ----------------------------------------- ##
16072 ## Report this to wx-dev@lists.wxwidgets.org ##
16073 ## ----------------------------------------- ##
16076 sed "s/^/$as_me: WARNING: /" >&2
16079 echo "$as_me:$LINENO: checking for $ac_header" >&5
16080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16082 echo $ECHO_N "(cached) $ECHO_C" >&6
16084 eval "$as_ac_Header=\$ac_header_preproc"
16086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16091 cat >>confdefs.h
<<_ACEOF
16092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16100 for ac_header
in wchar.h
16102 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16104 echo "$as_me:$LINENO: checking for $ac_header" >&5
16105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16107 echo $ECHO_N "(cached) $ECHO_C" >&6
16109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16112 # Is the header compilable?
16113 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16115 cat >conftest.
$ac_ext <<_ACEOF
16118 cat confdefs.h
>>conftest.
$ac_ext
16119 cat >>conftest.
$ac_ext <<_ACEOF
16120 /* end confdefs.h. */
16121 $ac_includes_default
16122 #include <$ac_header>
16124 rm -f conftest.
$ac_objext
16125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16126 (eval $ac_compile) 2>conftest.er1
16128 grep -v '^ *+' conftest.er1
>conftest.err
16130 cat conftest.err
>&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } &&
16133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16135 (eval $ac_try) 2>&5
16137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); }; } &&
16139 { ac_try
='test -s conftest.$ac_objext'
16140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16141 (eval $ac_try) 2>&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); }; }; then
16145 ac_header_compiler
=yes
16147 echo "$as_me: failed program was:" >&5
16148 sed 's/^/| /' conftest.
$ac_ext >&5
16150 ac_header_compiler
=no
16152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16153 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16154 echo "${ECHO_T}$ac_header_compiler" >&6
16156 # Is the header present?
16157 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16159 cat >conftest.
$ac_ext <<_ACEOF
16162 cat confdefs.h
>>conftest.
$ac_ext
16163 cat >>conftest.
$ac_ext <<_ACEOF
16164 /* end confdefs.h. */
16165 #include <$ac_header>
16167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16168 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16170 grep -v '^ *+' conftest.er1
>conftest.err
16172 cat conftest.err
>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); } >/dev
/null
; then
16175 if test -s conftest.err
; then
16176 ac_cpp_err
=$ac_c_preproc_warn_flag
16177 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16184 if test -z "$ac_cpp_err"; then
16185 ac_header_preproc
=yes
16187 echo "$as_me: failed program was:" >&5
16188 sed 's/^/| /' conftest.
$ac_ext >&5
16190 ac_header_preproc
=no
16192 rm -f conftest.err conftest.
$ac_ext
16193 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16194 echo "${ECHO_T}$ac_header_preproc" >&6
16196 # So? What about this header?
16197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16199 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16200 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16202 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16203 ac_header_preproc
=yes
16206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16210 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16211 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16212 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16213 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16216 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16220 ## ----------------------------------------- ##
16221 ## Report this to wx-dev@lists.wxwidgets.org ##
16222 ## ----------------------------------------- ##
16225 sed "s/^/$as_me: WARNING: /" >&2
16228 echo "$as_me:$LINENO: checking for $ac_header" >&5
16229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16231 echo $ECHO_N "(cached) $ECHO_C" >&6
16233 eval "$as_ac_Header=\$ac_header_preproc"
16235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16240 cat >>confdefs.h
<<_ACEOF
16241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16249 if test "$ac_cv_header_wchar_h" != "yes"; then
16251 for ac_header
in wcstr.h
16253 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16255 echo "$as_me:$LINENO: checking for $ac_header" >&5
16256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16258 echo $ECHO_N "(cached) $ECHO_C" >&6
16260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16263 # Is the header compilable?
16264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16266 cat >conftest.
$ac_ext <<_ACEOF
16269 cat confdefs.h
>>conftest.
$ac_ext
16270 cat >>conftest.
$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272 $ac_includes_default
16273 #include <$ac_header>
16275 rm -f conftest.
$ac_objext
16276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16277 (eval $ac_compile) 2>conftest.er1
16279 grep -v '^ *+' conftest.er1
>conftest.err
16281 cat conftest.err
>&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); } &&
16284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; } &&
16290 { ac_try
='test -s conftest.$ac_objext'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; }; then
16296 ac_header_compiler
=yes
16298 echo "$as_me: failed program was:" >&5
16299 sed 's/^/| /' conftest.
$ac_ext >&5
16301 ac_header_compiler
=no
16303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16305 echo "${ECHO_T}$ac_header_compiler" >&6
16307 # Is the header present?
16308 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16310 cat >conftest.
$ac_ext <<_ACEOF
16313 cat confdefs.h
>>conftest.
$ac_ext
16314 cat >>conftest.
$ac_ext <<_ACEOF
16315 /* end confdefs.h. */
16316 #include <$ac_header>
16318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16319 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16321 grep -v '^ *+' conftest.er1
>conftest.err
16323 cat conftest.err
>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } >/dev
/null
; then
16326 if test -s conftest.err
; then
16327 ac_cpp_err
=$ac_c_preproc_warn_flag
16328 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16335 if test -z "$ac_cpp_err"; then
16336 ac_header_preproc
=yes
16338 echo "$as_me: failed program was:" >&5
16339 sed 's/^/| /' conftest.
$ac_ext >&5
16341 ac_header_preproc
=no
16343 rm -f conftest.err conftest.
$ac_ext
16344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16345 echo "${ECHO_T}$ac_header_preproc" >&6
16347 # So? What about this header?
16348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16350 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16353 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16354 ac_header_preproc
=yes
16357 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16358 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16359 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16360 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16361 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16362 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16363 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16364 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16367 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16368 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16371 ## ----------------------------------------- ##
16372 ## Report this to wx-dev@lists.wxwidgets.org ##
16373 ## ----------------------------------------- ##
16376 sed "s/^/$as_me: WARNING: /" >&2
16379 echo "$as_me:$LINENO: checking for $ac_header" >&5
16380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16382 echo $ECHO_N "(cached) $ECHO_C" >&6
16384 eval "$as_ac_Header=\$ac_header_preproc"
16386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16391 cat >>confdefs.h
<<_ACEOF
16392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16402 for ac_header
in fnmatch.h
16404 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16406 echo "$as_me:$LINENO: checking for $ac_header" >&5
16407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16409 echo $ECHO_N "(cached) $ECHO_C" >&6
16411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16414 # Is the header compilable?
16415 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16416 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16417 cat >conftest.
$ac_ext <<_ACEOF
16420 cat confdefs.h
>>conftest.
$ac_ext
16421 cat >>conftest.
$ac_ext <<_ACEOF
16422 /* end confdefs.h. */
16423 $ac_includes_default
16424 #include <$ac_header>
16426 rm -f conftest.
$ac_objext
16427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16428 (eval $ac_compile) 2>conftest.er1
16430 grep -v '^ *+' conftest.er1
>conftest.err
16432 cat conftest.err
>&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); } &&
16435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16437 (eval $ac_try) 2>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); }; } &&
16441 { ac_try
='test -s conftest.$ac_objext'
16442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16443 (eval $ac_try) 2>&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); }; }; then
16447 ac_header_compiler
=yes
16449 echo "$as_me: failed program was:" >&5
16450 sed 's/^/| /' conftest.
$ac_ext >&5
16452 ac_header_compiler
=no
16454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16455 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16456 echo "${ECHO_T}$ac_header_compiler" >&6
16458 # Is the header present?
16459 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16460 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16461 cat >conftest.
$ac_ext <<_ACEOF
16464 cat confdefs.h
>>conftest.
$ac_ext
16465 cat >>conftest.
$ac_ext <<_ACEOF
16466 /* end confdefs.h. */
16467 #include <$ac_header>
16469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16470 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16472 grep -v '^ *+' conftest.er1
>conftest.err
16474 cat conftest.err
>&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); } >/dev
/null
; then
16477 if test -s conftest.err
; then
16478 ac_cpp_err
=$ac_c_preproc_warn_flag
16479 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16486 if test -z "$ac_cpp_err"; then
16487 ac_header_preproc
=yes
16489 echo "$as_me: failed program was:" >&5
16490 sed 's/^/| /' conftest.
$ac_ext >&5
16492 ac_header_preproc
=no
16494 rm -f conftest.err conftest.
$ac_ext
16495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16496 echo "${ECHO_T}$ac_header_preproc" >&6
16498 # So? What about this header?
16499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16501 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16502 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16503 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16504 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16505 ac_header_preproc
=yes
16508 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16509 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16510 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16511 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16512 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16513 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16514 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16515 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16517 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16518 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16519 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16522 ## ----------------------------------------- ##
16523 ## Report this to wx-dev@lists.wxwidgets.org ##
16524 ## ----------------------------------------- ##
16527 sed "s/^/$as_me: WARNING: /" >&2
16530 echo "$as_me:$LINENO: checking for $ac_header" >&5
16531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16535 eval "$as_ac_Header=\$ac_header_preproc"
16537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16542 cat >>confdefs.h
<<_ACEOF
16543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16552 for ac_header
in langinfo.h
16554 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16556 echo "$as_me:$LINENO: checking for $ac_header" >&5
16557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16559 echo $ECHO_N "(cached) $ECHO_C" >&6
16561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16564 # Is the header compilable?
16565 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16566 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16567 cat >conftest.
$ac_ext <<_ACEOF
16570 cat confdefs.h
>>conftest.
$ac_ext
16571 cat >>conftest.
$ac_ext <<_ACEOF
16572 /* end confdefs.h. */
16573 $ac_includes_default
16574 #include <$ac_header>
16576 rm -f conftest.
$ac_objext
16577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16578 (eval $ac_compile) 2>conftest.er1
16580 grep -v '^ *+' conftest.er1
>conftest.err
16582 cat conftest.err
>&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); } &&
16585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; } &&
16591 { ac_try
='test -s conftest.$ac_objext'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; }; then
16597 ac_header_compiler
=yes
16599 echo "$as_me: failed program was:" >&5
16600 sed 's/^/| /' conftest.
$ac_ext >&5
16602 ac_header_compiler
=no
16604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16605 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16606 echo "${ECHO_T}$ac_header_compiler" >&6
16608 # Is the header present?
16609 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16610 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16611 cat >conftest.
$ac_ext <<_ACEOF
16614 cat confdefs.h
>>conftest.
$ac_ext
16615 cat >>conftest.
$ac_ext <<_ACEOF
16616 /* end confdefs.h. */
16617 #include <$ac_header>
16619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16620 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16622 grep -v '^ *+' conftest.er1
>conftest.err
16624 cat conftest.err
>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); } >/dev
/null
; then
16627 if test -s conftest.err
; then
16628 ac_cpp_err
=$ac_c_preproc_warn_flag
16629 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16636 if test -z "$ac_cpp_err"; then
16637 ac_header_preproc
=yes
16639 echo "$as_me: failed program was:" >&5
16640 sed 's/^/| /' conftest.
$ac_ext >&5
16642 ac_header_preproc
=no
16644 rm -f conftest.err conftest.
$ac_ext
16645 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16646 echo "${ECHO_T}$ac_header_preproc" >&6
16648 # So? What about this header?
16649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16651 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16652 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16654 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16655 ac_header_preproc
=yes
16658 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16659 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16660 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16661 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16662 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16663 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16664 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16665 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16668 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16669 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16672 ## ----------------------------------------- ##
16673 ## Report this to wx-dev@lists.wxwidgets.org ##
16674 ## ----------------------------------------- ##
16677 sed "s/^/$as_me: WARNING: /" >&2
16680 echo "$as_me:$LINENO: checking for $ac_header" >&5
16681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16683 echo $ECHO_N "(cached) $ECHO_C" >&6
16685 eval "$as_ac_Header=\$ac_header_preproc"
16687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16692 cat >>confdefs.h
<<_ACEOF
16693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16702 *-pc-os2_emx | *-pc-os2-emx )
16703 if test $ac_cv_header_langinfo_h = "yes" \
16704 -a \
( "$wx_cv_gccversion" = "EMX2" \
16705 -o "$wx_cv_gccversion" = "EMX3" \
16706 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16707 LIBS
="$LIBS -lintl"
16713 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16714 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16715 if test "${ac_cv_c_const+set}" = set; then
16716 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 cat >conftest.
$ac_ext <<_ACEOF
16721 cat confdefs.h
>>conftest.
$ac_ext
16722 cat >>conftest.
$ac_ext <<_ACEOF
16723 /* end confdefs.h. */
16728 /* FIXME: Include the comments suggested by Paul. */
16729 #ifndef __cplusplus
16730 /* Ultrix mips cc rejects this. */
16731 typedef int charset[2];
16733 /* SunOS 4.1.1 cc rejects this. */
16734 char const *const *ccp;
16736 /* NEC SVR4.0.2 mips cc rejects this. */
16737 struct point {int x, y;};
16738 static struct point const zero = {0,0};
16739 /* AIX XL C 1.02.0.0 rejects this.
16740 It does not let you subtract one const X* pointer from another in
16741 an arm of an if-expression whose if-part is not a constant
16743 const char *g = "string";
16744 ccp = &g + (g ? g-g : 0);
16745 /* HPUX 7.0 cc rejects these. */
16748 ccp = (char const *const *) p;
16749 { /* SCO 3.2v4 cc rejects this. */
16751 char const *s = 0 ? (char *) 0 : (char const *) 0;
16755 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16756 int x[] = {25, 17};
16757 const int *foo = &x[0];
16760 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16761 typedef const int *iptr;
16765 { /* AIX XL C 1.02.0.0 rejects this saying
16766 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16767 struct s { int j; const int *ap[3]; };
16768 struct s *b; b->j = 5;
16770 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16771 const int foo = 10;
16779 rm -f conftest.
$ac_objext
16780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16781 (eval $ac_compile) 2>conftest.er1
16783 grep -v '^ *+' conftest.er1
>conftest.err
16785 cat conftest.err
>&5
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); } &&
16788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16790 (eval $ac_try) 2>&5
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); }; } &&
16794 { ac_try
='test -s conftest.$ac_objext'
16795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16796 (eval $ac_try) 2>&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); }; }; then
16802 echo "$as_me: failed program was:" >&5
16803 sed 's/^/| /' conftest.
$ac_ext >&5
16807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16809 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16810 echo "${ECHO_T}$ac_cv_c_const" >&6
16811 if test $ac_cv_c_const = no
; then
16813 cat >>confdefs.h
<<\_ACEOF
16819 echo "$as_me:$LINENO: checking for inline" >&5
16820 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16821 if test "${ac_cv_c_inline+set}" = set; then
16822 echo $ECHO_N "(cached) $ECHO_C" >&6
16825 for ac_kw
in inline __inline__ __inline
; do
16826 cat >conftest.
$ac_ext <<_ACEOF
16829 cat confdefs.h
>>conftest.
$ac_ext
16830 cat >>conftest.
$ac_ext <<_ACEOF
16831 /* end confdefs.h. */
16832 #ifndef __cplusplus
16834 static $ac_kw foo_t static_foo () {return 0; }
16835 $ac_kw foo_t foo () {return 0; }
16839 rm -f conftest.
$ac_objext
16840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16841 (eval $ac_compile) 2>conftest.er1
16843 grep -v '^ *+' conftest.er1
>conftest.err
16845 cat conftest.err
>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); } &&
16848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16850 (eval $ac_try) 2>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; } &&
16854 { ac_try
='test -s conftest.$ac_objext'
16855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16856 (eval $ac_try) 2>&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); }; }; then
16860 ac_cv_c_inline
=$ac_kw; break
16862 echo "$as_me: failed program was:" >&5
16863 sed 's/^/| /' conftest.
$ac_ext >&5
16866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16870 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16871 echo "${ECHO_T}$ac_cv_c_inline" >&6
16874 case $ac_cv_c_inline in
16877 case $ac_cv_c_inline in
16879 *) ac_val
=$ac_cv_c_inline;;
16881 cat >>confdefs.h
<<_ACEOF
16882 #ifndef __cplusplus
16883 #define inline $ac_val
16890 echo "$as_me:$LINENO: checking for char" >&5
16891 echo $ECHO_N "checking for char... $ECHO_C" >&6
16892 if test "${ac_cv_type_char+set}" = set; then
16893 echo $ECHO_N "(cached) $ECHO_C" >&6
16895 cat >conftest.
$ac_ext <<_ACEOF
16898 cat confdefs.h
>>conftest.
$ac_ext
16899 cat >>conftest.
$ac_ext <<_ACEOF
16900 /* end confdefs.h. */
16901 $ac_includes_default
16913 rm -f conftest.
$ac_objext
16914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16915 (eval $ac_compile) 2>conftest.er1
16917 grep -v '^ *+' conftest.er1
>conftest.err
16919 cat conftest.err
>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); } &&
16922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; } &&
16928 { ac_try
='test -s conftest.$ac_objext'
16929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 (eval $ac_try) 2>&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; }; then
16934 ac_cv_type_char
=yes
16936 echo "$as_me: failed program was:" >&5
16937 sed 's/^/| /' conftest.
$ac_ext >&5
16941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16943 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16944 echo "${ECHO_T}$ac_cv_type_char" >&6
16946 echo "$as_me:$LINENO: checking size of char" >&5
16947 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16948 if test "${ac_cv_sizeof_char+set}" = set; then
16949 echo $ECHO_N "(cached) $ECHO_C" >&6
16951 if test "$ac_cv_type_char" = yes; then
16952 # The cast to unsigned long works around a bug in the HP C Compiler
16953 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16954 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16955 # This bug is HP SR number 8606223364.
16956 if test "$cross_compiling" = yes; then
16957 # Depending upon the size, compute the lo and hi bounds.
16958 cat >conftest.
$ac_ext <<_ACEOF
16961 cat confdefs.h
>>conftest.
$ac_ext
16962 cat >>conftest.
$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16964 $ac_includes_default
16968 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16975 rm -f conftest.
$ac_objext
16976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16977 (eval $ac_compile) 2>conftest.er1
16979 grep -v '^ *+' conftest.er1
>conftest.err
16981 cat conftest.err
>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } &&
16984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16986 (eval $ac_try) 2>&5
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); }; } &&
16990 { ac_try
='test -s conftest.$ac_objext'
16991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16992 (eval $ac_try) 2>&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); }; }; then
16998 cat >conftest.
$ac_ext <<_ACEOF
17001 cat confdefs.h
>>conftest.
$ac_ext
17002 cat >>conftest.
$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17004 $ac_includes_default
17008 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17015 rm -f conftest.
$ac_objext
17016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17017 (eval $ac_compile) 2>conftest.er1
17019 grep -v '^ *+' conftest.er1
>conftest.err
17021 cat conftest.err
>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); } &&
17024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17026 (eval $ac_try) 2>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); }; } &&
17030 { ac_try
='test -s conftest.$ac_objext'
17031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17032 (eval $ac_try) 2>&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; }; then
17036 ac_hi
=$ac_mid; break
17038 echo "$as_me: failed program was:" >&5
17039 sed 's/^/| /' conftest.
$ac_ext >&5
17041 ac_lo
=`expr $ac_mid + 1`
17042 if test $ac_lo -le $ac_mid; then
17046 ac_mid
=`expr 2 '*' $ac_mid + 1`
17048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17051 echo "$as_me: failed program was:" >&5
17052 sed 's/^/| /' conftest.
$ac_ext >&5
17054 cat >conftest.
$ac_ext <<_ACEOF
17057 cat confdefs.h
>>conftest.
$ac_ext
17058 cat >>conftest.
$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17060 $ac_includes_default
17064 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17071 rm -f conftest.
$ac_objext
17072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17073 (eval $ac_compile) 2>conftest.er1
17075 grep -v '^ *+' conftest.er1
>conftest.err
17077 cat conftest.err
>&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } &&
17080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17082 (eval $ac_try) 2>&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); }; } &&
17086 { ac_try
='test -s conftest.$ac_objext'
17087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17088 (eval $ac_try) 2>&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); }; }; then
17094 cat >conftest.
$ac_ext <<_ACEOF
17097 cat confdefs.h
>>conftest.
$ac_ext
17098 cat >>conftest.
$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 $ac_includes_default
17104 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17111 rm -f conftest.
$ac_objext
17112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17113 (eval $ac_compile) 2>conftest.er1
17115 grep -v '^ *+' conftest.er1
>conftest.err
17117 cat conftest.err
>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } &&
17120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; } &&
17126 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17132 ac_lo
=$ac_mid; break
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.
$ac_ext >&5
17137 ac_hi
=`expr '(' $ac_mid ')' - 1`
17138 if test $ac_mid -le $ac_hi; then
17142 ac_mid
=`expr 2 '*' $ac_mid`
17144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17147 echo "$as_me: failed program was:" >&5
17148 sed 's/^/| /' conftest.
$ac_ext >&5
17152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17155 # Binary search between lo and hi bounds.
17156 while test "x$ac_lo" != "x$ac_hi"; do
17157 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17158 cat >conftest.
$ac_ext <<_ACEOF
17161 cat confdefs.h
>>conftest.
$ac_ext
17162 cat >>conftest.
$ac_ext <<_ACEOF
17163 /* end confdefs.h. */
17164 $ac_includes_default
17168 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17175 rm -f conftest.
$ac_objext
17176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17177 (eval $ac_compile) 2>conftest.er1
17179 grep -v '^ *+' conftest.er1
>conftest.err
17181 cat conftest.err
>&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); } &&
17184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17186 (eval $ac_try) 2>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); }; } &&
17190 { ac_try
='test -s conftest.$ac_objext'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; }; then
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.
$ac_ext >&5
17201 ac_lo
=`expr '(' $ac_mid ')' + 1`
17203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17206 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17207 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17208 See \`config.log' for more details." >&5
17209 echo "$as_me: error: cannot compute sizeof (char), 77
17210 See \`config.log' for more details." >&2;}
17211 { (exit 1); exit 1; }; } ;;
17214 if test "$cross_compiling" = yes; then
17215 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17216 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17217 { (exit 1); exit 1; }; }
17219 cat >conftest.
$ac_ext <<_ACEOF
17222 cat confdefs.h
>>conftest.
$ac_ext
17223 cat >>conftest.
$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17225 $ac_includes_default
17226 long longval () { return (long) (sizeof (char)); }
17227 unsigned long ulongval () { return (long) (sizeof (char)); }
17229 #include <stdlib.h>
17234 FILE *f = fopen ("conftest.val", "w");
17237 if (((long) (sizeof (char))) < 0)
17239 long i = longval ();
17240 if (i != ((long) (sizeof (char))))
17242 fprintf (f, "%ld\n", i);
17246 unsigned long i = ulongval ();
17247 if (i != ((long) (sizeof (char))))
17249 fprintf (f, "%lu\n", i);
17251 exit (ferror (f) || fclose (f) != 0);
17257 rm -f conftest
$ac_exeext
17258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17259 (eval $ac_link) 2>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; }; then
17268 ac_cv_sizeof_char
=`cat conftest.val`
17270 echo "$as_me: program exited with status $ac_status" >&5
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.
$ac_ext >&5
17274 ( exit $ac_status )
17275 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17276 See \`config.log' for more details." >&5
17277 echo "$as_me: error: cannot compute sizeof (char), 77
17278 See \`config.log' for more details." >&2;}
17279 { (exit 1); exit 1; }; }
17281 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17286 ac_cv_sizeof_char
=0
17289 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17290 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17291 cat >>confdefs.h
<<_ACEOF
17292 #define SIZEOF_CHAR $ac_cv_sizeof_char
17296 echo "$as_me:$LINENO: checking for short" >&5
17297 echo $ECHO_N "checking for short... $ECHO_C" >&6
17298 if test "${ac_cv_type_short+set}" = set; then
17299 echo $ECHO_N "(cached) $ECHO_C" >&6
17301 cat >conftest.
$ac_ext <<_ACEOF
17304 cat confdefs.h
>>conftest.
$ac_ext
17305 cat >>conftest.
$ac_ext <<_ACEOF
17306 /* end confdefs.h. */
17307 $ac_includes_default
17313 if (sizeof (short))
17319 rm -f conftest.
$ac_objext
17320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17321 (eval $ac_compile) 2>conftest.er1
17323 grep -v '^ *+' conftest.er1
>conftest.err
17325 cat conftest.err
>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } &&
17328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330 (eval $ac_try) 2>&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); }; } &&
17334 { ac_try
='test -s conftest.$ac_objext'
17335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17336 (eval $ac_try) 2>&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); }; }; then
17340 ac_cv_type_short
=yes
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.
$ac_ext >&5
17345 ac_cv_type_short
=no
17347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17349 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17350 echo "${ECHO_T}$ac_cv_type_short" >&6
17352 echo "$as_me:$LINENO: checking size of short" >&5
17353 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17354 if test "${ac_cv_sizeof_short+set}" = set; then
17355 echo $ECHO_N "(cached) $ECHO_C" >&6
17357 if test "$ac_cv_type_short" = yes; then
17358 # The cast to unsigned long works around a bug in the HP C Compiler
17359 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17360 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17361 # This bug is HP SR number 8606223364.
17362 if test "$cross_compiling" = yes; then
17363 # Depending upon the size, compute the lo and hi bounds.
17364 cat >conftest.
$ac_ext <<_ACEOF
17367 cat confdefs.h
>>conftest.
$ac_ext
17368 cat >>conftest.
$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17370 $ac_includes_default
17374 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17381 rm -f conftest.
$ac_objext
17382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17383 (eval $ac_compile) 2>conftest.er1
17385 grep -v '^ *+' conftest.er1
>conftest.err
17387 cat conftest.err
>&5
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); } &&
17390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17392 (eval $ac_try) 2>&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); }; } &&
17396 { ac_try
='test -s conftest.$ac_objext'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; }; then
17404 cat >conftest.
$ac_ext <<_ACEOF
17407 cat confdefs.h
>>conftest.
$ac_ext
17408 cat >>conftest.
$ac_ext <<_ACEOF
17409 /* end confdefs.h. */
17410 $ac_includes_default
17414 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17421 rm -f conftest.
$ac_objext
17422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17423 (eval $ac_compile) 2>conftest.er1
17425 grep -v '^ *+' conftest.er1
>conftest.err
17427 cat conftest.err
>&5
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); } &&
17430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432 (eval $ac_try) 2>&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); }; } &&
17436 { ac_try
='test -s conftest.$ac_objext'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; }; then
17442 ac_hi
=$ac_mid; break
17444 echo "$as_me: failed program was:" >&5
17445 sed 's/^/| /' conftest.
$ac_ext >&5
17447 ac_lo
=`expr $ac_mid + 1`
17448 if test $ac_lo -le $ac_mid; then
17452 ac_mid
=`expr 2 '*' $ac_mid + 1`
17454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17457 echo "$as_me: failed program was:" >&5
17458 sed 's/^/| /' conftest.
$ac_ext >&5
17460 cat >conftest.
$ac_ext <<_ACEOF
17463 cat confdefs.h
>>conftest.
$ac_ext
17464 cat >>conftest.
$ac_ext <<_ACEOF
17465 /* end confdefs.h. */
17466 $ac_includes_default
17470 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17477 rm -f conftest.
$ac_objext
17478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17479 (eval $ac_compile) 2>conftest.er1
17481 grep -v '^ *+' conftest.er1
>conftest.err
17483 cat conftest.err
>&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } &&
17486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17488 (eval $ac_try) 2>&5
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); }; } &&
17492 { ac_try
='test -s conftest.$ac_objext'
17493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17494 (eval $ac_try) 2>&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); }; }; then
17500 cat >conftest.
$ac_ext <<_ACEOF
17503 cat confdefs.h
>>conftest.
$ac_ext
17504 cat >>conftest.
$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17506 $ac_includes_default
17510 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17517 rm -f conftest.
$ac_objext
17518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17519 (eval $ac_compile) 2>conftest.er1
17521 grep -v '^ *+' conftest.er1
>conftest.err
17523 cat conftest.err
>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; } &&
17532 { ac_try
='test -s conftest.$ac_objext'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; }; then
17538 ac_lo
=$ac_mid; break
17540 echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.
$ac_ext >&5
17543 ac_hi
=`expr '(' $ac_mid ')' - 1`
17544 if test $ac_mid -le $ac_hi; then
17548 ac_mid
=`expr 2 '*' $ac_mid`
17550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.
$ac_ext >&5
17558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17561 # Binary search between lo and hi bounds.
17562 while test "x$ac_lo" != "x$ac_hi"; do
17563 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17564 cat >conftest.
$ac_ext <<_ACEOF
17567 cat confdefs.h
>>conftest.
$ac_ext
17568 cat >>conftest.
$ac_ext <<_ACEOF
17569 /* end confdefs.h. */
17570 $ac_includes_default
17574 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17581 rm -f conftest.
$ac_objext
17582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17583 (eval $ac_compile) 2>conftest.er1
17585 grep -v '^ *+' conftest.er1
>conftest.err
17587 cat conftest.err
>&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } &&
17590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17592 (eval $ac_try) 2>&5
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); }; } &&
17596 { ac_try
='test -s conftest.$ac_objext'
17597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17598 (eval $ac_try) 2>&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); }; }; then
17604 echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.
$ac_ext >&5
17607 ac_lo
=`expr '(' $ac_mid ')' + 1`
17609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17612 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17613 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17614 See \`config.log' for more details." >&5
17615 echo "$as_me: error: cannot compute sizeof (short), 77
17616 See \`config.log' for more details." >&2;}
17617 { (exit 1); exit 1; }; } ;;
17620 if test "$cross_compiling" = yes; then
17621 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17622 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17623 { (exit 1); exit 1; }; }
17625 cat >conftest.
$ac_ext <<_ACEOF
17628 cat confdefs.h
>>conftest.
$ac_ext
17629 cat >>conftest.
$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 $ac_includes_default
17632 long longval () { return (long) (sizeof (short)); }
17633 unsigned long ulongval () { return (long) (sizeof (short)); }
17635 #include <stdlib.h>
17640 FILE *f = fopen ("conftest.val", "w");
17643 if (((long) (sizeof (short))) < 0)
17645 long i = longval ();
17646 if (i != ((long) (sizeof (short))))
17648 fprintf (f, "%ld\n", i);
17652 unsigned long i = ulongval ();
17653 if (i != ((long) (sizeof (short))))
17655 fprintf (f, "%lu\n", i);
17657 exit (ferror (f) || fclose (f) != 0);
17663 rm -f conftest
$ac_exeext
17664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17665 (eval $ac_link) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17670 (eval $ac_try) 2>&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); }; }; then
17674 ac_cv_sizeof_short
=`cat conftest.val`
17676 echo "$as_me: program exited with status $ac_status" >&5
17677 echo "$as_me: failed program was:" >&5
17678 sed 's/^/| /' conftest.
$ac_ext >&5
17680 ( exit $ac_status )
17681 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17682 See \`config.log' for more details." >&5
17683 echo "$as_me: error: cannot compute sizeof (short), 77
17684 See \`config.log' for more details." >&2;}
17685 { (exit 1); exit 1; }; }
17687 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17692 ac_cv_sizeof_short
=0
17695 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17696 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17697 cat >>confdefs.h
<<_ACEOF
17698 #define SIZEOF_SHORT $ac_cv_sizeof_short
17702 echo "$as_me:$LINENO: checking for void *" >&5
17703 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17704 if test "${ac_cv_type_void_p+set}" = set; then
17705 echo $ECHO_N "(cached) $ECHO_C" >&6
17707 cat >conftest.
$ac_ext <<_ACEOF
17710 cat confdefs.h
>>conftest.
$ac_ext
17711 cat >>conftest.
$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713 $ac_includes_default
17719 if (sizeof (void *))
17725 rm -f conftest.
$ac_objext
17726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17727 (eval $ac_compile) 2>conftest.er1
17729 grep -v '^ *+' conftest.er1
>conftest.err
17731 cat conftest.err
>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); } &&
17734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17736 (eval $ac_try) 2>&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); }; } &&
17740 { ac_try
='test -s conftest.$ac_objext'
17741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17742 (eval $ac_try) 2>&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; }; then
17746 ac_cv_type_void_p
=yes
17748 echo "$as_me: failed program was:" >&5
17749 sed 's/^/| /' conftest.
$ac_ext >&5
17751 ac_cv_type_void_p
=no
17753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17755 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17756 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17758 echo "$as_me:$LINENO: checking size of void *" >&5
17759 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17760 if test "${ac_cv_sizeof_void_p+set}" = set; then
17761 echo $ECHO_N "(cached) $ECHO_C" >&6
17763 if test "$ac_cv_type_void_p" = yes; then
17764 # The cast to unsigned long works around a bug in the HP C Compiler
17765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17766 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17767 # This bug is HP SR number 8606223364.
17768 if test "$cross_compiling" = yes; then
17769 # Depending upon the size, compute the lo and hi bounds.
17770 cat >conftest.
$ac_ext <<_ACEOF
17773 cat confdefs.h
>>conftest.
$ac_ext
17774 cat >>conftest.
$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17776 $ac_includes_default
17780 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17787 rm -f conftest.
$ac_objext
17788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17789 (eval $ac_compile) 2>conftest.er1
17791 grep -v '^ *+' conftest.er1
>conftest.err
17793 cat conftest.err
>&5
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); } &&
17796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; } &&
17802 { ac_try
='test -s conftest.$ac_objext'
17803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17804 (eval $ac_try) 2>&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); }; }; then
17810 cat >conftest.
$ac_ext <<_ACEOF
17813 cat confdefs.h
>>conftest.
$ac_ext
17814 cat >>conftest.
$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17816 $ac_includes_default
17820 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17827 rm -f conftest.
$ac_objext
17828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17829 (eval $ac_compile) 2>conftest.er1
17831 grep -v '^ *+' conftest.er1
>conftest.err
17833 cat conftest.err
>&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); } &&
17836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17838 (eval $ac_try) 2>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); }; } &&
17842 { ac_try
='test -s conftest.$ac_objext'
17843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17844 (eval $ac_try) 2>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; }; then
17848 ac_hi
=$ac_mid; break
17850 echo "$as_me: failed program was:" >&5
17851 sed 's/^/| /' conftest.
$ac_ext >&5
17853 ac_lo
=`expr $ac_mid + 1`
17854 if test $ac_lo -le $ac_mid; then
17858 ac_mid
=`expr 2 '*' $ac_mid + 1`
17860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17863 echo "$as_me: failed program was:" >&5
17864 sed 's/^/| /' conftest.
$ac_ext >&5
17866 cat >conftest.
$ac_ext <<_ACEOF
17869 cat confdefs.h
>>conftest.
$ac_ext
17870 cat >>conftest.
$ac_ext <<_ACEOF
17871 /* end confdefs.h. */
17872 $ac_includes_default
17876 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17883 rm -f conftest.
$ac_objext
17884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17885 (eval $ac_compile) 2>conftest.er1
17887 grep -v '^ *+' conftest.er1
>conftest.err
17889 cat conftest.err
>&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); } &&
17892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17894 (eval $ac_try) 2>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; } &&
17898 { ac_try
='test -s conftest.$ac_objext'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; }; then
17906 cat >conftest.
$ac_ext <<_ACEOF
17909 cat confdefs.h
>>conftest.
$ac_ext
17910 cat >>conftest.
$ac_ext <<_ACEOF
17911 /* end confdefs.h. */
17912 $ac_includes_default
17916 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17923 rm -f conftest.
$ac_objext
17924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17925 (eval $ac_compile) 2>conftest.er1
17927 grep -v '^ *+' conftest.er1
>conftest.err
17929 cat conftest.err
>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); } &&
17932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934 (eval $ac_try) 2>&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; } &&
17938 { ac_try
='test -s conftest.$ac_objext'
17939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17940 (eval $ac_try) 2>&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); }; }; then
17944 ac_lo
=$ac_mid; break
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.
$ac_ext >&5
17949 ac_hi
=`expr '(' $ac_mid ')' - 1`
17950 if test $ac_mid -le $ac_hi; then
17954 ac_mid
=`expr 2 '*' $ac_mid`
17956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.
$ac_ext >&5
17964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17967 # Binary search between lo and hi bounds.
17968 while test "x$ac_lo" != "x$ac_hi"; do
17969 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17970 cat >conftest.
$ac_ext <<_ACEOF
17973 cat confdefs.h
>>conftest.
$ac_ext
17974 cat >>conftest.
$ac_ext <<_ACEOF
17975 /* end confdefs.h. */
17976 $ac_includes_default
17980 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17987 rm -f conftest.
$ac_objext
17988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17989 (eval $ac_compile) 2>conftest.er1
17991 grep -v '^ *+' conftest.er1
>conftest.err
17993 cat conftest.err
>&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } &&
17996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998 (eval $ac_try) 2>&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; } &&
18002 { ac_try
='test -s conftest.$ac_objext'
18003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004 (eval $ac_try) 2>&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; }; then
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.
$ac_ext >&5
18013 ac_lo
=`expr '(' $ac_mid ')' + 1`
18015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18018 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18019 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18020 See \`config.log' for more details." >&5
18021 echo "$as_me: error: cannot compute sizeof (void *), 77
18022 See \`config.log' for more details." >&2;}
18023 { (exit 1); exit 1; }; } ;;
18026 if test "$cross_compiling" = yes; then
18027 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18028 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18029 { (exit 1); exit 1; }; }
18031 cat >conftest.
$ac_ext <<_ACEOF
18034 cat confdefs.h
>>conftest.
$ac_ext
18035 cat >>conftest.
$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18037 $ac_includes_default
18038 long longval () { return (long) (sizeof (void *)); }
18039 unsigned long ulongval () { return (long) (sizeof (void *)); }
18041 #include <stdlib.h>
18046 FILE *f = fopen ("conftest.val", "w");
18049 if (((long) (sizeof (void *))) < 0)
18051 long i = longval ();
18052 if (i != ((long) (sizeof (void *))))
18054 fprintf (f, "%ld\n", i);
18058 unsigned long i = ulongval ();
18059 if (i != ((long) (sizeof (void *))))
18061 fprintf (f, "%lu\n", i);
18063 exit (ferror (f) || fclose (f) != 0);
18069 rm -f conftest
$ac_exeext
18070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18071 (eval $ac_link) 2>&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; }; then
18080 ac_cv_sizeof_void_p
=`cat conftest.val`
18082 echo "$as_me: program exited with status $ac_status" >&5
18083 echo "$as_me: failed program was:" >&5
18084 sed 's/^/| /' conftest.
$ac_ext >&5
18086 ( exit $ac_status )
18087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18088 See \`config.log' for more details." >&5
18089 echo "$as_me: error: cannot compute sizeof (void *), 77
18090 See \`config.log' for more details." >&2;}
18091 { (exit 1); exit 1; }; }
18093 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18098 ac_cv_sizeof_void_p
=0
18101 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18102 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18103 cat >>confdefs.h
<<_ACEOF
18104 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18108 echo "$as_me:$LINENO: checking for int" >&5
18109 echo $ECHO_N "checking for int... $ECHO_C" >&6
18110 if test "${ac_cv_type_int+set}" = set; then
18111 echo $ECHO_N "(cached) $ECHO_C" >&6
18113 cat >conftest.
$ac_ext <<_ACEOF
18116 cat confdefs.h
>>conftest.
$ac_ext
18117 cat >>conftest.
$ac_ext <<_ACEOF
18118 /* end confdefs.h. */
18119 $ac_includes_default
18131 rm -f conftest.
$ac_objext
18132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18133 (eval $ac_compile) 2>conftest.er1
18135 grep -v '^ *+' conftest.er1
>conftest.err
18137 cat conftest.err
>&5
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); } &&
18140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18142 (eval $ac_try) 2>&5
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); }; } &&
18146 { ac_try
='test -s conftest.$ac_objext'
18147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18148 (eval $ac_try) 2>&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); }; }; then
18154 echo "$as_me: failed program was:" >&5
18155 sed 's/^/| /' conftest.
$ac_ext >&5
18159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18161 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18162 echo "${ECHO_T}$ac_cv_type_int" >&6
18164 echo "$as_me:$LINENO: checking size of int" >&5
18165 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18166 if test "${ac_cv_sizeof_int+set}" = set; then
18167 echo $ECHO_N "(cached) $ECHO_C" >&6
18169 if test "$ac_cv_type_int" = yes; then
18170 # The cast to unsigned long works around a bug in the HP C Compiler
18171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18173 # This bug is HP SR number 8606223364.
18174 if test "$cross_compiling" = yes; then
18175 # Depending upon the size, compute the lo and hi bounds.
18176 cat >conftest.
$ac_ext <<_ACEOF
18179 cat confdefs.h
>>conftest.
$ac_ext
18180 cat >>conftest.
$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18182 $ac_includes_default
18186 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18193 rm -f conftest.
$ac_objext
18194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18195 (eval $ac_compile) 2>conftest.er1
18197 grep -v '^ *+' conftest.er1
>conftest.err
18199 cat conftest.err
>&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); } &&
18202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18204 (eval $ac_try) 2>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); }; } &&
18208 { ac_try
='test -s conftest.$ac_objext'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; }; then
18216 cat >conftest.
$ac_ext <<_ACEOF
18219 cat confdefs.h
>>conftest.
$ac_ext
18220 cat >>conftest.
$ac_ext <<_ACEOF
18221 /* end confdefs.h. */
18222 $ac_includes_default
18226 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18233 rm -f conftest.
$ac_objext
18234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18235 (eval $ac_compile) 2>conftest.er1
18237 grep -v '^ *+' conftest.er1
>conftest.err
18239 cat conftest.err
>&5
18240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18241 (exit $ac_status); } &&
18242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18244 (eval $ac_try) 2>&5
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); }; } &&
18248 { ac_try
='test -s conftest.$ac_objext'
18249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18250 (eval $ac_try) 2>&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); }; }; then
18254 ac_hi
=$ac_mid; break
18256 echo "$as_me: failed program was:" >&5
18257 sed 's/^/| /' conftest.
$ac_ext >&5
18259 ac_lo
=`expr $ac_mid + 1`
18260 if test $ac_lo -le $ac_mid; then
18264 ac_mid
=`expr 2 '*' $ac_mid + 1`
18266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18269 echo "$as_me: failed program was:" >&5
18270 sed 's/^/| /' conftest.
$ac_ext >&5
18272 cat >conftest.
$ac_ext <<_ACEOF
18275 cat confdefs.h
>>conftest.
$ac_ext
18276 cat >>conftest.
$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18278 $ac_includes_default
18282 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18289 rm -f conftest.
$ac_objext
18290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18291 (eval $ac_compile) 2>conftest.er1
18293 grep -v '^ *+' conftest.er1
>conftest.err
18295 cat conftest.err
>&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); } &&
18298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18300 (eval $ac_try) 2>&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); }; } &&
18304 { ac_try
='test -s conftest.$ac_objext'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); }; }; then
18312 cat >conftest.
$ac_ext <<_ACEOF
18315 cat confdefs.h
>>conftest.
$ac_ext
18316 cat >>conftest.
$ac_ext <<_ACEOF
18317 /* end confdefs.h. */
18318 $ac_includes_default
18322 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18329 rm -f conftest.
$ac_objext
18330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18331 (eval $ac_compile) 2>conftest.er1
18333 grep -v '^ *+' conftest.er1
>conftest.err
18335 cat conftest.err
>&5
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); } &&
18338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18340 (eval $ac_try) 2>&5
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); }; } &&
18344 { ac_try
='test -s conftest.$ac_objext'
18345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18346 (eval $ac_try) 2>&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); }; }; then
18350 ac_lo
=$ac_mid; break
18352 echo "$as_me: failed program was:" >&5
18353 sed 's/^/| /' conftest.
$ac_ext >&5
18355 ac_hi
=`expr '(' $ac_mid ')' - 1`
18356 if test $ac_mid -le $ac_hi; then
18360 ac_mid
=`expr 2 '*' $ac_mid`
18362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.
$ac_ext >&5
18370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18373 # Binary search between lo and hi bounds.
18374 while test "x$ac_lo" != "x$ac_hi"; do
18375 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18376 cat >conftest.
$ac_ext <<_ACEOF
18379 cat confdefs.h
>>conftest.
$ac_ext
18380 cat >>conftest.
$ac_ext <<_ACEOF
18381 /* end confdefs.h. */
18382 $ac_includes_default
18386 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18393 rm -f conftest.
$ac_objext
18394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18395 (eval $ac_compile) 2>conftest.er1
18397 grep -v '^ *+' conftest.er1
>conftest.err
18399 cat conftest.err
>&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } &&
18402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18404 (eval $ac_try) 2>&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); }; } &&
18408 { ac_try
='test -s conftest.$ac_objext'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; }; then
18416 echo "$as_me: failed program was:" >&5
18417 sed 's/^/| /' conftest.
$ac_ext >&5
18419 ac_lo
=`expr '(' $ac_mid ')' + 1`
18421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18424 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18425 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18426 See \`config.log' for more details." >&5
18427 echo "$as_me: error: cannot compute sizeof (int), 77
18428 See \`config.log' for more details." >&2;}
18429 { (exit 1); exit 1; }; } ;;
18432 if test "$cross_compiling" = yes; then
18433 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18434 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18435 { (exit 1); exit 1; }; }
18437 cat >conftest.
$ac_ext <<_ACEOF
18440 cat confdefs.h
>>conftest.
$ac_ext
18441 cat >>conftest.
$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18443 $ac_includes_default
18444 long longval () { return (long) (sizeof (int)); }
18445 unsigned long ulongval () { return (long) (sizeof (int)); }
18447 #include <stdlib.h>
18452 FILE *f = fopen ("conftest.val", "w");
18455 if (((long) (sizeof (int))) < 0)
18457 long i = longval ();
18458 if (i != ((long) (sizeof (int))))
18460 fprintf (f, "%ld\n", i);
18464 unsigned long i = ulongval ();
18465 if (i != ((long) (sizeof (int))))
18467 fprintf (f, "%lu\n", i);
18469 exit (ferror (f) || fclose (f) != 0);
18475 rm -f conftest
$ac_exeext
18476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18477 (eval $ac_link) 2>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18482 (eval $ac_try) 2>&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); }; }; then
18486 ac_cv_sizeof_int
=`cat conftest.val`
18488 echo "$as_me: program exited with status $ac_status" >&5
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.
$ac_ext >&5
18492 ( exit $ac_status )
18493 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18494 See \`config.log' for more details." >&5
18495 echo "$as_me: error: cannot compute sizeof (int), 77
18496 See \`config.log' for more details." >&2;}
18497 { (exit 1); exit 1; }; }
18499 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18507 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18508 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18509 cat >>confdefs.h
<<_ACEOF
18510 #define SIZEOF_INT $ac_cv_sizeof_int
18514 echo "$as_me:$LINENO: checking for long" >&5
18515 echo $ECHO_N "checking for long... $ECHO_C" >&6
18516 if test "${ac_cv_type_long+set}" = set; then
18517 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 cat >conftest.
$ac_ext <<_ACEOF
18522 cat confdefs.h
>>conftest.
$ac_ext
18523 cat >>conftest.
$ac_ext <<_ACEOF
18524 /* end confdefs.h. */
18525 $ac_includes_default
18537 rm -f conftest.
$ac_objext
18538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18539 (eval $ac_compile) 2>conftest.er1
18541 grep -v '^ *+' conftest.er1
>conftest.err
18543 cat conftest.err
>&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); } &&
18546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18548 (eval $ac_try) 2>&5
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); }; } &&
18552 { ac_try
='test -s conftest.$ac_objext'
18553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18554 (eval $ac_try) 2>&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); }; }; then
18558 ac_cv_type_long
=yes
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.
$ac_ext >&5
18565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18567 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18568 echo "${ECHO_T}$ac_cv_type_long" >&6
18570 echo "$as_me:$LINENO: checking size of long" >&5
18571 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18572 if test "${ac_cv_sizeof_long+set}" = set; then
18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18575 if test "$ac_cv_type_long" = yes; then
18576 # The cast to unsigned long works around a bug in the HP C Compiler
18577 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18578 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18579 # This bug is HP SR number 8606223364.
18580 if test "$cross_compiling" = yes; then
18581 # Depending upon the size, compute the lo and hi bounds.
18582 cat >conftest.
$ac_ext <<_ACEOF
18585 cat confdefs.h
>>conftest.
$ac_ext
18586 cat >>conftest.
$ac_ext <<_ACEOF
18587 /* end confdefs.h. */
18588 $ac_includes_default
18592 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18599 rm -f conftest.
$ac_objext
18600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18601 (eval $ac_compile) 2>conftest.er1
18603 grep -v '^ *+' conftest.er1
>conftest.err
18605 cat conftest.err
>&5
18606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607 (exit $ac_status); } &&
18608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18610 (eval $ac_try) 2>&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); }; } &&
18614 { ac_try
='test -s conftest.$ac_objext'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; }; then
18622 cat >conftest.
$ac_ext <<_ACEOF
18625 cat confdefs.h
>>conftest.
$ac_ext
18626 cat >>conftest.
$ac_ext <<_ACEOF
18627 /* end confdefs.h. */
18628 $ac_includes_default
18632 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18639 rm -f conftest.
$ac_objext
18640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18641 (eval $ac_compile) 2>conftest.er1
18643 grep -v '^ *+' conftest.er1
>conftest.err
18645 cat conftest.err
>&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); } &&
18648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18650 (eval $ac_try) 2>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); }; } &&
18654 { ac_try
='test -s conftest.$ac_objext'
18655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18656 (eval $ac_try) 2>&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); }; }; then
18660 ac_hi
=$ac_mid; break
18662 echo "$as_me: failed program was:" >&5
18663 sed 's/^/| /' conftest.
$ac_ext >&5
18665 ac_lo
=`expr $ac_mid + 1`
18666 if test $ac_lo -le $ac_mid; then
18670 ac_mid
=`expr 2 '*' $ac_mid + 1`
18672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.
$ac_ext >&5
18678 cat >conftest.
$ac_ext <<_ACEOF
18681 cat confdefs.h
>>conftest.
$ac_ext
18682 cat >>conftest.
$ac_ext <<_ACEOF
18683 /* end confdefs.h. */
18684 $ac_includes_default
18688 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18695 rm -f conftest.
$ac_objext
18696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18697 (eval $ac_compile) 2>conftest.er1
18699 grep -v '^ *+' conftest.er1
>conftest.err
18701 cat conftest.err
>&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); } &&
18704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18706 (eval $ac_try) 2>&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); }; } &&
18710 { ac_try
='test -s conftest.$ac_objext'
18711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18712 (eval $ac_try) 2>&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); }; }; then
18718 cat >conftest.
$ac_ext <<_ACEOF
18721 cat confdefs.h
>>conftest.
$ac_ext
18722 cat >>conftest.
$ac_ext <<_ACEOF
18723 /* end confdefs.h. */
18724 $ac_includes_default
18728 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18735 rm -f conftest.
$ac_objext
18736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18737 (eval $ac_compile) 2>conftest.er1
18739 grep -v '^ *+' conftest.er1
>conftest.err
18741 cat conftest.err
>&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); } &&
18744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18746 (eval $ac_try) 2>&5
18748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 (exit $ac_status); }; } &&
18750 { ac_try
='test -s conftest.$ac_objext'
18751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752 (eval $ac_try) 2>&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); }; }; then
18756 ac_lo
=$ac_mid; break
18758 echo "$as_me: failed program was:" >&5
18759 sed 's/^/| /' conftest.
$ac_ext >&5
18761 ac_hi
=`expr '(' $ac_mid ')' - 1`
18762 if test $ac_mid -le $ac_hi; then
18766 ac_mid
=`expr 2 '*' $ac_mid`
18768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.
$ac_ext >&5
18776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18779 # Binary search between lo and hi bounds.
18780 while test "x$ac_lo" != "x$ac_hi"; do
18781 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18782 cat >conftest.
$ac_ext <<_ACEOF
18785 cat confdefs.h
>>conftest.
$ac_ext
18786 cat >>conftest.
$ac_ext <<_ACEOF
18787 /* end confdefs.h. */
18788 $ac_includes_default
18792 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18799 rm -f conftest.
$ac_objext
18800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18801 (eval $ac_compile) 2>conftest.er1
18803 grep -v '^ *+' conftest.er1
>conftest.err
18805 cat conftest.err
>&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); } &&
18808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; } &&
18814 { ac_try
='test -s conftest.$ac_objext'
18815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18816 (eval $ac_try) 2>&5
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); }; }; then
18822 echo "$as_me: failed program was:" >&5
18823 sed 's/^/| /' conftest.
$ac_ext >&5
18825 ac_lo
=`expr '(' $ac_mid ')' + 1`
18827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18830 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18831 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18832 See \`config.log' for more details." >&5
18833 echo "$as_me: error: cannot compute sizeof (long), 77
18834 See \`config.log' for more details." >&2;}
18835 { (exit 1); exit 1; }; } ;;
18838 if test "$cross_compiling" = yes; then
18839 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18840 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18841 { (exit 1); exit 1; }; }
18843 cat >conftest.
$ac_ext <<_ACEOF
18846 cat confdefs.h
>>conftest.
$ac_ext
18847 cat >>conftest.
$ac_ext <<_ACEOF
18848 /* end confdefs.h. */
18849 $ac_includes_default
18850 long longval () { return (long) (sizeof (long)); }
18851 unsigned long ulongval () { return (long) (sizeof (long)); }
18853 #include <stdlib.h>
18858 FILE *f = fopen ("conftest.val", "w");
18861 if (((long) (sizeof (long))) < 0)
18863 long i = longval ();
18864 if (i != ((long) (sizeof (long))))
18866 fprintf (f, "%ld\n", i);
18870 unsigned long i = ulongval ();
18871 if (i != ((long) (sizeof (long))))
18873 fprintf (f, "%lu\n", i);
18875 exit (ferror (f) || fclose (f) != 0);
18881 rm -f conftest
$ac_exeext
18882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18883 (eval $ac_link) 2>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18888 (eval $ac_try) 2>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; }; then
18892 ac_cv_sizeof_long
=`cat conftest.val`
18894 echo "$as_me: program exited with status $ac_status" >&5
18895 echo "$as_me: failed program was:" >&5
18896 sed 's/^/| /' conftest.
$ac_ext >&5
18898 ( exit $ac_status )
18899 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18900 See \`config.log' for more details." >&5
18901 echo "$as_me: error: cannot compute sizeof (long), 77
18902 See \`config.log' for more details." >&2;}
18903 { (exit 1); exit 1; }; }
18905 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18910 ac_cv_sizeof_long
=0
18913 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18914 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18915 cat >>confdefs.h
<<_ACEOF
18916 #define SIZEOF_LONG $ac_cv_sizeof_long
18920 echo "$as_me:$LINENO: checking for size_t" >&5
18921 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18922 if test "${ac_cv_type_size_t+set}" = set; then
18923 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 cat >conftest.
$ac_ext <<_ACEOF
18928 cat confdefs.h
>>conftest.
$ac_ext
18929 cat >>conftest.
$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 $ac_includes_default
18937 if (sizeof (size_t))
18943 rm -f conftest.
$ac_objext
18944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18945 (eval $ac_compile) 2>conftest.er1
18947 grep -v '^ *+' conftest.er1
>conftest.err
18949 cat conftest.err
>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); } &&
18952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try
='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18964 ac_cv_type_size_t
=yes
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.
$ac_ext >&5
18969 ac_cv_type_size_t
=no
18971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18973 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18974 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18976 echo "$as_me:$LINENO: checking size of size_t" >&5
18977 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18978 if test "${ac_cv_sizeof_size_t+set}" = set; then
18979 echo $ECHO_N "(cached) $ECHO_C" >&6
18981 if test "$ac_cv_type_size_t" = yes; then
18982 # The cast to unsigned long works around a bug in the HP C Compiler
18983 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18984 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18985 # This bug is HP SR number 8606223364.
18986 if test "$cross_compiling" = yes; then
18987 # Depending upon the size, compute the lo and hi bounds.
18988 cat >conftest.
$ac_ext <<_ACEOF
18991 cat confdefs.h
>>conftest.
$ac_ext
18992 cat >>conftest.
$ac_ext <<_ACEOF
18993 /* end confdefs.h. */
18994 $ac_includes_default
18998 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19005 rm -f conftest.
$ac_objext
19006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19007 (eval $ac_compile) 2>conftest.er1
19009 grep -v '^ *+' conftest.er1
>conftest.err
19011 cat conftest.err
>&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); } &&
19014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; } &&
19020 { ac_try
='test -s conftest.$ac_objext'
19021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 (eval $ac_try) 2>&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; }; then
19028 cat >conftest.
$ac_ext <<_ACEOF
19031 cat confdefs.h
>>conftest.
$ac_ext
19032 cat >>conftest.
$ac_ext <<_ACEOF
19033 /* end confdefs.h. */
19034 $ac_includes_default
19038 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19045 rm -f conftest.
$ac_objext
19046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19047 (eval $ac_compile) 2>conftest.er1
19049 grep -v '^ *+' conftest.er1
>conftest.err
19051 cat conftest.err
>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); } &&
19054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19056 (eval $ac_try) 2>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }; } &&
19060 { ac_try
='test -s conftest.$ac_objext'
19061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19062 (eval $ac_try) 2>&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); }; }; then
19066 ac_hi
=$ac_mid; break
19068 echo "$as_me: failed program was:" >&5
19069 sed 's/^/| /' conftest.
$ac_ext >&5
19071 ac_lo
=`expr $ac_mid + 1`
19072 if test $ac_lo -le $ac_mid; then
19076 ac_mid
=`expr 2 '*' $ac_mid + 1`
19078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19081 echo "$as_me: failed program was:" >&5
19082 sed 's/^/| /' conftest.
$ac_ext >&5
19084 cat >conftest.
$ac_ext <<_ACEOF
19087 cat confdefs.h
>>conftest.
$ac_ext
19088 cat >>conftest.
$ac_ext <<_ACEOF
19089 /* end confdefs.h. */
19090 $ac_includes_default
19094 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19101 rm -f conftest.
$ac_objext
19102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19103 (eval $ac_compile) 2>conftest.er1
19105 grep -v '^ *+' conftest.er1
>conftest.err
19107 cat conftest.err
>&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } &&
19110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; } &&
19116 { ac_try
='test -s conftest.$ac_objext'
19117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118 (eval $ac_try) 2>&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); }; }; then
19124 cat >conftest.
$ac_ext <<_ACEOF
19127 cat confdefs.h
>>conftest.
$ac_ext
19128 cat >>conftest.
$ac_ext <<_ACEOF
19129 /* end confdefs.h. */
19130 $ac_includes_default
19134 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19141 rm -f conftest.
$ac_objext
19142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19143 (eval $ac_compile) 2>conftest.er1
19145 grep -v '^ *+' conftest.er1
>conftest.err
19147 cat conftest.err
>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } &&
19150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152 (eval $ac_try) 2>&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; } &&
19156 { ac_try
='test -s conftest.$ac_objext'
19157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158 (eval $ac_try) 2>&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); }; }; then
19162 ac_lo
=$ac_mid; break
19164 echo "$as_me: failed program was:" >&5
19165 sed 's/^/| /' conftest.
$ac_ext >&5
19167 ac_hi
=`expr '(' $ac_mid ')' - 1`
19168 if test $ac_mid -le $ac_hi; then
19172 ac_mid
=`expr 2 '*' $ac_mid`
19174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.
$ac_ext >&5
19182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19185 # Binary search between lo and hi bounds.
19186 while test "x$ac_lo" != "x$ac_hi"; do
19187 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19188 cat >conftest.
$ac_ext <<_ACEOF
19191 cat confdefs.h
>>conftest.
$ac_ext
19192 cat >>conftest.
$ac_ext <<_ACEOF
19193 /* end confdefs.h. */
19194 $ac_includes_default
19198 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19205 rm -f conftest.
$ac_objext
19206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19207 (eval $ac_compile) 2>conftest.er1
19209 grep -v '^ *+' conftest.er1
>conftest.err
19211 cat conftest.err
>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } &&
19214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 (eval $ac_try) 2>&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); }; } &&
19220 { ac_try
='test -s conftest.$ac_objext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.
$ac_ext >&5
19231 ac_lo
=`expr '(' $ac_mid ')' + 1`
19233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19236 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19237 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19238 See \`config.log' for more details." >&5
19239 echo "$as_me: error: cannot compute sizeof (size_t), 77
19240 See \`config.log' for more details." >&2;}
19241 { (exit 1); exit 1; }; } ;;
19244 if test "$cross_compiling" = yes; then
19245 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19246 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19247 { (exit 1); exit 1; }; }
19249 cat >conftest.
$ac_ext <<_ACEOF
19252 cat confdefs.h
>>conftest.
$ac_ext
19253 cat >>conftest.
$ac_ext <<_ACEOF
19254 /* end confdefs.h. */
19255 $ac_includes_default
19256 long longval () { return (long) (sizeof (size_t)); }
19257 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19259 #include <stdlib.h>
19264 FILE *f = fopen ("conftest.val", "w");
19267 if (((long) (sizeof (size_t))) < 0)
19269 long i = longval ();
19270 if (i != ((long) (sizeof (size_t))))
19272 fprintf (f, "%ld\n", i);
19276 unsigned long i = ulongval ();
19277 if (i != ((long) (sizeof (size_t))))
19279 fprintf (f, "%lu\n", i);
19281 exit (ferror (f) || fclose (f) != 0);
19287 rm -f conftest
$ac_exeext
19288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19289 (eval $ac_link) 2>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; }; then
19298 ac_cv_sizeof_size_t
=`cat conftest.val`
19300 echo "$as_me: program exited with status $ac_status" >&5
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.
$ac_ext >&5
19304 ( exit $ac_status )
19305 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19306 See \`config.log' for more details." >&5
19307 echo "$as_me: error: cannot compute sizeof (size_t), 77
19308 See \`config.log' for more details." >&2;}
19309 { (exit 1); exit 1; }; }
19311 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19316 ac_cv_sizeof_size_t
=0
19319 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19320 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19321 cat >>confdefs.h
<<_ACEOF
19322 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19329 echo "$as_me:$LINENO: checking for long long" >&5
19330 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19331 if test "${ac_cv_type_long_long+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 cat >conftest.
$ac_ext <<_ACEOF
19337 cat confdefs.h
>>conftest.
$ac_ext
19338 cat >>conftest.
$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19340 $ac_includes_default
19344 if ((long long *) 0)
19346 if (sizeof (long long))
19352 rm -f conftest.
$ac_objext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19354 (eval $ac_compile) 2>conftest.er1
19356 grep -v '^ *+' conftest.er1
>conftest.err
19358 cat conftest.err
>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; } &&
19367 { ac_try
='test -s conftest.$ac_objext'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; }; then
19373 ac_cv_type_long_long
=yes
19375 echo "$as_me: failed program was:" >&5
19376 sed 's/^/| /' conftest.
$ac_ext >&5
19378 ac_cv_type_long_long
=no
19380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19382 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19383 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19385 echo "$as_me:$LINENO: checking size of long long" >&5
19386 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19387 if test "${ac_cv_sizeof_long_long+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19390 if test "$ac_cv_type_long_long" = yes; then
19391 # The cast to unsigned long works around a bug in the HP C Compiler
19392 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19393 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19394 # This bug is HP SR number 8606223364.
19395 if test "$cross_compiling" = yes; then
19396 # Depending upon the size, compute the lo and hi bounds.
19397 cat >conftest.
$ac_ext <<_ACEOF
19400 cat confdefs.h
>>conftest.
$ac_ext
19401 cat >>conftest.
$ac_ext <<_ACEOF
19402 /* end confdefs.h. */
19403 $ac_includes_default
19407 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19414 rm -f conftest.
$ac_objext
19415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19416 (eval $ac_compile) 2>conftest.er1
19418 grep -v '^ *+' conftest.er1
>conftest.err
19420 cat conftest.err
>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); } &&
19423 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19425 (eval $ac_try) 2>&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); }; } &&
19429 { ac_try
='test -s conftest.$ac_objext'
19430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19431 (eval $ac_try) 2>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); }; }; then
19437 cat >conftest.
$ac_ext <<_ACEOF
19440 cat confdefs.h
>>conftest.
$ac_ext
19441 cat >>conftest.
$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19443 $ac_includes_default
19447 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19454 rm -f conftest.
$ac_objext
19455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19456 (eval $ac_compile) 2>conftest.er1
19458 grep -v '^ *+' conftest.er1
>conftest.err
19460 cat conftest.err
>&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); } &&
19463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19465 (eval $ac_try) 2>&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); }; } &&
19469 { ac_try
='test -s conftest.$ac_objext'
19470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19471 (eval $ac_try) 2>&5
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); }; }; then
19475 ac_hi
=$ac_mid; break
19477 echo "$as_me: failed program was:" >&5
19478 sed 's/^/| /' conftest.
$ac_ext >&5
19480 ac_lo
=`expr $ac_mid + 1`
19481 if test $ac_lo -le $ac_mid; then
19485 ac_mid
=`expr 2 '*' $ac_mid + 1`
19487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.
$ac_ext >&5
19493 cat >conftest.
$ac_ext <<_ACEOF
19496 cat confdefs.h
>>conftest.
$ac_ext
19497 cat >>conftest.
$ac_ext <<_ACEOF
19498 /* end confdefs.h. */
19499 $ac_includes_default
19503 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19510 rm -f conftest.
$ac_objext
19511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19512 (eval $ac_compile) 2>conftest.er1
19514 grep -v '^ *+' conftest.er1
>conftest.err
19516 cat conftest.err
>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); } &&
19519 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19521 (eval $ac_try) 2>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); }; } &&
19525 { ac_try
='test -s conftest.$ac_objext'
19526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19527 (eval $ac_try) 2>&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; }; then
19533 cat >conftest.
$ac_ext <<_ACEOF
19536 cat confdefs.h
>>conftest.
$ac_ext
19537 cat >>conftest.
$ac_ext <<_ACEOF
19538 /* end confdefs.h. */
19539 $ac_includes_default
19543 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19550 rm -f conftest.
$ac_objext
19551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19552 (eval $ac_compile) 2>conftest.er1
19554 grep -v '^ *+' conftest.er1
>conftest.err
19556 cat conftest.err
>&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); } &&
19559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; } &&
19565 { ac_try
='test -s conftest.$ac_objext'
19566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567 (eval $ac_try) 2>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); }; }; then
19571 ac_lo
=$ac_mid; break
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.
$ac_ext >&5
19576 ac_hi
=`expr '(' $ac_mid ')' - 1`
19577 if test $ac_mid -le $ac_hi; then
19581 ac_mid
=`expr 2 '*' $ac_mid`
19583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19586 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.
$ac_ext >&5
19591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19594 # Binary search between lo and hi bounds.
19595 while test "x$ac_lo" != "x$ac_hi"; do
19596 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19597 cat >conftest.
$ac_ext <<_ACEOF
19600 cat confdefs.h
>>conftest.
$ac_ext
19601 cat >>conftest.
$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 $ac_includes_default
19607 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19614 rm -f conftest.
$ac_objext
19615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19616 (eval $ac_compile) 2>conftest.er1
19618 grep -v '^ *+' conftest.er1
>conftest.err
19620 cat conftest.err
>&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } &&
19623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; } &&
19629 { ac_try
='test -s conftest.$ac_objext'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.
$ac_ext >&5
19640 ac_lo
=`expr '(' $ac_mid ')' + 1`
19642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19645 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19646 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19647 See \`config.log' for more details." >&5
19648 echo "$as_me: error: cannot compute sizeof (long long), 77
19649 See \`config.log' for more details." >&2;}
19650 { (exit 1); exit 1; }; } ;;
19653 if test "$cross_compiling" = yes; then
19654 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19655 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19656 { (exit 1); exit 1; }; }
19658 cat >conftest.
$ac_ext <<_ACEOF
19661 cat confdefs.h
>>conftest.
$ac_ext
19662 cat >>conftest.
$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 $ac_includes_default
19665 long longval () { return (long) (sizeof (long long)); }
19666 unsigned long ulongval () { return (long) (sizeof (long long)); }
19668 #include <stdlib.h>
19673 FILE *f = fopen ("conftest.val", "w");
19676 if (((long) (sizeof (long long))) < 0)
19678 long i = longval ();
19679 if (i != ((long) (sizeof (long long))))
19681 fprintf (f, "%ld\n", i);
19685 unsigned long i = ulongval ();
19686 if (i != ((long) (sizeof (long long))))
19688 fprintf (f, "%lu\n", i);
19690 exit (ferror (f) || fclose (f) != 0);
19696 rm -f conftest
$ac_exeext
19697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19698 (eval $ac_link) 2>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703 (eval $ac_try) 2>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); }; }; then
19707 ac_cv_sizeof_long_long
=`cat conftest.val`
19709 echo "$as_me: program exited with status $ac_status" >&5
19710 echo "$as_me: failed program was:" >&5
19711 sed 's/^/| /' conftest.
$ac_ext >&5
19713 ( exit $ac_status )
19714 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19715 See \`config.log' for more details." >&5
19716 echo "$as_me: error: cannot compute sizeof (long long), 77
19717 See \`config.log' for more details." >&2;}
19718 { (exit 1); exit 1; }; }
19720 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19725 ac_cv_sizeof_long_long
=0
19728 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19729 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19730 cat >>confdefs.h
<<_ACEOF
19731 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19737 echo "$as_me:$LINENO: checking for long long" >&5
19738 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19739 if test "${ac_cv_type_long_long+set}" = set; then
19740 echo $ECHO_N "(cached) $ECHO_C" >&6
19742 cat >conftest.
$ac_ext <<_ACEOF
19745 cat confdefs.h
>>conftest.
$ac_ext
19746 cat >>conftest.
$ac_ext <<_ACEOF
19747 /* end confdefs.h. */
19748 $ac_includes_default
19752 if ((long long *) 0)
19754 if (sizeof (long long))
19760 rm -f conftest.
$ac_objext
19761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19762 (eval $ac_compile) 2>conftest.er1
19764 grep -v '^ *+' conftest.er1
>conftest.err
19766 cat conftest.err
>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } &&
19769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; } &&
19775 { ac_try
='test -s conftest.$ac_objext'
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; }; then
19781 ac_cv_type_long_long
=yes
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.
$ac_ext >&5
19786 ac_cv_type_long_long
=no
19788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19790 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19791 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19793 echo "$as_me:$LINENO: checking size of long long" >&5
19794 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19795 if test "${ac_cv_sizeof_long_long+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 if test "$ac_cv_type_long_long" = yes; then
19799 # The cast to unsigned long works around a bug in the HP C Compiler
19800 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19801 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19802 # This bug is HP SR number 8606223364.
19803 if test "$cross_compiling" = yes; then
19804 # Depending upon the size, compute the lo and hi bounds.
19805 cat >conftest.
$ac_ext <<_ACEOF
19808 cat confdefs.h
>>conftest.
$ac_ext
19809 cat >>conftest.
$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19811 $ac_includes_default
19815 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19822 rm -f conftest.
$ac_objext
19823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19824 (eval $ac_compile) 2>conftest.er1
19826 grep -v '^ *+' conftest.er1
>conftest.err
19828 cat conftest.err
>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); } &&
19831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19833 (eval $ac_try) 2>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); }; } &&
19837 { ac_try
='test -s conftest.$ac_objext'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; }; then
19845 cat >conftest.
$ac_ext <<_ACEOF
19848 cat confdefs.h
>>conftest.
$ac_ext
19849 cat >>conftest.
$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 $ac_includes_default
19855 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19862 rm -f conftest.
$ac_objext
19863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19864 (eval $ac_compile) 2>conftest.er1
19866 grep -v '^ *+' conftest.er1
>conftest.err
19868 cat conftest.err
>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); } &&
19871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; } &&
19877 { ac_try
='test -s conftest.$ac_objext'
19878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19879 (eval $ac_try) 2>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); }; }; then
19883 ac_hi
=$ac_mid; break
19885 echo "$as_me: failed program was:" >&5
19886 sed 's/^/| /' conftest.
$ac_ext >&5
19888 ac_lo
=`expr $ac_mid + 1`
19889 if test $ac_lo -le $ac_mid; then
19893 ac_mid
=`expr 2 '*' $ac_mid + 1`
19895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19898 echo "$as_me: failed program was:" >&5
19899 sed 's/^/| /' conftest.
$ac_ext >&5
19901 cat >conftest.
$ac_ext <<_ACEOF
19904 cat confdefs.h
>>conftest.
$ac_ext
19905 cat >>conftest.
$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907 $ac_includes_default
19911 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19918 rm -f conftest.
$ac_objext
19919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19920 (eval $ac_compile) 2>conftest.er1
19922 grep -v '^ *+' conftest.er1
>conftest.err
19924 cat conftest.err
>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } &&
19927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; } &&
19933 { ac_try
='test -s conftest.$ac_objext'
19934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935 (eval $ac_try) 2>&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); }; }; then
19941 cat >conftest.
$ac_ext <<_ACEOF
19944 cat confdefs.h
>>conftest.
$ac_ext
19945 cat >>conftest.
$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 $ac_includes_default
19951 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19958 rm -f conftest.
$ac_objext
19959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 (eval $ac_compile) 2>conftest.er1
19962 grep -v '^ *+' conftest.er1
>conftest.err
19964 cat conftest.err
>&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; } &&
19973 { ac_try
='test -s conftest.$ac_objext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 ac_lo
=$ac_mid; break
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.
$ac_ext >&5
19984 ac_hi
=`expr '(' $ac_mid ')' - 1`
19985 if test $ac_mid -le $ac_hi; then
19989 ac_mid
=`expr 2 '*' $ac_mid`
19991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19994 echo "$as_me: failed program was:" >&5
19995 sed 's/^/| /' conftest.
$ac_ext >&5
19999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20002 # Binary search between lo and hi bounds.
20003 while test "x$ac_lo" != "x$ac_hi"; do
20004 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20005 cat >conftest.
$ac_ext <<_ACEOF
20008 cat confdefs.h
>>conftest.
$ac_ext
20009 cat >>conftest.
$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 $ac_includes_default
20015 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20022 rm -f conftest.
$ac_objext
20023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20024 (eval $ac_compile) 2>conftest.er1
20026 grep -v '^ *+' conftest.er1
>conftest.err
20028 cat conftest.err
>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); } &&
20031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; } &&
20037 { ac_try
='test -s conftest.$ac_objext'
20038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20039 (eval $ac_try) 2>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); }; }; then
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.
$ac_ext >&5
20048 ac_lo
=`expr '(' $ac_mid ')' + 1`
20050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20053 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20054 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20055 See \`config.log' for more details." >&5
20056 echo "$as_me: error: cannot compute sizeof (long long), 77
20057 See \`config.log' for more details." >&2;}
20058 { (exit 1); exit 1; }; } ;;
20061 if test "$cross_compiling" = yes; then
20062 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20063 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20064 { (exit 1); exit 1; }; }
20066 cat >conftest.
$ac_ext <<_ACEOF
20069 cat confdefs.h
>>conftest.
$ac_ext
20070 cat >>conftest.
$ac_ext <<_ACEOF
20071 /* end confdefs.h. */
20072 $ac_includes_default
20073 long longval () { return (long) (sizeof (long long)); }
20074 unsigned long ulongval () { return (long) (sizeof (long long)); }
20076 #include <stdlib.h>
20081 FILE *f = fopen ("conftest.val", "w");
20084 if (((long) (sizeof (long long))) < 0)
20086 long i = longval ();
20087 if (i != ((long) (sizeof (long long))))
20089 fprintf (f, "%ld\n", i);
20093 unsigned long i = ulongval ();
20094 if (i != ((long) (sizeof (long long))))
20096 fprintf (f, "%lu\n", i);
20098 exit (ferror (f) || fclose (f) != 0);
20104 rm -f conftest
$ac_exeext
20105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20106 (eval $ac_link) 2>&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20111 (eval $ac_try) 2>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); }; }; then
20115 ac_cv_sizeof_long_long
=`cat conftest.val`
20117 echo "$as_me: program exited with status $ac_status" >&5
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.
$ac_ext >&5
20121 ( exit $ac_status )
20122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20123 See \`config.log' for more details." >&5
20124 echo "$as_me: error: cannot compute sizeof (long long), 77
20125 See \`config.log' for more details." >&2;}
20126 { (exit 1); exit 1; }; }
20128 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20133 ac_cv_sizeof_long_long
=0
20136 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20137 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20138 cat >>confdefs.h
<<_ACEOF
20139 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20143 if test "$ac_cv_sizeof_long_long" != "0"; then
20144 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20148 echo "$as_me:$LINENO: checking for long long" >&5
20149 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20150 if test "${ac_cv_type_long_long+set}" = set; then
20151 echo $ECHO_N "(cached) $ECHO_C" >&6
20153 cat >conftest.
$ac_ext <<_ACEOF
20156 cat confdefs.h
>>conftest.
$ac_ext
20157 cat >>conftest.
$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 $ac_includes_default
20163 if ((long long *) 0)
20165 if (sizeof (long long))
20171 rm -f conftest.
$ac_objext
20172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20173 (eval $ac_compile) 2>conftest.er1
20175 grep -v '^ *+' conftest.er1
>conftest.err
20177 cat conftest.err
>&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); } &&
20180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20182 (eval $ac_try) 2>&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); }; } &&
20186 { ac_try
='test -s conftest.$ac_objext'
20187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20188 (eval $ac_try) 2>&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); }; }; then
20192 ac_cv_type_long_long
=yes
20194 echo "$as_me: failed program was:" >&5
20195 sed 's/^/| /' conftest.
$ac_ext >&5
20197 ac_cv_type_long_long
=no
20199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20201 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20202 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20204 echo "$as_me:$LINENO: checking size of long long" >&5
20205 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20206 if test "${ac_cv_sizeof_long_long+set}" = set; then
20207 echo $ECHO_N "(cached) $ECHO_C" >&6
20209 if test "$ac_cv_type_long_long" = yes; then
20210 # The cast to unsigned long works around a bug in the HP C Compiler
20211 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20212 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20213 # This bug is HP SR number 8606223364.
20214 if test "$cross_compiling" = yes; then
20215 # Depending upon the size, compute the lo and hi bounds.
20216 cat >conftest.
$ac_ext <<_ACEOF
20219 cat confdefs.h
>>conftest.
$ac_ext
20220 cat >>conftest.
$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20222 $ac_includes_default
20226 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20233 rm -f conftest.
$ac_objext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20235 (eval $ac_compile) 2>conftest.er1
20237 grep -v '^ *+' conftest.er1
>conftest.err
20239 cat conftest.err
>&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; } &&
20248 { ac_try
='test -s conftest.$ac_objext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20256 cat >conftest.
$ac_ext <<_ACEOF
20259 cat confdefs.h
>>conftest.
$ac_ext
20260 cat >>conftest.
$ac_ext <<_ACEOF
20261 /* end confdefs.h. */
20262 $ac_includes_default
20266 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20273 rm -f conftest.
$ac_objext
20274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20275 (eval $ac_compile) 2>conftest.er1
20277 grep -v '^ *+' conftest.er1
>conftest.err
20279 cat conftest.err
>&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); } &&
20282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20284 (eval $ac_try) 2>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; } &&
20288 { ac_try
='test -s conftest.$ac_objext'
20289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 (eval $ac_try) 2>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; }; then
20294 ac_hi
=$ac_mid; break
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.
$ac_ext >&5
20299 ac_lo
=`expr $ac_mid + 1`
20300 if test $ac_lo -le $ac_mid; then
20304 ac_mid
=`expr 2 '*' $ac_mid + 1`
20306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.
$ac_ext >&5
20312 cat >conftest.
$ac_ext <<_ACEOF
20315 cat confdefs.h
>>conftest.
$ac_ext
20316 cat >>conftest.
$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318 $ac_includes_default
20322 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20329 rm -f conftest.
$ac_objext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20331 (eval $ac_compile) 2>conftest.er1
20333 grep -v '^ *+' conftest.er1
>conftest.err
20335 cat conftest.err
>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; } &&
20344 { ac_try
='test -s conftest.$ac_objext'
20345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346 (eval $ac_try) 2>&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; }; then
20352 cat >conftest.
$ac_ext <<_ACEOF
20355 cat confdefs.h
>>conftest.
$ac_ext
20356 cat >>conftest.
$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20358 $ac_includes_default
20362 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20369 rm -f conftest.
$ac_objext
20370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20371 (eval $ac_compile) 2>conftest.er1
20373 grep -v '^ *+' conftest.er1
>conftest.err
20375 cat conftest.err
>&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } &&
20378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20380 (eval $ac_try) 2>&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); }; } &&
20384 { ac_try
='test -s conftest.$ac_objext'
20385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20386 (eval $ac_try) 2>&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); }; }; then
20390 ac_lo
=$ac_mid; break
20392 echo "$as_me: failed program was:" >&5
20393 sed 's/^/| /' conftest.
$ac_ext >&5
20395 ac_hi
=`expr '(' $ac_mid ')' - 1`
20396 if test $ac_mid -le $ac_hi; then
20400 ac_mid
=`expr 2 '*' $ac_mid`
20402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20405 echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.
$ac_ext >&5
20410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20413 # Binary search between lo and hi bounds.
20414 while test "x$ac_lo" != "x$ac_hi"; do
20415 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20416 cat >conftest.
$ac_ext <<_ACEOF
20419 cat confdefs.h
>>conftest.
$ac_ext
20420 cat >>conftest.
$ac_ext <<_ACEOF
20421 /* end confdefs.h. */
20422 $ac_includes_default
20426 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20433 rm -f conftest.
$ac_objext
20434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20435 (eval $ac_compile) 2>conftest.er1
20437 grep -v '^ *+' conftest.er1
>conftest.err
20439 cat conftest.err
>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); } &&
20442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444 (eval $ac_try) 2>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; } &&
20448 { ac_try
='test -s conftest.$ac_objext'
20449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20450 (eval $ac_try) 2>&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); }; }; then
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.
$ac_ext >&5
20459 ac_lo
=`expr '(' $ac_mid ')' + 1`
20461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20464 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20465 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20466 See \`config.log' for more details." >&5
20467 echo "$as_me: error: cannot compute sizeof (long long), 77
20468 See \`config.log' for more details." >&2;}
20469 { (exit 1); exit 1; }; } ;;
20472 if test "$cross_compiling" = yes; then
20473 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20474 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20475 { (exit 1); exit 1; }; }
20477 cat >conftest.
$ac_ext <<_ACEOF
20480 cat confdefs.h
>>conftest.
$ac_ext
20481 cat >>conftest.
$ac_ext <<_ACEOF
20482 /* end confdefs.h. */
20483 $ac_includes_default
20484 long longval () { return (long) (sizeof (long long)); }
20485 unsigned long ulongval () { return (long) (sizeof (long long)); }
20487 #include <stdlib.h>
20492 FILE *f = fopen ("conftest.val", "w");
20495 if (((long) (sizeof (long long))) < 0)
20497 long i = longval ();
20498 if (i != ((long) (sizeof (long long))))
20500 fprintf (f, "%ld\n", i);
20504 unsigned long i = ulongval ();
20505 if (i != ((long) (sizeof (long long))))
20507 fprintf (f, "%lu\n", i);
20509 exit (ferror (f) || fclose (f) != 0);
20515 rm -f conftest
$ac_exeext
20516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20517 (eval $ac_link) 2>&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20522 (eval $ac_try) 2>&5
20524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20525 (exit $ac_status); }; }; then
20526 ac_cv_sizeof_long_long
=`cat conftest.val`
20528 echo "$as_me: program exited with status $ac_status" >&5
20529 echo "$as_me: failed program was:" >&5
20530 sed 's/^/| /' conftest.
$ac_ext >&5
20532 ( exit $ac_status )
20533 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20534 See \`config.log' for more details." >&5
20535 echo "$as_me: error: cannot compute sizeof (long long), 77
20536 See \`config.log' for more details." >&2;}
20537 { (exit 1); exit 1; }; }
20539 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20544 ac_cv_sizeof_long_long
=0
20547 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20548 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20549 cat >>confdefs.h
<<_ACEOF
20550 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20556 echo "$as_me:$LINENO: checking for wchar_t" >&5
20557 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20558 if test "${ac_cv_type_wchar_t+set}" = set; then
20559 echo $ECHO_N "(cached) $ECHO_C" >&6
20561 cat >conftest.
$ac_ext <<_ACEOF
20564 cat confdefs.h
>>conftest.
$ac_ext
20565 cat >>conftest.
$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20568 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20569 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20570 # error "fake wchar_t"
20572 #ifdef HAVE_WCHAR_H
20574 # include <stddef.h>
20576 # include <wchar.h>
20578 #ifdef HAVE_STDLIB_H
20579 # include <stdlib.h>
20590 if (sizeof (wchar_t))
20596 rm -f conftest.
$ac_objext
20597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20598 (eval $ac_compile) 2>conftest.er1
20600 grep -v '^ *+' conftest.er1
>conftest.err
20602 cat conftest.err
>&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } &&
20605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20607 (eval $ac_try) 2>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); }; } &&
20611 { ac_try
='test -s conftest.$ac_objext'
20612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20613 (eval $ac_try) 2>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); }; }; then
20617 ac_cv_type_wchar_t
=yes
20619 echo "$as_me: failed program was:" >&5
20620 sed 's/^/| /' conftest.
$ac_ext >&5
20622 ac_cv_type_wchar_t
=no
20624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20626 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20627 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20629 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20630 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20631 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20632 echo $ECHO_N "(cached) $ECHO_C" >&6
20634 if test "$ac_cv_type_wchar_t" = yes; then
20635 # The cast to unsigned long works around a bug in the HP C Compiler
20636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20638 # This bug is HP SR number 8606223364.
20639 if test "$cross_compiling" = yes; then
20640 # Depending upon the size, compute the lo and hi bounds.
20641 cat >conftest.
$ac_ext <<_ACEOF
20644 cat confdefs.h
>>conftest.
$ac_ext
20645 cat >>conftest.
$ac_ext <<_ACEOF
20646 /* end confdefs.h. */
20648 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20649 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20650 # error "fake wchar_t"
20652 #ifdef HAVE_WCHAR_H
20654 # include <stddef.h>
20656 # include <wchar.h>
20658 #ifdef HAVE_STDLIB_H
20659 # include <stdlib.h>
20668 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20675 rm -f conftest.
$ac_objext
20676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20677 (eval $ac_compile) 2>conftest.er1
20679 grep -v '^ *+' conftest.er1
>conftest.err
20681 cat conftest.err
>&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); } &&
20684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; } &&
20690 { ac_try
='test -s conftest.$ac_objext'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; }; then
20698 cat >conftest.
$ac_ext <<_ACEOF
20701 cat confdefs.h
>>conftest.
$ac_ext
20702 cat >>conftest.
$ac_ext <<_ACEOF
20703 /* end confdefs.h. */
20705 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20706 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20707 # error "fake wchar_t"
20709 #ifdef HAVE_WCHAR_H
20711 # include <stddef.h>
20713 # include <wchar.h>
20715 #ifdef HAVE_STDLIB_H
20716 # include <stdlib.h>
20725 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20732 rm -f conftest.
$ac_objext
20733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20734 (eval $ac_compile) 2>conftest.er1
20736 grep -v '^ *+' conftest.er1
>conftest.err
20738 cat conftest.err
>&5
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); } &&
20741 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20743 (eval $ac_try) 2>&5
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); }; } &&
20747 { ac_try
='test -s conftest.$ac_objext'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; }; then
20753 ac_hi
=$ac_mid; break
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.
$ac_ext >&5
20758 ac_lo
=`expr $ac_mid + 1`
20759 if test $ac_lo -le $ac_mid; then
20763 ac_mid
=`expr 2 '*' $ac_mid + 1`
20765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20768 echo "$as_me: failed program was:" >&5
20769 sed 's/^/| /' conftest.
$ac_ext >&5
20771 cat >conftest.
$ac_ext <<_ACEOF
20774 cat confdefs.h
>>conftest.
$ac_ext
20775 cat >>conftest.
$ac_ext <<_ACEOF
20776 /* end confdefs.h. */
20778 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20779 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20780 # error "fake wchar_t"
20782 #ifdef HAVE_WCHAR_H
20784 # include <stddef.h>
20786 # include <wchar.h>
20788 #ifdef HAVE_STDLIB_H
20789 # include <stdlib.h>
20798 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20805 rm -f conftest.
$ac_objext
20806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20807 (eval $ac_compile) 2>conftest.er1
20809 grep -v '^ *+' conftest.er1
>conftest.err
20811 cat conftest.err
>&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); } &&
20814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816 (eval $ac_try) 2>&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); }; } &&
20820 { ac_try
='test -s conftest.$ac_objext'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; }; then
20828 cat >conftest.
$ac_ext <<_ACEOF
20831 cat confdefs.h
>>conftest.
$ac_ext
20832 cat >>conftest.
$ac_ext <<_ACEOF
20833 /* end confdefs.h. */
20835 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20836 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20837 # error "fake wchar_t"
20839 #ifdef HAVE_WCHAR_H
20841 # include <stddef.h>
20843 # include <wchar.h>
20845 #ifdef HAVE_STDLIB_H
20846 # include <stdlib.h>
20855 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20862 rm -f conftest.
$ac_objext
20863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20864 (eval $ac_compile) 2>conftest.er1
20866 grep -v '^ *+' conftest.er1
>conftest.err
20868 cat conftest.err
>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } &&
20871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873 (eval $ac_try) 2>&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); }; } &&
20877 { ac_try
='test -s conftest.$ac_objext'
20878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20879 (eval $ac_try) 2>&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); }; }; then
20883 ac_lo
=$ac_mid; break
20885 echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.
$ac_ext >&5
20888 ac_hi
=`expr '(' $ac_mid ')' - 1`
20889 if test $ac_mid -le $ac_hi; then
20893 ac_mid
=`expr 2 '*' $ac_mid`
20895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20898 echo "$as_me: failed program was:" >&5
20899 sed 's/^/| /' conftest.
$ac_ext >&5
20903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20906 # Binary search between lo and hi bounds.
20907 while test "x$ac_lo" != "x$ac_hi"; do
20908 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20909 cat >conftest.
$ac_ext <<_ACEOF
20912 cat confdefs.h
>>conftest.
$ac_ext
20913 cat >>conftest.
$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20916 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20917 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20918 # error "fake wchar_t"
20920 #ifdef HAVE_WCHAR_H
20922 # include <stddef.h>
20924 # include <wchar.h>
20926 #ifdef HAVE_STDLIB_H
20927 # include <stdlib.h>
20936 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20943 rm -f conftest.
$ac_objext
20944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20945 (eval $ac_compile) 2>conftest.er1
20947 grep -v '^ *+' conftest.er1
>conftest.err
20949 cat conftest.err
>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); } &&
20952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20958 { ac_try
='test -s conftest.$ac_objext'
20959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20960 (eval $ac_try) 2>&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); }; }; then
20966 echo "$as_me: failed program was:" >&5
20967 sed 's/^/| /' conftest.
$ac_ext >&5
20969 ac_lo
=`expr '(' $ac_mid ')' + 1`
20971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20974 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
20975 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20976 See \`config.log' for more details." >&5
20977 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20978 See \`config.log' for more details." >&2;}
20979 { (exit 1); exit 1; }; } ;;
20982 if test "$cross_compiling" = yes; then
20983 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20984 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20985 { (exit 1); exit 1; }; }
20987 cat >conftest.
$ac_ext <<_ACEOF
20990 cat confdefs.h
>>conftest.
$ac_ext
20991 cat >>conftest.
$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20994 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20995 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20996 # error "fake wchar_t"
20998 #ifdef HAVE_WCHAR_H
21000 # include <stddef.h>
21002 # include <wchar.h>
21004 #ifdef HAVE_STDLIB_H
21005 # include <stdlib.h>
21011 long longval () { return (long) (sizeof (wchar_t)); }
21012 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21014 #include <stdlib.h>
21019 FILE *f = fopen ("conftest.val", "w");
21022 if (((long) (sizeof (wchar_t))) < 0)
21024 long i = longval ();
21025 if (i != ((long) (sizeof (wchar_t))))
21027 fprintf (f, "%ld\n", i);
21031 unsigned long i = ulongval ();
21032 if (i != ((long) (sizeof (wchar_t))))
21034 fprintf (f, "%lu\n", i);
21036 exit (ferror (f) || fclose (f) != 0);
21042 rm -f conftest
$ac_exeext
21043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21044 (eval $ac_link) 2>&5
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21049 (eval $ac_try) 2>&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); }; }; then
21053 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21055 echo "$as_me: program exited with status $ac_status" >&5
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.
$ac_ext >&5
21059 ( exit $ac_status )
21060 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21061 See \`config.log' for more details." >&5
21062 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21063 See \`config.log' for more details." >&2;}
21064 { (exit 1); exit 1; }; }
21066 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21071 ac_cv_sizeof_wchar_t
=0
21074 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21075 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21076 cat >>confdefs.h
<<_ACEOF
21077 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21081 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21087 echo "$as_me:$LINENO: checking for va_copy" >&5
21088 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21089 if test "${wx_cv_func_va_copy+set}" = set; then
21090 echo $ECHO_N "(cached) $ECHO_C" >&6
21093 cat >conftest.
$ac_ext <<_ACEOF
21095 #include <stdarg.h>
21096 void foo(char *f, ...)
21110 rm -f conftest.
$ac_objext conftest
$ac_exeext
21111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21112 (eval $ac_link) 2>conftest.er1
21114 grep -v '^ *+' conftest.er1
>conftest.err
21116 cat conftest.err
>&5
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); } &&
21119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21121 (eval $ac_try) 2>&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); }; } &&
21125 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
21131 wx_cv_func_va_copy
=yes
21133 echo "$as_me: failed program was:" >&5
21134 sed 's/^/| /' conftest.
$ac_ext >&5
21136 wx_cv_func_va_copy
=no
21139 rm -f conftest.err conftest.
$ac_objext \
21140 conftest
$ac_exeext conftest.
$ac_ext
21144 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21145 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21147 if test $wx_cv_func_va_copy = "yes"; then
21148 cat >>confdefs.h
<<\_ACEOF
21149 #define HAVE_VA_COPY 1
21153 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21154 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21155 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21159 if test "$cross_compiling" = yes; then
21160 wx_cv_type_va_list_lvalue
=yes
21163 cat >conftest.
$ac_ext <<_ACEOF
21165 #include <stdarg.h>
21166 int foo(char *f, ...)
21171 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21179 return foo("hi", 17);
21182 rm -f conftest
$ac_exeext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21184 (eval $ac_link) 2>&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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
21193 wx_cv_type_va_list_lvalue
=yes
21195 echo "$as_me: program exited with status $ac_status" >&5
21196 echo "$as_me: failed program was:" >&5
21197 sed 's/^/| /' conftest.
$ac_ext >&5
21199 ( exit $ac_status )
21200 wx_cv_type_va_list_lvalue
=no
21202 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21207 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21208 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21210 if test $wx_cv_type_va_list_lvalue != "yes"; then
21211 cat >>confdefs.h
<<\_ACEOF
21212 #define VA_LIST_IS_ARRAY 1
21218 # Check whether --enable-largefile or --disable-largefile was given.
21219 if test "${enable_largefile+set}" = set; then
21220 enableval
="$enable_largefile"
21223 if test "$enable_largefile" != no
; then
21226 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21227 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21228 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21229 echo $ECHO_N "(cached) $ECHO_C" >&6
21232 cat >conftest.
$ac_ext <<_ACEOF
21235 cat confdefs.h
>>conftest.
$ac_ext
21236 cat >>conftest.
$ac_ext <<_ACEOF
21237 /* end confdefs.h. */
21238 #define _FILE_OFFSET_BITS 64
21239 #include <sys/types.h>
21244 unsigned int field: sizeof(off_t) == 8;
21251 rm -f conftest.
$ac_objext
21252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21253 (eval $ac_compile) 2>conftest.er1
21255 grep -v '^ *+' conftest.er1
>conftest.err
21257 cat conftest.err
>&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } &&
21260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21262 (eval $ac_try) 2>&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); }; } &&
21266 { ac_try
='test -s conftest.$ac_objext'
21267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21268 (eval $ac_try) 2>&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); }; }; then
21272 ac_cv_sys_file_offset_bits
=64
21274 echo "$as_me: failed program was:" >&5
21275 sed 's/^/| /' conftest.
$ac_ext >&5
21277 ac_cv_sys_file_offset_bits
=no
21279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21283 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21284 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21286 if test "$ac_cv_sys_file_offset_bits" != no
; then
21288 cat >>confdefs.h
<<_ACEOF
21289 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21294 if test "x$wx_largefile" != "xyes"; then
21296 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21297 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21298 if test "${ac_cv_sys_large_files+set}" = set; then
21299 echo $ECHO_N "(cached) $ECHO_C" >&6
21302 cat >conftest.
$ac_ext <<_ACEOF
21305 cat confdefs.h
>>conftest.
$ac_ext
21306 cat >>conftest.
$ac_ext <<_ACEOF
21307 /* end confdefs.h. */
21308 #define _LARGE_FILES 1
21309 #include <sys/types.h>
21314 unsigned int field: sizeof(off_t) == 8;
21321 rm -f conftest.
$ac_objext
21322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21323 (eval $ac_compile) 2>conftest.er1
21325 grep -v '^ *+' conftest.er1
>conftest.err
21327 cat conftest.err
>&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); } &&
21330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21332 (eval $ac_try) 2>&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); }; } &&
21336 { ac_try
='test -s conftest.$ac_objext'
21337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21338 (eval $ac_try) 2>&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); }; }; then
21342 ac_cv_sys_large_files
=1
21344 echo "$as_me: failed program was:" >&5
21345 sed 's/^/| /' conftest.
$ac_ext >&5
21347 ac_cv_sys_large_files
=no
21349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21353 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21354 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21356 if test "$ac_cv_sys_large_files" != no
; then
21358 cat >>confdefs.h
<<_ACEOF
21359 #define _LARGE_FILES $ac_cv_sys_large_files
21366 echo "$as_me:$LINENO: checking if large file support is available" >&5
21367 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21368 if test "x$wx_largefile" = "xyes"; then
21369 cat >>confdefs.h
<<\_ACEOF
21370 #define HAVE_LARGEFILE_SUPPORT 1
21374 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21375 echo "${ECHO_T}$wx_largefile" >&6
21379 if test "x$wx_largefile" = "xyes"; then
21380 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21381 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21383 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21384 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21385 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21386 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21387 echo $ECHO_N "(cached) $ECHO_C" >&6
21391 ac_cpp
='$CXXCPP $CPPFLAGS'
21392 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21393 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21394 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21396 cat >conftest.
$ac_ext <<_ACEOF
21399 cat confdefs.h
>>conftest.
$ac_ext
21400 cat >>conftest.
$ac_ext <<_ACEOF
21401 /* end confdefs.h. */
21407 #ifndef __STDC_EXT__
21415 rm -f conftest.
$ac_objext
21416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21417 (eval $ac_compile) 2>conftest.er1
21419 grep -v '^ *+' conftest.er1
>conftest.err
21421 cat conftest.err
>&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } &&
21424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 (eval $ac_try) 2>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); }; } &&
21430 { ac_try
='test -s conftest.$ac_objext'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; }; then
21436 wx_cv_STDC_EXT_required
=no
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.
$ac_ext >&5
21441 wx_cv_STDC_EXT_required
=yes
21444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21446 ac_cpp
='$CPP $CPPFLAGS'
21447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21454 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21455 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21456 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21457 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21461 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21463 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21464 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21465 if test "${ac_cv_sys_largefile_source+set}" = set; then
21466 echo $ECHO_N "(cached) $ECHO_C" >&6
21469 ac_cv_sys_largefile_source
=no
21470 cat >conftest.
$ac_ext <<_ACEOF
21473 cat confdefs.h
>>conftest.
$ac_ext
21474 cat >>conftest.
$ac_ext <<_ACEOF
21475 /* end confdefs.h. */
21485 rm -f conftest.
$ac_objext
21486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21487 (eval $ac_compile) 2>conftest.er1
21489 grep -v '^ *+' conftest.er1
>conftest.err
21491 cat conftest.err
>&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); } &&
21494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21496 (eval $ac_try) 2>&5
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; } &&
21500 { ac_try
='test -s conftest.$ac_objext'
21501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21502 (eval $ac_try) 2>&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); }; }; then
21508 echo "$as_me: failed program was:" >&5
21509 sed 's/^/| /' conftest.
$ac_ext >&5
21512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21513 cat >conftest.
$ac_ext <<_ACEOF
21516 cat confdefs.h
>>conftest.
$ac_ext
21517 cat >>conftest.
$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21519 #define _LARGEFILE_SOURCE 1
21529 rm -f conftest.
$ac_objext
21530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21531 (eval $ac_compile) 2>conftest.er1
21533 grep -v '^ *+' conftest.er1
>conftest.err
21535 cat conftest.err
>&5
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); } &&
21538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21540 (eval $ac_try) 2>&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; } &&
21544 { ac_try
='test -s conftest.$ac_objext'
21545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21546 (eval $ac_try) 2>&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); }; }; then
21550 ac_cv_sys_largefile_source
=1; break
21552 echo "$as_me: failed program was:" >&5
21553 sed 's/^/| /' conftest.
$ac_ext >&5
21556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21560 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21561 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21562 if test "$ac_cv_sys_largefile_source" != no
; then
21564 cat >>confdefs.h
<<_ACEOF
21565 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21571 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21572 # in glibc 2.1.3, but that breaks too many other things.
21573 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21574 echo "$as_me:$LINENO: checking for fseeko" >&5
21575 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21576 if test "${ac_cv_func_fseeko+set}" = set; then
21577 echo $ECHO_N "(cached) $ECHO_C" >&6
21579 cat >conftest.
$ac_ext <<_ACEOF
21582 cat confdefs.h
>>conftest.
$ac_ext
21583 cat >>conftest.
$ac_ext <<_ACEOF
21584 /* end confdefs.h. */
21589 return fseeko && fseeko (stdin, 0, 0);
21594 rm -f conftest.
$ac_objext conftest
$ac_exeext
21595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21596 (eval $ac_link) 2>conftest.er1
21598 grep -v '^ *+' conftest.er1
>conftest.err
21600 cat conftest.err
>&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); } &&
21603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21605 (eval $ac_try) 2>&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); }; } &&
21609 { ac_try
='test -s conftest$ac_exeext'
21610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21611 (eval $ac_try) 2>&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); }; }; then
21615 ac_cv_func_fseeko
=yes
21617 echo "$as_me: failed program was:" >&5
21618 sed 's/^/| /' conftest.
$ac_ext >&5
21620 ac_cv_func_fseeko
=no
21622 rm -f conftest.err conftest.
$ac_objext \
21623 conftest
$ac_exeext conftest.
$ac_ext
21625 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21626 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21627 if test $ac_cv_func_fseeko = yes; then
21629 cat >>confdefs.h
<<\_ACEOF
21630 #define HAVE_FSEEKO 1
21635 if test "$ac_cv_sys_largefile_source" != no
; then
21636 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21640 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21641 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21642 if test "${ac_cv_c_bigendian+set}" = set; then
21643 echo $ECHO_N "(cached) $ECHO_C" >&6
21645 ac_cv_c_bigendian
=unknown
21646 # See if sys/param.h defines the BYTE_ORDER macro.
21647 cat >conftest.
$ac_ext <<_ACEOF
21650 cat confdefs.h
>>conftest.
$ac_ext
21651 cat >>conftest.
$ac_ext <<_ACEOF
21652 /* end confdefs.h. */
21653 #include <sys/types.h>
21654 #include <sys/param.h>
21659 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21660 bogus endian macros
21666 rm -f conftest.
$ac_objext
21667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21668 (eval $ac_compile) 2>conftest.er1
21670 grep -v '^ *+' conftest.er1
>conftest.err
21672 cat conftest.err
>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); } &&
21675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21677 (eval $ac_try) 2>&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); }; } &&
21681 { ac_try
='test -s conftest.$ac_objext'
21682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21683 (eval $ac_try) 2>&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); }; }; then
21687 # It does; now see whether it defined to BIG_ENDIAN or not.
21688 cat >conftest.
$ac_ext <<_ACEOF
21691 cat confdefs.h
>>conftest.
$ac_ext
21692 cat >>conftest.
$ac_ext <<_ACEOF
21693 /* end confdefs.h. */
21694 #include <sys/types.h>
21695 #include <sys/param.h>
21700 #if BYTE_ORDER != BIG_ENDIAN
21707 rm -f conftest.
$ac_objext
21708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21709 (eval $ac_compile) 2>conftest.er1
21711 grep -v '^ *+' conftest.er1
>conftest.err
21713 cat conftest.err
>&5
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); } &&
21716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21718 (eval $ac_try) 2>&5
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); }; } &&
21722 { ac_try
='test -s conftest.$ac_objext'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; }; then
21728 ac_cv_c_bigendian
=yes
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.
$ac_ext >&5
21733 ac_cv_c_bigendian
=no
21735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21737 echo "$as_me: failed program was:" >&5
21738 sed 's/^/| /' conftest.
$ac_ext >&5
21741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21742 if test $ac_cv_c_bigendian = unknown
; then
21743 if test "$cross_compiling" = yes; then
21744 ac_cv_c_bigendian
=unknown
21746 cat >conftest.
$ac_ext <<_ACEOF
21749 cat confdefs.h
>>conftest.
$ac_ext
21750 cat >>conftest.
$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21753 /* Are we little or big endian? From Harbison&Steele. */
21757 char c[sizeof (long)];
21760 exit (u.c[sizeof (long) - 1] == 1);
21763 rm -f conftest
$ac_exeext
21764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21765 (eval $ac_link) 2>&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21770 (eval $ac_try) 2>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); }; }; then
21774 ac_cv_c_bigendian
=no
21776 echo "$as_me: program exited with status $ac_status" >&5
21777 echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.
$ac_ext >&5
21780 ( exit $ac_status )
21781 ac_cv_c_bigendian
=yes
21783 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21787 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21788 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21789 if test $ac_cv_c_bigendian = unknown
; then
21790 { 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
21791 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;}
21793 if test $ac_cv_c_bigendian = yes; then
21794 cat >>confdefs.h
<<\_ACEOF
21795 #define WORDS_BIGENDIAN 1
21802 ac_cpp
='$CXXCPP $CPPFLAGS'
21803 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21804 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21805 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21806 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21807 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21808 if test -z "$CXXCPP"; then
21809 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21810 echo $ECHO_N "(cached) $ECHO_C" >&6
21812 # Double quotes because CXXCPP needs to be expanded
21813 for CXXCPP
in "$CXX -E" "/lib/cpp"
21815 ac_preproc_ok
=false
21816 for ac_cxx_preproc_warn_flag
in '' yes
21818 # Use a header file that comes with gcc, so configuring glibc
21819 # with a fresh cross-compiler works.
21820 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21821 # <limits.h> exists even on freestanding compilers.
21822 # On the NeXT, cc -E runs the code through the compiler's parser,
21823 # not just through cpp. "Syntax error" is here to catch this case.
21824 cat >conftest.
$ac_ext <<_ACEOF
21827 cat confdefs.h
>>conftest.
$ac_ext
21828 cat >>conftest.
$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21831 # include <limits.h>
21833 # include <assert.h>
21837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21838 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21840 grep -v '^ *+' conftest.er1
>conftest.err
21842 cat conftest.err
>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); } >/dev
/null
; then
21845 if test -s conftest.err
; then
21846 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21847 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21854 if test -z "$ac_cpp_err"; then
21857 echo "$as_me: failed program was:" >&5
21858 sed 's/^/| /' conftest.
$ac_ext >&5
21860 # Broken: fails on valid input.
21863 rm -f conftest.err conftest.
$ac_ext
21865 # OK, works on sane cases. Now check whether non-existent headers
21866 # can be detected and how.
21867 cat >conftest.
$ac_ext <<_ACEOF
21870 cat confdefs.h
>>conftest.
$ac_ext
21871 cat >>conftest.
$ac_ext <<_ACEOF
21872 /* end confdefs.h. */
21873 #include <ac_nonexistent.h>
21875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21876 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21878 grep -v '^ *+' conftest.er1
>conftest.err
21880 cat conftest.err
>&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); } >/dev
/null
; then
21883 if test -s conftest.err
; then
21884 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21885 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21892 if test -z "$ac_cpp_err"; then
21893 # Broken: success on invalid input.
21896 echo "$as_me: failed program was:" >&5
21897 sed 's/^/| /' conftest.
$ac_ext >&5
21899 # Passes both tests.
21903 rm -f conftest.err conftest.
$ac_ext
21906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21907 rm -f conftest.err conftest.
$ac_ext
21908 if $ac_preproc_ok; then
21913 ac_cv_prog_CXXCPP
=$CXXCPP
21916 CXXCPP
=$ac_cv_prog_CXXCPP
21918 ac_cv_prog_CXXCPP
=$CXXCPP
21920 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21921 echo "${ECHO_T}$CXXCPP" >&6
21922 ac_preproc_ok
=false
21923 for ac_cxx_preproc_warn_flag
in '' yes
21925 # Use a header file that comes with gcc, so configuring glibc
21926 # with a fresh cross-compiler works.
21927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21928 # <limits.h> exists even on freestanding compilers.
21929 # On the NeXT, cc -E runs the code through the compiler's parser,
21930 # not just through cpp. "Syntax error" is here to catch this case.
21931 cat >conftest.
$ac_ext <<_ACEOF
21934 cat confdefs.h
>>conftest.
$ac_ext
21935 cat >>conftest.
$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21938 # include <limits.h>
21940 # include <assert.h>
21944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21945 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21947 grep -v '^ *+' conftest.er1
>conftest.err
21949 cat conftest.err
>&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); } >/dev
/null
; then
21952 if test -s conftest.err
; then
21953 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21954 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21961 if test -z "$ac_cpp_err"; then
21964 echo "$as_me: failed program was:" >&5
21965 sed 's/^/| /' conftest.
$ac_ext >&5
21967 # Broken: fails on valid input.
21970 rm -f conftest.err conftest.
$ac_ext
21972 # OK, works on sane cases. Now check whether non-existent headers
21973 # can be detected and how.
21974 cat >conftest.
$ac_ext <<_ACEOF
21977 cat confdefs.h
>>conftest.
$ac_ext
21978 cat >>conftest.
$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21980 #include <ac_nonexistent.h>
21982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21983 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21985 grep -v '^ *+' conftest.er1
>conftest.err
21987 cat conftest.err
>&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); } >/dev
/null
; then
21990 if test -s conftest.err
; then
21991 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21992 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21999 if test -z "$ac_cpp_err"; then
22000 # Broken: success on invalid input.
22003 echo "$as_me: failed program was:" >&5
22004 sed 's/^/| /' conftest.
$ac_ext >&5
22006 # Passes both tests.
22010 rm -f conftest.err conftest.
$ac_ext
22013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22014 rm -f conftest.err conftest.
$ac_ext
22015 if $ac_preproc_ok; then
22018 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22019 See \`config.log' for more details." >&5
22020 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22021 See \`config.log' for more details." >&2;}
22022 { (exit 1); exit 1; }; }
22026 ac_cpp
='$CXXCPP $CPPFLAGS'
22027 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22028 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22029 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22036 ac_cpp
='$CXXCPP $CPPFLAGS'
22037 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22038 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22039 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22043 for ac_header
in iostream
22045 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22047 echo "$as_me:$LINENO: checking for $ac_header" >&5
22048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22050 echo $ECHO_N "(cached) $ECHO_C" >&6
22052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22055 # Is the header compilable?
22056 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22057 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22058 cat >conftest.
$ac_ext <<_ACEOF
22061 cat confdefs.h
>>conftest.
$ac_ext
22062 cat >>conftest.
$ac_ext <<_ACEOF
22063 /* end confdefs.h. */
22064 $ac_includes_default
22065 #include <$ac_header>
22067 rm -f conftest.
$ac_objext
22068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22069 (eval $ac_compile) 2>conftest.er1
22071 grep -v '^ *+' conftest.er1
>conftest.err
22073 cat conftest.err
>&5
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); } &&
22076 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078 (eval $ac_try) 2>&5
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); }; } &&
22082 { ac_try
='test -s conftest.$ac_objext'
22083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22084 (eval $ac_try) 2>&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); }; }; then
22088 ac_header_compiler
=yes
22090 echo "$as_me: failed program was:" >&5
22091 sed 's/^/| /' conftest.
$ac_ext >&5
22093 ac_header_compiler
=no
22095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22097 echo "${ECHO_T}$ac_header_compiler" >&6
22099 # Is the header present?
22100 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22101 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22102 cat >conftest.
$ac_ext <<_ACEOF
22105 cat confdefs.h
>>conftest.
$ac_ext
22106 cat >>conftest.
$ac_ext <<_ACEOF
22107 /* end confdefs.h. */
22108 #include <$ac_header>
22110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22113 grep -v '^ *+' conftest.er1
>conftest.err
22115 cat conftest.err
>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } >/dev
/null
; then
22118 if test -s conftest.err
; then
22119 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22120 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22127 if test -z "$ac_cpp_err"; then
22128 ac_header_preproc
=yes
22130 echo "$as_me: failed program was:" >&5
22131 sed 's/^/| /' conftest.
$ac_ext >&5
22133 ac_header_preproc
=no
22135 rm -f conftest.err conftest.
$ac_ext
22136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22137 echo "${ECHO_T}$ac_header_preproc" >&6
22139 # So? What about this header?
22140 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22145 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22146 ac_header_preproc
=yes
22149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22153 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22154 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22155 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22156 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22159 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22160 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22163 ## ----------------------------------------- ##
22164 ## Report this to wx-dev@lists.wxwidgets.org ##
22165 ## ----------------------------------------- ##
22168 sed "s/^/$as_me: WARNING: /" >&2
22171 echo "$as_me:$LINENO: checking for $ac_header" >&5
22172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22174 echo $ECHO_N "(cached) $ECHO_C" >&6
22176 eval "$as_ac_Header=\$ac_header_preproc"
22178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22183 cat >>confdefs.h
<<_ACEOF
22184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22192 if test "$ac_cv_header_iostream" = "yes" ; then
22195 cat >>confdefs.h
<<\_ACEOF
22196 #define wxUSE_IOSTREAMH 1
22202 ac_cpp
='$CPP $CPPFLAGS'
22203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22210 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22211 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22212 if test "${wx_cv_cpp_bool+set}" = set; then
22213 echo $ECHO_N "(cached) $ECHO_C" >&6
22219 ac_cpp
='$CXXCPP $CPPFLAGS'
22220 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22221 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22222 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22225 cat >conftest.
$ac_ext <<_ACEOF
22228 cat confdefs.h
>>conftest.
$ac_ext
22229 cat >>conftest.
$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22245 rm -f conftest.
$ac_objext
22246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22247 (eval $ac_compile) 2>conftest.er1
22249 grep -v '^ *+' conftest.er1
>conftest.err
22251 cat conftest.err
>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); } &&
22254 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22256 (eval $ac_try) 2>&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); }; } &&
22260 { ac_try
='test -s conftest.$ac_objext'
22261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22262 (eval $ac_try) 2>&5
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); }; }; then
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.
$ac_ext >&5
22278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22281 ac_cpp
='$CPP $CPPFLAGS'
22282 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22283 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22284 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22288 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22289 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22291 if test "$wx_cv_cpp_bool" = "yes"; then
22292 cat >>confdefs.h
<<\_ACEOF
22293 #define HAVE_BOOL 1
22300 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22301 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22302 if test "${wx_cv_explicit+set}" = set; then
22303 echo $ECHO_N "(cached) $ECHO_C" >&6
22309 ac_cpp
='$CXXCPP $CPPFLAGS'
22310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22315 cat >conftest.
$ac_ext <<_ACEOF
22318 cat confdefs.h
>>conftest.
$ac_ext
22319 cat >>conftest.
$ac_ext <<_ACEOF
22320 /* end confdefs.h. */
22322 class Foo { public: explicit Foo(int) {} };
22334 rm -f conftest.
$ac_objext
22335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22336 (eval $ac_compile) 2>conftest.er1
22338 grep -v '^ *+' conftest.er1
>conftest.err
22340 cat conftest.err
>&5
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); } &&
22343 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; } &&
22349 { ac_try
='test -s conftest.$ac_objext'
22350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22351 (eval $ac_try) 2>&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); }; }; then
22356 cat >conftest.
$ac_ext <<_ACEOF
22359 cat confdefs.h
>>conftest.
$ac_ext
22360 cat >>conftest.
$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22363 class Foo { public: explicit Foo(int) {} };
22364 static void TakeFoo(const Foo& foo) { }
22377 rm -f conftest.
$ac_objext
22378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22379 (eval $ac_compile) 2>conftest.er1
22381 grep -v '^ *+' conftest.er1
>conftest.err
22383 cat conftest.err
>&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); } &&
22386 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; } &&
22392 { ac_try
='test -s conftest.$ac_objext'
22393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22394 (eval $ac_try) 2>&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); }; }; then
22400 echo "$as_me: failed program was:" >&5
22401 sed 's/^/| /' conftest.
$ac_ext >&5
22406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22409 echo "$as_me: failed program was:" >&5
22410 sed 's/^/| /' conftest.
$ac_ext >&5
22415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22418 ac_cpp
='$CPP $CPPFLAGS'
22419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22425 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22426 echo "${ECHO_T}$wx_cv_explicit" >&6
22428 if test "$wx_cv_explicit" = "yes"; then
22429 cat >>confdefs.h
<<\_ACEOF
22430 #define HAVE_EXPLICIT 1
22436 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22437 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22438 if test "${ac_cv_cxx_const_cast+set}" = set; then
22439 echo $ECHO_N "(cached) $ECHO_C" >&6
22444 ac_cpp
='$CXXCPP $CPPFLAGS'
22445 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22446 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22447 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22449 cat >conftest.
$ac_ext <<_ACEOF
22452 cat confdefs.h
>>conftest.
$ac_ext
22453 cat >>conftest.
$ac_ext <<_ACEOF
22454 /* end confdefs.h. */
22459 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22464 rm -f conftest.
$ac_objext
22465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22466 (eval $ac_compile) 2>conftest.er1
22468 grep -v '^ *+' conftest.er1
>conftest.err
22470 cat conftest.err
>&5
22471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22472 (exit $ac_status); } &&
22473 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22475 (eval $ac_try) 2>&5
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); }; } &&
22479 { ac_try
='test -s conftest.$ac_objext'
22480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22481 (eval $ac_try) 2>&5
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); }; }; then
22485 ac_cv_cxx_const_cast
=yes
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.
$ac_ext >&5
22490 ac_cv_cxx_const_cast
=no
22492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22494 ac_cpp
='$CPP $CPPFLAGS'
22495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22501 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22502 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22503 if test "$ac_cv_cxx_const_cast" = yes; then
22505 cat >>confdefs.h
<<\_ACEOF
22506 #define HAVE_CONST_CAST
22511 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22512 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22513 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22514 echo $ECHO_N "(cached) $ECHO_C" >&6
22519 ac_cpp
='$CXXCPP $CPPFLAGS'
22520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22524 cat >conftest.
$ac_ext <<_ACEOF
22527 cat confdefs.h
>>conftest.
$ac_ext
22528 cat >>conftest.
$ac_ext <<_ACEOF
22529 /* end confdefs.h. */
22530 #include <typeinfo>
22531 class Base { public : Base () {} virtual void f () = 0;};
22532 class Derived : public Base { public : Derived () {} virtual void f () {} };
22533 class Unrelated { public : Unrelated () {} };
22534 int g (Unrelated&) { return 0; }
22539 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22544 rm -f conftest.
$ac_objext
22545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22546 (eval $ac_compile) 2>conftest.er1
22548 grep -v '^ *+' conftest.er1
>conftest.err
22550 cat conftest.err
>&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); } &&
22553 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
22559 { ac_try
='test -s conftest.$ac_objext'
22560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22561 (eval $ac_try) 2>&5
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); }; }; then
22565 ac_cv_cxx_reinterpret_cast
=yes
22567 echo "$as_me: failed program was:" >&5
22568 sed 's/^/| /' conftest.
$ac_ext >&5
22570 ac_cv_cxx_reinterpret_cast
=no
22572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22574 ac_cpp
='$CPP $CPPFLAGS'
22575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22581 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22582 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22583 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22585 cat >>confdefs.h
<<\_ACEOF
22586 #define HAVE_REINTERPRET_CAST
22591 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22592 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22593 if test "${ac_cv_cxx_static_cast+set}" = set; then
22594 echo $ECHO_N "(cached) $ECHO_C" >&6
22599 ac_cpp
='$CXXCPP $CPPFLAGS'
22600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22604 cat >conftest.
$ac_ext <<_ACEOF
22607 cat confdefs.h
>>conftest.
$ac_ext
22608 cat >>conftest.
$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22610 #include <typeinfo>
22611 class Base { public : Base () {} virtual void f () = 0; };
22612 class Derived : public Base { public : Derived () {} virtual void f () {} };
22613 int g (Derived&) { return 0; }
22618 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22623 rm -f conftest.
$ac_objext
22624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22625 (eval $ac_compile) 2>conftest.er1
22627 grep -v '^ *+' conftest.er1
>conftest.err
22629 cat conftest.err
>&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); } &&
22632 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22634 (eval $ac_try) 2>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; } &&
22638 { ac_try
='test -s conftest.$ac_objext'
22639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640 (eval $ac_try) 2>&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; }; then
22644 ac_cv_cxx_static_cast
=yes
22646 echo "$as_me: failed program was:" >&5
22647 sed 's/^/| /' conftest.
$ac_ext >&5
22649 ac_cv_cxx_static_cast
=no
22651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22653 ac_cpp
='$CPP $CPPFLAGS'
22654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22660 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22661 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22662 if test "$ac_cv_cxx_static_cast" = yes; then
22664 cat >>confdefs.h
<<\_ACEOF
22665 #define HAVE_STATIC_CAST
22671 if test "x$SUNCXX" = xyes
; then
22672 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22675 if test "x$SUNCC" = xyes
; then
22676 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22679 if test "x$SGICC" = "xyes"; then
22680 CFLAGS
="-woff 3970 $CFLAGS"
22682 if test "x$SGICXX" = "xyes"; then
22683 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22686 if test "x$HPCC" = "xyes"; then
22687 CFLAGS
="+W 2011,2450 $CFLAGS"
22689 if test "x$HPCXX" = "xyes"; then
22690 CXXFLAGS
="+W 2340 $CXXFLAGS"
22693 if test "x$COMPAQCXX" = "xyes"; then
22694 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22697 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22699 ac_cpp
='$CXXCPP $CPPFLAGS'
22700 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22701 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22702 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22705 if test "$wxUSE_UNICODE" = "yes"; then
22706 std_string
="std::wstring"
22707 char_type
="wchar_t"
22709 std_string
="std::string"
22713 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22714 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22715 cat >conftest.
$ac_ext <<_ACEOF
22718 cat confdefs.h
>>conftest.
$ac_ext
22719 cat >>conftest.
$ac_ext <<_ACEOF
22720 /* end confdefs.h. */
22730 rm -f conftest.
$ac_objext
22731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22732 (eval $ac_compile) 2>conftest.er1
22734 grep -v '^ *+' conftest.er1
>conftest.err
22736 cat conftest.err
>&5
22737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22738 (exit $ac_status); } &&
22739 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22741 (eval $ac_try) 2>&5
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); }; } &&
22745 { ac_try
='test -s conftest.$ac_objext'
22746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22747 (eval $ac_try) 2>&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); }; }; then
22751 echo "$as_me:$LINENO: result: yes" >&5
22752 echo "${ECHO_T}yes" >&6
22753 cat >>confdefs.h
<<\_ACEOF
22754 #define HAVE_STD_WSTRING 1
22758 echo "$as_me: failed program was:" >&5
22759 sed 's/^/| /' conftest.
$ac_ext >&5
22761 echo "$as_me:$LINENO: result: no" >&5
22762 echo "${ECHO_T}no" >&6
22763 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22764 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22765 cat >conftest.
$ac_ext <<_ACEOF
22768 cat confdefs.h
>>conftest.
$ac_ext
22769 cat >>conftest.
$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22772 #ifdef HAVE_WCHAR_H
22774 # include <stddef.h>
22776 # include <wchar.h>
22778 #ifdef HAVE_STDLIB_H
22779 # include <stdlib.h>
22787 std::basic_string<$char_type> foo;
22788 const $char_type* dummy = foo.c_str();
22793 rm -f conftest.
$ac_objext
22794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22795 (eval $ac_compile) 2>conftest.er1
22797 grep -v '^ *+' conftest.er1
>conftest.err
22799 cat conftest.err
>&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); } &&
22802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22804 (eval $ac_try) 2>&5
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); }; } &&
22808 { ac_try
='test -s conftest.$ac_objext'
22809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22810 (eval $ac_try) 2>&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); }; }; then
22814 echo "$as_me:$LINENO: result: yes" >&5
22815 echo "${ECHO_T}yes" >&6
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.
$ac_ext >&5
22820 echo "$as_me:$LINENO: result: no" >&5
22821 echo "${ECHO_T}no" >&6
22822 if test "$wxUSE_STL" = "yes"; then
22823 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22824 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22825 { (exit 1); exit 1; }; }
22826 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22827 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22828 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22829 { (exit 1); exit 1; }; }
22831 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22832 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22833 wxUSE_STD_STRING
=no
22838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22844 ac_cpp
='$CPP $CPPFLAGS'
22845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22851 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22853 ac_cpp
='$CXXCPP $CPPFLAGS'
22854 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22855 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22856 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22859 echo "$as_me:$LINENO: checking for std::istream" >&5
22860 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22861 if test "${ac_cv_type_std__istream+set}" = set; then
22862 echo $ECHO_N "(cached) $ECHO_C" >&6
22864 cat >conftest.
$ac_ext <<_ACEOF
22867 cat confdefs.h
>>conftest.
$ac_ext
22868 cat >>conftest.
$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22870 #include <iostream>
22875 if ((std::istream *) 0)
22877 if (sizeof (std::istream))
22883 rm -f conftest.
$ac_objext
22884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22885 (eval $ac_compile) 2>conftest.er1
22887 grep -v '^ *+' conftest.er1
>conftest.err
22889 cat conftest.err
>&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); } &&
22892 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; } &&
22898 { ac_try
='test -s conftest.$ac_objext'
22899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22900 (eval $ac_try) 2>&5
22902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 (exit $ac_status); }; }; then
22904 ac_cv_type_std__istream
=yes
22906 echo "$as_me: failed program was:" >&5
22907 sed 's/^/| /' conftest.
$ac_ext >&5
22909 ac_cv_type_std__istream
=no
22911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22913 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22914 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22915 if test $ac_cv_type_std__istream = yes; then
22917 cat >>confdefs.h
<<_ACEOF
22918 #define HAVE_STD__ISTREAM 1
22923 wxUSE_STD_IOSTREAM
=no
22925 echo "$as_me:$LINENO: checking for std::ostream" >&5
22926 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22927 if test "${ac_cv_type_std__ostream+set}" = set; then
22928 echo $ECHO_N "(cached) $ECHO_C" >&6
22930 cat >conftest.
$ac_ext <<_ACEOF
22933 cat confdefs.h
>>conftest.
$ac_ext
22934 cat >>conftest.
$ac_ext <<_ACEOF
22935 /* end confdefs.h. */
22936 #include <iostream>
22941 if ((std::ostream *) 0)
22943 if (sizeof (std::ostream))
22949 rm -f conftest.
$ac_objext
22950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22951 (eval $ac_compile) 2>conftest.er1
22953 grep -v '^ *+' conftest.er1
>conftest.err
22955 cat conftest.err
>&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); } &&
22958 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22960 (eval $ac_try) 2>&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); }; } &&
22964 { ac_try
='test -s conftest.$ac_objext'
22965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22966 (eval $ac_try) 2>&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); }; }; then
22970 ac_cv_type_std__ostream
=yes
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.
$ac_ext >&5
22975 ac_cv_type_std__ostream
=no
22977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22979 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22980 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22981 if test $ac_cv_type_std__ostream = yes; then
22983 cat >>confdefs.h
<<_ACEOF
22984 #define HAVE_STD__OSTREAM 1
22989 wxUSE_STD_IOSTREAM
=no
22993 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22994 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22995 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22996 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22997 { (exit 1); exit 1; }; }
22999 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23000 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23005 ac_cpp
='$CPP $CPPFLAGS'
23006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23012 if test "$wxUSE_STL" = "yes"; then
23014 ac_cpp
='$CXXCPP $CPPFLAGS'
23015 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23016 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23017 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23020 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23021 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23022 cat >conftest.
$ac_ext <<_ACEOF
23025 cat confdefs.h
>>conftest.
$ac_ext
23026 cat >>conftest.
$ac_ext <<_ACEOF
23027 /* end confdefs.h. */
23029 #include <functional>
23030 #include <algorithm>
23036 std::vector<int> moo;
23037 std::list<int> foo;
23038 std::vector<int>::iterator it =
23039 std::find_if(moo.begin(), moo.end(),
23040 std::bind2nd(std::less<int>(), 3));
23045 rm -f conftest.
$ac_objext
23046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23047 (eval $ac_compile) 2>conftest.er1
23049 grep -v '^ *+' conftest.er1
>conftest.err
23051 cat conftest.err
>&5
23052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23053 (exit $ac_status); } &&
23054 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23056 (eval $ac_try) 2>&5
23058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23059 (exit $ac_status); }; } &&
23060 { ac_try
='test -s conftest.$ac_objext'
23061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23062 (eval $ac_try) 2>&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); }; }; then
23066 echo "$as_me:$LINENO: result: yes" >&5
23067 echo "${ECHO_T}yes" >&6
23069 echo "$as_me: failed program was:" >&5
23070 sed 's/^/| /' conftest.
$ac_ext >&5
23072 echo "$as_me:$LINENO: result: no" >&5
23073 echo "${ECHO_T}no" >&6
23074 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23075 echo "$as_me: error: Basic STL functionality missing" >&2;}
23076 { (exit 1); exit 1; }; }
23078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23080 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23081 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23082 cat >conftest.
$ac_ext <<_ACEOF
23085 cat confdefs.h
>>conftest.
$ac_ext
23086 cat >>conftest.
$ac_ext <<_ACEOF
23087 /* end confdefs.h. */
23092 std::string foo, bar;
23094 foo.compare(1, 1, bar);
23095 foo.compare(1, 1, bar, 1, 1);
23097 foo.compare(1, 1, "");
23098 foo.compare(1, 1, "", 2);
23103 rm -f conftest.
$ac_objext
23104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23105 (eval $ac_compile) 2>conftest.er1
23107 grep -v '^ *+' conftest.er1
>conftest.err
23109 cat conftest.err
>&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); } &&
23112 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23114 (eval $ac_try) 2>&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; } &&
23118 { ac_try
='test -s conftest.$ac_objext'
23119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23120 (eval $ac_try) 2>&5
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); }; }; then
23124 echo "$as_me:$LINENO: result: yes" >&5
23125 echo "${ECHO_T}yes" >&6
23126 cat >>confdefs.h
<<\_ACEOF
23127 #define HAVE_STD_STRING_COMPARE 1
23131 echo "$as_me: failed program was:" >&5
23132 sed 's/^/| /' conftest.
$ac_ext >&5
23134 echo "$as_me:$LINENO: result: no" >&5
23135 echo "${ECHO_T}no" >&6
23137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23139 if test "${ac_cv_header_hash_map+set}" = set; then
23140 echo "$as_me:$LINENO: checking for hash_map" >&5
23141 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23142 if test "${ac_cv_header_hash_map+set}" = set; then
23143 echo $ECHO_N "(cached) $ECHO_C" >&6
23145 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23146 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23148 # Is the header compilable?
23149 echo "$as_me:$LINENO: checking hash_map usability" >&5
23150 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23151 cat >conftest.
$ac_ext <<_ACEOF
23154 cat confdefs.h
>>conftest.
$ac_ext
23155 cat >>conftest.
$ac_ext <<_ACEOF
23156 /* end confdefs.h. */
23157 $ac_includes_default
23158 #include <hash_map>
23160 rm -f conftest.
$ac_objext
23161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23162 (eval $ac_compile) 2>conftest.er1
23164 grep -v '^ *+' conftest.er1
>conftest.err
23166 cat conftest.err
>&5
23167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23168 (exit $ac_status); } &&
23169 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23171 (eval $ac_try) 2>&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); }; } &&
23175 { ac_try
='test -s conftest.$ac_objext'
23176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23177 (eval $ac_try) 2>&5
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); }; }; then
23181 ac_header_compiler
=yes
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.
$ac_ext >&5
23186 ac_header_compiler
=no
23188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23189 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23190 echo "${ECHO_T}$ac_header_compiler" >&6
23192 # Is the header present?
23193 echo "$as_me:$LINENO: checking hash_map presence" >&5
23194 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23195 cat >conftest.
$ac_ext <<_ACEOF
23198 cat confdefs.h
>>conftest.
$ac_ext
23199 cat >>conftest.
$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 #include <hash_map>
23203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23204 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23206 grep -v '^ *+' conftest.er1
>conftest.err
23208 cat conftest.err
>&5
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); } >/dev
/null
; then
23211 if test -s conftest.err
; then
23212 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23213 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23220 if test -z "$ac_cpp_err"; then
23221 ac_header_preproc
=yes
23223 echo "$as_me: failed program was:" >&5
23224 sed 's/^/| /' conftest.
$ac_ext >&5
23226 ac_header_preproc
=no
23228 rm -f conftest.err conftest.
$ac_ext
23229 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23230 echo "${ECHO_T}$ac_header_preproc" >&6
23232 # So? What about this header?
23233 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23235 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23236 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23237 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23238 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23239 ac_header_preproc
=yes
23242 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23243 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23244 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23245 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23246 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23247 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23248 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23249 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23250 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23251 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23252 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23253 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23256 ## ----------------------------------------- ##
23257 ## Report this to wx-dev@lists.wxwidgets.org ##
23258 ## ----------------------------------------- ##
23261 sed "s/^/$as_me: WARNING: /" >&2
23264 echo "$as_me:$LINENO: checking for hash_map" >&5
23265 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23266 if test "${ac_cv_header_hash_map+set}" = set; then
23267 echo $ECHO_N "(cached) $ECHO_C" >&6
23269 ac_cv_header_hash_map
=$ac_header_preproc
23271 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23272 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23275 if test $ac_cv_header_hash_map = yes; then
23276 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23277 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23278 cat >conftest.
$ac_ext <<_ACEOF
23281 cat confdefs.h
>>conftest.
$ac_ext
23282 cat >>conftest.
$ac_ext <<_ACEOF
23283 /* end confdefs.h. */
23284 #include <hash_map>
23285 #include <hash_set>
23289 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23290 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23295 rm -f conftest.
$ac_objext
23296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23297 (eval $ac_compile) 2>conftest.er1
23299 grep -v '^ *+' conftest.er1
>conftest.err
23301 cat conftest.err
>&5
23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303 (exit $ac_status); } &&
23304 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23306 (eval $ac_try) 2>&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); }; } &&
23310 { ac_try
='test -s conftest.$ac_objext'
23311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23312 (eval $ac_try) 2>&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; }; then
23316 echo "$as_me:$LINENO: result: yes" >&5
23317 echo "${ECHO_T}yes" >&6
23318 cat >>confdefs.h
<<\_ACEOF
23319 #define HAVE_HASH_MAP 1
23322 cat >>confdefs.h
<<\_ACEOF
23323 #define HAVE_STD_HASH_MAP 1
23327 echo "$as_me: failed program was:" >&5
23328 sed 's/^/| /' conftest.
$ac_ext >&5
23330 echo "$as_me:$LINENO: result: no" >&5
23331 echo "${ECHO_T}no" >&6
23333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23339 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23340 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23341 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23342 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23343 echo $ECHO_N "(cached) $ECHO_C" >&6
23345 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23346 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23348 # Is the header compilable?
23349 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23350 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23351 cat >conftest.
$ac_ext <<_ACEOF
23354 cat confdefs.h
>>conftest.
$ac_ext
23355 cat >>conftest.
$ac_ext <<_ACEOF
23356 /* end confdefs.h. */
23357 $ac_includes_default
23358 #include <ext/hash_map>
23360 rm -f conftest.
$ac_objext
23361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23362 (eval $ac_compile) 2>conftest.er1
23364 grep -v '^ *+' conftest.er1
>conftest.err
23366 cat conftest.err
>&5
23367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23368 (exit $ac_status); } &&
23369 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23371 (eval $ac_try) 2>&5
23373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23374 (exit $ac_status); }; } &&
23375 { ac_try
='test -s conftest.$ac_objext'
23376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23377 (eval $ac_try) 2>&5
23379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23380 (exit $ac_status); }; }; then
23381 ac_header_compiler
=yes
23383 echo "$as_me: failed program was:" >&5
23384 sed 's/^/| /' conftest.
$ac_ext >&5
23386 ac_header_compiler
=no
23388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23390 echo "${ECHO_T}$ac_header_compiler" >&6
23392 # Is the header present?
23393 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23394 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23395 cat >conftest.
$ac_ext <<_ACEOF
23398 cat confdefs.h
>>conftest.
$ac_ext
23399 cat >>conftest.
$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 #include <ext/hash_map>
23403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23404 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23406 grep -v '^ *+' conftest.er1
>conftest.err
23408 cat conftest.err
>&5
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); } >/dev
/null
; then
23411 if test -s conftest.err
; then
23412 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23413 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23420 if test -z "$ac_cpp_err"; then
23421 ac_header_preproc
=yes
23423 echo "$as_me: failed program was:" >&5
23424 sed 's/^/| /' conftest.
$ac_ext >&5
23426 ac_header_preproc
=no
23428 rm -f conftest.err conftest.
$ac_ext
23429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23430 echo "${ECHO_T}$ac_header_preproc" >&6
23432 # So? What about this header?
23433 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23435 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23436 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23437 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23438 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23439 ac_header_preproc
=yes
23442 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23443 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23444 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23445 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23446 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23447 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23448 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23449 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23450 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23451 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23452 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23453 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23456 ## ----------------------------------------- ##
23457 ## Report this to wx-dev@lists.wxwidgets.org ##
23458 ## ----------------------------------------- ##
23461 sed "s/^/$as_me: WARNING: /" >&2
23464 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23465 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23466 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23467 echo $ECHO_N "(cached) $ECHO_C" >&6
23469 ac_cv_header_ext_hash_map
=$ac_header_preproc
23471 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23472 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23475 if test $ac_cv_header_ext_hash_map = yes; then
23476 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23477 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23478 cat >conftest.
$ac_ext <<_ACEOF
23481 cat confdefs.h
>>conftest.
$ac_ext
23482 cat >>conftest.
$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484 #include <ext/hash_map>
23485 #include <ext/hash_set>
23489 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23490 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23495 rm -f conftest.
$ac_objext
23496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23497 (eval $ac_compile) 2>conftest.er1
23499 grep -v '^ *+' conftest.er1
>conftest.err
23501 cat conftest.err
>&5
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); } &&
23504 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23506 (eval $ac_try) 2>&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); }; } &&
23510 { ac_try
='test -s conftest.$ac_objext'
23511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23512 (eval $ac_try) 2>&5
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); }; }; then
23516 echo "$as_me:$LINENO: result: yes" >&5
23517 echo "${ECHO_T}yes" >&6
23518 cat >>confdefs.h
<<\_ACEOF
23519 #define HAVE_EXT_HASH_MAP 1
23522 cat >>confdefs.h
<<\_ACEOF
23523 #define HAVE_GNU_CXX_HASH_MAP 1
23527 echo "$as_me: failed program was:" >&5
23528 sed 's/^/| /' conftest.
$ac_ext >&5
23530 echo "$as_me:$LINENO: result: no" >&5
23531 echo "${ECHO_T}no" >&6
23533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23540 ac_cpp
='$CPP $CPPFLAGS'
23541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23549 /usr/local/include \
23551 /usr/Motif-2.1/include \
23552 /usr/Motif-1.2/include \
23553 /usr/include/Motif1.2 \
23556 /usr/openwin/include \
23560 /usr/X11R6/include \
23561 /usr/X11R6.4/include \
23562 /usr/X11R5/include \
23563 /usr/X11R4/include \
23565 /usr/include/X11R6 \
23566 /usr/include/X11R5 \
23567 /usr/include/X11R4 \
23569 /usr/local/X11R6/include \
23570 /usr/local/X11R5/include \
23571 /usr/local/X11R4/include \
23573 /usr/local/include/X11R6 \
23574 /usr/local/include/X11R5 \
23575 /usr/local/include/X11R4 \
23579 /usr/local/X11/include \
23580 /usr/local/include/X11 \
23582 /usr/XFree86/include/X11 \
23585 /usr/openwin/share/include"
23587 echo "$as_me:$LINENO: checking for libraries directory" >&5
23588 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23592 if test "${wx_cv_std_libpath+set}" = set; then
23593 echo $ECHO_N "(cached) $ECHO_C" >&6
23596 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23597 for e
in a so sl dylib dll.a
; do
23599 if test -f $libc; then
23602 cat >conftest.
$ac_ext <<_ACEOF
23603 int main() { return 0; }
23605 rm -f conftest.
$ac_objext conftest
$ac_exeext
23606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23607 (eval $ac_link) 2>conftest.er1
23609 grep -v '^ *+' conftest.er1
>conftest.err
23611 cat conftest.err
>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } &&
23614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23616 (eval $ac_try) 2>&5
23618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619 (exit $ac_status); }; } &&
23620 { ac_try
='test -s conftest$ac_exeext'
23621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23622 (eval $ac_try) 2>&5
23624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23625 (exit $ac_status); }; }; then
23626 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23628 echo "$as_me: failed program was:" >&5
23629 sed 's/^/| /' conftest.
$ac_ext >&5
23632 rm -f conftest.err conftest.
$ac_objext \
23633 conftest
$ac_exeext conftest.
$ac_ext
23635 if test "x$wx_cv_std_libpath" != "x"; then
23641 if test "x$wx_cv_std_libpath" = "x"; then
23642 wx_cv_std_libpath
="lib"
23651 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23652 wx_cv_std_libpath
="lib/64"
23654 wx_cv_std_libpath
="lib"
23659 if test "$ac_cv_sizeof_void_p" = 8 -a \
23660 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23661 wx_cv_std_libpath
="lib64"
23663 wx_cv_std_libpath
="lib"
23668 wx_cv_std_libpath
="lib";
23672 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23673 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23675 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23677 if test "$build" != "$host" -a "$GCC" = yes; then
23678 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23679 cross_root
=`dirname $cross_root`
23680 cross_root
=`dirname $cross_root`
23682 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23683 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23684 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23686 if test -z "$PKG_CONFIG_PATH"; then
23687 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23688 export PKG_CONFIG_PATH
23691 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23694 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23696 if test -f "$ac_dir/X11/Intrinsic.h"; then
23697 ac_find_includes
=$ac_dir
23702 x_includes
=$ac_find_includes
23704 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23707 for ac_dir
in $SEARCH_LIB;
23709 for ac_extension
in a so sl dylib dll.a
; do
23710 if test -f "$ac_dir/libXt.$ac_extension"; then
23711 ac_find_libraries
=$ac_dir
23717 x_libraries
=$ac_find_libraries
23723 cat >confcache
<<\_ACEOF
23724 # This file is a shell script that caches the results of configure
23725 # tests run on this system so they can be shared between configure
23726 # scripts and configure runs, see configure's option --config-cache.
23727 # It is not useful on other systems. If it contains results you don't
23728 # want to keep, you may remove or edit it.
23730 # config.status only pays attention to the cache file if you give it
23731 # the --recheck option to rerun configure.
23733 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23734 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23735 # following values.
23739 # The following way of writing the cache mishandles newlines in values,
23740 # but we know of no workaround that is simple, portable, and efficient.
23741 # So, don't put newlines in cache variables' values.
23742 # Ultrix sh set writes to stderr and can't be redirected directly,
23743 # and sets the high bit in the cache file unless we assign to the vars.
23746 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23748 # `set' does not quote correctly, so add quotes (double-quote
23749 # substitution turns \\\\ into \\, and sed turns \\ into \).
23752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23755 # `set' quotes correctly as required by POSIX, so do not add quotes.
23757 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23766 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23768 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23769 if test -w $cache_file; then
23770 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23771 cat confcache
>$cache_file
23773 echo "not updating unwritable cache $cache_file"
23778 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23779 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23780 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23781 if test "${wx_cv_lib_glibc21+set}" = set; then
23782 echo $ECHO_N "(cached) $ECHO_C" >&6
23785 cat >conftest.
$ac_ext <<_ACEOF
23788 cat confdefs.h
>>conftest.
$ac_ext
23789 cat >>conftest.
$ac_ext <<_ACEOF
23790 /* end confdefs.h. */
23791 #include <features.h>
23796 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23804 rm -f conftest.
$ac_objext
23805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23806 (eval $ac_compile) 2>conftest.er1
23808 grep -v '^ *+' conftest.er1
>conftest.err
23810 cat conftest.err
>&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); } &&
23813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23815 (eval $ac_try) 2>&5
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); }; } &&
23819 { ac_try
='test -s conftest.$ac_objext'
23820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23821 (eval $ac_try) 2>&5
23823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824 (exit $ac_status); }; }; then
23826 wx_cv_lib_glibc21
=yes
23829 echo "$as_me: failed program was:" >&5
23830 sed 's/^/| /' conftest.
$ac_ext >&5
23833 wx_cv_lib_glibc21
=no
23837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23840 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23841 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23842 if test "$wx_cv_lib_glibc21" = "yes"; then
23843 cat >>confdefs.h
<<\_ACEOF
23844 #define wxHAVE_GLIBC2 1
23850 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23851 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23852 cat >>confdefs.h
<<\_ACEOF
23853 #define _GNU_SOURCE 1
23861 if test "$wxUSE_REGEX" != "no"; then
23862 cat >>confdefs.h
<<\_ACEOF
23863 #define wxUSE_REGEX 1
23867 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23868 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23869 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23870 wxUSE_REGEX
=builtin
23873 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23874 if test "${ac_cv_header_regex_h+set}" = set; then
23875 echo "$as_me:$LINENO: checking for regex.h" >&5
23876 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23877 if test "${ac_cv_header_regex_h+set}" = set; then
23878 echo $ECHO_N "(cached) $ECHO_C" >&6
23880 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23881 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23883 # Is the header compilable?
23884 echo "$as_me:$LINENO: checking regex.h usability" >&5
23885 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23886 cat >conftest.
$ac_ext <<_ACEOF
23889 cat confdefs.h
>>conftest.
$ac_ext
23890 cat >>conftest.
$ac_ext <<_ACEOF
23891 /* end confdefs.h. */
23892 $ac_includes_default
23895 rm -f conftest.
$ac_objext
23896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23897 (eval $ac_compile) 2>conftest.er1
23899 grep -v '^ *+' conftest.er1
>conftest.err
23901 cat conftest.err
>&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); } &&
23904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; } &&
23910 { ac_try
='test -s conftest.$ac_objext'
23911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23912 (eval $ac_try) 2>&5
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); }; }; then
23916 ac_header_compiler
=yes
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.
$ac_ext >&5
23921 ac_header_compiler
=no
23923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23925 echo "${ECHO_T}$ac_header_compiler" >&6
23927 # Is the header present?
23928 echo "$as_me:$LINENO: checking regex.h presence" >&5
23929 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23930 cat >conftest.
$ac_ext <<_ACEOF
23933 cat confdefs.h
>>conftest.
$ac_ext
23934 cat >>conftest.
$ac_ext <<_ACEOF
23935 /* end confdefs.h. */
23938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23939 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23941 grep -v '^ *+' conftest.er1
>conftest.err
23943 cat conftest.err
>&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); } >/dev
/null
; then
23946 if test -s conftest.err
; then
23947 ac_cpp_err
=$ac_c_preproc_warn_flag
23948 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23955 if test -z "$ac_cpp_err"; then
23956 ac_header_preproc
=yes
23958 echo "$as_me: failed program was:" >&5
23959 sed 's/^/| /' conftest.
$ac_ext >&5
23961 ac_header_preproc
=no
23963 rm -f conftest.err conftest.
$ac_ext
23964 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23965 echo "${ECHO_T}$ac_header_preproc" >&6
23967 # So? What about this header?
23968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23970 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23971 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23972 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23973 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23974 ac_header_preproc
=yes
23977 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23978 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23979 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23980 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23981 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23982 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23983 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23984 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23985 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23986 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23987 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23988 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23991 ## ----------------------------------------- ##
23992 ## Report this to wx-dev@lists.wxwidgets.org ##
23993 ## ----------------------------------------- ##
23996 sed "s/^/$as_me: WARNING: /" >&2
23999 echo "$as_me:$LINENO: checking for regex.h" >&5
24000 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24001 if test "${ac_cv_header_regex_h+set}" = set; then
24002 echo $ECHO_N "(cached) $ECHO_C" >&6
24004 ac_cv_header_regex_h
=$ac_header_preproc
24006 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24007 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24010 if test $ac_cv_header_regex_h = yes; then
24013 for ac_func
in regcomp re_search
24015 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24016 echo "$as_me:$LINENO: checking for $ac_func" >&5
24017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24018 if eval "test \"\${$as_ac_var+set}\" = set"; then
24019 echo $ECHO_N "(cached) $ECHO_C" >&6
24021 cat >conftest.
$ac_ext <<_ACEOF
24024 cat confdefs.h
>>conftest.
$ac_ext
24025 cat >>conftest.
$ac_ext <<_ACEOF
24026 /* end confdefs.h. */
24027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24029 #define $ac_func innocuous_$ac_func
24031 /* System header to define __stub macros and hopefully few prototypes,
24032 which can conflict with char $ac_func (); below.
24033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24034 <limits.h> exists even on freestanding compilers. */
24037 # include <limits.h>
24039 # include <assert.h>
24044 /* Override any gcc2 internal prototype to avoid an error. */
24049 /* We use char because int might match the return type of a gcc2
24050 builtin and then its argument prototype would still apply. */
24052 /* The GNU C library defines this for functions which it implements
24053 to always fail with ENOSYS. Some functions are actually named
24054 something starting with __ and the normal name is an alias. */
24055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24058 char (*f) () = $ac_func;
24067 return f != $ac_func;
24072 rm -f conftest.
$ac_objext conftest
$ac_exeext
24073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24074 (eval $ac_link) 2>conftest.er1
24076 grep -v '^ *+' conftest.er1
>conftest.err
24078 cat conftest.err
>&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } &&
24081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24083 (eval $ac_try) 2>&5
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); }; } &&
24087 { ac_try
='test -s conftest$ac_exeext'
24088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24089 (eval $ac_try) 2>&5
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); }; }; then
24093 eval "$as_ac_var=yes"
24095 echo "$as_me: failed program was:" >&5
24096 sed 's/^/| /' conftest.
$ac_ext >&5
24098 eval "$as_ac_var=no"
24100 rm -f conftest.err conftest.
$ac_objext \
24101 conftest
$ac_exeext conftest.
$ac_ext
24103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24105 if test `eval echo '${'$as_ac_var'}'` = yes; then
24106 cat >>confdefs.h
<<_ACEOF
24107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24117 if test "x$ac_cv_func_regcomp" != "xyes"; then
24118 if test "$wxUSE_REGEX" = "sys" ; then
24119 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24120 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24121 { (exit 1); exit 1; }; }
24123 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24124 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24125 wxUSE_REGEX
=builtin
24129 cat >>confdefs.h
<<\_ACEOF
24130 #define WX_NO_REGEX_ADVANCED 1
24139 if test "$wxUSE_ZLIB" != "no" ; then
24140 cat >>confdefs.h
<<\_ACEOF
24141 #define wxUSE_ZLIB 1
24145 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24146 if test "$USE_DARWIN" = 1; then
24147 system_zlib_h_ok
="yes"
24149 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24150 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24151 if test "${ac_cv_header_zlib_h+set}" = set; then
24152 echo $ECHO_N "(cached) $ECHO_C" >&6
24154 if test "$cross_compiling" = yes; then
24155 unset ac_cv_header_zlib_h
24158 cat >conftest.
$ac_ext <<_ACEOF
24161 cat confdefs.h
>>conftest.
$ac_ext
24162 cat >>conftest.
$ac_ext <<_ACEOF
24163 /* end confdefs.h. */
24170 FILE *f=fopen("conftestval", "w");
24173 ZLIB_VERSION[0] == '1' &&
24174 (ZLIB_VERSION[2] > '1' ||
24175 (ZLIB_VERSION[2] == '1' &&
24176 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24181 rm -f conftest
$ac_exeext
24182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24183 (eval $ac_link) 2>&5
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24188 (eval $ac_try) 2>&5
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); }; }; then
24192 ac_cv_header_zlib_h
=`cat conftestval`
24194 echo "$as_me: program exited with status $ac_status" >&5
24195 echo "$as_me: failed program was:" >&5
24196 sed 's/^/| /' conftest.
$ac_ext >&5
24198 ( exit $ac_status )
24199 ac_cv_header_zlib_h
=no
24201 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24205 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24206 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24207 if test "${ac_cv_header_zlib_h+set}" = set; then
24208 echo "$as_me:$LINENO: checking for zlib.h" >&5
24209 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24210 if test "${ac_cv_header_zlib_h+set}" = set; then
24211 echo $ECHO_N "(cached) $ECHO_C" >&6
24213 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24214 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24216 # Is the header compilable?
24217 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24218 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24219 cat >conftest.
$ac_ext <<_ACEOF
24222 cat confdefs.h
>>conftest.
$ac_ext
24223 cat >>conftest.
$ac_ext <<_ACEOF
24224 /* end confdefs.h. */
24225 $ac_includes_default
24228 rm -f conftest.
$ac_objext
24229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24230 (eval $ac_compile) 2>conftest.er1
24232 grep -v '^ *+' conftest.er1
>conftest.err
24234 cat conftest.err
>&5
24235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236 (exit $ac_status); } &&
24237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24239 (eval $ac_try) 2>&5
24241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24242 (exit $ac_status); }; } &&
24243 { ac_try
='test -s conftest.$ac_objext'
24244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24245 (eval $ac_try) 2>&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); }; }; then
24249 ac_header_compiler
=yes
24251 echo "$as_me: failed program was:" >&5
24252 sed 's/^/| /' conftest.
$ac_ext >&5
24254 ac_header_compiler
=no
24256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24258 echo "${ECHO_T}$ac_header_compiler" >&6
24260 # Is the header present?
24261 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24262 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24263 cat >conftest.
$ac_ext <<_ACEOF
24266 cat confdefs.h
>>conftest.
$ac_ext
24267 cat >>conftest.
$ac_ext <<_ACEOF
24268 /* end confdefs.h. */
24271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24272 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24274 grep -v '^ *+' conftest.er1
>conftest.err
24276 cat conftest.err
>&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); } >/dev
/null
; then
24279 if test -s conftest.err
; then
24280 ac_cpp_err
=$ac_c_preproc_warn_flag
24281 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24288 if test -z "$ac_cpp_err"; then
24289 ac_header_preproc
=yes
24291 echo "$as_me: failed program was:" >&5
24292 sed 's/^/| /' conftest.
$ac_ext >&5
24294 ac_header_preproc
=no
24296 rm -f conftest.err conftest.
$ac_ext
24297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24298 echo "${ECHO_T}$ac_header_preproc" >&6
24300 # So? What about this header?
24301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24303 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24304 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24305 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24306 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24307 ac_header_preproc
=yes
24310 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24311 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24312 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24313 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24314 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24315 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24316 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24317 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24318 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24319 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24320 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24321 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24324 ## ----------------------------------------- ##
24325 ## Report this to wx-dev@lists.wxwidgets.org ##
24326 ## ----------------------------------------- ##
24329 sed "s/^/$as_me: WARNING: /" >&2
24332 echo "$as_me:$LINENO: checking for zlib.h" >&5
24333 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24334 if test "${ac_cv_header_zlib_h+set}" = set; then
24335 echo $ECHO_N "(cached) $ECHO_C" >&6
24337 ac_cv_header_zlib_h
=$ac_header_preproc
24339 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24340 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24346 system_zlib_h_ok
=$ac_cv_header_zlib_h
24349 if test "$system_zlib_h_ok" = "yes"; then
24350 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24351 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24352 if test "${ac_cv_lib_z_deflate+set}" = set; then
24353 echo $ECHO_N "(cached) $ECHO_C" >&6
24355 ac_check_lib_save_LIBS
=$LIBS
24357 cat >conftest.
$ac_ext <<_ACEOF
24360 cat confdefs.h
>>conftest.
$ac_ext
24361 cat >>conftest.
$ac_ext <<_ACEOF
24362 /* end confdefs.h. */
24364 /* Override any gcc2 internal prototype to avoid an error. */
24368 /* We use char because int might match the return type of a gcc2
24369 builtin and then its argument prototype would still apply. */
24379 rm -f conftest.
$ac_objext conftest
$ac_exeext
24380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24381 (eval $ac_link) 2>conftest.er1
24383 grep -v '^ *+' conftest.er1
>conftest.err
24385 cat conftest.err
>&5
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); } &&
24388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24390 (eval $ac_try) 2>&5
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); }; } &&
24394 { ac_try
='test -s conftest$ac_exeext'
24395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24396 (eval $ac_try) 2>&5
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); }; }; then
24400 ac_cv_lib_z_deflate
=yes
24402 echo "$as_me: failed program was:" >&5
24403 sed 's/^/| /' conftest.
$ac_ext >&5
24405 ac_cv_lib_z_deflate
=no
24407 rm -f conftest.err conftest.
$ac_objext \
24408 conftest
$ac_exeext conftest.
$ac_ext
24409 LIBS
=$ac_check_lib_save_LIBS
24411 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24412 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24413 if test $ac_cv_lib_z_deflate = yes; then
24419 if test "x$ZLIB_LINK" = "x" ; then
24420 if test "$wxUSE_ZLIB" = "sys" ; then
24421 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24422 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24423 { (exit 1); exit 1; }; }
24425 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24426 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24437 if test "$wxUSE_LIBPNG" != "no" ; then
24438 cat >>confdefs.h
<<\_ACEOF
24439 #define wxUSE_LIBPNG 1
24443 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24444 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24445 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24449 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24450 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24451 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24452 wxUSE_LIBPNG
=builtin
24455 if test "$wxUSE_MGL" != 1 ; then
24456 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24457 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24458 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24459 if test "${ac_cv_header_png_h+set}" = set; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24462 if test "$cross_compiling" = yes; then
24463 unset ac_cv_header_png_h
24466 cat >conftest.
$ac_ext <<_ACEOF
24469 cat confdefs.h
>>conftest.
$ac_ext
24470 cat >>conftest.
$ac_ext <<_ACEOF
24471 /* end confdefs.h. */
24478 FILE *f=fopen("conftestval", "w");
24481 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24486 rm -f conftest
$ac_exeext
24487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24488 (eval $ac_link) 2>&5
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24493 (eval $ac_try) 2>&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); }; }; then
24497 ac_cv_header_png_h
=`cat conftestval`
24499 echo "$as_me: program exited with status $ac_status" >&5
24500 echo "$as_me: failed program was:" >&5
24501 sed 's/^/| /' conftest.
$ac_ext >&5
24503 ( exit $ac_status )
24504 ac_cv_header_png_h
=no
24506 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24510 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24511 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24512 if test "${ac_cv_header_png_h+set}" = set; then
24513 echo "$as_me:$LINENO: checking for png.h" >&5
24514 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24515 if test "${ac_cv_header_png_h+set}" = set; then
24516 echo $ECHO_N "(cached) $ECHO_C" >&6
24518 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24519 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24521 # Is the header compilable?
24522 echo "$as_me:$LINENO: checking png.h usability" >&5
24523 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24524 cat >conftest.
$ac_ext <<_ACEOF
24527 cat confdefs.h
>>conftest.
$ac_ext
24528 cat >>conftest.
$ac_ext <<_ACEOF
24529 /* end confdefs.h. */
24530 $ac_includes_default
24533 rm -f conftest.
$ac_objext
24534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24535 (eval $ac_compile) 2>conftest.er1
24537 grep -v '^ *+' conftest.er1
>conftest.err
24539 cat conftest.err
>&5
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); } &&
24542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24544 (eval $ac_try) 2>&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); }; } &&
24548 { ac_try
='test -s conftest.$ac_objext'
24549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24550 (eval $ac_try) 2>&5
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); }; }; then
24554 ac_header_compiler
=yes
24556 echo "$as_me: failed program was:" >&5
24557 sed 's/^/| /' conftest.
$ac_ext >&5
24559 ac_header_compiler
=no
24561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24563 echo "${ECHO_T}$ac_header_compiler" >&6
24565 # Is the header present?
24566 echo "$as_me:$LINENO: checking png.h presence" >&5
24567 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24568 cat >conftest.
$ac_ext <<_ACEOF
24571 cat confdefs.h
>>conftest.
$ac_ext
24572 cat >>conftest.
$ac_ext <<_ACEOF
24573 /* end confdefs.h. */
24576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24577 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24579 grep -v '^ *+' conftest.er1
>conftest.err
24581 cat conftest.err
>&5
24582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24583 (exit $ac_status); } >/dev
/null
; then
24584 if test -s conftest.err
; then
24585 ac_cpp_err
=$ac_c_preproc_warn_flag
24586 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24593 if test -z "$ac_cpp_err"; then
24594 ac_header_preproc
=yes
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.
$ac_ext >&5
24599 ac_header_preproc
=no
24601 rm -f conftest.err conftest.
$ac_ext
24602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24603 echo "${ECHO_T}$ac_header_preproc" >&6
24605 # So? What about this header?
24606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24608 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24609 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24610 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24611 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24612 ac_header_preproc
=yes
24615 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24616 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24617 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24618 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24619 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24620 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24621 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24622 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24623 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24624 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24625 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24626 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24629 ## ----------------------------------------- ##
24630 ## Report this to wx-dev@lists.wxwidgets.org ##
24631 ## ----------------------------------------- ##
24634 sed "s/^/$as_me: WARNING: /" >&2
24637 echo "$as_me:$LINENO: checking for png.h" >&5
24638 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24639 if test "${ac_cv_header_png_h+set}" = set; then
24640 echo $ECHO_N "(cached) $ECHO_C" >&6
24642 ac_cv_header_png_h
=$ac_header_preproc
24644 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24645 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24651 if test "$ac_cv_header_png_h" = "yes"; then
24652 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24653 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24654 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24655 echo $ECHO_N "(cached) $ECHO_C" >&6
24657 ac_check_lib_save_LIBS
=$LIBS
24658 LIBS
="-lpng -lz -lm $LIBS"
24659 cat >conftest.
$ac_ext <<_ACEOF
24662 cat confdefs.h
>>conftest.
$ac_ext
24663 cat >>conftest.
$ac_ext <<_ACEOF
24664 /* end confdefs.h. */
24666 /* Override any gcc2 internal prototype to avoid an error. */
24670 /* We use char because int might match the return type of a gcc2
24671 builtin and then its argument prototype would still apply. */
24672 char png_check_sig ();
24681 rm -f conftest.
$ac_objext conftest
$ac_exeext
24682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24683 (eval $ac_link) 2>conftest.er1
24685 grep -v '^ *+' conftest.er1
>conftest.err
24687 cat conftest.err
>&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); } &&
24690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24692 (eval $ac_try) 2>&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); }; } &&
24696 { ac_try
='test -s conftest$ac_exeext'
24697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24698 (eval $ac_try) 2>&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); }; }; then
24702 ac_cv_lib_png_png_check_sig
=yes
24704 echo "$as_me: failed program was:" >&5
24705 sed 's/^/| /' conftest.
$ac_ext >&5
24707 ac_cv_lib_png_png_check_sig
=no
24709 rm -f conftest.err conftest.
$ac_objext \
24710 conftest
$ac_exeext conftest.
$ac_ext
24711 LIBS
=$ac_check_lib_save_LIBS
24713 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24714 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24715 if test $ac_cv_lib_png_png_check_sig = yes; then
24716 PNG_LINK
=" -lpng -lz"
24721 if test "x$PNG_LINK" = "x" ; then
24722 if test "$wxUSE_LIBPNG" = "sys" ; then
24723 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24724 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24725 { (exit 1); exit 1; }; }
24727 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24728 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24729 wxUSE_LIBPNG
=builtin
24737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24742 if test "$wxUSE_LIBJPEG" != "no" ; then
24743 cat >>confdefs.h
<<\_ACEOF
24744 #define wxUSE_LIBJPEG 1
24748 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24749 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24750 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24754 if test "$wxUSE_MGL" != 1 ; then
24755 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24756 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24757 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24758 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24759 echo $ECHO_N "(cached) $ECHO_C" >&6
24761 cat >conftest.
$ac_ext <<_ACEOF
24764 cat confdefs.h
>>conftest.
$ac_ext
24765 cat >>conftest.
$ac_ext <<_ACEOF
24766 /* end confdefs.h. */
24768 #undef HAVE_STDLIB_H
24770 #include <jpeglib.h>
24781 rm -f conftest.
$ac_objext
24782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24783 (eval $ac_compile) 2>conftest.er1
24785 grep -v '^ *+' conftest.er1
>conftest.err
24787 cat conftest.err
>&5
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); } &&
24790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24792 (eval $ac_try) 2>&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); }; } &&
24796 { ac_try
='test -s conftest.$ac_objext'
24797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24798 (eval $ac_try) 2>&5
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); }; }; then
24802 ac_cv_header_jpeglib_h
=yes
24804 echo "$as_me: failed program was:" >&5
24805 sed 's/^/| /' conftest.
$ac_ext >&5
24807 ac_cv_header_jpeglib_h
=no
24810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24814 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24815 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24817 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24818 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24819 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24820 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24821 echo $ECHO_N "(cached) $ECHO_C" >&6
24823 ac_check_lib_save_LIBS
=$LIBS
24824 LIBS
="-ljpeg $LIBS"
24825 cat >conftest.
$ac_ext <<_ACEOF
24828 cat confdefs.h
>>conftest.
$ac_ext
24829 cat >>conftest.
$ac_ext <<_ACEOF
24830 /* end confdefs.h. */
24832 /* Override any gcc2 internal prototype to avoid an error. */
24836 /* We use char because int might match the return type of a gcc2
24837 builtin and then its argument prototype would still apply. */
24838 char jpeg_read_header ();
24842 jpeg_read_header ();
24847 rm -f conftest.
$ac_objext conftest
$ac_exeext
24848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24849 (eval $ac_link) 2>conftest.er1
24851 grep -v '^ *+' conftest.er1
>conftest.err
24853 cat conftest.err
>&5
24854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855 (exit $ac_status); } &&
24856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24858 (eval $ac_try) 2>&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); }; } &&
24862 { ac_try
='test -s conftest$ac_exeext'
24863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24864 (eval $ac_try) 2>&5
24866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867 (exit $ac_status); }; }; then
24868 ac_cv_lib_jpeg_jpeg_read_header
=yes
24870 echo "$as_me: failed program was:" >&5
24871 sed 's/^/| /' conftest.
$ac_ext >&5
24873 ac_cv_lib_jpeg_jpeg_read_header
=no
24875 rm -f conftest.err conftest.
$ac_objext \
24876 conftest
$ac_exeext conftest.
$ac_ext
24877 LIBS
=$ac_check_lib_save_LIBS
24879 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24880 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24881 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24882 JPEG_LINK
=" -ljpeg"
24887 if test "x$JPEG_LINK" = "x" ; then
24888 if test "$wxUSE_LIBJPEG" = "sys" ; then
24889 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24890 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24891 { (exit 1); exit 1; }; }
24893 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24894 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24895 wxUSE_LIBJPEG
=builtin
24906 TIFF_PREREQ_LINKS
=-lm
24907 if test "$wxUSE_LIBTIFF" != "no" ; then
24908 cat >>confdefs.h
<<\_ACEOF
24909 #define wxUSE_LIBTIFF 1
24913 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24914 if test "$wxUSE_LIBJPEG" = "sys"; then
24915 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24917 if test "$wxUSE_ZLIB" = "sys"; then
24918 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24920 if test "${ac_cv_header_tiffio_h+set}" = set; then
24921 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24922 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24923 if test "${ac_cv_header_tiffio_h+set}" = set; then
24924 echo $ECHO_N "(cached) $ECHO_C" >&6
24926 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24927 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24929 # Is the header compilable?
24930 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24931 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24932 cat >conftest.
$ac_ext <<_ACEOF
24935 cat confdefs.h
>>conftest.
$ac_ext
24936 cat >>conftest.
$ac_ext <<_ACEOF
24937 /* end confdefs.h. */
24938 $ac_includes_default
24939 #include <tiffio.h>
24941 rm -f conftest.
$ac_objext
24942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24943 (eval $ac_compile) 2>conftest.er1
24945 grep -v '^ *+' conftest.er1
>conftest.err
24947 cat conftest.err
>&5
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); } &&
24950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24952 (eval $ac_try) 2>&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); }; } &&
24956 { ac_try
='test -s conftest.$ac_objext'
24957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24958 (eval $ac_try) 2>&5
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); }; }; then
24962 ac_header_compiler
=yes
24964 echo "$as_me: failed program was:" >&5
24965 sed 's/^/| /' conftest.
$ac_ext >&5
24967 ac_header_compiler
=no
24969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24971 echo "${ECHO_T}$ac_header_compiler" >&6
24973 # Is the header present?
24974 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24975 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24976 cat >conftest.
$ac_ext <<_ACEOF
24979 cat confdefs.h
>>conftest.
$ac_ext
24980 cat >>conftest.
$ac_ext <<_ACEOF
24981 /* end confdefs.h. */
24982 #include <tiffio.h>
24984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24985 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24987 grep -v '^ *+' conftest.er1
>conftest.err
24989 cat conftest.err
>&5
24990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991 (exit $ac_status); } >/dev
/null
; then
24992 if test -s conftest.err
; then
24993 ac_cpp_err
=$ac_c_preproc_warn_flag
24994 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25001 if test -z "$ac_cpp_err"; then
25002 ac_header_preproc
=yes
25004 echo "$as_me: failed program was:" >&5
25005 sed 's/^/| /' conftest.
$ac_ext >&5
25007 ac_header_preproc
=no
25009 rm -f conftest.err conftest.
$ac_ext
25010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25011 echo "${ECHO_T}$ac_header_preproc" >&6
25013 # So? What about this header?
25014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25016 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25017 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25018 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25019 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25020 ac_header_preproc
=yes
25023 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25024 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25025 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25026 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25027 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25028 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25029 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25030 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25031 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25032 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25033 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25034 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25037 ## ----------------------------------------- ##
25038 ## Report this to wx-dev@lists.wxwidgets.org ##
25039 ## ----------------------------------------- ##
25042 sed "s/^/$as_me: WARNING: /" >&2
25045 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25046 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25047 if test "${ac_cv_header_tiffio_h+set}" = set; then
25048 echo $ECHO_N "(cached) $ECHO_C" >&6
25050 ac_cv_header_tiffio_h
=$ac_header_preproc
25052 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25053 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25056 if test $ac_cv_header_tiffio_h = yes; then
25058 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25059 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25060 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25061 echo $ECHO_N "(cached) $ECHO_C" >&6
25063 ac_check_lib_save_LIBS
=$LIBS
25064 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25065 cat >conftest.
$ac_ext <<_ACEOF
25068 cat confdefs.h
>>conftest.
$ac_ext
25069 cat >>conftest.
$ac_ext <<_ACEOF
25070 /* end confdefs.h. */
25072 /* Override any gcc2 internal prototype to avoid an error. */
25076 /* We use char because int might match the return type of a gcc2
25077 builtin and then its argument prototype would still apply. */
25087 rm -f conftest.
$ac_objext conftest
$ac_exeext
25088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25089 (eval $ac_link) 2>conftest.er1
25091 grep -v '^ *+' conftest.er1
>conftest.err
25093 cat conftest.err
>&5
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); } &&
25096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25098 (eval $ac_try) 2>&5
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); }; } &&
25102 { ac_try
='test -s conftest$ac_exeext'
25103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25104 (eval $ac_try) 2>&5
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); }; }; then
25108 ac_cv_lib_tiff_TIFFError
=yes
25110 echo "$as_me: failed program was:" >&5
25111 sed 's/^/| /' conftest.
$ac_ext >&5
25113 ac_cv_lib_tiff_TIFFError
=no
25115 rm -f conftest.err conftest.
$ac_objext \
25116 conftest
$ac_exeext conftest.
$ac_ext
25117 LIBS
=$ac_check_lib_save_LIBS
25119 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25120 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25121 if test $ac_cv_lib_tiff_TIFFError = yes; then
25122 TIFF_LINK
=" -ltiff"
25131 if test "x$TIFF_LINK" = "x" ; then
25132 if test "$wxUSE_LIBTIFF" = "sys" ; then
25133 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25134 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25135 { (exit 1); exit 1; }; }
25137 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25138 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25139 wxUSE_LIBTIFF
=builtin
25148 if test "$wxUSE_WCHAR_T" != "yes"; then
25149 if test "$wxUSE_EXPAT" != "no"; then
25150 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25151 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25154 if test "$wxUSE_XML" != "no"; then
25155 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25156 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25161 if test "$wxUSE_EXPAT" != "no"; then
25163 cat >>confdefs.h
<<\_ACEOF
25164 #define wxUSE_EXPAT 1
25167 cat >>confdefs.h
<<\_ACEOF
25168 #define wxUSE_XML 1
25172 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25173 if test "${ac_cv_header_expat_h+set}" = set; then
25174 echo "$as_me:$LINENO: checking for expat.h" >&5
25175 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25176 if test "${ac_cv_header_expat_h+set}" = set; then
25177 echo $ECHO_N "(cached) $ECHO_C" >&6
25179 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25180 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25182 # Is the header compilable?
25183 echo "$as_me:$LINENO: checking expat.h usability" >&5
25184 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25185 cat >conftest.
$ac_ext <<_ACEOF
25188 cat confdefs.h
>>conftest.
$ac_ext
25189 cat >>conftest.
$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191 $ac_includes_default
25194 rm -f conftest.
$ac_objext
25195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25196 (eval $ac_compile) 2>conftest.er1
25198 grep -v '^ *+' conftest.er1
>conftest.err
25200 cat conftest.err
>&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); } &&
25203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25205 (eval $ac_try) 2>&5
25207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); }; } &&
25209 { ac_try
='test -s conftest.$ac_objext'
25210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25211 (eval $ac_try) 2>&5
25213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214 (exit $ac_status); }; }; then
25215 ac_header_compiler
=yes
25217 echo "$as_me: failed program was:" >&5
25218 sed 's/^/| /' conftest.
$ac_ext >&5
25220 ac_header_compiler
=no
25222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25224 echo "${ECHO_T}$ac_header_compiler" >&6
25226 # Is the header present?
25227 echo "$as_me:$LINENO: checking expat.h presence" >&5
25228 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25229 cat >conftest.
$ac_ext <<_ACEOF
25232 cat confdefs.h
>>conftest.
$ac_ext
25233 cat >>conftest.
$ac_ext <<_ACEOF
25234 /* end confdefs.h. */
25237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25238 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25240 grep -v '^ *+' conftest.er1
>conftest.err
25242 cat conftest.err
>&5
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); } >/dev
/null
; then
25245 if test -s conftest.err
; then
25246 ac_cpp_err
=$ac_c_preproc_warn_flag
25247 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25254 if test -z "$ac_cpp_err"; then
25255 ac_header_preproc
=yes
25257 echo "$as_me: failed program was:" >&5
25258 sed 's/^/| /' conftest.
$ac_ext >&5
25260 ac_header_preproc
=no
25262 rm -f conftest.err conftest.
$ac_ext
25263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25264 echo "${ECHO_T}$ac_header_preproc" >&6
25266 # So? What about this header?
25267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25269 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25270 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25271 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25272 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25273 ac_header_preproc
=yes
25276 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25277 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25278 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25279 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25280 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25281 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25282 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25283 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25284 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25285 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25286 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25287 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25290 ## ----------------------------------------- ##
25291 ## Report this to wx-dev@lists.wxwidgets.org ##
25292 ## ----------------------------------------- ##
25295 sed "s/^/$as_me: WARNING: /" >&2
25298 echo "$as_me:$LINENO: checking for expat.h" >&5
25299 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25300 if test "${ac_cv_header_expat_h+set}" = set; then
25301 echo $ECHO_N "(cached) $ECHO_C" >&6
25303 ac_cv_header_expat_h
=$ac_header_preproc
25305 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25306 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25309 if test $ac_cv_header_expat_h = yes; then
25314 if test "x$found_expat_h" = "x1"; then
25315 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25316 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25317 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25318 echo $ECHO_N "(cached) $ECHO_C" >&6
25322 ac_cpp
='$CXXCPP $CPPFLAGS'
25323 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25324 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25325 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25327 cat >conftest.
$ac_ext <<_ACEOF
25330 cat confdefs.h
>>conftest.
$ac_ext
25331 cat >>conftest.
$ac_ext <<_ACEOF
25332 /* end confdefs.h. */
25342 rm -f conftest.
$ac_objext
25343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25344 (eval $ac_compile) 2>conftest.er1
25346 grep -v '^ *+' conftest.er1
>conftest.err
25348 cat conftest.err
>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); } &&
25351 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; } &&
25357 { ac_try
='test -s conftest.$ac_objext'
25358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25359 (eval $ac_try) 2>&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); }; }; then
25363 wx_cv_expat_is_not_broken
=yes
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.
$ac_ext >&5
25368 wx_cv_expat_is_not_broken
=no
25371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25373 ac_cpp
='$CPP $CPPFLAGS'
25374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25381 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25382 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25383 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25384 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25385 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25386 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25387 echo $ECHO_N "(cached) $ECHO_C" >&6
25389 ac_check_lib_save_LIBS
=$LIBS
25390 LIBS
="-lexpat $LIBS"
25391 cat >conftest.
$ac_ext <<_ACEOF
25394 cat confdefs.h
>>conftest.
$ac_ext
25395 cat >>conftest.
$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25398 /* Override any gcc2 internal prototype to avoid an error. */
25402 /* We use char because int might match the return type of a gcc2
25403 builtin and then its argument prototype would still apply. */
25404 char XML_ParserCreate ();
25408 XML_ParserCreate ();
25413 rm -f conftest.
$ac_objext conftest
$ac_exeext
25414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25415 (eval $ac_link) 2>conftest.er1
25417 grep -v '^ *+' conftest.er1
>conftest.err
25419 cat conftest.err
>&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); } &&
25422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; } &&
25428 { ac_try
='test -s conftest$ac_exeext'
25429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25430 (eval $ac_try) 2>&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); }; }; then
25434 ac_cv_lib_expat_XML_ParserCreate
=yes
25436 echo "$as_me: failed program was:" >&5
25437 sed 's/^/| /' conftest.
$ac_ext >&5
25439 ac_cv_lib_expat_XML_ParserCreate
=no
25441 rm -f conftest.err conftest.
$ac_objext \
25442 conftest
$ac_exeext conftest.
$ac_ext
25443 LIBS
=$ac_check_lib_save_LIBS
25445 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25446 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25447 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25448 EXPAT_LINK
=" -lexpat"
25453 if test "x$EXPAT_LINK" = "x" ; then
25454 if test "$wxUSE_EXPAT" = "sys" ; then
25455 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25456 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25457 { (exit 1); exit 1; }; }
25459 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25460 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25461 wxUSE_EXPAT
=builtin
25467 if test "$wxUSE_EXPAT" = "builtin" ; then
25470 subdirs
="$subdirs src/expat"
25477 if test "$wxUSE_LIBMSPACK" != "no"; then
25478 if test "${ac_cv_header_mspack_h+set}" = set; then
25479 echo "$as_me:$LINENO: checking for mspack.h" >&5
25480 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25481 if test "${ac_cv_header_mspack_h+set}" = set; then
25482 echo $ECHO_N "(cached) $ECHO_C" >&6
25484 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25485 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25487 # Is the header compilable?
25488 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25489 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25490 cat >conftest.
$ac_ext <<_ACEOF
25493 cat confdefs.h
>>conftest.
$ac_ext
25494 cat >>conftest.
$ac_ext <<_ACEOF
25495 /* end confdefs.h. */
25496 $ac_includes_default
25497 #include <mspack.h>
25499 rm -f conftest.
$ac_objext
25500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25501 (eval $ac_compile) 2>conftest.er1
25503 grep -v '^ *+' conftest.er1
>conftest.err
25505 cat conftest.err
>&5
25506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25507 (exit $ac_status); } &&
25508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25510 (eval $ac_try) 2>&5
25512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513 (exit $ac_status); }; } &&
25514 { ac_try
='test -s conftest.$ac_objext'
25515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25516 (eval $ac_try) 2>&5
25518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519 (exit $ac_status); }; }; then
25520 ac_header_compiler
=yes
25522 echo "$as_me: failed program was:" >&5
25523 sed 's/^/| /' conftest.
$ac_ext >&5
25525 ac_header_compiler
=no
25527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25529 echo "${ECHO_T}$ac_header_compiler" >&6
25531 # Is the header present?
25532 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25533 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25534 cat >conftest.
$ac_ext <<_ACEOF
25537 cat confdefs.h
>>conftest.
$ac_ext
25538 cat >>conftest.
$ac_ext <<_ACEOF
25539 /* end confdefs.h. */
25540 #include <mspack.h>
25542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25543 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25545 grep -v '^ *+' conftest.er1
>conftest.err
25547 cat conftest.err
>&5
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); } >/dev
/null
; then
25550 if test -s conftest.err
; then
25551 ac_cpp_err
=$ac_c_preproc_warn_flag
25552 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25559 if test -z "$ac_cpp_err"; then
25560 ac_header_preproc
=yes
25562 echo "$as_me: failed program was:" >&5
25563 sed 's/^/| /' conftest.
$ac_ext >&5
25565 ac_header_preproc
=no
25567 rm -f conftest.err conftest.
$ac_ext
25568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25569 echo "${ECHO_T}$ac_header_preproc" >&6
25571 # So? What about this header?
25572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25574 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25575 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25576 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25577 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25578 ac_header_preproc
=yes
25581 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25582 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25583 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25584 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25585 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25586 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25587 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25588 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25589 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25590 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25591 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25592 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25595 ## ----------------------------------------- ##
25596 ## Report this to wx-dev@lists.wxwidgets.org ##
25597 ## ----------------------------------------- ##
25600 sed "s/^/$as_me: WARNING: /" >&2
25603 echo "$as_me:$LINENO: checking for mspack.h" >&5
25604 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25605 if test "${ac_cv_header_mspack_h+set}" = set; then
25606 echo $ECHO_N "(cached) $ECHO_C" >&6
25608 ac_cv_header_mspack_h
=$ac_header_preproc
25610 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25611 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25614 if test $ac_cv_header_mspack_h = yes; then
25619 if test "x$found_mspack_h" = "x1"; then
25620 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25621 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25622 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25625 ac_check_lib_save_LIBS
=$LIBS
25626 LIBS
="-lmspack $LIBS"
25627 cat >conftest.
$ac_ext <<_ACEOF
25630 cat confdefs.h
>>conftest.
$ac_ext
25631 cat >>conftest.
$ac_ext <<_ACEOF
25632 /* end confdefs.h. */
25634 /* Override any gcc2 internal prototype to avoid an error. */
25638 /* We use char because int might match the return type of a gcc2
25639 builtin and then its argument prototype would still apply. */
25640 char mspack_create_chm_decompressor ();
25644 mspack_create_chm_decompressor ();
25649 rm -f conftest.
$ac_objext conftest
$ac_exeext
25650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25651 (eval $ac_link) 2>conftest.er1
25653 grep -v '^ *+' conftest.er1
>conftest.err
25655 cat conftest.err
>&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); } &&
25658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25660 (eval $ac_try) 2>&5
25662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663 (exit $ac_status); }; } &&
25664 { ac_try
='test -s conftest$ac_exeext'
25665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666 (eval $ac_try) 2>&5
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); }; }; then
25670 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25672 echo "$as_me: failed program was:" >&5
25673 sed 's/^/| /' conftest.
$ac_ext >&5
25675 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25677 rm -f conftest.err conftest.
$ac_objext \
25678 conftest
$ac_exeext conftest.
$ac_ext
25679 LIBS
=$ac_check_lib_save_LIBS
25681 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25682 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25683 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25684 MSPACK_LINK
=" -lmspack"
25688 if test "x$MSPACK_LINK" = "x" ; then
25693 if test "$wxUSE_LIBMSPACK" != "no"; then
25694 cat >>confdefs.h
<<\_ACEOF
25695 #define wxUSE_LIBMSPACK 1
25709 if test "$USE_WIN32" = 1 ; then
25711 for ac_header
in w32api.h
25713 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25715 echo "$as_me:$LINENO: checking for $ac_header" >&5
25716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25718 echo $ECHO_N "(cached) $ECHO_C" >&6
25720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25723 # Is the header compilable?
25724 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25725 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25726 cat >conftest.
$ac_ext <<_ACEOF
25729 cat confdefs.h
>>conftest.
$ac_ext
25730 cat >>conftest.
$ac_ext <<_ACEOF
25731 /* end confdefs.h. */
25732 $ac_includes_default
25733 #include <$ac_header>
25735 rm -f conftest.
$ac_objext
25736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25737 (eval $ac_compile) 2>conftest.er1
25739 grep -v '^ *+' conftest.er1
>conftest.err
25741 cat conftest.err
>&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } &&
25744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25746 (eval $ac_try) 2>&5
25748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25749 (exit $ac_status); }; } &&
25750 { ac_try
='test -s conftest.$ac_objext'
25751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25752 (eval $ac_try) 2>&5
25754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25755 (exit $ac_status); }; }; then
25756 ac_header_compiler
=yes
25758 echo "$as_me: failed program was:" >&5
25759 sed 's/^/| /' conftest.
$ac_ext >&5
25761 ac_header_compiler
=no
25763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25765 echo "${ECHO_T}$ac_header_compiler" >&6
25767 # Is the header present?
25768 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25770 cat >conftest.
$ac_ext <<_ACEOF
25773 cat confdefs.h
>>conftest.
$ac_ext
25774 cat >>conftest.
$ac_ext <<_ACEOF
25775 /* end confdefs.h. */
25776 #include <$ac_header>
25778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25781 grep -v '^ *+' conftest.er1
>conftest.err
25783 cat conftest.err
>&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); } >/dev
/null
; then
25786 if test -s conftest.err
; then
25787 ac_cpp_err
=$ac_c_preproc_warn_flag
25788 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25795 if test -z "$ac_cpp_err"; then
25796 ac_header_preproc
=yes
25798 echo "$as_me: failed program was:" >&5
25799 sed 's/^/| /' conftest.
$ac_ext >&5
25801 ac_header_preproc
=no
25803 rm -f conftest.err conftest.
$ac_ext
25804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25805 echo "${ECHO_T}$ac_header_preproc" >&6
25807 # So? What about this header?
25808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25810 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25813 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25814 ac_header_preproc
=yes
25817 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25818 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25819 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25820 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25821 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25822 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25823 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25824 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25827 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25828 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25831 ## ----------------------------------------- ##
25832 ## Report this to wx-dev@lists.wxwidgets.org ##
25833 ## ----------------------------------------- ##
25836 sed "s/^/$as_me: WARNING: /" >&2
25839 echo "$as_me:$LINENO: checking for $ac_header" >&5
25840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25842 echo $ECHO_N "(cached) $ECHO_C" >&6
25844 eval "$as_ac_Header=\$ac_header_preproc"
25846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25851 cat >>confdefs.h
<<_ACEOF
25852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25859 if test "${ac_cv_header_windows_h+set}" = set; then
25860 echo "$as_me:$LINENO: checking for windows.h" >&5
25861 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25862 if test "${ac_cv_header_windows_h+set}" = set; then
25863 echo $ECHO_N "(cached) $ECHO_C" >&6
25865 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25866 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25868 # Is the header compilable?
25869 echo "$as_me:$LINENO: checking windows.h usability" >&5
25870 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25871 cat >conftest.
$ac_ext <<_ACEOF
25874 cat confdefs.h
>>conftest.
$ac_ext
25875 cat >>conftest.
$ac_ext <<_ACEOF
25876 /* end confdefs.h. */
25877 $ac_includes_default
25878 #include <windows.h>
25880 rm -f conftest.
$ac_objext
25881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25882 (eval $ac_compile) 2>conftest.er1
25884 grep -v '^ *+' conftest.er1
>conftest.err
25886 cat conftest.err
>&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); } &&
25889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25891 (eval $ac_try) 2>&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); }; } &&
25895 { ac_try
='test -s conftest.$ac_objext'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; }; then
25901 ac_header_compiler
=yes
25903 echo "$as_me: failed program was:" >&5
25904 sed 's/^/| /' conftest.
$ac_ext >&5
25906 ac_header_compiler
=no
25908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25910 echo "${ECHO_T}$ac_header_compiler" >&6
25912 # Is the header present?
25913 echo "$as_me:$LINENO: checking windows.h presence" >&5
25914 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25915 cat >conftest.
$ac_ext <<_ACEOF
25918 cat confdefs.h
>>conftest.
$ac_ext
25919 cat >>conftest.
$ac_ext <<_ACEOF
25920 /* end confdefs.h. */
25921 #include <windows.h>
25923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25924 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25926 grep -v '^ *+' conftest.er1
>conftest.err
25928 cat conftest.err
>&5
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); } >/dev
/null
; then
25931 if test -s conftest.err
; then
25932 ac_cpp_err
=$ac_c_preproc_warn_flag
25933 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25940 if test -z "$ac_cpp_err"; then
25941 ac_header_preproc
=yes
25943 echo "$as_me: failed program was:" >&5
25944 sed 's/^/| /' conftest.
$ac_ext >&5
25946 ac_header_preproc
=no
25948 rm -f conftest.err conftest.
$ac_ext
25949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25950 echo "${ECHO_T}$ac_header_preproc" >&6
25952 # So? What about this header?
25953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25955 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25956 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25957 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25958 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25959 ac_header_preproc
=yes
25962 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25963 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25964 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25965 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25966 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25967 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25968 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25969 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25970 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25971 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25972 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25973 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25976 ## ----------------------------------------- ##
25977 ## Report this to wx-dev@lists.wxwidgets.org ##
25978 ## ----------------------------------------- ##
25981 sed "s/^/$as_me: WARNING: /" >&2
25984 echo "$as_me:$LINENO: checking for windows.h" >&5
25985 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25986 if test "${ac_cv_header_windows_h+set}" = set; then
25987 echo $ECHO_N "(cached) $ECHO_C" >&6
25989 ac_cv_header_windows_h
=$ac_header_preproc
25991 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25992 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25995 if test $ac_cv_header_windows_h = yes; then
25999 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26000 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26001 { (exit 1); exit 1; }; }
26007 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26009 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26010 LIBS
="$LIBS -loleacc"
26015 LIBS
="$LIBS -lkernel32 -luser32"
26018 if test "$wxUSE_ODBC" = "sys" ; then
26021 if test "$wxUSE_ODBC" = "yes" ; then
26022 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26023 cat >>confdefs.h
<<\_ACEOF
26024 #define wxUSE_ODBC 1
26029 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26030 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26032 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26034 WIN32INSTALL
=win32install
26037 if test "$wxUSE_GUI" = "yes"; then
26047 if test "$wxUSE_COCOA" = 1 ; then
26048 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26049 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26050 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26051 wxUSE_PRINTING_ARCHITECTURE
=no
26053 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26054 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26055 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26056 wxUSE_DRAG_AND_DROP
=no
26058 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26059 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26060 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26065 if test "$wxUSE_MSW" = 1 ; then
26071 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26075 if test "$wxUSE_GTK" = 1; then
26076 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26077 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26079 gtk_version_cached
=1
26080 if test "${wx_cv_lib_gtk+set}" = set; then
26081 echo $ECHO_N "(cached) $ECHO_C" >&6
26084 gtk_version_cached
=0
26085 echo "$as_me:$LINENO: result: " >&5
26086 echo "${ECHO_T}" >&6
26089 if test "$wxUSE_THREADS" = "yes"; then
26090 GTK_MODULES
=gthread
26094 if test "x$wxGTK_VERSION" != "x1"
26098 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26103 # Check whether --enable-gtktest or --disable-gtktest was given.
26104 if test "${enable_gtktest+set}" = set; then
26105 enableval
="$enable_gtktest"
26111 pkg_config_args
=gtk
+-2.0
26112 for module
in .
$GTK_MODULES
26116 pkg_config_args
="$pkg_config_args gthread-2.0"
26123 # Extract the first word of "pkg-config", so it can be a program name with args.
26124 set dummy pkg
-config; ac_word
=$2
26125 echo "$as_me:$LINENO: checking for $ac_word" >&5
26126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26127 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26128 echo $ECHO_N "(cached) $ECHO_C" >&6
26130 case $PKG_CONFIG in
26132 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26136 for as_dir
in $PATH
26139 test -z "$as_dir" && as_dir
=.
26140 for ac_exec_ext
in '' $ac_executable_extensions; do
26141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26142 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26149 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26153 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26155 if test -n "$PKG_CONFIG"; then
26156 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26157 echo "${ECHO_T}$PKG_CONFIG" >&6
26159 echo "$as_me:$LINENO: result: no" >&5
26160 echo "${ECHO_T}no" >&6
26164 if test x
$PKG_CONFIG != xno
; then
26165 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26168 echo "*** pkg-config too old; version 0.7 or better required."
26176 min_gtk_version
=2.0.0
26177 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26178 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26180 if test x
$PKG_CONFIG != xno
; then
26181 ## don't try to run the test against uninstalled libtool libs
26182 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26183 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26187 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26194 if test x
"$no_gtk" = x
; then
26195 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26196 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26197 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26198 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26199 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26200 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26201 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26202 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26203 if test "x$enable_gtktest" = "xyes" ; then
26204 ac_save_CFLAGS
="$CFLAGS"
26205 ac_save_LIBS
="$LIBS"
26206 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26207 LIBS
="$GTK_LIBS $LIBS"
26209 if test "$cross_compiling" = yes; then
26210 echo $ac_n "cross compiling; assumed OK... $ac_c"
26212 cat >conftest.
$ac_ext <<_ACEOF
26215 cat confdefs.h
>>conftest.
$ac_ext
26216 cat >>conftest.
$ac_ext <<_ACEOF
26217 /* end confdefs.h. */
26219 #include <gtk/gtk.h>
26221 #include <stdlib.h>
26226 int major, minor, micro;
26229 system ("touch conf.gtktest");
26231 /* HP/UX 9 (%@#!) writes to sscanf strings */
26232 tmp_version = g_strdup("$min_gtk_version");
26233 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26234 printf("%s, bad version string\n", "$min_gtk_version");
26238 if ((gtk_major_version != $gtk_config_major_version) ||
26239 (gtk_minor_version != $gtk_config_minor_version) ||
26240 (gtk_micro_version != $gtk_config_micro_version))
26242 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26243 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26244 gtk_major_version, gtk_minor_version, gtk_micro_version);
26245 printf ("*** was found! If pkg-config was correct, then it is best\n");
26246 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26247 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26248 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26249 printf("*** required on your system.\n");
26250 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26251 printf("*** to point to the correct configuration files\n");
26253 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26254 (gtk_minor_version != GTK_MINOR_VERSION) ||
26255 (gtk_micro_version != GTK_MICRO_VERSION))
26257 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26258 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26259 printf("*** library (version %d.%d.%d)\n",
26260 gtk_major_version, gtk_minor_version, gtk_micro_version);
26264 if ((gtk_major_version > major) ||
26265 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26266 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26272 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26273 gtk_major_version, gtk_minor_version, gtk_micro_version);
26274 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26275 major, minor, micro);
26276 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26278 printf("*** If you have already installed a sufficiently new version, this error\n");
26279 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26280 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26281 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26282 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26283 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26284 printf("*** so that the correct libraries are found at run-time))\n");
26291 rm -f conftest
$ac_exeext
26292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26293 (eval $ac_link) 2>&5
26295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26296 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26298 (eval $ac_try) 2>&5
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); }; }; then
26304 echo "$as_me: program exited with status $ac_status" >&5
26305 echo "$as_me: failed program was:" >&5
26306 sed 's/^/| /' conftest.
$ac_ext >&5
26308 ( exit $ac_status )
26311 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26313 CFLAGS
="$ac_save_CFLAGS"
26314 LIBS
="$ac_save_LIBS"
26317 if test "x$no_gtk" = x
; then
26318 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26319 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26322 echo "$as_me:$LINENO: result: no" >&5
26323 echo "${ECHO_T}no" >&6
26324 if test "$PKG_CONFIG" = "no" ; then
26325 echo "*** A new enough version of pkg-config was not found."
26326 echo "*** See http://pkgconfig.sourceforge.net"
26328 if test -f conf.gtktest
; then
26331 echo "*** Could not run GTK+ test program, checking why..."
26332 ac_save_CFLAGS
="$CFLAGS"
26333 ac_save_LIBS
="$LIBS"
26334 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26335 LIBS
="$LIBS $GTK_LIBS"
26336 cat >conftest.
$ac_ext <<_ACEOF
26339 cat confdefs.h
>>conftest.
$ac_ext
26340 cat >>conftest.
$ac_ext <<_ACEOF
26341 /* end confdefs.h. */
26343 #include <gtk/gtk.h>
26349 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26354 rm -f conftest.
$ac_objext conftest
$ac_exeext
26355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26356 (eval $ac_link) 2>conftest.er1
26358 grep -v '^ *+' conftest.er1
>conftest.err
26360 cat conftest.err
>&5
26361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362 (exit $ac_status); } &&
26363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26365 (eval $ac_try) 2>&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); }; } &&
26369 { ac_try
='test -s conftest$ac_exeext'
26370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26371 (eval $ac_try) 2>&5
26373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26374 (exit $ac_status); }; }; then
26375 echo "*** The test program compiled, but did not run. This usually means"
26376 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26377 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26378 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26379 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26380 echo "*** is required on your system"
26382 echo "*** If you have an old version installed, it is best to remove it, although"
26383 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26385 echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.
$ac_ext >&5
26388 echo "*** The test program failed to compile or link. See the file config.log for the"
26389 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26391 rm -f conftest.err conftest.
$ac_objext \
26392 conftest
$ac_exeext conftest.
$ac_ext
26393 CFLAGS
="$ac_save_CFLAGS"
26394 LIBS
="$ac_save_LIBS"
26408 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26409 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26410 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26412 if test "$wxUSE_SHARED" != "yes"; then
26413 GTK_LIBS
="$GTK_LIBS -lX11"
26418 if test -z "$wx_cv_lib_gtk"; then
26419 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26421 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26422 if test "${with_gtk_prefix+set}" = set; then
26423 withval
="$with_gtk_prefix"
26424 gtk_config_prefix
="$withval"
26426 gtk_config_prefix
=""
26429 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26430 if test "${with_gtk_exec_prefix+set}" = set; then
26431 withval
="$with_gtk_exec_prefix"
26432 gtk_config_exec_prefix
="$withval"
26434 gtk_config_exec_prefix
=""
26436 # Check whether --enable-gtktest or --disable-gtktest was given.
26437 if test "${enable_gtktest+set}" = set; then
26438 enableval
="$enable_gtktest"
26444 for module
in .
$GTK_MODULES
26448 gtk_config_args
="$gtk_config_args gthread"
26453 if test x
$gtk_config_exec_prefix != x
; then
26454 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26455 if test x
${GTK_CONFIG+set} != xset
; then
26456 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26459 if test x
$gtk_config_prefix != x
; then
26460 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26461 if test x
${GTK_CONFIG+set} != xset
; then
26462 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26466 # Extract the first word of "gtk-config", so it can be a program name with args.
26467 set dummy gtk
-config; ac_word
=$2
26468 echo "$as_me:$LINENO: checking for $ac_word" >&5
26469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26470 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26471 echo $ECHO_N "(cached) $ECHO_C" >&6
26473 case $GTK_CONFIG in
26475 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26479 for as_dir
in $PATH
26482 test -z "$as_dir" && as_dir
=.
26483 for ac_exec_ext
in '' $ac_executable_extensions; do
26484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26485 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26492 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26496 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26498 if test -n "$GTK_CONFIG"; then
26499 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26500 echo "${ECHO_T}$GTK_CONFIG" >&6
26502 echo "$as_me:$LINENO: result: no" >&5
26503 echo "${ECHO_T}no" >&6
26506 min_gtk_version
=1.2.7
26507 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26508 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26510 if test "$GTK_CONFIG" = "no" ; then
26513 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26514 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26515 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26517 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26519 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26520 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26521 if test "x$enable_gtktest" = "xyes" ; then
26522 ac_save_CFLAGS
="$CFLAGS"
26523 ac_save_LIBS
="$LIBS"
26524 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26525 LIBS
="$GTK_LIBS $LIBS"
26527 if test "$cross_compiling" = yes; then
26528 echo $ac_n "cross compiling; assumed OK... $ac_c"
26530 cat >conftest.
$ac_ext <<_ACEOF
26533 cat confdefs.h
>>conftest.
$ac_ext
26534 cat >>conftest.
$ac_ext <<_ACEOF
26535 /* end confdefs.h. */
26537 #include <gtk/gtk.h>
26539 #include <stdlib.h>
26544 int major, minor, micro;
26547 system ("touch conf.gtktest");
26549 /* HP/UX 9 (%@#!) writes to sscanf strings */
26550 tmp_version = g_strdup("$min_gtk_version");
26551 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26552 printf("%s, bad version string\n", "$min_gtk_version");
26556 if ((gtk_major_version != $gtk_config_major_version) ||
26557 (gtk_minor_version != $gtk_config_minor_version) ||
26558 (gtk_micro_version != $gtk_config_micro_version))
26560 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26561 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26562 gtk_major_version, gtk_minor_version, gtk_micro_version);
26563 printf ("*** was found! If gtk-config was correct, then it is best\n");
26564 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26565 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26566 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26567 printf("*** required on your system.\n");
26568 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26569 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26570 printf("*** before re-running configure\n");
26572 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26573 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26574 (gtk_minor_version != GTK_MINOR_VERSION) ||
26575 (gtk_micro_version != GTK_MICRO_VERSION))
26577 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26578 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26579 printf("*** library (version %d.%d.%d)\n",
26580 gtk_major_version, gtk_minor_version, gtk_micro_version);
26582 #endif /* defined (GTK_MAJOR_VERSION) ... */
26585 if ((gtk_major_version > major) ||
26586 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26587 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26593 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26594 gtk_major_version, gtk_minor_version, gtk_micro_version);
26595 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26596 major, minor, micro);
26597 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26599 printf("*** If you have already installed a sufficiently new version, this error\n");
26600 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26601 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26602 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26603 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26604 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26605 printf("*** so that the correct libraries are found at run-time))\n");
26612 rm -f conftest
$ac_exeext
26613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26614 (eval $ac_link) 2>&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26619 (eval $ac_try) 2>&5
26621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26622 (exit $ac_status); }; }; then
26625 echo "$as_me: program exited with status $ac_status" >&5
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.
$ac_ext >&5
26629 ( exit $ac_status )
26632 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26634 CFLAGS
="$ac_save_CFLAGS"
26635 LIBS
="$ac_save_LIBS"
26638 if test "x$no_gtk" = x
; then
26639 echo "$as_me:$LINENO: result: yes" >&5
26640 echo "${ECHO_T}yes" >&6
26641 wx_cv_lib_gtk
=1.2.7
26643 echo "$as_me:$LINENO: result: no" >&5
26644 echo "${ECHO_T}no" >&6
26645 if test "$GTK_CONFIG" = "no" ; then
26646 echo "*** The gtk-config script installed by GTK could not be found"
26647 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26648 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26649 echo "*** full path to gtk-config."
26651 if test -f conf.gtktest
; then
26654 echo "*** Could not run GTK test program, checking why..."
26655 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26656 LIBS
="$LIBS $GTK_LIBS"
26657 cat >conftest.
$ac_ext <<_ACEOF
26660 cat confdefs.h
>>conftest.
$ac_ext
26661 cat >>conftest.
$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26664 #include <gtk/gtk.h>
26670 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26675 rm -f conftest.
$ac_objext conftest
$ac_exeext
26676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26677 (eval $ac_link) 2>conftest.er1
26679 grep -v '^ *+' conftest.er1
>conftest.err
26681 cat conftest.err
>&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); } &&
26684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); }; } &&
26690 { ac_try
='test -s conftest$ac_exeext'
26691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692 (eval $ac_try) 2>&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); }; }; then
26696 echo "*** The test program compiled, but did not run. This usually means"
26697 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26698 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26699 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26700 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26701 echo "*** is required on your system"
26703 echo "*** If you have an old version installed, it is best to remove it, although"
26704 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26706 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26707 echo "*** came with the system with the command"
26709 echo "*** rpm --erase --nodeps gtk gtk-devel"
26711 echo "$as_me: failed program was:" >&5
26712 sed 's/^/| /' conftest.
$ac_ext >&5
26714 echo "*** The test program failed to compile or link. See the file config.log for the"
26715 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26716 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26717 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26719 rm -f conftest.err conftest.
$ac_objext \
26720 conftest
$ac_exeext conftest.
$ac_ext
26721 CFLAGS
="$ac_save_CFLAGS"
26722 LIBS
="$ac_save_LIBS"
26734 if test -z "$wx_cv_lib_gtk"; then
26736 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26737 if test "${with_gtk_prefix+set}" = set; then
26738 withval
="$with_gtk_prefix"
26739 gtk_config_prefix
="$withval"
26741 gtk_config_prefix
=""
26744 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26745 if test "${with_gtk_exec_prefix+set}" = set; then
26746 withval
="$with_gtk_exec_prefix"
26747 gtk_config_exec_prefix
="$withval"
26749 gtk_config_exec_prefix
=""
26751 # Check whether --enable-gtktest or --disable-gtktest was given.
26752 if test "${enable_gtktest+set}" = set; then
26753 enableval
="$enable_gtktest"
26759 for module
in .
$GTK_MODULES
26763 gtk_config_args
="$gtk_config_args gthread"
26768 if test x
$gtk_config_exec_prefix != x
; then
26769 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26770 if test x
${GTK_CONFIG+set} != xset
; then
26771 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26774 if test x
$gtk_config_prefix != x
; then
26775 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26776 if test x
${GTK_CONFIG+set} != xset
; then
26777 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26781 # Extract the first word of "gtk-config", so it can be a program name with args.
26782 set dummy gtk
-config; ac_word
=$2
26783 echo "$as_me:$LINENO: checking for $ac_word" >&5
26784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26785 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26788 case $GTK_CONFIG in
26790 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26794 for as_dir
in $PATH
26797 test -z "$as_dir" && as_dir
=.
26798 for ac_exec_ext
in '' $ac_executable_extensions; do
26799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26800 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26807 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26811 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26813 if test -n "$GTK_CONFIG"; then
26814 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26815 echo "${ECHO_T}$GTK_CONFIG" >&6
26817 echo "$as_me:$LINENO: result: no" >&5
26818 echo "${ECHO_T}no" >&6
26821 min_gtk_version
=1.2.3
26822 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26823 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26825 if test "$GTK_CONFIG" = "no" ; then
26828 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26829 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26830 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26832 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26834 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26836 if test "x$enable_gtktest" = "xyes" ; then
26837 ac_save_CFLAGS
="$CFLAGS"
26838 ac_save_LIBS
="$LIBS"
26839 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26840 LIBS
="$GTK_LIBS $LIBS"
26842 if test "$cross_compiling" = yes; then
26843 echo $ac_n "cross compiling; assumed OK... $ac_c"
26845 cat >conftest.
$ac_ext <<_ACEOF
26848 cat confdefs.h
>>conftest.
$ac_ext
26849 cat >>conftest.
$ac_ext <<_ACEOF
26850 /* end confdefs.h. */
26852 #include <gtk/gtk.h>
26854 #include <stdlib.h>
26859 int major, minor, micro;
26862 system ("touch conf.gtktest");
26864 /* HP/UX 9 (%@#!) writes to sscanf strings */
26865 tmp_version = g_strdup("$min_gtk_version");
26866 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26867 printf("%s, bad version string\n", "$min_gtk_version");
26871 if ((gtk_major_version != $gtk_config_major_version) ||
26872 (gtk_minor_version != $gtk_config_minor_version) ||
26873 (gtk_micro_version != $gtk_config_micro_version))
26875 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26876 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26877 gtk_major_version, gtk_minor_version, gtk_micro_version);
26878 printf ("*** was found! If gtk-config was correct, then it is best\n");
26879 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26880 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26881 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26882 printf("*** required on your system.\n");
26883 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26884 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26885 printf("*** before re-running configure\n");
26887 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26888 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26889 (gtk_minor_version != GTK_MINOR_VERSION) ||
26890 (gtk_micro_version != GTK_MICRO_VERSION))
26892 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26893 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26894 printf("*** library (version %d.%d.%d)\n",
26895 gtk_major_version, gtk_minor_version, gtk_micro_version);
26897 #endif /* defined (GTK_MAJOR_VERSION) ... */
26900 if ((gtk_major_version > major) ||
26901 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26902 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26908 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26909 gtk_major_version, gtk_minor_version, gtk_micro_version);
26910 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26911 major, minor, micro);
26912 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26914 printf("*** If you have already installed a sufficiently new version, this error\n");
26915 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26916 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26917 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26918 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26919 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26920 printf("*** so that the correct libraries are found at run-time))\n");
26927 rm -f conftest
$ac_exeext
26928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26929 (eval $ac_link) 2>&5
26931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26932 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26934 (eval $ac_try) 2>&5
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); }; }; then
26940 echo "$as_me: program exited with status $ac_status" >&5
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.
$ac_ext >&5
26944 ( exit $ac_status )
26947 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26949 CFLAGS
="$ac_save_CFLAGS"
26950 LIBS
="$ac_save_LIBS"
26953 if test "x$no_gtk" = x
; then
26954 echo "$as_me:$LINENO: result: yes" >&5
26955 echo "${ECHO_T}yes" >&6
26956 wx_cv_lib_gtk
=1.2.3
26958 echo "$as_me:$LINENO: result: no" >&5
26959 echo "${ECHO_T}no" >&6
26960 if test "$GTK_CONFIG" = "no" ; then
26961 echo "*** The gtk-config script installed by GTK could not be found"
26962 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26963 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26964 echo "*** full path to gtk-config."
26966 if test -f conf.gtktest
; then
26969 echo "*** Could not run GTK test program, checking why..."
26970 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26971 LIBS
="$LIBS $GTK_LIBS"
26972 cat >conftest.
$ac_ext <<_ACEOF
26975 cat confdefs.h
>>conftest.
$ac_ext
26976 cat >>conftest.
$ac_ext <<_ACEOF
26977 /* end confdefs.h. */
26979 #include <gtk/gtk.h>
26985 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26990 rm -f conftest.
$ac_objext conftest
$ac_exeext
26991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26992 (eval $ac_link) 2>conftest.er1
26994 grep -v '^ *+' conftest.er1
>conftest.err
26996 cat conftest.err
>&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); } &&
26999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27001 (eval $ac_try) 2>&5
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); }; } &&
27005 { ac_try
='test -s conftest$ac_exeext'
27006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27007 (eval $ac_try) 2>&5
27009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27010 (exit $ac_status); }; }; then
27011 echo "*** The test program compiled, but did not run. This usually means"
27012 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27013 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27014 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27015 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27016 echo "*** is required on your system"
27018 echo "*** If you have an old version installed, it is best to remove it, although"
27019 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27021 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27022 echo "*** came with the system with the command"
27024 echo "*** rpm --erase --nodeps gtk gtk-devel"
27026 echo "$as_me: failed program was:" >&5
27027 sed 's/^/| /' conftest.
$ac_ext >&5
27029 echo "*** The test program failed to compile or link. See the file config.log for the"
27030 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27031 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27032 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27034 rm -f conftest.err conftest.
$ac_objext \
27035 conftest
$ac_exeext conftest.
$ac_ext
27036 CFLAGS
="$ac_save_CFLAGS"
27037 LIBS
="$ac_save_LIBS"
27052 if test -z "$wx_cv_lib_gtk"; then
27055 wx_cv_cflags_gtk
=$GTK_CFLAGS
27056 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27063 if test "$gtk_version_cached" = 1; then
27064 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27065 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27068 case "$wx_cv_lib_gtk" in
27077 *) { { echo "$as_me:$LINENO: error:
27078 The development files for GTK+ were not found. For GTK+ 2, please
27079 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27080 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27081 and that the version is 1.2.3 or above. Also check that the
27082 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27083 --libs' are in the LD_LIBRARY_PATH or equivalent.
27085 echo "$as_me: error:
27086 The development files for GTK+ were not found. For GTK+ 2, please
27087 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27088 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27089 and that the version is 1.2.3 or above. Also check that the
27090 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27091 --libs' are in the LD_LIBRARY_PATH or equivalent.
27093 { (exit 1); exit 1; }; }
27097 if test "$WXGTK20" = 1; then
27098 save_CFLAGS
="$CFLAGS"
27100 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27101 LIBS
="$LIBS $wx_cv_libs_gtk"
27103 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27104 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27105 cat >conftest.
$ac_ext <<_ACEOF
27108 cat confdefs.h
>>conftest.
$ac_ext
27109 cat >>conftest.
$ac_ext <<_ACEOF
27110 /* end confdefs.h. */
27112 #include <gtk/gtk.h>
27118 void *f = gtk_icon_size_lookup;
27124 rm -f conftest.
$ac_objext
27125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27126 (eval $ac_compile) 2>conftest.er1
27128 grep -v '^ *+' conftest.er1
>conftest.err
27130 cat conftest.err
>&5
27131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27132 (exit $ac_status); } &&
27133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27135 (eval $ac_try) 2>&5
27137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138 (exit $ac_status); }; } &&
27139 { ac_try
='test -s conftest.$ac_objext'
27140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27141 (eval $ac_try) 2>&5
27143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144 (exit $ac_status); }; }; then
27146 echo "$as_me:$LINENO: result: no" >&5
27147 echo "${ECHO_T}no" >&6
27150 echo "$as_me: failed program was:" >&5
27151 sed 's/^/| /' conftest.
$ac_ext >&5
27154 cat >>confdefs.h
<<\_ACEOF
27155 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27158 echo "$as_me:$LINENO: result: yes" >&5
27159 echo "${ECHO_T}yes" >&6
27162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27164 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27165 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27166 cat >conftest.
$ac_ext <<_ACEOF
27169 cat confdefs.h
>>conftest.
$ac_ext
27170 cat >>conftest.
$ac_ext <<_ACEOF
27171 /* end confdefs.h. */
27173 #include <gtk/gtk.h>
27179 #if !GTK_CHECK_VERSION(2,4,0)
27187 rm -f conftest.
$ac_objext
27188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27189 (eval $ac_compile) 2>conftest.er1
27191 grep -v '^ *+' conftest.er1
>conftest.err
27193 cat conftest.err
>&5
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); } &&
27196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27198 (eval $ac_try) 2>&5
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); }; } &&
27202 { ac_try
='test -s conftest.$ac_objext'
27203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27204 (eval $ac_try) 2>&5
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); }; }; then
27209 cat >>confdefs.h
<<\_ACEOF
27210 #define __WXGTK24__ 1
27213 echo "$as_me:$LINENO: result: yes" >&5
27214 echo "${ECHO_T}yes" >&6
27217 echo "$as_me: failed program was:" >&5
27218 sed 's/^/| /' conftest.
$ac_ext >&5
27221 echo "$as_me:$LINENO: result: no" >&5
27222 echo "${ECHO_T}no" >&6
27225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27227 CFLAGS
="$save_CFLAGS"
27230 if test "$wxUSE_UNICODE" = "yes"; then
27231 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27232 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27237 if test "$USE_DARWIN" != 1; then
27239 for ac_func
in poll
27241 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27242 echo "$as_me:$LINENO: checking for $ac_func" >&5
27243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27244 if eval "test \"\${$as_ac_var+set}\" = set"; then
27245 echo $ECHO_N "(cached) $ECHO_C" >&6
27247 cat >conftest.
$ac_ext <<_ACEOF
27250 cat confdefs.h
>>conftest.
$ac_ext
27251 cat >>conftest.
$ac_ext <<_ACEOF
27252 /* end confdefs.h. */
27253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27255 #define $ac_func innocuous_$ac_func
27257 /* System header to define __stub macros and hopefully few prototypes,
27258 which can conflict with char $ac_func (); below.
27259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27260 <limits.h> exists even on freestanding compilers. */
27263 # include <limits.h>
27265 # include <assert.h>
27270 /* Override any gcc2 internal prototype to avoid an error. */
27275 /* We use char because int might match the return type of a gcc2
27276 builtin and then its argument prototype would still apply. */
27278 /* The GNU C library defines this for functions which it implements
27279 to always fail with ENOSYS. Some functions are actually named
27280 something starting with __ and the normal name is an alias. */
27281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27284 char (*f) () = $ac_func;
27293 return f != $ac_func;
27298 rm -f conftest.
$ac_objext conftest
$ac_exeext
27299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27300 (eval $ac_link) 2>conftest.er1
27302 grep -v '^ *+' conftest.er1
>conftest.err
27304 cat conftest.err
>&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); } &&
27307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27309 (eval $ac_try) 2>&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); }; } &&
27313 { ac_try
='test -s conftest$ac_exeext'
27314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27315 (eval $ac_try) 2>&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); }; }; then
27319 eval "$as_ac_var=yes"
27321 echo "$as_me: failed program was:" >&5
27322 sed 's/^/| /' conftest.
$ac_ext >&5
27324 eval "$as_ac_var=no"
27326 rm -f conftest.err conftest.
$ac_objext \
27327 conftest
$ac_exeext conftest.
$ac_ext
27329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27331 if test `eval echo '${'$as_ac_var'}'` = yes; then
27332 cat >>confdefs.h
<<_ACEOF
27333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27341 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27342 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27344 AFMINSTALL
=afminstall
27348 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27349 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27350 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27351 echo $ECHO_N "(cached) $ECHO_C" >&6
27353 ac_check_lib_save_LIBS
=$LIBS
27355 cat >conftest.
$ac_ext <<_ACEOF
27358 cat confdefs.h
>>conftest.
$ac_ext
27359 cat >>conftest.
$ac_ext <<_ACEOF
27360 /* end confdefs.h. */
27362 /* Override any gcc2 internal prototype to avoid an error. */
27366 /* We use char because int might match the return type of a gcc2
27367 builtin and then its argument prototype would still apply. */
27368 char gdk_im_open ();
27377 rm -f conftest.
$ac_objext conftest
$ac_exeext
27378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27379 (eval $ac_link) 2>conftest.er1
27381 grep -v '^ *+' conftest.er1
>conftest.err
27383 cat conftest.err
>&5
27384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27385 (exit $ac_status); } &&
27386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27388 (eval $ac_try) 2>&5
27390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27391 (exit $ac_status); }; } &&
27392 { ac_try
='test -s conftest$ac_exeext'
27393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27394 (eval $ac_try) 2>&5
27396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397 (exit $ac_status); }; }; then
27398 ac_cv_lib_gdk_gdk_im_open
=yes
27400 echo "$as_me: failed program was:" >&5
27401 sed 's/^/| /' conftest.
$ac_ext >&5
27403 ac_cv_lib_gdk_gdk_im_open
=no
27405 rm -f conftest.err conftest.
$ac_objext \
27406 conftest
$ac_exeext conftest.
$ac_ext
27407 LIBS
=$ac_check_lib_save_LIBS
27409 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27410 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27411 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27412 cat >>confdefs.h
<<\_ACEOF
27420 if test "$wxUSE_GPE" = "yes"; then
27421 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27422 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27425 for ac_dir
in $SEARCH_LIB;
27427 for ac_extension
in a so sl dylib dll.a
; do
27428 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27429 ac_find_libraries
=$ac_dir
27435 if test "$ac_find_libraries" != "" ; then
27437 if test "$ac_find_libraries" = "default location"; then
27440 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27442 if test $result = 0; then
27445 ac_path_to_link
=" -L$ac_find_libraries"
27449 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27451 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27452 echo "${ECHO_T}found in $ac_find_libraries" >&6
27454 echo "$as_me:$LINENO: result: not found" >&5
27455 echo "${ECHO_T}not found" >&6
27461 if test "$wxUSE_MGL" = 1; then
27462 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27463 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27464 if test "x$MGL_ROOT" = x
; then
27465 echo "$as_me:$LINENO: result: not found" >&5
27466 echo "${ECHO_T}not found" >&6
27467 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27468 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27469 { (exit 1); exit 1; }; }
27471 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27472 echo "${ECHO_T}$MGL_ROOT" >&6
27475 echo "$as_me:$LINENO: checking for libmgl location" >&5
27476 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27479 if test "x$wxUSE_SHARED" = xyes
; then
27480 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27482 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27486 mgl_os_candidates
="dos32/dj2"
27489 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27490 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27491 { (exit 1); exit 1; }; }
27497 for mgl_os_i
in $mgl_os_candidates ; do
27498 if test "x$mgl_os" = x
; then
27499 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27500 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27501 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27506 if test "x$mgl_lib_type" = x
; then
27507 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27508 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27509 mgl_lib_type
=release
27516 if test "x$mgl_os" = x
; then
27517 echo "$as_me:$LINENO: result: not found" >&5
27518 echo "${ECHO_T}not found" >&6
27519 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27520 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27521 { (exit 1); exit 1; }; }
27523 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27524 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27526 wxUSE_UNIVERSAL
="yes"
27528 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27529 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27531 AFMINSTALL
=afminstall
27536 if test "$wxUSE_MICROWIN" = 1; then
27537 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27538 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27539 if test "x$MICROWINDOWS" = x
; then
27540 echo "$as_me:$LINENO: result: not found" >&5
27541 echo "${ECHO_T}not found" >&6
27542 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27543 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27544 { (exit 1); exit 1; }; }
27546 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27547 echo "${ECHO_T}$MICROWINDOWS" >&6
27550 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27551 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27552 echo "${ECHO_T}MicroWindows' libraries found." >&6
27554 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27555 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27556 { (exit 1); exit 1; }; }
27559 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27560 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27562 wxUSE_UNIVERSAL
="yes"
27564 AFMINSTALL
=afminstall
27566 GUIDIST
=MICROWIN_DIST
27568 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27571 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27573 if test "x$ac_path_x_has_been_run" != xyes
; then
27574 echo "$as_me:$LINENO: checking for X" >&5
27575 echo $ECHO_N "checking for X... $ECHO_C" >&6
27577 ac_path_x_has_been_run
=yes
27579 # Check whether --with-x or --without-x was given.
27580 if test "${with_x+set}" = set; then
27584 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27585 if test "x$with_x" = xno
; then
27586 # The user explicitly disabled X.
27589 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27590 # Both variables are already set.
27593 if test "${ac_cv_have_x+set}" = set; then
27594 echo $ECHO_N "(cached) $ECHO_C" >&6
27596 # One or both of the vars are not set, and there is no cached value.
27597 ac_x_includes
=no ac_x_libraries
=no
27598 rm -fr conftest.dir
27599 if mkdir conftest.dir
; then
27601 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27602 cat >Imakefile
<<'_ACEOF'
27604 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27606 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27607 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27608 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27609 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27610 for ac_extension
in a so sl
; do
27611 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27612 test -f $ac_im_libdir/libX11.
$ac_extension; then
27613 ac_im_usrlibdir
=$ac_im_libdir; break
27616 # Screen out bogus values from the imake configuration. They are
27617 # bogus both because they are the default anyway, and because
27618 # using them would break gcc on systems where it needs fixed includes.
27619 case $ac_im_incroot in
27621 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27623 case $ac_im_usrlibdir in
27624 /usr
/lib
| /lib
) ;;
27625 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27629 rm -fr conftest.dir
27632 # Standard set of common directories for X headers.
27633 # Check X11 before X11Rn because it is often a symlink to the current release.
27645 /usr/local/X11/include
27646 /usr/local/X11R6/include
27647 /usr/local/X11R5/include
27648 /usr/local/X11R4/include
27650 /usr/local/include/X11
27651 /usr/local/include/X11R6
27652 /usr/local/include/X11R5
27653 /usr/local/include/X11R4
27657 /usr/XFree86/include/X11
27661 /usr/unsupported/include
27662 /usr/athena/include
27663 /usr/local/x11r5/include
27664 /usr/lpp/Xamples/include
27666 /usr/openwin/include
27667 /usr/openwin/share/include'
27669 if test "$ac_x_includes" = no
; then
27670 # Guess where to find include files, by looking for a specified header file.
27671 # First, try using that file with no special directory specified.
27672 cat >conftest.
$ac_ext <<_ACEOF
27675 cat confdefs.h
>>conftest.
$ac_ext
27676 cat >>conftest.
$ac_ext <<_ACEOF
27677 /* end confdefs.h. */
27678 #include <X11/Xlib.h>
27680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27681 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27683 grep -v '^ *+' conftest.er1
>conftest.err
27685 cat conftest.err
>&5
27686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27687 (exit $ac_status); } >/dev
/null
; then
27688 if test -s conftest.err
; then
27689 ac_cpp_err
=$ac_c_preproc_warn_flag
27690 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27697 if test -z "$ac_cpp_err"; then
27698 # We can compile using X headers with no special include directory.
27701 echo "$as_me: failed program was:" >&5
27702 sed 's/^/| /' conftest.
$ac_ext >&5
27704 for ac_dir
in $ac_x_header_dirs; do
27705 if test -r "$ac_dir/X11/Xlib.h"; then
27706 ac_x_includes
=$ac_dir
27711 rm -f conftest.err conftest.
$ac_ext
27712 fi # $ac_x_includes = no
27714 if test "$ac_x_libraries" = no
; then
27715 # Check for the libraries.
27716 # See if we find them without any special options.
27717 # Don't add to $LIBS permanently.
27720 cat >conftest.
$ac_ext <<_ACEOF
27723 cat confdefs.h
>>conftest.
$ac_ext
27724 cat >>conftest.
$ac_ext <<_ACEOF
27725 /* end confdefs.h. */
27726 #include <X11/Xlib.h>
27735 rm -f conftest.
$ac_objext conftest
$ac_exeext
27736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27737 (eval $ac_link) 2>conftest.er1
27739 grep -v '^ *+' conftest.er1
>conftest.err
27741 cat conftest.err
>&5
27742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743 (exit $ac_status); } &&
27744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27746 (eval $ac_try) 2>&5
27748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27749 (exit $ac_status); }; } &&
27750 { ac_try
='test -s conftest$ac_exeext'
27751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27752 (eval $ac_try) 2>&5
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); }; }; then
27757 # We can link X programs with no special library path.
27760 echo "$as_me: failed program was:" >&5
27761 sed 's/^/| /' conftest.
$ac_ext >&5
27764 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27766 # Don't even attempt the hair of trying to link an X program!
27767 for ac_extension
in a so sl
; do
27768 if test -r $ac_dir/libX11.
$ac_extension; then
27769 ac_x_libraries
=$ac_dir
27775 rm -f conftest.err conftest.
$ac_objext \
27776 conftest
$ac_exeext conftest.
$ac_ext
27777 fi # $ac_x_libraries = no
27779 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
27780 # Didn't find X anywhere. Cache the known absence of X.
27781 ac_cv_have_x
="have_x=no"
27783 # Record where we found X for the cache.
27784 ac_cv_have_x
="have_x=yes \
27785 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27790 eval "$ac_cv_have_x"
27793 if test "$have_x" != yes; then
27794 echo "$as_me:$LINENO: result: $have_x" >&5
27795 echo "${ECHO_T}$have_x" >&6
27798 # If each of the values was on the command line, it overrides each guess.
27799 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27800 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27801 # Update the cache value to reflect the command line values.
27802 ac_cv_have_x
="have_x=yes \
27803 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27804 # It might be that x_includes is empty (headers are found in the
27805 # standard search path. Then output the corresponding message
27806 ac_out_x_includes
=$x_includes
27807 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
27808 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
27809 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
27813 if test "$no_x" = yes; then
27814 # Not all programs may use this symbol, but it does not hurt to define it.
27816 cat >>confdefs.h
<<\_ACEOF
27817 #define X_DISPLAY_MISSING 1
27820 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
27822 if test -n "$x_includes"; then
27823 X_CFLAGS
="$X_CFLAGS -I$x_includes"
27826 # It would also be nice to do this for all -L options, not just this one.
27827 if test -n "$x_libraries"; then
27828 X_LIBS
="$X_LIBS -L$x_libraries"
27829 # For Solaris; some versions of Sun CC require a space after -R and
27830 # others require no space. Words are not sufficient . . . .
27831 case `(uname -sr) 2>/dev/null` in
27833 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27834 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27835 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
27836 cat >conftest.
$ac_ext <<_ACEOF
27839 cat confdefs.h
>>conftest.
$ac_ext
27840 cat >>conftest.
$ac_ext <<_ACEOF
27841 /* end confdefs.h. */
27851 rm -f conftest.
$ac_objext conftest
$ac_exeext
27852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27853 (eval $ac_link) 2>conftest.er1
27855 grep -v '^ *+' conftest.er1
>conftest.err
27857 cat conftest.err
>&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); } &&
27860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27862 (eval $ac_try) 2>&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); }; } &&
27866 { ac_try
='test -s conftest$ac_exeext'
27867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27868 (eval $ac_try) 2>&5
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); }; }; then
27874 echo "$as_me: failed program was:" >&5
27875 sed 's/^/| /' conftest.
$ac_ext >&5
27879 rm -f conftest.err conftest.
$ac_objext \
27880 conftest
$ac_exeext conftest.
$ac_ext
27881 if test $ac_R_nospace = yes; then
27882 echo "$as_me:$LINENO: result: no" >&5
27883 echo "${ECHO_T}no" >&6
27884 X_LIBS
="$X_LIBS -R$x_libraries"
27886 LIBS
="$ac_xsave_LIBS -R $x_libraries"
27887 cat >conftest.
$ac_ext <<_ACEOF
27890 cat confdefs.h
>>conftest.
$ac_ext
27891 cat >>conftest.
$ac_ext <<_ACEOF
27892 /* end confdefs.h. */
27902 rm -f conftest.
$ac_objext conftest
$ac_exeext
27903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27904 (eval $ac_link) 2>conftest.er1
27906 grep -v '^ *+' conftest.er1
>conftest.err
27908 cat conftest.err
>&5
27909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910 (exit $ac_status); } &&
27911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27913 (eval $ac_try) 2>&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); }; } &&
27917 { ac_try
='test -s conftest$ac_exeext'
27918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27919 (eval $ac_try) 2>&5
27921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27922 (exit $ac_status); }; }; then
27925 echo "$as_me: failed program was:" >&5
27926 sed 's/^/| /' conftest.
$ac_ext >&5
27930 rm -f conftest.err conftest.
$ac_objext \
27931 conftest
$ac_exeext conftest.
$ac_ext
27932 if test $ac_R_space = yes; then
27933 echo "$as_me:$LINENO: result: yes" >&5
27934 echo "${ECHO_T}yes" >&6
27935 X_LIBS
="$X_LIBS -R $x_libraries"
27937 echo "$as_me:$LINENO: result: neither works" >&5
27938 echo "${ECHO_T}neither works" >&6
27941 LIBS
=$ac_xsave_LIBS
27945 # Check for system-dependent libraries X programs must link with.
27946 # Do this before checking for the system-independent R6 libraries
27947 # (-lICE), since we may need -lsocket or whatever for X linking.
27949 if test "$ISC" = yes; then
27950 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
27952 # Martyn Johnson says this is needed for Ultrix, if the X
27953 # libraries were built with DECnet support. And Karl Berry says
27954 # the Alpha needs dnet_stub (dnet does not exist).
27955 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
27956 cat >conftest.
$ac_ext <<_ACEOF
27959 cat confdefs.h
>>conftest.
$ac_ext
27960 cat >>conftest.
$ac_ext <<_ACEOF
27961 /* end confdefs.h. */
27963 /* Override any gcc2 internal prototype to avoid an error. */
27967 /* We use char because int might match the return type of a gcc2
27968 builtin and then its argument prototype would still apply. */
27969 char XOpenDisplay ();
27978 rm -f conftest.
$ac_objext conftest
$ac_exeext
27979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27980 (eval $ac_link) 2>conftest.er1
27982 grep -v '^ *+' conftest.er1
>conftest.err
27984 cat conftest.err
>&5
27985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27986 (exit $ac_status); } &&
27987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27989 (eval $ac_try) 2>&5
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); }; } &&
27993 { ac_try
='test -s conftest$ac_exeext'
27994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27995 (eval $ac_try) 2>&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); }; }; then
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.
$ac_ext >&5
28004 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28005 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28006 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28007 echo $ECHO_N "(cached) $ECHO_C" >&6
28009 ac_check_lib_save_LIBS
=$LIBS
28010 LIBS
="-ldnet $LIBS"
28011 cat >conftest.
$ac_ext <<_ACEOF
28014 cat confdefs.h
>>conftest.
$ac_ext
28015 cat >>conftest.
$ac_ext <<_ACEOF
28016 /* end confdefs.h. */
28018 /* Override any gcc2 internal prototype to avoid an error. */
28022 /* We use char because int might match the return type of a gcc2
28023 builtin and then its argument prototype would still apply. */
28033 rm -f conftest.
$ac_objext conftest
$ac_exeext
28034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28035 (eval $ac_link) 2>conftest.er1
28037 grep -v '^ *+' conftest.er1
>conftest.err
28039 cat conftest.err
>&5
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); } &&
28042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28044 (eval $ac_try) 2>&5
28046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 (exit $ac_status); }; } &&
28048 { ac_try
='test -s conftest$ac_exeext'
28049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28050 (eval $ac_try) 2>&5
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); }; }; then
28054 ac_cv_lib_dnet_dnet_ntoa
=yes
28056 echo "$as_me: failed program was:" >&5
28057 sed 's/^/| /' conftest.
$ac_ext >&5
28059 ac_cv_lib_dnet_dnet_ntoa
=no
28061 rm -f conftest.err conftest.
$ac_objext \
28062 conftest
$ac_exeext conftest.
$ac_ext
28063 LIBS
=$ac_check_lib_save_LIBS
28065 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28066 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28067 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28068 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28071 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28072 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28073 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28074 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28075 echo $ECHO_N "(cached) $ECHO_C" >&6
28077 ac_check_lib_save_LIBS
=$LIBS
28078 LIBS
="-ldnet_stub $LIBS"
28079 cat >conftest.
$ac_ext <<_ACEOF
28082 cat confdefs.h
>>conftest.
$ac_ext
28083 cat >>conftest.
$ac_ext <<_ACEOF
28084 /* end confdefs.h. */
28086 /* Override any gcc2 internal prototype to avoid an error. */
28090 /* We use char because int might match the return type of a gcc2
28091 builtin and then its argument prototype would still apply. */
28101 rm -f conftest.
$ac_objext conftest
$ac_exeext
28102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28103 (eval $ac_link) 2>conftest.er1
28105 grep -v '^ *+' conftest.er1
>conftest.err
28107 cat conftest.err
>&5
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); } &&
28110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28112 (eval $ac_try) 2>&5
28114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28115 (exit $ac_status); }; } &&
28116 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
28122 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28124 echo "$as_me: failed program was:" >&5
28125 sed 's/^/| /' conftest.
$ac_ext >&5
28127 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28129 rm -f conftest.err conftest.
$ac_objext \
28130 conftest
$ac_exeext conftest.
$ac_ext
28131 LIBS
=$ac_check_lib_save_LIBS
28133 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28134 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28135 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28136 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28141 rm -f conftest.err conftest.
$ac_objext \
28142 conftest
$ac_exeext conftest.
$ac_ext
28143 LIBS
="$ac_xsave_LIBS"
28145 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28146 # to get the SysV transport functions.
28147 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28149 # The nsl library prevents programs from opening the X display
28150 # on Irix 5.2, according to T.E. Dickey.
28151 # The functions gethostbyname, getservbyname, and inet_addr are
28152 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28153 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28154 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28155 if test "${ac_cv_func_gethostbyname+set}" = set; then
28156 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 cat >conftest.
$ac_ext <<_ACEOF
28161 cat confdefs.h
>>conftest.
$ac_ext
28162 cat >>conftest.
$ac_ext <<_ACEOF
28163 /* end confdefs.h. */
28164 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28166 #define gethostbyname innocuous_gethostbyname
28168 /* System header to define __stub macros and hopefully few prototypes,
28169 which can conflict with char gethostbyname (); below.
28170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28171 <limits.h> exists even on freestanding compilers. */
28174 # include <limits.h>
28176 # include <assert.h>
28179 #undef gethostbyname
28181 /* Override any gcc2 internal prototype to avoid an error. */
28186 /* We use char because int might match the return type of a gcc2
28187 builtin and then its argument prototype would still apply. */
28188 char gethostbyname ();
28189 /* The GNU C library defines this for functions which it implements
28190 to always fail with ENOSYS. Some functions are actually named
28191 something starting with __ and the normal name is an alias. */
28192 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28195 char (*f) () = gethostbyname;
28204 return f != gethostbyname;
28209 rm -f conftest.
$ac_objext conftest
$ac_exeext
28210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28211 (eval $ac_link) 2>conftest.er1
28213 grep -v '^ *+' conftest.er1
>conftest.err
28215 cat conftest.err
>&5
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); } &&
28218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28220 (eval $ac_try) 2>&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); }; } &&
28224 { ac_try
='test -s conftest$ac_exeext'
28225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28226 (eval $ac_try) 2>&5
28228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229 (exit $ac_status); }; }; then
28230 ac_cv_func_gethostbyname
=yes
28232 echo "$as_me: failed program was:" >&5
28233 sed 's/^/| /' conftest.
$ac_ext >&5
28235 ac_cv_func_gethostbyname
=no
28237 rm -f conftest.err conftest.
$ac_objext \
28238 conftest
$ac_exeext conftest.
$ac_ext
28240 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28241 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28243 if test $ac_cv_func_gethostbyname = no
; then
28244 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28245 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28246 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28247 echo $ECHO_N "(cached) $ECHO_C" >&6
28249 ac_check_lib_save_LIBS
=$LIBS
28251 cat >conftest.
$ac_ext <<_ACEOF
28254 cat confdefs.h
>>conftest.
$ac_ext
28255 cat >>conftest.
$ac_ext <<_ACEOF
28256 /* end confdefs.h. */
28258 /* Override any gcc2 internal prototype to avoid an error. */
28262 /* We use char because int might match the return type of a gcc2
28263 builtin and then its argument prototype would still apply. */
28264 char gethostbyname ();
28273 rm -f conftest.
$ac_objext conftest
$ac_exeext
28274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28275 (eval $ac_link) 2>conftest.er1
28277 grep -v '^ *+' conftest.er1
>conftest.err
28279 cat conftest.err
>&5
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); } &&
28282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28284 (eval $ac_try) 2>&5
28286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287 (exit $ac_status); }; } &&
28288 { ac_try
='test -s conftest$ac_exeext'
28289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28290 (eval $ac_try) 2>&5
28292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293 (exit $ac_status); }; }; then
28294 ac_cv_lib_nsl_gethostbyname
=yes
28296 echo "$as_me: failed program was:" >&5
28297 sed 's/^/| /' conftest.
$ac_ext >&5
28299 ac_cv_lib_nsl_gethostbyname
=no
28301 rm -f conftest.err conftest.
$ac_objext \
28302 conftest
$ac_exeext conftest.
$ac_ext
28303 LIBS
=$ac_check_lib_save_LIBS
28305 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28306 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28307 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28308 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28311 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28312 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28313 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28314 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28315 echo $ECHO_N "(cached) $ECHO_C" >&6
28317 ac_check_lib_save_LIBS
=$LIBS
28319 cat >conftest.
$ac_ext <<_ACEOF
28322 cat confdefs.h
>>conftest.
$ac_ext
28323 cat >>conftest.
$ac_ext <<_ACEOF
28324 /* end confdefs.h. */
28326 /* Override any gcc2 internal prototype to avoid an error. */
28330 /* We use char because int might match the return type of a gcc2
28331 builtin and then its argument prototype would still apply. */
28332 char gethostbyname ();
28341 rm -f conftest.
$ac_objext conftest
$ac_exeext
28342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28343 (eval $ac_link) 2>conftest.er1
28345 grep -v '^ *+' conftest.er1
>conftest.err
28347 cat conftest.err
>&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); } &&
28350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28352 (eval $ac_try) 2>&5
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; } &&
28356 { ac_try
='test -s conftest$ac_exeext'
28357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28358 (eval $ac_try) 2>&5
28360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361 (exit $ac_status); }; }; then
28362 ac_cv_lib_bsd_gethostbyname
=yes
28364 echo "$as_me: failed program was:" >&5
28365 sed 's/^/| /' conftest.
$ac_ext >&5
28367 ac_cv_lib_bsd_gethostbyname
=no
28369 rm -f conftest.err conftest.
$ac_objext \
28370 conftest
$ac_exeext conftest.
$ac_ext
28371 LIBS
=$ac_check_lib_save_LIBS
28373 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28374 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28375 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28376 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28382 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28383 # socket/setsockopt and other routines are undefined under SCO ODT
28384 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28385 # on later versions), says Simon Leinen: it contains gethostby*
28386 # variants that don't use the name server (or something). -lsocket
28387 # must be given before -lnsl if both are needed. We assume that
28388 # if connect needs -lnsl, so does gethostbyname.
28389 echo "$as_me:$LINENO: checking for connect" >&5
28390 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28391 if test "${ac_cv_func_connect+set}" = set; then
28392 echo $ECHO_N "(cached) $ECHO_C" >&6
28394 cat >conftest.
$ac_ext <<_ACEOF
28397 cat confdefs.h
>>conftest.
$ac_ext
28398 cat >>conftest.
$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28400 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28402 #define connect innocuous_connect
28404 /* System header to define __stub macros and hopefully few prototypes,
28405 which can conflict with char connect (); below.
28406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28407 <limits.h> exists even on freestanding compilers. */
28410 # include <limits.h>
28412 # include <assert.h>
28417 /* Override any gcc2 internal prototype to avoid an error. */
28422 /* We use char because int might match the return type of a gcc2
28423 builtin and then its argument prototype would still apply. */
28425 /* The GNU C library defines this for functions which it implements
28426 to always fail with ENOSYS. Some functions are actually named
28427 something starting with __ and the normal name is an alias. */
28428 #if defined (__stub_connect) || defined (__stub___connect)
28431 char (*f) () = connect;
28440 return f != connect;
28445 rm -f conftest.
$ac_objext conftest
$ac_exeext
28446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28447 (eval $ac_link) 2>conftest.er1
28449 grep -v '^ *+' conftest.er1
>conftest.err
28451 cat conftest.err
>&5
28452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 (exit $ac_status); } &&
28454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28456 (eval $ac_try) 2>&5
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); }; } &&
28460 { ac_try
='test -s conftest$ac_exeext'
28461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28462 (eval $ac_try) 2>&5
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); }; }; then
28466 ac_cv_func_connect
=yes
28468 echo "$as_me: failed program was:" >&5
28469 sed 's/^/| /' conftest.
$ac_ext >&5
28471 ac_cv_func_connect
=no
28473 rm -f conftest.err conftest.
$ac_objext \
28474 conftest
$ac_exeext conftest.
$ac_ext
28476 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28477 echo "${ECHO_T}$ac_cv_func_connect" >&6
28479 if test $ac_cv_func_connect = no
; then
28480 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28481 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28482 if test "${ac_cv_lib_socket_connect+set}" = set; then
28483 echo $ECHO_N "(cached) $ECHO_C" >&6
28485 ac_check_lib_save_LIBS
=$LIBS
28486 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28487 cat >conftest.
$ac_ext <<_ACEOF
28490 cat confdefs.h
>>conftest.
$ac_ext
28491 cat >>conftest.
$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28494 /* Override any gcc2 internal prototype to avoid an error. */
28498 /* We use char because int might match the return type of a gcc2
28499 builtin and then its argument prototype would still apply. */
28509 rm -f conftest.
$ac_objext conftest
$ac_exeext
28510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28511 (eval $ac_link) 2>conftest.er1
28513 grep -v '^ *+' conftest.er1
>conftest.err
28515 cat conftest.err
>&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } &&
28518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28520 (eval $ac_try) 2>&5
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); }; } &&
28524 { ac_try
='test -s conftest$ac_exeext'
28525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28526 (eval $ac_try) 2>&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); }; }; then
28530 ac_cv_lib_socket_connect
=yes
28532 echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.
$ac_ext >&5
28535 ac_cv_lib_socket_connect
=no
28537 rm -f conftest.err conftest.
$ac_objext \
28538 conftest
$ac_exeext conftest.
$ac_ext
28539 LIBS
=$ac_check_lib_save_LIBS
28541 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28542 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28543 if test $ac_cv_lib_socket_connect = yes; then
28544 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28549 # Guillermo Gomez says -lposix is necessary on A/UX.
28550 echo "$as_me:$LINENO: checking for remove" >&5
28551 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28552 if test "${ac_cv_func_remove+set}" = set; then
28553 echo $ECHO_N "(cached) $ECHO_C" >&6
28555 cat >conftest.
$ac_ext <<_ACEOF
28558 cat confdefs.h
>>conftest.
$ac_ext
28559 cat >>conftest.
$ac_ext <<_ACEOF
28560 /* end confdefs.h. */
28561 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28563 #define remove innocuous_remove
28565 /* System header to define __stub macros and hopefully few prototypes,
28566 which can conflict with char remove (); below.
28567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28568 <limits.h> exists even on freestanding compilers. */
28571 # include <limits.h>
28573 # include <assert.h>
28578 /* Override any gcc2 internal prototype to avoid an error. */
28583 /* We use char because int might match the return type of a gcc2
28584 builtin and then its argument prototype would still apply. */
28586 /* The GNU C library defines this for functions which it implements
28587 to always fail with ENOSYS. Some functions are actually named
28588 something starting with __ and the normal name is an alias. */
28589 #if defined (__stub_remove) || defined (__stub___remove)
28592 char (*f) () = remove;
28601 return f != remove;
28606 rm -f conftest.
$ac_objext conftest
$ac_exeext
28607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28608 (eval $ac_link) 2>conftest.er1
28610 grep -v '^ *+' conftest.er1
>conftest.err
28612 cat conftest.err
>&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); } &&
28615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; } &&
28621 { ac_try
='test -s conftest$ac_exeext'
28622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28623 (eval $ac_try) 2>&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); }; }; then
28627 ac_cv_func_remove
=yes
28629 echo "$as_me: failed program was:" >&5
28630 sed 's/^/| /' conftest.
$ac_ext >&5
28632 ac_cv_func_remove
=no
28634 rm -f conftest.err conftest.
$ac_objext \
28635 conftest
$ac_exeext conftest.
$ac_ext
28637 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28638 echo "${ECHO_T}$ac_cv_func_remove" >&6
28640 if test $ac_cv_func_remove = no
; then
28641 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28642 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28643 if test "${ac_cv_lib_posix_remove+set}" = set; then
28644 echo $ECHO_N "(cached) $ECHO_C" >&6
28646 ac_check_lib_save_LIBS
=$LIBS
28647 LIBS
="-lposix $LIBS"
28648 cat >conftest.
$ac_ext <<_ACEOF
28651 cat confdefs.h
>>conftest.
$ac_ext
28652 cat >>conftest.
$ac_ext <<_ACEOF
28653 /* end confdefs.h. */
28655 /* Override any gcc2 internal prototype to avoid an error. */
28659 /* We use char because int might match the return type of a gcc2
28660 builtin and then its argument prototype would still apply. */
28670 rm -f conftest.
$ac_objext conftest
$ac_exeext
28671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28672 (eval $ac_link) 2>conftest.er1
28674 grep -v '^ *+' conftest.er1
>conftest.err
28676 cat conftest.err
>&5
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); } &&
28679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28681 (eval $ac_try) 2>&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); }; } &&
28685 { ac_try
='test -s conftest$ac_exeext'
28686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28687 (eval $ac_try) 2>&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); }; }; then
28691 ac_cv_lib_posix_remove
=yes
28693 echo "$as_me: failed program was:" >&5
28694 sed 's/^/| /' conftest.
$ac_ext >&5
28696 ac_cv_lib_posix_remove
=no
28698 rm -f conftest.err conftest.
$ac_objext \
28699 conftest
$ac_exeext conftest.
$ac_ext
28700 LIBS
=$ac_check_lib_save_LIBS
28702 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28703 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28704 if test $ac_cv_lib_posix_remove = yes; then
28705 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28710 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28711 echo "$as_me:$LINENO: checking for shmat" >&5
28712 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28713 if test "${ac_cv_func_shmat+set}" = set; then
28714 echo $ECHO_N "(cached) $ECHO_C" >&6
28716 cat >conftest.
$ac_ext <<_ACEOF
28719 cat confdefs.h
>>conftest.
$ac_ext
28720 cat >>conftest.
$ac_ext <<_ACEOF
28721 /* end confdefs.h. */
28722 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28724 #define shmat innocuous_shmat
28726 /* System header to define __stub macros and hopefully few prototypes,
28727 which can conflict with char shmat (); below.
28728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28729 <limits.h> exists even on freestanding compilers. */
28732 # include <limits.h>
28734 # include <assert.h>
28739 /* Override any gcc2 internal prototype to avoid an error. */
28744 /* We use char because int might match the return type of a gcc2
28745 builtin and then its argument prototype would still apply. */
28747 /* The GNU C library defines this for functions which it implements
28748 to always fail with ENOSYS. Some functions are actually named
28749 something starting with __ and the normal name is an alias. */
28750 #if defined (__stub_shmat) || defined (__stub___shmat)
28753 char (*f) () = shmat;
28767 rm -f conftest.
$ac_objext conftest
$ac_exeext
28768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28769 (eval $ac_link) 2>conftest.er1
28771 grep -v '^ *+' conftest.er1
>conftest.err
28773 cat conftest.err
>&5
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); } &&
28776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28778 (eval $ac_try) 2>&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); }; } &&
28782 { ac_try
='test -s conftest$ac_exeext'
28783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28784 (eval $ac_try) 2>&5
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); }; }; then
28788 ac_cv_func_shmat
=yes
28790 echo "$as_me: failed program was:" >&5
28791 sed 's/^/| /' conftest.
$ac_ext >&5
28793 ac_cv_func_shmat
=no
28795 rm -f conftest.err conftest.
$ac_objext \
28796 conftest
$ac_exeext conftest.
$ac_ext
28798 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28799 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28801 if test $ac_cv_func_shmat = no
; then
28802 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28803 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28804 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28805 echo $ECHO_N "(cached) $ECHO_C" >&6
28807 ac_check_lib_save_LIBS
=$LIBS
28809 cat >conftest.
$ac_ext <<_ACEOF
28812 cat confdefs.h
>>conftest.
$ac_ext
28813 cat >>conftest.
$ac_ext <<_ACEOF
28814 /* end confdefs.h. */
28816 /* Override any gcc2 internal prototype to avoid an error. */
28820 /* We use char because int might match the return type of a gcc2
28821 builtin and then its argument prototype would still apply. */
28831 rm -f conftest.
$ac_objext conftest
$ac_exeext
28832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28833 (eval $ac_link) 2>conftest.er1
28835 grep -v '^ *+' conftest.er1
>conftest.err
28837 cat conftest.err
>&5
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); } &&
28840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28842 (eval $ac_try) 2>&5
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); }; } &&
28846 { ac_try
='test -s conftest$ac_exeext'
28847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848 (eval $ac_try) 2>&5
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); }; }; then
28852 ac_cv_lib_ipc_shmat
=yes
28854 echo "$as_me: failed program was:" >&5
28855 sed 's/^/| /' conftest.
$ac_ext >&5
28857 ac_cv_lib_ipc_shmat
=no
28859 rm -f conftest.err conftest.
$ac_objext \
28860 conftest
$ac_exeext conftest.
$ac_ext
28861 LIBS
=$ac_check_lib_save_LIBS
28863 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28864 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28865 if test $ac_cv_lib_ipc_shmat = yes; then
28866 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
28872 # Check for libraries that X11R6 Xt/Xaw programs need.
28873 ac_save_LDFLAGS
=$LDFLAGS
28874 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
28875 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28876 # check for ICE first), but we must link in the order -lSM -lICE or
28877 # we get undefined symbols. So assume we have SM if we have ICE.
28878 # These have to be linked with before -lX11, unlike the other
28879 # libraries we check for below, so use a different variable.
28880 # John Interrante, Karl Berry
28881 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28882 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28883 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28884 echo $ECHO_N "(cached) $ECHO_C" >&6
28886 ac_check_lib_save_LIBS
=$LIBS
28887 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28888 cat >conftest.
$ac_ext <<_ACEOF
28891 cat confdefs.h
>>conftest.
$ac_ext
28892 cat >>conftest.
$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28895 /* Override any gcc2 internal prototype to avoid an error. */
28899 /* We use char because int might match the return type of a gcc2
28900 builtin and then its argument prototype would still apply. */
28901 char IceConnectionNumber ();
28905 IceConnectionNumber ();
28910 rm -f conftest.
$ac_objext conftest
$ac_exeext
28911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28912 (eval $ac_link) 2>conftest.er1
28914 grep -v '^ *+' conftest.er1
>conftest.err
28916 cat conftest.err
>&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } &&
28919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28921 (eval $ac_try) 2>&5
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); }; } &&
28925 { ac_try
='test -s conftest$ac_exeext'
28926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28927 (eval $ac_try) 2>&5
28929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28930 (exit $ac_status); }; }; then
28931 ac_cv_lib_ICE_IceConnectionNumber
=yes
28933 echo "$as_me: failed program was:" >&5
28934 sed 's/^/| /' conftest.
$ac_ext >&5
28936 ac_cv_lib_ICE_IceConnectionNumber
=no
28938 rm -f conftest.err conftest.
$ac_objext \
28939 conftest
$ac_exeext conftest.
$ac_ext
28940 LIBS
=$ac_check_lib_save_LIBS
28942 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28943 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28944 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28945 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
28948 LDFLAGS
=$ac_save_LDFLAGS
28953 if test "$no_x" = "yes"; then
28954 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
28955 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
28956 { (exit 1); exit 1; }; }
28959 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28960 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
28961 AFMINSTALL
=afminstall
28962 COMPILED_X_PROGRAM
=0
28966 if test "$wxUSE_X11" = 1; then
28967 if test "$wxUSE_NANOX" = "yes"; then
28968 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28969 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28970 if test "x$MICROWIN" = x
; then
28971 echo "$as_me:$LINENO: result: not found" >&5
28972 echo "${ECHO_T}not found" >&6
28973 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28974 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28975 { (exit 1); exit 1; }; }
28977 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28978 echo "${ECHO_T}$MICROWIN" >&6
28979 cat >>confdefs.h
<<\_ACEOF
28980 #define wxUSE_NANOX 1
28986 if test "$wxUSE_UNICODE" = "yes"; then
28990 if test -z "$PKG_CONFIG"; then
28991 # Extract the first word of "pkg-config", so it can be a program name with args.
28992 set dummy pkg
-config; ac_word
=$2
28993 echo "$as_me:$LINENO: checking for $ac_word" >&5
28994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28995 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28996 echo $ECHO_N "(cached) $ECHO_C" >&6
28998 case $PKG_CONFIG in
29000 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29004 for as_dir
in $PATH
29007 test -z "$as_dir" && as_dir
=.
29008 for ac_exec_ext
in '' $ac_executable_extensions; do
29009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29010 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29017 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29021 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29023 if test -n "$PKG_CONFIG"; then
29024 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29025 echo "${ECHO_T}$PKG_CONFIG" >&6
29027 echo "$as_me:$LINENO: result: no" >&5
29028 echo "${ECHO_T}no" >&6
29033 if test "$PKG_CONFIG" = "no" ; then
29034 echo "*** The pkg-config script could not be found. Make sure it is"
29035 echo "*** in your path, or set the PKG_CONFIG environment variable"
29036 echo "*** to the full path to pkg-config."
29037 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29039 PKG_CONFIG_MIN_VERSION
=0.9.0
29040 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29041 echo "$as_me:$LINENO: checking for pangox" >&5
29042 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29044 if $PKG_CONFIG --exists "pangox" ; then
29045 echo "$as_me:$LINENO: result: yes" >&5
29046 echo "${ECHO_T}yes" >&6
29049 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29050 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29051 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29052 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29053 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29055 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29056 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29057 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29058 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29059 echo "${ECHO_T}$PANGOX_LIBS" >&6
29063 ## If we have a custom action on failure, don't print errors, but
29064 ## do set a variable so people can do so.
29065 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29072 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29073 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29077 if test $succeeded = yes; then
29079 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29080 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29084 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29085 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29086 { (exit 1); exit 1; }; }
29094 if test -z "$PKG_CONFIG"; then
29095 # Extract the first word of "pkg-config", so it can be a program name with args.
29096 set dummy pkg
-config; ac_word
=$2
29097 echo "$as_me:$LINENO: checking for $ac_word" >&5
29098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29099 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29100 echo $ECHO_N "(cached) $ECHO_C" >&6
29102 case $PKG_CONFIG in
29104 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29108 for as_dir
in $PATH
29111 test -z "$as_dir" && as_dir
=.
29112 for ac_exec_ext
in '' $ac_executable_extensions; do
29113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29114 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29121 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29125 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29127 if test -n "$PKG_CONFIG"; then
29128 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29129 echo "${ECHO_T}$PKG_CONFIG" >&6
29131 echo "$as_me:$LINENO: result: no" >&5
29132 echo "${ECHO_T}no" >&6
29137 if test "$PKG_CONFIG" = "no" ; then
29138 echo "*** The pkg-config script could not be found. Make sure it is"
29139 echo "*** in your path, or set the PKG_CONFIG environment variable"
29140 echo "*** to the full path to pkg-config."
29141 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29143 PKG_CONFIG_MIN_VERSION
=0.9.0
29144 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29145 echo "$as_me:$LINENO: checking for pangoft2" >&5
29146 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29148 if $PKG_CONFIG --exists "pangoft2" ; then
29149 echo "$as_me:$LINENO: result: yes" >&5
29150 echo "${ECHO_T}yes" >&6
29153 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29154 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29155 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29156 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29157 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29159 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29160 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29161 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29162 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29163 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29167 ## If we have a custom action on failure, don't print errors, but
29168 ## do set a variable so people can do so.
29169 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29176 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29177 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29181 if test $succeeded = yes; then
29183 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29184 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29188 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29189 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29190 wxUSE_PRINTING_ARCHITECTURE
="no"
29198 if test -z "$PKG_CONFIG"; then
29199 # Extract the first word of "pkg-config", so it can be a program name with args.
29200 set dummy pkg
-config; ac_word
=$2
29201 echo "$as_me:$LINENO: checking for $ac_word" >&5
29202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29203 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29204 echo $ECHO_N "(cached) $ECHO_C" >&6
29206 case $PKG_CONFIG in
29208 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29212 for as_dir
in $PATH
29215 test -z "$as_dir" && as_dir
=.
29216 for ac_exec_ext
in '' $ac_executable_extensions; do
29217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29218 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29225 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29229 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29231 if test -n "$PKG_CONFIG"; then
29232 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29233 echo "${ECHO_T}$PKG_CONFIG" >&6
29235 echo "$as_me:$LINENO: result: no" >&5
29236 echo "${ECHO_T}no" >&6
29241 if test "$PKG_CONFIG" = "no" ; then
29242 echo "*** The pkg-config script could not be found. Make sure it is"
29243 echo "*** in your path, or set the PKG_CONFIG environment variable"
29244 echo "*** to the full path to pkg-config."
29245 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29247 PKG_CONFIG_MIN_VERSION
=0.9.0
29248 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29249 echo "$as_me:$LINENO: checking for pangoxft" >&5
29250 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29252 if $PKG_CONFIG --exists "pangoxft" ; then
29253 echo "$as_me:$LINENO: result: yes" >&5
29254 echo "${ECHO_T}yes" >&6
29257 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29258 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29259 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29260 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29261 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29263 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29264 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29265 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29266 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29267 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29271 ## If we have a custom action on failure, don't print errors, but
29272 ## do set a variable so people can do so.
29273 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29280 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29281 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29285 if test $succeeded = yes; then
29287 cat >>confdefs.h
<<\_ACEOF
29288 #define HAVE_PANGO_XFT 1
29291 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29292 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29296 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29297 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29302 save_CFLAGS
="$CFLAGS"
29304 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
29305 LIBS
="$LIBS $PANGOX_LIBS"
29307 for ac_func
in pango_font_family_is_monospace
29309 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29310 echo "$as_me:$LINENO: checking for $ac_func" >&5
29311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29312 if eval "test \"\${$as_ac_var+set}\" = set"; then
29313 echo $ECHO_N "(cached) $ECHO_C" >&6
29315 cat >conftest.
$ac_ext <<_ACEOF
29318 cat confdefs.h
>>conftest.
$ac_ext
29319 cat >>conftest.
$ac_ext <<_ACEOF
29320 /* end confdefs.h. */
29321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29323 #define $ac_func innocuous_$ac_func
29325 /* System header to define __stub macros and hopefully few prototypes,
29326 which can conflict with char $ac_func (); below.
29327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29328 <limits.h> exists even on freestanding compilers. */
29331 # include <limits.h>
29333 # include <assert.h>
29338 /* Override any gcc2 internal prototype to avoid an error. */
29343 /* We use char because int might match the return type of a gcc2
29344 builtin and then its argument prototype would still apply. */
29346 /* The GNU C library defines this for functions which it implements
29347 to always fail with ENOSYS. Some functions are actually named
29348 something starting with __ and the normal name is an alias. */
29349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29352 char (*f) () = $ac_func;
29361 return f != $ac_func;
29366 rm -f conftest.
$ac_objext conftest
$ac_exeext
29367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29368 (eval $ac_link) 2>conftest.er1
29370 grep -v '^ *+' conftest.er1
>conftest.err
29372 cat conftest.err
>&5
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); } &&
29375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29377 (eval $ac_try) 2>&5
29379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380 (exit $ac_status); }; } &&
29381 { ac_try
='test -s conftest$ac_exeext'
29382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29383 (eval $ac_try) 2>&5
29385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29386 (exit $ac_status); }; }; then
29387 eval "$as_ac_var=yes"
29389 echo "$as_me: failed program was:" >&5
29390 sed 's/^/| /' conftest.
$ac_ext >&5
29392 eval "$as_ac_var=no"
29394 rm -f conftest.err conftest.
$ac_objext \
29395 conftest
$ac_exeext conftest.
$ac_ext
29397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29399 if test `eval echo '${'$as_ac_var'}'` = yes; then
29400 cat >>confdefs.h
<<_ACEOF
29401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29407 CFLAGS
="$save_CFLAGS"
29411 wxUSE_UNIVERSAL
="yes"
29413 if test "$wxUSE_NANOX" = "yes"; then
29414 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29415 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"
29416 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29418 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29425 if test "$wxUSE_MOTIF" = 1; then
29426 if test "$wxUSE_UNICODE" = "yes"; then
29427 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29428 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29429 { (exit 1); exit 1; }; }
29432 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29433 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29436 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29438 if test -f "$ac_dir/Xm/Xm.h"; then
29439 ac_find_includes
=$ac_dir
29444 if test "$ac_find_includes" != "" ; then
29445 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29446 echo "${ECHO_T}found in $ac_find_includes" >&6
29448 if test "x$ac_find_includes" = "x/usr/include"; then
29449 ac_path_to_include
=""
29451 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29453 if test $result = 0; then
29454 ac_path_to_include
=""
29456 ac_path_to_include
=" -I$ac_find_includes"
29460 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29462 save_CFLAGS
=$CFLAGS
29463 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29465 cat >conftest.
$ac_ext <<_ACEOF
29468 cat confdefs.h
>>conftest.
$ac_ext
29469 cat >>conftest.
$ac_ext <<_ACEOF
29470 /* end confdefs.h. */
29479 version = xmUseVersion;
29485 rm -f conftest.
$ac_objext
29486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29487 (eval $ac_compile) 2>conftest.er1
29489 grep -v '^ *+' conftest.er1
>conftest.err
29491 cat conftest.err
>&5
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); } &&
29494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29496 (eval $ac_try) 2>&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); }; } &&
29500 { ac_try
='test -s conftest.$ac_objext'
29501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29502 (eval $ac_try) 2>&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); }; }; then
29507 echo "$as_me:$LINENO: result: found in default search path" >&5
29508 echo "${ECHO_T}found in default search path" >&6
29509 COMPILED_X_PROGRAM
=1
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.
$ac_ext >&5
29516 echo "$as_me:$LINENO: result: no" >&5
29517 echo "${ECHO_T}no" >&6
29518 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29519 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29520 { (exit 1); exit 1; }; }
29524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29526 CFLAGS
=$save_CFLAGS
29530 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29531 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29534 for ac_dir
in $SEARCH_LIB;
29536 for ac_extension
in a so sl dylib dll.a
; do
29537 if test -f "$ac_dir/libXm.$ac_extension"; then
29538 ac_find_libraries
=$ac_dir
29545 if test "x$ac_find_libraries" != "x" ; then
29546 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29547 echo "${ECHO_T}found in $ac_find_libraries" >&6
29550 if test "$ac_find_libraries" = "default location"; then
29553 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29555 if test $result = 0; then
29558 ac_path_to_link
=" -L$ac_find_libraries"
29562 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29564 save_CFLAGS
=$CFLAGS
29565 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29567 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29569 cat >conftest.
$ac_ext <<_ACEOF
29572 cat confdefs.h
>>conftest.
$ac_ext
29573 cat >>conftest.
$ac_ext <<_ACEOF
29574 /* end confdefs.h. */
29583 version = xmUseVersion;
29589 rm -f conftest.
$ac_objext conftest
$ac_exeext
29590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29591 (eval $ac_link) 2>conftest.er1
29593 grep -v '^ *+' conftest.er1
>conftest.err
29595 cat conftest.err
>&5
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); } &&
29598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29600 (eval $ac_try) 2>&5
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); }; } &&
29604 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
29611 echo "$as_me:$LINENO: result: found in default search path" >&5
29612 echo "${ECHO_T}found in default search path" >&6
29613 COMPILED_X_PROGRAM
=1
29616 echo "$as_me: failed program was:" >&5
29617 sed 's/^/| /' conftest.
$ac_ext >&5
29620 echo "$as_me:$LINENO: result: no" >&5
29621 echo "${ECHO_T}no" >&6
29622 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29623 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29624 { (exit 1); exit 1; }; }
29628 rm -f conftest.err conftest.
$ac_objext \
29629 conftest
$ac_exeext conftest.
$ac_ext
29631 CFLAGS
=$save_CFLAGS
29635 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29636 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29640 for libp
in "" " -lXp"; do
29641 if test "$libs_found" = "0"; then
29642 for libsm_ice
in "" " -lSM -lICE"; do
29643 if test "$libs_found" = "0"; then
29645 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29646 save_CFLAGS
=$CFLAGS
29647 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29649 cat >conftest.
$ac_ext <<_ACEOF
29652 cat confdefs.h
>>conftest.
$ac_ext
29653 cat >>conftest.
$ac_ext <<_ACEOF
29654 /* end confdefs.h. */
29657 #include <Xm/List.h>
29663 XmString string = NULL;
29666 XmListAddItem(w, string, position);
29672 rm -f conftest.
$ac_objext conftest
$ac_exeext
29673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29674 (eval $ac_link) 2>conftest.er1
29676 grep -v '^ *+' conftest.er1
>conftest.err
29678 cat conftest.err
>&5
29679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29680 (exit $ac_status); } &&
29681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29683 (eval $ac_try) 2>&5
29685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 (exit $ac_status); }; } &&
29687 { ac_try
='test -s conftest$ac_exeext'
29688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29689 (eval $ac_try) 2>&5
29691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692 (exit $ac_status); }; }; then
29695 libsm_ice_link
="$libsm_ice"
29696 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29697 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29701 echo "$as_me: failed program was:" >&5
29702 sed 's/^/| /' conftest.
$ac_ext >&5
29707 rm -f conftest.err conftest.
$ac_objext \
29708 conftest
$ac_exeext conftest.
$ac_ext
29711 CFLAGS
=$save_CFLAGS
29717 if test "$libs_found" = "0"; then
29718 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29719 echo "${ECHO_T}can't find the right libraries" >&6
29720 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29721 echo "$as_me: error: can't link a simple motif program" >&2;}
29722 { (exit 1); exit 1; }; }
29725 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29726 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29727 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29728 echo $ECHO_N "(cached) $ECHO_C" >&6
29730 ac_check_lib_save_LIBS
=$LIBS
29732 cat >conftest.
$ac_ext <<_ACEOF
29735 cat confdefs.h
>>conftest.
$ac_ext
29736 cat >>conftest.
$ac_ext <<_ACEOF
29737 /* end confdefs.h. */
29739 /* Override any gcc2 internal prototype to avoid an error. */
29743 /* We use char because int might match the return type of a gcc2
29744 builtin and then its argument prototype would still apply. */
29745 char SgCreateList ();
29754 rm -f conftest.
$ac_objext conftest
$ac_exeext
29755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29756 (eval $ac_link) 2>conftest.er1
29758 grep -v '^ *+' conftest.er1
>conftest.err
29760 cat conftest.err
>&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); } &&
29763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29765 (eval $ac_try) 2>&5
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); }; } &&
29769 { ac_try
='test -s conftest$ac_exeext'
29770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29771 (eval $ac_try) 2>&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); }; }; then
29775 ac_cv_lib_Sgm_SgCreateList
=yes
29777 echo "$as_me: failed program was:" >&5
29778 sed 's/^/| /' conftest.
$ac_ext >&5
29780 ac_cv_lib_Sgm_SgCreateList
=no
29782 rm -f conftest.err conftest.
$ac_objext \
29783 conftest
$ac_exeext conftest.
$ac_ext
29784 LIBS
=$ac_check_lib_save_LIBS
29786 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29787 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29788 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29789 libsgm_link
=" -lSgm"
29793 save_CFLAGS
=$CFLAGS
29794 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29796 echo "$as_me:$LINENO: checking for Motif 2" >&5
29797 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29798 if test "${wx_cv_lib_motif2+set}" = set; then
29799 echo $ECHO_N "(cached) $ECHO_C" >&6
29801 cat >conftest.
$ac_ext <<_ACEOF
29804 cat confdefs.h
>>conftest.
$ac_ext
29805 cat >>conftest.
$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29814 #if XmVersion < 2000
29822 rm -f conftest.
$ac_objext
29823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29824 (eval $ac_compile) 2>conftest.er1
29826 grep -v '^ *+' conftest.er1
>conftest.err
29828 cat conftest.err
>&5
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); } &&
29831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29833 (eval $ac_try) 2>&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); }; } &&
29837 { ac_try
='test -s conftest.$ac_objext'
29838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29839 (eval $ac_try) 2>&5
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); }; }; then
29843 wx_cv_lib_motif2
="yes"
29845 echo "$as_me: failed program was:" >&5
29846 sed 's/^/| /' conftest.
$ac_ext >&5
29848 wx_cv_lib_motif2
="no"
29850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29852 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29853 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29854 if test "$wx_cv_lib_motif2" = "yes"; then
29855 cat >>confdefs.h
<<\_ACEOF
29856 #define __WXMOTIF20__ 1
29860 cat >>confdefs.h
<<\_ACEOF
29861 #define __WXMOTIF20__ 0
29866 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29867 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29868 if test "${wx_cv_lib_lesstif+set}" = set; then
29869 echo $ECHO_N "(cached) $ECHO_C" >&6
29871 cat >conftest.
$ac_ext <<_ACEOF
29874 cat confdefs.h
>>conftest.
$ac_ext
29875 cat >>conftest.
$ac_ext <<_ACEOF
29876 /* end confdefs.h. */
29884 #if !defined(LesstifVersion) || LesstifVersion <= 0
29892 rm -f conftest.
$ac_objext
29893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29894 (eval $ac_compile) 2>conftest.er1
29896 grep -v '^ *+' conftest.er1
>conftest.err
29898 cat conftest.err
>&5
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); } &&
29901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29903 (eval $ac_try) 2>&5
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); }; } &&
29907 { ac_try
='test -s conftest.$ac_objext'
29908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29909 (eval $ac_try) 2>&5
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); }; }; then
29913 wx_cv_lib_lesstif
="yes"
29915 echo "$as_me: failed program was:" >&5
29916 sed 's/^/| /' conftest.
$ac_ext >&5
29918 wx_cv_lib_lesstif
="no"
29920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29923 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29924 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29925 if test "$wx_cv_lib_lesstif" = "yes"; then
29926 cat >>confdefs.h
<<\_ACEOF
29927 #define __WXLESSTIF__ 1
29931 cat >>confdefs.h
<<\_ACEOF
29932 #define __WXLESSTIF__ 0
29937 CFLAGS
=$save_CFLAGS
29939 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29944 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29945 if test "$wxUSE_LIBXPM" = "sys"; then
29946 echo "$as_me:$LINENO: checking for Xpm library" >&5
29947 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29950 for ac_dir
in $SEARCH_LIB;
29952 for ac_extension
in a so sl dylib dll.a
; do
29953 if test -f "$ac_dir/libXpm.$ac_extension"; then
29954 ac_find_libraries
=$ac_dir
29960 if test "$ac_find_libraries" != "" ; then
29962 if test "$ac_find_libraries" = "default location"; then
29965 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29967 if test $result = 0; then
29970 ac_path_to_link
=" -L$ac_find_libraries"
29974 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29975 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29976 echo "${ECHO_T}found in $ac_find_libraries" >&6
29978 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29979 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29980 if test "${wx_cv_x11_xpm_h+set}" = set; then
29981 echo $ECHO_N "(cached) $ECHO_C" >&6
29984 save_CFLAGS
=$CFLAGS
29985 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29987 cat >conftest.
$ac_ext <<_ACEOF
29990 cat confdefs.h
>>conftest.
$ac_ext
29991 cat >>conftest.
$ac_ext <<_ACEOF
29992 /* end confdefs.h. */
29994 #include <X11/xpm.h>
30001 version = XpmLibraryVersion();
30007 rm -f conftest.
$ac_objext
30008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30009 (eval $ac_compile) 2>conftest.er1
30011 grep -v '^ *+' conftest.er1
>conftest.err
30013 cat conftest.err
>&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); } &&
30016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018 (eval $ac_try) 2>&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); }; } &&
30022 { ac_try
='test -s conftest.$ac_objext'
30023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024 (eval $ac_try) 2>&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); }; }; then
30028 wx_cv_x11_xpm_h
=yes
30030 echo "$as_me: failed program was:" >&5
30031 sed 's/^/| /' conftest.
$ac_ext >&5
30036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30038 CFLAGS
=$save_CFLAGS
30042 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30043 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30045 if test $wx_cv_x11_xpm_h = "yes"; then
30046 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30047 cat >>confdefs.h
<<\_ACEOF
30048 #define wxHAVE_LIB_XPM 1
30052 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30053 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30059 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30060 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30061 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30062 echo $ECHO_N "(cached) $ECHO_C" >&6
30064 ac_check_lib_save_LIBS
=$LIBS
30065 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30066 cat >conftest.
$ac_ext <<_ACEOF
30069 cat confdefs.h
>>conftest.
$ac_ext
30070 cat >>conftest.
$ac_ext <<_ACEOF
30071 /* end confdefs.h. */
30073 /* Override any gcc2 internal prototype to avoid an error. */
30077 /* We use char because int might match the return type of a gcc2
30078 builtin and then its argument prototype would still apply. */
30079 char XShapeQueryExtension ();
30083 XShapeQueryExtension ();
30088 rm -f conftest.
$ac_objext conftest
$ac_exeext
30089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30090 (eval $ac_link) 2>conftest.er1
30092 grep -v '^ *+' conftest.er1
>conftest.err
30094 cat conftest.err
>&5
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); } &&
30097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30099 (eval $ac_try) 2>&5
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); }; } &&
30103 { ac_try
='test -s conftest$ac_exeext'
30104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30105 (eval $ac_try) 2>&5
30107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30108 (exit $ac_status); }; }; then
30109 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30111 echo "$as_me: failed program was:" >&5
30112 sed 's/^/| /' conftest.
$ac_ext >&5
30114 ac_cv_lib_Xext_XShapeQueryExtension
=no
30116 rm -f conftest.err conftest.
$ac_objext \
30117 conftest
$ac_exeext conftest.
$ac_ext
30118 LIBS
=$ac_check_lib_save_LIBS
30120 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30121 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30122 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30124 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30130 if test "$wxHAVE_XEXT_LIB" = 1; then
30131 save_CFLAGS
="$CFLAGS"
30132 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30134 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30135 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30136 cat >conftest.
$ac_ext <<_ACEOF
30139 cat confdefs.h
>>conftest.
$ac_ext
30140 cat >>conftest.
$ac_ext <<_ACEOF
30141 /* end confdefs.h. */
30143 #include <X11/Xlib.h>
30144 #include <X11/extensions/shape.h>
30150 int dummy1, dummy2;
30151 XShapeQueryExtension((Display*)NULL,
30152 (int*)NULL, (int*)NULL);
30158 rm -f conftest.
$ac_objext
30159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30160 (eval $ac_compile) 2>conftest.er1
30162 grep -v '^ *+' conftest.er1
>conftest.err
30164 cat conftest.err
>&5
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); } &&
30167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30169 (eval $ac_try) 2>&5
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); }; } &&
30173 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
30180 cat >>confdefs.h
<<\_ACEOF
30181 #define HAVE_XSHAPE 1
30184 echo "$as_me:$LINENO: result: found" >&5
30185 echo "${ECHO_T}found" >&6
30188 echo "$as_me: failed program was:" >&5
30189 sed 's/^/| /' conftest.
$ac_ext >&5
30192 echo "$as_me:$LINENO: result: not found" >&5
30193 echo "${ECHO_T}not found" >&6
30196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30197 CFLAGS
="$save_CFLAGS"
30202 if test "$wxUSE_MAC" = 1; then
30203 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30204 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30205 if test "$GCC" = yes; then
30206 echo "$as_me:$LINENO: result: gcc" >&5
30207 echo "${ECHO_T}gcc" >&6
30208 CPPFLAGS_PASCAL
="-fpascal-strings"
30209 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30210 echo "$as_me:$LINENO: result: xlc" >&5
30211 echo "${ECHO_T}xlc" >&6
30212 CPPFLAGS_PASCAL
="-qmacpstr"
30214 echo "$as_me:$LINENO: result: none" >&5
30215 echo "${ECHO_T}none" >&6
30218 if test "x$wxUSE_UNIX" = "xyes"; then
30219 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30221 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30226 WXBASEPORT
="_carbon"
30229 if test "$wxUSE_COCOA" = 1; then
30234 if test "$wxUSE_PM" = 1; then
30237 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30238 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30239 if test "${wx_cv_spbcdata+set}" = set; then
30240 echo $ECHO_N "(cached) $ECHO_C" >&6
30243 cat >conftest.
$ac_ext <<_ACEOF
30246 cat confdefs.h
>>conftest.
$ac_ext
30247 cat >>conftest.
$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30263 rm -f conftest.
$ac_objext
30264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30265 (eval $ac_compile) 2>conftest.er1
30267 grep -v '^ *+' conftest.er1
>conftest.err
30269 cat conftest.err
>&5
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); } &&
30272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30274 (eval $ac_try) 2>&5
30276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277 (exit $ac_status); }; } &&
30278 { ac_try
='test -s conftest.$ac_objext'
30279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30280 (eval $ac_try) 2>&5
30282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 (exit $ac_status); }; }; then
30286 echo "$as_me: failed program was:" >&5
30287 sed 's/^/| /' conftest.
$ac_ext >&5
30292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30296 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30297 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30299 if test $wx_cv_spbcdata = "yes"; then
30300 cat >>confdefs.h
<<\_ACEOF
30301 #define HAVE_SPBCDATA 1
30307 if test "$TOOLKIT" = "PM" ; then
30310 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30313 if test "$wxUSE_UNIVERSAL" = "yes"; then
30314 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30318 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30319 DISTDIR
="wx\$(TOOLKIT)"
30325 if test "$USE_WIN32" = 1 ; then
30329 GUIDIST
="BASE_DIST"
30334 if test "$wxUSE_GUI" = "yes"; then
30335 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30337 for ac_header
in X
11/Xlib.h
30339 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30341 echo "$as_me:$LINENO: checking for $ac_header" >&5
30342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30344 echo $ECHO_N "(cached) $ECHO_C" >&6
30346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30349 # Is the header compilable?
30350 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30351 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30352 cat >conftest.
$ac_ext <<_ACEOF
30355 cat confdefs.h
>>conftest.
$ac_ext
30356 cat >>conftest.
$ac_ext <<_ACEOF
30357 /* end confdefs.h. */
30358 $ac_includes_default
30359 #include <$ac_header>
30361 rm -f conftest.
$ac_objext
30362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30363 (eval $ac_compile) 2>conftest.er1
30365 grep -v '^ *+' conftest.er1
>conftest.err
30367 cat conftest.err
>&5
30368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369 (exit $ac_status); } &&
30370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30372 (eval $ac_try) 2>&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); }; } &&
30376 { ac_try
='test -s conftest.$ac_objext'
30377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30378 (eval $ac_try) 2>&5
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); }; }; then
30382 ac_header_compiler
=yes
30384 echo "$as_me: failed program was:" >&5
30385 sed 's/^/| /' conftest.
$ac_ext >&5
30387 ac_header_compiler
=no
30389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30391 echo "${ECHO_T}$ac_header_compiler" >&6
30393 # Is the header present?
30394 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30395 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30396 cat >conftest.
$ac_ext <<_ACEOF
30399 cat confdefs.h
>>conftest.
$ac_ext
30400 cat >>conftest.
$ac_ext <<_ACEOF
30401 /* end confdefs.h. */
30402 #include <$ac_header>
30404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30405 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30407 grep -v '^ *+' conftest.er1
>conftest.err
30409 cat conftest.err
>&5
30410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30411 (exit $ac_status); } >/dev
/null
; then
30412 if test -s conftest.err
; then
30413 ac_cpp_err
=$ac_c_preproc_warn_flag
30414 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30421 if test -z "$ac_cpp_err"; then
30422 ac_header_preproc
=yes
30424 echo "$as_me: failed program was:" >&5
30425 sed 's/^/| /' conftest.
$ac_ext >&5
30427 ac_header_preproc
=no
30429 rm -f conftest.err conftest.
$ac_ext
30430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30431 echo "${ECHO_T}$ac_header_preproc" >&6
30433 # So? What about this header?
30434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30436 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30437 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30439 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30440 ac_header_preproc
=yes
30443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30447 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30448 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30449 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30450 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30453 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30454 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30457 ## ----------------------------------------- ##
30458 ## Report this to wx-dev@lists.wxwidgets.org ##
30459 ## ----------------------------------------- ##
30462 sed "s/^/$as_me: WARNING: /" >&2
30465 echo "$as_me:$LINENO: checking for $ac_header" >&5
30466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30468 echo $ECHO_N "(cached) $ECHO_C" >&6
30470 eval "$as_ac_Header=\$ac_header_preproc"
30472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30477 cat >>confdefs.h
<<_ACEOF
30478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30486 for ac_header
in X
11/XKBlib.h
30488 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30489 echo "$as_me:$LINENO: checking for $ac_header" >&5
30490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30492 echo $ECHO_N "(cached) $ECHO_C" >&6
30494 cat >conftest.
$ac_ext <<_ACEOF
30497 cat confdefs.h
>>conftest.
$ac_ext
30498 cat >>conftest.
$ac_ext <<_ACEOF
30499 /* end confdefs.h. */
30501 #if HAVE_X11_XLIB_H
30502 #include <X11/Xlib.h>
30506 #include <$ac_header>
30508 rm -f conftest.
$ac_objext
30509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30510 (eval $ac_compile) 2>conftest.er1
30512 grep -v '^ *+' conftest.er1
>conftest.err
30514 cat conftest.err
>&5
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); } &&
30517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30519 (eval $ac_try) 2>&5
30521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522 (exit $ac_status); }; } &&
30523 { ac_try
='test -s conftest.$ac_objext'
30524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30525 (eval $ac_try) 2>&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); }; }; then
30529 eval "$as_ac_Header=yes"
30531 echo "$as_me: failed program was:" >&5
30532 sed 's/^/| /' conftest.
$ac_ext >&5
30534 eval "$as_ac_Header=no"
30536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30541 cat >>confdefs.h
<<_ACEOF
30542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30557 if test "$TOOLKIT" != "MSW" ; then
30559 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30561 if test "${ac_cv_header_sql_h+set}" = set; then
30562 echo "$as_me:$LINENO: checking for sql.h" >&5
30563 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30564 if test "${ac_cv_header_sql_h+set}" = set; then
30565 echo $ECHO_N "(cached) $ECHO_C" >&6
30567 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30568 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30570 # Is the header compilable?
30571 echo "$as_me:$LINENO: checking sql.h usability" >&5
30572 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30573 cat >conftest.
$ac_ext <<_ACEOF
30576 cat confdefs.h
>>conftest.
$ac_ext
30577 cat >>conftest.
$ac_ext <<_ACEOF
30578 /* end confdefs.h. */
30579 $ac_includes_default
30582 rm -f conftest.
$ac_objext
30583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30584 (eval $ac_compile) 2>conftest.er1
30586 grep -v '^ *+' conftest.er1
>conftest.err
30588 cat conftest.err
>&5
30589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30590 (exit $ac_status); } &&
30591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30593 (eval $ac_try) 2>&5
30595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596 (exit $ac_status); }; } &&
30597 { ac_try
='test -s conftest.$ac_objext'
30598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30599 (eval $ac_try) 2>&5
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); }; }; then
30603 ac_header_compiler
=yes
30605 echo "$as_me: failed program was:" >&5
30606 sed 's/^/| /' conftest.
$ac_ext >&5
30608 ac_header_compiler
=no
30610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30612 echo "${ECHO_T}$ac_header_compiler" >&6
30614 # Is the header present?
30615 echo "$as_me:$LINENO: checking sql.h presence" >&5
30616 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30617 cat >conftest.
$ac_ext <<_ACEOF
30620 cat confdefs.h
>>conftest.
$ac_ext
30621 cat >>conftest.
$ac_ext <<_ACEOF
30622 /* end confdefs.h. */
30625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30626 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30628 grep -v '^ *+' conftest.er1
>conftest.err
30630 cat conftest.err
>&5
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); } >/dev
/null
; then
30633 if test -s conftest.err
; then
30634 ac_cpp_err
=$ac_c_preproc_warn_flag
30635 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30642 if test -z "$ac_cpp_err"; then
30643 ac_header_preproc
=yes
30645 echo "$as_me: failed program was:" >&5
30646 sed 's/^/| /' conftest.
$ac_ext >&5
30648 ac_header_preproc
=no
30650 rm -f conftest.err conftest.
$ac_ext
30651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30652 echo "${ECHO_T}$ac_header_preproc" >&6
30654 # So? What about this header?
30655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30657 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30658 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30659 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30660 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30661 ac_header_preproc
=yes
30664 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30665 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30666 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30667 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30668 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30669 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30670 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30671 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30672 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30673 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30674 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30675 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30678 ## ----------------------------------------- ##
30679 ## Report this to wx-dev@lists.wxwidgets.org ##
30680 ## ----------------------------------------- ##
30683 sed "s/^/$as_me: WARNING: /" >&2
30686 echo "$as_me:$LINENO: checking for sql.h" >&5
30687 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30688 if test "${ac_cv_header_sql_h+set}" = set; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30691 ac_cv_header_sql_h
=$ac_header_preproc
30693 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30694 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30697 if test $ac_cv_header_sql_h = yes; then
30702 if test "x$found_sql_h" = "x1" ; then
30703 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30704 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30705 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30706 echo $ECHO_N "(cached) $ECHO_C" >&6
30708 ac_check_lib_save_LIBS
=$LIBS
30709 LIBS
="-liodbc $LIBS"
30710 cat >conftest.
$ac_ext <<_ACEOF
30713 cat confdefs.h
>>conftest.
$ac_ext
30714 cat >>conftest.
$ac_ext <<_ACEOF
30715 /* end confdefs.h. */
30717 /* Override any gcc2 internal prototype to avoid an error. */
30721 /* We use char because int might match the return type of a gcc2
30722 builtin and then its argument prototype would still apply. */
30723 char SQLAllocEnv ();
30732 rm -f conftest.
$ac_objext conftest
$ac_exeext
30733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30734 (eval $ac_link) 2>conftest.er1
30736 grep -v '^ *+' conftest.er1
>conftest.err
30738 cat conftest.err
>&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } &&
30741 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30743 (eval $ac_try) 2>&5
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); }; } &&
30747 { ac_try
='test -s conftest$ac_exeext'
30748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30749 (eval $ac_try) 2>&5
30751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30752 (exit $ac_status); }; }; then
30753 ac_cv_lib_iodbc_SQLAllocEnv
=yes
30755 echo "$as_me: failed program was:" >&5
30756 sed 's/^/| /' conftest.
$ac_ext >&5
30758 ac_cv_lib_iodbc_SQLAllocEnv
=no
30760 rm -f conftest.err conftest.
$ac_objext \
30761 conftest
$ac_exeext conftest.
$ac_ext
30762 LIBS
=$ac_check_lib_save_LIBS
30764 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30765 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30766 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30767 ODBC_LINK
=" -liodbc"
30770 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30771 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30772 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30773 echo $ECHO_N "(cached) $ECHO_C" >&6
30775 ac_check_lib_save_LIBS
=$LIBS
30776 LIBS
="-lunixodbc $LIBS"
30777 cat >conftest.
$ac_ext <<_ACEOF
30780 cat confdefs.h
>>conftest.
$ac_ext
30781 cat >>conftest.
$ac_ext <<_ACEOF
30782 /* end confdefs.h. */
30784 /* Override any gcc2 internal prototype to avoid an error. */
30788 /* We use char because int might match the return type of a gcc2
30789 builtin and then its argument prototype would still apply. */
30790 char SQLAllocEnv ();
30799 rm -f conftest.
$ac_objext conftest
$ac_exeext
30800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30801 (eval $ac_link) 2>conftest.er1
30803 grep -v '^ *+' conftest.er1
>conftest.err
30805 cat conftest.err
>&5
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); } &&
30808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30810 (eval $ac_try) 2>&5
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); }; } &&
30814 { ac_try
='test -s conftest$ac_exeext'
30815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30816 (eval $ac_try) 2>&5
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); }; }; then
30820 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
30822 echo "$as_me: failed program was:" >&5
30823 sed 's/^/| /' conftest.
$ac_ext >&5
30825 ac_cv_lib_unixodbc_SQLAllocEnv
=no
30827 rm -f conftest.err conftest.
$ac_objext \
30828 conftest
$ac_exeext conftest.
$ac_ext
30829 LIBS
=$ac_check_lib_save_LIBS
30831 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30832 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30833 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30834 ODBC_LINK
=" -lunixodbc"
30837 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30838 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30839 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30840 echo $ECHO_N "(cached) $ECHO_C" >&6
30842 ac_check_lib_save_LIBS
=$LIBS
30843 LIBS
="-lodbc $LIBS"
30844 cat >conftest.
$ac_ext <<_ACEOF
30847 cat confdefs.h
>>conftest.
$ac_ext
30848 cat >>conftest.
$ac_ext <<_ACEOF
30849 /* end confdefs.h. */
30851 /* Override any gcc2 internal prototype to avoid an error. */
30855 /* We use char because int might match the return type of a gcc2
30856 builtin and then its argument prototype would still apply. */
30857 char SQLAllocEnv ();
30866 rm -f conftest.
$ac_objext conftest
$ac_exeext
30867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30868 (eval $ac_link) 2>conftest.er1
30870 grep -v '^ *+' conftest.er1
>conftest.err
30872 cat conftest.err
>&5
30873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30874 (exit $ac_status); } &&
30875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30877 (eval $ac_try) 2>&5
30879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30880 (exit $ac_status); }; } &&
30881 { ac_try
='test -s conftest$ac_exeext'
30882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30883 (eval $ac_try) 2>&5
30885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886 (exit $ac_status); }; }; then
30887 ac_cv_lib_odbc_SQLAllocEnv
=yes
30889 echo "$as_me: failed program was:" >&5
30890 sed 's/^/| /' conftest.
$ac_ext >&5
30892 ac_cv_lib_odbc_SQLAllocEnv
=no
30894 rm -f conftest.err conftest.
$ac_objext \
30895 conftest
$ac_exeext conftest.
$ac_ext
30896 LIBS
=$ac_check_lib_save_LIBS
30898 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30899 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30900 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30901 ODBC_LINK
=" -lodbc"
30911 if test "x$ODBC_LINK" = "x" ; then
30912 if test "$wxUSE_ODBC" = "sys" ; then
30913 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30914 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30915 { (exit 1); exit 1; }; }
30917 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30918 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30926 if test "$wxUSE_ODBC" = "builtin" ; then
30927 cat >>confdefs.h
<<\_ACEOF
30928 #define wxUSE_BUILTIN_IODBC 1
30934 if test "$wxUSE_ODBC" != "no" ; then
30935 cat >>confdefs.h
<<\_ACEOF
30936 #define wxUSE_ODBC 1
30939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
30941 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
30945 if test "$wxUSE_DISPLAY" = "yes"; then
30946 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30947 echo "$as_me:$LINENO: checking for Xinerama" >&5
30948 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30951 for ac_dir
in $SEARCH_LIB;
30953 for ac_extension
in a so sl dylib dll.a
; do
30954 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30955 ac_find_libraries
=$ac_dir
30961 if test "$ac_find_libraries" != "" ; then
30963 if test "$ac_find_libraries" = "default location"; then
30966 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30968 if test $result = 0; then
30971 ac_path_to_link
=" -L$ac_find_libraries"
30975 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30976 LDFLAGS
="$LDFLAGS $ac_path_to_link"
30978 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
30979 echo "$as_me:$LINENO: result: yes" >&5
30980 echo "${ECHO_T}yes" >&6
30982 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
30983 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
30986 for ac_dir
in $SEARCH_LIB;
30988 for ac_extension
in a so sl dylib dll.a
; do
30989 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30990 ac_find_libraries
=$ac_dir
30996 if test "$ac_find_libraries" != "" ; then
30997 echo "$as_me:$LINENO: result: yes" >&5
30998 echo "${ECHO_T}yes" >&6
31000 for ac_header
in X
11/extensions
/xf86vmode.h
31002 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31003 echo "$as_me:$LINENO: checking for $ac_header" >&5
31004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31006 echo $ECHO_N "(cached) $ECHO_C" >&6
31008 cat >conftest.
$ac_ext <<_ACEOF
31011 cat confdefs.h
>>conftest.
$ac_ext
31012 cat >>conftest.
$ac_ext <<_ACEOF
31013 /* end confdefs.h. */
31015 #if HAVE_X11_XLIB_H
31016 #include <X11/Xlib.h>
31020 #include <$ac_header>
31022 rm -f conftest.
$ac_objext
31023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31024 (eval $ac_compile) 2>conftest.er1
31026 grep -v '^ *+' conftest.er1
>conftest.err
31028 cat conftest.err
>&5
31029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31030 (exit $ac_status); } &&
31031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31033 (eval $ac_try) 2>&5
31035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31036 (exit $ac_status); }; } &&
31037 { ac_try
='test -s conftest.$ac_objext'
31038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31039 (eval $ac_try) 2>&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); }; }; then
31043 eval "$as_ac_Header=yes"
31045 echo "$as_me: failed program was:" >&5
31046 sed 's/^/| /' conftest.
$ac_ext >&5
31048 eval "$as_ac_Header=no"
31050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31055 cat >>confdefs.h
<<_ACEOF
31056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31059 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31066 echo "$as_me:$LINENO: result: no" >&5
31067 echo "${ECHO_T}no" >&6
31071 echo "$as_me:$LINENO: result: no" >&5
31072 echo "${ECHO_T}no" >&6
31073 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31074 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31077 elif test "$wxUSE_MSW" = 1; then
31079 for ac_header
in ddraw.h
31081 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31082 echo "$as_me:$LINENO: checking for $ac_header" >&5
31083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31085 echo $ECHO_N "(cached) $ECHO_C" >&6
31087 cat >conftest.
$ac_ext <<_ACEOF
31090 cat confdefs.h
>>conftest.
$ac_ext
31091 cat >>conftest.
$ac_ext <<_ACEOF
31092 /* end confdefs.h. */
31093 #include <windows.h>
31095 #include <$ac_header>
31097 rm -f conftest.
$ac_objext
31098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31099 (eval $ac_compile) 2>conftest.er1
31101 grep -v '^ *+' conftest.er1
>conftest.err
31103 cat conftest.err
>&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); } &&
31106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31108 (eval $ac_try) 2>&5
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); }; } &&
31112 { ac_try
='test -s conftest.$ac_objext'
31113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31114 (eval $ac_try) 2>&5
31116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31117 (exit $ac_status); }; }; then
31118 eval "$as_ac_Header=yes"
31120 echo "$as_me: failed program was:" >&5
31121 sed 's/^/| /' conftest.
$ac_ext >&5
31123 eval "$as_ac_Header=no"
31125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31130 cat >>confdefs.h
<<_ACEOF
31131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31143 if test "$wxUSE_OPENGL" = "yes"; then
31144 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31145 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31146 elif test "$wxUSE_MSW" = 1; then
31147 OPENGL_LIBS
="-lopengl32 -lglu32"
31152 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31154 if test -f "$ac_dir/GL/gl.h"; then
31155 ac_find_includes
=$ac_dir
31160 if test "$ac_find_includes" != "" ; then
31161 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31162 echo "${ECHO_T}found in $ac_find_includes" >&6
31164 if test "x$ac_find_includes" = "x/usr/include"; then
31165 ac_path_to_include
=""
31167 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31169 if test $result = 0; then
31170 ac_path_to_include
=""
31172 ac_path_to_include
=" -I$ac_find_includes"
31176 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31179 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31180 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31181 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31182 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31183 echo $ECHO_N "(cached) $ECHO_C" >&6
31185 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31186 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31188 # Is the header compilable?
31189 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31190 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31191 cat >conftest.
$ac_ext <<_ACEOF
31194 cat confdefs.h
>>conftest.
$ac_ext
31195 cat >>conftest.
$ac_ext <<_ACEOF
31196 /* end confdefs.h. */
31197 $ac_includes_default
31200 rm -f conftest.
$ac_objext
31201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31202 (eval $ac_compile) 2>conftest.er1
31204 grep -v '^ *+' conftest.er1
>conftest.err
31206 cat conftest.err
>&5
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); } &&
31209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
31215 { ac_try
='test -s conftest.$ac_objext'
31216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31217 (eval $ac_try) 2>&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); }; }; then
31221 ac_header_compiler
=yes
31223 echo "$as_me: failed program was:" >&5
31224 sed 's/^/| /' conftest.
$ac_ext >&5
31226 ac_header_compiler
=no
31228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31230 echo "${ECHO_T}$ac_header_compiler" >&6
31232 # Is the header present?
31233 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31234 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31235 cat >conftest.
$ac_ext <<_ACEOF
31238 cat confdefs.h
>>conftest.
$ac_ext
31239 cat >>conftest.
$ac_ext <<_ACEOF
31240 /* end confdefs.h. */
31243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31244 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31246 grep -v '^ *+' conftest.er1
>conftest.err
31248 cat conftest.err
>&5
31249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31250 (exit $ac_status); } >/dev
/null
; then
31251 if test -s conftest.err
; then
31252 ac_cpp_err
=$ac_c_preproc_warn_flag
31253 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31260 if test -z "$ac_cpp_err"; then
31261 ac_header_preproc
=yes
31263 echo "$as_me: failed program was:" >&5
31264 sed 's/^/| /' conftest.
$ac_ext >&5
31266 ac_header_preproc
=no
31268 rm -f conftest.err conftest.
$ac_ext
31269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31270 echo "${ECHO_T}$ac_header_preproc" >&6
31272 # So? What about this header?
31273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31275 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31276 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31277 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31278 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31279 ac_header_preproc
=yes
31282 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31283 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31284 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31285 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31286 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31287 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31288 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31289 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31290 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31291 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31292 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31293 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31296 ## ----------------------------------------- ##
31297 ## Report this to wx-dev@lists.wxwidgets.org ##
31298 ## ----------------------------------------- ##
31301 sed "s/^/$as_me: WARNING: /" >&2
31304 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31305 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31306 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31307 echo $ECHO_N "(cached) $ECHO_C" >&6
31309 ac_cv_header_GL_gl_h
=$ac_header_preproc
31311 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31312 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31315 if test $ac_cv_header_GL_gl_h = yes; then
31319 echo "$as_me:$LINENO: checking for -lGL" >&5
31320 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31323 for ac_dir
in $SEARCH_LIB;
31325 for ac_extension
in a so sl dylib dll.a
; do
31326 if test -f "$ac_dir/libGL.$ac_extension"; then
31327 ac_find_libraries
=$ac_dir
31333 if test "$ac_find_libraries" != "" ; then
31334 echo "$as_me:$LINENO: result: yes" >&5
31335 echo "${ECHO_T}yes" >&6
31338 if test "$ac_find_libraries" = "default location"; then
31341 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31343 if test $result = 0; then
31346 ac_path_to_link
=" -L$ac_find_libraries"
31350 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31351 LDFLAGS_GL
="$ac_path_to_link"
31354 echo "$as_me:$LINENO: checking for -lGLU" >&5
31355 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31358 for ac_dir
in $SEARCH_LIB;
31360 for ac_extension
in a so sl dylib dll.a
; do
31361 if test -f "$ac_dir/libGLU.$ac_extension"; then
31362 ac_find_libraries
=$ac_dir
31368 if test "$ac_find_libraries" != "" ; then
31370 if test "$ac_find_libraries" = "default location"; then
31373 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31375 if test $result = 0; then
31378 ac_path_to_link
=" -L$ac_find_libraries"
31382 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31383 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31384 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31388 OPENGL_LIBS
="-lGL -lGLU"
31389 echo "$as_me:$LINENO: result: yes" >&5
31390 echo "${ECHO_T}yes" >&6
31392 echo "$as_me:$LINENO: result: no" >&5
31393 echo "${ECHO_T}no" >&6
31396 echo "$as_me:$LINENO: result: no" >&5
31397 echo "${ECHO_T}no" >&6
31400 if test "$found_gl" != 1; then
31401 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31402 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31405 for ac_dir
in $SEARCH_LIB;
31407 for ac_extension
in a so sl dylib dll.a
; do
31408 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31409 ac_find_libraries
=$ac_dir
31415 if test "$ac_find_libraries" != "" ; then
31417 if test "$ac_find_libraries" = "default location"; then
31420 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31422 if test $result = 0; then
31425 ac_path_to_link
=" -L$ac_find_libraries"
31429 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31430 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31431 echo "$as_me:$LINENO: result: yes" >&5
31432 echo "${ECHO_T}yes" >&6
31434 echo "$as_me:$LINENO: result: no" >&5
31435 echo "${ECHO_T}no" >&6
31443 if test "x$OPENGL_LIBS" = "x"; then
31444 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31445 echo "$as_me: error: OpenGL libraries not available" >&2;}
31446 { (exit 1); exit 1; }; }
31450 if test "$wxUSE_OPENGL" = "yes"; then
31452 cat >>confdefs.h
<<\_ACEOF
31453 #define wxUSE_OPENGL 1
31456 cat >>confdefs.h
<<\_ACEOF
31457 #define wxUSE_GLCANVAS 1
31460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31465 if test -n "$TOOLKIT" ; then
31466 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31471 if test "$wxUSE_SHARED" = "yes"; then
31475 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31476 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31481 if test "$wxUSE_SHARED" = "yes"; then
31484 found_versioning
=no
31487 if test $found_versioning = no
; then
31488 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31489 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31490 if test "${wx_cv_version_script+set}" = set; then
31491 echo $ECHO_N "(cached) $ECHO_C" >&6
31494 echo "VER_1 { *; };" >conftest.sym
31495 echo "int main() { return 0; }" >conftest.cpp
31498 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31499 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31501 (eval $ac_try) 2>&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; } ; then
31505 if test -s conftest.stderr
; then
31506 wx_cv_version_script
=no
31508 wx_cv_version_script
=yes
31511 wx_cv_version_script
=no
31514 if test $wx_cv_version_script = yes
31516 echo "struct B { virtual ~B() { } }; \
31517 struct D : public B { }; \
31518 void F() { D d; }" > conftest.cpp
31521 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31522 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31524 (eval $ac_try) 2>&5
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); }; } &&
31529 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31530 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31532 (eval $ac_try) 2>&5
31534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 (exit $ac_status); }; }
31538 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31539 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31541 (eval $ac_try) 2>&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; }
31546 wx_cv_version_script
=yes
31548 wx_cv_version_script
=no
31553 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31554 rm -f conftest1.output conftest2.output conftest3.output
31557 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31558 echo "${ECHO_T}$wx_cv_version_script" >&6
31559 if test $wx_cv_version_script = yes ; then
31560 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31566 *-*-linux* | *-*-gnu* )
31567 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31568 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31572 if test "$GCC" = yes ; then
31573 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
31575 saveLdflags
="$LDFLAGS"
31576 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31577 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31578 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31579 cat >conftest.
$ac_ext <<_ACEOF
31582 cat confdefs.h
>>conftest.
$ac_ext
31583 cat >>conftest.
$ac_ext <<_ACEOF
31584 /* end confdefs.h. */
31594 rm -f conftest.
$ac_objext conftest
$ac_exeext
31595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31596 (eval $ac_link) 2>conftest.er1
31598 grep -v '^ *+' conftest.er1
>conftest.err
31600 cat conftest.err
>&5
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); } &&
31603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31605 (eval $ac_try) 2>&5
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); }; } &&
31609 { ac_try
='test -s conftest$ac_exeext'
31610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31611 (eval $ac_try) 2>&5
31613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31614 (exit $ac_status); }; }; then
31616 echo "$as_me:$LINENO: result: yes" >&5
31617 echo "${ECHO_T}yes" >&6
31618 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31619 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31622 echo "$as_me: failed program was:" >&5
31623 sed 's/^/| /' conftest.
$ac_ext >&5
31626 echo "$as_me:$LINENO: result: no" >&5
31627 echo "${ECHO_T}no" >&6
31628 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31629 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31630 LDFLAGS
="$saveLdflags -Wl,-R,/"
31631 cat >conftest.
$ac_ext <<_ACEOF
31634 cat confdefs.h
>>conftest.
$ac_ext
31635 cat >>conftest.
$ac_ext <<_ACEOF
31636 /* end confdefs.h. */
31646 rm -f conftest.
$ac_objext conftest
$ac_exeext
31647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31648 (eval $ac_link) 2>conftest.er1
31650 grep -v '^ *+' conftest.er1
>conftest.err
31652 cat conftest.err
>&5
31653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654 (exit $ac_status); } &&
31655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31657 (eval $ac_try) 2>&5
31659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660 (exit $ac_status); }; } &&
31661 { ac_try
='test -s conftest$ac_exeext'
31662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31663 (eval $ac_try) 2>&5
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); }; }; then
31668 echo "$as_me:$LINENO: result: yes" >&5
31669 echo "${ECHO_T}yes" >&6
31670 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
31671 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
31674 echo "$as_me: failed program was:" >&5
31675 sed 's/^/| /' conftest.
$ac_ext >&5
31678 echo "$as_me:$LINENO: result: no" >&5
31679 echo "${ECHO_T}no" >&6
31682 rm -f conftest.err conftest.
$ac_objext \
31683 conftest
$ac_exeext conftest.
$ac_ext
31686 rm -f conftest.err conftest.
$ac_objext \
31687 conftest
$ac_exeext conftest.
$ac_ext
31688 LDFLAGS
="$saveLdflags"
31690 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31691 WXCONFIG_RPATH
="-R\$libdir"
31696 install_name_tool
=`which install_name_tool`
31697 if test "$install_name_tool" -a -x "$install_name_tool"; then
31698 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31699 cat <<EOF >change-install-names
31701 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31702 inst_cmd="install_name_tool "
31703 for i in \${libnames} ; do
31704 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31708 chmod +x change
-install-names
31712 *-*-cygwin* | *-*-mingw32* )
31713 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
31717 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31718 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31723 if test $wxUSE_RPATH = "no"; then
31724 SAMPLES_RPATH_FLAG
=''
31725 SAMPLES_RPATH_POSTLINK
=''
31733 config_linkage_component
="-static"
31740 lib_unicode_suffix
=
31742 if test "$wxUSE_UNICODE" = "yes"; then
31743 lib_unicode_suffix
=u
31744 WX_CHARTYPE
="unicode"
31749 WX_DEBUGTYPE
="release"
31751 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31753 WX_DEBUGTYPE
="debug"
31757 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
31758 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
31761 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31765 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31767 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31769 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31771 if test "$cross_compiling" = "yes"; then
31772 HOST_SUFFIX
="-$host_alias"
31773 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
31774 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
31777 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31778 if test "${TOOLKIT_DIR}" = "os2"; then
31779 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31781 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31786 if test "$wxUSE_COCOA" = 1; then
31790 ac_cpp
='$CPP $CPPFLAGS'
31791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31797 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31798 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31799 cat >conftest.
$ac_ext <<_ACEOF
31802 cat confdefs.h
>>conftest.
$ac_ext
31803 cat >>conftest.
$ac_ext <<_ACEOF
31804 /* end confdefs.h. */
31805 #include <AppKit/NSEvent.h>
31806 #include <CoreFoundation/CoreFoundation.h>
31816 rm -f conftest.
$ac_objext
31817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31818 (eval $ac_compile) 2>conftest.er1
31820 grep -v '^ *+' conftest.er1
>conftest.err
31822 cat conftest.err
>&5
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); } &&
31825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31827 (eval $ac_try) 2>&5
31829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31830 (exit $ac_status); }; } &&
31831 { ac_try
='test -s conftest.$ac_objext'
31832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31833 (eval $ac_try) 2>&5
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); }; }; then
31837 echo "$as_me:$LINENO: result: no" >&5
31838 echo "${ECHO_T}no" >&6
31840 echo "$as_me: failed program was:" >&5
31841 sed 's/^/| /' conftest.
$ac_ext >&5
31843 echo "$as_me:$LINENO: result: yes" >&5
31844 echo "${ECHO_T}yes" >&6
31845 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31846 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31847 cat >conftest.
$ac_ext <<_ACEOF
31850 cat confdefs.h
>>conftest.
$ac_ext
31851 cat >>conftest.
$ac_ext <<_ACEOF
31852 /* end confdefs.h. */
31853 #define __Point__ 1
31854 #include <AppKit/NSEvent.h>
31855 #include <CoreFoundation/CoreFoundation.h>
31865 rm -f conftest.
$ac_objext
31866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31867 (eval $ac_compile) 2>conftest.er1
31869 grep -v '^ *+' conftest.er1
>conftest.err
31871 cat conftest.err
>&5
31872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31873 (exit $ac_status); } &&
31874 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31876 (eval $ac_try) 2>&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); }; } &&
31880 { ac_try
='test -s conftest.$ac_objext'
31881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31882 (eval $ac_try) 2>&5
31884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31885 (exit $ac_status); }; }; then
31886 echo "$as_me:$LINENO: result: yes" >&5
31887 echo "${ECHO_T}yes" >&6
31888 cat >>confdefs.h
<<\_ACEOF
31889 #define __Point__ 1
31894 echo "$as_me: failed program was:" >&5
31895 sed 's/^/| /' conftest.
$ac_ext >&5
31897 { { echo "$as_me:$LINENO: error: no
31898 See \`config.log' for more details." >&5
31899 echo "$as_me: error: no
31900 See \`config.log' for more details." >&2;}
31901 { (exit 1); exit 1; }; }
31904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31909 ac_cpp
='$CPP $CPPFLAGS'
31910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31916 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31917 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31918 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31920 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31922 # Extract the first word of "Rez", so it can be a program name with args.
31923 set dummy Rez
; ac_word
=$2
31924 echo "$as_me:$LINENO: checking for $ac_word" >&5
31925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31926 if test "${ac_cv_prog_REZ+set}" = set; then
31927 echo $ECHO_N "(cached) $ECHO_C" >&6
31929 if test -n "$REZ"; then
31930 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
31932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31933 for as_dir
in $PATH
31936 test -z "$as_dir" && as_dir
=.
31937 for ac_exec_ext
in '' $ac_executable_extensions; do
31938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31939 ac_cv_prog_REZ
="Rez"
31940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31946 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
31949 REZ
=$ac_cv_prog_REZ
31950 if test -n "$REZ"; then
31951 echo "$as_me:$LINENO: result: $REZ" >&5
31952 echo "${ECHO_T}$REZ" >&6
31954 echo "$as_me:$LINENO: result: no" >&5
31955 echo "${ECHO_T}no" >&6
31958 # Extract the first word of "DeRez", so it can be a program name with args.
31959 set dummy DeRez
; ac_word
=$2
31960 echo "$as_me:$LINENO: checking for $ac_word" >&5
31961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31962 if test "${ac_cv_prog_DEREZ+set}" = set; then
31963 echo $ECHO_N "(cached) $ECHO_C" >&6
31965 if test -n "$DEREZ"; then
31966 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
31968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31969 for as_dir
in $PATH
31972 test -z "$as_dir" && as_dir
=.
31973 for ac_exec_ext
in '' $ac_executable_extensions; do
31974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31975 ac_cv_prog_DEREZ
="DeRez"
31976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31982 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
31985 DEREZ
=$ac_cv_prog_DEREZ
31986 if test -n "$DEREZ"; then
31987 echo "$as_me:$LINENO: result: $DEREZ" >&5
31988 echo "${ECHO_T}$DEREZ" >&6
31990 echo "$as_me:$LINENO: result: no" >&5
31991 echo "${ECHO_T}no" >&6
31994 # Extract the first word of "SetFile", so it can be a program name with args.
31995 set dummy SetFile
; ac_word
=$2
31996 echo "$as_me:$LINENO: checking for $ac_word" >&5
31997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31998 if test "${ac_cv_prog_SETFILE+set}" = set; then
31999 echo $ECHO_N "(cached) $ECHO_C" >&6
32001 if test -n "$SETFILE"; then
32002 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32005 for as_dir
in $PATH
32008 test -z "$as_dir" && as_dir
=.
32009 for ac_exec_ext
in '' $ac_executable_extensions; do
32010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32011 ac_cv_prog_SETFILE
="SetFile"
32012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32018 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32021 SETFILE
=$ac_cv_prog_SETFILE
32022 if test -n "$SETFILE"; then
32023 echo "$as_me:$LINENO: result: $SETFILE" >&5
32024 echo "${ECHO_T}$SETFILE" >&6
32026 echo "$as_me:$LINENO: result: no" >&5
32027 echo "${ECHO_T}no" >&6
32031 MACSETFILE
="\$(SETFILE)"
32033 if test "$wxUSE_MAC" = 1; then
32034 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32036 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32038 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32039 RESCOMP
="echo -n \| $REZ"
32040 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32046 if test "$wxUSE_PM" = 1; then
32048 WXCONFIG_RESFLAGS
="-ep"
32050 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32052 POSTLINK_COMMAND
="@true"
32059 echo "$as_me:$LINENO: checking for mode_t" >&5
32060 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32061 if test "${ac_cv_type_mode_t+set}" = set; then
32062 echo $ECHO_N "(cached) $ECHO_C" >&6
32064 cat >conftest.
$ac_ext <<_ACEOF
32067 cat confdefs.h
>>conftest.
$ac_ext
32068 cat >>conftest.
$ac_ext <<_ACEOF
32069 /* end confdefs.h. */
32070 $ac_includes_default
32076 if (sizeof (mode_t))
32082 rm -f conftest.
$ac_objext
32083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32084 (eval $ac_compile) 2>conftest.er1
32086 grep -v '^ *+' conftest.er1
>conftest.err
32088 cat conftest.err
>&5
32089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32090 (exit $ac_status); } &&
32091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32093 (eval $ac_try) 2>&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); }; } &&
32097 { ac_try
='test -s conftest.$ac_objext'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; }; then
32103 ac_cv_type_mode_t
=yes
32105 echo "$as_me: failed program was:" >&5
32106 sed 's/^/| /' conftest.
$ac_ext >&5
32108 ac_cv_type_mode_t
=no
32110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32112 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32113 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32114 if test $ac_cv_type_mode_t = yes; then
32118 cat >>confdefs.h
<<_ACEOF
32124 echo "$as_me:$LINENO: checking for off_t" >&5
32125 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32126 if test "${ac_cv_type_off_t+set}" = set; then
32127 echo $ECHO_N "(cached) $ECHO_C" >&6
32129 cat >conftest.
$ac_ext <<_ACEOF
32132 cat confdefs.h
>>conftest.
$ac_ext
32133 cat >>conftest.
$ac_ext <<_ACEOF
32134 /* end confdefs.h. */
32135 $ac_includes_default
32141 if (sizeof (off_t))
32147 rm -f conftest.
$ac_objext
32148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32149 (eval $ac_compile) 2>conftest.er1
32151 grep -v '^ *+' conftest.er1
>conftest.err
32153 cat conftest.err
>&5
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); } &&
32156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32158 (eval $ac_try) 2>&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); }; } &&
32162 { ac_try
='test -s conftest.$ac_objext'
32163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32164 (eval $ac_try) 2>&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); }; }; then
32168 ac_cv_type_off_t
=yes
32170 echo "$as_me: failed program was:" >&5
32171 sed 's/^/| /' conftest.
$ac_ext >&5
32173 ac_cv_type_off_t
=no
32175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32177 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32178 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32179 if test $ac_cv_type_off_t = yes; then
32183 cat >>confdefs.h
<<_ACEOF
32189 echo "$as_me:$LINENO: checking for pid_t" >&5
32190 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32191 if test "${ac_cv_type_pid_t+set}" = set; then
32192 echo $ECHO_N "(cached) $ECHO_C" >&6
32194 cat >conftest.
$ac_ext <<_ACEOF
32197 cat confdefs.h
>>conftest.
$ac_ext
32198 cat >>conftest.
$ac_ext <<_ACEOF
32199 /* end confdefs.h. */
32200 $ac_includes_default
32206 if (sizeof (pid_t))
32212 rm -f conftest.
$ac_objext
32213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32214 (eval $ac_compile) 2>conftest.er1
32216 grep -v '^ *+' conftest.er1
>conftest.err
32218 cat conftest.err
>&5
32219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32220 (exit $ac_status); } &&
32221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32223 (eval $ac_try) 2>&5
32225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32226 (exit $ac_status); }; } &&
32227 { ac_try
='test -s conftest.$ac_objext'
32228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32229 (eval $ac_try) 2>&5
32231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32232 (exit $ac_status); }; }; then
32233 ac_cv_type_pid_t
=yes
32235 echo "$as_me: failed program was:" >&5
32236 sed 's/^/| /' conftest.
$ac_ext >&5
32238 ac_cv_type_pid_t
=no
32240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32242 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32243 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32244 if test $ac_cv_type_pid_t = yes; then
32248 cat >>confdefs.h
<<_ACEOF
32254 echo "$as_me:$LINENO: checking for size_t" >&5
32255 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32256 if test "${ac_cv_type_size_t+set}" = set; then
32257 echo $ECHO_N "(cached) $ECHO_C" >&6
32259 cat >conftest.
$ac_ext <<_ACEOF
32262 cat confdefs.h
>>conftest.
$ac_ext
32263 cat >>conftest.
$ac_ext <<_ACEOF
32264 /* end confdefs.h. */
32265 $ac_includes_default
32271 if (sizeof (size_t))
32277 rm -f conftest.
$ac_objext
32278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32279 (eval $ac_compile) 2>conftest.er1
32281 grep -v '^ *+' conftest.er1
>conftest.err
32283 cat conftest.err
>&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); } &&
32286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32288 (eval $ac_try) 2>&5
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); }; } &&
32292 { ac_try
='test -s conftest.$ac_objext'
32293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32294 (eval $ac_try) 2>&5
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); }; }; then
32298 ac_cv_type_size_t
=yes
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.
$ac_ext >&5
32303 ac_cv_type_size_t
=no
32305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32307 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32308 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32309 if test $ac_cv_type_size_t = yes; then
32313 cat >>confdefs.h
<<_ACEOF
32314 #define size_t unsigned
32319 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32320 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32321 if test "${ac_cv_type_uid_t+set}" = set; then
32322 echo $ECHO_N "(cached) $ECHO_C" >&6
32324 cat >conftest.
$ac_ext <<_ACEOF
32327 cat confdefs.h
>>conftest.
$ac_ext
32328 cat >>conftest.
$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32330 #include <sys/types.h>
32333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32334 $EGREP "uid_t" >/dev
/null
2>&1; then
32335 ac_cv_type_uid_t
=yes
32337 ac_cv_type_uid_t
=no
32342 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32343 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32344 if test $ac_cv_type_uid_t = no
; then
32346 cat >>confdefs.h
<<\_ACEOF
32351 cat >>confdefs.h
<<\_ACEOF
32358 echo "$as_me:$LINENO: checking for ssize_t" >&5
32359 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32360 if test "${ac_cv_type_ssize_t+set}" = set; then
32361 echo $ECHO_N "(cached) $ECHO_C" >&6
32363 cat >conftest.
$ac_ext <<_ACEOF
32366 cat confdefs.h
>>conftest.
$ac_ext
32367 cat >>conftest.
$ac_ext <<_ACEOF
32368 /* end confdefs.h. */
32369 $ac_includes_default
32375 if (sizeof (ssize_t))
32381 rm -f conftest.
$ac_objext
32382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32383 (eval $ac_compile) 2>conftest.er1
32385 grep -v '^ *+' conftest.er1
>conftest.err
32387 cat conftest.err
>&5
32388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389 (exit $ac_status); } &&
32390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32392 (eval $ac_try) 2>&5
32394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395 (exit $ac_status); }; } &&
32396 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
32402 ac_cv_type_ssize_t
=yes
32404 echo "$as_me: failed program was:" >&5
32405 sed 's/^/| /' conftest.
$ac_ext >&5
32407 ac_cv_type_ssize_t
=no
32409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32411 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32412 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32413 if test $ac_cv_type_ssize_t = yes; then
32415 cat >>confdefs.h
<<_ACEOF
32416 #define HAVE_SSIZE_T 1
32424 ac_cpp
='$CXXCPP $CPPFLAGS'
32425 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32426 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32427 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32429 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32430 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32431 if test "${wx_cv_size_t_is_uint+set}" = set; then
32432 echo $ECHO_N "(cached) $ECHO_C" >&6
32435 cat >conftest.
$ac_ext <<_ACEOF
32438 cat confdefs.h
>>conftest.
$ac_ext
32439 cat >>conftest.
$ac_ext <<_ACEOF
32440 /* end confdefs.h. */
32441 #include <stddef.h>
32448 struct Foo { void foo(size_t); void foo(unsigned int); };
32456 rm -f conftest.
$ac_objext
32457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32458 (eval $ac_compile) 2>conftest.er1
32460 grep -v '^ *+' conftest.er1
>conftest.err
32462 cat conftest.err
>&5
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); } &&
32465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32467 (eval $ac_try) 2>&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); }; } &&
32471 { ac_try
='test -s conftest.$ac_objext'
32472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32473 (eval $ac_try) 2>&5
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); }; }; then
32477 wx_cv_size_t_is_uint
=no
32479 echo "$as_me: failed program was:" >&5
32480 sed 's/^/| /' conftest.
$ac_ext >&5
32482 wx_cv_size_t_is_uint
=yes
32485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32489 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32490 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32492 if test "$wx_cv_size_t_is_uint" = "yes"; then
32493 cat >>confdefs.h
<<\_ACEOF
32494 #define wxSIZE_T_IS_UINT 1
32498 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32499 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32500 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32501 echo $ECHO_N "(cached) $ECHO_C" >&6
32503 cat >conftest.
$ac_ext <<_ACEOF
32506 cat confdefs.h
>>conftest.
$ac_ext
32507 cat >>conftest.
$ac_ext <<_ACEOF
32508 /* end confdefs.h. */
32509 #include <stddef.h>
32516 struct Foo { void foo(size_t); void foo(unsigned long); };
32524 rm -f conftest.
$ac_objext
32525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32526 (eval $ac_compile) 2>conftest.er1
32528 grep -v '^ *+' conftest.er1
>conftest.err
32530 cat conftest.err
>&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } &&
32533 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32535 (eval $ac_try) 2>&5
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); }; } &&
32539 { ac_try
='test -s conftest.$ac_objext'
32540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32541 (eval $ac_try) 2>&5
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); }; }; then
32545 wx_cv_size_t_is_ulong
=no
32547 echo "$as_me: failed program was:" >&5
32548 sed 's/^/| /' conftest.
$ac_ext >&5
32550 wx_cv_size_t_is_ulong
=yes
32553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32556 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32557 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32559 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32560 cat >>confdefs.h
<<\_ACEOF
32561 #define wxSIZE_T_IS_ULONG 1
32568 ac_cpp
='$CPP $CPPFLAGS'
32569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32575 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32576 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32577 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32578 echo $ECHO_N "(cached) $ECHO_C" >&6
32581 cat >conftest.
$ac_ext <<_ACEOF
32584 cat confdefs.h
>>conftest.
$ac_ext
32585 cat >>conftest.
$ac_ext <<_ACEOF
32586 /* end confdefs.h. */
32600 rm -f conftest.
$ac_objext
32601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32602 (eval $ac_compile) 2>conftest.er1
32604 grep -v '^ *+' conftest.er1
>conftest.err
32606 cat conftest.err
>&5
32607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32608 (exit $ac_status); } &&
32609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32611 (eval $ac_try) 2>&5
32613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32614 (exit $ac_status); }; } &&
32615 { ac_try
='test -s conftest.$ac_objext'
32616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32617 (eval $ac_try) 2>&5
32619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620 (exit $ac_status); }; }; then
32622 wx_cv_struct_pw_gecos
=yes
32625 echo "$as_me: failed program was:" >&5
32626 sed 's/^/| /' conftest.
$ac_ext >&5
32629 wx_cv_struct_pw_gecos
=no
32633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32637 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32638 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32640 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32641 cat >>confdefs.h
<<\_ACEOF
32642 #define HAVE_PW_GECOS 1
32648 if test "$wxUSE_WCHAR_T" = "yes"; then
32649 cat >>confdefs.h
<<\_ACEOF
32650 #define wxUSE_WCHAR_T 1
32657 for ac_func
in wcslen
32659 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32660 echo "$as_me:$LINENO: checking for $ac_func" >&5
32661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32662 if eval "test \"\${$as_ac_var+set}\" = set"; then
32663 echo $ECHO_N "(cached) $ECHO_C" >&6
32665 cat >conftest.
$ac_ext <<_ACEOF
32668 cat confdefs.h
>>conftest.
$ac_ext
32669 cat >>conftest.
$ac_ext <<_ACEOF
32670 /* end confdefs.h. */
32671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32673 #define $ac_func innocuous_$ac_func
32675 /* System header to define __stub macros and hopefully few prototypes,
32676 which can conflict with char $ac_func (); below.
32677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32678 <limits.h> exists even on freestanding compilers. */
32681 # include <limits.h>
32683 # include <assert.h>
32688 /* Override any gcc2 internal prototype to avoid an error. */
32693 /* We use char because int might match the return type of a gcc2
32694 builtin and then its argument prototype would still apply. */
32696 /* The GNU C library defines this for functions which it implements
32697 to always fail with ENOSYS. Some functions are actually named
32698 something starting with __ and the normal name is an alias. */
32699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32702 char (*f) () = $ac_func;
32711 return f != $ac_func;
32716 rm -f conftest.
$ac_objext conftest
$ac_exeext
32717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32718 (eval $ac_link) 2>conftest.er1
32720 grep -v '^ *+' conftest.er1
>conftest.err
32722 cat conftest.err
>&5
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); } &&
32725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32727 (eval $ac_try) 2>&5
32729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32730 (exit $ac_status); }; } &&
32731 { ac_try
='test -s conftest$ac_exeext'
32732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 (eval $ac_try) 2>&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; }; then
32737 eval "$as_ac_var=yes"
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.
$ac_ext >&5
32742 eval "$as_ac_var=no"
32744 rm -f conftest.err conftest.
$ac_objext \
32745 conftest
$ac_exeext conftest.
$ac_ext
32747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32749 if test `eval echo '${'$as_ac_var'}'` = yes; then
32750 cat >>confdefs.h
<<_ACEOF
32751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32758 if test "$WCSLEN_FOUND" = 0; then
32759 if test "$TOOLKIT" = "MSW"; then
32760 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32761 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32762 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32763 echo $ECHO_N "(cached) $ECHO_C" >&6
32765 ac_check_lib_save_LIBS
=$LIBS
32766 LIBS
="-lmsvcrt $LIBS"
32767 cat >conftest.
$ac_ext <<_ACEOF
32770 cat confdefs.h
>>conftest.
$ac_ext
32771 cat >>conftest.
$ac_ext <<_ACEOF
32772 /* end confdefs.h. */
32774 /* Override any gcc2 internal prototype to avoid an error. */
32778 /* We use char because int might match the return type of a gcc2
32779 builtin and then its argument prototype would still apply. */
32789 rm -f conftest.
$ac_objext conftest
$ac_exeext
32790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32791 (eval $ac_link) 2>conftest.er1
32793 grep -v '^ *+' conftest.er1
>conftest.err
32795 cat conftest.err
>&5
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); } &&
32798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32800 (eval $ac_try) 2>&5
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); }; } &&
32804 { ac_try
='test -s conftest$ac_exeext'
32805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32806 (eval $ac_try) 2>&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); }; }; then
32810 ac_cv_lib_msvcrt_wcslen
=yes
32812 echo "$as_me: failed program was:" >&5
32813 sed 's/^/| /' conftest.
$ac_ext >&5
32815 ac_cv_lib_msvcrt_wcslen
=no
32817 rm -f conftest.err conftest.
$ac_objext \
32818 conftest
$ac_exeext conftest.
$ac_ext
32819 LIBS
=$ac_check_lib_save_LIBS
32821 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32822 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32823 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32828 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32829 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32830 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32831 echo $ECHO_N "(cached) $ECHO_C" >&6
32833 ac_check_lib_save_LIBS
=$LIBS
32835 cat >conftest.
$ac_ext <<_ACEOF
32838 cat confdefs.h
>>conftest.
$ac_ext
32839 cat >>conftest.
$ac_ext <<_ACEOF
32840 /* end confdefs.h. */
32842 /* Override any gcc2 internal prototype to avoid an error. */
32846 /* We use char because int might match the return type of a gcc2
32847 builtin and then its argument prototype would still apply. */
32857 rm -f conftest.
$ac_objext conftest
$ac_exeext
32858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32859 (eval $ac_link) 2>conftest.er1
32861 grep -v '^ *+' conftest.er1
>conftest.err
32863 cat conftest.err
>&5
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); } &&
32866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32868 (eval $ac_try) 2>&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); }; } &&
32872 { ac_try
='test -s conftest$ac_exeext'
32873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32874 (eval $ac_try) 2>&5
32876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877 (exit $ac_status); }; }; then
32878 ac_cv_lib_w_wcslen
=yes
32880 echo "$as_me: failed program was:" >&5
32881 sed 's/^/| /' conftest.
$ac_ext >&5
32883 ac_cv_lib_w_wcslen
=no
32885 rm -f conftest.err conftest.
$ac_objext \
32886 conftest
$ac_exeext conftest.
$ac_ext
32887 LIBS
=$ac_check_lib_save_LIBS
32889 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32890 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32891 if test $ac_cv_lib_w_wcslen = yes; then
32901 if test "$WCSLEN_FOUND" = 1; then
32902 cat >>confdefs.h
<<\_ACEOF
32903 #define HAVE_WCSLEN 1
32908 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32909 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
32912 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32913 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32914 if test "${ac_cv_type_mbstate_t+set}" = set; then
32915 echo $ECHO_N "(cached) $ECHO_C" >&6
32917 cat >conftest.
$ac_ext <<_ACEOF
32920 cat confdefs.h
>>conftest.
$ac_ext
32921 cat >>conftest.
$ac_ext <<_ACEOF
32922 /* end confdefs.h. */
32928 if ((mbstate_t *) 0)
32930 if (sizeof (mbstate_t))
32936 rm -f conftest.
$ac_objext
32937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32938 (eval $ac_compile) 2>conftest.er1
32940 grep -v '^ *+' conftest.er1
>conftest.err
32942 cat conftest.err
>&5
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); } &&
32945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32947 (eval $ac_try) 2>&5
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); }; } &&
32951 { ac_try
='test -s conftest.$ac_objext'
32952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32953 (eval $ac_try) 2>&5
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); }; }; then
32957 ac_cv_type_mbstate_t
=yes
32959 echo "$as_me: failed program was:" >&5
32960 sed 's/^/| /' conftest.
$ac_ext >&5
32962 ac_cv_type_mbstate_t
=no
32964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32966 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32967 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32968 if test $ac_cv_type_mbstate_t = yes; then
32970 cat >>confdefs.h
<<_ACEOF
32971 #define HAVE_MBSTATE_T 1
32975 for ac_func
in wcsrtombs
32977 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32978 echo "$as_me:$LINENO: checking for $ac_func" >&5
32979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32980 if eval "test \"\${$as_ac_var+set}\" = set"; then
32981 echo $ECHO_N "(cached) $ECHO_C" >&6
32983 cat >conftest.
$ac_ext <<_ACEOF
32986 cat confdefs.h
>>conftest.
$ac_ext
32987 cat >>conftest.
$ac_ext <<_ACEOF
32988 /* end confdefs.h. */
32989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32991 #define $ac_func innocuous_$ac_func
32993 /* System header to define __stub macros and hopefully few prototypes,
32994 which can conflict with char $ac_func (); below.
32995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32996 <limits.h> exists even on freestanding compilers. */
32999 # include <limits.h>
33001 # include <assert.h>
33006 /* Override any gcc2 internal prototype to avoid an error. */
33011 /* We use char because int might match the return type of a gcc2
33012 builtin and then its argument prototype would still apply. */
33014 /* The GNU C library defines this for functions which it implements
33015 to always fail with ENOSYS. Some functions are actually named
33016 something starting with __ and the normal name is an alias. */
33017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33020 char (*f) () = $ac_func;
33029 return f != $ac_func;
33034 rm -f conftest.
$ac_objext conftest
$ac_exeext
33035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33036 (eval $ac_link) 2>conftest.er1
33038 grep -v '^ *+' conftest.er1
>conftest.err
33040 cat conftest.err
>&5
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); } &&
33043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33045 (eval $ac_try) 2>&5
33047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33048 (exit $ac_status); }; } &&
33049 { ac_try
='test -s conftest$ac_exeext'
33050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33051 (eval $ac_try) 2>&5
33053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33054 (exit $ac_status); }; }; then
33055 eval "$as_ac_var=yes"
33057 echo "$as_me: failed program was:" >&5
33058 sed 's/^/| /' conftest.
$ac_ext >&5
33060 eval "$as_ac_var=no"
33062 rm -f conftest.err conftest.
$ac_objext \
33063 conftest
$ac_exeext conftest.
$ac_ext
33065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33067 if test `eval echo '${'$as_ac_var'}'` = yes; then
33068 cat >>confdefs.h
<<_ACEOF
33069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33078 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33079 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33083 ac_cpp
='$CXXCPP $CPPFLAGS'
33084 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33085 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33086 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33091 for ac_func
in snprintf vsnprintf
33093 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33094 echo "$as_me:$LINENO: checking for $ac_func" >&5
33095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33096 if eval "test \"\${$as_ac_var+set}\" = set"; then
33097 echo $ECHO_N "(cached) $ECHO_C" >&6
33099 cat >conftest.
$ac_ext <<_ACEOF
33102 cat confdefs.h
>>conftest.
$ac_ext
33103 cat >>conftest.
$ac_ext <<_ACEOF
33104 /* end confdefs.h. */
33105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33107 #define $ac_func innocuous_$ac_func
33109 /* System header to define __stub macros and hopefully few prototypes,
33110 which can conflict with char $ac_func (); below.
33111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33112 <limits.h> exists even on freestanding compilers. */
33115 # include <limits.h>
33117 # include <assert.h>
33122 /* Override any gcc2 internal prototype to avoid an error. */
33127 /* We use char because int might match the return type of a gcc2
33128 builtin and then its argument prototype would still apply. */
33130 /* The GNU C library defines this for functions which it implements
33131 to always fail with ENOSYS. Some functions are actually named
33132 something starting with __ and the normal name is an alias. */
33133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33136 char (*f) () = $ac_func;
33145 return f != $ac_func;
33150 rm -f conftest.
$ac_objext conftest
$ac_exeext
33151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33152 (eval $ac_link) 2>conftest.er1
33154 grep -v '^ *+' conftest.er1
>conftest.err
33156 cat conftest.err
>&5
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); } &&
33159 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33161 (eval $ac_try) 2>&5
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); }; } &&
33165 { ac_try
='test -s conftest$ac_exeext'
33166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33167 (eval $ac_try) 2>&5
33169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33170 (exit $ac_status); }; }; then
33171 eval "$as_ac_var=yes"
33173 echo "$as_me: failed program was:" >&5
33174 sed 's/^/| /' conftest.
$ac_ext >&5
33176 eval "$as_ac_var=no"
33178 rm -f conftest.err conftest.
$ac_objext \
33179 conftest
$ac_exeext conftest.
$ac_ext
33181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33183 if test `eval echo '${'$as_ac_var'}'` = yes; then
33184 cat >>confdefs.h
<<_ACEOF
33185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33192 if test "$ac_cv_func_vsnprintf" = "yes"; then
33193 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33194 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33195 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33196 echo $ECHO_N "(cached) $ECHO_C" >&6
33199 cat >conftest.
$ac_ext <<_ACEOF
33202 cat confdefs.h
>>conftest.
$ac_ext
33203 cat >>conftest.
$ac_ext <<_ACEOF
33204 /* end confdefs.h. */
33207 #include <stdarg.h>
33209 #if __MSL__ >= 0x6000
33211 using namespace std;
33221 vsnprintf(buf, 10u, "%s", ap);
33227 rm -f conftest.
$ac_objext
33228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33229 (eval $ac_compile) 2>conftest.er1
33231 grep -v '^ *+' conftest.er1
>conftest.err
33233 cat conftest.err
>&5
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); } &&
33236 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33238 (eval $ac_try) 2>&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); }; } &&
33242 { ac_try
='test -s conftest.$ac_objext'
33243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33244 (eval $ac_try) 2>&5
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); }; }; then
33248 wx_cv_func_vsnprintf_decl
=yes
33250 echo "$as_me: failed program was:" >&5
33251 sed 's/^/| /' conftest.
$ac_ext >&5
33253 wx_cv_func_vsnprintf_decl
=no
33256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33260 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33261 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33263 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33264 cat >>confdefs.h
<<\_ACEOF
33265 #define HAVE_VSNPRINTF_DECL 1
33269 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33270 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33271 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33272 echo $ECHO_N "(cached) $ECHO_C" >&6
33275 cat >conftest.
$ac_ext <<_ACEOF
33278 cat confdefs.h
>>conftest.
$ac_ext
33279 cat >>conftest.
$ac_ext <<_ACEOF
33280 /* end confdefs.h. */
33283 #include <stdarg.h>
33285 #if __MSL__ >= 0x6000
33287 using namespace std;
33297 const char *fmt = "%s";
33298 vsnprintf(buf, 10u, fmt, ap);
33304 rm -f conftest.
$ac_objext
33305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33306 (eval $ac_compile) 2>conftest.er1
33308 grep -v '^ *+' conftest.er1
>conftest.err
33310 cat conftest.err
>&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); } &&
33313 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33315 (eval $ac_try) 2>&5
33317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318 (exit $ac_status); }; } &&
33319 { ac_try
='test -s conftest.$ac_objext'
33320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33321 (eval $ac_try) 2>&5
33323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33324 (exit $ac_status); }; }; then
33325 wx_cv_func_broken_vsnprintf_decl
=no
33327 echo "$as_me: failed program was:" >&5
33328 sed 's/^/| /' conftest.
$ac_ext >&5
33330 wx_cv_func_broken_vsnprintf_decl
=yes
33333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33337 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33338 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33340 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33341 cat >>confdefs.h
<<\_ACEOF
33342 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33349 if test "$ac_cv_func_snprintf" = "yes"; then
33350 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33351 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33352 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33353 echo $ECHO_N "(cached) $ECHO_C" >&6
33356 cat >conftest.
$ac_ext <<_ACEOF
33359 cat confdefs.h
>>conftest.
$ac_ext
33360 cat >>conftest.
$ac_ext <<_ACEOF
33361 /* end confdefs.h. */
33364 #include <stdarg.h>
33366 #if __MSL__ >= 0x6000
33368 using namespace std;
33377 snprintf(buf, 10u, "%s", "wx");
33383 rm -f conftest.
$ac_objext
33384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33385 (eval $ac_compile) 2>conftest.er1
33387 grep -v '^ *+' conftest.er1
>conftest.err
33389 cat conftest.err
>&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); } &&
33392 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33394 (eval $ac_try) 2>&5
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); }; } &&
33398 { ac_try
='test -s conftest.$ac_objext'
33399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33400 (eval $ac_try) 2>&5
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); }; }; then
33404 wx_cv_func_snprintf_decl
=yes
33406 echo "$as_me: failed program was:" >&5
33407 sed 's/^/| /' conftest.
$ac_ext >&5
33409 wx_cv_func_snprintf_decl
=no
33412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33416 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33417 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33419 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33420 cat >>confdefs.h
<<\_ACEOF
33421 #define HAVE_SNPRINTF_DECL 1
33425 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33426 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33427 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33428 echo $ECHO_N "(cached) $ECHO_C" >&6
33431 cat >conftest.
$ac_ext <<_ACEOF
33434 cat confdefs.h
>>conftest.
$ac_ext
33435 cat >>conftest.
$ac_ext <<_ACEOF
33436 /* end confdefs.h. */
33439 #include <stdarg.h>
33441 #if __MSL__ >= 0x6000
33443 using namespace std;
33452 const char *fmt = "%s";
33453 snprintf(buf, 10u, fmt, "wx");
33459 rm -f conftest.
$ac_objext
33460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33461 (eval $ac_compile) 2>conftest.er1
33463 grep -v '^ *+' conftest.er1
>conftest.err
33465 cat conftest.err
>&5
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); } &&
33468 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33470 (eval $ac_try) 2>&5
33472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33473 (exit $ac_status); }; } &&
33474 { ac_try
='test -s conftest.$ac_objext'
33475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33476 (eval $ac_try) 2>&5
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; }; then
33480 wx_cv_func_broken_snprintf_decl
=no
33482 echo "$as_me: failed program was:" >&5
33483 sed 's/^/| /' conftest.
$ac_ext >&5
33485 wx_cv_func_broken_snprintf_decl
=yes
33488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33492 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33493 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33495 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33496 cat >>confdefs.h
<<\_ACEOF
33497 #define HAVE_BROKEN_SNPRINTF_DECL 1
33504 if test "$wxUSE_UNICODE" = yes; then
33511 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33514 echo "$as_me:$LINENO: checking for $ac_func" >&5
33515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33516 if eval "test \"\${$as_ac_var+set}\" = set"; then
33517 echo $ECHO_N "(cached) $ECHO_C" >&6
33519 cat >conftest.
$ac_ext <<_ACEOF
33522 cat confdefs.h
>>conftest.
$ac_ext
33523 cat >>conftest.
$ac_ext <<_ACEOF
33524 /* end confdefs.h. */
33525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33527 #define $ac_func innocuous_$ac_func
33529 /* System header to define __stub macros and hopefully few prototypes,
33530 which can conflict with char $ac_func (); below.
33531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33532 <limits.h> exists even on freestanding compilers. */
33535 # include <limits.h>
33537 # include <assert.h>
33542 /* Override any gcc2 internal prototype to avoid an error. */
33547 /* We use char because int might match the return type of a gcc2
33548 builtin and then its argument prototype would still apply. */
33550 /* The GNU C library defines this for functions which it implements
33551 to always fail with ENOSYS. Some functions are actually named
33552 something starting with __ and the normal name is an alias. */
33553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33556 char (*f) () = $ac_func;
33565 return f != $ac_func;
33570 rm -f conftest.
$ac_objext conftest
$ac_exeext
33571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33572 (eval $ac_link) 2>conftest.er1
33574 grep -v '^ *+' conftest.er1
>conftest.err
33576 cat conftest.err
>&5
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); } &&
33579 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33581 (eval $ac_try) 2>&5
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); }; } &&
33585 { ac_try
='test -s conftest$ac_exeext'
33586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33587 (eval $ac_try) 2>&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); }; }; then
33591 eval "$as_ac_var=yes"
33593 echo "$as_me: failed program was:" >&5
33594 sed 's/^/| /' conftest.
$ac_ext >&5
33596 eval "$as_ac_var=no"
33598 rm -f conftest.err conftest.
$ac_objext \
33599 conftest
$ac_exeext conftest.
$ac_ext
33601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33603 if test `eval echo '${'$as_ac_var'}'` = yes; then
33604 cat >>confdefs.h
<<_ACEOF
33605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33612 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33613 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33614 cat >conftest.
$ac_ext <<_ACEOF
33617 cat confdefs.h
>>conftest.
$ac_ext
33618 cat >>conftest.
$ac_ext <<_ACEOF
33619 /* end confdefs.h. */
33629 rm -f conftest.
$ac_objext
33630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33631 (eval $ac_compile) 2>conftest.er1
33633 grep -v '^ *+' conftest.er1
>conftest.err
33635 cat conftest.err
>&5
33636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33637 (exit $ac_status); } &&
33638 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33640 (eval $ac_try) 2>&5
33642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33643 (exit $ac_status); }; } &&
33644 { ac_try
='test -s conftest.$ac_objext'
33645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33646 (eval $ac_try) 2>&5
33648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33649 (exit $ac_status); }; }; then
33650 echo "$as_me:$LINENO: result: yes" >&5
33651 echo "${ECHO_T}yes" >&6
33652 cat >>confdefs.h
<<\_ACEOF
33653 #define HAVE__VSNWPRINTF 1
33657 echo "$as_me: failed program was:" >&5
33658 sed 's/^/| /' conftest.
$ac_ext >&5
33660 echo "$as_me:$LINENO: result: no" >&5
33661 echo "${ECHO_T}no" >&6
33663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33667 ac_cpp
='$CPP $CPPFLAGS'
33668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33673 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33675 for ac_func
in fnmatch
33677 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33678 echo "$as_me:$LINENO: checking for $ac_func" >&5
33679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33680 if eval "test \"\${$as_ac_var+set}\" = set"; then
33681 echo $ECHO_N "(cached) $ECHO_C" >&6
33683 cat >conftest.
$ac_ext <<_ACEOF
33686 cat confdefs.h
>>conftest.
$ac_ext
33687 cat >>conftest.
$ac_ext <<_ACEOF
33688 /* end confdefs.h. */
33689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33691 #define $ac_func innocuous_$ac_func
33693 /* System header to define __stub macros and hopefully few prototypes,
33694 which can conflict with char $ac_func (); below.
33695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33696 <limits.h> exists even on freestanding compilers. */
33699 # include <limits.h>
33701 # include <assert.h>
33706 /* Override any gcc2 internal prototype to avoid an error. */
33711 /* We use char because int might match the return type of a gcc2
33712 builtin and then its argument prototype would still apply. */
33714 /* The GNU C library defines this for functions which it implements
33715 to always fail with ENOSYS. Some functions are actually named
33716 something starting with __ and the normal name is an alias. */
33717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33720 char (*f) () = $ac_func;
33729 return f != $ac_func;
33734 rm -f conftest.
$ac_objext conftest
$ac_exeext
33735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33736 (eval $ac_link) 2>conftest.er1
33738 grep -v '^ *+' conftest.er1
>conftest.err
33740 cat conftest.err
>&5
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); } &&
33743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33745 (eval $ac_try) 2>&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; } &&
33749 { ac_try
='test -s conftest$ac_exeext'
33750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33751 (eval $ac_try) 2>&5
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); }; }; then
33755 eval "$as_ac_var=yes"
33757 echo "$as_me: failed program was:" >&5
33758 sed 's/^/| /' conftest.
$ac_ext >&5
33760 eval "$as_ac_var=no"
33762 rm -f conftest.err conftest.
$ac_objext \
33763 conftest
$ac_exeext conftest.
$ac_ext
33765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33767 if test `eval echo '${'$as_ac_var'}'` = yes; then
33768 cat >>confdefs.h
<<_ACEOF
33769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33777 if test "$wxUSE_FILE" = "yes"; then
33779 for ac_func
in fsync
33781 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33782 echo "$as_me:$LINENO: checking for $ac_func" >&5
33783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33784 if eval "test \"\${$as_ac_var+set}\" = set"; then
33785 echo $ECHO_N "(cached) $ECHO_C" >&6
33787 cat >conftest.
$ac_ext <<_ACEOF
33790 cat confdefs.h
>>conftest.
$ac_ext
33791 cat >>conftest.
$ac_ext <<_ACEOF
33792 /* end confdefs.h. */
33793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33795 #define $ac_func innocuous_$ac_func
33797 /* System header to define __stub macros and hopefully few prototypes,
33798 which can conflict with char $ac_func (); below.
33799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33800 <limits.h> exists even on freestanding compilers. */
33803 # include <limits.h>
33805 # include <assert.h>
33810 /* Override any gcc2 internal prototype to avoid an error. */
33815 /* We use char because int might match the return type of a gcc2
33816 builtin and then its argument prototype would still apply. */
33818 /* The GNU C library defines this for functions which it implements
33819 to always fail with ENOSYS. Some functions are actually named
33820 something starting with __ and the normal name is an alias. */
33821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33824 char (*f) () = $ac_func;
33833 return f != $ac_func;
33838 rm -f conftest.
$ac_objext conftest
$ac_exeext
33839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33840 (eval $ac_link) 2>conftest.er1
33842 grep -v '^ *+' conftest.er1
>conftest.err
33844 cat conftest.err
>&5
33845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 (exit $ac_status); } &&
33847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33849 (eval $ac_try) 2>&5
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); }; } &&
33853 { ac_try
='test -s conftest$ac_exeext'
33854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33855 (eval $ac_try) 2>&5
33857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33858 (exit $ac_status); }; }; then
33859 eval "$as_ac_var=yes"
33861 echo "$as_me: failed program was:" >&5
33862 sed 's/^/| /' conftest.
$ac_ext >&5
33864 eval "$as_ac_var=no"
33866 rm -f conftest.err conftest.
$ac_objext \
33867 conftest
$ac_exeext conftest.
$ac_ext
33869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33871 if test `eval echo '${'$as_ac_var'}'` = yes; then
33872 cat >>confdefs.h
<<_ACEOF
33873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33882 if test "$TOOLKIT" != "MSW"; then
33886 ac_cpp
='$CXXCPP $CPPFLAGS'
33887 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33888 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33889 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33894 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33895 if test "${with_libiconv_prefix+set}" = set; then
33896 withval
="$with_libiconv_prefix"
33898 for dir
in `echo "$withval" | tr : ' '`; do
33899 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
33900 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
33905 echo "$as_me:$LINENO: checking for iconv" >&5
33906 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33907 if test "${am_cv_func_iconv+set}" = set; then
33908 echo $ECHO_N "(cached) $ECHO_C" >&6
33911 am_cv_func_iconv
="no, consider installing GNU libiconv"
33913 cat >conftest.
$ac_ext <<_ACEOF
33916 cat confdefs.h
>>conftest.
$ac_ext
33917 cat >>conftest.
$ac_ext <<_ACEOF
33918 /* end confdefs.h. */
33919 #include <stdlib.h>
33924 iconv_t cd = iconv_open("","");
33925 iconv(cd,NULL,NULL,NULL,NULL);
33931 rm -f conftest.
$ac_objext conftest
$ac_exeext
33932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33933 (eval $ac_link) 2>conftest.er1
33935 grep -v '^ *+' conftest.er1
>conftest.err
33937 cat conftest.err
>&5
33938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33939 (exit $ac_status); } &&
33940 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33942 (eval $ac_try) 2>&5
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); }; } &&
33946 { ac_try
='test -s conftest$ac_exeext'
33947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33948 (eval $ac_try) 2>&5
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); }; }; then
33952 am_cv_func_iconv
=yes
33954 echo "$as_me: failed program was:" >&5
33955 sed 's/^/| /' conftest.
$ac_ext >&5
33958 rm -f conftest.err conftest.
$ac_objext \
33959 conftest
$ac_exeext conftest.
$ac_ext
33960 if test "$am_cv_func_iconv" != yes; then
33961 am_save_LIBS
="$LIBS"
33962 LIBS
="$LIBS -liconv"
33963 cat >conftest.
$ac_ext <<_ACEOF
33966 cat confdefs.h
>>conftest.
$ac_ext
33967 cat >>conftest.
$ac_ext <<_ACEOF
33968 /* end confdefs.h. */
33969 #include <stdlib.h>
33974 iconv_t cd = iconv_open("","");
33975 iconv(cd,NULL,NULL,NULL,NULL);
33981 rm -f conftest.
$ac_objext conftest
$ac_exeext
33982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33983 (eval $ac_link) 2>conftest.er1
33985 grep -v '^ *+' conftest.er1
>conftest.err
33987 cat conftest.err
>&5
33988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33989 (exit $ac_status); } &&
33990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33992 (eval $ac_try) 2>&5
33994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995 (exit $ac_status); }; } &&
33996 { ac_try
='test -s conftest$ac_exeext'
33997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33998 (eval $ac_try) 2>&5
34000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34001 (exit $ac_status); }; }; then
34002 am_cv_lib_iconv
=yes
34003 am_cv_func_iconv
=yes
34005 echo "$as_me: failed program was:" >&5
34006 sed 's/^/| /' conftest.
$ac_ext >&5
34009 rm -f conftest.err conftest.
$ac_objext \
34010 conftest
$ac_exeext conftest.
$ac_ext
34011 LIBS
="$am_save_LIBS"
34015 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34016 echo "${ECHO_T}$am_cv_func_iconv" >&6
34017 if test "$am_cv_func_iconv" = yes; then
34019 cat >>confdefs.h
<<\_ACEOF
34020 #define HAVE_ICONV 1
34023 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34024 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34025 if test "${wx_cv_func_iconv_const+set}" = set; then
34026 echo $ECHO_N "(cached) $ECHO_C" >&6
34028 cat >conftest.
$ac_ext <<_ACEOF
34031 cat confdefs.h
>>conftest.
$ac_ext
34032 cat >>conftest.
$ac_ext <<_ACEOF
34033 /* end confdefs.h. */
34035 #include <stdlib.h>
34041 #if defined(__STDC__) || defined(__cplusplus)
34042 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34055 rm -f conftest.
$ac_objext
34056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34057 (eval $ac_compile) 2>conftest.er1
34059 grep -v '^ *+' conftest.er1
>conftest.err
34061 cat conftest.err
>&5
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); } &&
34064 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34066 (eval $ac_try) 2>&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); }; } &&
34070 { ac_try
='test -s conftest.$ac_objext'
34071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34072 (eval $ac_try) 2>&5
34074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34075 (exit $ac_status); }; }; then
34076 wx_cv_func_iconv_const
="no"
34078 echo "$as_me: failed program was:" >&5
34079 sed 's/^/| /' conftest.
$ac_ext >&5
34081 wx_cv_func_iconv_const
="yes"
34084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34087 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34088 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34091 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34092 iconv_const
="const"
34096 cat >>confdefs.h
<<_ACEOF
34097 #define ICONV_CONST $iconv_const
34102 if test "$am_cv_lib_iconv" = yes; then
34107 LIBS
="$LIBICONV $LIBS"
34109 ac_cpp
='$CPP $CPPFLAGS'
34110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34115 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34117 for ac_func
in sigaction
34119 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34120 echo "$as_me:$LINENO: checking for $ac_func" >&5
34121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34122 if eval "test \"\${$as_ac_var+set}\" = set"; then
34123 echo $ECHO_N "(cached) $ECHO_C" >&6
34125 cat >conftest.
$ac_ext <<_ACEOF
34128 cat confdefs.h
>>conftest.
$ac_ext
34129 cat >>conftest.
$ac_ext <<_ACEOF
34130 /* end confdefs.h. */
34131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34133 #define $ac_func innocuous_$ac_func
34135 /* System header to define __stub macros and hopefully few prototypes,
34136 which can conflict with char $ac_func (); below.
34137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34138 <limits.h> exists even on freestanding compilers. */
34141 # include <limits.h>
34143 # include <assert.h>
34148 /* Override any gcc2 internal prototype to avoid an error. */
34153 /* We use char because int might match the return type of a gcc2
34154 builtin and then its argument prototype would still apply. */
34156 /* The GNU C library defines this for functions which it implements
34157 to always fail with ENOSYS. Some functions are actually named
34158 something starting with __ and the normal name is an alias. */
34159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34162 char (*f) () = $ac_func;
34171 return f != $ac_func;
34176 rm -f conftest.
$ac_objext conftest
$ac_exeext
34177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34178 (eval $ac_link) 2>conftest.er1
34180 grep -v '^ *+' conftest.er1
>conftest.err
34182 cat conftest.err
>&5
34183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34184 (exit $ac_status); } &&
34185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34187 (eval $ac_try) 2>&5
34189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34190 (exit $ac_status); }; } &&
34191 { ac_try
='test -s conftest$ac_exeext'
34192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34193 (eval $ac_try) 2>&5
34195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34196 (exit $ac_status); }; }; then
34197 eval "$as_ac_var=yes"
34199 echo "$as_me: failed program was:" >&5
34200 sed 's/^/| /' conftest.
$ac_ext >&5
34202 eval "$as_ac_var=no"
34204 rm -f conftest.err conftest.
$ac_objext \
34205 conftest
$ac_exeext conftest.
$ac_ext
34207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34209 if test `eval echo '${'$as_ac_var'}'` = yes; then
34210 cat >>confdefs.h
<<_ACEOF
34211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34218 if test "$ac_cv_func_sigaction" = "no"; then
34219 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34220 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34221 wxUSE_ON_FATAL_EXCEPTION
=no
34224 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34226 ac_cpp
='$CXXCPP $CPPFLAGS'
34227 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34228 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34229 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34232 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34233 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34234 if test "${wx_cv_type_sa_handler+set}" = set; then
34235 echo $ECHO_N "(cached) $ECHO_C" >&6
34238 cat >conftest.
$ac_ext <<_ACEOF
34241 cat confdefs.h
>>conftest.
$ac_ext
34242 cat >>conftest.
$ac_ext <<_ACEOF
34243 /* end confdefs.h. */
34244 #include <signal.h>
34249 extern void testSigHandler(int);
34251 struct sigaction sa;
34252 sa.sa_handler = testSigHandler;
34258 rm -f conftest.
$ac_objext
34259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34260 (eval $ac_compile) 2>conftest.er1
34262 grep -v '^ *+' conftest.er1
>conftest.err
34264 cat conftest.err
>&5
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); } &&
34267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34269 (eval $ac_try) 2>&5
34271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34272 (exit $ac_status); }; } &&
34273 { ac_try
='test -s conftest.$ac_objext'
34274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34275 (eval $ac_try) 2>&5
34277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278 (exit $ac_status); }; }; then
34280 wx_cv_type_sa_handler
=int
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.
$ac_ext >&5
34287 wx_cv_type_sa_handler
=void
34290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34293 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34294 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34297 ac_cpp
='$CPP $CPPFLAGS'
34298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34303 cat >>confdefs.h
<<_ACEOF
34304 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34310 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34312 ac_cpp
='$CXXCPP $CPPFLAGS'
34313 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34318 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34319 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34320 if test "${wx_cv_func_backtrace+set}" = set; then
34321 echo $ECHO_N "(cached) $ECHO_C" >&6
34324 cat >conftest.
$ac_ext <<_ACEOF
34327 cat confdefs.h
>>conftest.
$ac_ext
34328 cat >>conftest.
$ac_ext <<_ACEOF
34329 /* end confdefs.h. */
34330 #include <execinfo.h>
34338 backtrace(trace, 1);
34339 messages = backtrace_symbols(trace, 1);
34345 rm -f conftest.
$ac_objext
34346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34347 (eval $ac_compile) 2>conftest.er1
34349 grep -v '^ *+' conftest.er1
>conftest.err
34351 cat conftest.err
>&5
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); } &&
34354 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34356 (eval $ac_try) 2>&5
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); }; } &&
34360 { ac_try
='test -s conftest.$ac_objext'
34361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34362 (eval $ac_try) 2>&5
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); }; }; then
34366 wx_cv_func_backtrace
=yes
34368 echo "$as_me: failed program was:" >&5
34369 sed 's/^/| /' conftest.
$ac_ext >&5
34371 wx_cv_func_backtrace
=no
34374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34378 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34379 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34382 if test "$wx_cv_func_backtrace" = "no"; then
34383 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34384 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34385 wxUSE_STACKWALKER
=no
34387 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34388 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34389 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34390 echo $ECHO_N "(cached) $ECHO_C" >&6
34393 cat >conftest.
$ac_ext <<_ACEOF
34396 cat confdefs.h
>>conftest.
$ac_ext
34397 cat >>conftest.
$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34399 #include <cxxabi.h>
34405 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34411 rm -f conftest.
$ac_objext conftest
$ac_exeext
34412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34413 (eval $ac_link) 2>conftest.er1
34415 grep -v '^ *+' conftest.er1
>conftest.err
34417 cat conftest.err
>&5
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); } &&
34420 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34422 (eval $ac_try) 2>&5
34424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34425 (exit $ac_status); }; } &&
34426 { ac_try
='test -s conftest$ac_exeext'
34427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34428 (eval $ac_try) 2>&5
34430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34431 (exit $ac_status); }; }; then
34432 wx_cv_func_cxa_demangle
=yes
34434 echo "$as_me: failed program was:" >&5
34435 sed 's/^/| /' conftest.
$ac_ext >&5
34437 wx_cv_func_cxa_demangle
=no
34440 rm -f conftest.err conftest.
$ac_objext \
34441 conftest
$ac_exeext conftest.
$ac_ext
34445 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34446 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34448 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34449 cat >>confdefs.h
<<\_ACEOF
34450 #define HAVE_CXA_DEMANGLE 1
34457 ac_cpp
='$CPP $CPPFLAGS'
34458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34464 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34465 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34466 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34467 wxUSE_STACKWALKER
=no
34473 for ac_func
in mkstemp mktemp
34475 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34476 echo "$as_me:$LINENO: checking for $ac_func" >&5
34477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34478 if eval "test \"\${$as_ac_var+set}\" = set"; then
34479 echo $ECHO_N "(cached) $ECHO_C" >&6
34481 cat >conftest.
$ac_ext <<_ACEOF
34484 cat confdefs.h
>>conftest.
$ac_ext
34485 cat >>conftest.
$ac_ext <<_ACEOF
34486 /* end confdefs.h. */
34487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34489 #define $ac_func innocuous_$ac_func
34491 /* System header to define __stub macros and hopefully few prototypes,
34492 which can conflict with char $ac_func (); below.
34493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34494 <limits.h> exists even on freestanding compilers. */
34497 # include <limits.h>
34499 # include <assert.h>
34504 /* Override any gcc2 internal prototype to avoid an error. */
34509 /* We use char because int might match the return type of a gcc2
34510 builtin and then its argument prototype would still apply. */
34512 /* The GNU C library defines this for functions which it implements
34513 to always fail with ENOSYS. Some functions are actually named
34514 something starting with __ and the normal name is an alias. */
34515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34518 char (*f) () = $ac_func;
34527 return f != $ac_func;
34532 rm -f conftest.
$ac_objext conftest
$ac_exeext
34533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34534 (eval $ac_link) 2>conftest.er1
34536 grep -v '^ *+' conftest.er1
>conftest.err
34538 cat conftest.err
>&5
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); } &&
34541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34543 (eval $ac_try) 2>&5
34545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34546 (exit $ac_status); }; } &&
34547 { ac_try
='test -s conftest$ac_exeext'
34548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34549 (eval $ac_try) 2>&5
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); }; }; then
34553 eval "$as_ac_var=yes"
34555 echo "$as_me: failed program was:" >&5
34556 sed 's/^/| /' conftest.
$ac_ext >&5
34558 eval "$as_ac_var=no"
34560 rm -f conftest.err conftest.
$ac_objext \
34561 conftest
$ac_exeext conftest.
$ac_ext
34563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34565 if test `eval echo '${'$as_ac_var'}'` = yes; then
34566 cat >>confdefs.h
<<_ACEOF
34567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34574 echo "$as_me:$LINENO: checking for statfs" >&5
34575 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34576 if test "${wx_cv_func_statfs+set}" = set; then
34577 echo $ECHO_N "(cached) $ECHO_C" >&6
34579 cat >conftest.
$ac_ext <<_ACEOF
34582 cat confdefs.h
>>conftest.
$ac_ext
34583 cat >>conftest.
$ac_ext <<_ACEOF
34584 /* end confdefs.h. */
34586 #if defined(__BSD__)
34587 #include <sys/param.h>
34588 #include <sys/mount.h>
34590 #include <sys/vfs.h>
34608 rm -f conftest.
$ac_objext
34609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34610 (eval $ac_compile) 2>conftest.er1
34612 grep -v '^ *+' conftest.er1
>conftest.err
34614 cat conftest.err
>&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); } &&
34617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619 (eval $ac_try) 2>&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); }; } &&
34623 { ac_try
='test -s conftest.$ac_objext'
34624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34625 (eval $ac_try) 2>&5
34627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628 (exit $ac_status); }; }; then
34629 wx_cv_func_statfs
=yes
34631 echo "$as_me: failed program was:" >&5
34632 sed 's/^/| /' conftest.
$ac_ext >&5
34634 wx_cv_func_statfs
=no
34637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34640 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34641 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34643 if test "$wx_cv_func_statfs" = "yes"; then
34645 ac_cpp
='$CXXCPP $CPPFLAGS'
34646 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34647 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34648 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34650 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34651 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34652 if test "${wx_cv_func_statfs_decl+set}" = set; then
34653 echo $ECHO_N "(cached) $ECHO_C" >&6
34655 cat >conftest.
$ac_ext <<_ACEOF
34658 cat confdefs.h
>>conftest.
$ac_ext
34659 cat >>conftest.
$ac_ext <<_ACEOF
34660 /* end confdefs.h. */
34662 #if defined(__BSD__)
34663 #include <sys/param.h>
34664 #include <sys/mount.h>
34666 #include <sys/vfs.h>
34680 rm -f conftest.
$ac_objext
34681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34682 (eval $ac_compile) 2>conftest.er1
34684 grep -v '^ *+' conftest.er1
>conftest.err
34686 cat conftest.err
>&5
34687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34688 (exit $ac_status); } &&
34689 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34691 (eval $ac_try) 2>&5
34693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34694 (exit $ac_status); }; } &&
34695 { ac_try
='test -s conftest.$ac_objext'
34696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34697 (eval $ac_try) 2>&5
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); }; }; then
34701 wx_cv_func_statfs_decl
=yes
34703 echo "$as_me: failed program was:" >&5
34704 sed 's/^/| /' conftest.
$ac_ext >&5
34706 wx_cv_func_statfs_decl
=no
34709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34712 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34713 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34715 ac_cpp
='$CPP $CPPFLAGS'
34716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34721 if test "$wx_cv_func_statfs_decl" = "yes"; then
34722 cat >>confdefs.h
<<\_ACEOF
34723 #define HAVE_STATFS_DECL 1
34728 wx_cv_type_statvfs_t
="struct statfs"
34729 cat >>confdefs.h
<<\_ACEOF
34730 #define HAVE_STATFS 1
34734 echo "$as_me:$LINENO: checking for statvfs" >&5
34735 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34736 if test "${wx_cv_func_statvfs+set}" = set; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34739 cat >conftest.
$ac_ext <<_ACEOF
34742 cat confdefs.h
>>conftest.
$ac_ext
34743 cat >>conftest.
$ac_ext <<_ACEOF
34744 /* end confdefs.h. */
34746 #include <stddef.h>
34747 #include <sys/statvfs.h>
34753 statvfs("/", NULL);
34759 rm -f conftest.
$ac_objext
34760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34761 (eval $ac_compile) 2>conftest.er1
34763 grep -v '^ *+' conftest.er1
>conftest.err
34765 cat conftest.err
>&5
34766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34767 (exit $ac_status); } &&
34768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34770 (eval $ac_try) 2>&5
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); }; } &&
34774 { ac_try
='test -s conftest.$ac_objext'
34775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34776 (eval $ac_try) 2>&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); }; }; then
34780 wx_cv_func_statvfs
=yes
34782 echo "$as_me: failed program was:" >&5
34783 sed 's/^/| /' conftest.
$ac_ext >&5
34785 wx_cv_func_statvfs
=no
34788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34791 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34792 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34794 if test "$wx_cv_func_statvfs" = "yes"; then
34796 ac_cpp
='$CXXCPP $CPPFLAGS'
34797 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34798 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34799 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34802 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34803 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34804 if test "${wx_cv_type_statvfs_t+set}" = set; then
34805 echo $ECHO_N "(cached) $ECHO_C" >&6
34807 cat >conftest.
$ac_ext <<_ACEOF
34810 cat confdefs.h
>>conftest.
$ac_ext
34811 cat >>conftest.
$ac_ext <<_ACEOF
34812 /* end confdefs.h. */
34814 #include <sys/statvfs.h>
34831 rm -f conftest.
$ac_objext
34832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34833 (eval $ac_compile) 2>conftest.er1
34835 grep -v '^ *+' conftest.er1
>conftest.err
34837 cat conftest.err
>&5
34838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34839 (exit $ac_status); } &&
34840 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34842 (eval $ac_try) 2>&5
34844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34845 (exit $ac_status); }; } &&
34846 { ac_try
='test -s conftest.$ac_objext'
34847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34848 (eval $ac_try) 2>&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); }; }; then
34852 wx_cv_type_statvfs_t
=statvfs_t
34854 echo "$as_me: failed program was:" >&5
34855 sed 's/^/| /' conftest.
$ac_ext >&5
34858 cat >conftest.
$ac_ext <<_ACEOF
34861 cat confdefs.h
>>conftest.
$ac_ext
34862 cat >>conftest.
$ac_ext <<_ACEOF
34863 /* end confdefs.h. */
34865 #include <sys/statvfs.h>
34882 rm -f conftest.
$ac_objext
34883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34884 (eval $ac_compile) 2>conftest.er1
34886 grep -v '^ *+' conftest.er1
>conftest.err
34888 cat conftest.err
>&5
34889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34890 (exit $ac_status); } &&
34891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34893 (eval $ac_try) 2>&5
34895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34896 (exit $ac_status); }; } &&
34897 { ac_try
='test -s conftest.$ac_objext'
34898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34899 (eval $ac_try) 2>&5
34901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34902 (exit $ac_status); }; }; then
34903 wx_cv_type_statvfs_t
="struct statvfs"
34905 echo "$as_me: failed program was:" >&5
34906 sed 's/^/| /' conftest.
$ac_ext >&5
34908 wx_cv_type_statvfs_t
="unknown"
34911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34918 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34919 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34922 ac_cpp
='$CPP $CPPFLAGS'
34923 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34924 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34925 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34928 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34929 cat >>confdefs.h
<<\_ACEOF
34930 #define HAVE_STATVFS 1
34935 wx_cv_type_statvfs_t
="unknown"
34939 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34940 cat >>confdefs.h
<<_ACEOF
34941 #define WX_STATFS_T $wx_cv_type_statvfs_t
34945 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34946 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34949 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34952 for ac_func
in fcntl flock
34954 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34955 echo "$as_me:$LINENO: checking for $ac_func" >&5
34956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34957 if eval "test \"\${$as_ac_var+set}\" = set"; then
34958 echo $ECHO_N "(cached) $ECHO_C" >&6
34960 cat >conftest.
$ac_ext <<_ACEOF
34963 cat confdefs.h
>>conftest.
$ac_ext
34964 cat >>conftest.
$ac_ext <<_ACEOF
34965 /* end confdefs.h. */
34966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34968 #define $ac_func innocuous_$ac_func
34970 /* System header to define __stub macros and hopefully few prototypes,
34971 which can conflict with char $ac_func (); below.
34972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34973 <limits.h> exists even on freestanding compilers. */
34976 # include <limits.h>
34978 # include <assert.h>
34983 /* Override any gcc2 internal prototype to avoid an error. */
34988 /* We use char because int might match the return type of a gcc2
34989 builtin and then its argument prototype would still apply. */
34991 /* The GNU C library defines this for functions which it implements
34992 to always fail with ENOSYS. Some functions are actually named
34993 something starting with __ and the normal name is an alias. */
34994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34997 char (*f) () = $ac_func;
35006 return f != $ac_func;
35011 rm -f conftest.
$ac_objext conftest
$ac_exeext
35012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35013 (eval $ac_link) 2>conftest.er1
35015 grep -v '^ *+' conftest.er1
>conftest.err
35017 cat conftest.err
>&5
35018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35019 (exit $ac_status); } &&
35020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35022 (eval $ac_try) 2>&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); }; } &&
35026 { ac_try
='test -s conftest$ac_exeext'
35027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35028 (eval $ac_try) 2>&5
35030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35031 (exit $ac_status); }; }; then
35032 eval "$as_ac_var=yes"
35034 echo "$as_me: failed program was:" >&5
35035 sed 's/^/| /' conftest.
$ac_ext >&5
35037 eval "$as_ac_var=no"
35039 rm -f conftest.err conftest.
$ac_objext \
35040 conftest
$ac_exeext conftest.
$ac_ext
35042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35044 if test `eval echo '${'$as_ac_var'}'` = yes; then
35045 cat >>confdefs.h
<<_ACEOF
35046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35053 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35054 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35055 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35056 wxUSE_SNGLINST_CHECKER
=no
35061 for ac_func
in timegm
35063 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35064 echo "$as_me:$LINENO: checking for $ac_func" >&5
35065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35066 if eval "test \"\${$as_ac_var+set}\" = set"; then
35067 echo $ECHO_N "(cached) $ECHO_C" >&6
35069 cat >conftest.
$ac_ext <<_ACEOF
35072 cat confdefs.h
>>conftest.
$ac_ext
35073 cat >>conftest.
$ac_ext <<_ACEOF
35074 /* end confdefs.h. */
35075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35077 #define $ac_func innocuous_$ac_func
35079 /* System header to define __stub macros and hopefully few prototypes,
35080 which can conflict with char $ac_func (); below.
35081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35082 <limits.h> exists even on freestanding compilers. */
35085 # include <limits.h>
35087 # include <assert.h>
35092 /* Override any gcc2 internal prototype to avoid an error. */
35097 /* We use char because int might match the return type of a gcc2
35098 builtin and then its argument prototype would still apply. */
35100 /* The GNU C library defines this for functions which it implements
35101 to always fail with ENOSYS. Some functions are actually named
35102 something starting with __ and the normal name is an alias. */
35103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35106 char (*f) () = $ac_func;
35115 return f != $ac_func;
35120 rm -f conftest.
$ac_objext conftest
$ac_exeext
35121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35122 (eval $ac_link) 2>conftest.er1
35124 grep -v '^ *+' conftest.er1
>conftest.err
35126 cat conftest.err
>&5
35127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35128 (exit $ac_status); } &&
35129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35131 (eval $ac_try) 2>&5
35133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35134 (exit $ac_status); }; } &&
35135 { ac_try
='test -s conftest$ac_exeext'
35136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35137 (eval $ac_try) 2>&5
35139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35140 (exit $ac_status); }; }; then
35141 eval "$as_ac_var=yes"
35143 echo "$as_me: failed program was:" >&5
35144 sed 's/^/| /' conftest.
$ac_ext >&5
35146 eval "$as_ac_var=no"
35148 rm -f conftest.err conftest.
$ac_objext \
35149 conftest
$ac_exeext conftest.
$ac_ext
35151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35153 if test `eval echo '${'$as_ac_var'}'` = yes; then
35154 cat >>confdefs.h
<<_ACEOF
35155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35164 for ac_func
in putenv setenv
35166 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35167 echo "$as_me:$LINENO: checking for $ac_func" >&5
35168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35169 if eval "test \"\${$as_ac_var+set}\" = set"; then
35170 echo $ECHO_N "(cached) $ECHO_C" >&6
35172 cat >conftest.
$ac_ext <<_ACEOF
35175 cat confdefs.h
>>conftest.
$ac_ext
35176 cat >>conftest.
$ac_ext <<_ACEOF
35177 /* end confdefs.h. */
35178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35180 #define $ac_func innocuous_$ac_func
35182 /* System header to define __stub macros and hopefully few prototypes,
35183 which can conflict with char $ac_func (); below.
35184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35185 <limits.h> exists even on freestanding compilers. */
35188 # include <limits.h>
35190 # include <assert.h>
35195 /* Override any gcc2 internal prototype to avoid an error. */
35200 /* We use char because int might match the return type of a gcc2
35201 builtin and then its argument prototype would still apply. */
35203 /* The GNU C library defines this for functions which it implements
35204 to always fail with ENOSYS. Some functions are actually named
35205 something starting with __ and the normal name is an alias. */
35206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35209 char (*f) () = $ac_func;
35218 return f != $ac_func;
35223 rm -f conftest.
$ac_objext conftest
$ac_exeext
35224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35225 (eval $ac_link) 2>conftest.er1
35227 grep -v '^ *+' conftest.er1
>conftest.err
35229 cat conftest.err
>&5
35230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231 (exit $ac_status); } &&
35232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35234 (eval $ac_try) 2>&5
35236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35237 (exit $ac_status); }; } &&
35238 { ac_try
='test -s conftest$ac_exeext'
35239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35240 (eval $ac_try) 2>&5
35242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35243 (exit $ac_status); }; }; then
35244 eval "$as_ac_var=yes"
35246 echo "$as_me: failed program was:" >&5
35247 sed 's/^/| /' conftest.
$ac_ext >&5
35249 eval "$as_ac_var=no"
35251 rm -f conftest.err conftest.
$ac_objext \
35252 conftest
$ac_exeext conftest.
$ac_ext
35254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35256 if test `eval echo '${'$as_ac_var'}'` = yes; then
35257 cat >>confdefs.h
<<_ACEOF
35258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35265 HAVE_SOME_SLEEP_FUNC
=0
35266 if test "$USE_BEOS" = 1; then
35267 cat >>confdefs.h
<<\_ACEOF
35268 #define HAVE_SLEEP 1
35271 HAVE_SOME_SLEEP_FUNC
=1
35274 if test "$USE_DARWIN" = 1; then
35275 cat >>confdefs.h
<<\_ACEOF
35276 #define HAVE_USLEEP 1
35279 HAVE_SOME_SLEEP_FUNC
=1
35282 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35285 for ac_func
in nanosleep
35287 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35288 echo "$as_me:$LINENO: checking for $ac_func" >&5
35289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35290 if eval "test \"\${$as_ac_var+set}\" = set"; then
35291 echo $ECHO_N "(cached) $ECHO_C" >&6
35293 cat >conftest.
$ac_ext <<_ACEOF
35296 cat confdefs.h
>>conftest.
$ac_ext
35297 cat >>conftest.
$ac_ext <<_ACEOF
35298 /* end confdefs.h. */
35299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35301 #define $ac_func innocuous_$ac_func
35303 /* System header to define __stub macros and hopefully few prototypes,
35304 which can conflict with char $ac_func (); below.
35305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35306 <limits.h> exists even on freestanding compilers. */
35309 # include <limits.h>
35311 # include <assert.h>
35316 /* Override any gcc2 internal prototype to avoid an error. */
35321 /* We use char because int might match the return type of a gcc2
35322 builtin and then its argument prototype would still apply. */
35324 /* The GNU C library defines this for functions which it implements
35325 to always fail with ENOSYS. Some functions are actually named
35326 something starting with __ and the normal name is an alias. */
35327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35330 char (*f) () = $ac_func;
35339 return f != $ac_func;
35344 rm -f conftest.
$ac_objext conftest
$ac_exeext
35345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35346 (eval $ac_link) 2>conftest.er1
35348 grep -v '^ *+' conftest.er1
>conftest.err
35350 cat conftest.err
>&5
35351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35352 (exit $ac_status); } &&
35353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35355 (eval $ac_try) 2>&5
35357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35358 (exit $ac_status); }; } &&
35359 { ac_try
='test -s conftest$ac_exeext'
35360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35361 (eval $ac_try) 2>&5
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); }; }; then
35365 eval "$as_ac_var=yes"
35367 echo "$as_me: failed program was:" >&5
35368 sed 's/^/| /' conftest.
$ac_ext >&5
35370 eval "$as_ac_var=no"
35372 rm -f conftest.err conftest.
$ac_objext \
35373 conftest
$ac_exeext conftest.
$ac_ext
35375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35377 if test `eval echo '${'$as_ac_var'}'` = yes; then
35378 cat >>confdefs.h
<<_ACEOF
35379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35381 cat >>confdefs.h
<<\_ACEOF
35382 #define HAVE_NANOSLEEP 1
35387 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35388 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35389 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35390 echo $ECHO_N "(cached) $ECHO_C" >&6
35392 ac_check_lib_save_LIBS
=$LIBS
35393 LIBS
="-lposix4 $LIBS"
35394 cat >conftest.
$ac_ext <<_ACEOF
35397 cat confdefs.h
>>conftest.
$ac_ext
35398 cat >>conftest.
$ac_ext <<_ACEOF
35399 /* end confdefs.h. */
35401 /* Override any gcc2 internal prototype to avoid an error. */
35405 /* We use char because int might match the return type of a gcc2
35406 builtin and then its argument prototype would still apply. */
35416 rm -f conftest.
$ac_objext conftest
$ac_exeext
35417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35418 (eval $ac_link) 2>conftest.er1
35420 grep -v '^ *+' conftest.er1
>conftest.err
35422 cat conftest.err
>&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); } &&
35425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35427 (eval $ac_try) 2>&5
35429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35430 (exit $ac_status); }; } &&
35431 { ac_try
='test -s conftest$ac_exeext'
35432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35433 (eval $ac_try) 2>&5
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); }; }; then
35437 ac_cv_lib_posix4_nanosleep
=yes
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.
$ac_ext >&5
35442 ac_cv_lib_posix4_nanosleep
=no
35444 rm -f conftest.err conftest.
$ac_objext \
35445 conftest
$ac_exeext conftest.
$ac_ext
35446 LIBS
=$ac_check_lib_save_LIBS
35448 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35449 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35450 if test $ac_cv_lib_posix4_nanosleep = yes; then
35452 cat >>confdefs.h
<<\_ACEOF
35453 #define HAVE_NANOSLEEP 1
35456 POSIX4_LINK
=" -lposix4"
35461 for ac_func
in usleep
35463 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35464 echo "$as_me:$LINENO: checking for $ac_func" >&5
35465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35466 if eval "test \"\${$as_ac_var+set}\" = set"; then
35467 echo $ECHO_N "(cached) $ECHO_C" >&6
35469 cat >conftest.
$ac_ext <<_ACEOF
35472 cat confdefs.h
>>conftest.
$ac_ext
35473 cat >>conftest.
$ac_ext <<_ACEOF
35474 /* end confdefs.h. */
35475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35477 #define $ac_func innocuous_$ac_func
35479 /* System header to define __stub macros and hopefully few prototypes,
35480 which can conflict with char $ac_func (); below.
35481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35482 <limits.h> exists even on freestanding compilers. */
35485 # include <limits.h>
35487 # include <assert.h>
35492 /* Override any gcc2 internal prototype to avoid an error. */
35497 /* We use char because int might match the return type of a gcc2
35498 builtin and then its argument prototype would still apply. */
35500 /* The GNU C library defines this for functions which it implements
35501 to always fail with ENOSYS. Some functions are actually named
35502 something starting with __ and the normal name is an alias. */
35503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35506 char (*f) () = $ac_func;
35515 return f != $ac_func;
35520 rm -f conftest.
$ac_objext conftest
$ac_exeext
35521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35522 (eval $ac_link) 2>conftest.er1
35524 grep -v '^ *+' conftest.er1
>conftest.err
35526 cat conftest.err
>&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); } &&
35529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35531 (eval $ac_try) 2>&5
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); }; } &&
35535 { ac_try
='test -s conftest$ac_exeext'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; }; then
35541 eval "$as_ac_var=yes"
35543 echo "$as_me: failed program was:" >&5
35544 sed 's/^/| /' conftest.
$ac_ext >&5
35546 eval "$as_ac_var=no"
35548 rm -f conftest.err conftest.
$ac_objext \
35549 conftest
$ac_exeext conftest.
$ac_ext
35551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35553 if test `eval echo '${'$as_ac_var'}'` = yes; then
35554 cat >>confdefs.h
<<_ACEOF
35555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35557 cat >>confdefs.h
<<\_ACEOF
35558 #define HAVE_USLEEP 1
35562 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35563 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35581 for ac_func
in uname gethostname
35583 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35584 echo "$as_me:$LINENO: checking for $ac_func" >&5
35585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35586 if eval "test \"\${$as_ac_var+set}\" = set"; then
35587 echo $ECHO_N "(cached) $ECHO_C" >&6
35589 cat >conftest.
$ac_ext <<_ACEOF
35592 cat confdefs.h
>>conftest.
$ac_ext
35593 cat >>conftest.
$ac_ext <<_ACEOF
35594 /* end confdefs.h. */
35595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35597 #define $ac_func innocuous_$ac_func
35599 /* System header to define __stub macros and hopefully few prototypes,
35600 which can conflict with char $ac_func (); below.
35601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35602 <limits.h> exists even on freestanding compilers. */
35605 # include <limits.h>
35607 # include <assert.h>
35612 /* Override any gcc2 internal prototype to avoid an error. */
35617 /* We use char because int might match the return type of a gcc2
35618 builtin and then its argument prototype would still apply. */
35620 /* The GNU C library defines this for functions which it implements
35621 to always fail with ENOSYS. Some functions are actually named
35622 something starting with __ and the normal name is an alias. */
35623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35626 char (*f) () = $ac_func;
35635 return f != $ac_func;
35640 rm -f conftest.
$ac_objext conftest
$ac_exeext
35641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35642 (eval $ac_link) 2>conftest.er1
35644 grep -v '^ *+' conftest.er1
>conftest.err
35646 cat conftest.err
>&5
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); } &&
35649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35651 (eval $ac_try) 2>&5
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); }; } &&
35655 { ac_try
='test -s conftest$ac_exeext'
35656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35657 (eval $ac_try) 2>&5
35659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35660 (exit $ac_status); }; }; then
35661 eval "$as_ac_var=yes"
35663 echo "$as_me: failed program was:" >&5
35664 sed 's/^/| /' conftest.
$ac_ext >&5
35666 eval "$as_ac_var=no"
35668 rm -f conftest.err conftest.
$ac_objext \
35669 conftest
$ac_exeext conftest.
$ac_ext
35671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35673 if test `eval echo '${'$as_ac_var'}'` = yes; then
35674 cat >>confdefs.h
<<_ACEOF
35675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35683 ac_cpp
='$CXXCPP $CPPFLAGS'
35684 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35685 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35686 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35690 for ac_func
in strtok_r
35692 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35693 echo "$as_me:$LINENO: checking for $ac_func" >&5
35694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35695 if eval "test \"\${$as_ac_var+set}\" = set"; then
35696 echo $ECHO_N "(cached) $ECHO_C" >&6
35698 cat >conftest.
$ac_ext <<_ACEOF
35701 cat confdefs.h
>>conftest.
$ac_ext
35702 cat >>conftest.
$ac_ext <<_ACEOF
35703 /* end confdefs.h. */
35704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35706 #define $ac_func innocuous_$ac_func
35708 /* System header to define __stub macros and hopefully few prototypes,
35709 which can conflict with char $ac_func (); below.
35710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35711 <limits.h> exists even on freestanding compilers. */
35714 # include <limits.h>
35716 # include <assert.h>
35721 /* Override any gcc2 internal prototype to avoid an error. */
35726 /* We use char because int might match the return type of a gcc2
35727 builtin and then its argument prototype would still apply. */
35729 /* The GNU C library defines this for functions which it implements
35730 to always fail with ENOSYS. Some functions are actually named
35731 something starting with __ and the normal name is an alias. */
35732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35735 char (*f) () = $ac_func;
35744 return f != $ac_func;
35749 rm -f conftest.
$ac_objext conftest
$ac_exeext
35750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35751 (eval $ac_link) 2>conftest.er1
35753 grep -v '^ *+' conftest.er1
>conftest.err
35755 cat conftest.err
>&5
35756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757 (exit $ac_status); } &&
35758 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35760 (eval $ac_try) 2>&5
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); }; } &&
35764 { ac_try
='test -s conftest$ac_exeext'
35765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35766 (eval $ac_try) 2>&5
35768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35769 (exit $ac_status); }; }; then
35770 eval "$as_ac_var=yes"
35772 echo "$as_me: failed program was:" >&5
35773 sed 's/^/| /' conftest.
$ac_ext >&5
35775 eval "$as_ac_var=no"
35777 rm -f conftest.err conftest.
$ac_objext \
35778 conftest
$ac_exeext conftest.
$ac_ext
35780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35782 if test `eval echo '${'$as_ac_var'}'` = yes; then
35783 cat >>confdefs.h
<<_ACEOF
35784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35792 ac_cpp
='$CPP $CPPFLAGS'
35793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35800 for ac_func
in inet_addr
35802 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35803 echo "$as_me:$LINENO: checking for $ac_func" >&5
35804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35805 if eval "test \"\${$as_ac_var+set}\" = set"; then
35806 echo $ECHO_N "(cached) $ECHO_C" >&6
35808 cat >conftest.
$ac_ext <<_ACEOF
35811 cat confdefs.h
>>conftest.
$ac_ext
35812 cat >>conftest.
$ac_ext <<_ACEOF
35813 /* end confdefs.h. */
35814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35816 #define $ac_func innocuous_$ac_func
35818 /* System header to define __stub macros and hopefully few prototypes,
35819 which can conflict with char $ac_func (); below.
35820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35821 <limits.h> exists even on freestanding compilers. */
35824 # include <limits.h>
35826 # include <assert.h>
35831 /* Override any gcc2 internal prototype to avoid an error. */
35836 /* We use char because int might match the return type of a gcc2
35837 builtin and then its argument prototype would still apply. */
35839 /* The GNU C library defines this for functions which it implements
35840 to always fail with ENOSYS. Some functions are actually named
35841 something starting with __ and the normal name is an alias. */
35842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35845 char (*f) () = $ac_func;
35854 return f != $ac_func;
35859 rm -f conftest.
$ac_objext conftest
$ac_exeext
35860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35861 (eval $ac_link) 2>conftest.er1
35863 grep -v '^ *+' conftest.er1
>conftest.err
35865 cat conftest.err
>&5
35866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35867 (exit $ac_status); } &&
35868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35870 (eval $ac_try) 2>&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); }; } &&
35874 { ac_try
='test -s conftest$ac_exeext'
35875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35876 (eval $ac_try) 2>&5
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); }; }; then
35880 eval "$as_ac_var=yes"
35882 echo "$as_me: failed program was:" >&5
35883 sed 's/^/| /' conftest.
$ac_ext >&5
35885 eval "$as_ac_var=no"
35887 rm -f conftest.err conftest.
$ac_objext \
35888 conftest
$ac_exeext conftest.
$ac_ext
35890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35892 if test `eval echo '${'$as_ac_var'}'` = yes; then
35893 cat >>confdefs.h
<<_ACEOF
35894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35896 cat >>confdefs.h
<<\_ACEOF
35897 #define HAVE_INET_ADDR 1
35902 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35903 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35904 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35905 echo $ECHO_N "(cached) $ECHO_C" >&6
35907 ac_check_lib_save_LIBS
=$LIBS
35909 cat >conftest.
$ac_ext <<_ACEOF
35912 cat confdefs.h
>>conftest.
$ac_ext
35913 cat >>conftest.
$ac_ext <<_ACEOF
35914 /* end confdefs.h. */
35916 /* Override any gcc2 internal prototype to avoid an error. */
35920 /* We use char because int might match the return type of a gcc2
35921 builtin and then its argument prototype would still apply. */
35931 rm -f conftest.
$ac_objext conftest
$ac_exeext
35932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35933 (eval $ac_link) 2>conftest.er1
35935 grep -v '^ *+' conftest.er1
>conftest.err
35937 cat conftest.err
>&5
35938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939 (exit $ac_status); } &&
35940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35942 (eval $ac_try) 2>&5
35944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35945 (exit $ac_status); }; } &&
35946 { ac_try
='test -s conftest$ac_exeext'
35947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35948 (eval $ac_try) 2>&5
35950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35951 (exit $ac_status); }; }; then
35952 ac_cv_lib_nsl_inet_addr
=yes
35954 echo "$as_me: failed program was:" >&5
35955 sed 's/^/| /' conftest.
$ac_ext >&5
35957 ac_cv_lib_nsl_inet_addr
=no
35959 rm -f conftest.err conftest.
$ac_objext \
35960 conftest
$ac_exeext conftest.
$ac_ext
35961 LIBS
=$ac_check_lib_save_LIBS
35963 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35964 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35965 if test $ac_cv_lib_nsl_inet_addr = yes; then
35969 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35970 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35971 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35972 echo $ECHO_N "(cached) $ECHO_C" >&6
35974 ac_check_lib_save_LIBS
=$LIBS
35975 LIBS
="-lresolv $LIBS"
35976 cat >conftest.
$ac_ext <<_ACEOF
35979 cat confdefs.h
>>conftest.
$ac_ext
35980 cat >>conftest.
$ac_ext <<_ACEOF
35981 /* end confdefs.h. */
35983 /* Override any gcc2 internal prototype to avoid an error. */
35987 /* We use char because int might match the return type of a gcc2
35988 builtin and then its argument prototype would still apply. */
35998 rm -f conftest.
$ac_objext conftest
$ac_exeext
35999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36000 (eval $ac_link) 2>conftest.er1
36002 grep -v '^ *+' conftest.er1
>conftest.err
36004 cat conftest.err
>&5
36005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36006 (exit $ac_status); } &&
36007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36009 (eval $ac_try) 2>&5
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); }; } &&
36013 { ac_try
='test -s conftest$ac_exeext'
36014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36015 (eval $ac_try) 2>&5
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); }; }; then
36019 ac_cv_lib_resolv_inet_addr
=yes
36021 echo "$as_me: failed program was:" >&5
36022 sed 's/^/| /' conftest.
$ac_ext >&5
36024 ac_cv_lib_resolv_inet_addr
=no
36026 rm -f conftest.err conftest.
$ac_objext \
36027 conftest
$ac_exeext conftest.
$ac_ext
36028 LIBS
=$ac_check_lib_save_LIBS
36030 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36031 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36032 if test $ac_cv_lib_resolv_inet_addr = yes; then
36036 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36037 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36038 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36039 echo $ECHO_N "(cached) $ECHO_C" >&6
36041 ac_check_lib_save_LIBS
=$LIBS
36042 LIBS
="-lsocket $LIBS"
36043 cat >conftest.
$ac_ext <<_ACEOF
36046 cat confdefs.h
>>conftest.
$ac_ext
36047 cat >>conftest.
$ac_ext <<_ACEOF
36048 /* end confdefs.h. */
36050 /* Override any gcc2 internal prototype to avoid an error. */
36054 /* We use char because int might match the return type of a gcc2
36055 builtin and then its argument prototype would still apply. */
36065 rm -f conftest.
$ac_objext conftest
$ac_exeext
36066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36067 (eval $ac_link) 2>conftest.er1
36069 grep -v '^ *+' conftest.er1
>conftest.err
36071 cat conftest.err
>&5
36072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073 (exit $ac_status); } &&
36074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36076 (eval $ac_try) 2>&5
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); }; } &&
36080 { ac_try
='test -s conftest$ac_exeext'
36081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36082 (eval $ac_try) 2>&5
36084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085 (exit $ac_status); }; }; then
36086 ac_cv_lib_socket_inet_addr
=yes
36088 echo "$as_me: failed program was:" >&5
36089 sed 's/^/| /' conftest.
$ac_ext >&5
36091 ac_cv_lib_socket_inet_addr
=no
36093 rm -f conftest.err conftest.
$ac_objext \
36094 conftest
$ac_exeext conftest.
$ac_ext
36095 LIBS
=$ac_check_lib_save_LIBS
36097 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36098 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36099 if test $ac_cv_lib_socket_inet_addr = yes; then
36119 for ac_func
in inet_aton
36121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36122 echo "$as_me:$LINENO: checking for $ac_func" >&5
36123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36124 if eval "test \"\${$as_ac_var+set}\" = set"; then
36125 echo $ECHO_N "(cached) $ECHO_C" >&6
36127 cat >conftest.
$ac_ext <<_ACEOF
36130 cat confdefs.h
>>conftest.
$ac_ext
36131 cat >>conftest.
$ac_ext <<_ACEOF
36132 /* end confdefs.h. */
36133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36135 #define $ac_func innocuous_$ac_func
36137 /* System header to define __stub macros and hopefully few prototypes,
36138 which can conflict with char $ac_func (); below.
36139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36140 <limits.h> exists even on freestanding compilers. */
36143 # include <limits.h>
36145 # include <assert.h>
36150 /* Override any gcc2 internal prototype to avoid an error. */
36155 /* We use char because int might match the return type of a gcc2
36156 builtin and then its argument prototype would still apply. */
36158 /* The GNU C library defines this for functions which it implements
36159 to always fail with ENOSYS. Some functions are actually named
36160 something starting with __ and the normal name is an alias. */
36161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36164 char (*f) () = $ac_func;
36173 return f != $ac_func;
36178 rm -f conftest.
$ac_objext conftest
$ac_exeext
36179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36180 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
36201 echo "$as_me: failed program was:" >&5
36202 sed 's/^/| /' conftest.
$ac_ext >&5
36204 eval "$as_ac_var=no"
36206 rm -f conftest.err conftest.
$ac_objext \
36207 conftest
$ac_exeext conftest.
$ac_ext
36209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36211 if test `eval echo '${'$as_ac_var'}'` = yes; then
36212 cat >>confdefs.h
<<_ACEOF
36213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36215 cat >>confdefs.h
<<\_ACEOF
36216 #define HAVE_INET_ATON 1
36221 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36222 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36223 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36224 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36225 echo $ECHO_N "(cached) $ECHO_C" >&6
36227 ac_check_lib_save_LIBS
=$LIBS
36228 LIBS
="-l$INET_LINK $LIBS"
36229 cat >conftest.
$ac_ext <<_ACEOF
36232 cat confdefs.h
>>conftest.
$ac_ext
36233 cat >>conftest.
$ac_ext <<_ACEOF
36234 /* end confdefs.h. */
36236 /* Override any gcc2 internal prototype to avoid an error. */
36240 /* We use char because int might match the return type of a gcc2
36241 builtin and then its argument prototype would still apply. */
36251 rm -f conftest.
$ac_objext conftest
$ac_exeext
36252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36253 (eval $ac_link) 2>conftest.er1
36255 grep -v '^ *+' conftest.er1
>conftest.err
36257 cat conftest.err
>&5
36258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36259 (exit $ac_status); } &&
36260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36262 (eval $ac_try) 2>&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); }; } &&
36266 { ac_try
='test -s conftest$ac_exeext'
36267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36268 (eval $ac_try) 2>&5
36270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36271 (exit $ac_status); }; }; then
36272 eval "$as_ac_Lib=yes"
36274 echo "$as_me: failed program was:" >&5
36275 sed 's/^/| /' conftest.
$ac_ext >&5
36277 eval "$as_ac_Lib=no"
36279 rm -f conftest.err conftest.
$ac_objext \
36280 conftest
$ac_exeext conftest.
$ac_ext
36281 LIBS
=$ac_check_lib_save_LIBS
36283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36284 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36285 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36286 cat >>confdefs.h
<<\_ACEOF
36287 #define HAVE_INET_ATON 1
36297 if test "x$INET_LINK" != "x"; then
36298 cat >>confdefs.h
<<\_ACEOF
36299 #define HAVE_INET_ADDR 1
36302 INET_LINK
=" -l$INET_LINK"
36310 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36311 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36312 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36313 echo $ECHO_N "(cached) $ECHO_C" >&6
36315 ac_check_lib_save_LIBS
=$LIBS
36317 cat >conftest.
$ac_ext <<_ACEOF
36320 cat confdefs.h
>>conftest.
$ac_ext
36321 cat >>conftest.
$ac_ext <<_ACEOF
36322 /* end confdefs.h. */
36324 /* 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. */
36339 rm -f conftest.
$ac_objext conftest
$ac_exeext
36340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36341 (eval $ac_link) 2>conftest.er1
36343 grep -v '^ *+' conftest.er1
>conftest.err
36345 cat conftest.err
>&5
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); } &&
36348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36350 (eval $ac_try) 2>&5
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); }; } &&
36354 { ac_try
='test -s conftest$ac_exeext'
36355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36356 (eval $ac_try) 2>&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); }; }; then
36360 ac_cv_lib_esd_esd_close
=yes
36362 echo "$as_me: failed program was:" >&5
36363 sed 's/^/| /' conftest.
$ac_ext >&5
36365 ac_cv_lib_esd_esd_close
=no
36367 rm -f conftest.err conftest.
$ac_objext \
36368 conftest
$ac_exeext conftest.
$ac_ext
36369 LIBS
=$ac_check_lib_save_LIBS
36371 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36372 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36373 if test $ac_cv_lib_esd_esd_close = yes; then
36376 for ac_header
in esd.h
36378 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36380 echo "$as_me:$LINENO: checking for $ac_header" >&5
36381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36383 echo $ECHO_N "(cached) $ECHO_C" >&6
36385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36388 # Is the header compilable?
36389 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36390 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36391 cat >conftest.
$ac_ext <<_ACEOF
36394 cat confdefs.h
>>conftest.
$ac_ext
36395 cat >>conftest.
$ac_ext <<_ACEOF
36396 /* end confdefs.h. */
36397 $ac_includes_default
36398 #include <$ac_header>
36400 rm -f conftest.
$ac_objext
36401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36402 (eval $ac_compile) 2>conftest.er1
36404 grep -v '^ *+' conftest.er1
>conftest.err
36406 cat conftest.err
>&5
36407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36408 (exit $ac_status); } &&
36409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36411 (eval $ac_try) 2>&5
36413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36414 (exit $ac_status); }; } &&
36415 { ac_try
='test -s conftest.$ac_objext'
36416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36417 (eval $ac_try) 2>&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); }; }; then
36421 ac_header_compiler
=yes
36423 echo "$as_me: failed program was:" >&5
36424 sed 's/^/| /' conftest.
$ac_ext >&5
36426 ac_header_compiler
=no
36428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36429 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36430 echo "${ECHO_T}$ac_header_compiler" >&6
36432 # Is the header present?
36433 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36434 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36435 cat >conftest.
$ac_ext <<_ACEOF
36438 cat confdefs.h
>>conftest.
$ac_ext
36439 cat >>conftest.
$ac_ext <<_ACEOF
36440 /* end confdefs.h. */
36441 #include <$ac_header>
36443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36444 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36446 grep -v '^ *+' conftest.er1
>conftest.err
36448 cat conftest.err
>&5
36449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36450 (exit $ac_status); } >/dev
/null
; then
36451 if test -s conftest.err
; then
36452 ac_cpp_err
=$ac_c_preproc_warn_flag
36453 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36460 if test -z "$ac_cpp_err"; then
36461 ac_header_preproc
=yes
36463 echo "$as_me: failed program was:" >&5
36464 sed 's/^/| /' conftest.
$ac_ext >&5
36466 ac_header_preproc
=no
36468 rm -f conftest.err conftest.
$ac_ext
36469 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36470 echo "${ECHO_T}$ac_header_preproc" >&6
36472 # So? What about this header?
36473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36476 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36478 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36479 ac_header_preproc
=yes
36482 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36483 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36484 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36485 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36486 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36487 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36488 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36489 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36492 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36493 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36496 ## ----------------------------------------- ##
36497 ## Report this to wx-dev@lists.wxwidgets.org ##
36498 ## ----------------------------------------- ##
36501 sed "s/^/$as_me: WARNING: /" >&2
36504 echo "$as_me:$LINENO: checking for $ac_header" >&5
36505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36507 echo $ECHO_N "(cached) $ECHO_C" >&6
36509 eval "$as_ac_Header=\$ac_header_preproc"
36511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36516 cat >>confdefs.h
<<_ACEOF
36517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36520 EXTRALIBS_ESD
="-lesd"
36531 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36532 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36533 cat >conftest.
$ac_ext <<_ACEOF
36536 cat confdefs.h
>>conftest.
$ac_ext
36537 cat >>conftest.
$ac_ext <<_ACEOF
36538 /* end confdefs.h. */
36540 #include <linux/cdrom.h>
36543 #include <sys/cdio.h>
36549 struct cdrom_tocentry entry, old_entry;
36554 rm -f conftest.
$ac_objext
36555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36556 (eval $ac_compile) 2>conftest.er1
36558 grep -v '^ *+' conftest.er1
>conftest.err
36560 cat conftest.err
>&5
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); } &&
36563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36565 (eval $ac_try) 2>&5
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); }; } &&
36569 { ac_try
='test -s conftest.$ac_objext'
36570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36571 (eval $ac_try) 2>&5
36573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36574 (exit $ac_status); }; }; then
36575 echo "$as_me:$LINENO: result: yes" >&5
36576 echo "${ECHO_T}yes" >&6
36577 cat >>confdefs.h
<<\_ACEOF
36578 #define HAVE_KNOWN_CDROM_INTERFACE 1
36582 echo "$as_me: failed program was:" >&5
36583 sed 's/^/| /' conftest.
$ac_ext >&5
36585 echo "$as_me:$LINENO: result: no" >&5
36586 echo "${ECHO_T}no" >&6
36588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36591 cat >confcache
<<\_ACEOF
36592 # This file is a shell script that caches the results of configure
36593 # tests run on this system so they can be shared between configure
36594 # scripts and configure runs, see configure's option --config-cache.
36595 # It is not useful on other systems. If it contains results you don't
36596 # want to keep, you may remove or edit it.
36598 # config.status only pays attention to the cache file if you give it
36599 # the --recheck option to rerun configure.
36601 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36602 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36603 # following values.
36607 # The following way of writing the cache mishandles newlines in values,
36608 # but we know of no workaround that is simple, portable, and efficient.
36609 # So, don't put newlines in cache variables' values.
36610 # Ultrix sh set writes to stderr and can't be redirected directly,
36611 # and sets the high bit in the cache file unless we assign to the vars.
36614 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36616 # `set' does not quote correctly, so add quotes (double-quote
36617 # substitution turns \\\\ into \\, and sed turns \\ into \).
36620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36623 # `set' quotes correctly as required by POSIX, so do not add quotes.
36625 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36632 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36634 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36636 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36637 if test -w $cache_file; then
36638 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36639 cat confcache
>$cache_file
36641 echo "not updating unwritable cache $cache_file"
36647 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36653 if test "$wxUSE_THREADS" = "yes" ; then
36654 if test "$USE_BEOS" = 1; then
36655 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36656 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36661 if test "$wxUSE_THREADS" = "yes" ; then
36664 THREAD_OPTS
="-pthread"
36666 *-*-solaris2* | *-*-sunos4* )
36667 if test "x$GCC" = "xyes"; then
36668 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36670 THREAD_OPTS
="-mt $THREAD_OPTS"
36674 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36676 *-*-darwin* | *-*-cygwin* )
36680 THREAD_OPTS
="pthreads"
36683 if test "x$GCC" = "xyes"; then
36684 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36692 if test "x$GCC" = "xyes"; then
36698 if test "x$GCC" != "xyes"; then
36699 THREAD_OPTS
="-Ethread"
36704 THREAD_OPTS
="$THREAD_OPTS pthread none"
36707 for flag
in $THREAD_OPTS; do
36710 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36711 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36715 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36716 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36717 THREADS_CFLAGS
="$flag"
36721 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36722 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36723 THREADS_LINK
="-l$flag"
36728 save_CFLAGS
="$CFLAGS"
36729 LIBS
="$THREADS_LINK $LIBS"
36730 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
36732 cat >conftest.
$ac_ext <<_ACEOF
36735 cat confdefs.h
>>conftest.
$ac_ext
36736 cat >>conftest.
$ac_ext <<_ACEOF
36737 /* end confdefs.h. */
36738 #include <pthread.h>
36742 pthread_create(0,0,0,0);
36747 rm -f conftest.
$ac_objext conftest
$ac_exeext
36748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36749 (eval $ac_link) 2>conftest.er1
36751 grep -v '^ *+' conftest.er1
>conftest.err
36753 cat conftest.err
>&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); } &&
36756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36758 (eval $ac_try) 2>&5
36760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36761 (exit $ac_status); }; } &&
36762 { ac_try
='test -s conftest$ac_exeext'
36763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36764 (eval $ac_try) 2>&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); }; }; then
36770 echo "$as_me: failed program was:" >&5
36771 sed 's/^/| /' conftest.
$ac_ext >&5
36774 rm -f conftest.err conftest.
$ac_objext \
36775 conftest
$ac_exeext conftest.
$ac_ext
36778 CFLAGS
="$save_CFLAGS"
36780 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36781 echo "${ECHO_T}$THREADS_OK" >&6
36782 if test "x$THREADS_OK" = "xyes"; then
36790 if test "x$THREADS_OK" != "xyes"; then
36792 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36793 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36795 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
36796 LIBS
="$THREADS_LINK $LIBS"
36798 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36799 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36803 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
36804 flag
="-D_THREAD_SAFE"
36807 flag
="-D_THREAD_SAFE"
36810 flag
="-D_REENTRANT"
36811 if test "x$GCC" != "xyes"; then
36812 flag
="$flag -D_RWSTD_MULTI_THREAD"
36815 *solaris
* | alpha
*-osf*)
36816 flag
="-D_REENTRANT"
36819 echo "$as_me:$LINENO: result: ${flag}" >&5
36820 echo "${ECHO_T}${flag}" >&6
36821 if test "x$flag" != xno
; then
36822 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
36825 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
36829 if test "$wxUSE_THREADS" = "yes" ; then
36831 for ac_func
in thr_setconcurrency
36833 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36834 echo "$as_me:$LINENO: checking for $ac_func" >&5
36835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36836 if eval "test \"\${$as_ac_var+set}\" = set"; then
36837 echo $ECHO_N "(cached) $ECHO_C" >&6
36839 cat >conftest.
$ac_ext <<_ACEOF
36842 cat confdefs.h
>>conftest.
$ac_ext
36843 cat >>conftest.
$ac_ext <<_ACEOF
36844 /* end confdefs.h. */
36845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36847 #define $ac_func innocuous_$ac_func
36849 /* System header to define __stub macros and hopefully few prototypes,
36850 which can conflict with char $ac_func (); below.
36851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36852 <limits.h> exists even on freestanding compilers. */
36855 # include <limits.h>
36857 # include <assert.h>
36862 /* Override any gcc2 internal prototype to avoid an error. */
36867 /* We use char because int might match the return type of a gcc2
36868 builtin and then its argument prototype would still apply. */
36870 /* The GNU C library defines this for functions which it implements
36871 to always fail with ENOSYS. Some functions are actually named
36872 something starting with __ and the normal name is an alias. */
36873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36876 char (*f) () = $ac_func;
36885 return f != $ac_func;
36890 rm -f conftest.
$ac_objext conftest
$ac_exeext
36891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36892 (eval $ac_link) 2>conftest.er1
36894 grep -v '^ *+' conftest.er1
>conftest.err
36896 cat conftest.err
>&5
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); } &&
36899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36901 (eval $ac_try) 2>&5
36903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36904 (exit $ac_status); }; } &&
36905 { ac_try
='test -s conftest$ac_exeext'
36906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36907 (eval $ac_try) 2>&5
36909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36910 (exit $ac_status); }; }; then
36911 eval "$as_ac_var=yes"
36913 echo "$as_me: failed program was:" >&5
36914 sed 's/^/| /' conftest.
$ac_ext >&5
36916 eval "$as_ac_var=no"
36918 rm -f conftest.err conftest.
$ac_objext \
36919 conftest
$ac_exeext conftest.
$ac_ext
36921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36923 if test `eval echo '${'$as_ac_var'}'` = yes; then
36924 cat >>confdefs.h
<<_ACEOF
36925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36932 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36933 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36934 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36935 echo $ECHO_N "(cached) $ECHO_C" >&6
36938 cat >conftest.
$ac_ext <<_ACEOF
36941 cat confdefs.h
>>conftest.
$ac_ext
36942 cat >>conftest.
$ac_ext <<_ACEOF
36943 /* end confdefs.h. */
36944 #include <pthread.h>
36945 void ThreadCleanupFunc(void *p);
36952 pthread_cleanup_push(ThreadCleanupFunc, p);
36953 pthread_cleanup_pop(0);
36959 rm -f conftest.
$ac_objext
36960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36961 (eval $ac_compile) 2>conftest.er1
36963 grep -v '^ *+' conftest.er1
>conftest.err
36965 cat conftest.err
>&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); } &&
36968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36970 (eval $ac_try) 2>&5
36972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36973 (exit $ac_status); }; } &&
36974 { ac_try
='test -s conftest.$ac_objext'
36975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36976 (eval $ac_try) 2>&5
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); }; }; then
36981 wx_cv_func_pthread_cleanup
=yes
36984 echo "$as_me: failed program was:" >&5
36985 sed 's/^/| /' conftest.
$ac_ext >&5
36988 wx_cv_func_pthread_cleanup
=no
36992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36995 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36996 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36997 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36998 cat >>confdefs.h
<<\_ACEOF
36999 #define wxHAVE_PTHREAD_CLEANUP 1
37005 for ac_header
in sched.h
37007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37009 echo "$as_me:$LINENO: checking for $ac_header" >&5
37010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37012 echo $ECHO_N "(cached) $ECHO_C" >&6
37014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37017 # Is the header compilable?
37018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37020 cat >conftest.
$ac_ext <<_ACEOF
37023 cat confdefs.h
>>conftest.
$ac_ext
37024 cat >>conftest.
$ac_ext <<_ACEOF
37025 /* end confdefs.h. */
37026 $ac_includes_default
37027 #include <$ac_header>
37029 rm -f conftest.
$ac_objext
37030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37031 (eval $ac_compile) 2>conftest.er1
37033 grep -v '^ *+' conftest.er1
>conftest.err
37035 cat conftest.err
>&5
37036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037 (exit $ac_status); } &&
37038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37040 (eval $ac_try) 2>&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); }; } &&
37044 { ac_try
='test -s conftest.$ac_objext'
37045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37046 (eval $ac_try) 2>&5
37048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37049 (exit $ac_status); }; }; then
37050 ac_header_compiler
=yes
37052 echo "$as_me: failed program was:" >&5
37053 sed 's/^/| /' conftest.
$ac_ext >&5
37055 ac_header_compiler
=no
37057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37058 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37059 echo "${ECHO_T}$ac_header_compiler" >&6
37061 # Is the header present?
37062 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37063 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37064 cat >conftest.
$ac_ext <<_ACEOF
37067 cat confdefs.h
>>conftest.
$ac_ext
37068 cat >>conftest.
$ac_ext <<_ACEOF
37069 /* end confdefs.h. */
37070 #include <$ac_header>
37072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37075 grep -v '^ *+' conftest.er1
>conftest.err
37077 cat conftest.err
>&5
37078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37079 (exit $ac_status); } >/dev
/null
; then
37080 if test -s conftest.err
; then
37081 ac_cpp_err
=$ac_c_preproc_warn_flag
37082 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37089 if test -z "$ac_cpp_err"; then
37090 ac_header_preproc
=yes
37092 echo "$as_me: failed program was:" >&5
37093 sed 's/^/| /' conftest.
$ac_ext >&5
37095 ac_header_preproc
=no
37097 rm -f conftest.err conftest.
$ac_ext
37098 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37099 echo "${ECHO_T}$ac_header_preproc" >&6
37101 # So? What about this header?
37102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37104 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37105 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37107 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37108 ac_header_preproc
=yes
37111 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37112 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37113 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37114 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37115 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37116 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37117 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37118 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37120 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37121 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37122 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37125 ## ----------------------------------------- ##
37126 ## Report this to wx-dev@lists.wxwidgets.org ##
37127 ## ----------------------------------------- ##
37130 sed "s/^/$as_me: WARNING: /" >&2
37133 echo "$as_me:$LINENO: checking for $ac_header" >&5
37134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37136 echo $ECHO_N "(cached) $ECHO_C" >&6
37138 eval "$as_ac_Header=\$ac_header_preproc"
37140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37145 cat >>confdefs.h
<<_ACEOF
37146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37153 if test "$ac_cv_header_sched_h" = "yes"; then
37154 echo "$as_me:$LINENO: checking for sched_yield" >&5
37155 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37156 if test "${ac_cv_func_sched_yield+set}" = set; then
37157 echo $ECHO_N "(cached) $ECHO_C" >&6
37159 cat >conftest.
$ac_ext <<_ACEOF
37162 cat confdefs.h
>>conftest.
$ac_ext
37163 cat >>conftest.
$ac_ext <<_ACEOF
37164 /* end confdefs.h. */
37165 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37167 #define sched_yield innocuous_sched_yield
37169 /* System header to define __stub macros and hopefully few prototypes,
37170 which can conflict with char sched_yield (); below.
37171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37172 <limits.h> exists even on freestanding compilers. */
37175 # include <limits.h>
37177 # include <assert.h>
37182 /* Override any gcc2 internal prototype to avoid an error. */
37187 /* We use char because int might match the return type of a gcc2
37188 builtin and then its argument prototype would still apply. */
37189 char sched_yield ();
37190 /* The GNU C library defines this for functions which it implements
37191 to always fail with ENOSYS. Some functions are actually named
37192 something starting with __ and the normal name is an alias. */
37193 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37196 char (*f) () = sched_yield;
37205 return f != sched_yield;
37210 rm -f conftest.
$ac_objext conftest
$ac_exeext
37211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37212 (eval $ac_link) 2>conftest.er1
37214 grep -v '^ *+' conftest.er1
>conftest.err
37216 cat conftest.err
>&5
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); } &&
37219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37221 (eval $ac_try) 2>&5
37223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37224 (exit $ac_status); }; } &&
37225 { ac_try
='test -s conftest$ac_exeext'
37226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37227 (eval $ac_try) 2>&5
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); }; }; then
37231 ac_cv_func_sched_yield
=yes
37233 echo "$as_me: failed program was:" >&5
37234 sed 's/^/| /' conftest.
$ac_ext >&5
37236 ac_cv_func_sched_yield
=no
37238 rm -f conftest.err conftest.
$ac_objext \
37239 conftest
$ac_exeext conftest.
$ac_ext
37241 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37242 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37243 if test $ac_cv_func_sched_yield = yes; then
37244 cat >>confdefs.h
<<\_ACEOF
37245 #define HAVE_SCHED_YIELD 1
37250 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37251 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37252 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37253 echo $ECHO_N "(cached) $ECHO_C" >&6
37255 ac_check_lib_save_LIBS
=$LIBS
37256 LIBS
="-lposix4 $LIBS"
37257 cat >conftest.
$ac_ext <<_ACEOF
37260 cat confdefs.h
>>conftest.
$ac_ext
37261 cat >>conftest.
$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37264 /* Override any gcc2 internal prototype to avoid an error. */
37268 /* We use char because int might match the return type of a gcc2
37269 builtin and then its argument prototype would still apply. */
37270 char sched_yield ();
37279 rm -f conftest.
$ac_objext conftest
$ac_exeext
37280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37281 (eval $ac_link) 2>conftest.er1
37283 grep -v '^ *+' conftest.er1
>conftest.err
37285 cat conftest.err
>&5
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); } &&
37288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37290 (eval $ac_try) 2>&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); }; } &&
37294 { ac_try
='test -s conftest$ac_exeext'
37295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37296 (eval $ac_try) 2>&5
37298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37299 (exit $ac_status); }; }; then
37300 ac_cv_lib_posix4_sched_yield
=yes
37302 echo "$as_me: failed program was:" >&5
37303 sed 's/^/| /' conftest.
$ac_ext >&5
37305 ac_cv_lib_posix4_sched_yield
=no
37307 rm -f conftest.err conftest.
$ac_objext \
37308 conftest
$ac_exeext conftest.
$ac_ext
37309 LIBS
=$ac_check_lib_save_LIBS
37311 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37312 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37313 if test $ac_cv_lib_posix4_sched_yield = yes; then
37314 cat >>confdefs.h
<<\_ACEOF
37315 #define HAVE_SCHED_YIELD 1
37317 POSIX4_LINK
=" -lposix4"
37319 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37320 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37331 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37332 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37333 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37334 echo $ECHO_N "(cached) $ECHO_C" >&6
37336 cat >conftest.
$ac_ext <<_ACEOF
37339 cat confdefs.h
>>conftest.
$ac_ext
37340 cat >>conftest.
$ac_ext <<_ACEOF
37341 /* end confdefs.h. */
37342 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37344 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37346 /* System header to define __stub macros and hopefully few prototypes,
37347 which can conflict with char pthread_attr_getschedpolicy (); below.
37348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37349 <limits.h> exists even on freestanding compilers. */
37352 # include <limits.h>
37354 # include <assert.h>
37357 #undef pthread_attr_getschedpolicy
37359 /* Override any gcc2 internal prototype to avoid an error. */
37364 /* We use char because int might match the return type of a gcc2
37365 builtin and then its argument prototype would still apply. */
37366 char pthread_attr_getschedpolicy ();
37367 /* The GNU C library defines this for functions which it implements
37368 to always fail with ENOSYS. Some functions are actually named
37369 something starting with __ and the normal name is an alias. */
37370 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37373 char (*f) () = pthread_attr_getschedpolicy;
37382 return f != pthread_attr_getschedpolicy;
37387 rm -f conftest.
$ac_objext conftest
$ac_exeext
37388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37389 (eval $ac_link) 2>conftest.er1
37391 grep -v '^ *+' conftest.er1
>conftest.err
37393 cat conftest.err
>&5
37394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37395 (exit $ac_status); } &&
37396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37398 (eval $ac_try) 2>&5
37400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37401 (exit $ac_status); }; } &&
37402 { ac_try
='test -s conftest$ac_exeext'
37403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37404 (eval $ac_try) 2>&5
37406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37407 (exit $ac_status); }; }; then
37408 ac_cv_func_pthread_attr_getschedpolicy
=yes
37410 echo "$as_me: failed program was:" >&5
37411 sed 's/^/| /' conftest.
$ac_ext >&5
37413 ac_cv_func_pthread_attr_getschedpolicy
=no
37415 rm -f conftest.err conftest.
$ac_objext \
37416 conftest
$ac_exeext conftest.
$ac_ext
37418 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37419 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37420 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37421 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37422 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37423 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37424 echo $ECHO_N "(cached) $ECHO_C" >&6
37426 cat >conftest.
$ac_ext <<_ACEOF
37429 cat confdefs.h
>>conftest.
$ac_ext
37430 cat >>conftest.
$ac_ext <<_ACEOF
37431 /* end confdefs.h. */
37432 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37434 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37436 /* System header to define __stub macros and hopefully few prototypes,
37437 which can conflict with char pthread_attr_setschedparam (); below.
37438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37439 <limits.h> exists even on freestanding compilers. */
37442 # include <limits.h>
37444 # include <assert.h>
37447 #undef pthread_attr_setschedparam
37449 /* Override any gcc2 internal prototype to avoid an error. */
37454 /* We use char because int might match the return type of a gcc2
37455 builtin and then its argument prototype would still apply. */
37456 char pthread_attr_setschedparam ();
37457 /* The GNU C library defines this for functions which it implements
37458 to always fail with ENOSYS. Some functions are actually named
37459 something starting with __ and the normal name is an alias. */
37460 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37463 char (*f) () = pthread_attr_setschedparam;
37472 return f != pthread_attr_setschedparam;
37477 rm -f conftest.
$ac_objext conftest
$ac_exeext
37478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37479 (eval $ac_link) 2>conftest.er1
37481 grep -v '^ *+' conftest.er1
>conftest.err
37483 cat conftest.err
>&5
37484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37485 (exit $ac_status); } &&
37486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37488 (eval $ac_try) 2>&5
37490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37491 (exit $ac_status); }; } &&
37492 { ac_try
='test -s conftest$ac_exeext'
37493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37494 (eval $ac_try) 2>&5
37496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37497 (exit $ac_status); }; }; then
37498 ac_cv_func_pthread_attr_setschedparam
=yes
37500 echo "$as_me: failed program was:" >&5
37501 sed 's/^/| /' conftest.
$ac_ext >&5
37503 ac_cv_func_pthread_attr_setschedparam
=no
37505 rm -f conftest.err conftest.
$ac_objext \
37506 conftest
$ac_exeext conftest.
$ac_ext
37508 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37509 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37510 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37511 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37512 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37513 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37514 echo $ECHO_N "(cached) $ECHO_C" >&6
37516 cat >conftest.
$ac_ext <<_ACEOF
37519 cat confdefs.h
>>conftest.
$ac_ext
37520 cat >>conftest.
$ac_ext <<_ACEOF
37521 /* end confdefs.h. */
37522 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37524 #define sched_get_priority_max innocuous_sched_get_priority_max
37526 /* System header to define __stub macros and hopefully few prototypes,
37527 which can conflict with char sched_get_priority_max (); below.
37528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37529 <limits.h> exists even on freestanding compilers. */
37532 # include <limits.h>
37534 # include <assert.h>
37537 #undef sched_get_priority_max
37539 /* Override any gcc2 internal prototype to avoid an error. */
37544 /* We use char because int might match the return type of a gcc2
37545 builtin and then its argument prototype would still apply. */
37546 char sched_get_priority_max ();
37547 /* The GNU C library defines this for functions which it implements
37548 to always fail with ENOSYS. Some functions are actually named
37549 something starting with __ and the normal name is an alias. */
37550 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37553 char (*f) () = sched_get_priority_max;
37562 return f != sched_get_priority_max;
37567 rm -f conftest.
$ac_objext conftest
$ac_exeext
37568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37569 (eval $ac_link) 2>conftest.er1
37571 grep -v '^ *+' conftest.er1
>conftest.err
37573 cat conftest.err
>&5
37574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37575 (exit $ac_status); } &&
37576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37578 (eval $ac_try) 2>&5
37580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37581 (exit $ac_status); }; } &&
37582 { ac_try
='test -s conftest$ac_exeext'
37583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37584 (eval $ac_try) 2>&5
37586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37587 (exit $ac_status); }; }; then
37588 ac_cv_func_sched_get_priority_max
=yes
37590 echo "$as_me: failed program was:" >&5
37591 sed 's/^/| /' conftest.
$ac_ext >&5
37593 ac_cv_func_sched_get_priority_max
=no
37595 rm -f conftest.err conftest.
$ac_objext \
37596 conftest
$ac_exeext conftest.
$ac_ext
37598 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37599 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37600 if test $ac_cv_func_sched_get_priority_max = yes; then
37603 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37604 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37605 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37606 echo $ECHO_N "(cached) $ECHO_C" >&6
37608 ac_check_lib_save_LIBS
=$LIBS
37609 LIBS
="-lposix4 $LIBS"
37610 cat >conftest.
$ac_ext <<_ACEOF
37613 cat confdefs.h
>>conftest.
$ac_ext
37614 cat >>conftest.
$ac_ext <<_ACEOF
37615 /* end confdefs.h. */
37617 /* Override any gcc2 internal prototype to avoid an error. */
37621 /* We use char because int might match the return type of a gcc2
37622 builtin and then its argument prototype would still apply. */
37623 char sched_get_priority_max ();
37627 sched_get_priority_max ();
37632 rm -f conftest.
$ac_objext conftest
$ac_exeext
37633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37634 (eval $ac_link) 2>conftest.er1
37636 grep -v '^ *+' conftest.er1
>conftest.err
37638 cat conftest.err
>&5
37639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37640 (exit $ac_status); } &&
37641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37643 (eval $ac_try) 2>&5
37645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646 (exit $ac_status); }; } &&
37647 { ac_try
='test -s conftest$ac_exeext'
37648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37649 (eval $ac_try) 2>&5
37651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37652 (exit $ac_status); }; }; then
37653 ac_cv_lib_posix4_sched_get_priority_max
=yes
37655 echo "$as_me: failed program was:" >&5
37656 sed 's/^/| /' conftest.
$ac_ext >&5
37658 ac_cv_lib_posix4_sched_get_priority_max
=no
37660 rm -f conftest.err conftest.
$ac_objext \
37661 conftest
$ac_exeext conftest.
$ac_ext
37662 LIBS
=$ac_check_lib_save_LIBS
37664 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37665 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37666 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37669 POSIX4_LINK
=" -lposix4"
37683 if test "$HAVE_PRIOR_FUNCS" = 1; then
37684 cat >>confdefs.h
<<\_ACEOF
37685 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37689 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37690 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37693 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37694 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37695 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37696 echo $ECHO_N "(cached) $ECHO_C" >&6
37698 cat >conftest.
$ac_ext <<_ACEOF
37701 cat confdefs.h
>>conftest.
$ac_ext
37702 cat >>conftest.
$ac_ext <<_ACEOF
37703 /* end confdefs.h. */
37704 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37706 #define pthread_cancel innocuous_pthread_cancel
37708 /* System header to define __stub macros and hopefully few prototypes,
37709 which can conflict with char pthread_cancel (); below.
37710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37711 <limits.h> exists even on freestanding compilers. */
37714 # include <limits.h>
37716 # include <assert.h>
37719 #undef pthread_cancel
37721 /* Override any gcc2 internal prototype to avoid an error. */
37726 /* We use char because int might match the return type of a gcc2
37727 builtin and then its argument prototype would still apply. */
37728 char pthread_cancel ();
37729 /* The GNU C library defines this for functions which it implements
37730 to always fail with ENOSYS. Some functions are actually named
37731 something starting with __ and the normal name is an alias. */
37732 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37735 char (*f) () = pthread_cancel;
37744 return f != pthread_cancel;
37749 rm -f conftest.
$ac_objext conftest
$ac_exeext
37750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37751 (eval $ac_link) 2>conftest.er1
37753 grep -v '^ *+' conftest.er1
>conftest.err
37755 cat conftest.err
>&5
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); } &&
37758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37760 (eval $ac_try) 2>&5
37762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37763 (exit $ac_status); }; } &&
37764 { ac_try
='test -s conftest$ac_exeext'
37765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37766 (eval $ac_try) 2>&5
37768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37769 (exit $ac_status); }; }; then
37770 ac_cv_func_pthread_cancel
=yes
37772 echo "$as_me: failed program was:" >&5
37773 sed 's/^/| /' conftest.
$ac_ext >&5
37775 ac_cv_func_pthread_cancel
=no
37777 rm -f conftest.err conftest.
$ac_objext \
37778 conftest
$ac_exeext conftest.
$ac_ext
37780 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37781 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37782 if test $ac_cv_func_pthread_cancel = yes; then
37783 cat >>confdefs.h
<<\_ACEOF
37784 #define HAVE_PTHREAD_CANCEL 1
37788 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37789 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37793 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
37794 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
37795 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
37796 echo $ECHO_N "(cached) $ECHO_C" >&6
37798 cat >conftest.
$ac_ext <<_ACEOF
37801 cat confdefs.h
>>conftest.
$ac_ext
37802 cat >>conftest.
$ac_ext <<_ACEOF
37803 /* end confdefs.h. */
37804 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
37805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37806 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
37808 /* System header to define __stub macros and hopefully few prototypes,
37809 which can conflict with char pthread_attr_setstacksize (); below.
37810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37811 <limits.h> exists even on freestanding compilers. */
37814 # include <limits.h>
37816 # include <assert.h>
37819 #undef pthread_attr_setstacksize
37821 /* Override any gcc2 internal prototype to avoid an error. */
37826 /* We use char because int might match the return type of a gcc2
37827 builtin and then its argument prototype would still apply. */
37828 char pthread_attr_setstacksize ();
37829 /* The GNU C library defines this for functions which it implements
37830 to always fail with ENOSYS. Some functions are actually named
37831 something starting with __ and the normal name is an alias. */
37832 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
37835 char (*f) () = pthread_attr_setstacksize;
37844 return f != pthread_attr_setstacksize;
37849 rm -f conftest.
$ac_objext conftest
$ac_exeext
37850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37851 (eval $ac_link) 2>conftest.er1
37853 grep -v '^ *+' conftest.er1
>conftest.err
37855 cat conftest.err
>&5
37856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857 (exit $ac_status); } &&
37858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37860 (eval $ac_try) 2>&5
37862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37863 (exit $ac_status); }; } &&
37864 { ac_try
='test -s conftest$ac_exeext'
37865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37866 (eval $ac_try) 2>&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); }; }; then
37870 ac_cv_func_pthread_attr_setstacksize
=yes
37872 echo "$as_me: failed program was:" >&5
37873 sed 's/^/| /' conftest.
$ac_ext >&5
37875 ac_cv_func_pthread_attr_setstacksize
=no
37877 rm -f conftest.err conftest.
$ac_objext \
37878 conftest
$ac_exeext conftest.
$ac_ext
37880 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37881 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37882 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37883 cat >>confdefs.h
<<\_ACEOF
37884 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37891 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
37892 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
37893 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
37894 echo $ECHO_N "(cached) $ECHO_C" >&6
37897 cat >conftest.
$ac_ext <<_ACEOF
37900 cat confdefs.h
>>conftest.
$ac_ext
37901 cat >>conftest.
$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903 #include <pthread.h>
37908 pthread_mutexattr_t attr;
37909 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37915 rm -f conftest.
$ac_objext
37916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37917 (eval $ac_compile) 2>conftest.er1
37919 grep -v '^ *+' conftest.er1
>conftest.err
37921 cat conftest.err
>&5
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); } &&
37924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37926 (eval $ac_try) 2>&5
37928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37929 (exit $ac_status); }; } &&
37930 { ac_try
='test -s conftest.$ac_objext'
37931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37932 (eval $ac_try) 2>&5
37934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37935 (exit $ac_status); }; }; then
37936 wx_cv_type_pthread_mutexattr_t
=yes
37938 echo "$as_me: failed program was:" >&5
37939 sed 's/^/| /' conftest.
$ac_ext >&5
37941 wx_cv_type_pthread_mutexattr_t
=no
37944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37947 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37948 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37950 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37951 cat >>confdefs.h
<<\_ACEOF
37952 #define HAVE_PTHREAD_MUTEXATTR_T 1
37956 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
37957 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
37958 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
37959 echo $ECHO_N "(cached) $ECHO_C" >&6
37962 cat >conftest.
$ac_ext <<_ACEOF
37965 cat confdefs.h
>>conftest.
$ac_ext
37966 cat >>conftest.
$ac_ext <<_ACEOF
37967 /* end confdefs.h. */
37968 #include <pthread.h>
37973 pthread_mutexattr_t attr;
37974 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37980 rm -f conftest.
$ac_objext
37981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37982 (eval $ac_compile) 2>conftest.er1
37984 grep -v '^ *+' conftest.er1
>conftest.err
37986 cat conftest.err
>&5
37987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37988 (exit $ac_status); } &&
37989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37991 (eval $ac_try) 2>&5
37993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37994 (exit $ac_status); }; } &&
37995 { ac_try
='test -s conftest.$ac_objext'
37996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37997 (eval $ac_try) 2>&5
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); }; }; then
38001 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38003 echo "$as_me: failed program was:" >&5
38004 sed 's/^/| /' conftest.
$ac_ext >&5
38006 wx_cv_func_pthread_mutexattr_settype_decl
=no
38009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38012 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38013 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38014 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38015 cat >>confdefs.h
<<\_ACEOF
38016 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38021 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38022 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38023 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38024 echo $ECHO_N "(cached) $ECHO_C" >&6
38027 cat >conftest.
$ac_ext <<_ACEOF
38030 cat confdefs.h
>>conftest.
$ac_ext
38031 cat >>conftest.
$ac_ext <<_ACEOF
38032 /* end confdefs.h. */
38033 #include <pthread.h>
38038 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38044 rm -f conftest.
$ac_objext
38045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38046 (eval $ac_compile) 2>conftest.er1
38048 grep -v '^ *+' conftest.er1
>conftest.err
38050 cat conftest.err
>&5
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); } &&
38053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38055 (eval $ac_try) 2>&5
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); }; } &&
38059 { ac_try
='test -s conftest.$ac_objext'
38060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38061 (eval $ac_try) 2>&5
38063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064 (exit $ac_status); }; }; then
38066 wx_cv_type_pthread_rec_mutex_init
=yes
38069 echo "$as_me: failed program was:" >&5
38070 sed 's/^/| /' conftest.
$ac_ext >&5
38073 wx_cv_type_pthread_rec_mutex_init
=no
38077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38080 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38081 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38082 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38083 cat >>confdefs.h
<<\_ACEOF
38084 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38088 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38089 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38095 if test "$wxUSE_THREADS" = "yes" ; then
38098 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38099 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38100 if test "${wx_cv_cflags_mthread+set}" = set; then
38101 echo $ECHO_N "(cached) $ECHO_C" >&6
38104 CFLAGS_OLD
="$CFLAGS"
38105 CFLAGS
="-mthreads $CFLAGS"
38106 cat >conftest.
$ac_ext <<_ACEOF
38109 cat confdefs.h
>>conftest.
$ac_ext
38110 cat >>conftest.
$ac_ext <<_ACEOF
38111 /* end confdefs.h. */
38121 rm -f conftest.
$ac_objext
38122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38123 (eval $ac_compile) 2>conftest.er1
38125 grep -v '^ *+' conftest.er1
>conftest.err
38127 cat conftest.err
>&5
38128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 (exit $ac_status); } &&
38130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38132 (eval $ac_try) 2>&5
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); }; } &&
38136 { ac_try
='test -s conftest.$ac_objext'
38137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38138 (eval $ac_try) 2>&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; }; then
38142 wx_cv_cflags_mthread
=yes
38144 echo "$as_me: failed program was:" >&5
38145 sed 's/^/| /' conftest.
$ac_ext >&5
38147 wx_cv_cflags_mthread
=no
38150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38154 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38155 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38157 if test "$wx_cv_cflags_mthread" = "yes"; then
38158 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
38159 LDFLAGS
="$LDFLAGS -mthreads"
38161 CFLAGS
="$CFLAGS_OLD"
38165 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38166 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38167 LDFLAGS
="$LDFLAGS -Zmt"
38173 echo "$as_me:$LINENO: checking for localtime_r" >&5
38174 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38175 if test "${ac_cv_func_localtime_r+set}" = set; then
38176 echo $ECHO_N "(cached) $ECHO_C" >&6
38178 cat >conftest.
$ac_ext <<_ACEOF
38181 cat confdefs.h
>>conftest.
$ac_ext
38182 cat >>conftest.
$ac_ext <<_ACEOF
38183 /* end confdefs.h. */
38184 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38186 #define localtime_r innocuous_localtime_r
38188 /* System header to define __stub macros and hopefully few prototypes,
38189 which can conflict with char localtime_r (); below.
38190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38191 <limits.h> exists even on freestanding compilers. */
38194 # include <limits.h>
38196 # include <assert.h>
38201 /* Override any gcc2 internal prototype to avoid an error. */
38206 /* We use char because int might match the return type of a gcc2
38207 builtin and then its argument prototype would still apply. */
38208 char localtime_r ();
38209 /* The GNU C library defines this for functions which it implements
38210 to always fail with ENOSYS. Some functions are actually named
38211 something starting with __ and the normal name is an alias. */
38212 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38215 char (*f) () = localtime_r;
38224 return f != localtime_r;
38229 rm -f conftest.
$ac_objext conftest
$ac_exeext
38230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38231 (eval $ac_link) 2>conftest.er1
38233 grep -v '^ *+' conftest.er1
>conftest.err
38235 cat conftest.err
>&5
38236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38237 (exit $ac_status); } &&
38238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38240 (eval $ac_try) 2>&5
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); }; } &&
38244 { ac_try
='test -s conftest$ac_exeext'
38245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38246 (eval $ac_try) 2>&5
38248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38249 (exit $ac_status); }; }; then
38250 ac_cv_func_localtime_r
=yes
38252 echo "$as_me: failed program was:" >&5
38253 sed 's/^/| /' conftest.
$ac_ext >&5
38255 ac_cv_func_localtime_r
=no
38257 rm -f conftest.err conftest.
$ac_objext \
38258 conftest
$ac_exeext conftest.
$ac_ext
38260 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38261 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38262 if test $ac_cv_func_localtime_r = yes; then
38263 cat >>confdefs.h
<<\_ACEOF
38264 #define HAVE_LOCALTIME_R 1
38269 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38270 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38271 if test "${ac_cv_func_gmtime_r+set}" = set; then
38272 echo $ECHO_N "(cached) $ECHO_C" >&6
38274 cat >conftest.
$ac_ext <<_ACEOF
38277 cat confdefs.h
>>conftest.
$ac_ext
38278 cat >>conftest.
$ac_ext <<_ACEOF
38279 /* end confdefs.h. */
38280 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38282 #define gmtime_r innocuous_gmtime_r
38284 /* System header to define __stub macros and hopefully few prototypes,
38285 which can conflict with char gmtime_r (); below.
38286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38287 <limits.h> exists even on freestanding compilers. */
38290 # include <limits.h>
38292 # include <assert.h>
38297 /* Override any gcc2 internal prototype to avoid an error. */
38302 /* We use char because int might match the return type of a gcc2
38303 builtin and then its argument prototype would still apply. */
38305 /* The GNU C library defines this for functions which it implements
38306 to always fail with ENOSYS. Some functions are actually named
38307 something starting with __ and the normal name is an alias. */
38308 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38311 char (*f) () = gmtime_r;
38320 return f != gmtime_r;
38325 rm -f conftest.
$ac_objext conftest
$ac_exeext
38326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38327 (eval $ac_link) 2>conftest.er1
38329 grep -v '^ *+' conftest.er1
>conftest.err
38331 cat conftest.err
>&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); } &&
38334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38336 (eval $ac_try) 2>&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); }; } &&
38340 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
38346 ac_cv_func_gmtime_r
=yes
38348 echo "$as_me: failed program was:" >&5
38349 sed 's/^/| /' conftest.
$ac_ext >&5
38351 ac_cv_func_gmtime_r
=no
38353 rm -f conftest.err conftest.
$ac_objext \
38354 conftest
$ac_exeext conftest.
$ac_ext
38356 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38357 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38358 if test $ac_cv_func_gmtime_r = yes; then
38359 cat >>confdefs.h
<<\_ACEOF
38360 #define HAVE_GMTIME_R 1
38365 echo "$as_me:$LINENO: checking for readdir_r" >&5
38366 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38367 if test "${ac_cv_func_readdir_r+set}" = set; then
38368 echo $ECHO_N "(cached) $ECHO_C" >&6
38370 cat >conftest.
$ac_ext <<_ACEOF
38373 cat confdefs.h
>>conftest.
$ac_ext
38374 cat >>conftest.
$ac_ext <<_ACEOF
38375 /* end confdefs.h. */
38376 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38378 #define readdir_r innocuous_readdir_r
38380 /* System header to define __stub macros and hopefully few prototypes,
38381 which can conflict with char readdir_r (); below.
38382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38383 <limits.h> exists even on freestanding compilers. */
38386 # include <limits.h>
38388 # include <assert.h>
38393 /* Override any gcc2 internal prototype to avoid an error. */
38398 /* We use char because int might match the return type of a gcc2
38399 builtin and then its argument prototype would still apply. */
38401 /* The GNU C library defines this for functions which it implements
38402 to always fail with ENOSYS. Some functions are actually named
38403 something starting with __ and the normal name is an alias. */
38404 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38407 char (*f) () = readdir_r;
38416 return f != readdir_r;
38421 rm -f conftest.
$ac_objext conftest
$ac_exeext
38422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38423 (eval $ac_link) 2>conftest.er1
38425 grep -v '^ *+' conftest.er1
>conftest.err
38427 cat conftest.err
>&5
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); } &&
38430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38432 (eval $ac_try) 2>&5
38434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435 (exit $ac_status); }; } &&
38436 { ac_try
='test -s conftest$ac_exeext'
38437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38438 (eval $ac_try) 2>&5
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); }; }; then
38442 ac_cv_func_readdir_r
=yes
38444 echo "$as_me: failed program was:" >&5
38445 sed 's/^/| /' conftest.
$ac_ext >&5
38447 ac_cv_func_readdir_r
=no
38449 rm -f conftest.err conftest.
$ac_objext \
38450 conftest
$ac_exeext conftest.
$ac_ext
38452 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38453 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38454 if test $ac_cv_func_readdir_r = yes; then
38455 cat >>confdefs.h
<<\_ACEOF
38456 #define HAVE_READDIR_R 1
38463 ac_cpp
='$CXXCPP $CPPFLAGS'
38464 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38465 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38466 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38471 ac_cpp
='$CPP $CPPFLAGS'
38472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38476 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38477 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38479 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38480 echo $ECHO_N "(cached) $ECHO_C" >&6
38484 ################################################################
38486 ac_cv_func_which_gethostbyname_r
=unknown
38489 # ONE ARGUMENT (sanity check)
38492 # This should fail, as there is no variant of gethostbyname_r() that takes
38493 # a single argument. If it actually compiles, then we can assume that
38494 # netdb.h is not declaring the function, and the compiler is thereby
38495 # assuming an implicit prototype. In which case, we're out of luck.
38497 cat >conftest.
$ac_ext <<_ACEOF
38500 cat confdefs.h
>>conftest.
$ac_ext
38501 cat >>conftest.
$ac_ext <<_ACEOF
38502 /* end confdefs.h. */
38508 char *name = "www.gnu.org";
38509 (void)gethostbyname_r(name) /* ; */
38515 rm -f conftest.
$ac_objext
38516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38517 (eval $ac_compile) 2>conftest.er1
38519 grep -v '^ *+' conftest.er1
>conftest.err
38521 cat conftest.err
>&5
38522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38523 (exit $ac_status); } &&
38524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38526 (eval $ac_try) 2>&5
38528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38529 (exit $ac_status); }; } &&
38530 { ac_try
='test -s conftest.$ac_objext'
38531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38532 (eval $ac_try) 2>&5
38534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535 (exit $ac_status); }; }; then
38536 ac_cv_func_which_gethostbyname_r
=no
38538 echo "$as_me: failed program was:" >&5
38539 sed 's/^/| /' conftest.
$ac_ext >&5
38542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38549 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38551 cat >conftest.
$ac_ext <<_ACEOF
38554 cat confdefs.h
>>conftest.
$ac_ext
38555 cat >>conftest.
$ac_ext <<_ACEOF
38556 /* end confdefs.h. */
38562 char *name = "www.gnu.org";
38563 struct hostent ret, *retp;
38567 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38573 rm -f conftest.
$ac_objext
38574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38575 (eval $ac_compile) 2>conftest.er1
38577 grep -v '^ *+' conftest.er1
>conftest.err
38579 cat conftest.err
>&5
38580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38581 (exit $ac_status); } &&
38582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38584 (eval $ac_try) 2>&5
38586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38587 (exit $ac_status); }; } &&
38588 { ac_try
='test -s conftest.$ac_objext'
38589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38590 (eval $ac_try) 2>&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); }; }; then
38594 ac_cv_func_which_gethostbyname_r
=six
38596 echo "$as_me: failed program was:" >&5
38597 sed 's/^/| /' conftest.
$ac_ext >&5
38600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38609 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38611 cat >conftest.
$ac_ext <<_ACEOF
38614 cat confdefs.h
>>conftest.
$ac_ext
38615 cat >>conftest.
$ac_ext <<_ACEOF
38616 /* end confdefs.h. */
38622 char *name = "www.gnu.org";
38623 struct hostent ret;
38627 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38633 rm -f conftest.
$ac_objext
38634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38635 (eval $ac_compile) 2>conftest.er1
38637 grep -v '^ *+' conftest.er1
>conftest.err
38639 cat conftest.err
>&5
38640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641 (exit $ac_status); } &&
38642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38644 (eval $ac_try) 2>&5
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); }; } &&
38648 { ac_try
='test -s conftest.$ac_objext'
38649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38650 (eval $ac_try) 2>&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); }; }; then
38654 ac_cv_func_which_gethostbyname_r
=five
38656 echo "$as_me: failed program was:" >&5
38657 sed 's/^/| /' conftest.
$ac_ext >&5
38660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38666 # (e.g. AIX, HP-UX, Tru64)
38669 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38671 cat >conftest.
$ac_ext <<_ACEOF
38674 cat confdefs.h
>>conftest.
$ac_ext
38675 cat >>conftest.
$ac_ext <<_ACEOF
38676 /* end confdefs.h. */
38682 char *name = "www.gnu.org";
38683 struct hostent ret;
38684 struct hostent_data data;
38685 (void)gethostbyname_r(name, &ret, &data) /* ; */
38691 rm -f conftest.
$ac_objext
38692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38693 (eval $ac_compile) 2>conftest.er1
38695 grep -v '^ *+' conftest.er1
>conftest.err
38697 cat conftest.err
>&5
38698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38699 (exit $ac_status); } &&
38700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38702 (eval $ac_try) 2>&5
38704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38705 (exit $ac_status); }; } &&
38706 { ac_try
='test -s conftest.$ac_objext'
38707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38708 (eval $ac_try) 2>&5
38710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38711 (exit $ac_status); }; }; then
38712 ac_cv_func_which_gethostbyname_r
=three
38714 echo "$as_me: failed program was:" >&5
38715 sed 's/^/| /' conftest.
$ac_ext >&5
38718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38722 ################################################################
38727 case "$ac_cv_func_which_gethostbyname_r" in
38729 echo "$as_me:$LINENO: result: three" >&5
38730 echo "${ECHO_T}three" >&6
38731 cat >>confdefs.h
<<\_ACEOF
38732 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
38738 echo "$as_me:$LINENO: result: five" >&5
38739 echo "${ECHO_T}five" >&6
38740 cat >>confdefs.h
<<\_ACEOF
38741 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
38747 echo "$as_me:$LINENO: result: six" >&5
38748 echo "${ECHO_T}six" >&6
38749 cat >>confdefs.h
<<\_ACEOF
38750 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
38756 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
38757 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
38761 echo "$as_me:$LINENO: result: can't tell" >&5
38762 echo "${ECHO_T}can't tell" >&6
38766 { { echo "$as_me:$LINENO: error: internal error" >&5
38767 echo "$as_me: error: internal error" >&2;}
38768 { (exit 1); exit 1; }; }
38773 ac_cpp
='$CXXCPP $CPPFLAGS'
38774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38780 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
38781 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
38782 echo "$as_me:$LINENO: checking for gethostbyname" >&5
38783 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
38784 if test "${ac_cv_func_gethostbyname+set}" = set; then
38785 echo $ECHO_N "(cached) $ECHO_C" >&6
38787 cat >conftest.
$ac_ext <<_ACEOF
38790 cat confdefs.h
>>conftest.
$ac_ext
38791 cat >>conftest.
$ac_ext <<_ACEOF
38792 /* end confdefs.h. */
38793 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
38794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38795 #define gethostbyname innocuous_gethostbyname
38797 /* System header to define __stub macros and hopefully few prototypes,
38798 which can conflict with char gethostbyname (); below.
38799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38800 <limits.h> exists even on freestanding compilers. */
38803 # include <limits.h>
38805 # include <assert.h>
38808 #undef gethostbyname
38810 /* Override any gcc2 internal prototype to avoid an error. */
38815 /* We use char because int might match the return type of a gcc2
38816 builtin and then its argument prototype would still apply. */
38817 char gethostbyname ();
38818 /* The GNU C library defines this for functions which it implements
38819 to always fail with ENOSYS. Some functions are actually named
38820 something starting with __ and the normal name is an alias. */
38821 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
38824 char (*f) () = gethostbyname;
38833 return f != gethostbyname;
38838 rm -f conftest.
$ac_objext conftest
$ac_exeext
38839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38840 (eval $ac_link) 2>conftest.er1
38842 grep -v '^ *+' conftest.er1
>conftest.err
38844 cat conftest.err
>&5
38845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38846 (exit $ac_status); } &&
38847 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38849 (eval $ac_try) 2>&5
38851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38852 (exit $ac_status); }; } &&
38853 { ac_try
='test -s conftest$ac_exeext'
38854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38855 (eval $ac_try) 2>&5
38857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38858 (exit $ac_status); }; }; then
38859 ac_cv_func_gethostbyname
=yes
38861 echo "$as_me: failed program was:" >&5
38862 sed 's/^/| /' conftest.
$ac_ext >&5
38864 ac_cv_func_gethostbyname
=no
38866 rm -f conftest.err conftest.
$ac_objext \
38867 conftest
$ac_exeext conftest.
$ac_ext
38869 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
38870 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
38871 if test $ac_cv_func_gethostbyname = yes; then
38872 cat >>confdefs.h
<<\_ACEOF
38873 #define HAVE_GETHOSTBYNAME 1
38879 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
38880 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
38881 if test "${ac_cv_func_getservbyname_r+set}" = set; then
38882 echo $ECHO_N "(cached) $ECHO_C" >&6
38884 cat >conftest.
$ac_ext <<_ACEOF
38887 cat confdefs.h
>>conftest.
$ac_ext
38888 cat >>conftest.
$ac_ext <<_ACEOF
38889 /* end confdefs.h. */
38890 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
38891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38892 #define getservbyname_r innocuous_getservbyname_r
38894 /* System header to define __stub macros and hopefully few prototypes,
38895 which can conflict with char getservbyname_r (); below.
38896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38897 <limits.h> exists even on freestanding compilers. */
38900 # include <limits.h>
38902 # include <assert.h>
38905 #undef getservbyname_r
38907 /* Override any gcc2 internal prototype to avoid an error. */
38912 /* We use char because int might match the return type of a gcc2
38913 builtin and then its argument prototype would still apply. */
38914 char getservbyname_r ();
38915 /* The GNU C library defines this for functions which it implements
38916 to always fail with ENOSYS. Some functions are actually named
38917 something starting with __ and the normal name is an alias. */
38918 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
38921 char (*f) () = getservbyname_r;
38930 return f != getservbyname_r;
38935 rm -f conftest.
$ac_objext conftest
$ac_exeext
38936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38937 (eval $ac_link) 2>conftest.er1
38939 grep -v '^ *+' conftest.er1
>conftest.err
38941 cat conftest.err
>&5
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); } &&
38944 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38946 (eval $ac_try) 2>&5
38948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38949 (exit $ac_status); }; } &&
38950 { ac_try
='test -s conftest$ac_exeext'
38951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38952 (eval $ac_try) 2>&5
38954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955 (exit $ac_status); }; }; then
38956 ac_cv_func_getservbyname_r
=yes
38958 echo "$as_me: failed program was:" >&5
38959 sed 's/^/| /' conftest.
$ac_ext >&5
38961 ac_cv_func_getservbyname_r
=no
38963 rm -f conftest.err conftest.
$ac_objext \
38964 conftest
$ac_exeext conftest.
$ac_ext
38966 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
38967 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
38968 if test $ac_cv_func_getservbyname_r = yes; then
38969 cat >conftest.
$ac_ext <<_ACEOF
38972 cat confdefs.h
>>conftest.
$ac_ext
38973 cat >>conftest.
$ac_ext <<_ACEOF
38974 /* end confdefs.h. */
38982 struct servent *se;
38983 struct servent_data data;
38984 (void) getservbyname_r(name, proto, se, &data);
38990 rm -f conftest.
$ac_objext
38991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38992 (eval $ac_compile) 2>conftest.er1
38994 grep -v '^ *+' conftest.er1
>conftest.err
38996 cat conftest.err
>&5
38997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998 (exit $ac_status); } &&
38999 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39001 (eval $ac_try) 2>&5
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); }; } &&
39005 { ac_try
='test -s conftest.$ac_objext'
39006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39007 (eval $ac_try) 2>&5
39009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010 (exit $ac_status); }; }; then
39011 ac_cv_func_which_getservbyname_r
=four
39013 echo "$as_me: failed program was:" >&5
39014 sed 's/^/| /' conftest.
$ac_ext >&5
39016 cat >conftest.
$ac_ext <<_ACEOF
39019 cat confdefs.h
>>conftest.
$ac_ext
39020 cat >>conftest.
$ac_ext <<_ACEOF
39021 /* end confdefs.h. */
39029 struct servent *se, *res;
39032 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39038 rm -f conftest.
$ac_objext
39039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39040 (eval $ac_compile) 2>conftest.er1
39042 grep -v '^ *+' conftest.er1
>conftest.err
39044 cat conftest.err
>&5
39045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39046 (exit $ac_status); } &&
39047 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39049 (eval $ac_try) 2>&5
39051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39052 (exit $ac_status); }; } &&
39053 { ac_try
='test -s conftest.$ac_objext'
39054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39055 (eval $ac_try) 2>&5
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); }; }; then
39059 ac_cv_func_which_getservbyname_r
=six
39061 echo "$as_me: failed program was:" >&5
39062 sed 's/^/| /' conftest.
$ac_ext >&5
39064 cat >conftest.
$ac_ext <<_ACEOF
39067 cat confdefs.h
>>conftest.
$ac_ext
39068 cat >>conftest.
$ac_ext <<_ACEOF
39069 /* end confdefs.h. */
39077 struct servent *se;
39080 (void) getservbyname_r(name, proto, se, buffer, buflen)
39086 rm -f conftest.
$ac_objext
39087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39088 (eval $ac_compile) 2>conftest.er1
39090 grep -v '^ *+' conftest.er1
>conftest.err
39092 cat conftest.err
>&5
39093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39094 (exit $ac_status); } &&
39095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39097 (eval $ac_try) 2>&5
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); }; } &&
39101 { ac_try
='test -s conftest.$ac_objext'
39102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39103 (eval $ac_try) 2>&5
39105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106 (exit $ac_status); }; }; then
39107 ac_cv_func_which_getservbyname_r
=five
39109 echo "$as_me: failed program was:" >&5
39110 sed 's/^/| /' conftest.
$ac_ext >&5
39112 ac_cv_func_which_getservbyname_r
=no
39115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39123 ac_cv_func_which_getservbyname_r
=no
39127 if test $ac_cv_func_which_getservbyname_r = six
; then
39128 cat >>confdefs.h
<<\_ACEOF
39129 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39132 elif test $ac_cv_func_which_getservbyname_r = five
; then
39133 cat >>confdefs.h
<<\_ACEOF
39134 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39137 elif test $ac_cv_func_which_getservbyname_r = four
; then
39138 cat >>confdefs.h
<<\_ACEOF
39139 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39145 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39146 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39148 for ac_func
in getservbyname
39150 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39151 echo "$as_me:$LINENO: checking for $ac_func" >&5
39152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39153 if eval "test \"\${$as_ac_var+set}\" = set"; then
39154 echo $ECHO_N "(cached) $ECHO_C" >&6
39156 cat >conftest.
$ac_ext <<_ACEOF
39159 cat confdefs.h
>>conftest.
$ac_ext
39160 cat >>conftest.
$ac_ext <<_ACEOF
39161 /* end confdefs.h. */
39162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39164 #define $ac_func innocuous_$ac_func
39166 /* System header to define __stub macros and hopefully few prototypes,
39167 which can conflict with char $ac_func (); below.
39168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39169 <limits.h> exists even on freestanding compilers. */
39172 # include <limits.h>
39174 # include <assert.h>
39179 /* Override any gcc2 internal prototype to avoid an error. */
39184 /* We use char because int might match the return type of a gcc2
39185 builtin and then its argument prototype would still apply. */
39187 /* The GNU C library defines this for functions which it implements
39188 to always fail with ENOSYS. Some functions are actually named
39189 something starting with __ and the normal name is an alias. */
39190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39193 char (*f) () = $ac_func;
39202 return f != $ac_func;
39207 rm -f conftest.
$ac_objext conftest
$ac_exeext
39208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39209 (eval $ac_link) 2>conftest.er1
39211 grep -v '^ *+' conftest.er1
>conftest.err
39213 cat conftest.err
>&5
39214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39215 (exit $ac_status); } &&
39216 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39218 (eval $ac_try) 2>&5
39220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39221 (exit $ac_status); }; } &&
39222 { ac_try
='test -s conftest$ac_exeext'
39223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39224 (eval $ac_try) 2>&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); }; }; then
39228 eval "$as_ac_var=yes"
39230 echo "$as_me: failed program was:" >&5
39231 sed 's/^/| /' conftest.
$ac_ext >&5
39233 eval "$as_ac_var=no"
39235 rm -f conftest.err conftest.
$ac_objext \
39236 conftest
$ac_exeext conftest.
$ac_ext
39238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39240 if test `eval echo '${'$as_ac_var'}'` = yes; then
39241 cat >>confdefs.h
<<_ACEOF
39242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39244 cat >>confdefs.h
<<\_ACEOF
39245 #define HAVE_GETSERVBYNAME 1
39253 ac_cpp
='$CPP $CPPFLAGS'
39254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39259 if test "$wxUSE_THREADS" = "yes"; then
39260 cat >>confdefs.h
<<\_ACEOF
39261 #define wxUSE_THREADS 1
39265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39267 if test "$ac_cv_func_strtok_r" = "yes"; then
39268 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39269 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39270 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39271 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39272 echo "$as_me:$LINENO: result: yes" >&5
39273 echo "${ECHO_T}yes" >&6
39275 echo "$as_me:$LINENO: result: no" >&5
39276 echo "${ECHO_T}no" >&6
39281 if test "$WXGTK20" = 1 ; then
39282 cat >>confdefs.h
<<_ACEOF
39283 #define __WXGTK20__ $WXGTK20
39289 if test "$WXGTK12" = 1 ; then
39290 cat >>confdefs.h
<<_ACEOF
39291 #define __WXGTK12__ $WXGTK12
39296 if test "$WXGTK127" = 1 ; then
39297 cat >>confdefs.h
<<_ACEOF
39298 #define __WXGTK127__ $WXGTK127
39303 if test "$WXGPE" = 1 ; then
39304 cat >>confdefs.h
<<_ACEOF
39305 #define __WXGPE__ $WXGPE
39311 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39316 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39317 wxUSE_DEBUG_INFO
=yes
39318 if test "$GCC" = yes; then
39319 DEBUG_CFLAGS
="-ggdb"
39323 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39324 cat >>confdefs.h
<<\_ACEOF
39328 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39330 if test "$wxUSE_GTK" = 1 ; then
39331 if test "x$wxGTK_VERSION" = "x1" ; then
39332 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39337 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39338 cat >>confdefs.h
<<\_ACEOF
39339 #define wxUSE_MEMORY_TRACING 1
39342 cat >>confdefs.h
<<\_ACEOF
39343 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39346 cat >>confdefs.h
<<\_ACEOF
39347 #define wxUSE_DEBUG_NEW_ALWAYS 1
39350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
39353 if test "$wxUSE_DMALLOC" = "yes" ; then
39354 DMALLOC_LIBS
="-ldmallocthcxx"
39358 if test "$wxUSE_PROFILE" = "yes" ; then
39359 PROFILE_FLAGS
=" -pg"
39362 if test "$GCC" = "yes" ; then
39363 if test "$wxUSE_NO_RTTI" = "yes" ; then
39364 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
39366 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39367 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
39369 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39370 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
39375 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
39378 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
39384 if test "$wxUSE_OPTIMISE" = "no" ; then
39385 if test "$GCC" = yes ; then
39386 OPTIMISE_CFLAGS
="-O0"
39389 if test "$GCC" = yes ; then
39391 *-pc-os2_emx | *-pc-os2-emx )
39392 OPTIMISE_CFLAGS
="-O2"
39395 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
39399 OPTIMISE_CFLAGS
="-O"
39404 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39405 cat >>confdefs.h
<<\_ACEOF
39406 #define WXWIN_COMPATIBILITY_2_4 1
39410 WXWIN_COMPATIBILITY_2_6
="yes"
39413 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39414 cat >>confdefs.h
<<\_ACEOF
39415 #define WXWIN_COMPATIBILITY_2_6 1
39421 if test "$wxUSE_GUI" = "yes"; then
39422 cat >>confdefs.h
<<\_ACEOF
39423 #define wxUSE_GUI 1
39430 if test "$wxUSE_UNIX" = "yes"; then
39431 cat >>confdefs.h
<<\_ACEOF
39432 #define wxUSE_UNIX 1
39438 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39442 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39443 if test "$USE_DARWIN" = 1; then
39445 elif test "$USE_DOS" = 1; then
39449 for ac_func
in dlopen
39451 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39452 echo "$as_me:$LINENO: checking for $ac_func" >&5
39453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39454 if eval "test \"\${$as_ac_var+set}\" = set"; then
39455 echo $ECHO_N "(cached) $ECHO_C" >&6
39457 cat >conftest.
$ac_ext <<_ACEOF
39460 cat confdefs.h
>>conftest.
$ac_ext
39461 cat >>conftest.
$ac_ext <<_ACEOF
39462 /* end confdefs.h. */
39463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39465 #define $ac_func innocuous_$ac_func
39467 /* System header to define __stub macros and hopefully few prototypes,
39468 which can conflict with char $ac_func (); below.
39469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39470 <limits.h> exists even on freestanding compilers. */
39473 # include <limits.h>
39475 # include <assert.h>
39480 /* Override any gcc2 internal prototype to avoid an error. */
39485 /* We use char because int might match the return type of a gcc2
39486 builtin and then its argument prototype would still apply. */
39488 /* The GNU C library defines this for functions which it implements
39489 to always fail with ENOSYS. Some functions are actually named
39490 something starting with __ and the normal name is an alias. */
39491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39494 char (*f) () = $ac_func;
39503 return f != $ac_func;
39508 rm -f conftest.
$ac_objext conftest
$ac_exeext
39509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39510 (eval $ac_link) 2>conftest.er1
39512 grep -v '^ *+' conftest.er1
>conftest.err
39514 cat conftest.err
>&5
39515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39516 (exit $ac_status); } &&
39517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39519 (eval $ac_try) 2>&5
39521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39522 (exit $ac_status); }; } &&
39523 { ac_try
='test -s conftest$ac_exeext'
39524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39525 (eval $ac_try) 2>&5
39527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39528 (exit $ac_status); }; }; then
39529 eval "$as_ac_var=yes"
39531 echo "$as_me: failed program was:" >&5
39532 sed 's/^/| /' conftest.
$ac_ext >&5
39534 eval "$as_ac_var=no"
39536 rm -f conftest.err conftest.
$ac_objext \
39537 conftest
$ac_exeext conftest.
$ac_ext
39539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39541 if test `eval echo '${'$as_ac_var'}'` = yes; then
39542 cat >>confdefs.h
<<_ACEOF
39543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39546 cat >>confdefs.h
<<\_ACEOF
39547 #define HAVE_DLOPEN 1
39554 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39555 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39556 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39557 echo $ECHO_N "(cached) $ECHO_C" >&6
39559 ac_check_lib_save_LIBS
=$LIBS
39561 cat >conftest.
$ac_ext <<_ACEOF
39564 cat confdefs.h
>>conftest.
$ac_ext
39565 cat >>conftest.
$ac_ext <<_ACEOF
39566 /* end confdefs.h. */
39568 /* Override any gcc2 internal prototype to avoid an error. */
39572 /* We use char because int might match the return type of a gcc2
39573 builtin and then its argument prototype would still apply. */
39583 rm -f conftest.
$ac_objext conftest
$ac_exeext
39584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39585 (eval $ac_link) 2>conftest.er1
39587 grep -v '^ *+' conftest.er1
>conftest.err
39589 cat conftest.err
>&5
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); } &&
39592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39594 (eval $ac_try) 2>&5
39596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39597 (exit $ac_status); }; } &&
39598 { ac_try
='test -s conftest$ac_exeext'
39599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39600 (eval $ac_try) 2>&5
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); }; }; then
39604 ac_cv_lib_dl_dlopen
=yes
39606 echo "$as_me: failed program was:" >&5
39607 sed 's/^/| /' conftest.
$ac_ext >&5
39609 ac_cv_lib_dl_dlopen
=no
39611 rm -f conftest.err conftest.
$ac_objext \
39612 conftest
$ac_exeext conftest.
$ac_ext
39613 LIBS
=$ac_check_lib_save_LIBS
39615 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39616 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39617 if test $ac_cv_lib_dl_dlopen = yes; then
39619 cat >>confdefs.h
<<\_ACEOF
39620 #define HAVE_DLOPEN 1
39624 DL_LINK
=" -ldl$DL_LINK"
39629 for ac_func
in shl_load
39631 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39632 echo "$as_me:$LINENO: checking for $ac_func" >&5
39633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39634 if eval "test \"\${$as_ac_var+set}\" = set"; then
39635 echo $ECHO_N "(cached) $ECHO_C" >&6
39637 cat >conftest.
$ac_ext <<_ACEOF
39640 cat confdefs.h
>>conftest.
$ac_ext
39641 cat >>conftest.
$ac_ext <<_ACEOF
39642 /* end confdefs.h. */
39643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39645 #define $ac_func innocuous_$ac_func
39647 /* System header to define __stub macros and hopefully few prototypes,
39648 which can conflict with char $ac_func (); below.
39649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39650 <limits.h> exists even on freestanding compilers. */
39653 # include <limits.h>
39655 # include <assert.h>
39660 /* Override any gcc2 internal prototype to avoid an error. */
39665 /* We use char because int might match the return type of a gcc2
39666 builtin and then its argument prototype would still apply. */
39668 /* The GNU C library defines this for functions which it implements
39669 to always fail with ENOSYS. Some functions are actually named
39670 something starting with __ and the normal name is an alias. */
39671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39674 char (*f) () = $ac_func;
39683 return f != $ac_func;
39688 rm -f conftest.
$ac_objext conftest
$ac_exeext
39689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39690 (eval $ac_link) 2>conftest.er1
39692 grep -v '^ *+' conftest.er1
>conftest.err
39694 cat conftest.err
>&5
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); } &&
39697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39699 (eval $ac_try) 2>&5
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); }; } &&
39703 { ac_try
='test -s conftest$ac_exeext'
39704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39705 (eval $ac_try) 2>&5
39707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39708 (exit $ac_status); }; }; then
39709 eval "$as_ac_var=yes"
39711 echo "$as_me: failed program was:" >&5
39712 sed 's/^/| /' conftest.
$ac_ext >&5
39714 eval "$as_ac_var=no"
39716 rm -f conftest.err conftest.
$ac_objext \
39717 conftest
$ac_exeext conftest.
$ac_ext
39719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39721 if test `eval echo '${'$as_ac_var'}'` = yes; then
39722 cat >>confdefs.h
<<_ACEOF
39723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39726 cat >>confdefs.h
<<\_ACEOF
39727 #define HAVE_SHL_LOAD 1
39734 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
39735 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
39736 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
39737 echo $ECHO_N "(cached) $ECHO_C" >&6
39739 ac_check_lib_save_LIBS
=$LIBS
39740 LIBS
="-lshl_load $LIBS"
39741 cat >conftest.
$ac_ext <<_ACEOF
39744 cat confdefs.h
>>conftest.
$ac_ext
39745 cat >>conftest.
$ac_ext <<_ACEOF
39746 /* end confdefs.h. */
39748 /* Override any gcc2 internal prototype to avoid an error. */
39752 /* We use char because int might match the return type of a gcc2
39753 builtin and then its argument prototype would still apply. */
39763 rm -f conftest.
$ac_objext conftest
$ac_exeext
39764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39765 (eval $ac_link) 2>conftest.er1
39767 grep -v '^ *+' conftest.er1
>conftest.err
39769 cat conftest.err
>&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); } &&
39772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39774 (eval $ac_try) 2>&5
39776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39777 (exit $ac_status); }; } &&
39778 { ac_try
='test -s conftest$ac_exeext'
39779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39780 (eval $ac_try) 2>&5
39782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39783 (exit $ac_status); }; }; then
39784 ac_cv_lib_shl_load_dld
=yes
39786 echo "$as_me: failed program was:" >&5
39787 sed 's/^/| /' conftest.
$ac_ext >&5
39789 ac_cv_lib_shl_load_dld
=no
39791 rm -f conftest.err conftest.
$ac_objext \
39792 conftest
$ac_exeext conftest.
$ac_ext
39793 LIBS
=$ac_check_lib_save_LIBS
39795 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
39796 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
39797 if test $ac_cv_lib_shl_load_dld = yes; then
39800 DL_LINK
=" -ldld$DL_LINK"
39816 if test "$HAVE_DL_FUNCS" = 1; then
39818 for ac_func
in dlerror
39820 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39821 echo "$as_me:$LINENO: checking for $ac_func" >&5
39822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39823 if eval "test \"\${$as_ac_var+set}\" = set"; then
39824 echo $ECHO_N "(cached) $ECHO_C" >&6
39826 cat >conftest.
$ac_ext <<_ACEOF
39829 cat confdefs.h
>>conftest.
$ac_ext
39830 cat >>conftest.
$ac_ext <<_ACEOF
39831 /* end confdefs.h. */
39832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39834 #define $ac_func innocuous_$ac_func
39836 /* System header to define __stub macros and hopefully few prototypes,
39837 which can conflict with char $ac_func (); below.
39838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39839 <limits.h> exists even on freestanding compilers. */
39842 # include <limits.h>
39844 # include <assert.h>
39849 /* Override any gcc2 internal prototype to avoid an error. */
39854 /* We use char because int might match the return type of a gcc2
39855 builtin and then its argument prototype would still apply. */
39857 /* The GNU C library defines this for functions which it implements
39858 to always fail with ENOSYS. Some functions are actually named
39859 something starting with __ and the normal name is an alias. */
39860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39863 char (*f) () = $ac_func;
39872 return f != $ac_func;
39877 rm -f conftest.
$ac_objext conftest
$ac_exeext
39878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39879 (eval $ac_link) 2>conftest.er1
39881 grep -v '^ *+' conftest.er1
>conftest.err
39883 cat conftest.err
>&5
39884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39885 (exit $ac_status); } &&
39886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39888 (eval $ac_try) 2>&5
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); }; } &&
39892 { ac_try
='test -s conftest$ac_exeext'
39893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39894 (eval $ac_try) 2>&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); }; }; then
39898 eval "$as_ac_var=yes"
39900 echo "$as_me: failed program was:" >&5
39901 sed 's/^/| /' conftest.
$ac_ext >&5
39903 eval "$as_ac_var=no"
39905 rm -f conftest.err conftest.
$ac_objext \
39906 conftest
$ac_exeext conftest.
$ac_ext
39908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39910 if test `eval echo '${'$as_ac_var'}'` = yes; then
39911 cat >>confdefs.h
<<_ACEOF
39912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39914 cat >>confdefs.h
<<\_ACEOF
39915 #define HAVE_DLERROR 1
39920 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
39921 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
39922 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
39923 echo $ECHO_N "(cached) $ECHO_C" >&6
39925 ac_check_lib_save_LIBS
=$LIBS
39927 cat >conftest.
$ac_ext <<_ACEOF
39930 cat confdefs.h
>>conftest.
$ac_ext
39931 cat >>conftest.
$ac_ext <<_ACEOF
39932 /* end confdefs.h. */
39934 /* Override any gcc2 internal prototype to avoid an error. */
39938 /* We use char because int might match the return type of a gcc2
39939 builtin and then its argument prototype would still apply. */
39949 rm -f conftest.
$ac_objext conftest
$ac_exeext
39950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39951 (eval $ac_link) 2>conftest.er1
39953 grep -v '^ *+' conftest.er1
>conftest.err
39955 cat conftest.err
>&5
39956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39957 (exit $ac_status); } &&
39958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39960 (eval $ac_try) 2>&5
39962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39963 (exit $ac_status); }; } &&
39964 { ac_try
='test -s conftest$ac_exeext'
39965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39966 (eval $ac_try) 2>&5
39968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39969 (exit $ac_status); }; }; then
39970 ac_cv_lib_dl_dlerror
=yes
39972 echo "$as_me: failed program was:" >&5
39973 sed 's/^/| /' conftest.
$ac_ext >&5
39975 ac_cv_lib_dl_dlerror
=no
39977 rm -f conftest.err conftest.
$ac_objext \
39978 conftest
$ac_exeext conftest.
$ac_ext
39979 LIBS
=$ac_check_lib_save_LIBS
39981 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
39982 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
39983 if test $ac_cv_lib_dl_dlerror = yes; then
39984 cat >>confdefs.h
<<\_ACEOF
39985 #define HAVE_DLERROR 1
39998 if test "$HAVE_DL_FUNCS" = 0; then
39999 if test "$HAVE_SHL_FUNCS" = 0; then
40000 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40001 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40002 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40003 wxUSE_DYNAMIC_LOADER
=no
40004 wxUSE_DYNLIB_CLASS
=no
40006 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40007 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40014 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40015 cat >>confdefs.h
<<\_ACEOF
40016 #define wxUSE_DYNAMIC_LOADER 1
40020 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40021 cat >>confdefs.h
<<\_ACEOF
40022 #define wxUSE_DYNLIB_CLASS 1
40029 if test "$wxUSE_PLUGINS" = "yes" ; then
40030 if test "$wxUSE_SHARED" = "no" ; then
40031 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40032 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40035 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40036 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40037 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40040 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40041 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40042 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40045 if test "$wxUSE_PLUGINS" = "yes" ; then
40046 cat >>confdefs.h
<<\_ACEOF
40047 #define wxUSE_PLUGINS 1
40054 if test "$wxUSE_STL" = "yes"; then
40055 cat >>confdefs.h
<<\_ACEOF
40056 #define wxUSE_STL 1
40061 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40062 cat >>confdefs.h
<<\_ACEOF
40063 #define wxUSE_APPLE_IEEE 1
40068 if test "$wxUSE_TIMER" = "yes"; then
40069 cat >>confdefs.h
<<\_ACEOF
40070 #define wxUSE_TIMER 1
40075 if test "$USE_UNIX" = "1" ; then
40076 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40077 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40078 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40079 echo $ECHO_N "(cached) $ECHO_C" >&6
40082 cat >conftest.
$ac_ext <<_ACEOF
40085 cat confdefs.h
>>conftest.
$ac_ext
40086 cat >>conftest.
$ac_ext <<_ACEOF
40087 /* end confdefs.h. */
40089 #include <sys/soundcard.h>
40095 ioctl(0, SNDCTL_DSP_SYNC, 0);
40101 rm -f conftest.
$ac_objext conftest
$ac_exeext
40102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40103 (eval $ac_link) 2>conftest.er1
40105 grep -v '^ *+' conftest.er1
>conftest.err
40107 cat conftest.err
>&5
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); } &&
40110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40112 (eval $ac_try) 2>&5
40114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40115 (exit $ac_status); }; } &&
40116 { ac_try
='test -s conftest$ac_exeext'
40117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40118 (eval $ac_try) 2>&5
40120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40121 (exit $ac_status); }; }; then
40122 ac_cv_header_sys_soundcard
=yes
40124 echo "$as_me: failed program was:" >&5
40125 sed 's/^/| /' conftest.
$ac_ext >&5
40129 LIBS
="$saveLibs -lossaudio"
40130 cat >conftest.
$ac_ext <<_ACEOF
40133 cat confdefs.h
>>conftest.
$ac_ext
40134 cat >>conftest.
$ac_ext <<_ACEOF
40135 /* end confdefs.h. */
40137 #include <sys/soundcard.h>
40143 ioctl(0, SNDCTL_DSP_SYNC, 0);
40149 rm -f conftest.
$ac_objext conftest
$ac_exeext
40150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40151 (eval $ac_link) 2>conftest.er1
40153 grep -v '^ *+' conftest.er1
>conftest.err
40155 cat conftest.err
>&5
40156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40157 (exit $ac_status); } &&
40158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40160 (eval $ac_try) 2>&5
40162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40163 (exit $ac_status); }; } &&
40164 { ac_try
='test -s conftest$ac_exeext'
40165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40166 (eval $ac_try) 2>&5
40168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40169 (exit $ac_status); }; }; then
40170 ac_cv_header_sys_soundcard
=yes
40172 echo "$as_me: failed program was:" >&5
40173 sed 's/^/| /' conftest.
$ac_ext >&5
40177 ac_cv_header_sys_soundcard
=no
40181 rm -f conftest.err conftest.
$ac_objext \
40182 conftest
$ac_exeext conftest.
$ac_ext
40186 rm -f conftest.err conftest.
$ac_objext \
40187 conftest
$ac_exeext conftest.
$ac_ext
40190 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40191 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40193 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40194 cat >>confdefs.h
<<\_ACEOF
40195 #define HAVE_SYS_SOUNDCARD_H 1
40199 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40203 if test "$wxUSE_SOUND" = "yes"; then
40204 if test "$USE_UNIX" = "1" ; then
40205 if test "$wxUSE_LIBSDL" != "no"; then
40207 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40208 if test "${with_sdl_prefix+set}" = set; then
40209 withval
="$with_sdl_prefix"
40210 sdl_prefix
="$withval"
40215 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40216 if test "${with_sdl_exec_prefix+set}" = set; then
40217 withval
="$with_sdl_exec_prefix"
40218 sdl_exec_prefix
="$withval"
40222 # Check whether --enable-sdltest or --disable-sdltest was given.
40223 if test "${enable_sdltest+set}" = set; then
40224 enableval
="$enable_sdltest"
40230 if test x
$sdl_exec_prefix != x
; then
40231 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40232 if test x
${SDL_CONFIG+set} != xset
; then
40233 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40236 if test x
$sdl_prefix != x
; then
40237 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40238 if test x
${SDL_CONFIG+set} != xset
; then
40239 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40244 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40245 # Extract the first word of "sdl-config", so it can be a program name with args.
40246 set dummy sdl
-config; ac_word
=$2
40247 echo "$as_me:$LINENO: checking for $ac_word" >&5
40248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40249 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40250 echo $ECHO_N "(cached) $ECHO_C" >&6
40252 case $SDL_CONFIG in
40254 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40258 for as_dir
in $PATH
40261 test -z "$as_dir" && as_dir
=.
40262 for ac_exec_ext
in '' $ac_executable_extensions; do
40263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40264 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40271 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40275 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40277 if test -n "$SDL_CONFIG"; then
40278 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40279 echo "${ECHO_T}$SDL_CONFIG" >&6
40281 echo "$as_me:$LINENO: result: no" >&5
40282 echo "${ECHO_T}no" >&6
40285 min_sdl_version
=1.2.0
40286 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40287 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40289 if test "$SDL_CONFIG" = "no" ; then
40292 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40293 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40295 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40297 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40298 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40299 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40301 if test "x$enable_sdltest" = "xyes" ; then
40302 ac_save_CFLAGS
="$CFLAGS"
40303 ac_save_CXXFLAGS
="$CXXFLAGS"
40304 ac_save_LIBS
="$LIBS"
40305 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40306 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40307 LIBS
="$LIBS $SDL_LIBS"
40309 if test "$cross_compiling" = yes; then
40310 echo $ac_n "cross compiling; assumed OK... $ac_c"
40312 cat >conftest.
$ac_ext <<_ACEOF
40315 cat confdefs.h
>>conftest.
$ac_ext
40316 cat >>conftest.
$ac_ext <<_ACEOF
40317 /* end confdefs.h. */
40320 #include <stdlib.h>
40321 #include <string.h>
40325 my_strdup (char *str)
40331 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40332 strcpy (new_str, str);
40340 int main (int argc, char *argv[])
40342 int major, minor, micro;
40345 /* This hangs on some systems (?)
40346 system ("touch conf.sdltest");
40348 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40350 /* HP/UX 9 (%@#!) writes to sscanf strings */
40351 tmp_version = my_strdup("$min_sdl_version");
40352 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40353 printf("%s, bad version string\n", "$min_sdl_version");
40357 if (($sdl_major_version > major) ||
40358 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40359 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40365 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40366 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40367 printf("*** best to upgrade to the required version.\n");
40368 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40369 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40370 printf("*** config.cache before re-running configure\n");
40377 rm -f conftest
$ac_exeext
40378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40379 (eval $ac_link) 2>&5
40381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40382 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
40383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40384 (eval $ac_try) 2>&5
40386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40387 (exit $ac_status); }; }; then
40390 echo "$as_me: program exited with status $ac_status" >&5
40391 echo "$as_me: failed program was:" >&5
40392 sed 's/^/| /' conftest.
$ac_ext >&5
40394 ( exit $ac_status )
40397 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40399 CFLAGS
="$ac_save_CFLAGS"
40400 CXXFLAGS
="$ac_save_CXXFLAGS"
40401 LIBS
="$ac_save_LIBS"
40404 if test "x$no_sdl" = x
; then
40405 echo "$as_me:$LINENO: result: yes" >&5
40406 echo "${ECHO_T}yes" >&6
40408 EXTRALIBS_SDL
="$SDL_LIBS"
40409 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
40410 cat >>confdefs.h
<<\_ACEOF
40411 #define wxUSE_LIBSDL 1
40416 echo "$as_me:$LINENO: result: no" >&5
40417 echo "${ECHO_T}no" >&6
40418 if test "$SDL_CONFIG" = "no" ; then
40419 echo "*** The sdl-config script installed by SDL could not be found"
40420 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40421 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40422 echo "*** full path to sdl-config."
40424 if test -f conf.sdltest
; then
40427 echo "*** Could not run SDL test program, checking why..."
40428 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40429 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40430 LIBS
="$LIBS $SDL_LIBS"
40431 cat >conftest.
$ac_ext <<_ACEOF
40434 cat confdefs.h
>>conftest.
$ac_ext
40435 cat >>conftest.
$ac_ext <<_ACEOF
40436 /* end confdefs.h. */
40441 int main(int argc, char *argv[])
40444 #define main K_and_R_C_main
40454 rm -f conftest.
$ac_objext conftest
$ac_exeext
40455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40456 (eval $ac_link) 2>conftest.er1
40458 grep -v '^ *+' conftest.er1
>conftest.err
40460 cat conftest.err
>&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); } &&
40463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40465 (eval $ac_try) 2>&5
40467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468 (exit $ac_status); }; } &&
40469 { ac_try
='test -s conftest$ac_exeext'
40470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40471 (eval $ac_try) 2>&5
40473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474 (exit $ac_status); }; }; then
40475 echo "*** The test program compiled, but did not run. This usually means"
40476 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40477 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40478 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40479 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40480 echo "*** is required on your system"
40482 echo "*** If you have an old version installed, it is best to remove it, although"
40483 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40485 echo "$as_me: failed program was:" >&5
40486 sed 's/^/| /' conftest.
$ac_ext >&5
40488 echo "*** The test program failed to compile or link. See the file config.log for the"
40489 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40490 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40491 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40493 rm -f conftest.err conftest.
$ac_objext \
40494 conftest
$ac_exeext conftest.
$ac_ext
40495 CFLAGS
="$ac_save_CFLAGS"
40496 CXXFLAGS
="$ac_save_CXXFLAGS"
40497 LIBS
="$ac_save_LIBS"
40508 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40514 cat >>confdefs.h
<<\_ACEOF
40515 #define wxUSE_SOUND 1
40518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
40521 if test "$WXGTK20" = 1; then
40522 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40523 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40528 if test -z "$PKG_CONFIG"; then
40529 # Extract the first word of "pkg-config", so it can be a program name with args.
40530 set dummy pkg
-config; ac_word
=$2
40531 echo "$as_me:$LINENO: checking for $ac_word" >&5
40532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40533 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40534 echo $ECHO_N "(cached) $ECHO_C" >&6
40536 case $PKG_CONFIG in
40538 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40542 for as_dir
in $PATH
40545 test -z "$as_dir" && as_dir
=.
40546 for ac_exec_ext
in '' $ac_executable_extensions; do
40547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40548 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40555 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40559 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40561 if test -n "$PKG_CONFIG"; then
40562 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40563 echo "${ECHO_T}$PKG_CONFIG" >&6
40565 echo "$as_me:$LINENO: result: no" >&5
40566 echo "${ECHO_T}no" >&6
40571 if test "$PKG_CONFIG" = "no" ; then
40572 echo "*** The pkg-config script could not be found. Make sure it is"
40573 echo "*** in your path, or set the PKG_CONFIG environment variable"
40574 echo "*** to the full path to pkg-config."
40575 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40577 PKG_CONFIG_MIN_VERSION
=0.9.0
40578 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40579 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40580 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40582 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40583 echo "$as_me:$LINENO: result: yes" >&5
40584 echo "${ECHO_T}yes" >&6
40587 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40588 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40589 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40590 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40591 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40593 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40594 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40595 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40596 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40597 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40599 LIBGNOMEPRINTUI_CFLAGS
=""
40600 LIBGNOMEPRINTUI_LIBS
=""
40601 ## If we have a custom action on failure, don't print errors, but
40602 ## do set a variable so people can do so.
40603 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40610 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40611 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40615 if test $succeeded = yes; then
40617 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40618 cat >>confdefs.h
<<\_ACEOF
40619 #define wxUSE_LIBGNOMEPRINT 1
40625 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40626 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40627 wxUSE_LIBGNOMEPRINT
="no"
40636 if test "$WXGTK20" = 1; then
40637 if test "$wxUSE_LIBHILDON" = "yes" ; then
40641 if test -z "$PKG_CONFIG"; then
40642 # Extract the first word of "pkg-config", so it can be a program name with args.
40643 set dummy pkg
-config; ac_word
=$2
40644 echo "$as_me:$LINENO: checking for $ac_word" >&5
40645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40646 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40647 echo $ECHO_N "(cached) $ECHO_C" >&6
40649 case $PKG_CONFIG in
40651 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40655 for as_dir
in $PATH
40658 test -z "$as_dir" && as_dir
=.
40659 for ac_exec_ext
in '' $ac_executable_extensions; do
40660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40661 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40668 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40672 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40674 if test -n "$PKG_CONFIG"; then
40675 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40676 echo "${ECHO_T}$PKG_CONFIG" >&6
40678 echo "$as_me:$LINENO: result: no" >&5
40679 echo "${ECHO_T}no" >&6
40684 if test "$PKG_CONFIG" = "no" ; then
40685 echo "*** The pkg-config script could not be found. Make sure it is"
40686 echo "*** in your path, or set the PKG_CONFIG environment variable"
40687 echo "*** to the full path to pkg-config."
40688 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40690 PKG_CONFIG_MIN_VERSION
=0.9.0
40691 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40692 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
40693 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
40695 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
40696 echo "$as_me:$LINENO: result: yes" >&5
40697 echo "${ECHO_T}yes" >&6
40700 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
40701 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
40702 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
40703 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
40704 echo "${ECHO_T}$HILDON_CFLAGS" >&6
40706 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
40707 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
40708 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
40709 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
40710 echo "${ECHO_T}$HILDON_LIBS" >&6
40714 ## If we have a custom action on failure, don't print errors, but
40715 ## do set a variable so people can do so.
40716 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
40723 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40724 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40728 if test $succeeded = yes; then
40730 EXTRALIBS_HILDON
="$HILDON_LIBS"
40731 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
40732 cat >>confdefs.h
<<\_ACEOF
40733 #define wxUSE_LIBHILDON 1
40739 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
40740 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
40741 wxUSE_LIBHILDON
="no"
40749 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
40750 cat >>confdefs.h
<<\_ACEOF
40751 #define wxUSE_CMDLINE_PARSER 1
40756 if test "$wxUSE_STOPWATCH" = "yes"; then
40757 cat >>confdefs.h
<<\_ACEOF
40758 #define wxUSE_STOPWATCH 1
40763 if test "$wxUSE_DATETIME" = "yes"; then
40764 cat >>confdefs.h
<<\_ACEOF
40765 #define wxUSE_DATETIME 1
40770 if test "$wxUSE_FILE" = "yes"; then
40771 cat >>confdefs.h
<<\_ACEOF
40772 #define wxUSE_FILE 1
40777 if test "$wxUSE_FFILE" = "yes"; then
40778 cat >>confdefs.h
<<\_ACEOF
40779 #define wxUSE_FFILE 1
40784 if test "$wxUSE_FILESYSTEM" = "yes"; then
40785 cat >>confdefs.h
<<\_ACEOF
40786 #define wxUSE_FILESYSTEM 1
40791 if test "$wxUSE_FS_ZIP" = "yes"; then
40792 cat >>confdefs.h
<<\_ACEOF
40793 #define wxUSE_FS_ZIP 1
40798 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
40799 cat >>confdefs.h
<<\_ACEOF
40800 #define wxUSE_ARCHIVE_STREAMS 1
40805 if test "$wxUSE_ZIPSTREAM" = "yes"; then
40806 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
40807 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
40808 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
40809 elif test "$wxUSE_ZLIB" = "no"; then
40810 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
40811 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
40813 cat >>confdefs.h
<<\_ACEOF
40814 #define wxUSE_ZIPSTREAM 1
40820 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40821 if test "$USE_UNIX" != 1; then
40822 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
40823 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
40824 wxUSE_ON_FATAL_EXCEPTION
=no
40826 cat >>confdefs.h
<<\_ACEOF
40827 #define wxUSE_ON_FATAL_EXCEPTION 1
40833 if test "$wxUSE_STACKWALKER" = "yes"; then
40834 cat >>confdefs.h
<<\_ACEOF
40835 #define wxUSE_STACKWALKER 1
40840 if test "$wxUSE_DEBUGREPORT" = "yes"; then
40841 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
40842 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
40843 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
40844 wxUSE_DEBUGREPORT
=no
40846 cat >>confdefs.h
<<\_ACEOF
40847 #define wxUSE_DEBUGREPORT 1
40850 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
40856 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40857 cat >>confdefs.h
<<\_ACEOF
40858 #define wxUSE_SNGLINST_CHECKER 1
40863 if test "$wxUSE_BUSYINFO" = "yes"; then
40864 cat >>confdefs.h
<<\_ACEOF
40865 #define wxUSE_BUSYINFO 1
40870 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
40871 cat >>confdefs.h
<<\_ACEOF
40872 #define wxUSE_STD_IOSTREAM 1
40877 if test "$wxUSE_STD_STRING" = "yes"; then
40878 cat >>confdefs.h
<<\_ACEOF
40879 #define wxUSE_STD_STRING 1
40884 if test "$wxUSE_STDPATHS" = "yes"; then
40885 cat >>confdefs.h
<<\_ACEOF
40886 #define wxUSE_STDPATHS 1
40891 if test "$wxUSE_TEXTBUFFER" = "yes"; then
40892 cat >>confdefs.h
<<\_ACEOF
40893 #define wxUSE_TEXTBUFFER 1
40898 if test "$wxUSE_TEXTFILE" = "yes"; then
40899 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
40900 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
40901 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
40903 cat >>confdefs.h
<<\_ACEOF
40904 #define wxUSE_TEXTFILE 1
40910 if test "$wxUSE_CONFIG" = "yes" ; then
40911 if test "$wxUSE_TEXTFILE" != "yes"; then
40912 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
40913 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
40915 cat >>confdefs.h
<<\_ACEOF
40916 #define wxUSE_CONFIG 1
40919 cat >>confdefs.h
<<\_ACEOF
40920 #define wxUSE_CONFIG_NATIVE 1
40923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
40927 if test "$wxUSE_INTL" = "yes" ; then
40928 if test "$wxUSE_FILE" != "yes"; then
40929 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
40930 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
40932 cat >>confdefs.h
<<\_ACEOF
40933 #define wxUSE_INTL 1
40936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
40937 GUIDIST
="$GUIDIST INTL_DIST"
40941 if test "$wxUSE_LOG" = "yes"; then
40942 cat >>confdefs.h
<<\_ACEOF
40943 #define wxUSE_LOG 1
40947 if test "$wxUSE_LOGGUI" = "yes"; then
40948 cat >>confdefs.h
<<\_ACEOF
40949 #define wxUSE_LOGGUI 1
40954 if test "$wxUSE_LOGWINDOW" = "yes"; then
40955 cat >>confdefs.h
<<\_ACEOF
40956 #define wxUSE_LOGWINDOW 1
40961 if test "$wxUSE_LOGDIALOG" = "yes"; then
40962 cat >>confdefs.h
<<\_ACEOF
40963 #define wxUSE_LOG_DIALOG 1
40968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
40971 if test "$wxUSE_LONGLONG" = "yes"; then
40972 cat >>confdefs.h
<<\_ACEOF
40973 #define wxUSE_LONGLONG 1
40978 if test "$wxUSE_GEOMETRY" = "yes"; then
40979 cat >>confdefs.h
<<\_ACEOF
40980 #define wxUSE_GEOMETRY 1
40985 if test "$wxUSE_STREAMS" = "yes" ; then
40986 cat >>confdefs.h
<<\_ACEOF
40987 #define wxUSE_STREAMS 1
40993 if test "$wxUSE_DATETIME" = "yes"; then
40995 for ac_func
in strptime
40997 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40998 echo "$as_me:$LINENO: checking for $ac_func" >&5
40999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41000 if eval "test \"\${$as_ac_var+set}\" = set"; then
41001 echo $ECHO_N "(cached) $ECHO_C" >&6
41003 cat >conftest.
$ac_ext <<_ACEOF
41006 cat confdefs.h
>>conftest.
$ac_ext
41007 cat >>conftest.
$ac_ext <<_ACEOF
41008 /* end confdefs.h. */
41009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41011 #define $ac_func innocuous_$ac_func
41013 /* System header to define __stub macros and hopefully few prototypes,
41014 which can conflict with char $ac_func (); below.
41015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41016 <limits.h> exists even on freestanding compilers. */
41019 # include <limits.h>
41021 # include <assert.h>
41026 /* Override any gcc2 internal prototype to avoid an error. */
41031 /* We use char because int might match the return type of a gcc2
41032 builtin and then its argument prototype would still apply. */
41034 /* The GNU C library defines this for functions which it implements
41035 to always fail with ENOSYS. Some functions are actually named
41036 something starting with __ and the normal name is an alias. */
41037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41040 char (*f) () = $ac_func;
41049 return f != $ac_func;
41054 rm -f conftest.
$ac_objext conftest
$ac_exeext
41055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41056 (eval $ac_link) 2>conftest.er1
41058 grep -v '^ *+' conftest.er1
>conftest.err
41060 cat conftest.err
>&5
41061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41062 (exit $ac_status); } &&
41063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41065 (eval $ac_try) 2>&5
41067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41068 (exit $ac_status); }; } &&
41069 { ac_try
='test -s conftest$ac_exeext'
41070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41071 (eval $ac_try) 2>&5
41073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41074 (exit $ac_status); }; }; then
41075 eval "$as_ac_var=yes"
41077 echo "$as_me: failed program was:" >&5
41078 sed 's/^/| /' conftest.
$ac_ext >&5
41080 eval "$as_ac_var=no"
41082 rm -f conftest.err conftest.
$ac_objext \
41083 conftest
$ac_exeext conftest.
$ac_ext
41085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41087 if test `eval echo '${'$as_ac_var'}'` = yes; then
41088 cat >>confdefs.h
<<_ACEOF
41089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41095 if test "$ac_cv_func_strptime" = "yes"; then
41096 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41097 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41098 if test "${wx_cv_func_strptime_decl+set}" = set; then
41099 echo $ECHO_N "(cached) $ECHO_C" >&6
41103 ac_cpp
='$CXXCPP $CPPFLAGS'
41104 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41105 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41106 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41108 cat >conftest.
$ac_ext <<_ACEOF
41111 cat confdefs.h
>>conftest.
$ac_ext
41112 cat >>conftest.
$ac_ext <<_ACEOF
41113 /* end confdefs.h. */
41122 strptime("foo", "bar", &t);
41128 rm -f conftest.
$ac_objext
41129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41130 (eval $ac_compile) 2>conftest.er1
41132 grep -v '^ *+' conftest.er1
>conftest.err
41134 cat conftest.err
>&5
41135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41136 (exit $ac_status); } &&
41137 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41139 (eval $ac_try) 2>&5
41141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41142 (exit $ac_status); }; } &&
41143 { ac_try
='test -s conftest.$ac_objext'
41144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41145 (eval $ac_try) 2>&5
41147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41148 (exit $ac_status); }; }; then
41149 wx_cv_func_strptime_decl
=yes
41151 echo "$as_me: failed program was:" >&5
41152 sed 's/^/| /' conftest.
$ac_ext >&5
41154 wx_cv_func_strptime_decl
=no
41157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41159 ac_cpp
='$CPP $CPPFLAGS'
41160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41167 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41168 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41170 if test "$wx_cv_func_strptime_decl" = "yes"; then
41171 cat >>confdefs.h
<<\_ACEOF
41172 #define HAVE_STRPTIME_DECL 1
41177 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41178 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41179 if test "${wx_cv_var_timezone+set}" = set; then
41180 echo $ECHO_N "(cached) $ECHO_C" >&6
41183 cat >conftest.
$ac_ext <<_ACEOF
41186 cat confdefs.h
>>conftest.
$ac_ext
41187 cat >>conftest.
$ac_ext <<_ACEOF
41188 /* end confdefs.h. */
41203 rm -f conftest.
$ac_objext
41204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41205 (eval $ac_compile) 2>conftest.er1
41207 grep -v '^ *+' conftest.er1
>conftest.err
41209 cat conftest.err
>&5
41210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41211 (exit $ac_status); } &&
41212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41214 (eval $ac_try) 2>&5
41216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41217 (exit $ac_status); }; } &&
41218 { ac_try
='test -s conftest.$ac_objext'
41219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41220 (eval $ac_try) 2>&5
41222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41223 (exit $ac_status); }; }; then
41225 wx_cv_var_timezone
=timezone
41228 echo "$as_me: failed program was:" >&5
41229 sed 's/^/| /' conftest.
$ac_ext >&5
41232 cat >conftest.
$ac_ext <<_ACEOF
41235 cat confdefs.h
>>conftest.
$ac_ext
41236 cat >>conftest.
$ac_ext <<_ACEOF
41237 /* end confdefs.h. */
41252 rm -f conftest.
$ac_objext
41253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41254 (eval $ac_compile) 2>conftest.er1
41256 grep -v '^ *+' conftest.er1
>conftest.err
41258 cat conftest.err
>&5
41259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41260 (exit $ac_status); } &&
41261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41263 (eval $ac_try) 2>&5
41265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41266 (exit $ac_status); }; } &&
41267 { ac_try
='test -s conftest.$ac_objext'
41268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41269 (eval $ac_try) 2>&5
41271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41272 (exit $ac_status); }; }; then
41274 wx_cv_var_timezone
=_timezone
41277 echo "$as_me: failed program was:" >&5
41278 sed 's/^/| /' conftest.
$ac_ext >&5
41281 cat >conftest.
$ac_ext <<_ACEOF
41284 cat confdefs.h
>>conftest.
$ac_ext
41285 cat >>conftest.
$ac_ext <<_ACEOF
41286 /* end confdefs.h. */
41301 rm -f conftest.
$ac_objext
41302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41303 (eval $ac_compile) 2>conftest.er1
41305 grep -v '^ *+' conftest.er1
>conftest.err
41307 cat conftest.err
>&5
41308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41309 (exit $ac_status); } &&
41310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41312 (eval $ac_try) 2>&5
41314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41315 (exit $ac_status); }; } &&
41316 { ac_try
='test -s conftest.$ac_objext'
41317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41318 (eval $ac_try) 2>&5
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); }; }; then
41323 wx_cv_var_timezone
=__timezone
41326 echo "$as_me: failed program was:" >&5
41327 sed 's/^/| /' conftest.
$ac_ext >&5
41330 if test "$USE_DOS" = 0 ; then
41331 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41332 echo "$as_me: WARNING: no timezone variable" >&2;}
41337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41349 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41350 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41352 if test "x$wx_cv_var_timezone" != x
; then
41353 cat >>confdefs.h
<<_ACEOF
41354 #define WX_TIMEZONE $wx_cv_var_timezone
41360 for ac_func
in localtime
41362 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41363 echo "$as_me:$LINENO: checking for $ac_func" >&5
41364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41365 if eval "test \"\${$as_ac_var+set}\" = set"; then
41366 echo $ECHO_N "(cached) $ECHO_C" >&6
41368 cat >conftest.
$ac_ext <<_ACEOF
41371 cat confdefs.h
>>conftest.
$ac_ext
41372 cat >>conftest.
$ac_ext <<_ACEOF
41373 /* end confdefs.h. */
41374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41376 #define $ac_func innocuous_$ac_func
41378 /* System header to define __stub macros and hopefully few prototypes,
41379 which can conflict with char $ac_func (); below.
41380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41381 <limits.h> exists even on freestanding compilers. */
41384 # include <limits.h>
41386 # include <assert.h>
41391 /* Override any gcc2 internal prototype to avoid an error. */
41396 /* We use char because int might match the return type of a gcc2
41397 builtin and then its argument prototype would still apply. */
41399 /* The GNU C library defines this for functions which it implements
41400 to always fail with ENOSYS. Some functions are actually named
41401 something starting with __ and the normal name is an alias. */
41402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41405 char (*f) () = $ac_func;
41414 return f != $ac_func;
41419 rm -f conftest.
$ac_objext conftest
$ac_exeext
41420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41421 (eval $ac_link) 2>conftest.er1
41423 grep -v '^ *+' conftest.er1
>conftest.err
41425 cat conftest.err
>&5
41426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41427 (exit $ac_status); } &&
41428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41430 (eval $ac_try) 2>&5
41432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41433 (exit $ac_status); }; } &&
41434 { ac_try
='test -s conftest$ac_exeext'
41435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41436 (eval $ac_try) 2>&5
41438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41439 (exit $ac_status); }; }; then
41440 eval "$as_ac_var=yes"
41442 echo "$as_me: failed program was:" >&5
41443 sed 's/^/| /' conftest.
$ac_ext >&5
41445 eval "$as_ac_var=no"
41447 rm -f conftest.err conftest.
$ac_objext \
41448 conftest
$ac_exeext conftest.
$ac_ext
41450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41452 if test `eval echo '${'$as_ac_var'}'` = yes; then
41453 cat >>confdefs.h
<<_ACEOF
41454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41461 if test "$ac_cv_func_localtime" = "yes"; then
41462 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41463 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41464 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41465 echo $ECHO_N "(cached) $ECHO_C" >&6
41468 cat >conftest.
$ac_ext <<_ACEOF
41471 cat confdefs.h
>>conftest.
$ac_ext
41472 cat >>conftest.
$ac_ext <<_ACEOF
41473 /* end confdefs.h. */
41488 rm -f conftest.
$ac_objext
41489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41490 (eval $ac_compile) 2>conftest.er1
41492 grep -v '^ *+' conftest.er1
>conftest.err
41494 cat conftest.err
>&5
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); } &&
41497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41499 (eval $ac_try) 2>&5
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); }; } &&
41503 { ac_try
='test -s conftest.$ac_objext'
41504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41505 (eval $ac_try) 2>&5
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); }; }; then
41510 wx_cv_struct_tm_has_gmtoff
=yes
41513 echo "$as_me: failed program was:" >&5
41514 sed 's/^/| /' conftest.
$ac_ext >&5
41516 wx_cv_struct_tm_has_gmtoff
=no
41519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41522 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41523 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41526 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41527 cat >>confdefs.h
<<\_ACEOF
41528 #define WX_GMTOFF_IN_TM 1
41535 for ac_func
in gettimeofday ftime
41537 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41538 echo "$as_me:$LINENO: checking for $ac_func" >&5
41539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41540 if eval "test \"\${$as_ac_var+set}\" = set"; then
41541 echo $ECHO_N "(cached) $ECHO_C" >&6
41543 cat >conftest.
$ac_ext <<_ACEOF
41546 cat confdefs.h
>>conftest.
$ac_ext
41547 cat >>conftest.
$ac_ext <<_ACEOF
41548 /* end confdefs.h. */
41549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41551 #define $ac_func innocuous_$ac_func
41553 /* System header to define __stub macros and hopefully few prototypes,
41554 which can conflict with char $ac_func (); below.
41555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41556 <limits.h> exists even on freestanding compilers. */
41559 # include <limits.h>
41561 # include <assert.h>
41566 /* Override any gcc2 internal prototype to avoid an error. */
41571 /* We use char because int might match the return type of a gcc2
41572 builtin and then its argument prototype would still apply. */
41574 /* The GNU C library defines this for functions which it implements
41575 to always fail with ENOSYS. Some functions are actually named
41576 something starting with __ and the normal name is an alias. */
41577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41580 char (*f) () = $ac_func;
41589 return f != $ac_func;
41594 rm -f conftest.
$ac_objext conftest
$ac_exeext
41595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41596 (eval $ac_link) 2>conftest.er1
41598 grep -v '^ *+' conftest.er1
>conftest.err
41600 cat conftest.err
>&5
41601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41602 (exit $ac_status); } &&
41603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41605 (eval $ac_try) 2>&5
41607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41608 (exit $ac_status); }; } &&
41609 { ac_try
='test -s conftest$ac_exeext'
41610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41611 (eval $ac_try) 2>&5
41613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41614 (exit $ac_status); }; }; then
41615 eval "$as_ac_var=yes"
41617 echo "$as_me: failed program was:" >&5
41618 sed 's/^/| /' conftest.
$ac_ext >&5
41620 eval "$as_ac_var=no"
41622 rm -f conftest.err conftest.
$ac_objext \
41623 conftest
$ac_exeext conftest.
$ac_ext
41625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41627 if test `eval echo '${'$as_ac_var'}'` = yes; then
41628 cat >>confdefs.h
<<_ACEOF
41629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41636 if test "$ac_cv_func_gettimeofday" = "yes"; then
41637 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
41638 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
41639 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
41640 echo $ECHO_N "(cached) $ECHO_C" >&6
41644 ac_cpp
='$CXXCPP $CPPFLAGS'
41645 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41646 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41647 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41650 cat >conftest.
$ac_ext <<_ACEOF
41653 cat confdefs.h
>>conftest.
$ac_ext
41654 cat >>conftest.
$ac_ext <<_ACEOF
41655 /* end confdefs.h. */
41657 #include <sys/time.h>
41658 #include <unistd.h>
41665 gettimeofday(&tv, NULL);
41671 rm -f conftest.
$ac_objext
41672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41673 (eval $ac_compile) 2>conftest.er1
41675 grep -v '^ *+' conftest.er1
>conftest.err
41677 cat conftest.err
>&5
41678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41679 (exit $ac_status); } &&
41680 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41682 (eval $ac_try) 2>&5
41684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41685 (exit $ac_status); }; } &&
41686 { ac_try
='test -s conftest.$ac_objext'
41687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41688 (eval $ac_try) 2>&5
41690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41691 (exit $ac_status); }; }; then
41692 wx_cv_func_gettimeofday_has_2_args
=yes
41694 echo "$as_me: failed program was:" >&5
41695 sed 's/^/| /' conftest.
$ac_ext >&5
41697 cat >conftest.
$ac_ext <<_ACEOF
41700 cat confdefs.h
>>conftest.
$ac_ext
41701 cat >>conftest.
$ac_ext <<_ACEOF
41702 /* end confdefs.h. */
41704 #include <sys/time.h>
41705 #include <unistd.h>
41718 rm -f conftest.
$ac_objext
41719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41720 (eval $ac_compile) 2>conftest.er1
41722 grep -v '^ *+' conftest.er1
>conftest.err
41724 cat conftest.err
>&5
41725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41726 (exit $ac_status); } &&
41727 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41729 (eval $ac_try) 2>&5
41731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41732 (exit $ac_status); }; } &&
41733 { ac_try
='test -s conftest.$ac_objext'
41734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41735 (eval $ac_try) 2>&5
41737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41738 (exit $ac_status); }; }; then
41739 wx_cv_func_gettimeofday_has_2_args
=no
41741 echo "$as_me: failed program was:" >&5
41742 sed 's/^/| /' conftest.
$ac_ext >&5
41745 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
41746 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
41747 wx_cv_func_gettimeofday_has_2_args
=unknown
41751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41756 ac_cpp
='$CPP $CPPFLAGS'
41757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41763 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
41764 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
41766 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
41767 cat >>confdefs.h
<<\_ACEOF
41768 #define WX_GETTIMEOFDAY_NO_TZ 1
41774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
41778 if test "$wxUSE_SOCKETS" = "yes"; then
41779 if test "$wxUSE_MGL" = "1"; then
41780 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
41781 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
41786 if test "$wxUSE_SOCKETS" = "yes"; then
41787 if test "$TOOLKIT" != "MSW"; then
41788 echo "$as_me:$LINENO: checking for socket" >&5
41789 echo $ECHO_N "checking for socket... $ECHO_C" >&6
41790 if test "${ac_cv_func_socket+set}" = set; then
41791 echo $ECHO_N "(cached) $ECHO_C" >&6
41793 cat >conftest.
$ac_ext <<_ACEOF
41796 cat confdefs.h
>>conftest.
$ac_ext
41797 cat >>conftest.
$ac_ext <<_ACEOF
41798 /* end confdefs.h. */
41799 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
41800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41801 #define socket innocuous_socket
41803 /* System header to define __stub macros and hopefully few prototypes,
41804 which can conflict with char socket (); below.
41805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41806 <limits.h> exists even on freestanding compilers. */
41809 # include <limits.h>
41811 # include <assert.h>
41816 /* Override any gcc2 internal prototype to avoid an error. */
41821 /* We use char because int might match the return type of a gcc2
41822 builtin and then its argument prototype would still apply. */
41824 /* The GNU C library defines this for functions which it implements
41825 to always fail with ENOSYS. Some functions are actually named
41826 something starting with __ and the normal name is an alias. */
41827 #if defined (__stub_socket) || defined (__stub___socket)
41830 char (*f) () = socket;
41839 return f != socket;
41844 rm -f conftest.
$ac_objext conftest
$ac_exeext
41845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41846 (eval $ac_link) 2>conftest.er1
41848 grep -v '^ *+' conftest.er1
>conftest.err
41850 cat conftest.err
>&5
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); } &&
41853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41855 (eval $ac_try) 2>&5
41857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41858 (exit $ac_status); }; } &&
41859 { ac_try
='test -s conftest$ac_exeext'
41860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41861 (eval $ac_try) 2>&5
41863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41864 (exit $ac_status); }; }; then
41865 ac_cv_func_socket
=yes
41867 echo "$as_me: failed program was:" >&5
41868 sed 's/^/| /' conftest.
$ac_ext >&5
41870 ac_cv_func_socket
=no
41872 rm -f conftest.err conftest.
$ac_objext \
41873 conftest
$ac_exeext conftest.
$ac_ext
41875 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
41876 echo "${ECHO_T}$ac_cv_func_socket" >&6
41877 if test $ac_cv_func_socket = yes; then
41881 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
41882 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
41883 if test "${ac_cv_lib_socket_socket+set}" = set; then
41884 echo $ECHO_N "(cached) $ECHO_C" >&6
41886 ac_check_lib_save_LIBS
=$LIBS
41887 LIBS
="-lsocket $LIBS"
41888 cat >conftest.
$ac_ext <<_ACEOF
41891 cat confdefs.h
>>conftest.
$ac_ext
41892 cat >>conftest.
$ac_ext <<_ACEOF
41893 /* end confdefs.h. */
41895 /* Override any gcc2 internal prototype to avoid an error. */
41899 /* We use char because int might match the return type of a gcc2
41900 builtin and then its argument prototype would still apply. */
41910 rm -f conftest.
$ac_objext conftest
$ac_exeext
41911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41912 (eval $ac_link) 2>conftest.er1
41914 grep -v '^ *+' conftest.er1
>conftest.err
41916 cat conftest.err
>&5
41917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41918 (exit $ac_status); } &&
41919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41921 (eval $ac_try) 2>&5
41923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41924 (exit $ac_status); }; } &&
41925 { ac_try
='test -s conftest$ac_exeext'
41926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41927 (eval $ac_try) 2>&5
41929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41930 (exit $ac_status); }; }; then
41931 ac_cv_lib_socket_socket
=yes
41933 echo "$as_me: failed program was:" >&5
41934 sed 's/^/| /' conftest.
$ac_ext >&5
41936 ac_cv_lib_socket_socket
=no
41938 rm -f conftest.err conftest.
$ac_objext \
41939 conftest
$ac_exeext conftest.
$ac_ext
41940 LIBS
=$ac_check_lib_save_LIBS
41942 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
41943 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
41944 if test $ac_cv_lib_socket_socket = yes; then
41945 if test "$INET_LINK" != " -lsocket"; then
41946 INET_LINK
="$INET_LINK -lsocket"
41950 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
41951 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
41964 if test "$wxUSE_SOCKETS" = "yes" ; then
41965 if test "$TOOLKIT" != "MSW"; then
41967 ac_cpp
='$CXXCPP $CPPFLAGS'
41968 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41969 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41970 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41972 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
41973 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
41974 if test "${wx_cv_type_getsockname3+set}" = set; then
41975 echo $ECHO_N "(cached) $ECHO_C" >&6
41978 cat >conftest.
$ac_ext <<_ACEOF
41981 cat confdefs.h
>>conftest.
$ac_ext
41982 cat >>conftest.
$ac_ext <<_ACEOF
41983 /* end confdefs.h. */
41985 #include <sys/types.h>
41986 #include <sys/socket.h>
41993 getsockname(0, 0, &len);
41999 rm -f conftest.
$ac_objext
42000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42001 (eval $ac_compile) 2>conftest.er1
42003 grep -v '^ *+' conftest.er1
>conftest.err
42005 cat conftest.err
>&5
42006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42007 (exit $ac_status); } &&
42008 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42010 (eval $ac_try) 2>&5
42012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42013 (exit $ac_status); }; } &&
42014 { ac_try
='test -s conftest.$ac_objext'
42015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42016 (eval $ac_try) 2>&5
42018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42019 (exit $ac_status); }; }; then
42020 wx_cv_type_getsockname3
=socklen_t
42022 echo "$as_me: failed program was:" >&5
42023 sed 's/^/| /' conftest.
$ac_ext >&5
42026 CXXFLAGS_OLD
="$CXXFLAGS"
42027 if test "$GCC" = yes ; then
42028 CXXFLAGS
="-Werror $CXXFLAGS"
42031 cat >conftest.
$ac_ext <<_ACEOF
42034 cat confdefs.h
>>conftest.
$ac_ext
42035 cat >>conftest.
$ac_ext <<_ACEOF
42036 /* end confdefs.h. */
42038 #include <sys/types.h>
42039 #include <sys/socket.h>
42046 getsockname(0, 0, &len);
42052 rm -f conftest.
$ac_objext
42053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42054 (eval $ac_compile) 2>conftest.er1
42056 grep -v '^ *+' conftest.er1
>conftest.err
42058 cat conftest.err
>&5
42059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42060 (exit $ac_status); } &&
42061 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42063 (eval $ac_try) 2>&5
42065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42066 (exit $ac_status); }; } &&
42067 { ac_try
='test -s conftest.$ac_objext'
42068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42069 (eval $ac_try) 2>&5
42071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42072 (exit $ac_status); }; }; then
42073 wx_cv_type_getsockname3
=size_t
42075 echo "$as_me: failed program was:" >&5
42076 sed 's/^/| /' conftest.
$ac_ext >&5
42078 cat >conftest.
$ac_ext <<_ACEOF
42081 cat confdefs.h
>>conftest.
$ac_ext
42082 cat >>conftest.
$ac_ext <<_ACEOF
42083 /* end confdefs.h. */
42085 #include <sys/types.h>
42086 #include <sys/socket.h>
42093 getsockname(0, 0, &len);
42099 rm -f conftest.
$ac_objext
42100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42101 (eval $ac_compile) 2>conftest.er1
42103 grep -v '^ *+' conftest.er1
>conftest.err
42105 cat conftest.err
>&5
42106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42107 (exit $ac_status); } &&
42108 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42110 (eval $ac_try) 2>&5
42112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42113 (exit $ac_status); }; } &&
42114 { ac_try
='test -s conftest.$ac_objext'
42115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42116 (eval $ac_try) 2>&5
42118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42119 (exit $ac_status); }; }; then
42120 wx_cv_type_getsockname3
=int
42122 echo "$as_me: failed program was:" >&5
42123 sed 's/^/| /' conftest.
$ac_ext >&5
42125 wx_cv_type_getsockname3
=unknown
42128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42133 CXXFLAGS
="$CXXFLAGS_OLD"
42137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42140 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42141 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42143 if test "$wx_cv_type_getsockname3" = "unknown"; then
42145 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42146 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42148 cat >>confdefs.h
<<_ACEOF
42149 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42153 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42154 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42155 if test "${wx_cv_type_getsockopt5+set}" = set; then
42156 echo $ECHO_N "(cached) $ECHO_C" >&6
42159 cat >conftest.
$ac_ext <<_ACEOF
42162 cat confdefs.h
>>conftest.
$ac_ext
42163 cat >>conftest.
$ac_ext <<_ACEOF
42164 /* end confdefs.h. */
42166 #include <sys/types.h>
42167 #include <sys/socket.h>
42174 getsockopt(0, 0, 0, 0, &len);
42180 rm -f conftest.
$ac_objext
42181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42182 (eval $ac_compile) 2>conftest.er1
42184 grep -v '^ *+' conftest.er1
>conftest.err
42186 cat conftest.err
>&5
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); } &&
42189 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42191 (eval $ac_try) 2>&5
42193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42194 (exit $ac_status); }; } &&
42195 { ac_try
='test -s conftest.$ac_objext'
42196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42197 (eval $ac_try) 2>&5
42199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42200 (exit $ac_status); }; }; then
42201 wx_cv_type_getsockopt5
=socklen_t
42203 echo "$as_me: failed program was:" >&5
42204 sed 's/^/| /' conftest.
$ac_ext >&5
42207 CXXFLAGS_OLD
="$CXXFLAGS"
42208 if test "$GCC" = yes ; then
42209 CXXFLAGS
="-Werror $CXXFLAGS"
42212 cat >conftest.
$ac_ext <<_ACEOF
42215 cat confdefs.h
>>conftest.
$ac_ext
42216 cat >>conftest.
$ac_ext <<_ACEOF
42217 /* end confdefs.h. */
42219 #include <sys/types.h>
42220 #include <sys/socket.h>
42227 getsockopt(0, 0, 0, 0, &len);
42233 rm -f conftest.
$ac_objext
42234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42235 (eval $ac_compile) 2>conftest.er1
42237 grep -v '^ *+' conftest.er1
>conftest.err
42239 cat conftest.err
>&5
42240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42241 (exit $ac_status); } &&
42242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42244 (eval $ac_try) 2>&5
42246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42247 (exit $ac_status); }; } &&
42248 { ac_try
='test -s conftest.$ac_objext'
42249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42250 (eval $ac_try) 2>&5
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; }; then
42254 wx_cv_type_getsockopt5
=size_t
42256 echo "$as_me: failed program was:" >&5
42257 sed 's/^/| /' conftest.
$ac_ext >&5
42259 cat >conftest.
$ac_ext <<_ACEOF
42262 cat confdefs.h
>>conftest.
$ac_ext
42263 cat >>conftest.
$ac_ext <<_ACEOF
42264 /* end confdefs.h. */
42266 #include <sys/types.h>
42267 #include <sys/socket.h>
42274 getsockopt(0, 0, 0, 0, &len);
42280 rm -f conftest.
$ac_objext
42281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42282 (eval $ac_compile) 2>conftest.er1
42284 grep -v '^ *+' conftest.er1
>conftest.err
42286 cat conftest.err
>&5
42287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42288 (exit $ac_status); } &&
42289 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42291 (eval $ac_try) 2>&5
42293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42294 (exit $ac_status); }; } &&
42295 { ac_try
='test -s conftest.$ac_objext'
42296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42297 (eval $ac_try) 2>&5
42299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42300 (exit $ac_status); }; }; then
42301 wx_cv_type_getsockopt5
=int
42303 echo "$as_me: failed program was:" >&5
42304 sed 's/^/| /' conftest.
$ac_ext >&5
42306 wx_cv_type_getsockopt5
=unknown
42309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42314 CXXFLAGS
="$CXXFLAGS_OLD"
42318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42321 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42322 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42324 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42326 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42327 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42329 cat >>confdefs.h
<<_ACEOF
42330 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42335 ac_cpp
='$CPP $CPPFLAGS'
42336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42343 if test "$wxUSE_SOCKETS" = "yes" ; then
42344 cat >>confdefs.h
<<\_ACEOF
42345 #define wxUSE_SOCKETS 1
42348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
42351 if test "$wxUSE_PROTOCOL" = "yes"; then
42352 if test "$wxUSE_SOCKETS" != "yes"; then
42353 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42354 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42359 if test "$wxUSE_PROTOCOL" = "yes"; then
42360 cat >>confdefs.h
<<\_ACEOF
42361 #define wxUSE_PROTOCOL 1
42365 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42366 cat >>confdefs.h
<<\_ACEOF
42367 #define wxUSE_PROTOCOL_HTTP 1
42371 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42372 cat >>confdefs.h
<<\_ACEOF
42373 #define wxUSE_PROTOCOL_FTP 1
42377 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42378 cat >>confdefs.h
<<\_ACEOF
42379 #define wxUSE_PROTOCOL_FILE 1
42384 if test "$wxUSE_FS_INET" = "yes"; then
42385 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42386 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42391 if test "$wxUSE_URL" = "yes"; then
42392 if test "$wxUSE_PROTOCOL" != "yes"; then
42393 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42394 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42397 if test "$wxUSE_URL" = "yes"; then
42398 cat >>confdefs.h
<<\_ACEOF
42399 #define wxUSE_URL 1
42405 if test "$wxUSE_FS_INET" = "yes"; then
42406 cat >>confdefs.h
<<\_ACEOF
42407 #define wxUSE_FS_INET 1
42413 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42416 if test "$TOOLKIT" = "MSW"; then
42419 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42420 if test "$USE_DARWIN" = 1; then
42421 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42422 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42424 ac_cpp
='$CXXCPP $CPPFLAGS'
42425 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42426 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42427 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42429 cat >conftest.
$ac_ext <<_ACEOF
42432 cat confdefs.h
>>conftest.
$ac_ext
42433 cat >>conftest.
$ac_ext <<_ACEOF
42434 /* end confdefs.h. */
42435 #include <IOKit/hid/IOHIDLib.h>
42439 IOHIDQueueInterface *qi = NULL;
42440 IOHIDCallbackFunction cb = NULL;
42441 qi->setEventCallout(NULL, cb, NULL, NULL);
42446 rm -f conftest.
$ac_objext
42447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42448 (eval $ac_compile) 2>conftest.er1
42450 grep -v '^ *+' conftest.er1
>conftest.err
42452 cat conftest.err
>&5
42453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42454 (exit $ac_status); } &&
42455 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42457 (eval $ac_try) 2>&5
42459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42460 (exit $ac_status); }; } &&
42461 { ac_try
='test -s conftest.$ac_objext'
42462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42463 (eval $ac_try) 2>&5
42465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42466 (exit $ac_status); }; }; then
42470 echo "$as_me: failed program was:" >&5
42471 sed 's/^/| /' conftest.
$ac_ext >&5
42474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42476 ac_cpp
='$CPP $CPPFLAGS'
42477 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42478 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42479 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42481 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42482 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42487 for ac_header
in linux
/joystick.h
42489 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42491 echo "$as_me:$LINENO: checking for $ac_header" >&5
42492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42494 echo $ECHO_N "(cached) $ECHO_C" >&6
42496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42499 # Is the header compilable?
42500 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42502 cat >conftest.
$ac_ext <<_ACEOF
42505 cat confdefs.h
>>conftest.
$ac_ext
42506 cat >>conftest.
$ac_ext <<_ACEOF
42507 /* end confdefs.h. */
42508 $ac_includes_default
42509 #include <$ac_header>
42511 rm -f conftest.
$ac_objext
42512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42513 (eval $ac_compile) 2>conftest.er1
42515 grep -v '^ *+' conftest.er1
>conftest.err
42517 cat conftest.err
>&5
42518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42519 (exit $ac_status); } &&
42520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42522 (eval $ac_try) 2>&5
42524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42525 (exit $ac_status); }; } &&
42526 { ac_try
='test -s conftest.$ac_objext'
42527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42528 (eval $ac_try) 2>&5
42530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531 (exit $ac_status); }; }; then
42532 ac_header_compiler
=yes
42534 echo "$as_me: failed program was:" >&5
42535 sed 's/^/| /' conftest.
$ac_ext >&5
42537 ac_header_compiler
=no
42539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42541 echo "${ECHO_T}$ac_header_compiler" >&6
42543 # Is the header present?
42544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42545 echo $ECHO_N "checking $ac_header presence... $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. */
42552 #include <$ac_header>
42554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42555 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
42557 grep -v '^ *+' conftest.er1
>conftest.err
42559 cat conftest.err
>&5
42560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42561 (exit $ac_status); } >/dev
/null
; then
42562 if test -s conftest.err
; then
42563 ac_cpp_err
=$ac_c_preproc_warn_flag
42564 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
42571 if test -z "$ac_cpp_err"; then
42572 ac_header_preproc
=yes
42574 echo "$as_me: failed program was:" >&5
42575 sed 's/^/| /' conftest.
$ac_ext >&5
42577 ac_header_preproc
=no
42579 rm -f conftest.err conftest.
$ac_ext
42580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42581 echo "${ECHO_T}$ac_header_preproc" >&6
42583 # So? What about this header?
42584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42590 ac_header_preproc
=yes
42593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42607 ## ----------------------------------------- ##
42608 ## Report this to wx-dev@lists.wxwidgets.org ##
42609 ## ----------------------------------------- ##
42612 sed "s/^/$as_me: WARNING: /" >&2
42615 echo "$as_me:$LINENO: checking for $ac_header" >&5
42616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42618 echo $ECHO_N "(cached) $ECHO_C" >&6
42620 eval "$as_ac_Header=\$ac_header_preproc"
42622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42627 cat >>confdefs.h
<<_ACEOF
42628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42637 if test "$wxUSE_JOYSTICK" = "yes"; then
42638 cat >>confdefs.h
<<\_ACEOF
42639 #define wxUSE_JOYSTICK 1
42642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
42644 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
42645 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
42651 if test "$wxUSE_FONTMAP" = "yes" ; then
42652 cat >>confdefs.h
<<\_ACEOF
42653 #define wxUSE_FONTMAP 1
42658 if test "$wxUSE_UNICODE" = "yes" ; then
42659 cat >>confdefs.h
<<\_ACEOF
42660 #define wxUSE_UNICODE 1
42664 if test "$USE_WIN32" != 1; then
42665 wxUSE_UNICODE_MSLU
=no
42668 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
42669 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
42670 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
42671 if test "${ac_cv_lib_unicows_main+set}" = set; then
42672 echo $ECHO_N "(cached) $ECHO_C" >&6
42674 ac_check_lib_save_LIBS
=$LIBS
42675 LIBS
="-lunicows $LIBS"
42676 cat >conftest.
$ac_ext <<_ACEOF
42679 cat confdefs.h
>>conftest.
$ac_ext
42680 cat >>conftest.
$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42692 rm -f conftest.
$ac_objext conftest
$ac_exeext
42693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42694 (eval $ac_link) 2>conftest.er1
42696 grep -v '^ *+' conftest.er1
>conftest.err
42698 cat conftest.err
>&5
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); } &&
42701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42703 (eval $ac_try) 2>&5
42705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706 (exit $ac_status); }; } &&
42707 { ac_try
='test -s conftest$ac_exeext'
42708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42709 (eval $ac_try) 2>&5
42711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42712 (exit $ac_status); }; }; then
42713 ac_cv_lib_unicows_main
=yes
42715 echo "$as_me: failed program was:" >&5
42716 sed 's/^/| /' conftest.
$ac_ext >&5
42718 ac_cv_lib_unicows_main
=no
42720 rm -f conftest.err conftest.
$ac_objext \
42721 conftest
$ac_exeext conftest.
$ac_ext
42722 LIBS
=$ac_check_lib_save_LIBS
42724 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
42725 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
42726 if test $ac_cv_lib_unicows_main = yes; then
42728 cat >>confdefs.h
<<\_ACEOF
42729 #define wxUSE_UNICODE_MSLU 1
42735 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
42736 Applications will only run on Windows NT/2000/XP!" >&5
42737 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
42738 Applications will only run on Windows NT/2000/XP!" >&2;}
42739 wxUSE_UNICODE_MSLU
=no
42746 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
42747 cat >>confdefs.h
<<\_ACEOF
42748 #define wxUSE_EXPERIMENTAL_PRINTF 1
42754 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
42755 cat >>confdefs.h
<<\_ACEOF
42756 #define wxUSE_POSTSCRIPT 1
42761 cat >>confdefs.h
<<\_ACEOF
42762 #define wxUSE_AFM_FOR_POSTSCRIPT 1
42766 cat >>confdefs.h
<<\_ACEOF
42767 #define wxUSE_NORMALIZED_PS_FONTS 1
42772 if test "$wxUSE_CONSTRAINTS" = "yes"; then
42773 cat >>confdefs.h
<<\_ACEOF
42774 #define wxUSE_CONSTRAINTS 1
42777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
42780 if test "$wxUSE_MDI" = "yes"; then
42781 cat >>confdefs.h
<<\_ACEOF
42782 #define wxUSE_MDI 1
42786 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
42787 cat >>confdefs.h
<<\_ACEOF
42788 #define wxUSE_MDI_ARCHITECTURE 1
42791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
42795 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
42796 cat >>confdefs.h
<<\_ACEOF
42797 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
42800 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
42801 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
42802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
42806 if test "$wxUSE_HELP" = "yes"; then
42807 cat >>confdefs.h
<<\_ACEOF
42808 #define wxUSE_HELP 1
42811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
42813 if test "$wxUSE_MSW" = 1; then
42814 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
42815 cat >>confdefs.h
<<\_ACEOF
42816 #define wxUSE_MS_HTML_HELP 1
42822 if test "$wxUSE_WXHTML_HELP" = "yes"; then
42823 if test "$wxUSE_HTML" = "yes"; then
42824 cat >>confdefs.h
<<\_ACEOF
42825 #define wxUSE_WXHTML_HELP 1
42829 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
42830 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
42831 wxUSE_WXHTML_HELP
=no
42836 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42837 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42838 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
42839 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
42841 cat >>confdefs.h
<<\_ACEOF
42842 #define wxUSE_PRINTING_ARCHITECTURE 1
42846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
42849 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
42850 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
42851 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
42852 { (exit 1); exit 1; }; }
42856 if test "$wxUSE_METAFILE" = "yes"; then
42857 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
42858 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
42859 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
42865 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
42866 -o "$wxUSE_CLIPBOARD" = "yes" \
42867 -o "$wxUSE_OLE" = "yes" \
42868 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
42870 for ac_header
in ole2.h
42872 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42874 echo "$as_me:$LINENO: checking for $ac_header" >&5
42875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42877 echo $ECHO_N "(cached) $ECHO_C" >&6
42879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42882 # Is the header compilable?
42883 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42884 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42885 cat >conftest.
$ac_ext <<_ACEOF
42888 cat confdefs.h
>>conftest.
$ac_ext
42889 cat >>conftest.
$ac_ext <<_ACEOF
42890 /* end confdefs.h. */
42891 $ac_includes_default
42892 #include <$ac_header>
42894 rm -f conftest.
$ac_objext
42895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42896 (eval $ac_compile) 2>conftest.er1
42898 grep -v '^ *+' conftest.er1
>conftest.err
42900 cat conftest.err
>&5
42901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42902 (exit $ac_status); } &&
42903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42905 (eval $ac_try) 2>&5
42907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42908 (exit $ac_status); }; } &&
42909 { ac_try
='test -s conftest.$ac_objext'
42910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42911 (eval $ac_try) 2>&5
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); }; }; then
42915 ac_header_compiler
=yes
42917 echo "$as_me: failed program was:" >&5
42918 sed 's/^/| /' conftest.
$ac_ext >&5
42920 ac_header_compiler
=no
42922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42924 echo "${ECHO_T}$ac_header_compiler" >&6
42926 # Is the header present?
42927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42929 cat >conftest.
$ac_ext <<_ACEOF
42932 cat confdefs.h
>>conftest.
$ac_ext
42933 cat >>conftest.
$ac_ext <<_ACEOF
42934 /* end confdefs.h. */
42935 #include <$ac_header>
42937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
42940 grep -v '^ *+' conftest.er1
>conftest.err
42942 cat conftest.err
>&5
42943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944 (exit $ac_status); } >/dev
/null
; then
42945 if test -s conftest.err
; then
42946 ac_cpp_err
=$ac_c_preproc_warn_flag
42947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
42954 if test -z "$ac_cpp_err"; then
42955 ac_header_preproc
=yes
42957 echo "$as_me: failed program was:" >&5
42958 sed 's/^/| /' conftest.
$ac_ext >&5
42960 ac_header_preproc
=no
42962 rm -f conftest.err conftest.
$ac_ext
42963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42964 echo "${ECHO_T}$ac_header_preproc" >&6
42966 # So? What about this header?
42967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42973 ac_header_preproc
=yes
42976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42990 ## ----------------------------------------- ##
42991 ## Report this to wx-dev@lists.wxwidgets.org ##
42992 ## ----------------------------------------- ##
42995 sed "s/^/$as_me: WARNING: /" >&2
42998 echo "$as_me:$LINENO: checking for $ac_header" >&5
42999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43001 echo $ECHO_N "(cached) $ECHO_C" >&6
43003 eval "$as_ac_Header=\$ac_header_preproc"
43005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43010 cat >>confdefs.h
<<_ACEOF
43011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43019 if test "$ac_cv_header_ole2_h" = "yes" ; then
43020 if test "$GCC" = yes ; then
43022 ac_cpp
='$CXXCPP $CPPFLAGS'
43023 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43024 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43025 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43028 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43029 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43030 cat >conftest.
$ac_ext <<_ACEOF
43033 cat confdefs.h
>>conftest.
$ac_ext
43034 cat >>conftest.
$ac_ext <<_ACEOF
43035 /* end confdefs.h. */
43036 #include <windows.h>
43046 rm -f conftest.
$ac_objext
43047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43048 (eval $ac_compile) 2>conftest.er1
43050 grep -v '^ *+' conftest.er1
>conftest.err
43052 cat conftest.err
>&5
43053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43054 (exit $ac_status); } &&
43055 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43057 (eval $ac_try) 2>&5
43059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43060 (exit $ac_status); }; } &&
43061 { ac_try
='test -s conftest.$ac_objext'
43062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43063 (eval $ac_try) 2>&5
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); }; }; then
43067 echo "$as_me:$LINENO: result: no" >&5
43068 echo "${ECHO_T}no" >&6
43070 echo "$as_me: failed program was:" >&5
43071 sed 's/^/| /' conftest.
$ac_ext >&5
43073 echo "$as_me:$LINENO: result: yes" >&5
43074 echo "${ECHO_T}yes" >&6
43075 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43079 ac_cpp
='$CPP $CPPFLAGS'
43080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43084 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43085 if test "$wxUSE_OLE" = "yes" ; then
43086 cat >>confdefs.h
<<\_ACEOF
43087 #define wxUSE_OLE 1
43090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43094 if test "$wxUSE_DATAOBJ" = "yes" ; then
43095 cat >>confdefs.h
<<\_ACEOF
43096 #define wxUSE_DATAOBJ 1
43101 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43102 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43105 wxUSE_DRAG_AND_DROP
=no
43110 if test "$wxUSE_METAFILE" = "yes"; then
43111 cat >>confdefs.h
<<\_ACEOF
43112 #define wxUSE_METAFILE 1
43116 cat >>confdefs.h
<<\_ACEOF
43117 #define wxUSE_ENH_METAFILE 1
43123 if test "$wxUSE_IPC" = "yes"; then
43124 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43125 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43126 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43130 if test "$wxUSE_IPC" = "yes"; then
43131 cat >>confdefs.h
<<\_ACEOF
43132 #define wxUSE_IPC 1
43135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43139 if test "$wxUSE_DATAOBJ" = "yes"; then
43140 if test "$wxUSE_MGL" = 1; then
43141 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43142 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43145 cat >>confdefs.h
<<\_ACEOF
43146 #define wxUSE_DATAOBJ 1
43151 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43152 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43154 wxUSE_DRAG_AND_DROP
=no
43157 if test "$wxUSE_CLIPBOARD" = "yes"; then
43158 if test "$wxUSE_MGL" = 1; then
43159 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43160 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43164 if test "$wxUSE_CLIPBOARD" = "yes"; then
43165 cat >>confdefs.h
<<\_ACEOF
43166 #define wxUSE_CLIPBOARD 1
43172 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43173 if test "$wxUSE_GTK" = 1; then
43174 if test "$WXGTK12" != 1; then
43175 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43176 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43177 wxUSE_DRAG_AND_DROP
=no
43181 if test "$wxUSE_MOTIF" = 1; then
43182 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43183 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43184 wxUSE_DRAG_AND_DROP
=no
43187 if test "$wxUSE_X11" = 1; then
43188 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43189 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43190 wxUSE_DRAG_AND_DROP
=no
43193 if test "$wxUSE_MGL" = 1; then
43194 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43195 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43196 wxUSE_DRAG_AND_DROP
=no
43199 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43200 cat >>confdefs.h
<<\_ACEOF
43201 #define wxUSE_DRAG_AND_DROP 1
43208 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43212 if test "$wxUSE_SPLINES" = "yes" ; then
43213 cat >>confdefs.h
<<\_ACEOF
43214 #define wxUSE_SPLINES 1
43219 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43220 cat >>confdefs.h
<<\_ACEOF
43221 #define wxUSE_MOUSEWHEEL 1
43228 if test "$wxUSE_CONTROLS" = "yes"; then
43232 if test "$wxUSE_ACCEL" = "yes"; then
43233 cat >>confdefs.h
<<\_ACEOF
43234 #define wxUSE_ACCEL 1
43240 if test "$wxUSE_BUTTON" = "yes"; then
43241 cat >>confdefs.h
<<\_ACEOF
43242 #define wxUSE_BUTTON 1
43248 if test "$wxUSE_BMPBUTTON" = "yes"; then
43249 cat >>confdefs.h
<<\_ACEOF
43250 #define wxUSE_BMPBUTTON 1
43256 if test "$wxUSE_CALCTRL" = "yes"; then
43257 cat >>confdefs.h
<<\_ACEOF
43258 #define wxUSE_CALENDARCTRL 1
43262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43265 if test "$wxUSE_CARET" = "yes"; then
43266 cat >>confdefs.h
<<\_ACEOF
43267 #define wxUSE_CARET 1
43271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43274 if test "$wxUSE_COMBOBOX" = "yes"; then
43275 cat >>confdefs.h
<<\_ACEOF
43276 #define wxUSE_COMBOBOX 1
43282 if test "$wxUSE_CHOICE" = "yes"; then
43283 cat >>confdefs.h
<<\_ACEOF
43284 #define wxUSE_CHOICE 1
43290 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43291 cat >>confdefs.h
<<\_ACEOF
43292 #define wxUSE_CHOICEBOOK 1
43298 if test "$wxUSE_CHECKBOX" = "yes"; then
43299 cat >>confdefs.h
<<\_ACEOF
43300 #define wxUSE_CHECKBOX 1
43306 if test "$wxUSE_CHECKLST" = "yes"; then
43307 cat >>confdefs.h
<<\_ACEOF
43308 #define wxUSE_CHECKLISTBOX 1
43312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
43315 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43316 cat >>confdefs.h
<<\_ACEOF
43317 #define wxUSE_DATEPICKCTRL 1
43323 if test "$wxUSE_DISPLAY" = "yes"; then
43324 cat >>confdefs.h
<<\_ACEOF
43325 #define wxUSE_DISPLAY 1
43328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
43331 if test "$wxUSE_GAUGE" = "yes"; then
43332 cat >>confdefs.h
<<\_ACEOF
43333 #define wxUSE_GAUGE 1
43339 if test "$wxUSE_GRID" = "yes"; then
43340 cat >>confdefs.h
<<\_ACEOF
43341 #define wxUSE_GRID 1
43345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
43348 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43349 cat >>confdefs.h
<<\_ACEOF
43350 #define wxUSE_DATAVIEWCTRL 1
43354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
43357 if test "$wxUSE_IMAGLIST" = "yes"; then
43358 cat >>confdefs.h
<<\_ACEOF
43359 #define wxUSE_IMAGLIST 1
43364 if test "$wxUSE_LISTBOOK" = "yes"; then
43365 cat >>confdefs.h
<<\_ACEOF
43366 #define wxUSE_LISTBOOK 1
43372 if test "$wxUSE_LISTBOX" = "yes"; then
43373 cat >>confdefs.h
<<\_ACEOF
43374 #define wxUSE_LISTBOX 1
43378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
43381 if test "$wxUSE_LISTCTRL" = "yes"; then
43382 if test "$wxUSE_IMAGLIST" = "yes"; then
43383 cat >>confdefs.h
<<\_ACEOF
43384 #define wxUSE_LISTCTRL 1
43388 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
43390 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43391 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43395 if test "$wxUSE_NOTEBOOK" = "yes"; then
43396 cat >>confdefs.h
<<\_ACEOF
43397 #define wxUSE_NOTEBOOK 1
43401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
43405 if test "$wxUSE_RADIOBOX" = "yes"; then
43406 cat >>confdefs.h
<<\_ACEOF
43407 #define wxUSE_RADIOBOX 1
43413 if test "$wxUSE_RADIOBTN" = "yes"; then
43414 cat >>confdefs.h
<<\_ACEOF
43415 #define wxUSE_RADIOBTN 1
43421 if test "$wxUSE_SASH" = "yes"; then
43422 cat >>confdefs.h
<<\_ACEOF
43423 #define wxUSE_SASH 1
43426 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
43429 if test "$wxUSE_SCROLLBAR" = "yes"; then
43430 cat >>confdefs.h
<<\_ACEOF
43431 #define wxUSE_SCROLLBAR 1
43435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
43438 if test "$wxUSE_SLIDER" = "yes"; then
43439 cat >>confdefs.h
<<\_ACEOF
43440 #define wxUSE_SLIDER 1
43446 if test "$wxUSE_SPINBTN" = "yes"; then
43447 cat >>confdefs.h
<<\_ACEOF
43448 #define wxUSE_SPINBTN 1
43454 if test "$wxUSE_SPINCTRL" = "yes"; then
43455 cat >>confdefs.h
<<\_ACEOF
43456 #define wxUSE_SPINCTRL 1
43462 if test "$wxUSE_SPLITTER" = "yes"; then
43463 cat >>confdefs.h
<<\_ACEOF
43464 #define wxUSE_SPLITTER 1
43467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
43470 if test "$wxUSE_STATBMP" = "yes"; then
43471 cat >>confdefs.h
<<\_ACEOF
43472 #define wxUSE_STATBMP 1
43478 if test "$wxUSE_STATBOX" = "yes"; then
43479 cat >>confdefs.h
<<\_ACEOF
43480 #define wxUSE_STATBOX 1
43486 if test "$wxUSE_STATTEXT" = "yes"; then
43487 cat >>confdefs.h
<<\_ACEOF
43488 #define wxUSE_STATTEXT 1
43494 if test "$wxUSE_STATLINE" = "yes"; then
43495 cat >>confdefs.h
<<\_ACEOF
43496 #define wxUSE_STATLINE 1
43502 if test "$wxUSE_STATUSBAR" = "yes"; then
43503 cat >>confdefs.h
<<\_ACEOF
43504 #define wxUSE_NATIVE_STATUSBAR 1
43507 cat >>confdefs.h
<<\_ACEOF
43508 #define wxUSE_STATUSBAR 1
43513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
43516 if test "$wxUSE_TAB_DIALOG" = "yes"; then
43517 cat >>confdefs.h
<<\_ACEOF
43518 #define wxUSE_TAB_DIALOG 1
43523 if test "$wxUSE_TEXTCTRL" = "yes"; then
43524 cat >>confdefs.h
<<\_ACEOF
43525 #define wxUSE_TEXTCTRL 1
43529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
43532 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43533 if test "$wxUSE_COCOA" = 1 ; then
43534 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
43535 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
43538 if test "$wxUSE_UNIVERSAL" = "yes"; then
43539 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
43540 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
43544 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43545 cat >>confdefs.h
<<\_ACEOF
43546 #define wxUSE_TOGGLEBTN 1
43553 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
43554 cat >>confdefs.h
<<\_ACEOF
43555 #define wxUSE_TOOLBAR_SIMPLE 1
43558 wxUSE_TOOLBAR
="yes"
43562 if test "$wxUSE_TOOLBAR" = "yes"; then
43563 cat >>confdefs.h
<<\_ACEOF
43564 #define wxUSE_TOOLBAR 1
43569 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
43570 wxUSE_TOOLBAR_NATIVE
="yes"
43573 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
43574 cat >>confdefs.h
<<\_ACEOF
43575 #define wxUSE_TOOLBAR_NATIVE 1
43581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
43584 if test "$wxUSE_TOOLTIPS" = "yes"; then
43585 if test "$wxUSE_MOTIF" = 1; then
43586 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
43587 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
43589 if test "$wxUSE_UNIVERSAL" = "yes"; then
43590 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
43591 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
43593 cat >>confdefs.h
<<\_ACEOF
43594 #define wxUSE_TOOLTIPS 1
43601 if test "$wxUSE_TREEBOOK" = "yes"; then
43602 cat >>confdefs.h
<<\_ACEOF
43603 #define wxUSE_TREEBOOK 1
43609 if test "$wxUSE_TOOLBOOK" = "yes"; then
43610 cat >>confdefs.h
<<\_ACEOF
43611 #define wxUSE_TOOLBOOK 1
43617 if test "$wxUSE_TREECTRL" = "yes"; then
43618 if test "$wxUSE_IMAGLIST" = "yes"; then
43619 cat >>confdefs.h
<<\_ACEOF
43620 #define wxUSE_TREECTRL 1
43624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
43626 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
43627 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
43631 if test "$wxUSE_POPUPWIN" = "yes"; then
43632 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43633 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
43634 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
43636 if test "$wxUSE_PM" = 1; then
43637 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
43638 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
43640 cat >>confdefs.h
<<\_ACEOF
43641 #define wxUSE_POPUPWIN 1
43644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
43651 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
43652 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43653 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
43654 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
43656 cat >>confdefs.h
<<\_ACEOF
43657 #define wxUSE_DIALUP_MANAGER 1
43660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
43664 if test "$wxUSE_TIPWINDOW" = "yes"; then
43665 if test "$wxUSE_PM" = 1; then
43666 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
43667 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
43669 cat >>confdefs.h
<<\_ACEOF
43670 #define wxUSE_TIPWINDOW 1
43676 if test "$USES_CONTROLS" = 1; then
43677 cat >>confdefs.h
<<\_ACEOF
43678 #define wxUSE_CONTROLS 1
43684 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
43685 cat >>confdefs.h
<<\_ACEOF
43686 #define wxUSE_ACCESSIBILITY 1
43689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
43692 if test "$wxUSE_DC_CACHEING" = "yes"; then
43693 cat >>confdefs.h
<<\_ACEOF
43694 #define wxUSE_DC_CACHEING 1
43699 if test "$wxUSE_DRAGIMAGE" = "yes"; then
43700 cat >>confdefs.h
<<\_ACEOF
43701 #define wxUSE_DRAGIMAGE 1
43704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
43707 if test "$wxUSE_EXCEPTIONS" = "yes"; then
43708 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43709 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
43710 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
43712 cat >>confdefs.h
<<\_ACEOF
43713 #define wxUSE_EXCEPTIONS 1
43716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
43721 if test "$wxUSE_HTML" = "yes"; then
43722 cat >>confdefs.h
<<\_ACEOF
43723 #define wxUSE_HTML 1
43727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
43728 if test "$wxUSE_MAC" = 1; then
43729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
43732 if test "$wxUSE_WEBKIT" = "yes"; then
43733 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
43734 old_CPPFLAGS
="$CPPFLAGS"
43735 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
43736 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
43737 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
43738 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
43739 echo $ECHO_N "(cached) $ECHO_C" >&6
43741 cat >conftest.
$ac_ext <<_ACEOF
43744 cat confdefs.h
>>conftest.
$ac_ext
43745 cat >>conftest.
$ac_ext <<_ACEOF
43746 /* end confdefs.h. */
43747 #include <Carbon/Carbon.h>
43749 #include <WebKit/HIWebView.h>
43751 rm -f conftest.
$ac_objext
43752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43753 (eval $ac_compile) 2>conftest.er1
43755 grep -v '^ *+' conftest.er1
>conftest.err
43757 cat conftest.err
>&5
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); } &&
43760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43762 (eval $ac_try) 2>&5
43764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43765 (exit $ac_status); }; } &&
43766 { ac_try
='test -s conftest.$ac_objext'
43767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43768 (eval $ac_try) 2>&5
43770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43771 (exit $ac_status); }; }; then
43772 ac_cv_header_WebKit_HIWebView_h
=yes
43774 echo "$as_me: failed program was:" >&5
43775 sed 's/^/| /' conftest.
$ac_ext >&5
43777 ac_cv_header_WebKit_HIWebView_h
=no
43779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43781 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
43782 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
43783 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
43785 cat >>confdefs.h
<<\_ACEOF
43786 #define wxUSE_WEBKIT 1
43789 WEBKIT_LINK
="-framework WebKit"
43793 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
43794 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
43800 CPPFLAGS
="$old_CPPFLAGS"
43801 elif test "$wxUSE_COCOA" = 1; then
43802 cat >>confdefs.h
<<\_ACEOF
43803 #define wxUSE_WEBKIT 1
43812 if test "$wxUSE_XRC" = "yes"; then
43813 if test "$wxUSE_XML" != "yes"; then
43814 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
43815 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
43818 cat >>confdefs.h
<<\_ACEOF
43819 #define wxUSE_XRC 1
43823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
43827 if test "$wxUSE_MENUS" = "yes"; then
43828 cat >>confdefs.h
<<\_ACEOF
43829 #define wxUSE_MENUS 1
43832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
43835 if test "$wxUSE_METAFILE" = "yes"; then
43836 cat >>confdefs.h
<<\_ACEOF
43837 #define wxUSE_METAFILE 1
43842 if test "$wxUSE_MIMETYPE" = "yes"; then
43843 cat >>confdefs.h
<<\_ACEOF
43844 #define wxUSE_MIMETYPE 1
43849 if test "$wxUSE_MINIFRAME" = "yes"; then
43850 cat >>confdefs.h
<<\_ACEOF
43851 #define wxUSE_MINIFRAME 1
43854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
43857 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
43858 cat >>confdefs.h
<<\_ACEOF
43859 #define wxUSE_SYSTEM_OPTIONS 1
43862 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
43863 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
43864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
43869 if test "$wxUSE_VALIDATORS" = "yes"; then
43870 cat >>confdefs.h
<<\_ACEOF
43871 #define wxUSE_VALIDATORS 1
43874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
43877 if test "$wxUSE_PALETTE" = "yes" ; then
43878 cat >>confdefs.h
<<\_ACEOF
43879 #define wxUSE_PALETTE 1
43884 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
43885 LIBS
=" -lunicows $LIBS"
43889 if test "$wxUSE_RICHTEXT" = "yes"; then
43890 cat >>confdefs.h
<<\_ACEOF
43891 #define wxUSE_RICHTEXT 1
43895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
43899 if test "$wxUSE_IMAGE" = "yes" ; then
43900 cat >>confdefs.h
<<\_ACEOF
43901 #define wxUSE_IMAGE 1
43905 if test "$wxUSE_GIF" = "yes" ; then
43906 cat >>confdefs.h
<<\_ACEOF
43907 #define wxUSE_GIF 1
43912 if test "$wxUSE_PCX" = "yes" ; then
43913 cat >>confdefs.h
<<\_ACEOF
43914 #define wxUSE_PCX 1
43919 if test "$wxUSE_IFF" = "yes" ; then
43920 cat >>confdefs.h
<<\_ACEOF
43921 #define wxUSE_IFF 1
43926 if test "$wxUSE_PNM" = "yes" ; then
43927 cat >>confdefs.h
<<\_ACEOF
43928 #define wxUSE_PNM 1
43933 if test "$wxUSE_XPM" = "yes" ; then
43934 cat >>confdefs.h
<<\_ACEOF
43935 #define wxUSE_XPM 1
43940 if test "$wxUSE_ICO_CUR" = "yes" ; then
43941 cat >>confdefs.h
<<\_ACEOF
43942 #define wxUSE_ICO_CUR 1
43949 if test "$wxUSE_CHOICEDLG" = "yes"; then
43950 cat >>confdefs.h
<<\_ACEOF
43951 #define wxUSE_CHOICEDLG 1
43956 if test "$wxUSE_COLOURDLG" = "yes"; then
43957 cat >>confdefs.h
<<\_ACEOF
43958 #define wxUSE_COLOURDLG 1
43963 if test "$wxUSE_FILEDLG" = "yes"; then
43964 cat >>confdefs.h
<<\_ACEOF
43965 #define wxUSE_FILEDLG 1
43970 if test "$wxUSE_FINDREPLDLG" = "yes"; then
43971 cat >>confdefs.h
<<\_ACEOF
43972 #define wxUSE_FINDREPLDLG 1
43977 if test "$wxUSE_FONTDLG" = "yes"; then
43978 cat >>confdefs.h
<<\_ACEOF
43979 #define wxUSE_FONTDLG 1
43984 if test "$wxUSE_DIRDLG" = "yes"; then
43985 if test "$wxUSE_TREECTRL" != "yes"; then
43986 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
43987 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
43989 cat >>confdefs.h
<<\_ACEOF
43990 #define wxUSE_DIRDLG 1
43996 if test "$wxUSE_MSGDLG" = "yes"; then
43997 cat >>confdefs.h
<<\_ACEOF
43998 #define wxUSE_MSGDLG 1
44003 if test "$wxUSE_NUMBERDLG" = "yes"; then
44004 cat >>confdefs.h
<<\_ACEOF
44005 #define wxUSE_NUMBERDLG 1
44010 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44011 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44012 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44013 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44015 cat >>confdefs.h
<<\_ACEOF
44016 #define wxUSE_PROGRESSDLG 1
44022 if test "$wxUSE_SPLASH" = "yes"; then
44023 cat >>confdefs.h
<<\_ACEOF
44024 #define wxUSE_SPLASH 1
44027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44030 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44031 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44032 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44033 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44035 cat >>confdefs.h
<<\_ACEOF
44036 #define wxUSE_STARTUP_TIPS 1
44042 if test "$wxUSE_TEXTDLG" = "yes"; then
44043 cat >>confdefs.h
<<\_ACEOF
44044 #define wxUSE_TEXTDLG 1
44049 if test "$wxUSE_WIZARDDLG" = "yes"; then
44050 cat >>confdefs.h
<<\_ACEOF
44051 #define wxUSE_WIZARDDLG 1
44054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44060 if test "$wxUSE_MEDIACTRL" = "yes"; then
44061 if test "$wxUSE_GTK" = 1; then
44062 wxUSE_GSTREAMER
="yes"
44064 GST_VERSION_MAJOR
=0
44065 GST_VERSION_MINOR
=10
44066 GST_VERSION_RELEASE
=0
44067 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44068 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44070 if test "$wxUSE_GSTREAMER8" = "no"; then
44074 if test -z "$PKG_CONFIG"; then
44075 # Extract the first word of "pkg-config", so it can be a program name with args.
44076 set dummy pkg
-config; ac_word
=$2
44077 echo "$as_me:$LINENO: checking for $ac_word" >&5
44078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44079 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44080 echo $ECHO_N "(cached) $ECHO_C" >&6
44082 case $PKG_CONFIG in
44084 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44088 for as_dir
in $PATH
44091 test -z "$as_dir" && as_dir
=.
44092 for ac_exec_ext
in '' $ac_executable_extensions; do
44093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44094 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44101 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44105 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44107 if test -n "$PKG_CONFIG"; then
44108 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44109 echo "${ECHO_T}$PKG_CONFIG" >&6
44111 echo "$as_me:$LINENO: result: no" >&5
44112 echo "${ECHO_T}no" >&6
44117 if test "$PKG_CONFIG" = "no" ; then
44118 echo "*** The pkg-config script could not be found. Make sure it is"
44119 echo "*** in your path, or set the PKG_CONFIG environment variable"
44120 echo "*** to the full path to pkg-config."
44121 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44123 PKG_CONFIG_MIN_VERSION
=0.9.0
44124 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44125 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44126 gstreamer-plugins-base-$GST_MAJORMINOR
44128 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44129 gstreamer-plugins-base-$GST_MAJORMINOR
44130 gconf-2.0... $ECHO_C" >&6
44132 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44133 gstreamer-plugins-base-$GST_MAJORMINOR
44135 echo "$as_me:$LINENO: result: yes" >&5
44136 echo "${ECHO_T}yes" >&6
44139 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44140 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44141 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44142 gstreamer-plugins-base-$GST_MAJORMINOR
44144 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44145 echo "${ECHO_T}$GST_CFLAGS" >&6
44147 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44148 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44149 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44150 gstreamer-plugins-base-$GST_MAJORMINOR
44152 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44153 echo "${ECHO_T}$GST_LIBS" >&6
44157 ## If we have a custom action on failure, don't print errors, but
44158 ## do set a variable so people can do so.
44159 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44160 gstreamer-plugins-base-$GST_MAJORMINOR
44168 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44169 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44173 if test $succeeded = yes; then
44175 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
44176 LIBS
="$LIBS $GST_LIBS -lgstinterfaces-$GST_MAJORMINOR"
44180 GST_VERSION_MINOR
=8
44185 GST_VERSION_MINOR
=8
44188 GSTREAMER_REQ
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR.
$GST_VERSION_RELEASE
44189 GST_MAJORMINOR
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44191 if test x
$GST_VERSION_MINOR = x8
; then
44195 if test -z "$PKG_CONFIG"; then
44196 # Extract the first word of "pkg-config", so it can be a program name with args.
44197 set dummy pkg
-config; ac_word
=$2
44198 echo "$as_me:$LINENO: checking for $ac_word" >&5
44199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44200 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44201 echo $ECHO_N "(cached) $ECHO_C" >&6
44203 case $PKG_CONFIG in
44205 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44209 for as_dir
in $PATH
44212 test -z "$as_dir" && as_dir
=.
44213 for ac_exec_ext
in '' $ac_executable_extensions; do
44214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44215 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44222 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44226 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44228 if test -n "$PKG_CONFIG"; then
44229 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44230 echo "${ECHO_T}$PKG_CONFIG" >&6
44232 echo "$as_me:$LINENO: result: no" >&5
44233 echo "${ECHO_T}no" >&6
44238 if test "$PKG_CONFIG" = "no" ; then
44239 echo "*** The pkg-config script could not be found. Make sure it is"
44240 echo "*** in your path, or set the PKG_CONFIG environment variable"
44241 echo "*** to the full path to pkg-config."
44242 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44244 PKG_CONFIG_MIN_VERSION
=0.9.0
44245 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44246 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44247 gstreamer-interfaces-$GST_MAJORMINOR
44248 gstreamer-gconf-$GST_MAJORMINOR" >&5
44249 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44250 gstreamer-interfaces-$GST_MAJORMINOR
44251 gstreamer-gconf-$GST_MAJORMINOR... $ECHO_C" >&6
44253 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44254 gstreamer-interfaces-$GST_MAJORMINOR
44255 gstreamer-gconf-$GST_MAJORMINOR" ; then
44256 echo "$as_me:$LINENO: result: yes" >&5
44257 echo "${ECHO_T}yes" >&6
44260 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44261 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44262 GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44263 gstreamer-interfaces-$GST_MAJORMINOR
44264 gstreamer-gconf-$GST_MAJORMINOR"`
44265 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44266 echo "${ECHO_T}$GST_CFLAGS" >&6
44268 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44269 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44270 GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44271 gstreamer-interfaces-$GST_MAJORMINOR
44272 gstreamer-gconf-$GST_MAJORMINOR"`
44273 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44274 echo "${ECHO_T}$GST_LIBS" >&6
44278 ## If we have a custom action on failure, don't print errors, but
44279 ## do set a variable so people can do so.
44280 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44281 gstreamer-interfaces-$GST_MAJORMINOR
44282 gstreamer-gconf-$GST_MAJORMINOR"`
44289 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44290 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44294 if test $succeeded = yes; then
44296 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
44297 LIBS
="$LIBS $GST_LIBS"
44301 { echo "$as_me:$LINENO: WARNING: Proper GStreamer .8/.10 installation not found" >&5
44302 echo "$as_me: WARNING: Proper GStreamer .8/.10 installation not found" >&2;}
44303 wxUSE_GSTREAMER
="no"
44310 if test "$wxUSE_GSTREAMER" = "yes"; then
44311 cat >>confdefs.h
<<\_ACEOF
44312 #define wxUSE_GSTREAMER 1
44315 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44316 echo "${ECHO_T}GStreamer detection successful" >&6
44320 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
44321 cat >>confdefs.h
<<\_ACEOF
44322 #define wxUSE_MEDIACTRL 1
44328 if test "$cross_compiling" = "yes"; then
44331 OSINFO
=`uname -s -r -m`
44332 OSINFO
="\"$OSINFO\""
44335 cat >>confdefs.h
<<_ACEOF
44336 #define WXWIN_OS_DESCRIPTION $OSINFO
44341 if test "x$prefix" != "xNONE"; then
44344 wxPREFIX
=$ac_default_prefix
44347 cat >>confdefs.h
<<_ACEOF
44348 #define wxINSTALL_PREFIX "$wxPREFIX"
44354 CORE_BASE_LIBS
="net base"
44355 CORE_GUI_LIBS
="adv core"
44357 if test "$wxUSE_XML" = "yes" ; then
44358 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
44360 if test "$wxUSE_ODBC" != "no" ; then
44361 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
44362 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
44364 if test "$wxUSE_HTML" = "yes" ; then
44365 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
44367 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44368 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
44370 if test "$wxUSE_XRC" = "yes" ; then
44371 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
44374 if test "$wxUSE_GUI" != "yes"; then
44384 if test "$wxUSE_MAC" = 1 ; then
44385 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44386 if test "$USE_DARWIN" = 1; then
44387 LDFLAGS
="$LDFLAGS -framework QuickTime"
44389 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
44392 if test "$USE_DARWIN" = 1; then
44393 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44395 LDFLAGS
="$LDFLAGS -lCarbonLib"
44398 if test "$wxUSE_COCOA" = 1 ; then
44399 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
44400 if test "$wxUSE_MEDIACTRL" = "yes"; then
44401 LDFLAGS
="$LDFLAGS -framework QuickTime"
44404 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44405 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44409 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44416 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44417 echo "$as_me:$LINENO: checking for $ac_func" >&5
44418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44419 if eval "test \"\${$as_ac_var+set}\" = set"; then
44420 echo $ECHO_N "(cached) $ECHO_C" >&6
44422 cat >conftest.
$ac_ext <<_ACEOF
44425 cat confdefs.h
>>conftest.
$ac_ext
44426 cat >>conftest.
$ac_ext <<_ACEOF
44427 /* end confdefs.h. */
44428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44430 #define $ac_func innocuous_$ac_func
44432 /* System header to define __stub macros and hopefully few prototypes,
44433 which can conflict with char $ac_func (); below.
44434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44435 <limits.h> exists even on freestanding compilers. */
44438 # include <limits.h>
44440 # include <assert.h>
44445 /* Override any gcc2 internal prototype to avoid an error. */
44450 /* We use char because int might match the return type of a gcc2
44451 builtin and then its argument prototype would still apply. */
44453 /* The GNU C library defines this for functions which it implements
44454 to always fail with ENOSYS. Some functions are actually named
44455 something starting with __ and the normal name is an alias. */
44456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44459 char (*f) () = $ac_func;
44468 return f != $ac_func;
44473 rm -f conftest.
$ac_objext conftest
$ac_exeext
44474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44475 (eval $ac_link) 2>conftest.er1
44477 grep -v '^ *+' conftest.er1
>conftest.err
44479 cat conftest.err
>&5
44480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481 (exit $ac_status); } &&
44482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44484 (eval $ac_try) 2>&5
44486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487 (exit $ac_status); }; } &&
44488 { ac_try
='test -s conftest$ac_exeext'
44489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44490 (eval $ac_try) 2>&5
44492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44493 (exit $ac_status); }; }; then
44494 eval "$as_ac_var=yes"
44496 echo "$as_me: failed program was:" >&5
44497 sed 's/^/| /' conftest.
$ac_ext >&5
44499 eval "$as_ac_var=no"
44501 rm -f conftest.err conftest.
$ac_objext \
44502 conftest
$ac_exeext conftest.
$ac_ext
44504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44506 if test `eval echo '${'$as_ac_var'}'` = yes; then
44507 cat >>confdefs.h
<<_ACEOF
44508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44515 for ac_func
in floor
44517 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44518 echo "$as_me:$LINENO: checking for $ac_func" >&5
44519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44520 if eval "test \"\${$as_ac_var+set}\" = set"; then
44521 echo $ECHO_N "(cached) $ECHO_C" >&6
44523 cat >conftest.
$ac_ext <<_ACEOF
44526 cat confdefs.h
>>conftest.
$ac_ext
44527 cat >>conftest.
$ac_ext <<_ACEOF
44528 /* end confdefs.h. */
44529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44531 #define $ac_func innocuous_$ac_func
44533 /* System header to define __stub macros and hopefully few prototypes,
44534 which can conflict with char $ac_func (); below.
44535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44536 <limits.h> exists even on freestanding compilers. */
44539 # include <limits.h>
44541 # include <assert.h>
44546 /* Override any gcc2 internal prototype to avoid an error. */
44551 /* We use char because int might match the return type of a gcc2
44552 builtin and then its argument prototype would still apply. */
44554 /* The GNU C library defines this for functions which it implements
44555 to always fail with ENOSYS. Some functions are actually named
44556 something starting with __ and the normal name is an alias. */
44557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44560 char (*f) () = $ac_func;
44569 return f != $ac_func;
44574 rm -f conftest.
$ac_objext conftest
$ac_exeext
44575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44576 (eval $ac_link) 2>conftest.er1
44578 grep -v '^ *+' conftest.er1
>conftest.err
44580 cat conftest.err
>&5
44581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44582 (exit $ac_status); } &&
44583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44585 (eval $ac_try) 2>&5
44587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44588 (exit $ac_status); }; } &&
44589 { ac_try
='test -s conftest$ac_exeext'
44590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44591 (eval $ac_try) 2>&5
44593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44594 (exit $ac_status); }; }; then
44595 eval "$as_ac_var=yes"
44597 echo "$as_me: failed program was:" >&5
44598 sed 's/^/| /' conftest.
$ac_ext >&5
44600 eval "$as_ac_var=no"
44602 rm -f conftest.err conftest.
$ac_objext \
44603 conftest
$ac_exeext conftest.
$ac_ext
44605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44607 if test `eval echo '${'$as_ac_var'}'` = yes; then
44608 cat >>confdefs.h
<<_ACEOF
44609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44615 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
44616 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
44617 if test "$have_cos" = 1 -a "$have_floor" = 1; then
44618 echo "$as_me:$LINENO: result: yes" >&5
44619 echo "${ECHO_T}yes" >&6
44621 echo "$as_me:$LINENO: result: no" >&5
44622 echo "${ECHO_T}no" >&6
44624 # use different functions to avoid configure caching
44630 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44631 echo "$as_me:$LINENO: checking for $ac_func" >&5
44632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44633 if eval "test \"\${$as_ac_var+set}\" = set"; then
44634 echo $ECHO_N "(cached) $ECHO_C" >&6
44636 cat >conftest.
$ac_ext <<_ACEOF
44639 cat confdefs.h
>>conftest.
$ac_ext
44640 cat >>conftest.
$ac_ext <<_ACEOF
44641 /* end confdefs.h. */
44642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44644 #define $ac_func innocuous_$ac_func
44646 /* System header to define __stub macros and hopefully few prototypes,
44647 which can conflict with char $ac_func (); below.
44648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44649 <limits.h> exists even on freestanding compilers. */
44652 # include <limits.h>
44654 # include <assert.h>
44659 /* Override any gcc2 internal prototype to avoid an error. */
44664 /* We use char because int might match the return type of a gcc2
44665 builtin and then its argument prototype would still apply. */
44667 /* The GNU C library defines this for functions which it implements
44668 to always fail with ENOSYS. Some functions are actually named
44669 something starting with __ and the normal name is an alias. */
44670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44673 char (*f) () = $ac_func;
44682 return f != $ac_func;
44687 rm -f conftest.
$ac_objext conftest
$ac_exeext
44688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44689 (eval $ac_link) 2>conftest.er1
44691 grep -v '^ *+' conftest.er1
>conftest.err
44693 cat conftest.err
>&5
44694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44695 (exit $ac_status); } &&
44696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44698 (eval $ac_try) 2>&5
44700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701 (exit $ac_status); }; } &&
44702 { ac_try
='test -s conftest$ac_exeext'
44703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44704 (eval $ac_try) 2>&5
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); }; }; then
44708 eval "$as_ac_var=yes"
44710 echo "$as_me: failed program was:" >&5
44711 sed 's/^/| /' conftest.
$ac_ext >&5
44713 eval "$as_ac_var=no"
44715 rm -f conftest.err conftest.
$ac_objext \
44716 conftest
$ac_exeext conftest.
$ac_ext
44718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44720 if test `eval echo '${'$as_ac_var'}'` = yes; then
44721 cat >>confdefs.h
<<_ACEOF
44722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44729 for ac_func
in ceil
44731 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44732 echo "$as_me:$LINENO: checking for $ac_func" >&5
44733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44734 if eval "test \"\${$as_ac_var+set}\" = set"; then
44735 echo $ECHO_N "(cached) $ECHO_C" >&6
44737 cat >conftest.
$ac_ext <<_ACEOF
44740 cat confdefs.h
>>conftest.
$ac_ext
44741 cat >>conftest.
$ac_ext <<_ACEOF
44742 /* end confdefs.h. */
44743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44745 #define $ac_func innocuous_$ac_func
44747 /* System header to define __stub macros and hopefully few prototypes,
44748 which can conflict with char $ac_func (); below.
44749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44750 <limits.h> exists even on freestanding compilers. */
44753 # include <limits.h>
44755 # include <assert.h>
44760 /* Override any gcc2 internal prototype to avoid an error. */
44765 /* We use char because int might match the return type of a gcc2
44766 builtin and then its argument prototype would still apply. */
44768 /* The GNU C library defines this for functions which it implements
44769 to always fail with ENOSYS. Some functions are actually named
44770 something starting with __ and the normal name is an alias. */
44771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44774 char (*f) () = $ac_func;
44783 return f != $ac_func;
44788 rm -f conftest.
$ac_objext conftest
$ac_exeext
44789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44790 (eval $ac_link) 2>conftest.er1
44792 grep -v '^ *+' conftest.er1
>conftest.err
44794 cat conftest.err
>&5
44795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44796 (exit $ac_status); } &&
44797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44799 (eval $ac_try) 2>&5
44801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44802 (exit $ac_status); }; } &&
44803 { ac_try
='test -s conftest$ac_exeext'
44804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44805 (eval $ac_try) 2>&5
44807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44808 (exit $ac_status); }; }; then
44809 eval "$as_ac_var=yes"
44811 echo "$as_me: failed program was:" >&5
44812 sed 's/^/| /' conftest.
$ac_ext >&5
44814 eval "$as_ac_var=no"
44816 rm -f conftest.err conftest.
$ac_objext \
44817 conftest
$ac_exeext conftest.
$ac_ext
44819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44821 if test `eval echo '${'$as_ac_var'}'` = yes; then
44822 cat >>confdefs.h
<<_ACEOF
44823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44829 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
44830 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
44831 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
44832 echo "$as_me:$LINENO: result: yes" >&5
44833 echo "${ECHO_T}yes" >&6
44835 echo "$as_me:$LINENO: result: no" >&5
44836 echo "${ECHO_T}no" >&6
44837 # not sure we should warn the user, crash, etc.
44841 if test "$wxUSE_GUI" = "yes"; then
44844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
44845 dynamic erase event exec font image minimal mobile \
44846 mobile/wxedit mobile/styles propsize render \
44847 rotate shaped vscroll widgets"
44849 if test "$wxUSE_MONOLITHIC" != "yes"; then
44850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
44852 if test "$TOOLKIT" = "MSW"; then
44853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
44854 if test "$wxUSE_UNIVERSAL" != "yes"; then
44855 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
44858 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
44859 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
44862 SAMPLES_SUBDIRS
="console"
44866 if test "x$INTELCC" = "xyes" ; then
44867 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
44868 elif test "$GCC" = yes ; then
44869 CWARNINGS
="-Wall -Wundef"
44872 if test "x$INTELCXX" = "xyes" ; then
44873 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
44874 elif test "$GXX" = yes ; then
44875 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
44879 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
44880 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
44883 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
44884 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
44885 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
44888 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
44889 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
44890 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
44892 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
44895 if test "x$MWCC" = "xyes"; then
44897 CC
="$CC -cwd source -I-"
44898 CXX
="$CXX -cwd source -I-"
44903 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
44904 EXTRALIBS_XML
="$EXPAT_LINK"
44905 EXTRALIBS_HTML
="$MSPACK_LINK"
44906 EXTRALIBS_ODBC
="$ODBC_LINK"
44907 if test "$wxUSE_GUI" = "yes"; then
44908 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEPRINT`
44910 if test "$wxUSE_OPENGL" = "yes"; then
44911 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
44914 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
44916 WXCONFIG_LIBS
="$LIBS"
44918 if test "$wxUSE_REGEX" = "builtin" ; then
44919 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
44921 if test "$wxUSE_EXPAT" = "builtin" ; then
44922 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
44924 if test "$wxUSE_ODBC" = "builtin" ; then
44925 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
44927 if test "$wxUSE_LIBTIFF" = "builtin" ; then
44928 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
44930 if test "$wxUSE_LIBJPEG" = "builtin" ; then
44931 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
44933 if test "$wxUSE_LIBPNG" = "builtin" ; then
44934 wxconfig_3rdparty
="png $wxconfig_3rdparty"
44936 if test "$wxUSE_ZLIB" = "builtin" ; then
44937 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
44940 for i
in $wxconfig_3rdparty ; do
44941 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
44945 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
44959 if test $wxUSE_MONOLITHIC = "yes" ; then
44965 if test $wxUSE_PLUGINS = "yes" ; then
44971 if test $wxUSE_ODBC != "no" ; then
44977 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44983 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45012 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45023 TOOLKIT_USER
="GTK+"
45024 if test "$WXGTK20" = 1; then
45025 TOOLKIT_USER
="$TOOLKIT_USER 2"
45030 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45034 if test "$wxUSE_WINE" = "yes"; then
45035 BAKEFILE_FORCE_PLATFORM
=win32
45038 if test "$wxUSE_MAC" = 1 ; then
45039 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45040 CXXFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45041 CFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45042 LDFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45045 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45046 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45047 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45053 if test "x$BAKEFILE_HOST" = "x"; then
45054 if test "x${host}" = "x" ; then
45055 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45056 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45057 { (exit 1); exit 1; }; }
45060 BAKEFILE_HOST
="${host}"
45063 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45065 if test -n "$ac_tool_prefix"; then
45066 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45067 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45068 echo "$as_me:$LINENO: checking for $ac_word" >&5
45069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45070 if test "${ac_cv_prog_RANLIB+set}" = set; then
45071 echo $ECHO_N "(cached) $ECHO_C" >&6
45073 if test -n "$RANLIB"; then
45074 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45077 for as_dir
in $PATH
45080 test -z "$as_dir" && as_dir
=.
45081 for ac_exec_ext
in '' $ac_executable_extensions; do
45082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45083 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45092 RANLIB
=$ac_cv_prog_RANLIB
45093 if test -n "$RANLIB"; then
45094 echo "$as_me:$LINENO: result: $RANLIB" >&5
45095 echo "${ECHO_T}$RANLIB" >&6
45097 echo "$as_me:$LINENO: result: no" >&5
45098 echo "${ECHO_T}no" >&6
45102 if test -z "$ac_cv_prog_RANLIB"; then
45103 ac_ct_RANLIB
=$RANLIB
45104 # Extract the first word of "ranlib", so it can be a program name with args.
45105 set dummy ranlib
; ac_word
=$2
45106 echo "$as_me:$LINENO: checking for $ac_word" >&5
45107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45108 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45109 echo $ECHO_N "(cached) $ECHO_C" >&6
45111 if test -n "$ac_ct_RANLIB"; then
45112 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45115 for as_dir
in $PATH
45118 test -z "$as_dir" && as_dir
=.
45119 for ac_exec_ext
in '' $ac_executable_extensions; do
45120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45121 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45128 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45131 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45132 if test -n "$ac_ct_RANLIB"; then
45133 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45134 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45136 echo "$as_me:$LINENO: result: no" >&5
45137 echo "${ECHO_T}no" >&6
45140 RANLIB
=$ac_ct_RANLIB
45142 RANLIB
="$ac_cv_prog_RANLIB"
45145 # Find a good install program. We prefer a C program (faster),
45146 # so one script is as good as another. But avoid the broken or
45147 # incompatible versions:
45148 # SysV /etc/install, /usr/sbin/install
45149 # SunOS /usr/etc/install
45150 # IRIX /sbin/install
45152 # AmigaOS /C/install, which installs bootblocks on floppy discs
45153 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45154 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45155 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45156 # OS/2's system install, which has a completely different semantic
45157 # ./install, which can be erroneously created by make from ./install.sh.
45158 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45159 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45160 if test -z "$INSTALL"; then
45161 if test "${ac_cv_path_install+set}" = set; then
45162 echo $ECHO_N "(cached) $ECHO_C" >&6
45164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45165 for as_dir
in $PATH
45168 test -z "$as_dir" && as_dir
=.
45169 # Account for people who put trailing slashes in PATH elements.
45171 .
/ | .
// | /cC
/* | \
45172 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45173 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45176 # OSF1 and SCO ODT 3.0 have their own names for install.
45177 # Don't use installbsd from OSF since it installs stuff as root
45179 for ac_prog
in ginstall scoinst
install; do
45180 for ac_exec_ext
in '' $ac_executable_extensions; do
45181 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45182 if test $ac_prog = install &&
45183 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45184 # AIX install. It has an incompatible calling convention.
45186 elif test $ac_prog = install &&
45187 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45188 # program-specific install script used by HP pwplus--don't use.
45191 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45203 if test "${ac_cv_path_install+set}" = set; then
45204 INSTALL
=$ac_cv_path_install
45206 # As a last resort, use the slow shell script. We don't cache a
45207 # path for INSTALL within a source directory, because that will
45208 # break other packages using the cache if that directory is
45209 # removed, or if the path is relative.
45210 INSTALL
=$ac_install_sh
45213 echo "$as_me:$LINENO: result: $INSTALL" >&5
45214 echo "${ECHO_T}$INSTALL" >&6
45216 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45217 # It thinks the first close brace ends the variable substitution.
45218 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45220 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45222 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45224 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45225 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45227 if test "$LN_S" = "ln -s"; then
45228 echo "$as_me:$LINENO: result: yes" >&5
45229 echo "${ECHO_T}yes" >&6
45231 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45232 echo "${ECHO_T}no, using $LN_S" >&6
45236 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45237 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45238 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45239 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45240 echo $ECHO_N "(cached) $ECHO_C" >&6
45242 cat >conftest.
make <<\_ACEOF
45244 @
echo 'ac_maketemp="$(MAKE)"'
45246 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45247 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45248 if test -n "$ac_maketemp"; then
45249 eval ac_cv_prog_make_
${ac_make}_set
=yes
45251 eval ac_cv_prog_make_
${ac_make}_set
=no
45253 rm -f conftest.
make
45255 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45256 echo "$as_me:$LINENO: result: yes" >&5
45257 echo "${ECHO_T}yes" >&6
45260 echo "$as_me:$LINENO: result: no" >&5
45261 echo "${ECHO_T}no" >&6
45262 SET_MAKE
="MAKE=${MAKE-make}"
45267 if test -n "$ac_tool_prefix"; then
45268 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45269 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45270 echo "$as_me:$LINENO: checking for $ac_word" >&5
45271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45272 if test "${ac_cv_prog_AR+set}" = set; then
45273 echo $ECHO_N "(cached) $ECHO_C" >&6
45275 if test -n "$AR"; then
45276 ac_cv_prog_AR
="$AR" # Let the user override the test.
45278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45279 for as_dir
in $PATH
45282 test -z "$as_dir" && as_dir
=.
45283 for ac_exec_ext
in '' $ac_executable_extensions; do
45284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45285 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45295 if test -n "$AR"; then
45296 echo "$as_me:$LINENO: result: $AR" >&5
45297 echo "${ECHO_T}$AR" >&6
45299 echo "$as_me:$LINENO: result: no" >&5
45300 echo "${ECHO_T}no" >&6
45304 if test -z "$ac_cv_prog_AR"; then
45306 # Extract the first word of "ar", so it can be a program name with args.
45307 set dummy
ar; ac_word
=$2
45308 echo "$as_me:$LINENO: checking for $ac_word" >&5
45309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45310 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45311 echo $ECHO_N "(cached) $ECHO_C" >&6
45313 if test -n "$ac_ct_AR"; then
45314 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45317 for as_dir
in $PATH
45320 test -z "$as_dir" && as_dir
=.
45321 for ac_exec_ext
in '' $ac_executable_extensions; do
45322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45323 ac_cv_prog_ac_ct_AR
="ar"
45324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45330 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45333 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45334 if test -n "$ac_ct_AR"; then
45335 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45336 echo "${ECHO_T}$ac_ct_AR" >&6
45338 echo "$as_me:$LINENO: result: no" >&5
45339 echo "${ECHO_T}no" >&6
45344 AR
="$ac_cv_prog_AR"
45347 if test -n "$ac_tool_prefix"; then
45348 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45349 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45350 echo "$as_me:$LINENO: checking for $ac_word" >&5
45351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45352 if test "${ac_cv_prog_STRIP+set}" = set; then
45353 echo $ECHO_N "(cached) $ECHO_C" >&6
45355 if test -n "$STRIP"; then
45356 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45359 for as_dir
in $PATH
45362 test -z "$as_dir" && as_dir
=.
45363 for ac_exec_ext
in '' $ac_executable_extensions; do
45364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45365 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45374 STRIP
=$ac_cv_prog_STRIP
45375 if test -n "$STRIP"; then
45376 echo "$as_me:$LINENO: result: $STRIP" >&5
45377 echo "${ECHO_T}$STRIP" >&6
45379 echo "$as_me:$LINENO: result: no" >&5
45380 echo "${ECHO_T}no" >&6
45384 if test -z "$ac_cv_prog_STRIP"; then
45386 # Extract the first word of "strip", so it can be a program name with args.
45387 set dummy strip
; ac_word
=$2
45388 echo "$as_me:$LINENO: checking for $ac_word" >&5
45389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45390 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45391 echo $ECHO_N "(cached) $ECHO_C" >&6
45393 if test -n "$ac_ct_STRIP"; then
45394 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45397 for as_dir
in $PATH
45400 test -z "$as_dir" && as_dir
=.
45401 for ac_exec_ext
in '' $ac_executable_extensions; do
45402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45403 ac_cv_prog_ac_ct_STRIP
="strip"
45404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45410 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45413 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45414 if test -n "$ac_ct_STRIP"; then
45415 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45416 echo "${ECHO_T}$ac_ct_STRIP" >&6
45418 echo "$as_me:$LINENO: result: no" >&5
45419 echo "${ECHO_T}no" >&6
45424 STRIP
="$ac_cv_prog_STRIP"
45427 if test -n "$ac_tool_prefix"; then
45428 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45429 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45430 echo "$as_me:$LINENO: checking for $ac_word" >&5
45431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45432 if test "${ac_cv_prog_NM+set}" = set; then
45433 echo $ECHO_N "(cached) $ECHO_C" >&6
45435 if test -n "$NM"; then
45436 ac_cv_prog_NM
="$NM" # Let the user override the test.
45438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45439 for as_dir
in $PATH
45442 test -z "$as_dir" && as_dir
=.
45443 for ac_exec_ext
in '' $ac_executable_extensions; do
45444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45445 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45455 if test -n "$NM"; then
45456 echo "$as_me:$LINENO: result: $NM" >&5
45457 echo "${ECHO_T}$NM" >&6
45459 echo "$as_me:$LINENO: result: no" >&5
45460 echo "${ECHO_T}no" >&6
45464 if test -z "$ac_cv_prog_NM"; then
45466 # Extract the first word of "nm", so it can be a program name with args.
45467 set dummy nm
; ac_word
=$2
45468 echo "$as_me:$LINENO: checking for $ac_word" >&5
45469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45470 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45471 echo $ECHO_N "(cached) $ECHO_C" >&6
45473 if test -n "$ac_ct_NM"; then
45474 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45477 for as_dir
in $PATH
45480 test -z "$as_dir" && as_dir
=.
45481 for ac_exec_ext
in '' $ac_executable_extensions; do
45482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45483 ac_cv_prog_ac_ct_NM
="nm"
45484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45490 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45493 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45494 if test -n "$ac_ct_NM"; then
45495 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45496 echo "${ECHO_T}$ac_ct_NM" >&6
45498 echo "$as_me:$LINENO: result: no" >&5
45499 echo "${ECHO_T}no" >&6
45504 NM
="$ac_cv_prog_NM"
45508 case ${BAKEFILE_HOST} in
45510 INSTALL_DIR
="mkdir -p"
45512 *) INSTALL_DIR
="$INSTALL -d"
45518 case ${BAKEFILE_HOST} in
45519 *-*-cygwin* | *-*-mingw32* )
45520 LDFLAGS_GUI
="-mwindows"
45526 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45527 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45528 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45529 echo $ECHO_N "(cached) $ECHO_C" >&6
45532 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45533 egrep -s GNU
> /dev
/null
); then
45534 bakefile_cv_prog_makeisgnu
="yes"
45536 bakefile_cv_prog_makeisgnu
="no"
45540 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45541 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45543 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45560 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45561 case "${BAKEFILE_HOST}" in
45568 *-pc-os2_emx | *-pc-os2-emx )
45578 powerpc
-apple-macos* )
45587 case "$BAKEFILE_FORCE_PLATFORM" in
45608 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45609 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45610 { (exit 1); exit 1; }; }
45625 # Check whether --enable-omf or --disable-omf was given.
45626 if test "${enable_omf+set}" = set; then
45627 enableval
="$enable_omf"
45628 bk_os2_use_omf
="$enableval"
45631 case "${BAKEFILE_HOST}" in
45633 if test "x$GCC" = "xyes"; then
45634 CFLAGS
="$CFLAGS -fno-common"
45635 CXXFLAGS
="$CXXFLAGS -fno-common"
45637 if test "x$XLCC" = "xyes"; then
45638 CFLAGS
="$CFLAGS -qnocommon"
45639 CXXFLAGS
="$CXXFLAGS -qnocommon"
45643 *-pc-os2_emx | *-pc-os2-emx )
45644 if test "x$bk_os2_use_omf" = "xyes" ; then
45647 LDFLAGS
="-Zomf $LDFLAGS"
45648 CFLAGS
="-Zomf $CFLAGS"
45649 CXXFLAGS
="-Zomf $CXXFLAGS"
45657 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
45663 SO_SUFFIX_MODULE
="so"
45668 DLLPREFIX_MODULE
=""
45672 case "${BAKEFILE_HOST}" in
45675 SO_SUFFIX_MODULE
="sl"
45679 SO_SUFFIX_MODULE
="a"
45683 SO_SUFFIX_MODULE
="dll"
45684 DLLIMP_SUFFIX
="dll.a"
45691 SO_SUFFIX_MODULE
="dll"
45692 DLLIMP_SUFFIX
="dll.a"
45702 *-pc-os2_emx | *-pc-os2-emx )
45704 SO_SUFFIX_MODULE
="dll"
45705 DLLIMP_SUFFIX
=$OS2_LIBEXT
45709 LIBEXT
=".$OS2_LIBEXT"
45714 SO_SUFFIX_MODULE
="bundle"
45718 if test "x$DLLIMP_SUFFIX" = "x" ; then
45719 DLLIMP_SUFFIX
="$SO_SUFFIX"
45734 if test "x$GCC" = "xyes"; then
45738 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
45739 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
45742 case "${BAKEFILE_HOST}" in
45744 if test "x$GCC" != "xyes"; then
45745 LDFLAGS
="$LDFLAGS -L/usr/lib"
45747 SHARED_LD_CC
="${CC} -b -o"
45748 SHARED_LD_CXX
="${CXX} -b -o"
45754 if test "x$GCC" != "xyes"; then
45755 echo "$as_me:$LINENO: checking for Intel compiler" >&5
45756 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
45757 if test "${bakefile_cv_prog_icc+set}" = set; then
45758 echo $ECHO_N "(cached) $ECHO_C" >&6
45761 cat >conftest.
$ac_ext <<_ACEOF
45764 cat confdefs.h
>>conftest.
$ac_ext
45765 cat >>conftest.
$ac_ext <<_ACEOF
45766 /* end confdefs.h. */
45772 #ifndef __INTEL_COMPILER
45780 rm -f conftest.
$ac_objext
45781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45782 (eval $ac_compile) 2>conftest.er1
45784 grep -v '^ *+' conftest.er1
>conftest.err
45786 cat conftest.err
>&5
45787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45788 (exit $ac_status); } &&
45789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45791 (eval $ac_try) 2>&5
45793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45794 (exit $ac_status); }; } &&
45795 { ac_try
='test -s conftest.$ac_objext'
45796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45797 (eval $ac_try) 2>&5
45799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45800 (exit $ac_status); }; }; then
45801 bakefile_cv_prog_icc
=yes
45803 echo "$as_me: failed program was:" >&5
45804 sed 's/^/| /' conftest.
$ac_ext >&5
45806 bakefile_cv_prog_icc
=no
45809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45812 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
45813 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
45814 if test "$bakefile_cv_prog_icc" = "yes"; then
45821 if test "x$GCC" != xyes
; then
45822 SHARED_LD_CC
="${CC} -G -o"
45823 SHARED_LD_CXX
="${CXX} -G -o"
45831 cat <<EOF >shared-ld-sh
45833 #-----------------------------------------------------------------------------
45834 #-- Name: distrib/mac/shared-ld-sh
45835 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
45836 #-- Author: Gilles Depeyrot
45837 #-- Copyright: (c) 2002 Gilles Depeyrot
45838 #-- Licence: any use permitted
45839 #-----------------------------------------------------------------------------
45844 linking_flag="-dynamiclib"
45845 ldargs="-r -keep_private_externs -nostdlib"
45847 while test ${D}# -gt 0; do
45854 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
45855 # collect these options and values
45856 args="${D}{args} ${D}1 ${D}2"
45861 # collect these load args
45862 ldargs="${D}{ldargs} ${D}1"
45865 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
45866 # collect these options
45867 args="${D}{args} ${D}1"
45870 -dynamiclib|-bundle)
45871 linking_flag="${D}1"
45875 echo "shared-ld: unhandled option '${D}1'"
45879 *.o | *.a | *.dylib)
45880 # collect object files
45881 objects="${D}{objects} ${D}1"
45885 echo "shared-ld: unhandled argument '${D}1'"
45896 # Link one module containing all the others
45898 if test ${D}{verbose} = 1; then
45899 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
45901 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
45905 # Link the shared library from the single module created, but only if the
45906 # previous command didn't fail:
45908 if test ${D}{status} = 0; then
45909 if test ${D}{verbose} = 1; then
45910 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
45912 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
45917 # Remove intermediate module
45919 rm -f master.${D}${D}.o
45924 chmod +x shared
-ld-sh
45926 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
45927 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
45930 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
45931 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
45932 if test "${bakefile_cv_gcc31+set}" = set; then
45933 echo $ECHO_N "(cached) $ECHO_C" >&6
45936 cat >conftest.
$ac_ext <<_ACEOF
45939 cat confdefs.h
>>conftest.
$ac_ext
45940 cat >>conftest.
$ac_ext <<_ACEOF
45941 /* end confdefs.h. */
45947 #if (__GNUC__ < 3) || \
45948 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
45956 rm -f conftest.
$ac_objext
45957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45958 (eval $ac_compile) 2>conftest.er1
45960 grep -v '^ *+' conftest.er1
>conftest.err
45962 cat conftest.err
>&5
45963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45964 (exit $ac_status); } &&
45965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45967 (eval $ac_try) 2>&5
45969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45970 (exit $ac_status); }; } &&
45971 { ac_try
='test -s conftest.$ac_objext'
45972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45973 (eval $ac_try) 2>&5
45975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45976 (exit $ac_status); }; }; then
45978 bakefile_cv_gcc31
=yes
45981 echo "$as_me: failed program was:" >&5
45982 sed 's/^/| /' conftest.
$ac_ext >&5
45985 bakefile_cv_gcc31
=no
45989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45992 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
45993 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
45994 if test "$bakefile_cv_gcc31" = "no"; then
45995 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
45996 SHARED_LD_CXX
="$SHARED_LD_CC"
45998 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
45999 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46002 if test "x$GCC" == "xyes"; then
46003 PIC_FLAG
="-dynamic -fPIC"
46005 if test "x$XLCC" = "xyes"; then
46006 PIC_FLAG
="-dynamic -DPIC"
46011 if test "x$GCC" = "xyes"; then
46014 case "${BAKEFILE_HOST}" in
46016 LD_EXPFULL
="-Wl,-bexpfull"
46020 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46021 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46023 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46024 set dummy makeC
++SharedLib
; ac_word
=$2
46025 echo "$as_me:$LINENO: checking for $ac_word" >&5
46026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46027 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46028 echo $ECHO_N "(cached) $ECHO_C" >&6
46030 if test -n "$AIX_CXX_LD"; then
46031 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46034 for as_dir
in $PATH
46037 test -z "$as_dir" && as_dir
=.
46038 for ac_exec_ext
in '' $ac_executable_extensions; do
46039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46040 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46047 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46050 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46051 if test -n "$AIX_CXX_LD"; then
46052 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46053 echo "${ECHO_T}$AIX_CXX_LD" >&6
46055 echo "$as_me:$LINENO: result: no" >&5
46056 echo "${ECHO_T}no" >&6
46059 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46060 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46065 SHARED_LD_CC
="${LD} -nostart -o"
46066 SHARED_LD_CXX
="${LD} -nostart -o"
46070 if test "x$GCC" != "xyes"; then
46075 *-*-cygwin* | *-*-mingw32* )
46077 SHARED_LD_CC
="\$(CC) -shared -o"
46078 SHARED_LD_CXX
="\$(CXX) -shared -o"
46082 *-pc-os2_emx | *-pc-os2-emx )
46083 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46084 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46088 cat <<EOF >dllar.sh
46091 # dllar - a tool to build both a .dll and an .a file
46092 # from a set of object (.o) files for EMX/OS2.
46094 # Written by Andrew Zabolotny, bit@freya.etu.ru
46095 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46097 # This script will accept a set of files on the command line.
46098 # All the public symbols from the .o files will be exported into
46099 # a .DEF file, then linker will be run (through gcc) against them to
46100 # build a shared library consisting of all given .o files. All libraries
46101 # (.a) will be first decompressed into component .o files then act as
46102 # described above. You can optionally give a description (-d "description")
46103 # which will be put into .DLL. To see the list of accepted options (as well
46104 # as command-line format) simply run this program without options. The .DLL
46105 # is built to be imported by name (there is no guarantee that new versions
46106 # of the library you build will have same ordinals for same symbols).
46108 # dllar is free software; you can redistribute it and/or modify
46109 # it under the terms of the GNU General Public License as published by
46110 # the Free Software Foundation; either version 2, or (at your option)
46111 # any later version.
46113 # dllar is distributed in the hope that it will be useful,
46114 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46115 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46116 # GNU General Public License for more details.
46118 # You should have received a copy of the GNU General Public License
46119 # along with dllar; see the file COPYING. If not, write to the Free
46120 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46123 # To successfuly run this program you will need:
46124 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46125 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46127 # (used to build the .dll)
46129 # (used to create .def file from .o files)
46131 # (used to create .a file from .def file)
46132 # - GNU text utilites (cat, sort, uniq)
46133 # used to process emxexp output
46134 # - GNU file utilities (mv, rm)
46136 # - lxlite (optional, see flag below)
46137 # (used for general .dll cleanup)
46144 # basnam, variant of basename, which does _not_ remove the path, _iff_
46145 # second argument (suffix to remove) is given
46149 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46152 echo ${D}1 | sed 's/'${D}2'${D}//'
46155 echo "error in basnam ${D}*"
46161 # Cleanup temporary files and output
46164 for i in ${D}inputFiles ; do
46167 rm -rf \`basnam ${D}i !\`
46174 # Kill result in case of failure as there is just to many stupid make/nmake
46175 # things out there which doesn't do this.
46176 if [ ${D}# -eq 0 ]; then
46177 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46181 # Print usage and exit script with rc=1.
46183 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46184 echo ' [-name-mangler-script script.sh]'
46185 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46186 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46187 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46188 echo ' [*.o] [*.a]'
46189 echo '*> "output_file" should have no extension.'
46190 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46191 echo ' The import library name is derived from this and is set to "name".a,'
46192 echo ' unless overridden by -import'
46193 echo '*> "importlib_name" should have no extension.'
46194 echo ' If it has the .o, or .a extension, it is automatically removed.'
46195 echo ' This name is used as the import library name and may be longer and'
46196 echo ' more descriptive than the DLL name which has to follow the old '
46197 echo ' 8.3 convention of FAT.'
46198 echo '*> "script.sh may be given to override the output_file name by a'
46199 echo ' different name. It is mainly useful if the regular make process'
46200 echo ' of some package does not take into account OS/2 restriction of'
46201 echo ' DLL name lengths. It takes the importlib name as input and is'
46202 echo ' supposed to procude a shorter name as output. The script should'
46203 echo ' expect to get importlib_name without extension and should produce'
46204 echo ' a (max.) 8 letter name without extension.'
46205 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46206 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46207 echo ' These flags will be put at the start of GCC command line.'
46208 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46209 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46210 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46211 echo ' If the last character of a symbol is "*", all symbols beginning'
46212 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46213 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46214 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46215 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46216 echo ' C runtime DLLs.'
46217 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46218 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46219 echo ' unchanged to GCC at the end of command line.'
46220 echo '*> If you create a DLL from a library and you do not specify -o,'
46221 echo ' the basename for DLL and import library will be set to library name,'
46222 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46223 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46224 echo ' library will be renamed into gcc_s.a.'
46227 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46228 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46233 # Execute a command.
46234 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46235 # @Uses Whatever CleanUp() uses.
46241 if [ ${D}rcCmd -ne 0 ]; then
46242 echo "command failed, exit code="${D}rcCmd
46257 CFLAGS="-s -Zcrtdll"
46259 EXPORT_BY_ORDINALS=0
46264 case ${D}curDirS in
46268 curDirS=${D}{curDirS}"/"
46271 # Parse commandline
46274 while [ ${D}1 ]; do
46277 EXPORT_BY_ORDINALS=1;
46287 -name-mangler-script)
46308 exclude_symbols=${D}{exclude_symbols}${D}1" "
46312 library_flags=${D}{library_flags}${D}1" "
46331 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46334 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46335 if [ ${D}omfLinking -eq 1 ]; then
46336 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46338 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46343 if [ ${D}libsToLink -ne 0 ]; then
46344 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46346 for file in ${D}1 ; do
46347 if [ -f ${D}file ]; then
46348 inputFiles="${D}{inputFiles} ${D}file"
46352 if [ ${D}found -eq 0 ]; then
46353 echo "ERROR: No file(s) found: "${D}1
46360 done # iterate cmdline words
46363 if [ -z "${D}inputFiles" ]; then
46364 echo "dllar: no input files"
46368 # Now extract all .o files from .a files
46370 for file in ${D}inputFiles ; do
46381 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46386 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46388 if [ ${D}? -ne 0 ]; then
46389 echo "Failed to create subdirectory ./${D}dirname"
46393 # Append '!' to indicate archive
46394 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46395 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46398 for subfile in ${D}dirname/*.o* ; do
46399 if [ -f ${D}subfile ]; then
46401 if [ -s ${D}subfile ]; then
46402 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46403 newInputFiles="${D}newInputFiles ${D}subfile"
46407 if [ ${D}found -eq 0 ]; then
46408 echo "WARNING: there are no files in archive \\'${D}file\\'"
46412 newInputFiles="${D}{newInputFiles} ${D}file"
46416 inputFiles="${D}newInputFiles"
46418 # Output filename(s).
46420 if [ -z ${D}outFile ]; then
46422 set outFile ${D}inputFiles; outFile=${D}2
46425 # If it is an archive, remove the '!' and the '_%' suffixes
46426 case ${D}outFile in
46428 outFile=\`basnam ${D}outFile _%!\`
46433 case ${D}outFile in
46435 outFile=\`basnam ${D}outFile .dll\`
46438 outFile=\`basnam ${D}outFile .DLL\`
46441 outFile=\`basnam ${D}outFile .o\`
46444 outFile=\`basnam ${D}outFile .obj\`
46447 outFile=\`basnam ${D}outFile .a\`
46450 outFile=\`basnam ${D}outFile .lib\`
46455 case ${D}outimpFile in
46457 outimpFile=\`basnam ${D}outimpFile .a\`
46460 outimpFile=\`basnam ${D}outimpFile .lib\`
46465 if [ -z ${D}outimpFile ]; then
46466 outimpFile=${D}outFile
46468 defFile="${D}{outFile}.def"
46469 arcFile="${D}{outimpFile}.a"
46470 arcFile2="${D}{outimpFile}.lib"
46472 #create ${D}dllFile as something matching 8.3 restrictions,
46473 if [ -z ${D}renameScript ] ; then
46474 dllFile="${D}outFile"
46476 dllFile=\`${D}renameScript ${D}outimpFile\`
46479 if [ ${D}do_backup -ne 0 ] ; then
46480 if [ -f ${D}arcFile ] ; then
46481 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46483 if [ -f ${D}arcFile2 ] ; then
46484 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46488 # Extract public symbols from all the object files.
46489 tmpdefFile=${D}{defFile}_%
46490 rm -f ${D}tmpdefFile
46491 for file in ${D}inputFiles ; do
46496 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46501 # Create the def file.
46503 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46504 dllFile="${D}{dllFile}.dll"
46505 if [ ! -z ${D}description ]; then
46506 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46508 echo "EXPORTS" >> ${D}defFile
46510 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46511 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46513 # Checks if the export is ok or not.
46514 for word in ${D}exclude_symbols; do
46515 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46516 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46520 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46521 sed "=" < ${D}tmpdefFile | \\
46525 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46527 ' > ${D}{tmpdefFile}%
46528 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46530 rm -f ${D}{tmpdefFile}%
46532 cat ${D}tmpdefFile >> ${D}defFile
46533 rm -f ${D}tmpdefFile
46535 # Do linking, create implib, and apply lxlite.
46537 for file in ${D}inputFiles ; do
46542 gccCmdl="${D}gccCmdl ${D}file"
46546 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46547 touch "${D}{outFile}.dll"
46549 doCommand "emximp -o ${D}arcFile ${D}defFile"
46550 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46552 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46555 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46557 doCommand "emxomf -s -l ${D}arcFile"
46567 powerpc
-apple-macos* | \
46568 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
46577 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46578 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46579 { (exit 1); exit 1; }; }
46582 if test "x$PIC_FLAG" != "x" ; then
46583 PIC_FLAG
="$PIC_FLAG -DPIC"
46586 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46587 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
46589 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46590 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
46609 case "${BAKEFILE_HOST}" in
46610 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
46611 SONAME_FLAG
="-Wl,-soname,"
46645 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
46646 if test "${enable_dependency_tracking+set}" = set; then
46647 enableval
="$enable_dependency_tracking"
46648 bk_use_trackdeps
="$enableval"
46651 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46652 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46654 if test "x$bk_use_trackdeps" = "xno" ; then
46656 echo "$as_me:$LINENO: result: disabled" >&5
46657 echo "${ECHO_T}disabled" >&6
46661 if test "x$GCC" = "xyes"; then
46663 case "${BAKEFILE_HOST}" in
46665 DEPSFLAG
="-no-cpp-precomp -MMD"
46671 echo "$as_me:$LINENO: result: gcc" >&5
46672 echo "${ECHO_T}gcc" >&6
46673 elif test "x$MWCC" = "xyes"; then
46676 echo "$as_me:$LINENO: result: mwcc" >&5
46677 echo "${ECHO_T}mwcc" >&6
46678 elif test "x$SUNCC" = "xyes"; then
46681 echo "$as_me:$LINENO: result: Sun cc" >&5
46682 echo "${ECHO_T}Sun cc" >&6
46683 elif test "x$SGICC" = "xyes"; then
46686 echo "$as_me:$LINENO: result: SGI cc" >&5
46687 echo "${ECHO_T}SGI cc" >&6
46688 elif test "x$HPCC" = "xyes"; then
46691 echo "$as_me:$LINENO: result: HP cc" >&5
46692 echo "${ECHO_T}HP cc" >&6
46693 elif test "x$COMPAQCC" = "xyes"; then
46696 echo "$as_me:$LINENO: result: Compaq cc" >&5
46697 echo "${ECHO_T}Compaq cc" >&6
46700 echo "$as_me:$LINENO: result: none" >&5
46701 echo "${ECHO_T}none" >&6
46704 if test $DEPS_TRACKING = 1 ; then
46710 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
46711 # script. It is used to track C/C++ files dependencies in portable way.
46713 # Permission is given to use this file in any way.
46715 DEPSMODE=${DEPSMODE}
46717 DEPSFLAG="${DEPSFLAG}"
46719 mkdir -p ${D}DEPSDIR
46721 if test ${D}DEPSMODE = gcc ; then
46722 ${D}* ${D}{DEPSFLAG}
46724 if test ${D}{status} != 0 ; then
46727 # move created file to the location we want it in:
46728 while test ${D}# -gt 0; do
46742 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
46743 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
46744 if test -f ${D}depfile ; then
46745 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46748 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
46749 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
46750 if test ! -f ${D}depfile ; then
46751 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
46752 depfile="${D}objfile.d"
46754 if test -f ${D}depfile ; then
46755 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46760 elif test ${D}DEPSMODE = mwcc ; then
46761 ${D}* || exit ${D}?
46762 # Run mwcc again with -MM and redirect into the dep file we want
46763 # NOTE: We can't use shift here because we need ${D}* to be valid
46765 for arg in ${D}* ; do
46766 if test "${D}prevarg" = "-o"; then
46779 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
46781 elif test ${D}DEPSMODE = unixcc; then
46782 ${D}* || exit ${D}?
46783 # Run compiler again with deps flag and redirect into the dep file.
46784 # It doesn't work if the '-o FILE' option is used, but without it the
46785 # dependency file will contain the wrong name for the object. So it is
46786 # removed from the command line, and the dep file is fixed with sed.
46788 while test ${D}# -gt 0; do
46795 eval arg${D}#=\\${D}1
46796 cmd="${D}cmd \\${D}arg${D}#"
46801 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
46816 case ${BAKEFILE_HOST} in
46817 *-*-cygwin* | *-*-mingw32* )
46818 if test -n "$ac_tool_prefix"; then
46819 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
46820 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
46821 echo "$as_me:$LINENO: checking for $ac_word" >&5
46822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46823 if test "${ac_cv_prog_WINDRES+set}" = set; then
46824 echo $ECHO_N "(cached) $ECHO_C" >&6
46826 if test -n "$WINDRES"; then
46827 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
46829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46830 for as_dir
in $PATH
46833 test -z "$as_dir" && as_dir
=.
46834 for ac_exec_ext
in '' $ac_executable_extensions; do
46835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46836 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
46837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46845 WINDRES
=$ac_cv_prog_WINDRES
46846 if test -n "$WINDRES"; then
46847 echo "$as_me:$LINENO: result: $WINDRES" >&5
46848 echo "${ECHO_T}$WINDRES" >&6
46850 echo "$as_me:$LINENO: result: no" >&5
46851 echo "${ECHO_T}no" >&6
46855 if test -z "$ac_cv_prog_WINDRES"; then
46856 ac_ct_WINDRES
=$WINDRES
46857 # Extract the first word of "windres", so it can be a program name with args.
46858 set dummy windres
; ac_word
=$2
46859 echo "$as_me:$LINENO: checking for $ac_word" >&5
46860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46861 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
46862 echo $ECHO_N "(cached) $ECHO_C" >&6
46864 if test -n "$ac_ct_WINDRES"; then
46865 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
46867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46868 for as_dir
in $PATH
46871 test -z "$as_dir" && as_dir
=.
46872 for ac_exec_ext
in '' $ac_executable_extensions; do
46873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46874 ac_cv_prog_ac_ct_WINDRES
="windres"
46875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46883 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
46884 if test -n "$ac_ct_WINDRES"; then
46885 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
46886 echo "${ECHO_T}$ac_ct_WINDRES" >&6
46888 echo "$as_me:$LINENO: result: no" >&5
46889 echo "${ECHO_T}no" >&6
46892 WINDRES
=$ac_ct_WINDRES
46894 WINDRES
="$ac_cv_prog_WINDRES"
46899 *-*-darwin* | powerpc
-apple-macos* )
46900 # Extract the first word of "Rez", so it can be a program name with args.
46901 set dummy Rez
; ac_word
=$2
46902 echo "$as_me:$LINENO: checking for $ac_word" >&5
46903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46904 if test "${ac_cv_prog_REZ+set}" = set; then
46905 echo $ECHO_N "(cached) $ECHO_C" >&6
46907 if test -n "$REZ"; then
46908 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
46910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46911 for as_dir
in $PATH
46914 test -z "$as_dir" && as_dir
=.
46915 for ac_exec_ext
in '' $ac_executable_extensions; do
46916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46917 ac_cv_prog_REZ
="Rez"
46918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46924 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
46927 REZ
=$ac_cv_prog_REZ
46928 if test -n "$REZ"; then
46929 echo "$as_me:$LINENO: result: $REZ" >&5
46930 echo "${ECHO_T}$REZ" >&6
46932 echo "$as_me:$LINENO: result: no" >&5
46933 echo "${ECHO_T}no" >&6
46936 # Extract the first word of "SetFile", so it can be a program name with args.
46937 set dummy SetFile
; ac_word
=$2
46938 echo "$as_me:$LINENO: checking for $ac_word" >&5
46939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46940 if test "${ac_cv_prog_SETFILE+set}" = set; then
46941 echo $ECHO_N "(cached) $ECHO_C" >&6
46943 if test -n "$SETFILE"; then
46944 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
46946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46947 for as_dir
in $PATH
46950 test -z "$as_dir" && as_dir
=.
46951 for ac_exec_ext
in '' $ac_executable_extensions; do
46952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46953 ac_cv_prog_SETFILE
="SetFile"
46954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46960 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
46963 SETFILE
=$ac_cv_prog_SETFILE
46964 if test -n "$SETFILE"; then
46965 echo "$as_me:$LINENO: result: $SETFILE" >&5
46966 echo "${ECHO_T}$SETFILE" >&6
46968 echo "$as_me:$LINENO: result: no" >&5
46969 echo "${ECHO_T}no" >&6
46980 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
46983 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
46987 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
46988 if test "${enable_precomp_headers+set}" = set; then
46989 enableval
="$enable_precomp_headers"
46990 bk_use_pch
="$enableval"
46997 case ${BAKEFILE_HOST} in
47003 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47004 if test "x$GCC" = "xyes"; then
47005 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47006 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47007 cat >conftest.
$ac_ext <<_ACEOF
47010 cat confdefs.h
>>conftest.
$ac_ext
47011 cat >>conftest.
$ac_ext <<_ACEOF
47012 /* end confdefs.h. */
47018 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47019 There is no PCH support
47022 There is no PCH support
47024 #if (__GNUC__ == 3) && \
47025 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47026 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47027 ( defined(__INTEL_COMPILER) )
47028 There is no PCH support
47035 rm -f conftest.
$ac_objext
47036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47037 (eval $ac_compile) 2>conftest.er1
47039 grep -v '^ *+' conftest.er1
>conftest.err
47041 cat conftest.err
>&5
47042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47043 (exit $ac_status); } &&
47044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47046 (eval $ac_try) 2>&5
47048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47049 (exit $ac_status); }; } &&
47050 { ac_try
='test -s conftest.$ac_objext'
47051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47052 (eval $ac_try) 2>&5
47054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47055 (exit $ac_status); }; }; then
47057 echo "$as_me:$LINENO: result: yes" >&5
47058 echo "${ECHO_T}yes" >&6
47062 echo "$as_me: failed program was:" >&5
47063 sed 's/^/| /' conftest.
$ac_ext >&5
47066 cat >conftest.
$ac_ext <<_ACEOF
47069 cat confdefs.h
>>conftest.
$ac_ext
47070 cat >>conftest.
$ac_ext <<_ACEOF
47071 /* end confdefs.h. */
47077 #if !defined(__INTEL_COMPILER) || \
47078 (__INTEL_COMPILER < 800)
47079 There is no PCH support
47086 rm -f conftest.
$ac_objext
47087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47088 (eval $ac_compile) 2>conftest.er1
47090 grep -v '^ *+' conftest.er1
>conftest.err
47092 cat conftest.err
>&5
47093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47094 (exit $ac_status); } &&
47095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47097 (eval $ac_try) 2>&5
47099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47100 (exit $ac_status); }; } &&
47101 { ac_try
='test -s conftest.$ac_objext'
47102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47103 (eval $ac_try) 2>&5
47105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47106 (exit $ac_status); }; }; then
47108 echo "$as_me:$LINENO: result: yes" >&5
47109 echo "${ECHO_T}yes" >&6
47113 echo "$as_me: failed program was:" >&5
47114 sed 's/^/| /' conftest.
$ac_ext >&5
47117 echo "$as_me:$LINENO: result: no" >&5
47118 echo "${ECHO_T}no" >&6
47121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47125 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47129 cat <<EOF >bk-make-pch
47132 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47133 # script. It is used to generated precompiled headers.
47135 # Permission is given to use this file in any way.
47145 while test ${D}{#} -gt 0; do
47149 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47150 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47151 headerfile="${D}{incdir}/${D}{header}"
47154 -use-pch|-use_pch )
47159 if test ${D}add_to_cmdline = 1 ; then
47160 compiler="${D}{compiler} ${D}{1}"
47165 if test "x${D}{headerfile}" = "x" ; then
47166 echo "error: can't find header ${D}{header} in include paths" >&2
47168 if test -f ${D}{outfile} ; then
47169 rm -f ${D}{outfile}
47171 mkdir -p \`dirname ${D}{outfile}\`
47173 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47175 if test "x${GCC_PCH}" = "x1" ; then
47176 # can do this because gcc is >= 3.4:
47177 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47178 elif test "x${ICC_PCH}" = "x1" ; then
47179 filename=pch_gen-${D}${D}
47180 file=${D}{filename}.c
47181 dfile=${D}{filename}.d
47182 cat > ${D}file <<EOT
47183 #include "${D}header"
47185 # using -MF icc complains about differing command lines in creation/use
47186 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47187 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47188 rm -f ${D}file ${D}dfile ${D}{filename}.o
47194 chmod +x bk
-make-pch
47202 COND_BUILD_DEBUG
="#"
47203 if test "x$BUILD" = "xdebug" ; then
47204 COND_BUILD_DEBUG
=""
47207 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47208 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47209 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47212 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47213 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47214 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47217 COND_BUILD_DEBUG_UNICODE_0
="#"
47218 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47219 COND_BUILD_DEBUG_UNICODE_0
=""
47222 COND_BUILD_DEBUG_UNICODE_1
="#"
47223 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47224 COND_BUILD_DEBUG_UNICODE_1
=""
47227 COND_BUILD_RELEASE
="#"
47228 if test "x$BUILD" = "xrelease" ; then
47229 COND_BUILD_RELEASE
=""
47232 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47233 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47234 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47237 COND_BUILD_RELEASE_UNICODE_0
="#"
47238 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47239 COND_BUILD_RELEASE_UNICODE_0
=""
47242 COND_BUILD_RELEASE_UNICODE_1
="#"
47243 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47244 COND_BUILD_RELEASE_UNICODE_1
=""
47247 COND_DEBUG_FLAG_1
="#"
47248 if test "x$DEBUG_FLAG" = "x1" ; then
47249 COND_DEBUG_FLAG_1
=""
47252 COND_DEBUG_INFO_0
="#"
47253 if test "x$DEBUG_INFO" = "x0" ; then
47254 COND_DEBUG_INFO_0
=""
47257 COND_DEBUG_INFO_1
="#"
47258 if test "x$DEBUG_INFO" = "x1" ; then
47259 COND_DEBUG_INFO_1
=""
47262 COND_DEPS_TRACKING_0
="#"
47263 if test "x$DEPS_TRACKING" = "x0" ; then
47264 COND_DEPS_TRACKING_0
=""
47267 COND_DEPS_TRACKING_1
="#"
47268 if test "x$DEPS_TRACKING" = "x1" ; then
47269 COND_DEPS_TRACKING_1
=""
47273 if test "x$GCC_PCH" = "x1" ; then
47278 if test "x$ICC_PCH" = "x1" ; then
47282 COND_MONOLITHIC_0
="#"
47283 if test "x$MONOLITHIC" = "x0" ; then
47284 COND_MONOLITHIC_0
=""
47287 COND_MONOLITHIC_0_SHARED_0
="#"
47288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47289 COND_MONOLITHIC_0_SHARED_0
=""
47292 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47293 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47294 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47297 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47298 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47299 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47302 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
47303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47304 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
47307 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47308 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47309 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47312 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47313 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47314 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47317 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47318 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47319 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47322 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47323 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47324 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47327 COND_MONOLITHIC_0_SHARED_1
="#"
47328 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47329 COND_MONOLITHIC_0_SHARED_1
=""
47332 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47333 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47334 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47337 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47338 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47339 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47342 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
47343 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47344 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
47347 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47348 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47349 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47352 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47353 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47354 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47357 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47358 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47359 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47362 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47363 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47364 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47367 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
47368 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47369 COND_MONOLITHIC_0_USE_MEDIA_1
=""
47372 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47373 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47374 COND_MONOLITHIC_0_USE_ODBC_1
=""
47377 COND_MONOLITHIC_1
="#"
47378 if test "x$MONOLITHIC" = "x1" ; then
47379 COND_MONOLITHIC_1
=""
47382 COND_MONOLITHIC_1_SHARED_0
="#"
47383 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47384 COND_MONOLITHIC_1_SHARED_0
=""
47387 COND_MONOLITHIC_1_SHARED_1
="#"
47388 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47389 COND_MONOLITHIC_1_SHARED_1
=""
47392 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47393 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47394 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47397 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47398 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47399 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47402 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47403 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47404 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47407 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47408 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47409 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47412 COND_PLATFORM_MACOSX_1
="#"
47413 if test "x$PLATFORM_MACOSX" = "x1" ; then
47414 COND_PLATFORM_MACOSX_1
=""
47417 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47418 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47419 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47422 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47423 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47424 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47427 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47428 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47429 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47432 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47433 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47434 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47437 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47438 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47439 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47442 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47443 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47444 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47447 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47448 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47449 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47452 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47453 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47454 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47457 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47458 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47459 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47462 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47463 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47464 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47467 COND_PLATFORM_MACOS_1
="#"
47468 if test "x$PLATFORM_MACOS" = "x1" ; then
47469 COND_PLATFORM_MACOS_1
=""
47472 COND_PLATFORM_MAC_1
="#"
47473 if test "x$PLATFORM_MAC" = "x1" ; then
47474 COND_PLATFORM_MAC_1
=""
47477 COND_PLATFORM_MSDOS_0
="#"
47478 if test "x$PLATFORM_MSDOS" = "x0" ; then
47479 COND_PLATFORM_MSDOS_0
=""
47482 COND_PLATFORM_MSDOS_1
="#"
47483 if test "x$PLATFORM_MSDOS" = "x1" ; then
47484 COND_PLATFORM_MSDOS_1
=""
47487 COND_PLATFORM_OS2_1
="#"
47488 if test "x$PLATFORM_OS2" = "x1" ; then
47489 COND_PLATFORM_OS2_1
=""
47492 COND_PLATFORM_UNIX_0
="#"
47493 if test "x$PLATFORM_UNIX" = "x0" ; then
47494 COND_PLATFORM_UNIX_0
=""
47497 COND_PLATFORM_UNIX_1
="#"
47498 if test "x$PLATFORM_UNIX" = "x1" ; then
47499 COND_PLATFORM_UNIX_1
=""
47502 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47503 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47504 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47507 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
47508 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47509 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
47512 COND_PLATFORM_WIN32_0
="#"
47513 if test "x$PLATFORM_WIN32" = "x0" ; then
47514 COND_PLATFORM_WIN32_0
=""
47517 COND_PLATFORM_WIN32_1
="#"
47518 if test "x$PLATFORM_WIN32" = "x1" ; then
47519 COND_PLATFORM_WIN32_1
=""
47523 if test "x$SHARED" = "x0" ; then
47527 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
47528 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47529 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
47532 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
47533 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47534 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
47537 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
47538 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47539 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
47542 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
47543 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47544 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
47547 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47548 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47549 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47552 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47553 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47554 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47557 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47558 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47559 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47562 COND_SHARED_0_USE_XRC_1
="#"
47563 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47564 COND_SHARED_0_USE_XRC_1
=""
47567 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
47568 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47569 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
47572 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
47573 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47574 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
47577 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
47578 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47579 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
47582 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
47583 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47584 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
47588 if test "x$SHARED" = "x1" ; then
47592 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
47593 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47594 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
47597 COND_SHARED_1_USE_XRC_1
="#"
47598 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47599 COND_SHARED_1_USE_XRC_1
=""
47603 if test "x$TOOLKIT" = "x" ; then
47607 COND_TOOLKIT_COCOA
="#"
47608 if test "x$TOOLKIT" = "xCOCOA" ; then
47609 COND_TOOLKIT_COCOA
=""
47612 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
47613 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47614 COND_TOOLKIT_COCOA_USE_GUI_1
=""
47617 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
47618 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47619 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
47622 COND_TOOLKIT_GTK
="#"
47623 if test "x$TOOLKIT" = "xGTK" ; then
47624 COND_TOOLKIT_GTK
=""
47627 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
47628 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47629 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
47632 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
47633 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
47634 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
47637 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
47638 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
47639 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
47642 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
47643 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47644 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
47647 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
47648 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
47649 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
47652 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
47653 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47654 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
47657 COND_TOOLKIT_GTK_USE_GUI_1
="#"
47658 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47659 COND_TOOLKIT_GTK_USE_GUI_1
=""
47662 COND_TOOLKIT_MAC
="#"
47663 if test "x$TOOLKIT" = "xMAC" ; then
47664 COND_TOOLKIT_MAC
=""
47667 COND_TOOLKIT_MAC_USE_GUI_1
="#"
47668 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47669 COND_TOOLKIT_MAC_USE_GUI_1
=""
47672 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47673 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47674 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47677 COND_TOOLKIT_MGL
="#"
47678 if test "x$TOOLKIT" = "xMGL" ; then
47679 COND_TOOLKIT_MGL
=""
47682 COND_TOOLKIT_MGL_USE_GUI_1
="#"
47683 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47684 COND_TOOLKIT_MGL_USE_GUI_1
=""
47687 COND_TOOLKIT_MOTIF
="#"
47688 if test "x$TOOLKIT" = "xMOTIF" ; then
47689 COND_TOOLKIT_MOTIF
=""
47692 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
47693 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47694 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
47697 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
47698 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47699 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
47702 COND_TOOLKIT_MSW
="#"
47703 if test "x$TOOLKIT" = "xMSW" ; then
47704 COND_TOOLKIT_MSW
=""
47707 COND_TOOLKIT_MSW_USE_GUI_1
="#"
47708 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47709 COND_TOOLKIT_MSW_USE_GUI_1
=""
47712 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
47713 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47714 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
47717 COND_TOOLKIT_MSW_WXUNIV_0
="#"
47718 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47719 COND_TOOLKIT_MSW_WXUNIV_0
=""
47722 COND_TOOLKIT_PM
="#"
47723 if test "x$TOOLKIT" = "xPM" ; then
47727 COND_TOOLKIT_PM_USE_GUI_1
="#"
47728 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47729 COND_TOOLKIT_PM_USE_GUI_1
=""
47732 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
47733 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47734 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
47737 COND_TOOLKIT_WINCE
="#"
47738 if test "x$TOOLKIT" = "xWINCE" ; then
47739 COND_TOOLKIT_WINCE
=""
47742 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
47743 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47744 COND_TOOLKIT_WINCE_USE_GUI_1
=""
47747 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
47748 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47749 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
47752 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
47753 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47754 COND_TOOLKIT_WINCE_WXUNIV_0
=""
47757 COND_TOOLKIT_X11
="#"
47758 if test "x$TOOLKIT" = "xX11" ; then
47759 COND_TOOLKIT_X11
=""
47762 COND_TOOLKIT_X11_USE_GUI_1
="#"
47763 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47764 COND_TOOLKIT_X11_USE_GUI_1
=""
47768 if test "x$UNICODE" = "x1" ; then
47772 COND_USE_EXCEPTIONS_0
="#"
47773 if test "x$USE_EXCEPTIONS" = "x0" ; then
47774 COND_USE_EXCEPTIONS_0
=""
47777 COND_USE_EXCEPTIONS_1
="#"
47778 if test "x$USE_EXCEPTIONS" = "x1" ; then
47779 COND_USE_EXCEPTIONS_1
=""
47783 if test "x$USE_GUI" = "x0" ; then
47788 if test "x$USE_GUI" = "x1" ; then
47792 COND_USE_GUI_1_WXUNIV_0
="#"
47793 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47794 COND_USE_GUI_1_WXUNIV_0
=""
47797 COND_USE_GUI_1_WXUNIV_1
="#"
47798 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
47799 COND_USE_GUI_1_WXUNIV_1
=""
47802 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47803 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47804 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47807 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47808 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47809 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47812 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47813 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47814 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47817 COND_USE_ODBC_1
="#"
47818 if test "x$USE_ODBC" = "x1" ; then
47822 COND_USE_OPENGL_1
="#"
47823 if test "x$USE_OPENGL" = "x1" ; then
47824 COND_USE_OPENGL_1
=""
47828 if test "x$USE_PCH" = "x1" ; then
47832 COND_USE_PLUGINS_0
="#"
47833 if test "x$USE_PLUGINS" = "x0" ; then
47834 COND_USE_PLUGINS_0
=""
47837 COND_USE_RTTI_0
="#"
47838 if test "x$USE_RTTI" = "x0" ; then
47842 COND_USE_RTTI_1
="#"
47843 if test "x$USE_RTTI" = "x1" ; then
47847 COND_USE_SOSYMLINKS_1
="#"
47848 if test "x$USE_SOSYMLINKS" = "x1" ; then
47849 COND_USE_SOSYMLINKS_1
=""
47852 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
47853 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47854 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
47857 COND_USE_SOVERLINUX_1
="#"
47858 if test "x$USE_SOVERLINUX" = "x1" ; then
47859 COND_USE_SOVERLINUX_1
=""
47862 COND_USE_SOVERSION_0
="#"
47863 if test "x$USE_SOVERSION" = "x0" ; then
47864 COND_USE_SOVERSION_0
=""
47867 COND_USE_SOVERSOLARIS_1
="#"
47868 if test "x$USE_SOVERSOLARIS" = "x1" ; then
47869 COND_USE_SOVERSOLARIS_1
=""
47872 COND_USE_THREADS_0
="#"
47873 if test "x$USE_THREADS" = "x0" ; then
47874 COND_USE_THREADS_0
=""
47877 COND_USE_THREADS_1
="#"
47878 if test "x$USE_THREADS" = "x1" ; then
47879 COND_USE_THREADS_1
=""
47883 if test "x$USE_XRC" = "x1" ; then
47887 COND_WINDOWS_IMPLIB_1
="#"
47888 if test "x$WINDOWS_IMPLIB" = "x1" ; then
47889 COND_WINDOWS_IMPLIB_1
=""
47892 COND_WITH_PLUGIN_SDL_1
="#"
47893 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
47894 COND_WITH_PLUGIN_SDL_1
=""
47898 if test "x$WXUNIV" = "x0" ; then
47903 if test "x$WXUNIV" = "x1" ; then
47907 COND_WXUSE_EXPAT_BUILTIN
="#"
47908 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
47909 COND_WXUSE_EXPAT_BUILTIN
=""
47912 COND_WXUSE_LIBJPEG_BUILTIN
="#"
47913 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47914 COND_WXUSE_LIBJPEG_BUILTIN
=""
47917 COND_WXUSE_LIBPNG_BUILTIN
="#"
47918 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47919 COND_WXUSE_LIBPNG_BUILTIN
=""
47922 COND_WXUSE_LIBTIFF_BUILTIN
="#"
47923 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47924 COND_WXUSE_LIBTIFF_BUILTIN
=""
47927 COND_WXUSE_ODBC_BUILTIN
="#"
47928 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
47929 COND_WXUSE_ODBC_BUILTIN
=""
47932 COND_WXUSE_REGEX_BUILTIN
="#"
47933 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
47934 COND_WXUSE_REGEX_BUILTIN
=""
47937 COND_WXUSE_ZLIB_BUILTIN
="#"
47938 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
47939 COND_WXUSE_ZLIB_BUILTIN
=""
47944 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
47945 { { 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
47946 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;}
47947 { (exit 1); exit 1; }; }
47950 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
47951 { { 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
47952 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;}
47953 { (exit 1); exit 1; }; }
47958 if test "$wxUSE_MAC" = 1 ; then
47959 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
47960 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
47966 if test "$wxUSE_SHARED" = "yes"; then
47968 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
47969 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
47972 *-pc-os2_emx | *-pc-os2-emx )
47973 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47974 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47975 cp -p ${srcdir}/src
/os
2/dllnames.sh .
47976 cp -p ${srcdir}/src
/os
2/dllar.sh .
47981 EXE_LINKER
="$CXX -o"
47984 if test "$wxUSE_OMF" = "yes"; then
47986 *-pc-os2_emx | *-pc-os2-emx )
47987 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
47988 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
47989 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
47994 if test $GCC_PCH = 1 ; then
47995 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
47998 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48000 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48062 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48063 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48064 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48065 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48066 echo $ECHO_N "(cached) $ECHO_C" >&6
48068 cat >conftest.
make <<\_ACEOF
48070 @
echo 'ac_maketemp="$(MAKE)"'
48072 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48073 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48074 if test -n "$ac_maketemp"; then
48075 eval ac_cv_prog_make_
${ac_make}_set
=yes
48077 eval ac_cv_prog_make_
${ac_make}_set
=no
48079 rm -f conftest.
make
48081 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48082 echo "$as_me:$LINENO: result: yes" >&5
48083 echo "${ECHO_T}yes" >&6
48086 echo "$as_me:$LINENO: result: no" >&5
48087 echo "${ECHO_T}no" >&6
48088 SET_MAKE
="MAKE=${MAKE-make}"
48093 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48096 if test "$USE_WIN32" = 1; then
48097 ac_config_commands
="$ac_config_commands
48103 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48106 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48109 ac_config_files
="$ac_config_files version-script Makefile"
48112 ac_config_commands
="$ac_config_commands wx-config"
48116 if test "$wxWITH_SUBDIRS" != "no"; then
48117 if test "$wxUSE_GUI" = "yes"; then
48118 SUBDIRS
="samples demos utils contrib"
48119 else SUBDIRS
="samples utils"
48124 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48125 if test "${with_cppunit_prefix+set}" = set; then
48126 withval
="$with_cppunit_prefix"
48127 cppunit_config_prefix
="$withval"
48129 cppunit_config_prefix
=""
48132 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48133 if test "${with_cppunit_exec_prefix+set}" = set; then
48134 withval
="$with_cppunit_exec_prefix"
48135 cppunit_config_exec_prefix
="$withval"
48137 cppunit_config_exec_prefix
=""
48140 if test x
$cppunit_config_exec_prefix != x
; then
48141 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48142 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48143 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48146 if test x
$cppunit_config_prefix != x
; then
48147 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48148 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48149 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48153 # Extract the first word of "cppunit-config", so it can be a program name with args.
48154 set dummy cppunit
-config; ac_word
=$2
48155 echo "$as_me:$LINENO: checking for $ac_word" >&5
48156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48157 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48158 echo $ECHO_N "(cached) $ECHO_C" >&6
48160 case $CPPUNIT_CONFIG in
48162 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48166 for as_dir
in $PATH
48169 test -z "$as_dir" && as_dir
=.
48170 for ac_exec_ext
in '' $ac_executable_extensions; do
48171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48172 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48179 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48183 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48185 if test -n "$CPPUNIT_CONFIG"; then
48186 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48187 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48189 echo "$as_me:$LINENO: result: no" >&5
48190 echo "${ECHO_T}no" >&6
48193 cppunit_version_min
=1.8.0
48195 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48196 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48198 if test "$CPPUNIT_CONFIG" = "no" ; then
48201 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48202 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48203 cppunit_version
=`$CPPUNIT_CONFIG --version`
48205 cppunit_major_version
=`echo $cppunit_version | \
48206 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48207 cppunit_minor_version
=`echo $cppunit_version | \
48208 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48209 cppunit_micro_version
=`echo $cppunit_version | \
48210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48212 cppunit_major_min
=`echo $cppunit_version_min | \
48213 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48214 cppunit_minor_min
=`echo $cppunit_version_min | \
48215 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48216 cppunit_micro_min
=`echo $cppunit_version_min | \
48217 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48219 cppunit_version_proper
=`expr \
48220 $cppunit_major_version \> $cppunit_major_min \| \
48221 $cppunit_major_version \= $cppunit_major_min \& \
48222 $cppunit_minor_version \> $cppunit_minor_min \| \
48223 $cppunit_major_version \= $cppunit_major_min \& \
48224 $cppunit_minor_version \= $cppunit_minor_min \& \
48225 $cppunit_micro_version \>= $cppunit_micro_min `
48227 if test "$cppunit_version_proper" = "1" ; then
48228 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48229 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48231 echo "$as_me:$LINENO: result: no" >&5
48232 echo "${ECHO_T}no" >&6
48237 if test "x$no_cppunit" = x
; then
48238 SUBDIRS
="$SUBDIRS tests"
48249 for subdir
in `echo $SUBDIRS`; do
48250 if test -d ${srcdir}/${subdir} ; then
48251 if test "$wxUSE_GUI" = "yes"; then
48252 if test ${subdir} = "samples"; then
48253 makefiles
="samples/Makefile.in $makefiles"
48254 for sample
in `echo $SAMPLES_SUBDIRS`; do
48255 if test -d $srcdir/samples
/$sample; then
48256 makefiles
="samples/$sample/Makefile.in $makefiles"
48260 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48261 eval "disabled=\$$disabled_var"
48262 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48263 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48265 else if test ${subdir} = "samples"; then
48266 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48267 elif test ${subdir} = "utils"; then
48269 for util
in HelpGen tex2rtf
; do
48270 if test -d $srcdir/utils
/$util ; then
48271 makefiles
="utils/$util/Makefile.in \
48272 utils/$util/src/Makefile.in \
48276 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48280 for mkin
in $makefiles ; do
48281 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48282 ac_config_files
="$ac_config_files $mk"
48288 cat >confcache
<<\_ACEOF
48289 # This file is a shell script that caches the results of configure
48290 # tests run on this system so they can be shared between configure
48291 # scripts and configure runs, see configure's option --config-cache.
48292 # It is not useful on other systems. If it contains results you don't
48293 # want to keep, you may remove or edit it.
48295 # config.status only pays attention to the cache file if you give it
48296 # the --recheck option to rerun configure.
48298 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48299 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48300 # following values.
48304 # The following way of writing the cache mishandles newlines in values,
48305 # but we know of no workaround that is simple, portable, and efficient.
48306 # So, don't put newlines in cache variables' values.
48307 # Ultrix sh set writes to stderr and can't be redirected directly,
48308 # and sets the high bit in the cache file unless we assign to the vars.
48311 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48313 # `set' does not quote correctly, so add quotes (double-quote
48314 # substitution turns \\\\ into \\, and sed turns \\ into \).
48317 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48320 # `set' quotes correctly as required by POSIX, so do not add quotes.
48322 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48329 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48331 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48333 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48334 if test -w $cache_file; then
48335 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48336 cat confcache
>$cache_file
48338 echo "not updating unwritable cache $cache_file"
48343 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48344 # Let make expand exec_prefix.
48345 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48347 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48348 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48349 # trailing colons and then remove the whole line if VPATH becomes empty
48350 # (actually we leave an empty line to preserve line numbers).
48351 if test "x$srcdir" = x.
; then
48352 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48353 s/:*\$(srcdir):*/:/;
48354 s/:*\${srcdir}:*/:/;
48356 s/^\([^=]*=[ ]*\):*/\1/;
48362 DEFS
=-DHAVE_CONFIG_H
48366 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48367 # 1. Remove the extension, and $U if already installed.
48368 ac_i
=`echo "$ac_i" |
48369 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48371 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48372 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48374 LIBOBJS
=$ac_libobjs
48376 LTLIBOBJS
=$ac_ltlibobjs
48380 : ${CONFIG_STATUS=./config.status}
48381 ac_clean_files_save
=$ac_clean_files
48382 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48383 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48384 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48385 cat >$CONFIG_STATUS <<_ACEOF
48387 # Generated by $as_me.
48388 # Run this file to recreate the current configuration.
48389 # Compiler output produced by configure, useful for debugging
48390 # configure, is in config.log if it exists.
48393 ac_cs_recheck=false
48395 SHELL=\${CONFIG_SHELL-$SHELL}
48398 cat >>$CONFIG_STATUS <<\_ACEOF
48399 ## --------------------- ##
48400 ## M4sh Initialization. ##
48401 ## --------------------- ##
48403 # Be Bourne compatible
48404 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48407 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48408 # is contrary to our usage. Disable this feature.
48409 alias -g '${1+"$@"}'='"$@"'
48410 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48413 DUALCASE
=1; export DUALCASE
# for MKS sh
48415 # Support unset when possible.
48416 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48423 # Work around bugs in pre-3.0 UWIN ksh.
48424 $as_unset ENV MAIL MAILPATH
48431 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48432 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48433 LC_TELEPHONE LC_TIME
48435 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48436 eval $as_var=C
; export $as_var
48442 # Required to use basename.
48443 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48449 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48450 as_basename
=basename
48456 # Name of the executable.
48457 as_me
=`$as_basename "$0" ||
48458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48459 X"$0" : 'X\(//\)$' \| \
48460 X"$0" : 'X\(/\)$' \| \
48461 . : '\(.\)' 2>/dev/null ||
48463 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48464 /^X\/\(\/\/\)$/{ s//\1/; q; }
48465 /^X\/\(\/\).*/{ s//\1/; q; }
48469 # PATH needs CR, and LINENO needs CR and PATH.
48470 # Avoid depending upon Character Ranges.
48471 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48472 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48473 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48474 as_cr_digits
='0123456789'
48475 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48477 # The user is always right.
48478 if test "${PATH_SEPARATOR+set}" != set; then
48479 echo "#! /bin/sh" >conf$$.sh
48480 echo "exit 0" >>conf$$.sh
48482 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48491 as_lineno_1
=$LINENO
48492 as_lineno_2
=$LINENO
48493 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48494 test "x$as_lineno_1" != "x$as_lineno_2" &&
48495 test "x$as_lineno_3" = "x$as_lineno_2" || {
48496 # Find who we are. Look in the path if we contain no path at all
48499 *[\\/]* ) as_myself
=$0 ;;
48500 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48501 for as_dir
in $PATH
48504 test -z "$as_dir" && as_dir
=.
48505 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
48510 # We did not find ourselves, most probably we were run as `sh COMMAND'
48511 # in which case we are not to be found in the path.
48512 if test "x$as_myself" = x
; then
48515 if test ! -f "$as_myself"; then
48516 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48517 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48518 { (exit 1); exit 1; }; }
48520 case $CONFIG_SHELL in
48522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48523 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
48526 test -z "$as_dir" && as_dir
=.
48527 for as_base
in sh bash ksh sh5
; do
48530 if ("$as_dir/$as_base" -c '
48531 as_lineno_1=$LINENO
48532 as_lineno_2=$LINENO
48533 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48534 test "x$as_lineno_1" != "x$as_lineno_2" &&
48535 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
48536 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
48537 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
48538 CONFIG_SHELL
=$as_dir/$as_base
48539 export CONFIG_SHELL
48540 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48548 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48549 # uniformly replaced by the line number. The first 'sed' inserts a
48550 # line-number line before each line; the second 'sed' does the real
48551 # work. The second script uses 'N' to pair each line-number line
48552 # with the numbered line, and appends trailing '-' during
48553 # substitution so that $LINENO is not a special case at line end.
48554 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48555 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48556 sed '=' <$as_myself |
48561 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48564 s,^['$as_cr_digits']*\n,,
48565 ' >$as_me.lineno
&&
48566 chmod +x
$as_me.lineno
||
48567 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48568 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48569 { (exit 1); exit 1; }; }
48571 # Don't try to exec as it changes $[0], causing all sort of problems
48572 # (the dirname of $[0] is not the place where we might find the
48573 # original and so on. Autoconf is especially sensible to this).
48575 # Exit status is that of the last command.
48580 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48581 *c
*,-n*) ECHO_N
= ECHO_C
='
48583 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
48584 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
48587 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48593 rm -f conf$$ conf$$.exe conf$$.
file
48595 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
48596 # We could just check for DJGPP; but this test a) works b) is more generic
48597 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48598 if test -f conf$$.exe
; then
48599 # Don't use ln at all; we don't have any links
48604 elif ln conf$$.
file conf$$
2>/dev
/null
; then
48609 rm -f conf$$ conf$$.exe conf$$.
file
48611 if mkdir -p .
2>/dev
/null
; then
48614 test -d .
/-p && rmdir .
/-p
48618 as_executable_p
="test -f"
48620 # Sed expression to map a string onto a valid CPP name.
48621 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48623 # Sed expression to map a string onto a valid variable name.
48624 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48628 # We need space, tab and new line, in precisely that order.
48638 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48639 # report actual input values of CONFIG_FILES etc. instead of their
48640 # values after options handling. Logging --version etc. is OK.
48644 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48645 ## Running $as_me. ##
48650 This file was extended by wxWidgets $as_me 2.7.0, which was
48651 generated by GNU Autoconf 2.59. Invocation command line was
48653 CONFIG_FILES = $CONFIG_FILES
48654 CONFIG_HEADERS = $CONFIG_HEADERS
48655 CONFIG_LINKS = $CONFIG_LINKS
48656 CONFIG_COMMANDS = $CONFIG_COMMANDS
48660 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48664 # Files that config.status was made for.
48665 if test -n "$ac_config_files"; then
48666 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48669 if test -n "$ac_config_headers"; then
48670 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48673 if test -n "$ac_config_links"; then
48674 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48677 if test -n "$ac_config_commands"; then
48678 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48681 cat >>$CONFIG_STATUS <<\_ACEOF
48684 \`$as_me' instantiates files from templates according to the
48685 current configuration.
48687 Usage: $0 [OPTIONS] [FILE]...
48689 -h, --help print this help, then exit
48690 -V, --version print version number, then exit
48691 -q, --quiet do not print progress messages
48692 -d, --debug don't remove temporary files
48693 --recheck update $as_me by reconfiguring in the same conditions
48694 --file=FILE[:TEMPLATE]
48695 instantiate the configuration file FILE
48696 --header=FILE[:TEMPLATE]
48697 instantiate the configuration header FILE
48699 Configuration files:
48702 Configuration headers:
48705 Configuration commands:
48708 Report bugs to <bug-autoconf@gnu.org>."
48711 cat >>$CONFIG_STATUS <<_ACEOF
48713 wxWidgets config.status 2.7.0
48714 configured by $0, generated by GNU Autoconf 2.59,
48715 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48717 Copyright (C) 2003 Free Software Foundation, Inc.
48718 This config.status script is free software; the Free Software Foundation
48719 gives unlimited permission to copy, distribute and modify it."
48724 cat >>$CONFIG_STATUS <<\_ACEOF
48725 # If no file are specified by the user, then we need to provide default
48726 # value. By we need to know if files were specified by the user.
48732 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
48733 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
48741 *) # This is not an option, so the user has probably given explicit
48744 ac_need_defaults
=false
;;
48748 # Handling of the options.
48750 cat >>$CONFIG_STATUS <<\_ACEOF
48751 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48753 --version | --vers* | -V )
48754 echo "$ac_cs_version"; exit 0 ;;
48756 # Conflict between --help and --header
48757 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48758 Try \`$0 --help' for more information." >&5
48759 echo "$as_me: error: ambiguous option: $1
48760 Try \`$0 --help' for more information." >&2;}
48761 { (exit 1); exit 1; }; };;
48762 --help | --hel | -h )
48763 echo "$ac_cs_usage"; exit 0 ;;
48764 --debug | --d* | -d )
48766 --file | --fil | --fi | --f )
48768 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
48769 ac_need_defaults
=false
;;
48770 --header | --heade | --head | --hea )
48772 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
48773 ac_need_defaults
=false
;;
48774 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48775 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48778 # This is an error.
48779 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48780 Try \`$0 --help' for more information." >&5
48781 echo "$as_me: error: unrecognized option: $1
48782 Try \`$0 --help' for more information." >&2;}
48783 { (exit 1); exit 1; }; } ;;
48785 *) ac_config_targets
="$ac_config_targets $1" ;;
48791 ac_configure_extra_args
=
48793 if $ac_cs_silent; then
48795 ac_configure_extra_args
="$ac_configure_extra_args --silent"
48799 cat >>$CONFIG_STATUS <<_ACEOF
48800 if \$ac_cs_recheck; then
48801 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48802 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48807 cat >>$CONFIG_STATUS <<_ACEOF
48809 # INIT-COMMANDS section.
48814 infile="$srcdir/include/wx/msw/genrcdefs.h"
48815 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
48818 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48819 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48820 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48828 cat >>$CONFIG_STATUS <<\_ACEOF
48829 for ac_config_target
in $ac_config_targets
48831 case "$ac_config_target" in
48832 # Handling of arguments.
48833 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
48834 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
48835 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
48836 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
48837 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
48838 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
48839 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
48840 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
48841 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
48842 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
48843 { (exit 1); exit 1; }; };;
48847 # If the user did not use the arguments to specify the items to instantiate,
48848 # then the envvar interface is used. Set only those that are not.
48849 # We use the long form for the default assignment because of an extremely
48850 # bizarre bug on SunOS 4.1.3.
48851 if $ac_need_defaults; then
48852 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
48853 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
48854 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
48857 # Have a temporary directory for convenience. Make it in the build tree
48858 # simply because there is no reason to put it here, and in addition,
48859 # creating and moving files from /tmp can sometimes cause problems.
48860 # Create a temporary directory, and hook for its removal unless debugging.
48863 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
48864 trap '{ (exit 1); exit 1; }' 1 2 13 15
48867 # Create a (secure) tmp directory for tmp files.
48870 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
48871 test -n "$tmp" && test -d "$tmp"
48874 tmp
=.
/confstat$$
-$RANDOM
48875 (umask 077 && mkdir $tmp)
48878 echo "$me: cannot create a temporary directory in ." >&2
48879 { (exit 1); exit 1; }
48884 cat >>$CONFIG_STATUS <<_ACEOF
48887 # CONFIG_FILES section.
48890 # No need to generate the scripts if there are no CONFIG_FILES.
48891 # This happens for instance when ./config.status config.h
48892 if test -n "\$CONFIG_FILES"; then
48893 # Protect against being on the right side of a sed subst in config.status.
48894 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
48895 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
48896 s,@SHELL@,$SHELL,;t t
48897 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
48898 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
48899 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
48900 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
48901 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
48902 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
48903 s,@exec_prefix@,$exec_prefix,;t t
48904 s,@prefix@,$prefix,;t t
48905 s,@program_transform_name@,$program_transform_name,;t t
48906 s,@bindir@,$bindir,;t t
48907 s,@sbindir@,$sbindir,;t t
48908 s,@libexecdir@,$libexecdir,;t t
48909 s,@datadir@,$datadir,;t t
48910 s,@sysconfdir@,$sysconfdir,;t t
48911 s,@sharedstatedir@,$sharedstatedir,;t t
48912 s,@localstatedir@,$localstatedir,;t t
48913 s,@libdir@,$libdir,;t t
48914 s,@includedir@,$includedir,;t t
48915 s,@oldincludedir@,$oldincludedir,;t t
48916 s,@infodir@,$infodir,;t t
48917 s,@mandir@,$mandir,;t t
48918 s,@build_alias@,$build_alias,;t t
48919 s,@host_alias@,$host_alias,;t t
48920 s,@target_alias@,$target_alias,;t t
48921 s,@DEFS@,$DEFS,;t t
48922 s,@ECHO_C@,$ECHO_C,;t t
48923 s,@ECHO_N@,$ECHO_N,;t t
48924 s,@ECHO_T@,$ECHO_T,;t t
48925 s,@LIBS@,$LIBS,;t t
48926 s,@build@,$build,;t t
48927 s,@build_cpu@,$build_cpu,;t t
48928 s,@build_vendor@,$build_vendor,;t t
48929 s,@build_os@,$build_os,;t t
48930 s,@host@,$host,;t t
48931 s,@host_cpu@,$host_cpu,;t t
48932 s,@host_vendor@,$host_vendor,;t t
48933 s,@host_os@,$host_os,;t t
48934 s,@target@,$target,;t t
48935 s,@target_cpu@,$target_cpu,;t t
48936 s,@target_vendor@,$target_vendor,;t t
48937 s,@target_os@,$target_os,;t t
48939 s,@CFLAGS@,$CFLAGS,;t t
48940 s,@LDFLAGS@,$LDFLAGS,;t t
48941 s,@CPPFLAGS@,$CPPFLAGS,;t t
48942 s,@ac_ct_CC@,$ac_ct_CC,;t t
48943 s,@EXEEXT@,$EXEEXT,;t t
48944 s,@OBJEXT@,$OBJEXT,;t t
48946 s,@EGREP@,$EGREP,;t t
48948 s,@CXXFLAGS@,$CXXFLAGS,;t t
48949 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
48950 s,@RANLIB@,$RANLIB,;t t
48951 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
48953 s,@ac_ct_AR@,$ac_ct_AR,;t t
48954 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
48955 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
48956 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
48957 s,@STRIP@,$STRIP,;t t
48958 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
48959 s,@WINDRES@,$WINDRES,;t t
48960 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
48961 s,@DLLTOOL@,$DLLTOOL,;t t
48962 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
48963 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
48964 s,@LN_S@,$LN_S,;t t
48965 s,@CXXCPP@,$CXXCPP,;t t
48966 s,@subdirs@,$subdirs,;t t
48967 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
48968 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
48969 s,@GTK_LIBS@,$GTK_LIBS,;t t
48970 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
48971 s,@X_CFLAGS@,$X_CFLAGS,;t t
48972 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
48973 s,@X_LIBS@,$X_LIBS,;t t
48974 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
48975 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
48976 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
48977 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
48978 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
48979 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
48980 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
48982 s,@DEREZ@,$DEREZ,;t t
48983 s,@SETFILE@,$SETFILE,;t t
48984 s,@LIBICONV@,$LIBICONV,;t t
48985 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
48986 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
48987 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
48988 s,@SDL_LIBS@,$SDL_LIBS,;t t
48989 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
48990 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
48991 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
48992 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
48993 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
48994 s,@GST_LIBS@,$GST_LIBS,;t t
48995 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
48996 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
48997 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
48998 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
48999 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49000 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49001 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49002 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49003 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49004 s,@VENDOR@,$VENDOR,;t t
49005 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49006 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49007 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49008 s,@WXUNIV@,$WXUNIV,;t t
49009 s,@MONOLITHIC@,$MONOLITHIC,;t t
49010 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49011 s,@EXTRALIBS@,$EXTRALIBS,;t t
49012 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49013 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49014 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49015 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49016 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49017 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49018 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49019 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49020 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49021 s,@UNICODE@,$UNICODE,;t t
49022 s,@BUILD@,$BUILD,;t t
49023 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49024 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49025 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49026 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49027 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49028 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49029 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49030 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49031 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49032 s,@SET_MAKE@,$SET_MAKE,;t t
49033 s,@MAKE_SET@,$MAKE_SET,;t t
49035 s,@ac_ct_NM@,$ac_ct_NM,;t t
49036 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49037 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49038 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49039 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49040 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49041 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49042 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49043 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49044 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49045 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49046 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49047 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49048 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49049 s,@LIBPREFIX@,$LIBPREFIX,;t t
49050 s,@LIBEXT@,$LIBEXT,;t t
49051 s,@DLLPREFIX@,$DLLPREFIX,;t t
49052 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49053 s,@dlldir@,$dlldir,;t t
49054 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49055 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49056 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49057 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49058 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49059 s,@PIC_FLAG@,$PIC_FLAG,;t t
49060 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49061 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49062 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49063 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49064 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49065 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49066 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49067 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49068 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49069 s,@GCC_PCH@,$GCC_PCH,;t t
49070 s,@ICC_PCH@,$ICC_PCH,;t t
49071 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49072 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49073 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49074 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49075 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49076 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49077 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49078 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49079 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49080 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49081 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49082 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49083 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49084 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49085 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49086 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49087 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49088 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49089 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49090 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
49091 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
49092 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
49093 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
49094 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49095 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49096 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49097 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49098 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
49099 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
49100 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
49101 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
49102 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49103 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49104 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49105 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49106 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49107 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49108 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49109 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49110 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49111 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49112 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49113 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49114 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49115 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49116 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49117 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49118 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49119 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
49120 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49121 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49122 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49123 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49124 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49125 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49126 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49127 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49128 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49129 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49130 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49131 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49132 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49133 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49134 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49135 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49136 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49137 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49138 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49139 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49140 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49141 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49142 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49143 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49144 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49145 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49146 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49147 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49148 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49149 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49150 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49151 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49152 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49153 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49154 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49155 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49156 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49157 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49158 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49159 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
49160 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49161 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49162 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49163 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49164 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49165 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49166 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49167 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49168 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49169 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49170 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49171 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49172 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49173 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49174 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49175 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49176 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49177 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49178 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49179 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49180 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49181 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49182 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49183 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49184 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49185 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49186 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49187 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49188 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49189 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49190 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49191 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49192 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49193 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49194 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49195 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49196 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49197 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49198 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49199 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49200 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49201 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49202 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49203 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49204 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49205 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49206 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49207 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49208 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49209 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49210 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49211 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49212 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49213 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49214 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49215 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49216 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49217 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49218 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49219 s,@SHARED@,$SHARED,;t t
49220 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49221 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49222 s,@USE_GUI@,$USE_GUI,;t t
49223 s,@AFMINSTALL@,$AFMINSTALL,;t t
49224 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49225 s,@TOOLKIT@,$TOOLKIT,;t t
49226 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49227 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49228 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49229 s,@cross_compiling@,$cross_compiling,;t t
49230 s,@WIDGET_SET@,$WIDGET_SET,;t t
49231 s,@WX_RELEASE@,$WX_RELEASE,;t t
49232 s,@WX_VERSION@,$WX_VERSION,;t t
49233 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49234 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49235 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49236 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49237 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49238 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49239 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49240 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49241 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49242 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49243 s,@EXE_LINKER@,$EXE_LINKER,;t t
49244 s,@GUIDIST@,$GUIDIST,;t t
49245 s,@DISTDIR@,$DISTDIR,;t t
49246 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49247 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49248 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49249 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49250 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49251 s,@RESCOMP@,$RESCOMP,;t t
49252 s,@RESFLAGS@,$RESFLAGS,;t t
49253 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49254 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49255 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49256 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49257 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49258 s,@MACSETFILE@,$MACSETFILE,;t t
49260 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49261 s,@LIBOBJS@,$LIBOBJS,;t t
49262 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49267 cat >>$CONFIG_STATUS <<\_ACEOF
49268 # Split the substitutions into bite-sized pieces for seds with
49269 # small command number limits, like on Digital OSF/1 and HP-UX.
49270 ac_max_sed_lines
=48
49271 ac_sed_frag
=1 # Number of current file.
49272 ac_beg
=1 # First line for current file.
49273 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49276 while $ac_more_lines; do
49277 if test $ac_beg -gt 1; then
49278 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49280 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49282 if test ! -s $tmp/subs.frag
; then
49283 ac_more_lines
=false
49285 # The purpose of the label and of the branching condition is to
49286 # speed up the sed processing (if there are no `@' at all, there
49287 # is no need to browse any of the substitutions).
49288 # These are the two extra sed commands mentioned above.
49290 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49291 if test -z "$ac_sed_cmds"; then
49292 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49294 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49296 ac_sed_frag
=`expr $ac_sed_frag + 1`
49298 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49301 if test -z "$ac_sed_cmds"; then
49304 fi # test -n "$CONFIG_FILES"
49307 cat >>$CONFIG_STATUS <<\_ACEOF
49308 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49309 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49311 - | *:- | *:-:* ) # input from stdin
49313 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49314 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49315 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49316 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49317 * ) ac_file_in
=$ac_file.
in ;;
49320 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49321 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49322 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49323 X"$ac_file" : 'X\(//\)[^/]' \| \
49324 X"$ac_file" : 'X\(//\)$' \| \
49325 X"$ac_file" : 'X\(/\)' \| \
49326 . : '\(.\)' 2>/dev/null ||
49328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49330 /^X\(\/\/\)$/{ s//\1/; q; }
49331 /^X\(\/\).*/{ s//\1/; q; }
49333 { if $as_mkdir_p; then
49338 while test ! -d "$as_dir"; do
49339 as_dirs
="$as_dir $as_dirs"
49340 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49342 X"$as_dir" : 'X\(//\)[^/]' \| \
49343 X"$as_dir" : 'X\(//\)$' \| \
49344 X"$as_dir" : 'X\(/\)' \| \
49345 . : '\(.\)' 2>/dev/null ||
49347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49348 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49349 /^X\(\/\/\)$/{ s//\1/; q; }
49350 /^X\(\/\).*/{ s//\1/; q; }
49353 test ! -n "$as_dirs" || mkdir $as_dirs
49354 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49355 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49356 { (exit 1); exit 1; }; }; }
49360 if test "$ac_dir" != .
; then
49361 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49362 # A "../" for each directory in $ac_dir_suffix.
49363 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49365 ac_dir_suffix
= ac_top_builddir
=
49369 .
) # No --srcdir option. We are building in place.
49371 if test -z "$ac_top_builddir"; then
49374 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49376 [\\/]* | ?
:[\\/]* ) # Absolute path.
49377 ac_srcdir
=$srcdir$ac_dir_suffix;
49378 ac_top_srcdir
=$srcdir ;;
49379 *) # Relative path.
49380 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49381 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49384 # Do not use `cd foo && pwd` to compute absolute paths, because
49385 # the directories may not exist.
49387 .
) ac_abs_builddir
="$ac_dir";;
49390 .
) ac_abs_builddir
=`pwd`;;
49391 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49392 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49395 case $ac_abs_builddir in
49396 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49398 case ${ac_top_builddir}.
in
49399 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49400 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49401 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49404 case $ac_abs_builddir in
49405 .
) ac_abs_srcdir
=$ac_srcdir;;
49408 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49409 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49410 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49413 case $ac_abs_builddir in
49414 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49416 case $ac_top_srcdir in
49417 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49418 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49419 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49425 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49426 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49429 # Let's still pretend it is `configure' which instantiates (i.e., don't
49430 # use $as_me), people would be surprised to read:
49431 # /* config.h. Generated by config.status. */
49432 if test x
"$ac_file" = x
-; then
49435 configure_input
="$ac_file. "
49437 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49438 sed 's,.*/,,'` by configure."
49440 # First look for the input files in the build tree, otherwise in the
49442 ac_file_inputs
=`IFS=:
49443 for f in $ac_file_in; do
49445 -) echo $tmp/stdin ;;
49447 # Absolute (can't be DOS-style, as IFS=:)
49448 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49449 echo "$as_me: error: cannot find input file: $f" >&2;}
49450 { (exit 1); exit 1; }; }
49453 if test -f "$f"; then
49456 elif test -f "$srcdir/$f"; then
49461 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49462 echo "$as_me: error: cannot find input file: $f" >&2;}
49463 { (exit 1); exit 1; }; }
49466 done` || { (exit 1); exit 1; }
49468 if test x
"$ac_file" != x
-; then
49469 { echo "$as_me:$LINENO: creating $ac_file" >&5
49470 echo "$as_me: creating $ac_file" >&6;}
49474 cat >>$CONFIG_STATUS <<_ACEOF
49478 cat >>$CONFIG_STATUS <<\_ACEOF
49480 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49481 s
,@configure_input@
,$configure_input,;t t
49482 s
,@srcdir@
,$ac_srcdir,;t t
49483 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49484 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49485 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49486 s
,@builddir@
,$ac_builddir,;t t
49487 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49488 s
,@top_builddir@
,$ac_top_builddir,;t t
49489 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49490 s
,@INSTALL@
,$ac_INSTALL,;t t
49491 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49493 if test x"$ac_file" != x-; then
49494 mv $tmp/out $ac_file
49500 # Run the commands associated with the file.
49502 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49503 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49507 cat >>$CONFIG_STATUS <<\_ACEOF
49510 # CONFIG_HEADER section.
49513 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
49514 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49516 # ac_d sets the value in "#define NAME VALUE" lines.
49517 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49518 ac_dB
='[ ].*$,\1#\2'
49521 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49522 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49523 ac_uB
='$,\1#\2define\3'
49527 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
49528 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49530 - | *:- | *:-:* ) # input from stdin
49532 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49533 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49534 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49535 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49536 * ) ac_file_in
=$ac_file.
in ;;
49539 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49540 echo "$as_me: creating $ac_file" >&6;}
49542 # First look for the input files in the build tree, otherwise in the
49544 ac_file_inputs
=`IFS=:
49545 for f in $ac_file_in; do
49547 -) echo $tmp/stdin ;;
49549 # Absolute (can't be DOS-style, as IFS=:)
49550 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49551 echo "$as_me: error: cannot find input file: $f" >&2;}
49552 { (exit 1); exit 1; }; }
49553 # Do quote $f, to prevent DOS paths from being IFS'd.
49556 if test -f "$f"; then
49559 elif test -f "$srcdir/$f"; then
49564 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49565 echo "$as_me: error: cannot find input file: $f" >&2;}
49566 { (exit 1); exit 1; }; }
49569 done` || { (exit 1); exit 1; }
49570 # Remove the trailing spaces.
49571 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49575 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49576 # `conftest.undefs', that substitutes the proper values into
49577 # config.h.in to produce config.h. The first handles `#define'
49578 # templates, and the second `#undef' templates.
49579 # And first: Protect against being on the right side of a sed subst in
49580 # config.status. Protect against being in an unquoted here document
49581 # in config.status.
49582 rm -f conftest.defines conftest.undefs
49583 # Using a here document instead of a string reduces the quoting nightmare.
49584 # Putting comments in sed scripts is not portable.
49586 # `end' is used to avoid that the second main sed command (meant for
49587 # 0-ary CPP macros) applies to n-ary macro definitions.
49588 # See the Autoconf documentation for `clear'.
49589 cat >confdef2sed.
sed <<\_ACEOF
49594 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49596 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49599 # If some macros were called several times there might be several times
49600 # the same #defines, which is useless. Nevertheless, we may not want to
49601 # sort them, since we want the *last* AC-DEFINE to be honored.
49602 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49603 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49604 rm -f confdef2sed.sed
49606 # This sed command replaces #undef with comments. This is necessary, for
49607 # example, in the case of _POSIX_SOURCE, which is predefined and required
49608 # on some systems where configure will not decide to define it.
49609 cat >>conftest.undefs <<\_ACEOF
49610 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49613 # Break up conftest.defines because some shells have a limit on the size
49614 # of here documents, and old seds have small limits too (100 cmds).
49615 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49616 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49617 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49618 echo ' :' >>$CONFIG_STATUS
49619 rm -f conftest.tail
49620 while grep . conftest.defines >/dev/null
49622 # Write a limited-size here document to $tmp/defines.sed.
49623 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49624 # Speed up: don't consider the non `#define' lines.
49625 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49626 # Work around the forget-to-reset-the-flag bug.
49627 echo 't clr' >>$CONFIG_STATUS
49628 echo ': clr' >>$CONFIG_STATUS
49629 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
49631 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49633 mv $tmp/out $tmp/in
49635 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
49636 rm -f conftest.defines
49637 mv conftest.
tail conftest.defines
49639 rm -f conftest.defines
49640 echo ' fi # grep' >>$CONFIG_STATUS
49641 echo >>$CONFIG_STATUS
49643 # Break up conftest.undefs because some shells have a limit on the size
49644 # of here documents, and old seds have small limits too (100 cmds).
49645 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49646 rm -f conftest.
tail
49647 while grep . conftest.undefs
>/dev
/null
49649 # Write a limited-size here document to $tmp/undefs.sed.
49650 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49651 # Speed up: don't consider the non
`#undef'
49652 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49653 # Work around the forget-to-reset-the-flag bug.
49654 echo 't clr' >>$CONFIG_STATUS
49655 echo ': clr' >>$CONFIG_STATUS
49656 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49658 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49660 mv $tmp/out $tmp/in
49662 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49663 rm -f conftest.undefs
49664 mv conftest.tail conftest.undefs
49666 rm -f conftest.undefs
49668 cat >>$CONFIG_STATUS <<\_ACEOF
49669 # Let's still pretend it is `configure
' which instantiates (i.e., don't
49670 # use $as_me), people would be surprised to read:
49671 # /* config.h. Generated by config.status. */
49672 if test x
"$ac_file" = x
-; then
49673 echo "/* Generated by configure. */" >$tmp/config.h
49675 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49677 cat $tmp/in >>$tmp/config.h
49679 if test x
"$ac_file" != x
-; then
49680 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
49681 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49682 echo "$as_me: $ac_file is unchanged" >&6;}
49684 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49685 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49686 X"$ac_file" : 'X\(//\)[^/]' \| \
49687 X"$ac_file" : 'X\(//\)$' \| \
49688 X"$ac_file" : 'X\(/\)' \| \
49689 . : '\(.\)' 2>/dev/null ||
49691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49692 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49693 /^X\(\/\/\)$/{ s//\1/; q; }
49694 /^X\(\/\).*/{ s//\1/; q; }
49696 { if $as_mkdir_p; then
49701 while test ! -d "$as_dir"; do
49702 as_dirs
="$as_dir $as_dirs"
49703 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49704 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49705 X"$as_dir" : 'X\(//\)[^/]' \| \
49706 X"$as_dir" : 'X\(//\)$' \| \
49707 X"$as_dir" : 'X\(/\)' \| \
49708 . : '\(.\)' 2>/dev/null ||
49710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49711 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49712 /^X\(\/\/\)$/{ s//\1/; q; }
49713 /^X\(\/\).*/{ s//\1/; q; }
49716 test ! -n "$as_dirs" || mkdir $as_dirs
49717 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49718 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49719 { (exit 1); exit 1; }; }; }
49722 mv $tmp/config.h
$ac_file
49726 rm -f $tmp/config.h
49730 cat >>$CONFIG_STATUS <<\_ACEOF
49733 # CONFIG_COMMANDS section.
49735 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
49736 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
49737 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49738 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
49739 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49740 X"$ac_dest" : 'X\(//\)[^/]' \| \
49741 X"$ac_dest" : 'X\(//\)$' \| \
49742 X"$ac_dest" : 'X\(/\)' \| \
49743 . : '\(.\)' 2>/dev/null ||
49745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49746 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49747 /^X\(\/\/\)$/{ s//\1/; q; }
49748 /^X\(\/\).*/{ s//\1/; q; }
49750 { if $as_mkdir_p; then
49755 while test ! -d "$as_dir"; do
49756 as_dirs
="$as_dir $as_dirs"
49757 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49758 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49759 X"$as_dir" : 'X\(//\)[^/]' \| \
49760 X"$as_dir" : 'X\(//\)$' \| \
49761 X"$as_dir" : 'X\(/\)' \| \
49762 . : '\(.\)' 2>/dev/null ||
49764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49765 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49766 /^X\(\/\/\)$/{ s//\1/; q; }
49767 /^X\(\/\).*/{ s//\1/; q; }
49770 test ! -n "$as_dirs" || mkdir $as_dirs
49771 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49772 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49773 { (exit 1); exit 1; }; }; }
49777 if test "$ac_dir" != .
; then
49778 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49779 # A "../" for each directory in $ac_dir_suffix.
49780 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49782 ac_dir_suffix
= ac_top_builddir
=
49786 .
) # No --srcdir option. We are building in place.
49788 if test -z "$ac_top_builddir"; then
49791 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49793 [\\/]* | ?
:[\\/]* ) # Absolute path.
49794 ac_srcdir
=$srcdir$ac_dir_suffix;
49795 ac_top_srcdir
=$srcdir ;;
49796 *) # Relative path.
49797 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49798 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49801 # Do not use `cd foo && pwd` to compute absolute paths, because
49802 # the directories may not exist.
49804 .
) ac_abs_builddir
="$ac_dir";;
49807 .
) ac_abs_builddir
=`pwd`;;
49808 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49809 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49812 case $ac_abs_builddir in
49813 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49815 case ${ac_top_builddir}.
in
49816 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49817 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49818 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49821 case $ac_abs_builddir in
49822 .
) ac_abs_srcdir
=$ac_srcdir;;
49825 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49826 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49827 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49830 case $ac_abs_builddir in
49831 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49833 case $ac_top_srcdir in
49834 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49835 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49836 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49841 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49842 echo "$as_me: executing $ac_dest commands" >&6;}
49845 mkdir -p $outdir &&
49846 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
49848 wx
-config ) rm -f wx
-config
49849 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
49855 cat >>$CONFIG_STATUS <<\_ACEOF
49857 { (exit 0); exit 0; }
49859 chmod +x
$CONFIG_STATUS
49860 ac_clean_files
=$ac_clean_files_save
49863 # configure is writing to config.log, and then calls config.status.
49864 # config.status does its own redirection, appending to config.log.
49865 # Unfortunately, on DOS this fails, as config.log is still kept open
49866 # by configure, so config.status won't be able to write to it; its
49867 # output is simply discarded. So we exec the FD to /dev/null,
49868 # effectively closing config.log, so it can be properly (re)opened and
49869 # appended to by config.status. When coming back to configure, we
49870 # need to make the FD available again.
49871 if test "$no_create" != yes; then
49873 ac_config_status_args
=
49874 test "$silent" = yes &&
49875 ac_config_status_args
="$ac_config_status_args --quiet"
49877 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
49879 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
49880 # would make configure fail if this is the last instruction.
49881 $ac_cs_success || { (exit 1); exit 1; }
49885 # CONFIG_SUBDIRS section.
49887 if test "$no_recursion" != yes; then
49889 # Remove --cache-file and --srcdir arguments so they do not pile up.
49890 ac_sub_configure_args
=
49892 for ac_arg
in $ac_configure_args; do
49893 if test -n "$ac_prev"; then
49898 -cache-file | --cache-file | --cache-fil | --cache-fi \
49899 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
49900 ac_prev
=cache_file
;;
49901 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
49902 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
49905 --config-cache | -C)
49907 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
49909 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
49911 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
49913 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
49915 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
49919 # Always prepend --prefix to ensure using the same prefix
49920 # in subdir configurations.
49921 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
49924 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
49926 # Do not complain, so a configure script can configure whichever
49927 # parts of a large source tree are present.
49928 test -d $srcdir/$ac_dir || continue
49930 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
49931 echo "$as_me: configuring in $ac_dir" >&6;}
49932 { if $as_mkdir_p; then
49937 while test ! -d "$as_dir"; do
49938 as_dirs
="$as_dir $as_dirs"
49939 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49940 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49941 X"$as_dir" : 'X\(//\)[^/]' \| \
49942 X"$as_dir" : 'X\(//\)$' \| \
49943 X"$as_dir" : 'X\(/\)' \| \
49944 . : '\(.\)' 2>/dev/null ||
49946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49947 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49948 /^X\(\/\/\)$/{ s//\1/; q; }
49949 /^X\(\/\).*/{ s//\1/; q; }
49952 test ! -n "$as_dirs" || mkdir $as_dirs
49953 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49954 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49955 { (exit 1); exit 1; }; }; }
49959 if test "$ac_dir" != .
; then
49960 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49961 # A "../" for each directory in $ac_dir_suffix.
49962 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49964 ac_dir_suffix
= ac_top_builddir
=
49968 .
) # No --srcdir option. We are building in place.
49970 if test -z "$ac_top_builddir"; then
49973 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49975 [\\/]* | ?
:[\\/]* ) # Absolute path.
49976 ac_srcdir
=$srcdir$ac_dir_suffix;
49977 ac_top_srcdir
=$srcdir ;;
49978 *) # Relative path.
49979 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49980 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49983 # Do not use `cd foo && pwd` to compute absolute paths, because
49984 # the directories may not exist.
49986 .
) ac_abs_builddir
="$ac_dir";;
49989 .
) ac_abs_builddir
=`pwd`;;
49990 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49991 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49994 case $ac_abs_builddir in
49995 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49997 case ${ac_top_builddir}.
in
49998 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49999 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50000 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50003 case $ac_abs_builddir in
50004 .
) ac_abs_srcdir
=$ac_srcdir;;
50007 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50008 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50009 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50012 case $ac_abs_builddir in
50013 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50015 case $ac_top_srcdir in
50016 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50017 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50018 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50025 # Check for guested configure; otherwise get Cygnus style configure.
50026 if test -f $ac_srcdir/configure.gnu
; then
50027 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50028 elif test -f $ac_srcdir/configure
; then
50029 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50030 elif test -f $ac_srcdir/configure.
in; then
50031 ac_sub_configure
=$ac_configure
50033 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50034 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50038 # The recursion is here.
50039 if test -n "$ac_sub_configure"; then
50040 # Make the cache file name correct relative to the subdirectory.
50041 case $cache_file in
50042 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50043 *) # Relative path.
50044 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50047 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50048 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50049 # The eval makes quoting arguments work.
50050 eval $ac_sub_configure $ac_sub_configure_args \
50051 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50052 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50053 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50054 { (exit 1); exit 1; }; }
50063 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50065 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50066 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50068 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50069 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50070 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50072 echo " What level of wxWidgets compatibility should be enabled?"
50073 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50074 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50076 echo " Which libraries should wxWidgets use?"
50077 echo " jpeg ${wxUSE_LIBJPEG-none}"
50078 echo " png ${wxUSE_LIBPNG-none}"
50079 echo " regex ${wxUSE_REGEX}"
50080 echo " tiff ${wxUSE_LIBTIFF-none}"
50081 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50082 echo " xpm ${wxUSE_LIBXPM-none}"
50084 echo " zlib ${wxUSE_ZLIB}"
50085 echo " odbc ${wxUSE_ODBC}"
50086 echo " expat ${wxUSE_EXPAT}"
50087 echo " libmspack ${wxUSE_LIBMSPACK}"
50088 echo " sdl ${wxUSE_LIBSDL}"
50089 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50090 echo " hildon ${wxUSE_LIBHILDON-none}"