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 GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT 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 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_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_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_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_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_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_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-wxprintfv use wxWidgets implementation of vprintf
()
942 --enable-zipstream use wxZip streams
943 --enable-url use wxURL class
944 --enable-protocol use wxProtocol class
945 --enable-protocol-http HTTP support
in wxProtocol
946 --enable-protocol-ftp FTP support
in wxProtocol
947 --enable-protocol-file FILE support
in wxProtocol
948 --enable-threads use threads
949 --enable-docview use document view architecture
950 --enable-help use
help subsystem
951 --enable-mshtmlhelp use MS HTML Help
(win32
)
952 --enable-html use wxHTML sub
-library
953 --enable-htmlhelp use wxHTML
-based help
954 --enable-xrc use XRC resources sub
-library
955 --enable-constraints use layout
-constraints system
956 --enable-printarch use printing architecture
957 --enable-mdi use multiple document interface architecture
958 --enable-mdidoc use docview architecture with MDI
959 --enable-loggui use standard GUI logger
960 --enable-logwin use wxLogWindow
961 --enable-logdialog use wxLogDialog
962 --enable-webkit use wxWebKitCtrl
(Mac
)
963 --enable-richtext use wxRichTextCtrl
964 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
965 --enable-prologio not available
; see contrib
966 --enable-resources not available
; see contrib
967 --enable-clipboard use wxClipboard class
968 --enable-dnd use Drag
'n'Drop classes
969 --enable-metafile use win32 metafiles
970 --enable-controls use all usual controls
971 --enable-accel use accelerators
972 --enable-button use wxButton class
973 --enable-bmpbutton use wxBitmapButton class
974 --enable-calendar use wxCalendarCtrl class
975 --enable-caret use wxCaret class
976 --enable-checkbox use wxCheckBox class
977 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
978 --enable-choice use wxChoice class
979 --enable-choicebook use wxChoicebook class
980 --enable-combobox use wxComboBox class
981 --enable-datepick use wxDatePickerCtrl class
982 --enable-display use wxDisplay class
983 --enable-gauge use wxGauge class
984 --enable-grid use wxGrid class
985 --enable-dataviewctrl, use wxDataViewCtrl class
986 --enable-imaglist use wxImageList class
987 --enable-listbook use wxListbook class
988 --enable-listbox use wxListBox class
989 --enable-listctrl use wxListCtrl class
990 --enable-notebook use wxNotebook class
991 --enable-radiobox use wxRadioBox class
992 --enable-radiobtn use wxRadioButton class
993 --enable-sash use wxSashWindow class
994 --enable-scrollbar use wxScrollBar class and scrollable windows
995 --enable-slider use wxSlider class
996 --enable-spinbtn use wxSpinButton class
997 --enable-spinctrl use wxSpinCtrl class
998 --enable-splitter use wxSplitterWindow class
999 --enable-statbmp use wxStaticBitmap class
1000 --enable-statbox use wxStaticBox class
1001 --enable-statline use wxStaticLine class
1002 --enable-stattext use wxStaticText class
1003 --enable-statusbar use wxStatusBar class
1004 --enable-tabdialog use wxTabControl class
1005 --enable-textctrl use wxTextCtrl class
1006 --enable-togglebtn use wxToggleButton class
1007 --enable-toolbar use wxToolBar class
1008 --enable-tbarnative use native wxToolBar class
1009 --enable-tbarsmpl use wxToolBarSimple class
1010 --enable-treebook use wxTreebook class
1011 --enable-toolbook use wxToolbook class
1012 --enable-treectrl use wxTreeCtrl class
1013 --enable-tipwindow use wxTipWindow class
1014 --enable-popupwin use wxPopUpWindow class
1015 --enable-commondlg use all common dialogs
1016 --enable-choicedlg use wxChoiceDialog
1017 --enable-coldlg use wxColourDialog
1018 --enable-filedlg use wxFileDialog
1019 --enable-finddlg use wxFindReplaceDialog
1020 --enable-fontdlg use wxFontDialog
1021 --enable-dirdlg use wxDirDialog
1022 --enable-msgdlg use wxMessageDialog
1023 --enable-numberdlg use wxNumberEntryDialog
1024 --enable-splash use wxSplashScreen
1025 --enable-textdlg use wxTextDialog
1026 --enable-tipdlg use startup tips
1027 --enable-progressdlg use wxProgressDialog
1028 --enable-wizarddlg use wxWizard
1029 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1030 --enable-miniframe use wxMiniFrame class
1031 --enable-tooltips use wxToolTip class
1032 --enable-splines use spline drawing code
1033 --enable-mousewheel use mousewheel
1034 --enable-validators use wxValidator and derived classes
1035 --enable-busyinfo use wxBusyInfo
1036 --enable-joystick use wxJoystick
1037 --enable-metafiles use wxMetaFile
(Win32 only
)
1038 --enable-dragimage use wxDragImage
1039 --enable-accessibility enable accessibility support
1040 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1041 --enable-palette use wxPalette class
1042 --enable-image use wxImage class
1043 --enable-gif use gif images
(GIF
file format
)
1044 --enable-pcx use pcx images
(PCX
file format
)
1045 --enable-iff use iff images
(IFF
file format
)
1046 --enable-pnm use pnm images
(PNM
file format
)
1047 --enable-xpm use xpm images
(XPM
file format
)
1048 --enable-icocur use Windows ICO and CUR formats
1049 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1050 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1051 --disable-largefile omit support
for large files
1052 --disable-gtktest do not try to compile and run a
test GTK
+ program
1053 --disable-gtktest Do not try to compile and run a
test GTK program
1054 --disable-sdltest Do not try to compile and run a
test SDL program
1055 --enable-omf use OMF object format
(OS
/2)
1056 --disable-precomp-headers
1057 don
't use precompiled headers even if compiler can
1060 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1061 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1062 --without-subdirs don't generate makefiles
for samples
/demos
/...
1063 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1064 --with-motif use Motif
/Lesstif
1065 --with-mac use Mac OS X
1066 --with-cocoa use Cocoa
1067 --with-wine use Wine
1068 --with-msw use MS
-Windows
1069 --with-pm use OS
/2 Presentation Manager
1070 --with-mgl use SciTech MGL
1071 --with-microwin use MicroWindows
1073 --with-libpng use libpng
(PNG image format
)
1074 --with-libjpeg use libjpeg
(JPEG
file format
)
1075 --with-libtiff use libtiff
(TIFF
file format
)
1076 --with-libxpm use libxpm
(XPM
file format
)
1077 --with-libmspack use libmspack
(CHM
help files loading
)
1078 --with-sdl use SDL
for audio on Unix
1079 --with-gnomeprint use GNOME print
for printing under Unix
1080 --with-hildon use Hildon framework
for Nokia
770
1081 --with-opengl use OpenGL
(or Mesa
)
1082 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1083 --with-regex enable support
for wxRegEx class
1084 --with-zlib use zlib
for LZW compression
1085 --with-odbc use the IODBC and wxODBC classes
1086 --with-expat enable XML support using expat parser
1087 --with-flavour=NAME specify a name to identify this build
1088 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1089 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1090 --with-x use the X Window System
1091 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1092 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1093 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1094 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1095 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1097 Some influential environment variables
:
1098 CC C compiler
command
1099 CFLAGS C compiler flags
1100 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1101 nonstandard directory
<lib dir
>
1102 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1103 headers
in a nonstandard directory
<include dir
>
1105 CXX C
++ compiler
command
1106 CXXFLAGS C
++ compiler flags
1107 CXXCPP C
++ preprocessor
1109 Use these variables to override the choices made by
`configure' or to help
1110 it to find libraries and programs with nonstandard names/locations.
1112 Report bugs to <wx-dev@lists.wxwidgets.org>.
1116 if test "$ac_init_help" = "recursive"; then
1117 # If there are subdirs, report their specific --help.
1119 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1120 test -d $ac_dir || continue
1123 if test "$ac_dir" != .; then
1124 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1125 # A "../" for each directory in $ac_dir_suffix.
1126 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1128 ac_dir_suffix= ac_top_builddir=
1132 .) # No --srcdir option. We are building in place.
1134 if test -z "$ac_top_builddir"; then
1137 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1139 [\\/]* | ?:[\\/]* ) # Absolute path.
1140 ac_srcdir=$srcdir$ac_dir_suffix;
1141 ac_top_srcdir=$srcdir ;;
1143 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1144 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1147 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1148 # the directories may not exist.
1150 .) ac_abs_builddir="$ac_dir";;
1153 .) ac_abs_builddir=`pwd`;;
1154 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1155 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1158 case $ac_abs_builddir in
1159 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1161 case ${ac_top_builddir}. in
1162 .) ac_abs_top_builddir=$ac_abs_builddir;;
1163 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1164 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1167 case $ac_abs_builddir in
1168 .) ac_abs_srcdir=$ac_srcdir;;
1171 .) ac_abs_srcdir=$ac_abs_builddir;;
1172 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1173 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1176 case $ac_abs_builddir in
1177 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1179 case $ac_top_srcdir in
1180 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1181 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1182 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1187 # Check for guested configure; otherwise get Cygnus style configure.
1188 if test -f $ac_srcdir/configure.gnu; then
1190 $SHELL $ac_srcdir/configure.gnu --help=recursive
1191 elif test -f $ac_srcdir/configure; then
1193 $SHELL $ac_srcdir/configure --help=recursive
1194 elif test -f $ac_srcdir/configure.ac ||
1195 test -f $ac_srcdir/configure.in; then
1197 $ac_configure --help
1199 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1205 test -n "$ac_init_help" && exit 0
1206 if $ac_init_version; then
1208 wxWidgets configure 2.7.0
1209 generated by GNU Autoconf 2.59
1211 Copyright (C) 2003 Free Software Foundation, Inc.
1212 This configure script is free software; the Free Software Foundation
1213 gives unlimited permission to copy, distribute and modify it.
1219 This file contains any messages produced by compilers while
1220 running configure, to aid debugging if configure makes a mistake.
1222 It was created by wxWidgets $as_me 2.7.0, which was
1223 generated by GNU Autoconf 2.59. Invocation command line was
1234 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1235 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1236 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1237 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1238 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1240 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1241 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1243 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1244 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1245 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1246 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1247 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1248 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1249 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1257 test -z "$as_dir" && as_dir=.
1258 echo "PATH: $as_dir"
1273 # Keep a trace of the command line.
1274 # Strip out --no-create and --no-recursion so they do not pile up.
1275 # Strip out --silent because we don't want to record it for future runs.
1276 # Also quote any args containing shell meta-characters.
1277 # Make two passes to allow for proper duplicate-argument suppression.
1282 ac_must_keep_next=false
1288 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1289 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1290 | -silent | --silent | --silen | --sile | --sil)
1292 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1293 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1296 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1298 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1299 if test $ac_must_keep_next = true; then
1300 ac_must_keep_next=false # Got value, back to normal.
1303 *=* | --config-cache | -C | -disable-* | --disable-* \
1304 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1305 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1306 | -with-* | --with-* | -without-* | --without-* | --x)
1307 case "$ac_configure_args0 " in
1308 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1311 -* ) ac_must_keep_next=true ;;
1314 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1315 # Get rid of the leading space.
1321 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1322 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1324 # When interrupted or exit'd, cleanup temporary files, and complete
1325 # config.log. We remove comments because anyway the quotes in there
1326 # would cause problems or look ugly.
1327 # WARNING: Be sure not to use single quotes in there, as some shells,
1328 # such as our DU 5.0 friend, will then `close
' the trap.
1329 trap 'exit_status
=$?
1330 # Save into config.log some information that might help in debugging.
1335 ## ---------------- ##
1336 ## Cache variables. ##
1337 ## ---------------- ##
1340 # The following way of writing the cache mishandles newlines in values,
1343 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1346 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1347 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1351 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1358 ## ----------------- ##
1359 ## Output variables. ##
1360 ## ----------------- ##
1363 for ac_var
in $ac_subst_vars
1365 eval ac_val
=$
`echo $ac_var`
1366 echo "$ac_var='"'"'$ac_val'"'"'"
1370 if test -n "$ac_subst_files"; then
1377 for ac_var
in $ac_subst_files
1379 eval ac_val
=$
`echo $ac_var`
1380 echo "$ac_var='"'"'$ac_val'"'"'"
1385 if test -s confdefs.h
; then
1392 sed "/^$/d" confdefs.h
| sort
1395 test "$ac_signal" != 0 &&
1396 echo "$as_me: caught signal $ac_signal"
1397 echo "$as_me: exit $exit_status"
1399 rm -f core
*.core
&&
1400 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1403 for ac_signal in 1 2 13 15; do
1404 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1408 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1409 rm -rf conftest* confdefs.h
1410 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1413 # Predefined preprocessor variables.
1415 cat >>confdefs.h <<_ACEOF
1416 #define PACKAGE_NAME "$PACKAGE_NAME"
1420 cat >>confdefs.h <<_ACEOF
1421 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1425 cat >>confdefs.h <<_ACEOF
1426 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1430 cat >>confdefs.h <<_ACEOF
1431 #define PACKAGE_STRING "$PACKAGE_STRING"
1435 cat >>confdefs.h <<_ACEOF
1436 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1440 # Let the site file select an alternate cache file if it wants to.
1441 # Prefer explicitly selected file to automatically selected ones.
1442 if test -z "$CONFIG_SITE"; then
1443 if test "x$prefix" != xNONE; then
1444 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1446 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1449 for ac_site_file in $CONFIG_SITE; do
1450 if test -r "$ac_site_file"; then
1451 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1452 echo "$as_me: loading site script $ac_site_file" >&6;}
1453 sed 's
/^
/| /' "$ac_site_file" >&5
1458 if test -r "$cache_file"; then
1459 # Some versions of bash will fail to source /dev/null (special
1460 # files actually), so we avoid doing that.
1461 if test -f "$cache_file"; then
1462 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1463 echo "$as_me: loading cache $cache_file" >&6;}
1465 [\\/]* | ?:[\\/]* ) . $cache_file;;
1466 *) . ./$cache_file;;
1470 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1471 echo "$as_me: creating cache $cache_file" >&6;}
1475 # Check that the precious variables saved in the cache have kept the same
1477 ac_cache_corrupted=false
1478 for ac_var in `(set) 2>&1 |
1479 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1480 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1481 eval ac_new_set=\$ac_env_${ac_var}_set
1482 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1483 eval ac_new_val="\$ac_env_${ac_var}_value"
1484 case $ac_old_set,$ac_new_set in
1486 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1487 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1488 ac_cache_corrupted=: ;;
1490 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1491 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1492 ac_cache_corrupted=: ;;
1495 if test "x$ac_old_val" != "x$ac_new_val"; then
1496 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1497 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1498 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1499 echo "$as_me: former value: $ac_old_val" >&2;}
1500 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1501 echo "$as_me: current value: $ac_new_val" >&2;}
1502 ac_cache_corrupted=:
1505 # Pass precious variables to config.status.
1506 if test "$ac_new_set" = set; then
1508 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1509 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1510 *) ac_arg=$ac_var=$ac_new_val ;;
1512 case " $ac_configure_args " in
1513 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1514 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1518 if $ac_cache_corrupted; then
1519 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1520 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1521 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1522 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1523 { (exit 1); exit 1; }; }
1527 ac_cpp='$CPP $CPPFLAGS'
1528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1529 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1562 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1563 if test -f $ac_dir/install-sh; then
1565 ac_install_sh="$ac_aux_dir/install-sh -c"
1567 elif test -f $ac_dir/install.sh; then
1569 ac_install_sh="$ac_aux_dir/install.sh -c"
1571 elif test -f $ac_dir/shtool; then
1573 ac_install_sh="$ac_aux_dir/shtool install -c"
1577 if test -z "$ac_aux_dir"; then
1578 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1579 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1580 { (exit 1); exit 1; }; }
1582 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1583 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1584 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1586 # Make sure we can run config.sub.
1587 $ac_config_sub sun4 >/dev/null 2>&1 ||
1588 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1589 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1590 { (exit 1); exit 1; }; }
1592 echo "$as_me:$LINENO: checking build system type" >&5
1593 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1594 if test "${ac_cv_build+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 ac_cv_build_alias=$build_alias
1598 test -z "$ac_cv_build_alias" &&
1599 ac_cv_build_alias=`$ac_config_guess`
1600 test -z "$ac_cv_build_alias" &&
1601 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1602 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1603 { (exit 1); exit 1; }; }
1604 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1605 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1606 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1607 { (exit 1); exit 1; }; }
1610 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1611 echo "${ECHO_T}$ac_cv_build" >&6
1613 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1614 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1615 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1618 echo "$as_me:$LINENO: checking host system type" >&5
1619 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1620 if test "${ac_cv_host+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 ac_cv_host_alias=$host_alias
1624 test -z "$ac_cv_host_alias" &&
1625 ac_cv_host_alias=$ac_cv_build_alias
1626 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1627 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1628 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1629 { (exit 1); exit 1; }; }
1632 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1633 echo "${ECHO_T}$ac_cv_host" >&6
1635 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1636 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1637 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1640 echo "$as_me:$LINENO: checking target system type" >&5
1641 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1642 if test "${ac_cv_target+set}" = set; then
1643 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 ac_cv_target_alias=$target_alias
1646 test "x$ac_cv_target_alias" = "x" &&
1647 ac_cv_target_alias=$ac_cv_host_alias
1648 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1649 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1650 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1651 { (exit 1); exit 1; }; }
1654 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1655 echo "${ECHO_T}$ac_cv_target" >&6
1656 target=$ac_cv_target
1657 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1658 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1659 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1662 # The aliases save the names the user supplied, while $host etc.
1663 # will get canonicalized.
1664 test -n "$target_alias" &&
1665 test "$program_prefix$program_suffix$program_transform_name" = \
1667 program_prefix=${target_alias}-
1671 wx_major_version_number=2
1672 wx_minor_version_number=7
1674 wx_subrelease_number=0
1676 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1677 WX_VERSION=$WX_RELEASE.$wx_release_number
1678 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1680 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1693 USE_BSD= USE_DARWIN= USE_FREEBSD=
1699 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1705 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1707 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1709 DEFAULT_wxUSE_COCOA=0
1713 DEFAULT_wxUSE_MICROWIN=0
1714 DEFAULT_wxUSE_MOTIF=0
1719 DEFAULT_DEFAULT_wxUSE_COCOA=0
1720 DEFAULT_DEFAULT_wxUSE_GTK=0
1721 DEFAULT_DEFAULT_wxUSE_MAC=0
1722 DEFAULT_DEFAULT_wxUSE_MGL=0
1723 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1724 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1725 DEFAULT_DEFAULT_wxUSE_MSW=0
1726 DEFAULT_DEFAULT_wxUSE_PM=0
1727 DEFAULT_DEFAULT_wxUSE_X11=0
1732 SAMPLES_RPATH_POSTLINK=
1734 DEFAULT_STD_FLAG=yes
1739 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1740 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1742 cat >>confdefs.h <<\_ACEOF
1747 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1751 cat >>confdefs.h <<\_ACEOF
1756 if test "x$TMP" = "xalpha"; then
1758 cat >>confdefs.h <<\_ACEOF
1763 DEFAULT_DEFAULT_wxUSE_GTK=1
1765 *-*-gnu* | *-*-k*bsd*-gnu )
1768 if test "x$TMP" = "xalpha"; then
1770 cat >>confdefs.h <<\_ACEOF
1775 DEFAULT_DEFAULT_wxUSE_GTK=1
1777 *-*-irix5* | *-*-irix6* )
1780 cat >>confdefs.h <<\_ACEOF
1784 cat >>confdefs.h <<\_ACEOF
1788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1794 cat >>confdefs.h <<\_ACEOF
1798 cat >>confdefs.h <<\_ACEOF
1799 #define __SOLARIS__ 1
1802 cat >>confdefs.h <<\_ACEOF
1806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1807 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1813 cat >>confdefs.h <<\_ACEOF
1817 cat >>confdefs.h <<\_ACEOF
1821 cat >>confdefs.h <<\_ACEOF
1825 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __FREEBSD__ 1
1834 cat >>confdefs.h <<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_GTK=1
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __OPENBSD__ 1
1847 cat >>confdefs.h <<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_GTK=1
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __NETBSD__ 1
1860 cat >>confdefs.h <<\_ACEOF
1864 DEFAULT_DEFAULT_wxUSE_GTK=1
1865 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1867 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1872 cat >>confdefs.h <<\_ACEOF
1876 cat >>confdefs.h <<\_ACEOF
1880 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1881 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1886 cat >>confdefs.h <<\_ACEOF
1890 cat >>confdefs.h <<\_ACEOF
1894 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1899 cat >>confdefs.h <<\_ACEOF
1903 cat >>confdefs.h <<\_ACEOF
1907 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1914 cat >>confdefs.h <<\_ACEOF
1918 cat >>confdefs.h <<\_ACEOF
1922 cat >>confdefs.h <<\_ACEOF
1926 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1933 cat >>confdefs.h <<\_ACEOF
1934 #define __UNIXWARE__ 1
1939 *-*-cygwin* | *-*-mingw32* )
1942 DEFAULT_DEFAULT_wxUSE_MSW=1
1949 cat >>confdefs.h <<\_ACEOF
1954 DEFAULT_DEFAULT_wxUSE_MGL=1
1957 *-pc-os2_emx | *-pc-os2-emx )
1958 cat >>confdefs.h <<\_ACEOF
1963 cat >>confdefs.h <<\_ACEOF
1968 DEFAULT_DEFAULT_wxUSE_PM=1
1970 LDFLAGS="$LDFLAGS -Zcrtdll"
1971 ac_executable_extensions=".exe"
1972 export ac_executable_extensions
1976 for ac_dir in $PATH; do
1978 if test -z "$ac_TEMP_PATH"; then
1979 ac_TEMP_PATH="$ac_dir"
1981 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1984 export PATH="$ac_TEMP_PATH"
1993 cat >>confdefs.h <<\_ACEOF
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __DARWIN__ 1
2001 cat >>confdefs.h <<\_ACEOF
2002 #define TARGET_CARBON 1
2005 DEFAULT_DEFAULT_wxUSE_MAC=1
2008 powerpc-apple-macos* )
2010 ac_cv_c_bigendian=yes
2012 DEFAULT_DEFAULT_wxUSE_MAC=1
2018 cat >>confdefs.h <<\_ACEOF
2025 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2026 echo "$as_me: error: unknown system type ${host}." >&2;}
2027 { (exit 1); exit 1; }; }
2033 wx_arg_cache_file="configarg.cache"
2034 echo "loading argument cache $wx_arg_cache_file"
2035 rm -f ${wx_arg_cache_file}.tmp
2036 touch ${wx_arg_cache_file}.tmp
2037 touch ${wx_arg_cache_file}
2041 if test $DEBUG_CONFIGURE = 1; then
2042 DEFAULT_wxUSE_UNIVERSAL=no
2043 DEFAULT_wxUSE_STL=no
2045 DEFAULT_wxUSE_NANOX=no
2047 DEFAULT_wxUSE_THREADS=yes
2049 DEFAULT_wxUSE_SHARED=yes
2050 DEFAULT_wxUSE_OPTIMISE=no
2051 DEFAULT_wxUSE_PROFILE=no
2052 DEFAULT_wxUSE_NO_DEPS=no
2053 DEFAULT_wxUSE_NO_RTTI=no
2054 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2055 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2056 DEFAULT_wxUSE_RPATH=yes
2057 DEFAULT_wxUSE_PERMISSIVE=no
2058 DEFAULT_wxUSE_DEBUG_FLAG=yes
2059 DEFAULT_wxUSE_DEBUG_INFO=yes
2060 DEFAULT_wxUSE_DEBUG_GDB=yes
2061 DEFAULT_wxUSE_MEM_TRACING=no
2062 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2063 DEFAULT_wxUSE_DMALLOC=no
2064 DEFAULT_wxUSE_APPLE_IEEE=no
2066 DEFAULT_wxUSE_EXCEPTIONS=no
2067 DEFAULT_wxUSE_LOG=yes
2068 DEFAULT_wxUSE_LOGWINDOW=no
2069 DEFAULT_wxUSE_LOGGUI=no
2070 DEFAULT_wxUSE_LOGDIALOG=no
2072 DEFAULT_wxUSE_GUI=yes
2073 DEFAULT_wxUSE_CONTROLS=no
2075 DEFAULT_wxUSE_REGEX=no
2076 DEFAULT_wxUSE_XML=no
2077 DEFAULT_wxUSE_EXPAT=no
2078 DEFAULT_wxUSE_ZLIB=no
2079 DEFAULT_wxUSE_LIBPNG=no
2080 DEFAULT_wxUSE_LIBJPEG=no
2081 DEFAULT_wxUSE_LIBTIFF=no
2082 DEFAULT_wxUSE_LIBXPM=no
2083 DEFAULT_wxUSE_LIBMSPACK=no
2084 DEFAULT_wxUSE_LIBSDL=no
2085 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2086 DEFAULT_wxUSE_LIBHILDON=no
2087 DEFAULT_wxUSE_ODBC=no
2088 DEFAULT_wxUSE_OPENGL=no
2090 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2091 DEFAULT_wxUSE_STACKWALKER=no
2092 DEFAULT_wxUSE_DEBUGREPORT=no
2093 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2094 DEFAULT_wxUSE_STD_IOSTREAM=no
2095 DEFAULT_wxUSE_STD_STRING=no
2096 DEFAULT_wxUSE_CMDLINE_PARSER=no
2097 DEFAULT_wxUSE_DATETIME=no
2098 DEFAULT_wxUSE_TIMER=no
2099 DEFAULT_wxUSE_STOPWATCH=no
2100 DEFAULT_wxUSE_FILE=no
2101 DEFAULT_wxUSE_FFILE=no
2102 DEFAULT_wxUSE_STDPATHS=no
2103 DEFAULT_wxUSE_TEXTBUFFER=no
2104 DEFAULT_wxUSE_TEXTFILE=no
2105 DEFAULT_wxUSE_SOUND=no
2106 DEFAULT_wxUSE_MEDIACTRL=no
2107 DEFAULT_wxUSE_INTL=no
2108 DEFAULT_wxUSE_CONFIG=no
2109 DEFAULT_wxUSE_FONTMAP=no
2110 DEFAULT_wxUSE_STREAMS=no
2111 DEFAULT_wxUSE_SOCKETS=no
2112 DEFAULT_wxUSE_OLE=no
2113 DEFAULT_wxUSE_DATAOBJ=no
2114 DEFAULT_wxUSE_DIALUP_MANAGER=no
2115 DEFAULT_wxUSE_JOYSTICK=no
2116 DEFAULT_wxUSE_DYNLIB_CLASS=no
2117 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2118 DEFAULT_wxUSE_LONGLONG=no
2119 DEFAULT_wxUSE_GEOMETRY=no
2121 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2122 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2123 DEFAULT_wxUSE_POSTSCRIPT=no
2125 DEFAULT_wxUSE_CLIPBOARD=no
2126 DEFAULT_wxUSE_TOOLTIPS=no
2127 DEFAULT_wxUSE_DRAG_AND_DROP=no
2128 DEFAULT_wxUSE_DRAGIMAGE=no
2129 DEFAULT_wxUSE_SPLINES=no
2130 DEFAULT_wxUSE_MOUSEWHEEL=no
2132 DEFAULT_wxUSE_MDI=no
2133 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2134 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2135 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2137 DEFAULT_wxUSE_RESOURCES=no
2138 DEFAULT_wxUSE_CONSTRAINTS=no
2139 DEFAULT_wxUSE_IPC=no
2140 DEFAULT_wxUSE_HELP=no
2141 DEFAULT_wxUSE_MS_HTML_HELP=no
2142 DEFAULT_wxUSE_WXHTML_HELP=no
2143 DEFAULT_wxUSE_TREELAYOUT=no
2144 DEFAULT_wxUSE_METAFILE=no
2145 DEFAULT_wxUSE_MIMETYPE=no
2146 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2147 DEFAULT_wxUSE_PROTOCOL=no
2148 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2149 DEFAULT_wxUSE_PROTOCOL_FTP=no
2150 DEFAULT_wxUSE_PROTOCOL_FILE=no
2151 DEFAULT_wxUSE_URL=no
2153 DEFAULT_wxUSE_COMMONDLGS=no
2154 DEFAULT_wxUSE_CHOICEDLG=no
2155 DEFAULT_wxUSE_COLOURDLG=no
2156 DEFAULT_wxUSE_DIRDLG=no
2157 DEFAULT_wxUSE_FILEDLG=no
2158 DEFAULT_wxUSE_FINDREPLDLG=no
2159 DEFAULT_wxUSE_FONTDLG=no
2160 DEFAULT_wxUSE_MSGDLG=no
2161 DEFAULT_wxUSE_NUMBERDLG=no
2162 DEFAULT_wxUSE_TEXTDLG=no
2163 DEFAULT_wxUSE_SPLASH=no
2164 DEFAULT_wxUSE_STARTUP_TIPS=no
2165 DEFAULT_wxUSE_PROGRESSDLG=no
2166 DEFAULT_wxUSE_WIZARDDLG=no
2168 DEFAULT_wxUSE_MENUS=no
2169 DEFAULT_wxUSE_MINIFRAME=no
2170 DEFAULT_wxUSE_HTML=no
2171 DEFAULT_wxUSE_RICHTEXT=no
2172 DEFAULT_wxUSE_XRC=no
2173 DEFAULT_wxUSE_WEBKIT=no
2174 DEFAULT_wxUSE_FILESYSTEM=no
2175 DEFAULT_wxUSE_FS_INET=no
2176 DEFAULT_wxUSE_FS_ZIP=no
2177 DEFAULT_wxUSE_BUSYINFO=no
2178 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2179 DEFAULT_wxUSE_ZIPSTREAM=no
2180 DEFAULT_wxUSE_VALIDATORS=no
2182 DEFAULT_wxUSE_ACCEL=no
2183 DEFAULT_wxUSE_BUTTON=no
2184 DEFAULT_wxUSE_BMPBUTTON=no
2185 DEFAULT_wxUSE_CALCTRL=no
2186 DEFAULT_wxUSE_CARET=no
2187 DEFAULT_wxUSE_CHECKBOX=no
2188 DEFAULT_wxUSE_CHECKLST=no
2189 DEFAULT_wxUSE_CHOICE=no
2190 DEFAULT_wxUSE_CHOICEBOOK=no
2191 DEFAULT_wxUSE_COMBOBOX=no
2192 DEFAULT_wxUSE_DATEPICKCTRL=no
2193 DEFAULT_wxUSE_DISPLAY=no
2194 DEFAULT_wxUSE_GAUGE=no
2195 DEFAULT_wxUSE_GRID=no
2196 DEFAULT_wxUSE_DATAVIEWCTRL=no
2197 DEFAULT_wxUSE_IMAGLIST=no
2198 DEFAULT_wxUSE_LISTBOOK=no
2199 DEFAULT_wxUSE_LISTBOX=no
2200 DEFAULT_wxUSE_LISTCTRL=no
2201 DEFAULT_wxUSE_NOTEBOOK=no
2202 DEFAULT_wxUSE_RADIOBOX=no
2203 DEFAULT_wxUSE_RADIOBTN=no
2204 DEFAULT_wxUSE_SASH=no
2205 DEFAULT_wxUSE_SCROLLBAR=no
2206 DEFAULT_wxUSE_SLIDER=no
2207 DEFAULT_wxUSE_SPINBTN=no
2208 DEFAULT_wxUSE_SPINCTRL=no
2209 DEFAULT_wxUSE_SPLITTER=no
2210 DEFAULT_wxUSE_STATBMP=no
2211 DEFAULT_wxUSE_STATBOX=no
2212 DEFAULT_wxUSE_STATLINE=no
2213 DEFAULT_wxUSE_STATTEXT=no
2214 DEFAULT_wxUSE_STATUSBAR=yes
2215 DEFAULT_wxUSE_TABDIALOG=no
2216 DEFAULT_wxUSE_TEXTCTRL=no
2217 DEFAULT_wxUSE_TOGGLEBTN=no
2218 DEFAULT_wxUSE_TOOLBAR=no
2219 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2220 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2221 DEFAULT_wxUSE_TREEBOOK=no
2222 DEFAULT_wxUSE_TOOLBOOK=no
2223 DEFAULT_wxUSE_TREECTRL=no
2224 DEFAULT_wxUSE_POPUPWIN=no
2225 DEFAULT_wxUSE_TIPWINDOW=no
2227 DEFAULT_wxUSE_UNICODE=no
2228 DEFAULT_wxUSE_UNICODE_MSLU=no
2229 DEFAULT_wxUSE_WCSRTOMBS=no
2231 DEFAULT_wxUSE_PALETTE=no
2232 DEFAULT_wxUSE_IMAGE=no
2233 DEFAULT_wxUSE_GIF=no
2234 DEFAULT_wxUSE_PCX=no
2235 DEFAULT_wxUSE_PNM=no
2236 DEFAULT_wxUSE_IFF=no
2237 DEFAULT_wxUSE_XPM=no
2238 DEFAULT_wxUSE_ICO_CUR=no
2239 DEFAULT_wxUSE_ACCESSIBILITY=no
2241 DEFAULT_wxUSE_MONOLITHIC=no
2242 DEFAULT_wxUSE_PLUGINS=no
2243 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2245 DEFAULT_wxUSE_UNIVERSAL=no
2246 DEFAULT_wxUSE_STL=no
2248 DEFAULT_wxUSE_NANOX=no
2250 DEFAULT_wxUSE_THREADS=yes
2252 DEFAULT_wxUSE_SHARED=yes
2253 DEFAULT_wxUSE_OPTIMISE=yes
2254 DEFAULT_wxUSE_PROFILE=no
2255 DEFAULT_wxUSE_NO_DEPS=no
2256 DEFAULT_wxUSE_NO_RTTI=no
2257 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2258 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2259 DEFAULT_wxUSE_RPATH=yes
2260 DEFAULT_wxUSE_PERMISSIVE=no
2261 DEFAULT_wxUSE_DEBUG_FLAG=no
2262 DEFAULT_wxUSE_DEBUG_INFO=no
2263 DEFAULT_wxUSE_DEBUG_GDB=no
2264 DEFAULT_wxUSE_MEM_TRACING=no
2265 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2266 DEFAULT_wxUSE_DMALLOC=no
2267 DEFAULT_wxUSE_APPLE_IEEE=yes
2269 DEFAULT_wxUSE_EXCEPTIONS=yes
2270 DEFAULT_wxUSE_LOG=yes
2271 DEFAULT_wxUSE_LOGWINDOW=yes
2272 DEFAULT_wxUSE_LOGGUI=yes
2273 DEFAULT_wxUSE_LOGDIALOG=yes
2275 DEFAULT_wxUSE_GUI=yes
2277 DEFAULT_wxUSE_REGEX=yes
2278 DEFAULT_wxUSE_XML=yes
2279 DEFAULT_wxUSE_EXPAT=yes
2280 DEFAULT_wxUSE_ZLIB=yes
2281 DEFAULT_wxUSE_LIBPNG=yes
2282 DEFAULT_wxUSE_LIBJPEG=yes
2283 DEFAULT_wxUSE_LIBTIFF=yes
2284 DEFAULT_wxUSE_LIBXPM=yes
2285 DEFAULT_wxUSE_LIBMSPACK=yes
2286 DEFAULT_wxUSE_LIBSDL=no
2287 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2288 DEFAULT_wxUSE_LIBHILDON=no
2289 DEFAULT_wxUSE_ODBC=no
2290 DEFAULT_wxUSE_OPENGL=no
2292 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2293 DEFAULT_wxUSE_STACKWALKER=yes
2294 DEFAULT_wxUSE_DEBUGREPORT=yes
2295 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2296 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2297 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2298 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2299 DEFAULT_wxUSE_DATETIME=yes
2300 DEFAULT_wxUSE_TIMER=yes
2301 DEFAULT_wxUSE_STOPWATCH=yes
2302 DEFAULT_wxUSE_FILE=yes
2303 DEFAULT_wxUSE_FFILE=yes
2304 DEFAULT_wxUSE_STDPATHS=yes
2305 DEFAULT_wxUSE_TEXTBUFFER=yes
2306 DEFAULT_wxUSE_TEXTFILE=yes
2307 DEFAULT_wxUSE_SOUND=yes
2308 DEFAULT_wxUSE_MEDIACTRL=no
2309 DEFAULT_wxUSE_INTL=yes
2310 DEFAULT_wxUSE_CONFIG=yes
2311 DEFAULT_wxUSE_FONTMAP=yes
2312 DEFAULT_wxUSE_STREAMS=yes
2313 DEFAULT_wxUSE_SOCKETS=yes
2314 DEFAULT_wxUSE_OLE=yes
2315 DEFAULT_wxUSE_DATAOBJ=yes
2316 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2317 DEFAULT_wxUSE_JOYSTICK=yes
2318 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2319 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2320 DEFAULT_wxUSE_LONGLONG=yes
2321 DEFAULT_wxUSE_GEOMETRY=yes
2323 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2324 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2325 DEFAULT_wxUSE_POSTSCRIPT=yes
2327 DEFAULT_wxUSE_CLIPBOARD=yes
2328 DEFAULT_wxUSE_TOOLTIPS=yes
2329 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2330 DEFAULT_wxUSE_DRAGIMAGE=yes
2331 DEFAULT_wxUSE_SPLINES=yes
2332 DEFAULT_wxUSE_MOUSEWHEEL=yes
2334 DEFAULT_wxUSE_MDI=yes
2335 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2336 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2337 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2339 DEFAULT_wxUSE_RESOURCES=no
2340 DEFAULT_wxUSE_CONSTRAINTS=yes
2341 DEFAULT_wxUSE_IPC=yes
2342 DEFAULT_wxUSE_HELP=yes
2343 DEFAULT_wxUSE_MS_HTML_HELP=yes
2344 DEFAULT_wxUSE_WXHTML_HELP=yes
2345 DEFAULT_wxUSE_TREELAYOUT=yes
2346 DEFAULT_wxUSE_METAFILE=yes
2347 DEFAULT_wxUSE_MIMETYPE=yes
2348 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2349 DEFAULT_wxUSE_PROTOCOL=yes
2350 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2351 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2352 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2353 DEFAULT_wxUSE_URL=yes
2355 DEFAULT_wxUSE_COMMONDLGS=yes
2356 DEFAULT_wxUSE_CHOICEDLG=yes
2357 DEFAULT_wxUSE_COLOURDLG=yes
2358 DEFAULT_wxUSE_DIRDLG=yes
2359 DEFAULT_wxUSE_FILEDLG=yes
2360 DEFAULT_wxUSE_FINDREPLDLG=yes
2361 DEFAULT_wxUSE_FONTDLG=yes
2362 DEFAULT_wxUSE_MSGDLG=yes
2363 DEFAULT_wxUSE_NUMBERDLG=yes
2364 DEFAULT_wxUSE_TEXTDLG=yes
2365 DEFAULT_wxUSE_SPLASH=yes
2366 DEFAULT_wxUSE_STARTUP_TIPS=yes
2367 DEFAULT_wxUSE_PROGRESSDLG=yes
2368 DEFAULT_wxUSE_WIZARDDLG=yes
2370 DEFAULT_wxUSE_MENUS=yes
2371 DEFAULT_wxUSE_MINIFRAME=yes
2372 DEFAULT_wxUSE_HTML=yes
2373 DEFAULT_wxUSE_RICHTEXT=yes
2374 DEFAULT_wxUSE_XRC=yes
2375 DEFAULT_wxUSE_WEBKIT=yes
2376 DEFAULT_wxUSE_FILESYSTEM=yes
2377 DEFAULT_wxUSE_FS_INET=yes
2378 DEFAULT_wxUSE_FS_ZIP=yes
2379 DEFAULT_wxUSE_BUSYINFO=yes
2380 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2381 DEFAULT_wxUSE_ZIPSTREAM=yes
2382 DEFAULT_wxUSE_VALIDATORS=yes
2384 DEFAULT_wxUSE_ACCEL=yes
2385 DEFAULT_wxUSE_BUTTON=yes
2386 DEFAULT_wxUSE_BMPBUTTON=yes
2387 DEFAULT_wxUSE_CALCTRL=yes
2388 DEFAULT_wxUSE_CARET=yes
2389 DEFAULT_wxUSE_CHECKBOX=yes
2390 DEFAULT_wxUSE_CHECKLST=yes
2391 DEFAULT_wxUSE_CHOICE=yes
2392 DEFAULT_wxUSE_CHOICEBOOK=yes
2393 DEFAULT_wxUSE_COMBOBOX=yes
2394 DEFAULT_wxUSE_DATEPICKCTRL=yes
2395 DEFAULT_wxUSE_DISPLAY=yes
2396 DEFAULT_wxUSE_GAUGE=yes
2397 DEFAULT_wxUSE_GRID=yes
2398 DEFAULT_wxUSE_DATAVIEWCTRL=no
2399 DEFAULT_wxUSE_IMAGLIST=yes
2400 DEFAULT_wxUSE_LISTBOOK=yes
2401 DEFAULT_wxUSE_LISTBOX=yes
2402 DEFAULT_wxUSE_LISTCTRL=yes
2403 DEFAULT_wxUSE_NOTEBOOK=yes
2404 DEFAULT_wxUSE_RADIOBOX=yes
2405 DEFAULT_wxUSE_RADIOBTN=yes
2406 DEFAULT_wxUSE_SASH=yes
2407 DEFAULT_wxUSE_SCROLLBAR=yes
2408 DEFAULT_wxUSE_SLIDER=yes
2409 DEFAULT_wxUSE_SPINBTN=yes
2410 DEFAULT_wxUSE_SPINCTRL=yes
2411 DEFAULT_wxUSE_SPLITTER=yes
2412 DEFAULT_wxUSE_STATBMP=yes
2413 DEFAULT_wxUSE_STATBOX=yes
2414 DEFAULT_wxUSE_STATLINE=yes
2415 DEFAULT_wxUSE_STATTEXT=yes
2416 DEFAULT_wxUSE_STATUSBAR=yes
2417 DEFAULT_wxUSE_TABDIALOG=no
2418 DEFAULT_wxUSE_TEXTCTRL=yes
2419 DEFAULT_wxUSE_TOGGLEBTN=yes
2420 DEFAULT_wxUSE_TOOLBAR=yes
2421 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2422 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2423 DEFAULT_wxUSE_TREEBOOK=yes
2424 DEFAULT_wxUSE_TOOLBOOK=yes
2425 DEFAULT_wxUSE_TREECTRL=yes
2426 DEFAULT_wxUSE_POPUPWIN=yes
2427 DEFAULT_wxUSE_TIPWINDOW=yes
2429 DEFAULT_wxUSE_UNICODE=no
2430 DEFAULT_wxUSE_UNICODE_MSLU=yes
2431 DEFAULT_wxUSE_WCSRTOMBS=no
2433 DEFAULT_wxUSE_PALETTE=yes
2434 DEFAULT_wxUSE_IMAGE=yes
2435 DEFAULT_wxUSE_GIF=yes
2436 DEFAULT_wxUSE_PCX=yes
2437 DEFAULT_wxUSE_IFF=no
2438 DEFAULT_wxUSE_PNM=yes
2439 DEFAULT_wxUSE_XPM=yes
2440 DEFAULT_wxUSE_ICO_CUR=yes
2441 DEFAULT_wxUSE_ACCESSIBILITY=no
2443 DEFAULT_wxUSE_MONOLITHIC=no
2444 DEFAULT_wxUSE_PLUGINS=no
2445 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2447 DEFAULT_wxUSE_GTK2=yes
2453 for toolkit in `echo $ALL_TOOLKITS`; do
2454 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2455 if test "x$LINE" != "x" ; then
2456 has_toolkit_in_cache=1
2457 eval "DEFAULT_$LINE"
2458 eval "CACHE_$toolkit=1"
2460 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2461 if test "x$LINE" != "x" ; then
2462 eval "DEFAULT_$LINE"
2470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2471 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2473 # Check whether --enable-gui or --disable-gui was given.
2474 if test "${enable_gui+set}" = set; then
2475 enableval="$enable_gui"
2477 if test "$enableval" = yes; then
2478 ac_cv_use_gui='wxUSE_GUI
=yes'
2480 ac_cv_use_gui='wxUSE_GUI
=no
'
2485 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2486 if test "x$LINE" != x ; then
2487 eval "DEFAULT_$LINE"
2492 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2496 eval "$ac_cv_use_gui"
2497 if test "$no_cache" != 1; then
2498 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2501 if test "$wxUSE_GUI" = yes; then
2502 echo "$as_me:$LINENO: result: yes" >&5
2503 echo "${ECHO_T}yes" >&6
2505 echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6
2511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2512 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2514 # Check whether --enable-monolithic or --disable-monolithic was given.
2515 if test "${enable_monolithic+set}" = set; then
2516 enableval="$enable_monolithic"
2518 if test "$enableval" = yes; then
2519 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2521 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2526 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2527 if test "x$LINE" != x ; then
2528 eval "DEFAULT_$LINE"
2533 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2537 eval "$ac_cv_use_monolithic"
2538 if test "$no_cache" != 1; then
2539 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2542 if test "$wxUSE_MONOLITHIC" = yes; then
2543 echo "$as_me:$LINENO: result: yes" >&5
2544 echo "${ECHO_T}yes" >&6
2546 echo "$as_me:$LINENO: result: no" >&5
2547 echo "${ECHO_T}no" >&6
2552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2553 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2555 # Check whether --enable-plugins or --disable-plugins was given.
2556 if test "${enable_plugins+set}" = set; then
2557 enableval="$enable_plugins"
2559 if test "$enableval" = yes; then
2560 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2562 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2567 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2568 if test "x$LINE" != x ; then
2569 eval "DEFAULT_$LINE"
2574 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2578 eval "$ac_cv_use_plugins"
2579 if test "$no_cache" != 1; then
2580 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2583 if test "$wxUSE_PLUGINS" = yes; then
2584 echo "$as_me:$LINENO: result: yes" >&5
2585 echo "${ECHO_T}yes" >&6
2587 echo "$as_me:$LINENO: result: no" >&5
2588 echo "${ECHO_T}no" >&6
2593 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2594 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2597 # Check whether --with-subdirs or --without-subdirs was given.
2598 if test "${with_subdirs+set}" = set; then
2599 withval="$with_subdirs"
2601 if test "$withval" = yes; then
2602 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2604 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2609 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2610 if test "x$LINE" != x ; then
2611 eval "DEFAULT_$LINE"
2616 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2620 eval "$ac_cv_use_subdirs"
2621 if test "$no_cache" != 1; then
2622 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2625 if test "$wxWITH_SUBDIRS" = yes; then
2626 echo "$as_me:$LINENO: result: yes" >&5
2627 echo "${ECHO_T}yes" >&6
2629 echo "$as_me:$LINENO: result: no" >&5
2630 echo "${ECHO_T}no" >&6
2634 if test "$wxUSE_GUI" = "yes"; then
2638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2639 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2641 # Check whether --enable-universal or --disable-universal was given.
2642 if test "${enable_universal+set}" = set; then
2643 enableval="$enable_universal"
2645 if test "$enableval" = yes; then
2646 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2648 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2653 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2654 if test "x$LINE" != x ; then
2655 eval "DEFAULT_$LINE"
2660 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2664 eval "$ac_cv_use_universal"
2665 if test "$no_cache" != 1; then
2666 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2669 if test "$wxUSE_UNIVERSAL" = yes; then
2670 echo "$as_me:$LINENO: result: yes" >&5
2671 echo "${ECHO_T}yes" >&6
2673 echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6
2678 # Check whether --with-gtk or --without-gtk was given.
2679 if test "${with_gtk+set}" = set; then
2681 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2684 # Check whether --with-motif or --without-motif was given.
2685 if test "${with_motif+set}" = set; then
2686 withval="$with_motif"
2687 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2690 # Check whether --with-mac or --without-mac was given.
2691 if test "${with_mac+set}" = set; then
2693 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2696 # Check whether --with-cocoa or --without-cocoa was given.
2697 if test "${with_cocoa+set}" = set; then
2698 withval="$with_cocoa"
2699 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2702 # Check whether --with-wine or --without-wine was given.
2703 if test "${with_wine+set}" = set; then
2704 withval="$with_wine"
2705 wxUSE_WINE="$withval" CACHE_WINE=1
2708 # Check whether --with-msw or --without-msw was given.
2709 if test "${with_msw+set}" = set; then
2711 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2714 # Check whether --with-pm or --without-pm was given.
2715 if test "${with_pm+set}" = set; then
2717 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2720 # Check whether --with-mgl or --without-mgl was given.
2721 if test "${with_mgl+set}" = set; then
2723 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2726 # Check whether --with-microwin or --without-microwin was given.
2727 if test "${with_microwin+set}" = set; then
2728 withval="$with_microwin"
2729 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2732 # Check whether --with-x11 or --without-x11 was given.
2733 if test "${with_x11+set}" = set; then
2735 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2740 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2742 # Check whether --enable-nanox or --disable-nanox was given.
2743 if test "${enable_nanox+set}" = set; then
2744 enableval="$enable_nanox"
2746 if test "$enableval" = yes; then
2747 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2749 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2754 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x ; then
2756 eval "DEFAULT_$LINE"
2761 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2765 eval "$ac_cv_use_nanox"
2766 if test "$no_cache" != 1; then
2767 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2770 if test "$wxUSE_NANOX" = yes; then
2771 echo "$as_me:$LINENO: result: yes" >&5
2772 echo "${ECHO_T}yes" >&6
2774 echo "$as_me:$LINENO: result: no" >&5
2775 echo "${ECHO_T}no" >&6
2779 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2780 if test "${enable_gtk2+set}" = set; then
2781 enableval="$enable_gtk2"
2782 wxUSE_GTK2="$enableval"
2786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2787 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2789 # Check whether --enable-gpe or --disable-gpe was given.
2790 if test "${enable_gpe+set}" = set; then
2791 enableval="$enable_gpe"
2793 if test "$enableval" = yes; then
2794 ac_cv_use_gpe='wxUSE_GPE
=yes'
2796 ac_cv_use_gpe='wxUSE_GPE
=no
'
2801 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2802 if test "x$LINE" != x ; then
2803 eval "DEFAULT_$LINE"
2808 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
2812 eval "$ac_cv_use_gpe"
2813 if test "$no_cache" != 1; then
2814 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2817 if test "$wxUSE_GPE" = yes; then
2818 echo "$as_me:$LINENO: result: yes" >&5
2819 echo "${ECHO_T}yes" >&6
2821 echo "$as_me:$LINENO: result: no" >&5
2822 echo "${ECHO_T}no" >&6
2827 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2828 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2831 # Check whether --with-libpng or --without-libpng was given.
2832 if test "${with_libpng+set}" = set; then
2833 withval="$with_libpng"
2835 if test "$withval" = yes; then
2836 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2837 elif test "$withval" = no; then
2838 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2839 elif test "$withval" = sys; then
2840 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2841 elif test "$withval" = builtin; then
2842 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2844 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2845 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2846 { (exit 1); exit 1; }; }
2851 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2852 if test "x$LINE" != x ; then
2853 eval "DEFAULT_$LINE"
2858 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2862 eval "$ac_cv_use_libpng"
2863 if test "$no_cache" != 1; then
2864 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2867 if test "$wxUSE_LIBPNG" = yes; then
2868 echo "$as_me:$LINENO: result: yes" >&5
2869 echo "${ECHO_T}yes" >&6
2870 elif test "$wxUSE_LIBPNG" = no; then
2871 echo "$as_me:$LINENO: result: no" >&5
2872 echo "${ECHO_T}no" >&6
2873 elif test "$wxUSE_LIBPNG" = sys; then
2874 echo "$as_me:$LINENO: result: system version" >&5
2875 echo "${ECHO_T}system version" >&6
2876 elif test "$wxUSE_LIBPNG" = builtin; then
2877 echo "$as_me:$LINENO: result: builtin version" >&5
2878 echo "${ECHO_T}builtin version" >&6
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2886 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2887 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2890 # Check whether --with-libjpeg or --without-libjpeg was given.
2891 if test "${with_libjpeg+set}" = set; then
2892 withval="$with_libjpeg"
2894 if test "$withval" = yes; then
2895 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2896 elif test "$withval" = no; then
2897 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2898 elif test "$withval" = sys; then
2899 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2900 elif test "$withval" = builtin; then
2901 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2903 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2904 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2905 { (exit 1); exit 1; }; }
2910 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x ; then
2912 eval "DEFAULT_$LINE"
2917 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2921 eval "$ac_cv_use_libjpeg"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2926 if test "$wxUSE_LIBJPEG" = yes; then
2927 echo "$as_me:$LINENO: result: yes" >&5
2928 echo "${ECHO_T}yes" >&6
2929 elif test "$wxUSE_LIBJPEG" = no; then
2930 echo "$as_me:$LINENO: result: no" >&5
2931 echo "${ECHO_T}no" >&6
2932 elif test "$wxUSE_LIBJPEG" = sys; then
2933 echo "$as_me:$LINENO: result: system version" >&5
2934 echo "${ECHO_T}system version" >&6
2935 elif test "$wxUSE_LIBJPEG" = builtin; then
2936 echo "$as_me:$LINENO: result: builtin version" >&5
2937 echo "${ECHO_T}builtin version" >&6
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2945 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2946 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2949 # Check whether --with-libtiff or --without-libtiff was given.
2950 if test "${with_libtiff+set}" = set; then
2951 withval="$with_libtiff"
2953 if test "$withval" = yes; then
2954 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2955 elif test "$withval" = no; then
2956 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2957 elif test "$withval" = sys; then
2958 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2959 elif test "$withval" = builtin; then
2960 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2962 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2963 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2964 { (exit 1); exit 1; }; }
2969 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2970 if test "x$LINE" != x ; then
2971 eval "DEFAULT_$LINE"
2976 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2980 eval "$ac_cv_use_libtiff"
2981 if test "$no_cache" != 1; then
2982 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2985 if test "$wxUSE_LIBTIFF" = yes; then
2986 echo "$as_me:$LINENO: result: yes" >&5
2987 echo "${ECHO_T}yes" >&6
2988 elif test "$wxUSE_LIBTIFF" = no; then
2989 echo "$as_me:$LINENO: result: no" >&5
2990 echo "${ECHO_T}no" >&6
2991 elif test "$wxUSE_LIBTIFF" = sys; then
2992 echo "$as_me:$LINENO: result: system version" >&5
2993 echo "${ECHO_T}system version" >&6
2994 elif test "$wxUSE_LIBTIFF" = builtin; then
2995 echo "$as_me:$LINENO: result: builtin version" >&5
2996 echo "${ECHO_T}builtin version" >&6
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3004 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3005 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3008 # Check whether --with-libxpm or --without-libxpm was given.
3009 if test "${with_libxpm+set}" = set; then
3010 withval="$with_libxpm"
3012 if test "$withval" = yes; then
3013 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
3014 elif test "$withval" = no; then
3015 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3016 elif test "$withval" = sys; then
3017 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3018 elif test "$withval" = builtin; then
3019 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3021 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3022 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3023 { (exit 1); exit 1; }; }
3028 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3029 if test "x$LINE" != x ; then
3030 eval "DEFAULT_$LINE"
3035 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3039 eval "$ac_cv_use_libxpm"
3040 if test "$no_cache" != 1; then
3041 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3044 if test "$wxUSE_LIBXPM" = yes; then
3045 echo "$as_me:$LINENO: result: yes" >&5
3046 echo "${ECHO_T}yes" >&6
3047 elif test "$wxUSE_LIBXPM" = no; then
3048 echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6
3050 elif test "$wxUSE_LIBXPM" = sys; then
3051 echo "$as_me:$LINENO: result: system version" >&5
3052 echo "${ECHO_T}system version" >&6
3053 elif test "$wxUSE_LIBXPM" = builtin; then
3054 echo "$as_me:$LINENO: result: builtin version" >&5
3055 echo "${ECHO_T}builtin version" >&6
3057 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3058 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3059 { (exit 1); exit 1; }; }
3064 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3065 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3068 # Check whether --with-libmspack or --without-libmspack was given.
3069 if test "${with_libmspack+set}" = set; then
3070 withval="$with_libmspack"
3072 if test "$withval" = yes; then
3073 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3075 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3080 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3081 if test "x$LINE" != x ; then
3082 eval "DEFAULT_$LINE"
3087 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3091 eval "$ac_cv_use_libmspack"
3092 if test "$no_cache" != 1; then
3093 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3096 if test "$wxUSE_LIBMSPACK" = yes; then
3097 echo "$as_me:$LINENO: result: yes" >&5
3098 echo "${ECHO_T}yes" >&6
3100 echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3106 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3107 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3110 # Check whether --with-sdl or --without-sdl was given.
3111 if test "${with_sdl+set}" = set; then
3114 if test "$withval" = yes; then
3115 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3117 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3122 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3123 if test "x$LINE" != x ; then
3124 eval "DEFAULT_$LINE"
3129 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3133 eval "$ac_cv_use_sdl"
3134 if test "$no_cache" != 1; then
3135 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3138 if test "$wxUSE_LIBSDL" = yes; then
3139 echo "$as_me:$LINENO: result: yes" >&5
3140 echo "${ECHO_T}yes" >&6
3142 echo "$as_me:$LINENO: result: no" >&5
3143 echo "${ECHO_T}no" >&6
3148 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3149 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3152 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3153 if test "${with_gnomeprint+set}" = set; then
3154 withval="$with_gnomeprint"
3156 if test "$withval" = yes; then
3157 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3159 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3164 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3165 if test "x$LINE" != x ; then
3166 eval "DEFAULT_$LINE"
3171 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3175 eval "$ac_cv_use_gnomeprint"
3176 if test "$no_cache" != 1; then
3177 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3180 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3181 echo "$as_me:$LINENO: result: yes" >&5
3182 echo "${ECHO_T}yes" >&6
3184 echo "$as_me:$LINENO: result: no" >&5
3185 echo "${ECHO_T}no" >&6
3190 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3191 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3194 # Check whether --with-hildon or --without-hildon was given.
3195 if test "${with_hildon+set}" = set; then
3196 withval="$with_hildon"
3198 if test "$withval" = yes; then
3199 ac_cv_use_hildon='wxUSE_LIBHILDON
=yes'
3201 ac_cv_use_hildon='wxUSE_LIBHILDON
=no
'
3206 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3207 if test "x$LINE" != x ; then
3208 eval "DEFAULT_$LINE"
3213 ac_cv_use_hildon='wxUSE_LIBHILDON
='$DEFAULT_wxUSE_LIBHILDON
3217 eval "$ac_cv_use_hildon"
3218 if test "$no_cache" != 1; then
3219 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3222 if test "$wxUSE_LIBHILDON" = yes; then
3223 echo "$as_me:$LINENO: result: yes" >&5
3224 echo "${ECHO_T}yes" >&6
3226 echo "$as_me:$LINENO: result: no" >&5
3227 echo "${ECHO_T}no" >&6
3232 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3233 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3236 # Check whether --with-opengl or --without-opengl was given.
3237 if test "${with_opengl+set}" = set; then
3238 withval="$with_opengl"
3240 if test "$withval" = yes; then
3241 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3243 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3248 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3249 if test "x$LINE" != x ; then
3250 eval "DEFAULT_$LINE"
3255 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3259 eval "$ac_cv_use_opengl"
3260 if test "$no_cache" != 1; then
3261 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3264 if test "$wxUSE_OPENGL" = yes; then
3265 echo "$as_me:$LINENO: result: yes" >&5
3266 echo "${ECHO_T}yes" >&6
3268 echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6
3277 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3278 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3281 # Check whether --with-dmalloc or --without-dmalloc was given.
3282 if test "${with_dmalloc+set}" = set; then
3283 withval="$with_dmalloc"
3285 if test "$withval" = yes; then
3286 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3288 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3293 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x ; then
3295 eval "DEFAULT_$LINE"
3300 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3304 eval "$ac_cv_use_dmalloc"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3309 if test "$wxUSE_DMALLOC" = yes; then
3310 echo "$as_me:$LINENO: result: yes" >&5
3311 echo "${ECHO_T}yes" >&6
3313 echo "$as_me:$LINENO: result: no" >&5
3314 echo "${ECHO_T}no" >&6
3318 echo "$as_me:$LINENO: checking for --with-regex" >&5
3319 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3322 # Check whether --with-regex or --without-regex was given.
3323 if test "${with_regex+set}" = set; then
3324 withval="$with_regex"
3326 if test "$withval" = yes; then
3327 ac_cv_use_regex='wxUSE_REGEX
=yes'
3328 elif test "$withval" = no; then
3329 ac_cv_use_regex='wxUSE_REGEX
=no
'
3330 elif test "$withval" = sys; then
3331 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3332 elif test "$withval" = builtin; then
3333 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3335 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3336 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3337 { (exit 1); exit 1; }; }
3342 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3343 if test "x$LINE" != x ; then
3344 eval "DEFAULT_$LINE"
3349 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3353 eval "$ac_cv_use_regex"
3354 if test "$no_cache" != 1; then
3355 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3358 if test "$wxUSE_REGEX" = yes; then
3359 echo "$as_me:$LINENO: result: yes" >&5
3360 echo "${ECHO_T}yes" >&6
3361 elif test "$wxUSE_REGEX" = no; then
3362 echo "$as_me:$LINENO: result: no" >&5
3363 echo "${ECHO_T}no" >&6
3364 elif test "$wxUSE_REGEX" = sys; then
3365 echo "$as_me:$LINENO: result: system version" >&5
3366 echo "${ECHO_T}system version" >&6
3367 elif test "$wxUSE_REGEX" = builtin; then
3368 echo "$as_me:$LINENO: result: builtin version" >&5
3369 echo "${ECHO_T}builtin version" >&6
3371 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3372 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3373 { (exit 1); exit 1; }; }
3377 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3378 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3381 # Check whether --with-zlib or --without-zlib was given.
3382 if test "${with_zlib+set}" = set; then
3383 withval="$with_zlib"
3385 if test "$withval" = yes; then
3386 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3387 elif test "$withval" = no; then
3388 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3389 elif test "$withval" = sys; then
3390 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3391 elif test "$withval" = builtin; then
3392 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3394 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3395 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3396 { (exit 1); exit 1; }; }
3401 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3402 if test "x$LINE" != x ; then
3403 eval "DEFAULT_$LINE"
3408 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3412 eval "$ac_cv_use_zlib"
3413 if test "$no_cache" != 1; then
3414 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3417 if test "$wxUSE_ZLIB" = yes; then
3418 echo "$as_me:$LINENO: result: yes" >&5
3419 echo "${ECHO_T}yes" >&6
3420 elif test "$wxUSE_ZLIB" = no; then
3421 echo "$as_me:$LINENO: result: no" >&5
3422 echo "${ECHO_T}no" >&6
3423 elif test "$wxUSE_ZLIB" = sys; then
3424 echo "$as_me:$LINENO: result: system version" >&5
3425 echo "${ECHO_T}system version" >&6
3426 elif test "$wxUSE_ZLIB" = builtin; then
3427 echo "$as_me:$LINENO: result: builtin version" >&5
3428 echo "${ECHO_T}builtin version" >&6
3430 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3431 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3432 { (exit 1); exit 1; }; }
3436 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3437 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3440 # Check whether --with-odbc or --without-odbc was given.
3441 if test "${with_odbc+set}" = set; then
3442 withval="$with_odbc"
3444 if test "$withval" = yes; then
3445 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3446 elif test "$withval" = no; then
3447 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3448 elif test "$withval" = sys; then
3449 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3450 elif test "$withval" = builtin; then
3451 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3453 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3454 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3455 { (exit 1); exit 1; }; }
3460 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x ; then
3462 eval "DEFAULT_$LINE"
3467 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3471 eval "$ac_cv_use_odbc"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3476 if test "$wxUSE_ODBC" = yes; then
3477 echo "$as_me:$LINENO: result: yes" >&5
3478 echo "${ECHO_T}yes" >&6
3479 elif test "$wxUSE_ODBC" = no; then
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3482 elif test "$wxUSE_ODBC" = sys; then
3483 echo "$as_me:$LINENO: result: system version" >&5
3484 echo "${ECHO_T}system version" >&6
3485 elif test "$wxUSE_ODBC" = builtin; then
3486 echo "$as_me:$LINENO: result: builtin version" >&5
3487 echo "${ECHO_T}builtin version" >&6
3489 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3490 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3491 { (exit 1); exit 1; }; }
3495 echo "$as_me:$LINENO: checking for --with-expat" >&5
3496 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3499 # Check whether --with-expat or --without-expat was given.
3500 if test "${with_expat+set}" = set; then
3501 withval="$with_expat"
3503 if test "$withval" = yes; then
3504 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3505 elif test "$withval" = no; then
3506 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3507 elif test "$withval" = sys; then
3508 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3509 elif test "$withval" = builtin; then
3510 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3512 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3513 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3514 { (exit 1); exit 1; }; }
3519 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x ; then
3521 eval "DEFAULT_$LINE"
3526 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3530 eval "$ac_cv_use_expat"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3535 if test "$wxUSE_EXPAT" = yes; then
3536 echo "$as_me:$LINENO: result: yes" >&5
3537 echo "${ECHO_T}yes" >&6
3538 elif test "$wxUSE_EXPAT" = no; then
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3541 elif test "$wxUSE_EXPAT" = sys; then
3542 echo "$as_me:$LINENO: result: system version" >&5
3543 echo "${ECHO_T}system version" >&6
3544 elif test "$wxUSE_EXPAT" = builtin; then
3545 echo "$as_me:$LINENO: result: builtin version" >&5
3546 echo "${ECHO_T}builtin version" >&6
3548 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3549 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3550 { (exit 1); exit 1; }; }
3557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3558 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3560 # Check whether --enable-shared or --disable-shared was given.
3561 if test "${enable_shared+set}" = set; then
3562 enableval="$enable_shared"
3564 if test "$enableval" = yes; then
3565 ac_cv_use_shared='wxUSE_SHARED
=yes'
3567 ac_cv_use_shared='wxUSE_SHARED
=no
'
3572 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3579 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3583 eval "$ac_cv_use_shared"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3588 if test "$wxUSE_SHARED" = yes; then
3589 echo "$as_me:$LINENO: result: yes" >&5
3590 echo "${ECHO_T}yes" >&6
3592 echo "$as_me:$LINENO: result: no" >&5
3593 echo "${ECHO_T}no" >&6
3598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3599 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3601 # Check whether --enable-optimise or --disable-optimise was given.
3602 if test "${enable_optimise+set}" = set; then
3603 enableval="$enable_optimise"
3605 if test "$enableval" = yes; then
3606 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3608 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3613 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3614 if test "x$LINE" != x ; then
3615 eval "DEFAULT_$LINE"
3620 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3624 eval "$ac_cv_use_optimise"
3625 if test "$no_cache" != 1; then
3626 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3629 if test "$wxUSE_OPTIMISE" = yes; then
3630 echo "$as_me:$LINENO: result: yes" >&5
3631 echo "${ECHO_T}yes" >&6
3633 echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6
3639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3640 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3642 # Check whether --enable-debug or --disable-debug was given.
3643 if test "${enable_debug+set}" = set; then
3644 enableval="$enable_debug"
3646 if test "$enableval" = yes; then
3647 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3649 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3654 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x ; then
3656 eval "DEFAULT_$LINE"
3661 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3665 eval "$ac_cv_use_debug"
3666 if test "$no_cache" != 1; then
3667 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3670 if test "$wxUSE_DEBUG" = yes; then
3671 echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6
3674 echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6
3680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3681 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3683 # Check whether --enable-stl or --disable-stl was given.
3684 if test "${enable_stl+set}" = set; then
3685 enableval="$enable_stl"
3687 if test "$enableval" = yes; then
3688 ac_cv_use_stl='wxUSE_STL
=yes'
3690 ac_cv_use_stl='wxUSE_STL
=no
'
3695 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x ; then
3697 eval "DEFAULT_$LINE"
3702 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3706 eval "$ac_cv_use_stl"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3711 if test "$wxUSE_STL" = yes; then
3712 echo "$as_me:$LINENO: result: yes" >&5
3713 echo "${ECHO_T}yes" >&6
3715 echo "$as_me:$LINENO: result: no" >&5
3716 echo "${ECHO_T}no" >&6
3719 if test "$USE_OS2" = "1"; then
3720 DEFAULT_wxUSE_OMF=no
3723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3724 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3726 # Check whether --enable-omf or --disable-omf was given.
3727 if test "${enable_omf+set}" = set; then
3728 enableval="$enable_omf"
3730 if test "$enableval" = yes; then
3731 ac_cv_use_omf='wxUSE_OMF
=yes'
3733 ac_cv_use_omf='wxUSE_OMF
=no
'
3738 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x ; then
3740 eval "DEFAULT_$LINE"
3745 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3749 eval "$ac_cv_use_omf"
3750 if test "$no_cache" != 1; then
3751 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3754 if test "$wxUSE_OMF" = yes; then
3755 echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6
3758 echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6
3764 if test "$wxUSE_DEBUG" = "yes"; then
3765 DEFAULT_wxUSE_DEBUG_FLAG=yes
3766 DEFAULT_wxUSE_DEBUG_INFO=yes
3768 elif test "$wxUSE_DEBUG" = "no"; then
3769 DEFAULT_wxUSE_DEBUG_FLAG=no
3770 DEFAULT_wxUSE_DEBUG_INFO=no
3776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3777 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3779 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3780 if test "${enable_debug_flag+set}" = set; then
3781 enableval="$enable_debug_flag"
3783 if test "$enableval" = yes; then
3784 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3786 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3791 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3792 if test "x$LINE" != x ; then
3793 eval "DEFAULT_$LINE"
3798 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3802 eval "$ac_cv_use_debug_flag"
3803 if test "$no_cache" != 1; then
3804 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3807 if test "$wxUSE_DEBUG_FLAG" = yes; then
3808 echo "$as_me:$LINENO: result: yes" >&5
3809 echo "${ECHO_T}yes" >&6
3811 echo "$as_me:$LINENO: result: no" >&5
3812 echo "${ECHO_T}no" >&6
3817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3818 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3820 # Check whether --enable-debug_info or --disable-debug_info was given.
3821 if test "${enable_debug_info+set}" = set; then
3822 enableval="$enable_debug_info"
3824 if test "$enableval" = yes; then
3825 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3827 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3832 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3833 if test "x$LINE" != x ; then
3834 eval "DEFAULT_$LINE"
3839 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3843 eval "$ac_cv_use_debug_info"
3844 if test "$no_cache" != 1; then
3845 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3848 if test "$wxUSE_DEBUG_INFO" = yes; then
3849 echo "$as_me:$LINENO: result: yes" >&5
3850 echo "${ECHO_T}yes" >&6
3852 echo "$as_me:$LINENO: result: no" >&5
3853 echo "${ECHO_T}no" >&6
3858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3859 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3861 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3862 if test "${enable_debug_gdb+set}" = set; then
3863 enableval="$enable_debug_gdb"
3865 if test "$enableval" = yes; then
3866 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3868 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3873 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3874 if test "x$LINE" != x ; then
3875 eval "DEFAULT_$LINE"
3880 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3884 eval "$ac_cv_use_debug_gdb"
3885 if test "$no_cache" != 1; then
3886 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3889 if test "$wxUSE_DEBUG_GDB" = yes; then
3890 echo "$as_me:$LINENO: result: yes" >&5
3891 echo "${ECHO_T}yes" >&6
3893 echo "$as_me:$LINENO: result: no" >&5
3894 echo "${ECHO_T}no" >&6
3899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3900 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3902 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3903 if test "${enable_debug_cntxt+set}" = set; then
3904 enableval="$enable_debug_cntxt"
3906 if test "$enableval" = yes; then
3907 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3909 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3914 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x ; then
3916 eval "DEFAULT_$LINE"
3921 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3925 eval "$ac_cv_use_debug_cntxt"
3926 if test "$no_cache" != 1; then
3927 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3930 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3931 echo "$as_me:$LINENO: result: yes" >&5
3932 echo "${ECHO_T}yes" >&6
3934 echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3941 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3943 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3944 if test "${enable_mem_tracing+set}" = set; then
3945 enableval="$enable_mem_tracing"
3947 if test "$enableval" = yes; then
3948 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3950 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3955 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x ; then
3957 eval "DEFAULT_$LINE"
3962 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3966 eval "$ac_cv_use_mem_tracing"
3967 if test "$no_cache" != 1; then
3968 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3971 if test "$wxUSE_MEM_TRACING" = yes; then
3972 echo "$as_me:$LINENO: result: yes" >&5
3973 echo "${ECHO_T}yes" >&6
3975 echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6
3981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3982 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3984 # Check whether --enable-profile or --disable-profile was given.
3985 if test "${enable_profile+set}" = set; then
3986 enableval="$enable_profile"
3988 if test "$enableval" = yes; then
3989 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3991 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3996 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3997 if test "x$LINE" != x ; then
3998 eval "DEFAULT_$LINE"
4003 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
4007 eval "$ac_cv_use_profile"
4008 if test "$no_cache" != 1; then
4009 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4012 if test "$wxUSE_PROFILE" = yes; then
4013 echo "$as_me:$LINENO: result: yes" >&5
4014 echo "${ECHO_T}yes" >&6
4016 echo "$as_me:$LINENO: result: no" >&5
4017 echo "${ECHO_T}no" >&6
4022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4023 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4025 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4026 if test "${enable_no_rtti+set}" = set; then
4027 enableval="$enable_no_rtti"
4029 if test "$enableval" = yes; then
4030 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
4032 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
4037 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4038 if test "x$LINE" != x ; then
4039 eval "DEFAULT_$LINE"
4044 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
4048 eval "$ac_cv_use_no_rtti"
4049 if test "$no_cache" != 1; then
4050 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4053 if test "$wxUSE_NO_RTTI" = yes; then
4054 echo "$as_me:$LINENO: result: yes" >&5
4055 echo "${ECHO_T}yes" >&6
4057 echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6
4063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4064 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4066 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4067 if test "${enable_no_exceptions+set}" = set; then
4068 enableval="$enable_no_exceptions"
4070 if test "$enableval" = yes; then
4071 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4073 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4078 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4079 if test "x$LINE" != x ; then
4080 eval "DEFAULT_$LINE"
4085 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4089 eval "$ac_cv_use_no_exceptions"
4090 if test "$no_cache" != 1; then
4091 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4094 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4095 echo "$as_me:$LINENO: result: yes" >&5
4096 echo "${ECHO_T}yes" >&6
4098 echo "$as_me:$LINENO: result: no" >&5
4099 echo "${ECHO_T}no" >&6
4104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4105 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4107 # Check whether --enable-permissive or --disable-permissive was given.
4108 if test "${enable_permissive+set}" = set; then
4109 enableval="$enable_permissive"
4111 if test "$enableval" = yes; then
4112 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4114 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4119 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x ; then
4121 eval "DEFAULT_$LINE"
4126 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4130 eval "$ac_cv_use_permissive"
4131 if test "$no_cache" != 1; then
4132 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4135 if test "$wxUSE_PERMISSIVE" = yes; then
4136 echo "$as_me:$LINENO: result: yes" >&5
4137 echo "${ECHO_T}yes" >&6
4139 echo "$as_me:$LINENO: result: no" >&5
4140 echo "${ECHO_T}no" >&6
4145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4146 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4148 # Check whether --enable-no_deps or --disable-no_deps was given.
4149 if test "${enable_no_deps+set}" = set; then
4150 enableval="$enable_no_deps"
4152 if test "$enableval" = yes; then
4153 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4155 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4160 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4161 if test "x$LINE" != x ; then
4162 eval "DEFAULT_$LINE"
4167 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4171 eval "$ac_cv_use_no_deps"
4172 if test "$no_cache" != 1; then
4173 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4176 if test "$wxUSE_NO_DEPS" = yes; then
4177 echo "$as_me:$LINENO: result: yes" >&5
4178 echo "${ECHO_T}yes" >&6
4180 echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6
4186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4187 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4189 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4190 if test "${enable_universal_binary+set}" = set; then
4191 enableval="$enable_universal_binary"
4193 if test "$enableval" = yes; then
4194 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
=yes'
4196 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
=no
'
4201 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x ; then
4203 eval "DEFAULT_$LINE"
4208 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4212 eval "$ac_cv_use_universal_binary"
4213 if test "$no_cache" != 1; then
4214 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4217 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4218 echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6
4221 echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4231 # Check whether --enable-compat24 or --disable-compat24 was given.
4232 if test "${enable_compat24+set}" = set; then
4233 enableval="$enable_compat24"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4238 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4243 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4254 eval "$ac_cv_use_compat24"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4259 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4268 enablestring=disable
4269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4272 # Check whether --enable-compat26 or --disable-compat26 was given.
4273 if test "${enable_compat26+set}" = set; then
4274 enableval="$enable_compat26"
4276 if test "$enableval" = yes; then
4277 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4279 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4284 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x ; then
4286 eval "DEFAULT_$LINE"
4291 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4295 eval "$ac_cv_use_compat26"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4300 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4301 echo "$as_me:$LINENO: result: yes" >&5
4302 echo "${ECHO_T}yes" >&6
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4312 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4314 # Check whether --enable-rpath or --disable-rpath was given.
4315 if test "${enable_rpath+set}" = set; then
4316 enableval="$enable_rpath"
4318 if test "$enableval" = yes; then
4319 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4321 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4326 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x ; then
4328 eval "DEFAULT_$LINE"
4333 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4337 eval "$ac_cv_use_rpath"
4338 if test "$no_cache" != 1; then
4339 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4342 if test "$wxUSE_RPATH" = yes; then
4343 echo "$as_me:$LINENO: result: yes" >&5
4344 echo "${ECHO_T}yes" >&6
4346 echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6
4355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4356 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4358 # Check whether --enable-intl or --disable-intl was given.
4359 if test "${enable_intl+set}" = set; then
4360 enableval="$enable_intl"
4362 if test "$enableval" = yes; then
4363 ac_cv_use_intl='wxUSE_INTL
=yes'
4365 ac_cv_use_intl='wxUSE_INTL
=no
'
4370 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4371 if test "x$LINE" != x ; then
4372 eval "DEFAULT_$LINE"
4377 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4381 eval "$ac_cv_use_intl"
4382 if test "$no_cache" != 1; then
4383 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4386 if test "$wxUSE_INTL" = yes; then
4387 echo "$as_me:$LINENO: result: yes" >&5
4388 echo "${ECHO_T}yes" >&6
4390 echo "$as_me:$LINENO: result: no" >&5
4391 echo "${ECHO_T}no" >&6
4396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4397 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4399 # Check whether --enable-config or --disable-config was given.
4400 if test "${enable_config+set}" = set; then
4401 enableval="$enable_config"
4403 if test "$enableval" = yes; then
4404 ac_cv_use_config='wxUSE_CONFIG
=yes'
4406 ac_cv_use_config='wxUSE_CONFIG
=no
'
4411 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4412 if test "x$LINE" != x ; then
4413 eval "DEFAULT_$LINE"
4418 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4422 eval "$ac_cv_use_config"
4423 if test "$no_cache" != 1; then
4424 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4427 if test "$wxUSE_CONFIG" = yes; then
4428 echo "$as_me:$LINENO: result: yes" >&5
4429 echo "${ECHO_T}yes" >&6
4431 echo "$as_me:$LINENO: result: no" >&5
4432 echo "${ECHO_T}no" >&6
4438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4439 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4441 # Check whether --enable-protocols or --disable-protocols was given.
4442 if test "${enable_protocols+set}" = set; then
4443 enableval="$enable_protocols"
4445 if test "$enableval" = yes; then
4446 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4448 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4453 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4454 if test "x$LINE" != x ; then
4455 eval "DEFAULT_$LINE"
4460 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4464 eval "$ac_cv_use_protocols"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4469 if test "$wxUSE_PROTOCOL" = yes; then
4470 echo "$as_me:$LINENO: result: yes" >&5
4471 echo "${ECHO_T}yes" >&6
4473 echo "$as_me:$LINENO: result: no" >&5
4474 echo "${ECHO_T}no" >&6
4479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4480 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4482 # Check whether --enable-ftp or --disable-ftp was given.
4483 if test "${enable_ftp+set}" = set; then
4484 enableval="$enable_ftp"
4486 if test "$enableval" = yes; then
4487 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4489 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4494 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4495 if test "x$LINE" != x ; then
4496 eval "DEFAULT_$LINE"
4501 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4505 eval "$ac_cv_use_ftp"
4506 if test "$no_cache" != 1; then
4507 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4510 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4511 echo "$as_me:$LINENO: result: yes" >&5
4512 echo "${ECHO_T}yes" >&6
4514 echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6
4520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4521 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4523 # Check whether --enable-http or --disable-http was given.
4524 if test "${enable_http+set}" = set; then
4525 enableval="$enable_http"
4527 if test "$enableval" = yes; then
4528 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4530 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4535 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4536 if test "x$LINE" != x ; then
4537 eval "DEFAULT_$LINE"
4542 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4546 eval "$ac_cv_use_http"
4547 if test "$no_cache" != 1; then
4548 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4551 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4552 echo "$as_me:$LINENO: result: yes" >&5
4553 echo "${ECHO_T}yes" >&6
4555 echo "$as_me:$LINENO: result: no" >&5
4556 echo "${ECHO_T}no" >&6
4561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4562 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4564 # Check whether --enable-fileproto or --disable-fileproto was given.
4565 if test "${enable_fileproto+set}" = set; then
4566 enableval="$enable_fileproto"
4568 if test "$enableval" = yes; then
4569 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4571 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4576 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4577 if test "x$LINE" != x ; then
4578 eval "DEFAULT_$LINE"
4583 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4587 eval "$ac_cv_use_fileproto"
4588 if test "$no_cache" != 1; then
4589 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4592 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4593 echo "$as_me:$LINENO: result: yes" >&5
4594 echo "${ECHO_T}yes" >&6
4596 echo "$as_me:$LINENO: result: no" >&5
4597 echo "${ECHO_T}no" >&6
4602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4603 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4605 # Check whether --enable-sockets or --disable-sockets was given.
4606 if test "${enable_sockets+set}" = set; then
4607 enableval="$enable_sockets"
4609 if test "$enableval" = yes; then
4610 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4612 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4617 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4618 if test "x$LINE" != x ; then
4619 eval "DEFAULT_$LINE"
4624 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4628 eval "$ac_cv_use_sockets"
4629 if test "$no_cache" != 1; then
4630 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4633 if test "$wxUSE_SOCKETS" = yes; then
4634 echo "$as_me:$LINENO: result: yes" >&5
4635 echo "${ECHO_T}yes" >&6
4637 echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6
4643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4644 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4646 # Check whether --enable-ole or --disable-ole was given.
4647 if test "${enable_ole+set}" = set; then
4648 enableval="$enable_ole"
4650 if test "$enableval" = yes; then
4651 ac_cv_use_ole='wxUSE_OLE
=yes'
4653 ac_cv_use_ole='wxUSE_OLE
=no
'
4658 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4659 if test "x$LINE" != x ; then
4660 eval "DEFAULT_$LINE"
4665 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4669 eval "$ac_cv_use_ole"
4670 if test "$no_cache" != 1; then
4671 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4674 if test "$wxUSE_OLE" = yes; then
4675 echo "$as_me:$LINENO: result: yes" >&5
4676 echo "${ECHO_T}yes" >&6
4678 echo "$as_me:$LINENO: result: no" >&5
4679 echo "${ECHO_T}no" >&6
4684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4685 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4687 # Check whether --enable-dataobj or --disable-dataobj was given.
4688 if test "${enable_dataobj+set}" = set; then
4689 enableval="$enable_dataobj"
4691 if test "$enableval" = yes; then
4692 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4694 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4699 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4700 if test "x$LINE" != x ; then
4701 eval "DEFAULT_$LINE"
4706 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4710 eval "$ac_cv_use_dataobj"
4711 if test "$no_cache" != 1; then
4712 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4715 if test "$wxUSE_DATAOBJ" = yes; then
4716 echo "$as_me:$LINENO: result: yes" >&5
4717 echo "${ECHO_T}yes" >&6
4719 echo "$as_me:$LINENO: result: no" >&5
4720 echo "${ECHO_T}no" >&6
4726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4727 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4729 # Check whether --enable-ipc or --disable-ipc was given.
4730 if test "${enable_ipc+set}" = set; then
4731 enableval="$enable_ipc"
4733 if test "$enableval" = yes; then
4734 ac_cv_use_ipc='wxUSE_IPC
=yes'
4736 ac_cv_use_ipc='wxUSE_IPC
=no
'
4741 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4742 if test "x$LINE" != x ; then
4743 eval "DEFAULT_$LINE"
4748 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4752 eval "$ac_cv_use_ipc"
4753 if test "$no_cache" != 1; then
4754 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4757 if test "$wxUSE_IPC" = yes; then
4758 echo "$as_me:$LINENO: result: yes" >&5
4759 echo "${ECHO_T}yes" >&6
4761 echo "$as_me:$LINENO: result: no" >&5
4762 echo "${ECHO_T}no" >&6
4768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4769 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4771 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4772 if test "${enable_apple_ieee+set}" = set; then
4773 enableval="$enable_apple_ieee"
4775 if test "$enableval" = yes; then
4776 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4778 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4783 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4784 if test "x$LINE" != x ; then
4785 eval "DEFAULT_$LINE"
4790 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4794 eval "$ac_cv_use_apple_ieee"
4795 if test "$no_cache" != 1; then
4796 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4799 if test "$wxUSE_APPLE_IEEE" = yes; then
4800 echo "$as_me:$LINENO: result: yes" >&5
4801 echo "${ECHO_T}yes" >&6
4803 echo "$as_me:$LINENO: result: no" >&5
4804 echo "${ECHO_T}no" >&6
4809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4810 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4812 # Check whether --enable-arcstream or --disable-arcstream was given.
4813 if test "${enable_arcstream+set}" = set; then
4814 enableval="$enable_arcstream"
4816 if test "$enableval" = yes; then
4817 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
4819 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
4824 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4825 if test "x$LINE" != x ; then
4826 eval "DEFAULT_$LINE"
4831 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4835 eval "$ac_cv_use_arcstream"
4836 if test "$no_cache" != 1; then
4837 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4840 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4841 echo "$as_me:$LINENO: result: yes" >&5
4842 echo "${ECHO_T}yes" >&6
4844 echo "$as_me:$LINENO: result: no" >&5
4845 echo "${ECHO_T}no" >&6
4850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4851 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4853 # Check whether --enable-backtrace or --disable-backtrace was given.
4854 if test "${enable_backtrace+set}" = set; then
4855 enableval="$enable_backtrace"
4857 if test "$enableval" = yes; then
4858 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
4860 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
4865 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x ; then
4867 eval "DEFAULT_$LINE"
4872 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
4876 eval "$ac_cv_use_backtrace"
4877 if test "$no_cache" != 1; then
4878 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4881 if test "$wxUSE_STACKWALKER" = yes; then
4882 echo "$as_me:$LINENO: result: yes" >&5
4883 echo "${ECHO_T}yes" >&6
4885 echo "$as_me:$LINENO: result: no" >&5
4886 echo "${ECHO_T}no" >&6
4891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4892 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4894 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4895 if test "${enable_catch_segvs+set}" = set; then
4896 enableval="$enable_catch_segvs"
4898 if test "$enableval" = yes; then
4899 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4901 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4906 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4907 if test "x$LINE" != x ; then
4908 eval "DEFAULT_$LINE"
4913 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4917 eval "$ac_cv_use_catch_segvs"
4918 if test "$no_cache" != 1; then
4919 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4922 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4923 echo "$as_me:$LINENO: result: yes" >&5
4924 echo "${ECHO_T}yes" >&6
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4933 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4935 # Check whether --enable-cmdline or --disable-cmdline was given.
4936 if test "${enable_cmdline+set}" = set; then
4937 enableval="$enable_cmdline"
4939 if test "$enableval" = yes; then
4940 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4942 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4947 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x ; then
4949 eval "DEFAULT_$LINE"
4954 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4958 eval "$ac_cv_use_cmdline"
4959 if test "$no_cache" != 1; then
4960 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4963 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4964 echo "$as_me:$LINENO: result: yes" >&5
4965 echo "${ECHO_T}yes" >&6
4967 echo "$as_me:$LINENO: result: no" >&5
4968 echo "${ECHO_T}no" >&6
4973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4974 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4976 # Check whether --enable-datetime or --disable-datetime was given.
4977 if test "${enable_datetime+set}" = set; then
4978 enableval="$enable_datetime"
4980 if test "$enableval" = yes; then
4981 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4983 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4988 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4989 if test "x$LINE" != x ; then
4990 eval "DEFAULT_$LINE"
4995 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4999 eval "$ac_cv_use_datetime"
5000 if test "$no_cache" != 1; then
5001 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5004 if test "$wxUSE_DATETIME" = yes; then
5005 echo "$as_me:$LINENO: result: yes" >&5
5006 echo "${ECHO_T}yes" >&6
5008 echo "$as_me:$LINENO: result: no" >&5
5009 echo "${ECHO_T}no" >&6
5014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5015 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5017 # Check whether --enable-debugreport or --disable-debugreport was given.
5018 if test "${enable_debugreport+set}" = set; then
5019 enableval="$enable_debugreport"
5021 if test "$enableval" = yes; then
5022 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
5024 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
5029 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5030 if test "x$LINE" != x ; then
5031 eval "DEFAULT_$LINE"
5036 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
5040 eval "$ac_cv_use_debugreport"
5041 if test "$no_cache" != 1; then
5042 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5045 if test "$wxUSE_DEBUGREPORT" = yes; then
5046 echo "$as_me:$LINENO: result: yes" >&5
5047 echo "${ECHO_T}yes" >&6
5049 echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6
5055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5056 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5058 # Check whether --enable-dialupman or --disable-dialupman was given.
5059 if test "${enable_dialupman+set}" = set; then
5060 enableval="$enable_dialupman"
5062 if test "$enableval" = yes; then
5063 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
5065 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
5070 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5071 if test "x$LINE" != x ; then
5072 eval "DEFAULT_$LINE"
5077 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
5081 eval "$ac_cv_use_dialupman"
5082 if test "$no_cache" != 1; then
5083 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5086 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5087 echo "$as_me:$LINENO: result: yes" >&5
5088 echo "${ECHO_T}yes" >&6
5090 echo "$as_me:$LINENO: result: no" >&5
5091 echo "${ECHO_T}no" >&6
5096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5097 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5099 # Check whether --enable-dynlib or --disable-dynlib was given.
5100 if test "${enable_dynlib+set}" = set; then
5101 enableval="$enable_dynlib"
5103 if test "$enableval" = yes; then
5104 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5106 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5111 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x ; then
5113 eval "DEFAULT_$LINE"
5118 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5122 eval "$ac_cv_use_dynlib"
5123 if test "$no_cache" != 1; then
5124 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5127 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5128 echo "$as_me:$LINENO: result: yes" >&5
5129 echo "${ECHO_T}yes" >&6
5131 echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6
5137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5138 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5140 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5141 if test "${enable_dynamicloader+set}" = set; then
5142 enableval="$enable_dynamicloader"
5144 if test "$enableval" = yes; then
5145 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5147 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5152 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5153 if test "x$LINE" != x ; then
5154 eval "DEFAULT_$LINE"
5159 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5163 eval "$ac_cv_use_dynamicloader"
5164 if test "$no_cache" != 1; then
5165 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5168 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5169 echo "$as_me:$LINENO: result: yes" >&5
5170 echo "${ECHO_T}yes" >&6
5172 echo "$as_me:$LINENO: result: no" >&5
5173 echo "${ECHO_T}no" >&6
5178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5179 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5181 # Check whether --enable-exceptions or --disable-exceptions was given.
5182 if test "${enable_exceptions+set}" = set; then
5183 enableval="$enable_exceptions"
5185 if test "$enableval" = yes; then
5186 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5188 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5193 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x ; then
5195 eval "DEFAULT_$LINE"
5200 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5204 eval "$ac_cv_use_exceptions"
5205 if test "$no_cache" != 1; then
5206 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5209 if test "$wxUSE_EXCEPTIONS" = yes; then
5210 echo "$as_me:$LINENO: result: yes" >&5
5211 echo "${ECHO_T}yes" >&6
5213 echo "$as_me:$LINENO: result: no" >&5
5214 echo "${ECHO_T}no" >&6
5219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5220 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5222 # Check whether --enable-ffile or --disable-ffile was given.
5223 if test "${enable_ffile+set}" = set; then
5224 enableval="$enable_ffile"
5226 if test "$enableval" = yes; then
5227 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5229 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5234 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x ; then
5236 eval "DEFAULT_$LINE"
5241 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5245 eval "$ac_cv_use_ffile"
5246 if test "$no_cache" != 1; then
5247 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5250 if test "$wxUSE_FFILE" = yes; then
5251 echo "$as_me:$LINENO: result: yes" >&5
5252 echo "${ECHO_T}yes" >&6
5254 echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6
5260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5261 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5263 # Check whether --enable-file or --disable-file was given.
5264 if test "${enable_file+set}" = set; then
5265 enableval="$enable_file"
5267 if test "$enableval" = yes; then
5268 ac_cv_use_file='wxUSE_FILE
=yes'
5270 ac_cv_use_file='wxUSE_FILE
=no
'
5275 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5276 if test "x$LINE" != x ; then
5277 eval "DEFAULT_$LINE"
5282 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5286 eval "$ac_cv_use_file"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5291 if test "$wxUSE_FILE" = yes; then
5292 echo "$as_me:$LINENO: result: yes" >&5
5293 echo "${ECHO_T}yes" >&6
5295 echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6
5301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5304 # Check whether --enable-filesystem or --disable-filesystem was given.
5305 if test "${enable_filesystem+set}" = set; then
5306 enableval="$enable_filesystem"
5308 if test "$enableval" = yes; then
5309 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5311 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5316 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x ; then
5318 eval "DEFAULT_$LINE"
5323 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5327 eval "$ac_cv_use_filesystem"
5328 if test "$no_cache" != 1; then
5329 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5332 if test "$wxUSE_FILESYSTEM" = yes; then
5333 echo "$as_me:$LINENO: result: yes" >&5
5334 echo "${ECHO_T}yes" >&6
5336 echo "$as_me:$LINENO: result: no" >&5
5337 echo "${ECHO_T}no" >&6
5342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5343 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5345 # Check whether --enable-fontmap or --disable-fontmap was given.
5346 if test "${enable_fontmap+set}" = set; then
5347 enableval="$enable_fontmap"
5349 if test "$enableval" = yes; then
5350 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5352 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5357 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x ; then
5359 eval "DEFAULT_$LINE"
5364 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5368 eval "$ac_cv_use_fontmap"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5373 if test "$wxUSE_FONTMAP" = yes; then
5374 echo "$as_me:$LINENO: result: yes" >&5
5375 echo "${ECHO_T}yes" >&6
5377 echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6
5383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5384 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5386 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5387 if test "${enable_fs_inet+set}" = set; then
5388 enableval="$enable_fs_inet"
5390 if test "$enableval" = yes; then
5391 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5393 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5398 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5399 if test "x$LINE" != x ; then
5400 eval "DEFAULT_$LINE"
5405 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5409 eval "$ac_cv_use_fs_inet"
5410 if test "$no_cache" != 1; then
5411 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5414 if test "$wxUSE_FS_INET" = yes; then
5415 echo "$as_me:$LINENO: result: yes" >&5
5416 echo "${ECHO_T}yes" >&6
5418 echo "$as_me:$LINENO: result: no" >&5
5419 echo "${ECHO_T}no" >&6
5424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5425 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5427 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5428 if test "${enable_fs_zip+set}" = set; then
5429 enableval="$enable_fs_zip"
5431 if test "$enableval" = yes; then
5432 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5434 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5439 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5440 if test "x$LINE" != x ; then
5441 eval "DEFAULT_$LINE"
5446 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5450 eval "$ac_cv_use_fs_zip"
5451 if test "$no_cache" != 1; then
5452 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5455 if test "$wxUSE_FS_ZIP" = yes; then
5456 echo "$as_me:$LINENO: result: yes" >&5
5457 echo "${ECHO_T}yes" >&6
5459 echo "$as_me:$LINENO: result: no" >&5
5460 echo "${ECHO_T}no" >&6
5465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5466 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5468 # Check whether --enable-geometry or --disable-geometry was given.
5469 if test "${enable_geometry+set}" = set; then
5470 enableval="$enable_geometry"
5472 if test "$enableval" = yes; then
5473 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5475 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5480 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5481 if test "x$LINE" != x ; then
5482 eval "DEFAULT_$LINE"
5487 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5491 eval "$ac_cv_use_geometry"
5492 if test "$no_cache" != 1; then
5493 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5496 if test "$wxUSE_GEOMETRY" = yes; then
5497 echo "$as_me:$LINENO: result: yes" >&5
5498 echo "${ECHO_T}yes" >&6
5500 echo "$as_me:$LINENO: result: no" >&5
5501 echo "${ECHO_T}no" >&6
5506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5507 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5509 # Check whether --enable-log or --disable-log was given.
5510 if test "${enable_log+set}" = set; then
5511 enableval="$enable_log"
5513 if test "$enableval" = yes; then
5514 ac_cv_use_log='wxUSE_LOG
=yes'
5516 ac_cv_use_log='wxUSE_LOG
=no
'
5521 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5522 if test "x$LINE" != x ; then
5523 eval "DEFAULT_$LINE"
5528 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5532 eval "$ac_cv_use_log"
5533 if test "$no_cache" != 1; then
5534 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5537 if test "$wxUSE_LOG" = yes; then
5538 echo "$as_me:$LINENO: result: yes" >&5
5539 echo "${ECHO_T}yes" >&6
5541 echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6
5547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5550 # Check whether --enable-longlong or --disable-longlong was given.
5551 if test "${enable_longlong+set}" = set; then
5552 enableval="$enable_longlong"
5554 if test "$enableval" = yes; then
5555 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5557 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5562 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5563 if test "x$LINE" != x ; then
5564 eval "DEFAULT_$LINE"
5569 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5573 eval "$ac_cv_use_longlong"
5574 if test "$no_cache" != 1; then
5575 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5578 if test "$wxUSE_LONGLONG" = yes; then
5579 echo "$as_me:$LINENO: result: yes" >&5
5580 echo "${ECHO_T}yes" >&6
5582 echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6
5588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5591 # Check whether --enable-mimetype or --disable-mimetype was given.
5592 if test "${enable_mimetype+set}" = set; then
5593 enableval="$enable_mimetype"
5595 if test "$enableval" = yes; then
5596 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5598 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5603 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5604 if test "x$LINE" != x ; then
5605 eval "DEFAULT_$LINE"
5610 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5614 eval "$ac_cv_use_mimetype"
5615 if test "$no_cache" != 1; then
5616 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5619 if test "$wxUSE_MIMETYPE" = yes; then
5620 echo "$as_me:$LINENO: result: yes" >&5
5621 echo "${ECHO_T}yes" >&6
5623 echo "$as_me:$LINENO: result: no" >&5
5624 echo "${ECHO_T}no" >&6
5629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5630 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5632 # Check whether --enable-mslu or --disable-mslu was given.
5633 if test "${enable_mslu+set}" = set; then
5634 enableval="$enable_mslu"
5636 if test "$enableval" = yes; then
5637 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5639 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5644 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x ; then
5646 eval "DEFAULT_$LINE"
5651 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5655 eval "$ac_cv_use_mslu"
5656 if test "$no_cache" != 1; then
5657 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5660 if test "$wxUSE_UNICODE_MSLU" = yes; then
5661 echo "$as_me:$LINENO: result: yes" >&5
5662 echo "${ECHO_T}yes" >&6
5664 echo "$as_me:$LINENO: result: no" >&5
5665 echo "${ECHO_T}no" >&6
5670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5671 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5673 # Check whether --enable-snglinst or --disable-snglinst was given.
5674 if test "${enable_snglinst+set}" = set; then
5675 enableval="$enable_snglinst"
5677 if test "$enableval" = yes; then
5678 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5680 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5685 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5686 if test "x$LINE" != x ; then
5687 eval "DEFAULT_$LINE"
5692 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5696 eval "$ac_cv_use_snglinst"
5697 if test "$no_cache" != 1; then
5698 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5701 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5702 echo "$as_me:$LINENO: result: yes" >&5
5703 echo "${ECHO_T}yes" >&6
5705 echo "$as_me:$LINENO: result: no" >&5
5706 echo "${ECHO_T}no" >&6
5711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5712 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5714 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5715 if test "${enable_std_iostreams+set}" = set; then
5716 enableval="$enable_std_iostreams"
5718 if test "$enableval" = yes; then
5719 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5721 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5726 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5727 if test "x$LINE" != x ; then
5728 eval "DEFAULT_$LINE"
5733 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5737 eval "$ac_cv_use_std_iostreams"
5738 if test "$no_cache" != 1; then
5739 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5742 if test "$wxUSE_STD_IOSTREAM" = yes; then
5743 echo "$as_me:$LINENO: result: yes" >&5
5744 echo "${ECHO_T}yes" >&6
5746 echo "$as_me:$LINENO: result: no" >&5
5747 echo "${ECHO_T}no" >&6
5752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5753 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5755 # Check whether --enable-std_string or --disable-std_string was given.
5756 if test "${enable_std_string+set}" = set; then
5757 enableval="$enable_std_string"
5759 if test "$enableval" = yes; then
5760 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
5762 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
5767 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5768 if test "x$LINE" != x ; then
5769 eval "DEFAULT_$LINE"
5774 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
5778 eval "$ac_cv_use_std_string"
5779 if test "$no_cache" != 1; then
5780 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5783 if test "$wxUSE_STD_STRING" = yes; then
5784 echo "$as_me:$LINENO: result: yes" >&5
5785 echo "${ECHO_T}yes" >&6
5787 echo "$as_me:$LINENO: result: no" >&5
5788 echo "${ECHO_T}no" >&6
5793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5794 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5796 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5797 if test "${enable_stdpaths+set}" = set; then
5798 enableval="$enable_stdpaths"
5800 if test "$enableval" = yes; then
5801 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
5803 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
5808 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5809 if test "x$LINE" != x ; then
5810 eval "DEFAULT_$LINE"
5815 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
5819 eval "$ac_cv_use_stdpaths"
5820 if test "$no_cache" != 1; then
5821 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5824 if test "$wxUSE_STDPATHS" = yes; then
5825 echo "$as_me:$LINENO: result: yes" >&5
5826 echo "${ECHO_T}yes" >&6
5828 echo "$as_me:$LINENO: result: no" >&5
5829 echo "${ECHO_T}no" >&6
5834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5837 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5838 if test "${enable_stopwatch+set}" = set; then
5839 enableval="$enable_stopwatch"
5841 if test "$enableval" = yes; then
5842 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5844 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5849 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5850 if test "x$LINE" != x ; then
5851 eval "DEFAULT_$LINE"
5856 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5860 eval "$ac_cv_use_stopwatch"
5861 if test "$no_cache" != 1; then
5862 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5865 if test "$wxUSE_STOPWATCH" = yes; then
5866 echo "$as_me:$LINENO: result: yes" >&5
5867 echo "${ECHO_T}yes" >&6
5869 echo "$as_me:$LINENO: result: no" >&5
5870 echo "${ECHO_T}no" >&6
5875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5876 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5878 # Check whether --enable-streams or --disable-streams was given.
5879 if test "${enable_streams+set}" = set; then
5880 enableval="$enable_streams"
5882 if test "$enableval" = yes; then
5883 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5885 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5890 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5891 if test "x$LINE" != x ; then
5892 eval "DEFAULT_$LINE"
5897 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5901 eval "$ac_cv_use_streams"
5902 if test "$no_cache" != 1; then
5903 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5906 if test "$wxUSE_STREAMS" = yes; then
5907 echo "$as_me:$LINENO: result: yes" >&5
5908 echo "${ECHO_T}yes" >&6
5910 echo "$as_me:$LINENO: result: no" >&5
5911 echo "${ECHO_T}no" >&6
5916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5917 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5919 # Check whether --enable-system_options or --disable-system_options was given.
5920 if test "${enable_system_options+set}" = set; then
5921 enableval="$enable_system_options"
5923 if test "$enableval" = yes; then
5924 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5926 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5931 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5932 if test "x$LINE" != x ; then
5933 eval "DEFAULT_$LINE"
5938 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5942 eval "$ac_cv_use_system_options"
5943 if test "$no_cache" != 1; then
5944 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5947 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5948 echo "$as_me:$LINENO: result: yes" >&5
5949 echo "${ECHO_T}yes" >&6
5951 echo "$as_me:$LINENO: result: no" >&5
5952 echo "${ECHO_T}no" >&6
5957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5958 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5960 # Check whether --enable-textbuf or --disable-textbuf was given.
5961 if test "${enable_textbuf+set}" = set; then
5962 enableval="$enable_textbuf"
5964 if test "$enableval" = yes; then
5965 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5967 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5972 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5973 if test "x$LINE" != x ; then
5974 eval "DEFAULT_$LINE"
5979 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5983 eval "$ac_cv_use_textbuf"
5984 if test "$no_cache" != 1; then
5985 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5988 if test "$wxUSE_TEXTBUFFER" = yes; then
5989 echo "$as_me:$LINENO: result: yes" >&5
5990 echo "${ECHO_T}yes" >&6
5992 echo "$as_me:$LINENO: result: no" >&5
5993 echo "${ECHO_T}no" >&6
5998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5999 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6001 # Check whether --enable-textfile or --disable-textfile was given.
6002 if test "${enable_textfile+set}" = set; then
6003 enableval="$enable_textfile"
6005 if test "$enableval" = yes; then
6006 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
6008 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
6013 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6014 if test "x$LINE" != x ; then
6015 eval "DEFAULT_$LINE"
6020 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
6024 eval "$ac_cv_use_textfile"
6025 if test "$no_cache" != 1; then
6026 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6029 if test "$wxUSE_TEXTFILE" = yes; then
6030 echo "$as_me:$LINENO: result: yes" >&5
6031 echo "${ECHO_T}yes" >&6
6033 echo "$as_me:$LINENO: result: no" >&5
6034 echo "${ECHO_T}no" >&6
6039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6040 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6042 # Check whether --enable-timer or --disable-timer was given.
6043 if test "${enable_timer+set}" = set; then
6044 enableval="$enable_timer"
6046 if test "$enableval" = yes; then
6047 ac_cv_use_timer='wxUSE_TIMER
=yes'
6049 ac_cv_use_timer='wxUSE_TIMER
=no
'
6054 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6055 if test "x$LINE" != x ; then
6056 eval "DEFAULT_$LINE"
6061 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
6065 eval "$ac_cv_use_timer"
6066 if test "$no_cache" != 1; then
6067 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6070 if test "$wxUSE_TIMER" = yes; then
6071 echo "$as_me:$LINENO: result: yes" >&5
6072 echo "${ECHO_T}yes" >&6
6074 echo "$as_me:$LINENO: result: no" >&5
6075 echo "${ECHO_T}no" >&6
6080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6081 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6083 # Check whether --enable-unicode or --disable-unicode was given.
6084 if test "${enable_unicode+set}" = set; then
6085 enableval="$enable_unicode"
6087 if test "$enableval" = yes; then
6088 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
6090 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
6095 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6096 if test "x$LINE" != x ; then
6097 eval "DEFAULT_$LINE"
6102 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6106 eval "$ac_cv_use_unicode"
6107 if test "$no_cache" != 1; then
6108 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6111 if test "$wxUSE_UNICODE" = yes; then
6112 echo "$as_me:$LINENO: result: yes" >&5
6113 echo "${ECHO_T}yes" >&6
6115 echo "$as_me:$LINENO: result: no" >&5
6116 echo "${ECHO_T}no" >&6
6121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6122 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6124 # Check whether --enable-sound or --disable-sound was given.
6125 if test "${enable_sound+set}" = set; then
6126 enableval="$enable_sound"
6128 if test "$enableval" = yes; then
6129 ac_cv_use_sound='wxUSE_SOUND
=yes'
6131 ac_cv_use_sound='wxUSE_SOUND
=no
'
6136 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6137 if test "x$LINE" != x ; then
6138 eval "DEFAULT_$LINE"
6143 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6147 eval "$ac_cv_use_sound"
6148 if test "$no_cache" != 1; then
6149 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6152 if test "$wxUSE_SOUND" = yes; then
6153 echo "$as_me:$LINENO: result: yes" >&5
6154 echo "${ECHO_T}yes" >&6
6156 echo "$as_me:$LINENO: result: no" >&5
6157 echo "${ECHO_T}no" >&6
6162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6163 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6165 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6166 if test "${enable_mediactrl+set}" = set; then
6167 enableval="$enable_mediactrl"
6169 if test "$enableval" = yes; then
6170 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6172 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6177 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6178 if test "x$LINE" != x ; then
6179 eval "DEFAULT_$LINE"
6184 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6188 eval "$ac_cv_use_mediactrl"
6189 if test "$no_cache" != 1; then
6190 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6193 if test "$wxUSE_MEDIACTRL" = yes; then
6194 echo "$as_me:$LINENO: result: yes" >&5
6195 echo "${ECHO_T}yes" >&6
6197 echo "$as_me:$LINENO: result: no" >&5
6198 echo "${ECHO_T}no" >&6
6203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6204 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6206 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6207 if test "${enable_wxprintfv+set}" = set; then
6208 enableval="$enable_wxprintfv"
6210 if test "$enableval" = yes; then
6211 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
6213 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
6218 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6219 if test "x$LINE" != x ; then
6220 eval "DEFAULT_$LINE"
6225 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6229 eval "$ac_cv_use_wxprintfv"
6230 if test "$no_cache" != 1; then
6231 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6234 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6235 echo "$as_me:$LINENO: result: yes" >&5
6236 echo "${ECHO_T}yes" >&6
6238 echo "$as_me:$LINENO: result: no" >&5
6239 echo "${ECHO_T}no" >&6
6244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6245 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6247 # Check whether --enable-zipstream or --disable-zipstream was given.
6248 if test "${enable_zipstream+set}" = set; then
6249 enableval="$enable_zipstream"
6251 if test "$enableval" = yes; then
6252 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6254 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6259 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6260 if test "x$LINE" != x ; then
6261 eval "DEFAULT_$LINE"
6266 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6270 eval "$ac_cv_use_zipstream"
6271 if test "$no_cache" != 1; then
6272 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6275 if test "$wxUSE_ZIPSTREAM" = yes; then
6276 echo "$as_me:$LINENO: result: yes" >&5
6277 echo "${ECHO_T}yes" >&6
6279 echo "$as_me:$LINENO: result: no" >&5
6280 echo "${ECHO_T}no" >&6
6286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6287 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6289 # Check whether --enable-url or --disable-url was given.
6290 if test "${enable_url+set}" = set; then
6291 enableval="$enable_url"
6293 if test "$enableval" = yes; then
6294 ac_cv_use_url='wxUSE_URL
=yes'
6296 ac_cv_use_url='wxUSE_URL
=no
'
6301 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6302 if test "x$LINE" != x ; then
6303 eval "DEFAULT_$LINE"
6308 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6312 eval "$ac_cv_use_url"
6313 if test "$no_cache" != 1; then
6314 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6317 if test "$wxUSE_URL" = yes; then
6318 echo "$as_me:$LINENO: result: yes" >&5
6319 echo "${ECHO_T}yes" >&6
6321 echo "$as_me:$LINENO: result: no" >&5
6322 echo "${ECHO_T}no" >&6
6327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6328 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6330 # Check whether --enable-protocol or --disable-protocol was given.
6331 if test "${enable_protocol+set}" = set; then
6332 enableval="$enable_protocol"
6334 if test "$enableval" = yes; then
6335 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6337 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6342 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6343 if test "x$LINE" != x ; then
6344 eval "DEFAULT_$LINE"
6349 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6353 eval "$ac_cv_use_protocol"
6354 if test "$no_cache" != 1; then
6355 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6358 if test "$wxUSE_PROTOCOL" = yes; then
6359 echo "$as_me:$LINENO: result: yes" >&5
6360 echo "${ECHO_T}yes" >&6
6362 echo "$as_me:$LINENO: result: no" >&5
6363 echo "${ECHO_T}no" >&6
6368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6369 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6371 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6372 if test "${enable_protocol_http+set}" = set; then
6373 enableval="$enable_protocol_http"
6375 if test "$enableval" = yes; then
6376 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6378 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6383 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6384 if test "x$LINE" != x ; then
6385 eval "DEFAULT_$LINE"
6390 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6394 eval "$ac_cv_use_protocol_http"
6395 if test "$no_cache" != 1; then
6396 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6399 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6400 echo "$as_me:$LINENO: result: yes" >&5
6401 echo "${ECHO_T}yes" >&6
6403 echo "$as_me:$LINENO: result: no" >&5
6404 echo "${ECHO_T}no" >&6
6409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6412 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6413 if test "${enable_protocol_ftp+set}" = set; then
6414 enableval="$enable_protocol_ftp"
6416 if test "$enableval" = yes; then
6417 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6419 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6424 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x ; then
6426 eval "DEFAULT_$LINE"
6431 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6435 eval "$ac_cv_use_protocol_ftp"
6436 if test "$no_cache" != 1; then
6437 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6440 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6441 echo "$as_me:$LINENO: result: yes" >&5
6442 echo "${ECHO_T}yes" >&6
6444 echo "$as_me:$LINENO: result: no" >&5
6445 echo "${ECHO_T}no" >&6
6450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6451 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6453 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6454 if test "${enable_protocol_file+set}" = set; then
6455 enableval="$enable_protocol_file"
6457 if test "$enableval" = yes; then
6458 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6460 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6465 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6466 if test "x$LINE" != x ; then
6467 eval "DEFAULT_$LINE"
6472 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6476 eval "$ac_cv_use_protocol_file"
6477 if test "$no_cache" != 1; then
6478 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6481 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6482 echo "$as_me:$LINENO: result: yes" >&5
6483 echo "${ECHO_T}yes" >&6
6485 echo "$as_me:$LINENO: result: no" >&5
6486 echo "${ECHO_T}no" >&6
6494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6495 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6497 # Check whether --enable-threads or --disable-threads was given.
6498 if test "${enable_threads+set}" = set; then
6499 enableval="$enable_threads"
6501 if test "$enableval" = yes; then
6502 ac_cv_use_threads='wxUSE_THREADS
=yes'
6504 ac_cv_use_threads='wxUSE_THREADS
=no
'
6509 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6510 if test "x$LINE" != x ; then
6511 eval "DEFAULT_$LINE"
6516 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6520 eval "$ac_cv_use_threads"
6521 if test "$no_cache" != 1; then
6522 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6525 if test "$wxUSE_THREADS" = yes; then
6526 echo "$as_me:$LINENO: result: yes" >&5
6527 echo "${ECHO_T}yes" >&6
6529 echo "$as_me:$LINENO: result: no" >&5
6530 echo "${ECHO_T}no" >&6
6534 if test "$wxUSE_GUI" = "yes"; then
6539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6542 # Check whether --enable-docview or --disable-docview was given.
6543 if test "${enable_docview+set}" = set; then
6544 enableval="$enable_docview"
6546 if test "$enableval" = yes; then
6547 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6549 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6554 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6555 if test "x$LINE" != x ; then
6556 eval "DEFAULT_$LINE"
6561 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6565 eval "$ac_cv_use_docview"
6566 if test "$no_cache" != 1; then
6567 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6570 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6571 echo "$as_me:$LINENO: result: yes" >&5
6572 echo "${ECHO_T}yes" >&6
6574 echo "$as_me:$LINENO: result: no" >&5
6575 echo "${ECHO_T}no" >&6
6580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6581 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6583 # Check whether --enable-help or --disable-help was given.
6584 if test "${enable_help+set}" = set; then
6585 enableval="$enable_help"
6587 if test "$enableval" = yes; then
6588 ac_cv_use_help='wxUSE_HELP
=yes'
6590 ac_cv_use_help='wxUSE_HELP
=no
'
6595 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6596 if test "x$LINE" != x ; then
6597 eval "DEFAULT_$LINE"
6602 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
6606 eval "$ac_cv_use_help"
6607 if test "$no_cache" != 1; then
6608 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6611 if test "$wxUSE_HELP" = yes; then
6612 echo "$as_me:$LINENO: result: yes" >&5
6613 echo "${ECHO_T}yes" >&6
6615 echo "$as_me:$LINENO: result: no" >&5
6616 echo "${ECHO_T}no" >&6
6621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6622 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6624 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6625 if test "${enable_mshtmlhelp+set}" = set; then
6626 enableval="$enable_mshtmlhelp"
6628 if test "$enableval" = yes; then
6629 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
6631 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
6636 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6637 if test "x$LINE" != x ; then
6638 eval "DEFAULT_$LINE"
6643 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
6647 eval "$ac_cv_use_mshtmlhelp"
6648 if test "$no_cache" != 1; then
6649 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6652 if test "$wxUSE_MS_HTML_HELP" = yes; then
6653 echo "$as_me:$LINENO: result: yes" >&5
6654 echo "${ECHO_T}yes" >&6
6656 echo "$as_me:$LINENO: result: no" >&5
6657 echo "${ECHO_T}no" >&6
6662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6663 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6665 # Check whether --enable-html or --disable-html was given.
6666 if test "${enable_html+set}" = set; then
6667 enableval="$enable_html"
6669 if test "$enableval" = yes; then
6670 ac_cv_use_html='wxUSE_HTML
=yes'
6672 ac_cv_use_html='wxUSE_HTML
=no
'
6677 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6678 if test "x$LINE" != x ; then
6679 eval "DEFAULT_$LINE"
6684 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6688 eval "$ac_cv_use_html"
6689 if test "$no_cache" != 1; then
6690 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6693 if test "$wxUSE_HTML" = yes; then
6694 echo "$as_me:$LINENO: result: yes" >&5
6695 echo "${ECHO_T}yes" >&6
6697 echo "$as_me:$LINENO: result: no" >&5
6698 echo "${ECHO_T}no" >&6
6703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6704 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6706 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6707 if test "${enable_htmlhelp+set}" = set; then
6708 enableval="$enable_htmlhelp"
6710 if test "$enableval" = yes; then
6711 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6713 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6718 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6719 if test "x$LINE" != x ; then
6720 eval "DEFAULT_$LINE"
6725 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6729 eval "$ac_cv_use_htmlhelp"
6730 if test "$no_cache" != 1; then
6731 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6734 if test "$wxUSE_WXHTML_HELP" = yes; then
6735 echo "$as_me:$LINENO: result: yes" >&5
6736 echo "${ECHO_T}yes" >&6
6738 echo "$as_me:$LINENO: result: no" >&5
6739 echo "${ECHO_T}no" >&6
6744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6745 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6747 # Check whether --enable-xrc or --disable-xrc was given.
6748 if test "${enable_xrc+set}" = set; then
6749 enableval="$enable_xrc"
6751 if test "$enableval" = yes; then
6752 ac_cv_use_xrc='wxUSE_XRC
=yes'
6754 ac_cv_use_xrc='wxUSE_XRC
=no
'
6759 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6760 if test "x$LINE" != x ; then
6761 eval "DEFAULT_$LINE"
6766 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
6770 eval "$ac_cv_use_xrc"
6771 if test "$no_cache" != 1; then
6772 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6775 if test "$wxUSE_XRC" = yes; then
6776 echo "$as_me:$LINENO: result: yes" >&5
6777 echo "${ECHO_T}yes" >&6
6779 echo "$as_me:$LINENO: result: no" >&5
6780 echo "${ECHO_T}no" >&6
6785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6788 # Check whether --enable-constraints or --disable-constraints was given.
6789 if test "${enable_constraints+set}" = set; then
6790 enableval="$enable_constraints"
6792 if test "$enableval" = yes; then
6793 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6795 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6800 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6801 if test "x$LINE" != x ; then
6802 eval "DEFAULT_$LINE"
6807 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6811 eval "$ac_cv_use_constraints"
6812 if test "$no_cache" != 1; then
6813 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6816 if test "$wxUSE_CONSTRAINTS" = yes; then
6817 echo "$as_me:$LINENO: result: yes" >&5
6818 echo "${ECHO_T}yes" >&6
6820 echo "$as_me:$LINENO: result: no" >&5
6821 echo "${ECHO_T}no" >&6
6826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6827 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6829 # Check whether --enable-printarch or --disable-printarch was given.
6830 if test "${enable_printarch+set}" = set; then
6831 enableval="$enable_printarch"
6833 if test "$enableval" = yes; then
6834 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6836 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6841 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6842 if test "x$LINE" != x ; then
6843 eval "DEFAULT_$LINE"
6848 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6852 eval "$ac_cv_use_printarch"
6853 if test "$no_cache" != 1; then
6854 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6857 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6858 echo "$as_me:$LINENO: result: yes" >&5
6859 echo "${ECHO_T}yes" >&6
6861 echo "$as_me:$LINENO: result: no" >&5
6862 echo "${ECHO_T}no" >&6
6867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6868 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6870 # Check whether --enable-mdi or --disable-mdi was given.
6871 if test "${enable_mdi+set}" = set; then
6872 enableval="$enable_mdi"
6874 if test "$enableval" = yes; then
6875 ac_cv_use_mdi='wxUSE_MDI
=yes'
6877 ac_cv_use_mdi='wxUSE_MDI
=no
'
6882 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6883 if test "x$LINE" != x ; then
6884 eval "DEFAULT_$LINE"
6889 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
6893 eval "$ac_cv_use_mdi"
6894 if test "$no_cache" != 1; then
6895 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6898 if test "$wxUSE_MDI" = yes; then
6899 echo "$as_me:$LINENO: result: yes" >&5
6900 echo "${ECHO_T}yes" >&6
6902 echo "$as_me:$LINENO: result: no" >&5
6903 echo "${ECHO_T}no" >&6
6908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6909 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6911 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6912 if test "${enable_mdidoc+set}" = set; then
6913 enableval="$enable_mdidoc"
6915 if test "$enableval" = yes; then
6916 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
6918 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
6923 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6924 if test "x$LINE" != x ; then
6925 eval "DEFAULT_$LINE"
6930 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6934 eval "$ac_cv_use_mdidoc"
6935 if test "$no_cache" != 1; then
6936 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6939 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6940 echo "$as_me:$LINENO: result: yes" >&5
6941 echo "${ECHO_T}yes" >&6
6943 echo "$as_me:$LINENO: result: no" >&5
6944 echo "${ECHO_T}no" >&6
6949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6950 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6952 # Check whether --enable-loggui or --disable-loggui was given.
6953 if test "${enable_loggui+set}" = set; then
6954 enableval="$enable_loggui"
6956 if test "$enableval" = yes; then
6957 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6959 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6964 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6965 if test "x$LINE" != x ; then
6966 eval "DEFAULT_$LINE"
6971 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6975 eval "$ac_cv_use_loggui"
6976 if test "$no_cache" != 1; then
6977 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6980 if test "$wxUSE_LOGGUI" = yes; then
6981 echo "$as_me:$LINENO: result: yes" >&5
6982 echo "${ECHO_T}yes" >&6
6984 echo "$as_me:$LINENO: result: no" >&5
6985 echo "${ECHO_T}no" >&6
6990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6991 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6993 # Check whether --enable-logwin or --disable-logwin was given.
6994 if test "${enable_logwin+set}" = set; then
6995 enableval="$enable_logwin"
6997 if test "$enableval" = yes; then
6998 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
7000 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
7005 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7006 if test "x$LINE" != x ; then
7007 eval "DEFAULT_$LINE"
7012 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
7016 eval "$ac_cv_use_logwin"
7017 if test "$no_cache" != 1; then
7018 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7021 if test "$wxUSE_LOGWINDOW" = yes; then
7022 echo "$as_me:$LINENO: result: yes" >&5
7023 echo "${ECHO_T}yes" >&6
7025 echo "$as_me:$LINENO: result: no" >&5
7026 echo "${ECHO_T}no" >&6
7031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7032 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7034 # Check whether --enable-logdialog or --disable-logdialog was given.
7035 if test "${enable_logdialog+set}" = set; then
7036 enableval="$enable_logdialog"
7038 if test "$enableval" = yes; then
7039 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
7041 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
7046 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7047 if test "x$LINE" != x ; then
7048 eval "DEFAULT_$LINE"
7053 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
7057 eval "$ac_cv_use_logdialog"
7058 if test "$no_cache" != 1; then
7059 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7062 if test "$wxUSE_LOGDIALOG" = yes; then
7063 echo "$as_me:$LINENO: result: yes" >&5
7064 echo "${ECHO_T}yes" >&6
7066 echo "$as_me:$LINENO: result: no" >&5
7067 echo "${ECHO_T}no" >&6
7072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7073 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7075 # Check whether --enable-webkit or --disable-webkit was given.
7076 if test "${enable_webkit+set}" = set; then
7077 enableval="$enable_webkit"
7079 if test "$enableval" = yes; then
7080 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
7082 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
7087 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7088 if test "x$LINE" != x ; then
7089 eval "DEFAULT_$LINE"
7094 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
7098 eval "$ac_cv_use_webkit"
7099 if test "$no_cache" != 1; then
7100 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7103 if test "$wxUSE_WEBKIT" = yes; then
7104 echo "$as_me:$LINENO: result: yes" >&5
7105 echo "${ECHO_T}yes" >&6
7107 echo "$as_me:$LINENO: result: no" >&5
7108 echo "${ECHO_T}no" >&6
7113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7114 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7116 # Check whether --enable-html or --disable-html was given.
7117 if test "${enable_html+set}" = set; then
7118 enableval="$enable_html"
7120 if test "$enableval" = yes; then
7121 ac_cv_use_html='wxUSE_RICHTEXT
=yes'
7123 ac_cv_use_html='wxUSE_RICHTEXT
=no
'
7128 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7129 if test "x$LINE" != x ; then
7130 eval "DEFAULT_$LINE"
7135 ac_cv_use_html='wxUSE_RICHTEXT
='$DEFAULT_wxUSE_RICHTEXT
7139 eval "$ac_cv_use_html"
7140 if test "$no_cache" != 1; then
7141 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7144 if test "$wxUSE_RICHTEXT" = yes; then
7145 echo "$as_me:$LINENO: result: yes" >&5
7146 echo "${ECHO_T}yes" >&6
7148 echo "$as_me:$LINENO: result: no" >&5
7149 echo "${ECHO_T}no" >&6
7155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7156 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7158 # Check whether --enable-postscript or --disable-postscript was given.
7159 if test "${enable_postscript+set}" = set; then
7160 enableval="$enable_postscript"
7162 if test "$enableval" = yes; then
7163 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7165 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7170 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7171 if test "x$LINE" != x ; then
7172 eval "DEFAULT_$LINE"
7177 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7181 eval "$ac_cv_use_postscript"
7182 if test "$no_cache" != 1; then
7183 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7186 if test "$wxUSE_POSTSCRIPT" = yes; then
7187 echo "$as_me:$LINENO: result: yes" >&5
7188 echo "${ECHO_T}yes" >&6
7190 echo "$as_me:$LINENO: result: no" >&5
7191 echo "${ECHO_T}no" >&6
7199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7200 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7202 # Check whether --enable-prologio or --disable-prologio was given.
7203 if test "${enable_prologio+set}" = set; then
7204 enableval="$enable_prologio"
7206 if test "$enableval" = yes; then
7207 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7209 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7214 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7215 if test "x$LINE" != x ; then
7216 eval "DEFAULT_$LINE"
7221 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7225 eval "$ac_cv_use_prologio"
7226 if test "$no_cache" != 1; then
7227 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7230 if test "$wxUSE_PROLOGIO" = yes; then
7231 echo "$as_me:$LINENO: result: yes" >&5
7232 echo "${ECHO_T}yes" >&6
7234 echo "$as_me:$LINENO: result: no" >&5
7235 echo "${ECHO_T}no" >&6
7240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7241 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7243 # Check whether --enable-resources or --disable-resources was given.
7244 if test "${enable_resources+set}" = set; then
7245 enableval="$enable_resources"
7247 if test "$enableval" = yes; then
7248 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7250 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7255 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7256 if test "x$LINE" != x ; then
7257 eval "DEFAULT_$LINE"
7262 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7266 eval "$ac_cv_use_resources"
7267 if test "$no_cache" != 1; then
7268 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7271 if test "$wxUSE_RESOURCES" = yes; then
7272 echo "$as_me:$LINENO: result: yes" >&5
7273 echo "${ECHO_T}yes" >&6
7275 echo "$as_me:$LINENO: result: no" >&5
7276 echo "${ECHO_T}no" >&6
7283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7286 # Check whether --enable-clipboard or --disable-clipboard was given.
7287 if test "${enable_clipboard+set}" = set; then
7288 enableval="$enable_clipboard"
7290 if test "$enableval" = yes; then
7291 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7293 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7298 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7299 if test "x$LINE" != x ; then
7300 eval "DEFAULT_$LINE"
7305 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7309 eval "$ac_cv_use_clipboard"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7314 if test "$wxUSE_CLIPBOARD" = yes; then
7315 echo "$as_me:$LINENO: result: yes" >&5
7316 echo "${ECHO_T}yes" >&6
7318 echo "$as_me:$LINENO: result: no" >&5
7319 echo "${ECHO_T}no" >&6
7324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7325 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7327 # Check whether --enable-dnd or --disable-dnd was given.
7328 if test "${enable_dnd+set}" = set; then
7329 enableval="$enable_dnd"
7331 if test "$enableval" = yes; then
7332 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7334 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7339 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7340 if test "x$LINE" != x ; then
7341 eval "DEFAULT_$LINE"
7346 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7350 eval "$ac_cv_use_dnd"
7351 if test "$no_cache" != 1; then
7352 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7355 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7356 echo "$as_me:$LINENO: result: yes" >&5
7357 echo "${ECHO_T}yes" >&6
7359 echo "$as_me:$LINENO: result: no" >&5
7360 echo "${ECHO_T}no" >&6
7365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7368 # Check whether --enable-metafile or --disable-metafile was given.
7369 if test "${enable_metafile+set}" = set; then
7370 enableval="$enable_metafile"
7372 if test "$enableval" = yes; then
7373 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7375 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7380 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7381 if test "x$LINE" != x ; then
7382 eval "DEFAULT_$LINE"
7387 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7391 eval "$ac_cv_use_metafile"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7396 if test "$wxUSE_METAFILE" = yes; then
7397 echo "$as_me:$LINENO: result: yes" >&5
7398 echo "${ECHO_T}yes" >&6
7400 echo "$as_me:$LINENO: result: no" >&5
7401 echo "${ECHO_T}no" >&6
7409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7410 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7412 # Check whether --enable-controls or --disable-controls was given.
7413 if test "${enable_controls+set}" = set; then
7414 enableval="$enable_controls"
7416 if test "$enableval" = yes; then
7417 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7419 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7424 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7425 if test "x$LINE" != x ; then
7426 eval "DEFAULT_$LINE"
7431 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7435 eval "$ac_cv_use_controls"
7436 if test "$no_cache" != 1; then
7437 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7440 if test "$wxUSE_CONTROLS" = yes; then
7441 echo "$as_me:$LINENO: result: yes" >&5
7442 echo "${ECHO_T}yes" >&6
7444 echo "$as_me:$LINENO: result: no" >&5
7445 echo "${ECHO_T}no" >&6
7449 if test "$wxUSE_CONTROLS" = "yes"; then
7450 DEFAULT_wxUSE_ACCEL=yes
7451 DEFAULT_wxUSE_BMPBUTTON=yes
7452 DEFAULT_wxUSE_BUTTON=yes
7453 DEFAULT_wxUSE_CALCTRL=yes
7454 DEFAULT_wxUSE_CARET=yes
7455 DEFAULT_wxUSE_COMBOBOX=yes
7456 DEFAULT_wxUSE_CHECKBOX=yes
7457 DEFAULT_wxUSE_CHECKLISTBOX=yes
7458 DEFAULT_wxUSE_CHOICE=yes
7459 DEFAULT_wxUSE_CHOICEBOOK=yes
7460 DEFAULT_wxUSE_DATEPICKCTRL=yes
7461 DEFAULT_wxUSE_GAUGE=yes
7462 DEFAULT_wxUSE_GRID=yes
7463 DEFAULT_wxUSE_DATAVIEWCTRL=no
7464 DEFAULT_wxUSE_IMAGLIST=yes
7465 DEFAULT_wxUSE_LISTBOOK=yes
7466 DEFAULT_wxUSE_LISTBOX=yes
7467 DEFAULT_wxUSE_LISTCTRL=yes
7468 DEFAULT_wxUSE_NOTEBOOK=yes
7469 DEFAULT_wxUSE_RADIOBOX=yes
7470 DEFAULT_wxUSE_RADIOBTN=yes
7471 DEFAULT_wxUSE_SASH=yes
7472 DEFAULT_wxUSE_SCROLLBAR=yes
7473 DEFAULT_wxUSE_SLIDER=yes
7474 DEFAULT_wxUSE_SPINBTN=yes
7475 DEFAULT_wxUSE_SPINCTRL=yes
7476 DEFAULT_wxUSE_SPLITTER=yes
7477 DEFAULT_wxUSE_STATBMP=yes
7478 DEFAULT_wxUSE_STATBOX=yes
7479 DEFAULT_wxUSE_STATLINE=yes
7480 DEFAULT_wxUSE_STATUSBAR=yes
7481 DEFAULT_wxUSE_TAB_DIALOG=yes
7482 DEFAULT_wxUSE_TOGGLEBTN=yes
7483 DEFAULT_wxUSE_TOOLBAR=yes
7484 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7485 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7486 DEFAULT_wxUSE_TOOLTIPS=yes
7487 DEFAULT_wxUSE_TREEBOOK=yes
7488 DEFAULT_wxUSE_TOOLBOOK=yes
7489 DEFAULT_wxUSE_TREECTRL=yes
7490 DEFAULT_wxUSE_POPUPWIN=yes
7491 DEFAULT_wxUSE_TIPWINDOW=yes
7492 elif test "$wxUSE_CONTROLS" = "no"; then
7493 DEFAULT_wxUSE_ACCEL=no
7494 DEFAULT_wxUSE_BMPBUTTON=no
7495 DEFAULT_wxUSE_BUTTON=no
7496 DEFAULT_wxUSE_CALCTRL=no
7497 DEFAULT_wxUSE_CARET=no
7498 DEFAULT_wxUSE_COMBOBOX=no
7499 DEFAULT_wxUSE_CHECKBOX=no
7500 DEFAULT_wxUSE_CHECKLISTBOX=no
7501 DEFAULT_wxUSE_CHOICE=no
7502 DEFAULT_wxUSE_CHOICEBOOK=no
7503 DEFAULT_wxUSE_DATEPICKCTRL=no
7504 DEFAULT_wxUSE_GAUGE=no
7505 DEFAULT_wxUSE_GRID=no
7506 DEFAULT_wxUSE_DATAVIEWCTRL=no
7507 DEFAULT_wxUSE_IMAGLIST=no
7508 DEFAULT_wxUSE_LISTBOOK=no
7509 DEFAULT_wxUSE_LISTBOX=no
7510 DEFAULT_wxUSE_LISTCTRL=no
7511 DEFAULT_wxUSE_NOTEBOOK=no
7512 DEFAULT_wxUSE_RADIOBOX=no
7513 DEFAULT_wxUSE_RADIOBTN=no
7514 DEFAULT_wxUSE_SASH=no
7515 DEFAULT_wxUSE_SCROLLBAR=no
7516 DEFAULT_wxUSE_SLIDER=no
7517 DEFAULT_wxUSE_SPINBTN=no
7518 DEFAULT_wxUSE_SPINCTRL=no
7519 DEFAULT_wxUSE_SPLITTER=no
7520 DEFAULT_wxUSE_STATBMP=no
7521 DEFAULT_wxUSE_STATBOX=no
7522 DEFAULT_wxUSE_STATLINE=no
7523 DEFAULT_wxUSE_STATUSBAR=no
7524 DEFAULT_wxUSE_TAB_DIALOG=no
7525 DEFAULT_wxUSE_TOGGLEBTN=no
7526 DEFAULT_wxUSE_TOOLBAR=no
7527 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7528 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7529 DEFAULT_wxUSE_TOOLTIPS=no
7530 DEFAULT_wxUSE_TREEBOOK=no
7531 DEFAULT_wxUSE_TOOLBOOK=no
7532 DEFAULT_wxUSE_TREECTRL=no
7533 DEFAULT_wxUSE_POPUPWIN=no
7534 DEFAULT_wxUSE_TIPWINDOW=no
7539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7540 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7542 # Check whether --enable-accel or --disable-accel was given.
7543 if test "${enable_accel+set}" = set; then
7544 enableval="$enable_accel"
7546 if test "$enableval" = yes; then
7547 ac_cv_use_accel='wxUSE_ACCEL
=yes'
7549 ac_cv_use_accel='wxUSE_ACCEL
=no
'
7554 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7555 if test "x$LINE" != x ; then
7556 eval "DEFAULT_$LINE"
7561 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
7565 eval "$ac_cv_use_accel"
7566 if test "$no_cache" != 1; then
7567 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7570 if test "$wxUSE_ACCEL" = yes; then
7571 echo "$as_me:$LINENO: result: yes" >&5
7572 echo "${ECHO_T}yes" >&6
7574 echo "$as_me:$LINENO: result: no" >&5
7575 echo "${ECHO_T}no" >&6
7580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7581 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7583 # Check whether --enable-button or --disable-button was given.
7584 if test "${enable_button+set}" = set; then
7585 enableval="$enable_button"
7587 if test "$enableval" = yes; then
7588 ac_cv_use_button='wxUSE_BUTTON
=yes'
7590 ac_cv_use_button='wxUSE_BUTTON
=no
'
7595 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7596 if test "x$LINE" != x ; then
7597 eval "DEFAULT_$LINE"
7602 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
7606 eval "$ac_cv_use_button"
7607 if test "$no_cache" != 1; then
7608 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7611 if test "$wxUSE_BUTTON" = yes; then
7612 echo "$as_me:$LINENO: result: yes" >&5
7613 echo "${ECHO_T}yes" >&6
7615 echo "$as_me:$LINENO: result: no" >&5
7616 echo "${ECHO_T}no" >&6
7621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7624 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7625 if test "${enable_bmpbutton+set}" = set; then
7626 enableval="$enable_bmpbutton"
7628 if test "$enableval" = yes; then
7629 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
7631 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
7636 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7637 if test "x$LINE" != x ; then
7638 eval "DEFAULT_$LINE"
7643 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
7647 eval "$ac_cv_use_bmpbutton"
7648 if test "$no_cache" != 1; then
7649 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7652 if test "$wxUSE_BMPBUTTON" = yes; then
7653 echo "$as_me:$LINENO: result: yes" >&5
7654 echo "${ECHO_T}yes" >&6
7656 echo "$as_me:$LINENO: result: no" >&5
7657 echo "${ECHO_T}no" >&6
7662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7663 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7665 # Check whether --enable-calendar or --disable-calendar was given.
7666 if test "${enable_calendar+set}" = set; then
7667 enableval="$enable_calendar"
7669 if test "$enableval" = yes; then
7670 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
7672 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
7677 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7678 if test "x$LINE" != x ; then
7679 eval "DEFAULT_$LINE"
7684 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
7688 eval "$ac_cv_use_calendar"
7689 if test "$no_cache" != 1; then
7690 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7693 if test "$wxUSE_CALCTRL" = yes; then
7694 echo "$as_me:$LINENO: result: yes" >&5
7695 echo "${ECHO_T}yes" >&6
7697 echo "$as_me:$LINENO: result: no" >&5
7698 echo "${ECHO_T}no" >&6
7703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7706 # Check whether --enable-caret or --disable-caret was given.
7707 if test "${enable_caret+set}" = set; then
7708 enableval="$enable_caret"
7710 if test "$enableval" = yes; then
7711 ac_cv_use_caret='wxUSE_CARET
=yes'
7713 ac_cv_use_caret='wxUSE_CARET
=no
'
7718 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7719 if test "x$LINE" != x ; then
7720 eval "DEFAULT_$LINE"
7725 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
7729 eval "$ac_cv_use_caret"
7730 if test "$no_cache" != 1; then
7731 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7734 if test "$wxUSE_CARET" = yes; then
7735 echo "$as_me:$LINENO: result: yes" >&5
7736 echo "${ECHO_T}yes" >&6
7738 echo "$as_me:$LINENO: result: no" >&5
7739 echo "${ECHO_T}no" >&6
7744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7745 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7747 # Check whether --enable-checkbox or --disable-checkbox was given.
7748 if test "${enable_checkbox+set}" = set; then
7749 enableval="$enable_checkbox"
7751 if test "$enableval" = yes; then
7752 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
7754 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
7759 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7760 if test "x$LINE" != x ; then
7761 eval "DEFAULT_$LINE"
7766 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
7770 eval "$ac_cv_use_checkbox"
7771 if test "$no_cache" != 1; then
7772 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7775 if test "$wxUSE_CHECKBOX" = yes; then
7776 echo "$as_me:$LINENO: result: yes" >&5
7777 echo "${ECHO_T}yes" >&6
7779 echo "$as_me:$LINENO: result: no" >&5
7780 echo "${ECHO_T}no" >&6
7785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7788 # Check whether --enable-checklst or --disable-checklst was given.
7789 if test "${enable_checklst+set}" = set; then
7790 enableval="$enable_checklst"
7792 if test "$enableval" = yes; then
7793 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7795 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7800 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7801 if test "x$LINE" != x ; then
7802 eval "DEFAULT_$LINE"
7807 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7811 eval "$ac_cv_use_checklst"
7812 if test "$no_cache" != 1; then
7813 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7816 if test "$wxUSE_CHECKLST" = yes; then
7817 echo "$as_me:$LINENO: result: yes" >&5
7818 echo "${ECHO_T}yes" >&6
7820 echo "$as_me:$LINENO: result: no" >&5
7821 echo "${ECHO_T}no" >&6
7826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7827 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7829 # Check whether --enable-choice or --disable-choice was given.
7830 if test "${enable_choice+set}" = set; then
7831 enableval="$enable_choice"
7833 if test "$enableval" = yes; then
7834 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7836 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7841 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x ; then
7843 eval "DEFAULT_$LINE"
7848 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7852 eval "$ac_cv_use_choice"
7853 if test "$no_cache" != 1; then
7854 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7857 if test "$wxUSE_CHOICE" = yes; then
7858 echo "$as_me:$LINENO: result: yes" >&5
7859 echo "${ECHO_T}yes" >&6
7861 echo "$as_me:$LINENO: result: no" >&5
7862 echo "${ECHO_T}no" >&6
7867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7868 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7870 # Check whether --enable-choicebook or --disable-choicebook was given.
7871 if test "${enable_choicebook+set}" = set; then
7872 enableval="$enable_choicebook"
7874 if test "$enableval" = yes; then
7875 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
7877 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
7882 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x ; then
7884 eval "DEFAULT_$LINE"
7889 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
7893 eval "$ac_cv_use_choicebook"
7894 if test "$no_cache" != 1; then
7895 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7898 if test "$wxUSE_CHOICEBOOK" = yes; then
7899 echo "$as_me:$LINENO: result: yes" >&5
7900 echo "${ECHO_T}yes" >&6
7902 echo "$as_me:$LINENO: result: no" >&5
7903 echo "${ECHO_T}no" >&6
7908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7909 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7911 # Check whether --enable-combobox or --disable-combobox was given.
7912 if test "${enable_combobox+set}" = set; then
7913 enableval="$enable_combobox"
7915 if test "$enableval" = yes; then
7916 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7918 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7923 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7924 if test "x$LINE" != x ; then
7925 eval "DEFAULT_$LINE"
7930 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7934 eval "$ac_cv_use_combobox"
7935 if test "$no_cache" != 1; then
7936 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7939 if test "$wxUSE_COMBOBOX" = yes; then
7940 echo "$as_me:$LINENO: result: yes" >&5
7941 echo "${ECHO_T}yes" >&6
7943 echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6
7949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7952 # Check whether --enable-datepick or --disable-datepick was given.
7953 if test "${enable_datepick+set}" = set; then
7954 enableval="$enable_datepick"
7956 if test "$enableval" = yes; then
7957 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
7959 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
7964 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7965 if test "x$LINE" != x ; then
7966 eval "DEFAULT_$LINE"
7971 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
7975 eval "$ac_cv_use_datepick"
7976 if test "$no_cache" != 1; then
7977 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7980 if test "$wxUSE_DATEPICKCTRL" = yes; then
7981 echo "$as_me:$LINENO: result: yes" >&5
7982 echo "${ECHO_T}yes" >&6
7984 echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6
7990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7991 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7993 # Check whether --enable-display or --disable-display was given.
7994 if test "${enable_display+set}" = set; then
7995 enableval="$enable_display"
7997 if test "$enableval" = yes; then
7998 ac_cv_use_display='wxUSE_DISPLAY
=yes'
8000 ac_cv_use_display='wxUSE_DISPLAY
=no
'
8005 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8006 if test "x$LINE" != x ; then
8007 eval "DEFAULT_$LINE"
8012 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
8016 eval "$ac_cv_use_display"
8017 if test "$no_cache" != 1; then
8018 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8021 if test "$wxUSE_DISPLAY" = yes; then
8022 echo "$as_me:$LINENO: result: yes" >&5
8023 echo "${ECHO_T}yes" >&6
8025 echo "$as_me:$LINENO: result: no" >&5
8026 echo "${ECHO_T}no" >&6
8031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8032 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8034 # Check whether --enable-gauge or --disable-gauge was given.
8035 if test "${enable_gauge+set}" = set; then
8036 enableval="$enable_gauge"
8038 if test "$enableval" = yes; then
8039 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
8041 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
8046 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8047 if test "x$LINE" != x ; then
8048 eval "DEFAULT_$LINE"
8053 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
8057 eval "$ac_cv_use_gauge"
8058 if test "$no_cache" != 1; then
8059 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8062 if test "$wxUSE_GAUGE" = yes; then
8063 echo "$as_me:$LINENO: result: yes" >&5
8064 echo "${ECHO_T}yes" >&6
8066 echo "$as_me:$LINENO: result: no" >&5
8067 echo "${ECHO_T}no" >&6
8072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8073 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8075 # Check whether --enable-grid or --disable-grid was given.
8076 if test "${enable_grid+set}" = set; then
8077 enableval="$enable_grid"
8079 if test "$enableval" = yes; then
8080 ac_cv_use_grid='wxUSE_GRID
=yes'
8082 ac_cv_use_grid='wxUSE_GRID
=no
'
8087 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8088 if test "x$LINE" != x ; then
8089 eval "DEFAULT_$LINE"
8094 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
8098 eval "$ac_cv_use_grid"
8099 if test "$no_cache" != 1; then
8100 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8103 if test "$wxUSE_GRID" = yes; then
8104 echo "$as_me:$LINENO: result: yes" >&5
8105 echo "${ECHO_T}yes" >&6
8107 echo "$as_me:$LINENO: result: no" >&5
8108 echo "${ECHO_T}no" >&6
8113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8114 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8116 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8117 if test "${enable_dataviewctrl+set}" = set; then
8118 enableval="$enable_dataviewctrl"
8120 if test "$enableval" = yes; then
8121 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
8123 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
8128 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8129 if test "x$LINE" != x ; then
8130 eval "DEFAULT_$LINE"
8135 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
='$DEFAULT_wxUSE_DATAVIEWCTRL
8139 eval "$ac_cv_use_dataviewctrl"
8140 if test "$no_cache" != 1; then
8141 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8144 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8145 echo "$as_me:$LINENO: result: yes" >&5
8146 echo "${ECHO_T}yes" >&6
8148 echo "$as_me:$LINENO: result: no" >&5
8149 echo "${ECHO_T}no" >&6
8154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8155 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8157 # Check whether --enable-imaglist or --disable-imaglist was given.
8158 if test "${enable_imaglist+set}" = set; then
8159 enableval="$enable_imaglist"
8161 if test "$enableval" = yes; then
8162 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
8164 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
8169 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8170 if test "x$LINE" != x ; then
8171 eval "DEFAULT_$LINE"
8176 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
8180 eval "$ac_cv_use_imaglist"
8181 if test "$no_cache" != 1; then
8182 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8185 if test "$wxUSE_IMAGLIST" = yes; then
8186 echo "$as_me:$LINENO: result: yes" >&5
8187 echo "${ECHO_T}yes" >&6
8189 echo "$as_me:$LINENO: result: no" >&5
8190 echo "${ECHO_T}no" >&6
8195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8198 # Check whether --enable-listbook or --disable-listbook was given.
8199 if test "${enable_listbook+set}" = set; then
8200 enableval="$enable_listbook"
8202 if test "$enableval" = yes; then
8203 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
8205 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
8210 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8211 if test "x$LINE" != x ; then
8212 eval "DEFAULT_$LINE"
8217 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
8221 eval "$ac_cv_use_listbook"
8222 if test "$no_cache" != 1; then
8223 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8226 if test "$wxUSE_LISTBOOK" = yes; then
8227 echo "$as_me:$LINENO: result: yes" >&5
8228 echo "${ECHO_T}yes" >&6
8230 echo "$as_me:$LINENO: result: no" >&5
8231 echo "${ECHO_T}no" >&6
8236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8239 # Check whether --enable-listbox or --disable-listbox was given.
8240 if test "${enable_listbox+set}" = set; then
8241 enableval="$enable_listbox"
8243 if test "$enableval" = yes; then
8244 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
8246 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
8251 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8252 if test "x$LINE" != x ; then
8253 eval "DEFAULT_$LINE"
8258 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
8262 eval "$ac_cv_use_listbox"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8267 if test "$wxUSE_LISTBOX" = yes; then
8268 echo "$as_me:$LINENO: result: yes" >&5
8269 echo "${ECHO_T}yes" >&6
8271 echo "$as_me:$LINENO: result: no" >&5
8272 echo "${ECHO_T}no" >&6
8277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8278 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8280 # Check whether --enable-listctrl or --disable-listctrl was given.
8281 if test "${enable_listctrl+set}" = set; then
8282 enableval="$enable_listctrl"
8284 if test "$enableval" = yes; then
8285 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
8287 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
8292 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8293 if test "x$LINE" != x ; then
8294 eval "DEFAULT_$LINE"
8299 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
8303 eval "$ac_cv_use_listctrl"
8304 if test "$no_cache" != 1; then
8305 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8308 if test "$wxUSE_LISTCTRL" = yes; then
8309 echo "$as_me:$LINENO: result: yes" >&5
8310 echo "${ECHO_T}yes" >&6
8312 echo "$as_me:$LINENO: result: no" >&5
8313 echo "${ECHO_T}no" >&6
8318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8321 # Check whether --enable-notebook or --disable-notebook was given.
8322 if test "${enable_notebook+set}" = set; then
8323 enableval="$enable_notebook"
8325 if test "$enableval" = yes; then
8326 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
8328 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
8333 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8334 if test "x$LINE" != x ; then
8335 eval "DEFAULT_$LINE"
8340 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
8344 eval "$ac_cv_use_notebook"
8345 if test "$no_cache" != 1; then
8346 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8349 if test "$wxUSE_NOTEBOOK" = yes; then
8350 echo "$as_me:$LINENO: result: yes" >&5
8351 echo "${ECHO_T}yes" >&6
8353 echo "$as_me:$LINENO: result: no" >&5
8354 echo "${ECHO_T}no" >&6
8359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8362 # Check whether --enable-radiobox or --disable-radiobox was given.
8363 if test "${enable_radiobox+set}" = set; then
8364 enableval="$enable_radiobox"
8366 if test "$enableval" = yes; then
8367 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
8369 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
8374 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8375 if test "x$LINE" != x ; then
8376 eval "DEFAULT_$LINE"
8381 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
8385 eval "$ac_cv_use_radiobox"
8386 if test "$no_cache" != 1; then
8387 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8390 if test "$wxUSE_RADIOBOX" = yes; then
8391 echo "$as_me:$LINENO: result: yes" >&5
8392 echo "${ECHO_T}yes" >&6
8394 echo "$as_me:$LINENO: result: no" >&5
8395 echo "${ECHO_T}no" >&6
8400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8401 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8403 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8404 if test "${enable_radiobtn+set}" = set; then
8405 enableval="$enable_radiobtn"
8407 if test "$enableval" = yes; then
8408 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
8410 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
8415 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8416 if test "x$LINE" != x ; then
8417 eval "DEFAULT_$LINE"
8422 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
8426 eval "$ac_cv_use_radiobtn"
8427 if test "$no_cache" != 1; then
8428 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8431 if test "$wxUSE_RADIOBTN" = yes; then
8432 echo "$as_me:$LINENO: result: yes" >&5
8433 echo "${ECHO_T}yes" >&6
8435 echo "$as_me:$LINENO: result: no" >&5
8436 echo "${ECHO_T}no" >&6
8441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8444 # Check whether --enable-sash or --disable-sash was given.
8445 if test "${enable_sash+set}" = set; then
8446 enableval="$enable_sash"
8448 if test "$enableval" = yes; then
8449 ac_cv_use_sash='wxUSE_SASH
=yes'
8451 ac_cv_use_sash='wxUSE_SASH
=no
'
8456 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8457 if test "x$LINE" != x ; then
8458 eval "DEFAULT_$LINE"
8463 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
8467 eval "$ac_cv_use_sash"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8472 if test "$wxUSE_SASH" = yes; then
8473 echo "$as_me:$LINENO: result: yes" >&5
8474 echo "${ECHO_T}yes" >&6
8476 echo "$as_me:$LINENO: result: no" >&5
8477 echo "${ECHO_T}no" >&6
8482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8485 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8486 if test "${enable_scrollbar+set}" = set; then
8487 enableval="$enable_scrollbar"
8489 if test "$enableval" = yes; then
8490 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
8492 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
8497 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8498 if test "x$LINE" != x ; then
8499 eval "DEFAULT_$LINE"
8504 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
8508 eval "$ac_cv_use_scrollbar"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8513 if test "$wxUSE_SCROLLBAR" = yes; then
8514 echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6
8517 echo "$as_me:$LINENO: result: no" >&5
8518 echo "${ECHO_T}no" >&6
8523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8526 # Check whether --enable-slider or --disable-slider was given.
8527 if test "${enable_slider+set}" = set; then
8528 enableval="$enable_slider"
8530 if test "$enableval" = yes; then
8531 ac_cv_use_slider='wxUSE_SLIDER
=yes'
8533 ac_cv_use_slider='wxUSE_SLIDER
=no
'
8538 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8539 if test "x$LINE" != x ; then
8540 eval "DEFAULT_$LINE"
8545 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
8549 eval "$ac_cv_use_slider"
8550 if test "$no_cache" != 1; then
8551 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8554 if test "$wxUSE_SLIDER" = yes; then
8555 echo "$as_me:$LINENO: result: yes" >&5
8556 echo "${ECHO_T}yes" >&6
8558 echo "$as_me:$LINENO: result: no" >&5
8559 echo "${ECHO_T}no" >&6
8564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8567 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8568 if test "${enable_spinbtn+set}" = set; then
8569 enableval="$enable_spinbtn"
8571 if test "$enableval" = yes; then
8572 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
8574 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
8579 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8580 if test "x$LINE" != x ; then
8581 eval "DEFAULT_$LINE"
8586 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
8590 eval "$ac_cv_use_spinbtn"
8591 if test "$no_cache" != 1; then
8592 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8595 if test "$wxUSE_SPINBTN" = yes; then
8596 echo "$as_me:$LINENO: result: yes" >&5
8597 echo "${ECHO_T}yes" >&6
8599 echo "$as_me:$LINENO: result: no" >&5
8600 echo "${ECHO_T}no" >&6
8605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8606 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8608 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8609 if test "${enable_spinctrl+set}" = set; then
8610 enableval="$enable_spinctrl"
8612 if test "$enableval" = yes; then
8613 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
8615 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
8620 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x ; then
8622 eval "DEFAULT_$LINE"
8627 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
8631 eval "$ac_cv_use_spinctrl"
8632 if test "$no_cache" != 1; then
8633 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8636 if test "$wxUSE_SPINCTRL" = yes; then
8637 echo "$as_me:$LINENO: result: yes" >&5
8638 echo "${ECHO_T}yes" >&6
8640 echo "$as_me:$LINENO: result: no" >&5
8641 echo "${ECHO_T}no" >&6
8646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8649 # Check whether --enable-splitter or --disable-splitter was given.
8650 if test "${enable_splitter+set}" = set; then
8651 enableval="$enable_splitter"
8653 if test "$enableval" = yes; then
8654 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
8656 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
8661 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x ; then
8663 eval "DEFAULT_$LINE"
8668 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
8672 eval "$ac_cv_use_splitter"
8673 if test "$no_cache" != 1; then
8674 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8677 if test "$wxUSE_SPLITTER" = yes; then
8678 echo "$as_me:$LINENO: result: yes" >&5
8679 echo "${ECHO_T}yes" >&6
8681 echo "$as_me:$LINENO: result: no" >&5
8682 echo "${ECHO_T}no" >&6
8687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8688 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8690 # Check whether --enable-statbmp or --disable-statbmp was given.
8691 if test "${enable_statbmp+set}" = set; then
8692 enableval="$enable_statbmp"
8694 if test "$enableval" = yes; then
8695 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
8697 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
8702 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8703 if test "x$LINE" != x ; then
8704 eval "DEFAULT_$LINE"
8709 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
8713 eval "$ac_cv_use_statbmp"
8714 if test "$no_cache" != 1; then
8715 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8718 if test "$wxUSE_STATBMP" = yes; then
8719 echo "$as_me:$LINENO: result: yes" >&5
8720 echo "${ECHO_T}yes" >&6
8722 echo "$as_me:$LINENO: result: no" >&5
8723 echo "${ECHO_T}no" >&6
8728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8731 # Check whether --enable-statbox or --disable-statbox was given.
8732 if test "${enable_statbox+set}" = set; then
8733 enableval="$enable_statbox"
8735 if test "$enableval" = yes; then
8736 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
8738 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
8743 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8744 if test "x$LINE" != x ; then
8745 eval "DEFAULT_$LINE"
8750 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
8754 eval "$ac_cv_use_statbox"
8755 if test "$no_cache" != 1; then
8756 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8759 if test "$wxUSE_STATBOX" = yes; then
8760 echo "$as_me:$LINENO: result: yes" >&5
8761 echo "${ECHO_T}yes" >&6
8763 echo "$as_me:$LINENO: result: no" >&5
8764 echo "${ECHO_T}no" >&6
8769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8772 # Check whether --enable-statline or --disable-statline was given.
8773 if test "${enable_statline+set}" = set; then
8774 enableval="$enable_statline"
8776 if test "$enableval" = yes; then
8777 ac_cv_use_statline='wxUSE_STATLINE
=yes'
8779 ac_cv_use_statline='wxUSE_STATLINE
=no
'
8784 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8785 if test "x$LINE" != x ; then
8786 eval "DEFAULT_$LINE"
8791 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
8795 eval "$ac_cv_use_statline"
8796 if test "$no_cache" != 1; then
8797 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8800 if test "$wxUSE_STATLINE" = yes; then
8801 echo "$as_me:$LINENO: result: yes" >&5
8802 echo "${ECHO_T}yes" >&6
8804 echo "$as_me:$LINENO: result: no" >&5
8805 echo "${ECHO_T}no" >&6
8810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8813 # Check whether --enable-stattext or --disable-stattext was given.
8814 if test "${enable_stattext+set}" = set; then
8815 enableval="$enable_stattext"
8817 if test "$enableval" = yes; then
8818 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
8820 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
8825 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8832 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
8836 eval "$ac_cv_use_stattext"
8837 if test "$no_cache" != 1; then
8838 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8841 if test "$wxUSE_STATTEXT" = yes; then
8842 echo "$as_me:$LINENO: result: yes" >&5
8843 echo "${ECHO_T}yes" >&6
8845 echo "$as_me:$LINENO: result: no" >&5
8846 echo "${ECHO_T}no" >&6
8851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8852 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8854 # Check whether --enable-statusbar or --disable-statusbar was given.
8855 if test "${enable_statusbar+set}" = set; then
8856 enableval="$enable_statusbar"
8858 if test "$enableval" = yes; then
8859 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
8861 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
8866 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8867 if test "x$LINE" != x ; then
8868 eval "DEFAULT_$LINE"
8873 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
8877 eval "$ac_cv_use_statusbar"
8878 if test "$no_cache" != 1; then
8879 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8882 if test "$wxUSE_STATUSBAR" = yes; then
8883 echo "$as_me:$LINENO: result: yes" >&5
8884 echo "${ECHO_T}yes" >&6
8886 echo "$as_me:$LINENO: result: no" >&5
8887 echo "${ECHO_T}no" >&6
8892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8895 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8896 if test "${enable_tabdialog+set}" = set; then
8897 enableval="$enable_tabdialog"
8899 if test "$enableval" = yes; then
8900 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
8902 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
8907 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8908 if test "x$LINE" != x ; then
8909 eval "DEFAULT_$LINE"
8914 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8918 eval "$ac_cv_use_tabdialog"
8919 if test "$no_cache" != 1; then
8920 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8923 if test "$wxUSE_TABDIALOG" = yes; then
8924 echo "$as_me:$LINENO: result: yes" >&5
8925 echo "${ECHO_T}yes" >&6
8927 echo "$as_me:$LINENO: result: no" >&5
8928 echo "${ECHO_T}no" >&6
8933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8936 # Check whether --enable-textctrl or --disable-textctrl was given.
8937 if test "${enable_textctrl+set}" = set; then
8938 enableval="$enable_textctrl"
8940 if test "$enableval" = yes; then
8941 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8943 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8948 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8955 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8959 eval "$ac_cv_use_textctrl"
8960 if test "$no_cache" != 1; then
8961 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8964 if test "$wxUSE_TEXTCTRL" = yes; then
8965 echo "$as_me:$LINENO: result: yes" >&5
8966 echo "${ECHO_T}yes" >&6
8968 echo "$as_me:$LINENO: result: no" >&5
8969 echo "${ECHO_T}no" >&6
8974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8975 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8977 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8978 if test "${enable_togglebtn+set}" = set; then
8979 enableval="$enable_togglebtn"
8981 if test "$enableval" = yes; then
8982 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8984 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8989 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8990 if test "x$LINE" != x ; then
8991 eval "DEFAULT_$LINE"
8996 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
9000 eval "$ac_cv_use_togglebtn"
9001 if test "$no_cache" != 1; then
9002 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9005 if test "$wxUSE_TOGGLEBTN" = yes; then
9006 echo "$as_me:$LINENO: result: yes" >&5
9007 echo "${ECHO_T}yes" >&6
9009 echo "$as_me:$LINENO: result: no" >&5
9010 echo "${ECHO_T}no" >&6
9015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9016 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9018 # Check whether --enable-toolbar or --disable-toolbar was given.
9019 if test "${enable_toolbar+set}" = set; then
9020 enableval="$enable_toolbar"
9022 if test "$enableval" = yes; then
9023 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
9025 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
9030 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9031 if test "x$LINE" != x ; then
9032 eval "DEFAULT_$LINE"
9037 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
9041 eval "$ac_cv_use_toolbar"
9042 if test "$no_cache" != 1; then
9043 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9046 if test "$wxUSE_TOOLBAR" = yes; then
9047 echo "$as_me:$LINENO: result: yes" >&5
9048 echo "${ECHO_T}yes" >&6
9050 echo "$as_me:$LINENO: result: no" >&5
9051 echo "${ECHO_T}no" >&6
9056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9057 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9059 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9060 if test "${enable_tbarnative+set}" = set; then
9061 enableval="$enable_tbarnative"
9063 if test "$enableval" = yes; then
9064 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
9066 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
9071 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9072 if test "x$LINE" != x ; then
9073 eval "DEFAULT_$LINE"
9078 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9082 eval "$ac_cv_use_tbarnative"
9083 if test "$no_cache" != 1; then
9084 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9087 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9088 echo "$as_me:$LINENO: result: yes" >&5
9089 echo "${ECHO_T}yes" >&6
9091 echo "$as_me:$LINENO: result: no" >&5
9092 echo "${ECHO_T}no" >&6
9097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9098 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9100 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9101 if test "${enable_tbarsmpl+set}" = set; then
9102 enableval="$enable_tbarsmpl"
9104 if test "$enableval" = yes; then
9105 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
9107 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
9112 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9113 if test "x$LINE" != x ; then
9114 eval "DEFAULT_$LINE"
9119 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9123 eval "$ac_cv_use_tbarsmpl"
9124 if test "$no_cache" != 1; then
9125 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9128 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9129 echo "$as_me:$LINENO: result: yes" >&5
9130 echo "${ECHO_T}yes" >&6
9132 echo "$as_me:$LINENO: result: no" >&5
9133 echo "${ECHO_T}no" >&6
9138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9139 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9141 # Check whether --enable-treebook or --disable-treebook was given.
9142 if test "${enable_treebook+set}" = set; then
9143 enableval="$enable_treebook"
9145 if test "$enableval" = yes; then
9146 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
9148 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
9153 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9154 if test "x$LINE" != x ; then
9155 eval "DEFAULT_$LINE"
9160 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
9164 eval "$ac_cv_use_treebook"
9165 if test "$no_cache" != 1; then
9166 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9169 if test "$wxUSE_TREEBOOK" = yes; then
9170 echo "$as_me:$LINENO: result: yes" >&5
9171 echo "${ECHO_T}yes" >&6
9173 echo "$as_me:$LINENO: result: no" >&5
9174 echo "${ECHO_T}no" >&6
9179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9180 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9182 # Check whether --enable-toolbook or --disable-toolbook was given.
9183 if test "${enable_toolbook+set}" = set; then
9184 enableval="$enable_toolbook"
9186 if test "$enableval" = yes; then
9187 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
9189 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
9194 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9195 if test "x$LINE" != x ; then
9196 eval "DEFAULT_$LINE"
9201 ac_cv_use_toolbook='wxUSE_TOOLBOOK
='$DEFAULT_wxUSE_TOOLBOOK
9205 eval "$ac_cv_use_toolbook"
9206 if test "$no_cache" != 1; then
9207 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9210 if test "$wxUSE_TOOLBOOK" = yes; then
9211 echo "$as_me:$LINENO: result: yes" >&5
9212 echo "${ECHO_T}yes" >&6
9214 echo "$as_me:$LINENO: result: no" >&5
9215 echo "${ECHO_T}no" >&6
9220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9221 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9223 # Check whether --enable-treectrl or --disable-treectrl was given.
9224 if test "${enable_treectrl+set}" = set; then
9225 enableval="$enable_treectrl"
9227 if test "$enableval" = yes; then
9228 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
9230 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
9235 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9236 if test "x$LINE" != x ; then
9237 eval "DEFAULT_$LINE"
9242 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
9246 eval "$ac_cv_use_treectrl"
9247 if test "$no_cache" != 1; then
9248 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9251 if test "$wxUSE_TREECTRL" = yes; then
9252 echo "$as_me:$LINENO: result: yes" >&5
9253 echo "${ECHO_T}yes" >&6
9255 echo "$as_me:$LINENO: result: no" >&5
9256 echo "${ECHO_T}no" >&6
9261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9262 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9264 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9265 if test "${enable_tipwindow+set}" = set; then
9266 enableval="$enable_tipwindow"
9268 if test "$enableval" = yes; then
9269 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
9271 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
9276 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9277 if test "x$LINE" != x ; then
9278 eval "DEFAULT_$LINE"
9283 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
9287 eval "$ac_cv_use_tipwindow"
9288 if test "$no_cache" != 1; then
9289 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9292 if test "$wxUSE_TIPWINDOW" = yes; then
9293 echo "$as_me:$LINENO: result: yes" >&5
9294 echo "${ECHO_T}yes" >&6
9296 echo "$as_me:$LINENO: result: no" >&5
9297 echo "${ECHO_T}no" >&6
9302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9305 # Check whether --enable-popupwin or --disable-popupwin was given.
9306 if test "${enable_popupwin+set}" = set; then
9307 enableval="$enable_popupwin"
9309 if test "$enableval" = yes; then
9310 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
9312 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
9317 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9318 if test "x$LINE" != x ; then
9319 eval "DEFAULT_$LINE"
9324 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
9328 eval "$ac_cv_use_popupwin"
9329 if test "$no_cache" != 1; then
9330 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9333 if test "$wxUSE_POPUPWIN" = yes; then
9334 echo "$as_me:$LINENO: result: yes" >&5
9335 echo "${ECHO_T}yes" >&6
9337 echo "$as_me:$LINENO: result: no" >&5
9338 echo "${ECHO_T}no" >&6
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9348 # Check whether --enable-commondlg or --disable-commondlg was given.
9349 if test "${enable_commondlg+set}" = set; then
9350 enableval="$enable_commondlg"
9352 if test "$enableval" = yes; then
9353 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
9355 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
9360 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9367 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
9371 eval "$ac_cv_use_commondlg"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9376 if test "$wxUSE_COMMONDLGS" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9389 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9390 if test "${enable_choicedlg+set}" = set; then
9391 enableval="$enable_choicedlg"
9393 if test "$enableval" = yes; then
9394 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
9396 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
9401 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9408 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
9412 eval "$ac_cv_use_choicedlg"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9417 if test "$wxUSE_CHOICEDLG" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9430 # Check whether --enable-coldlg or --disable-coldlg was given.
9431 if test "${enable_coldlg+set}" = set; then
9432 enableval="$enable_coldlg"
9434 if test "$enableval" = yes; then
9435 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
9437 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
9442 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9443 if test "x$LINE" != x ; then
9444 eval "DEFAULT_$LINE"
9449 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
9453 eval "$ac_cv_use_coldlg"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9458 if test "$wxUSE_COLOURDLG" = yes; then
9459 echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6
9462 echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6
9468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9471 # Check whether --enable-filedlg or --disable-filedlg was given.
9472 if test "${enable_filedlg+set}" = set; then
9473 enableval="$enable_filedlg"
9475 if test "$enableval" = yes; then
9476 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
9478 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
9483 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9484 if test "x$LINE" != x ; then
9485 eval "DEFAULT_$LINE"
9490 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
9494 eval "$ac_cv_use_filedlg"
9495 if test "$no_cache" != 1; then
9496 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9499 if test "$wxUSE_FILEDLG" = yes; then
9500 echo "$as_me:$LINENO: result: yes" >&5
9501 echo "${ECHO_T}yes" >&6
9503 echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6
9509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9512 # Check whether --enable-finddlg or --disable-finddlg was given.
9513 if test "${enable_finddlg+set}" = set; then
9514 enableval="$enable_finddlg"
9516 if test "$enableval" = yes; then
9517 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
9519 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
9524 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9525 if test "x$LINE" != x ; then
9526 eval "DEFAULT_$LINE"
9531 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
9535 eval "$ac_cv_use_finddlg"
9536 if test "$no_cache" != 1; then
9537 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9540 if test "$wxUSE_FINDREPLDLG" = yes; then
9541 echo "$as_me:$LINENO: result: yes" >&5
9542 echo "${ECHO_T}yes" >&6
9544 echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6
9550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9553 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9554 if test "${enable_fontdlg+set}" = set; then
9555 enableval="$enable_fontdlg"
9557 if test "$enableval" = yes; then
9558 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
9560 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
9565 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9566 if test "x$LINE" != x ; then
9567 eval "DEFAULT_$LINE"
9572 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
9576 eval "$ac_cv_use_fontdlg"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9581 if test "$wxUSE_FONTDLG" = yes; then
9582 echo "$as_me:$LINENO: result: yes" >&5
9583 echo "${ECHO_T}yes" >&6
9585 echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6
9591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9594 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9595 if test "${enable_dirdlg+set}" = set; then
9596 enableval="$enable_dirdlg"
9598 if test "$enableval" = yes; then
9599 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
9601 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
9606 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9607 if test "x$LINE" != x ; then
9608 eval "DEFAULT_$LINE"
9613 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
9617 eval "$ac_cv_use_dirdlg"
9618 if test "$no_cache" != 1; then
9619 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9622 if test "$wxUSE_DIRDLG" = yes; then
9623 echo "$as_me:$LINENO: result: yes" >&5
9624 echo "${ECHO_T}yes" >&6
9626 echo "$as_me:$LINENO: result: no" >&5
9627 echo "${ECHO_T}no" >&6
9632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9635 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9636 if test "${enable_msgdlg+set}" = set; then
9637 enableval="$enable_msgdlg"
9639 if test "$enableval" = yes; then
9640 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
9642 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
9647 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9648 if test "x$LINE" != x ; then
9649 eval "DEFAULT_$LINE"
9654 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
9658 eval "$ac_cv_use_msgdlg"
9659 if test "$no_cache" != 1; then
9660 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9663 if test "$wxUSE_MSGDLG" = yes; then
9664 echo "$as_me:$LINENO: result: yes" >&5
9665 echo "${ECHO_T}yes" >&6
9667 echo "$as_me:$LINENO: result: no" >&5
9668 echo "${ECHO_T}no" >&6
9673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9676 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9677 if test "${enable_numberdlg+set}" = set; then
9678 enableval="$enable_numberdlg"
9680 if test "$enableval" = yes; then
9681 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
9683 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
9688 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x ; then
9690 eval "DEFAULT_$LINE"
9695 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
9699 eval "$ac_cv_use_numberdlg"
9700 if test "$no_cache" != 1; then
9701 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9704 if test "$wxUSE_NUMBERDLG" = yes; then
9705 echo "$as_me:$LINENO: result: yes" >&5
9706 echo "${ECHO_T}yes" >&6
9708 echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6
9714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9717 # Check whether --enable-splash or --disable-splash was given.
9718 if test "${enable_splash+set}" = set; then
9719 enableval="$enable_splash"
9721 if test "$enableval" = yes; then
9722 ac_cv_use_splash='wxUSE_SPLASH
=yes'
9724 ac_cv_use_splash='wxUSE_SPLASH
=no
'
9729 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9730 if test "x$LINE" != x ; then
9731 eval "DEFAULT_$LINE"
9736 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
9740 eval "$ac_cv_use_splash"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9745 if test "$wxUSE_SPLASH" = yes; then
9746 echo "$as_me:$LINENO: result: yes" >&5
9747 echo "${ECHO_T}yes" >&6
9749 echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6
9755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9758 # Check whether --enable-textdlg or --disable-textdlg was given.
9759 if test "${enable_textdlg+set}" = set; then
9760 enableval="$enable_textdlg"
9762 if test "$enableval" = yes; then
9763 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
9765 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
9770 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9771 if test "x$LINE" != x ; then
9772 eval "DEFAULT_$LINE"
9777 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
9781 eval "$ac_cv_use_textdlg"
9782 if test "$no_cache" != 1; then
9783 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9786 if test "$wxUSE_TEXTDLG" = yes; then
9787 echo "$as_me:$LINENO: result: yes" >&5
9788 echo "${ECHO_T}yes" >&6
9790 echo "$as_me:$LINENO: result: no" >&5
9791 echo "${ECHO_T}no" >&6
9796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9799 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9800 if test "${enable_tipdlg+set}" = set; then
9801 enableval="$enable_tipdlg"
9803 if test "$enableval" = yes; then
9804 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
9806 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
9811 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9812 if test "x$LINE" != x ; then
9813 eval "DEFAULT_$LINE"
9818 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
9822 eval "$ac_cv_use_tipdlg"
9823 if test "$no_cache" != 1; then
9824 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9827 if test "$wxUSE_STARTUP_TIPS" = yes; then
9828 echo "$as_me:$LINENO: result: yes" >&5
9829 echo "${ECHO_T}yes" >&6
9831 echo "$as_me:$LINENO: result: no" >&5
9832 echo "${ECHO_T}no" >&6
9837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9840 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9841 if test "${enable_progressdlg+set}" = set; then
9842 enableval="$enable_progressdlg"
9844 if test "$enableval" = yes; then
9845 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
9847 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
9852 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9853 if test "x$LINE" != x ; then
9854 eval "DEFAULT_$LINE"
9859 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
9863 eval "$ac_cv_use_progressdlg"
9864 if test "$no_cache" != 1; then
9865 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9868 if test "$wxUSE_PROGRESSDLG" = yes; then
9869 echo "$as_me:$LINENO: result: yes" >&5
9870 echo "${ECHO_T}yes" >&6
9872 echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6
9878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9881 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9882 if test "${enable_wizarddlg+set}" = set; then
9883 enableval="$enable_wizarddlg"
9885 if test "$enableval" = yes; then
9886 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
9888 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
9893 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9894 if test "x$LINE" != x ; then
9895 eval "DEFAULT_$LINE"
9900 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
9904 eval "$ac_cv_use_wizarddlg"
9905 if test "$no_cache" != 1; then
9906 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9909 if test "$wxUSE_WIZARDDLG" = yes; then
9910 echo "$as_me:$LINENO: result: yes" >&5
9911 echo "${ECHO_T}yes" >&6
9913 echo "$as_me:$LINENO: result: no" >&5
9914 echo "${ECHO_T}no" >&6
9921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9922 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9924 # Check whether --enable-menus or --disable-menus was given.
9925 if test "${enable_menus+set}" = set; then
9926 enableval="$enable_menus"
9928 if test "$enableval" = yes; then
9929 ac_cv_use_menus='wxUSE_MENUS
=yes'
9931 ac_cv_use_menus='wxUSE_MENUS
=no
'
9936 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9937 if test "x$LINE" != x ; then
9938 eval "DEFAULT_$LINE"
9943 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
9947 eval "$ac_cv_use_menus"
9948 if test "$no_cache" != 1; then
9949 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9952 if test "$wxUSE_MENUS" = yes; then
9953 echo "$as_me:$LINENO: result: yes" >&5
9954 echo "${ECHO_T}yes" >&6
9956 echo "$as_me:$LINENO: result: no" >&5
9957 echo "${ECHO_T}no" >&6
9962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9963 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9965 # Check whether --enable-miniframe or --disable-miniframe was given.
9966 if test "${enable_miniframe+set}" = set; then
9967 enableval="$enable_miniframe"
9969 if test "$enableval" = yes; then
9970 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
9972 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
9977 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9978 if test "x$LINE" != x ; then
9979 eval "DEFAULT_$LINE"
9984 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
9988 eval "$ac_cv_use_miniframe"
9989 if test "$no_cache" != 1; then
9990 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9993 if test "$wxUSE_MINIFRAME" = yes; then
9994 echo "$as_me:$LINENO: result: yes" >&5
9995 echo "${ECHO_T}yes" >&6
9997 echo "$as_me:$LINENO: result: no" >&5
9998 echo "${ECHO_T}no" >&6
10003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10004 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10006 # Check whether --enable-tooltips or --disable-tooltips was given.
10007 if test "${enable_tooltips+set}" = set; then
10008 enableval="$enable_tooltips"
10010 if test "$enableval" = yes; then
10011 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
10013 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
10018 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10019 if test "x$LINE" != x ; then
10020 eval "DEFAULT_$LINE"
10025 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
10029 eval "$ac_cv_use_tooltips"
10030 if test "$no_cache" != 1; then
10031 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10034 if test "$wxUSE_TOOLTIPS" = yes; then
10035 echo "$as_me:$LINENO: result: yes" >&5
10036 echo "${ECHO_T}yes" >&6
10038 echo "$as_me:$LINENO: result: no" >&5
10039 echo "${ECHO_T}no" >&6
10044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10045 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10047 # Check whether --enable-splines or --disable-splines was given.
10048 if test "${enable_splines+set}" = set; then
10049 enableval="$enable_splines"
10051 if test "$enableval" = yes; then
10052 ac_cv_use_splines='wxUSE_SPLINES
=yes'
10054 ac_cv_use_splines='wxUSE_SPLINES
=no
'
10059 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10060 if test "x$LINE" != x ; then
10061 eval "DEFAULT_$LINE"
10066 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
10070 eval "$ac_cv_use_splines"
10071 if test "$no_cache" != 1; then
10072 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10075 if test "$wxUSE_SPLINES" = yes; then
10076 echo "$as_me:$LINENO: result: yes" >&5
10077 echo "${ECHO_T}yes" >&6
10079 echo "$as_me:$LINENO: result: no" >&5
10080 echo "${ECHO_T}no" >&6
10085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10086 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10088 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10089 if test "${enable_mousewheel+set}" = set; then
10090 enableval="$enable_mousewheel"
10092 if test "$enableval" = yes; then
10093 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
10095 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
10100 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10101 if test "x$LINE" != x ; then
10102 eval "DEFAULT_$LINE"
10107 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
10111 eval "$ac_cv_use_mousewheel"
10112 if test "$no_cache" != 1; then
10113 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10116 if test "$wxUSE_MOUSEWHEEL" = yes; then
10117 echo "$as_me:$LINENO: result: yes" >&5
10118 echo "${ECHO_T}yes" >&6
10120 echo "$as_me:$LINENO: result: no" >&5
10121 echo "${ECHO_T}no" >&6
10126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10127 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10129 # Check whether --enable-validators or --disable-validators was given.
10130 if test "${enable_validators+set}" = set; then
10131 enableval="$enable_validators"
10133 if test "$enableval" = yes; then
10134 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
10136 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
10141 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10142 if test "x$LINE" != x ; then
10143 eval "DEFAULT_$LINE"
10148 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
10152 eval "$ac_cv_use_validators"
10153 if test "$no_cache" != 1; then
10154 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10157 if test "$wxUSE_VALIDATORS" = yes; then
10158 echo "$as_me:$LINENO: result: yes" >&5
10159 echo "${ECHO_T}yes" >&6
10161 echo "$as_me:$LINENO: result: no" >&5
10162 echo "${ECHO_T}no" >&6
10167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10168 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10170 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10171 if test "${enable_busyinfo+set}" = set; then
10172 enableval="$enable_busyinfo"
10174 if test "$enableval" = yes; then
10175 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
10177 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
10182 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10183 if test "x$LINE" != x ; then
10184 eval "DEFAULT_$LINE"
10189 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
10193 eval "$ac_cv_use_busyinfo"
10194 if test "$no_cache" != 1; then
10195 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10198 if test "$wxUSE_BUSYINFO" = yes; then
10199 echo "$as_me:$LINENO: result: yes" >&5
10200 echo "${ECHO_T}yes" >&6
10202 echo "$as_me:$LINENO: result: no" >&5
10203 echo "${ECHO_T}no" >&6
10208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10209 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10211 # Check whether --enable-joystick or --disable-joystick was given.
10212 if test "${enable_joystick+set}" = set; then
10213 enableval="$enable_joystick"
10215 if test "$enableval" = yes; then
10216 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
10218 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
10223 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10224 if test "x$LINE" != x ; then
10225 eval "DEFAULT_$LINE"
10230 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
10234 eval "$ac_cv_use_joystick"
10235 if test "$no_cache" != 1; then
10236 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10239 if test "$wxUSE_JOYSTICK" = yes; then
10240 echo "$as_me:$LINENO: result: yes" >&5
10241 echo "${ECHO_T}yes" >&6
10243 echo "$as_me:$LINENO: result: no" >&5
10244 echo "${ECHO_T}no" >&6
10249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10252 # Check whether --enable-metafile or --disable-metafile was given.
10253 if test "${enable_metafile+set}" = set; then
10254 enableval="$enable_metafile"
10256 if test "$enableval" = yes; then
10257 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
10259 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
10264 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10265 if test "x$LINE" != x ; then
10266 eval "DEFAULT_$LINE"
10271 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
10275 eval "$ac_cv_use_metafile"
10276 if test "$no_cache" != 1; then
10277 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10280 if test "$wxUSE_METAFILE" = yes; then
10281 echo "$as_me:$LINENO: result: yes" >&5
10282 echo "${ECHO_T}yes" >&6
10284 echo "$as_me:$LINENO: result: no" >&5
10285 echo "${ECHO_T}no" >&6
10290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10293 # Check whether --enable-dragimage or --disable-dragimage was given.
10294 if test "${enable_dragimage+set}" = set; then
10295 enableval="$enable_dragimage"
10297 if test "$enableval" = yes; then
10298 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
10300 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
10305 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10306 if test "x$LINE" != x ; then
10307 eval "DEFAULT_$LINE"
10312 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
10316 eval "$ac_cv_use_dragimage"
10317 if test "$no_cache" != 1; then
10318 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10321 if test "$wxUSE_DRAGIMAGE" = yes; then
10322 echo "$as_me:$LINENO: result: yes" >&5
10323 echo "${ECHO_T}yes" >&6
10325 echo "$as_me:$LINENO: result: no" >&5
10326 echo "${ECHO_T}no" >&6
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10334 # Check whether --enable-accessibility or --disable-accessibility was given.
10335 if test "${enable_accessibility+set}" = set; then
10336 enableval="$enable_accessibility"
10338 if test "$enableval" = yes; then
10339 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
10341 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
10346 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10353 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
10357 eval "$ac_cv_use_accessibility"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10362 if test "$wxUSE_ACCESSIBILITY" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10371 if test "$wxUSE_MSW" = "1"; then
10374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10375 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10377 # Check whether --enable-dccache or --disable-dccache was given.
10378 if test "${enable_dccache+set}" = set; then
10379 enableval="$enable_dccache"
10381 if test "$enableval" = yes; then
10382 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
10384 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
10389 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10390 if test "x$LINE" != x ; then
10391 eval "DEFAULT_$LINE"
10396 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
10400 eval "$ac_cv_use_dccache"
10401 if test "$no_cache" != 1; then
10402 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10405 if test "$wxUSE_DC_CACHEING" = yes; then
10406 echo "$as_me:$LINENO: result: yes" >&5
10407 echo "${ECHO_T}yes" >&6
10409 echo "$as_me:$LINENO: result: no" >&5
10410 echo "${ECHO_T}no" >&6
10418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10419 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10421 # Check whether --enable-palette or --disable-palette was given.
10422 if test "${enable_palette+set}" = set; then
10423 enableval="$enable_palette"
10425 if test "$enableval" = yes; then
10426 ac_cv_use_palette='wxUSE_PALETTE
=yes'
10428 ac_cv_use_palette='wxUSE_PALETTE
=no
'
10433 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10434 if test "x$LINE" != x ; then
10435 eval "DEFAULT_$LINE"
10440 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
10444 eval "$ac_cv_use_palette"
10445 if test "$no_cache" != 1; then
10446 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10449 if test "$wxUSE_PALETTE" = yes; then
10450 echo "$as_me:$LINENO: result: yes" >&5
10451 echo "${ECHO_T}yes" >&6
10453 echo "$as_me:$LINENO: result: no" >&5
10454 echo "${ECHO_T}no" >&6
10459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10460 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10462 # Check whether --enable-image or --disable-image was given.
10463 if test "${enable_image+set}" = set; then
10464 enableval="$enable_image"
10466 if test "$enableval" = yes; then
10467 ac_cv_use_image='wxUSE_IMAGE
=yes'
10469 ac_cv_use_image='wxUSE_IMAGE
=no
'
10474 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10475 if test "x$LINE" != x ; then
10476 eval "DEFAULT_$LINE"
10481 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
10485 eval "$ac_cv_use_image"
10486 if test "$no_cache" != 1; then
10487 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10490 if test "$wxUSE_IMAGE" = yes; then
10491 echo "$as_me:$LINENO: result: yes" >&5
10492 echo "${ECHO_T}yes" >&6
10494 echo "$as_me:$LINENO: result: no" >&5
10495 echo "${ECHO_T}no" >&6
10500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10501 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10503 # Check whether --enable-gif or --disable-gif was given.
10504 if test "${enable_gif+set}" = set; then
10505 enableval="$enable_gif"
10507 if test "$enableval" = yes; then
10508 ac_cv_use_gif='wxUSE_GIF
=yes'
10510 ac_cv_use_gif='wxUSE_GIF
=no
'
10515 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10516 if test "x$LINE" != x ; then
10517 eval "DEFAULT_$LINE"
10522 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
10526 eval "$ac_cv_use_gif"
10527 if test "$no_cache" != 1; then
10528 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10531 if test "$wxUSE_GIF" = yes; then
10532 echo "$as_me:$LINENO: result: yes" >&5
10533 echo "${ECHO_T}yes" >&6
10535 echo "$as_me:$LINENO: result: no" >&5
10536 echo "${ECHO_T}no" >&6
10541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10542 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10544 # Check whether --enable-pcx or --disable-pcx was given.
10545 if test "${enable_pcx+set}" = set; then
10546 enableval="$enable_pcx"
10548 if test "$enableval" = yes; then
10549 ac_cv_use_pcx='wxUSE_PCX
=yes'
10551 ac_cv_use_pcx='wxUSE_PCX
=no
'
10556 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10557 if test "x$LINE" != x ; then
10558 eval "DEFAULT_$LINE"
10563 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
10567 eval "$ac_cv_use_pcx"
10568 if test "$no_cache" != 1; then
10569 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10572 if test "$wxUSE_PCX" = yes; then
10573 echo "$as_me:$LINENO: result: yes" >&5
10574 echo "${ECHO_T}yes" >&6
10576 echo "$as_me:$LINENO: result: no" >&5
10577 echo "${ECHO_T}no" >&6
10582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10583 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10585 # Check whether --enable-iff or --disable-iff was given.
10586 if test "${enable_iff+set}" = set; then
10587 enableval="$enable_iff"
10589 if test "$enableval" = yes; then
10590 ac_cv_use_iff='wxUSE_IFF
=yes'
10592 ac_cv_use_iff='wxUSE_IFF
=no
'
10597 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10598 if test "x$LINE" != x ; then
10599 eval "DEFAULT_$LINE"
10604 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
10608 eval "$ac_cv_use_iff"
10609 if test "$no_cache" != 1; then
10610 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10613 if test "$wxUSE_IFF" = yes; then
10614 echo "$as_me:$LINENO: result: yes" >&5
10615 echo "${ECHO_T}yes" >&6
10617 echo "$as_me:$LINENO: result: no" >&5
10618 echo "${ECHO_T}no" >&6
10623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10624 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10626 # Check whether --enable-pnm or --disable-pnm was given.
10627 if test "${enable_pnm+set}" = set; then
10628 enableval="$enable_pnm"
10630 if test "$enableval" = yes; then
10631 ac_cv_use_pnm='wxUSE_PNM
=yes'
10633 ac_cv_use_pnm='wxUSE_PNM
=no
'
10638 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10639 if test "x$LINE" != x ; then
10640 eval "DEFAULT_$LINE"
10645 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
10649 eval "$ac_cv_use_pnm"
10650 if test "$no_cache" != 1; then
10651 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10654 if test "$wxUSE_PNM" = yes; then
10655 echo "$as_me:$LINENO: result: yes" >&5
10656 echo "${ECHO_T}yes" >&6
10658 echo "$as_me:$LINENO: result: no" >&5
10659 echo "${ECHO_T}no" >&6
10664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10665 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10667 # Check whether --enable-xpm or --disable-xpm was given.
10668 if test "${enable_xpm+set}" = set; then
10669 enableval="$enable_xpm"
10671 if test "$enableval" = yes; then
10672 ac_cv_use_xpm='wxUSE_XPM
=yes'
10674 ac_cv_use_xpm='wxUSE_XPM
=no
'
10679 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10680 if test "x$LINE" != x ; then
10681 eval "DEFAULT_$LINE"
10686 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
10690 eval "$ac_cv_use_xpm"
10691 if test "$no_cache" != 1; then
10692 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10695 if test "$wxUSE_XPM" = yes; then
10696 echo "$as_me:$LINENO: result: yes" >&5
10697 echo "${ECHO_T}yes" >&6
10699 echo "$as_me:$LINENO: result: no" >&5
10700 echo "${ECHO_T}no" >&6
10705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10706 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10708 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10709 if test "${enable_ico_cur+set}" = set; then
10710 enableval="$enable_ico_cur"
10712 if test "$enableval" = yes; then
10713 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
10715 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
10720 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10721 if test "x$LINE" != x ; then
10722 eval "DEFAULT_$LINE"
10727 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
10731 eval "$ac_cv_use_ico_cur"
10732 if test "$no_cache" != 1; then
10733 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10736 if test "$wxUSE_ICO_CUR" = yes; then
10737 echo "$as_me:$LINENO: result: yes" >&5
10738 echo "${ECHO_T}yes" >&6
10740 echo "$as_me:$LINENO: result: no" >&5
10741 echo "${ECHO_T}no" >&6
10749 # Check whether --with-flavour or --without-flavour was given.
10750 if test "${with_flavour+set}" = set; then
10751 withval="$with_flavour"
10752 WX_FLAVOUR="$withval"
10758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10759 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10761 # Check whether --enable-official_build or --disable-official_build was given.
10762 if test "${enable_official_build+set}" = set; then
10763 enableval="$enable_official_build"
10765 if test "$enableval" = yes; then
10766 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
10768 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
10773 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10774 if test "x$LINE" != x ; then
10775 eval "DEFAULT_$LINE"
10780 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
10784 eval "$ac_cv_use_official_build"
10785 if test "$no_cache" != 1; then
10786 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10789 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10790 echo "$as_me:$LINENO: result: yes" >&5
10791 echo "${ECHO_T}yes" >&6
10793 echo "$as_me:$LINENO: result: no" >&5
10794 echo "${ECHO_T}no" >&6
10797 # Check whether --enable-vendor or --disable-vendor was given.
10798 if test "${enable_vendor+set}" = set; then
10799 enableval="$enable_vendor"
10800 VENDOR="$enableval"
10802 if test "x$VENDOR" = "x"; then
10809 echo "saving argument cache $wx_arg_cache_file"
10810 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10814 echo "$as_me:$LINENO: checking for toolkit" >&5
10815 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10817 # In Wine, we need to default to MSW, not GTK or MOTIF
10818 if test "$wxUSE_WINE" = "yes"; then
10819 DEFAULT_DEFAULT_wxUSE_GTK=0
10820 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10821 DEFAULT_DEFAULT_wxUSE_MSW=1
10826 if test "$wxUSE_GUI" = "yes"; then
10828 if test "$USE_BEOS" = 1; then
10829 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10830 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10831 { (exit 1); exit 1; }; }
10834 if test "$TOOLKIT_GIVEN" = 1; then
10835 for toolkit in `echo $ALL_TOOLKITS`; do
10837 eval "value=\$${var}"
10838 if test "x$value" = "xno"; then
10840 elif test "x$value" != "x"; then
10844 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10845 eval "wx${toolkit}_VERSION=$value"
10849 for toolkit in `echo $ALL_TOOLKITS`; do
10850 if test "$has_toolkit_in_cache" != 1; then
10851 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10853 var=DEFAULT_wxUSE_$toolkit
10855 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10856 if test "x$version" != "x"; then
10857 eval "wx${toolkit}_VERSION=$version"
10860 eval "wxUSE_$toolkit=\$${var}"
10864 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10865 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10866 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10869 *-pc-os2_emx | *-pc-os2-emx )
10870 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10873 case "$NUM_TOOLKITS" in
10877 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10878 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10879 { (exit 1); exit 1; }; }
10882 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10883 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10884 { (exit 1); exit 1; }; }
10887 # to be removed when --disable-gtk2 isn't needed
10888 if test "x$wxUSE_GTK2" = "xyes"; then
10890 elif test "x$wxUSE_GTK2" = "xno"; then
10894 for toolkit
in `echo $ALL_TOOLKITS`; do
10896 eval "value=\$${var}"
10897 if test "x$value" != x
; then
10898 cache_var
=CACHE_
$toolkit
10899 eval "cache=\$${cache_var}"
10900 if test "$cache" = 1; then
10901 echo "$var=$value" >> ${wx_arg_cache_file}
10902 eval "version=\$wx${toolkit}_VERSION"
10903 if test "x$version" != "x"; then
10904 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10907 if test "$value" = 1; then
10908 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10909 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10910 echo "${ECHO_T}$toolkit_echo" >&6
10915 if test "x$host_alias" != "x"; then
10916 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10917 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10919 echo "$as_me:$LINENO: result: base only" >&5
10920 echo "${ECHO_T}base only" >&6
10925 doesnt_want_win32
=0
10928 if test "$wxUSE_MSW" = 1 ; then
10930 BAKEFILE_FORCE_PLATFORM
=win32
10932 doesnt_want_win32
=1
10940 if test "$wxUSE_WINE" = "yes"; then
10944 LDFLAGS_GUI
="-mwindows"
10947 if test "$wants_win32" = 1 ; then
10950 cat >>confdefs.h
<<\_ACEOF
10951 #define __WIN32__ 1
10954 cat >>confdefs.h
<<\_ACEOF
10955 #define __WIN95__ 1
10958 cat >>confdefs.h
<<\_ACEOF
10959 #define __WINDOWS__ 1
10962 cat >>confdefs.h
<<\_ACEOF
10963 #define __GNUWIN32__ 1
10966 cat >>confdefs.h
<<\_ACEOF
10970 cat >>confdefs.h
<<\_ACEOF
10971 #define WINVER 0x0400
10975 if test "$doesnt_want_win32" = 1 ; then
10980 if test "$USE_UNIX" = 1 ; then
10982 cat >>confdefs.h
<<\_ACEOF
10989 cat >confcache
<<\_ACEOF
10990 # This file is a shell script that caches the results of configure
10991 # tests run on this system so they can be shared between configure
10992 # scripts and configure runs, see configure's option --config-cache.
10993 # It is not useful on other systems. If it contains results you don't
10994 # want to keep, you may remove or edit it.
10996 # config.status only pays attention to the cache file if you give it
10997 # the --recheck option to rerun configure.
10999 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11000 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11001 # following values.
11005 # The following way of writing the cache mishandles newlines in values,
11006 # but we know of no workaround that is simple, portable, and efficient.
11007 # So, don't put newlines in cache variables' values.
11008 # Ultrix sh set writes to stderr and can't be redirected directly,
11009 # and sets the high bit in the cache file unless we assign to the vars.
11012 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11014 # `set' does not quote correctly, so add quotes (double-quote
11015 # substitution turns \\\\ into \\, and sed turns \\ into \).
11018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11021 # `set' quotes correctly as required by POSIX, so do not add quotes.
11023 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11030 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11032 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11034 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11035 if test -w $cache_file; then
11036 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11037 cat confcache
>$cache_file
11039 echo "not updating unwritable cache $cache_file"
11049 ac_cpp
='$CPP $CPPFLAGS'
11050 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11051 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11052 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11053 if test -n "$ac_tool_prefix"; then
11054 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11055 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11056 echo "$as_me:$LINENO: checking for $ac_word" >&5
11057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11058 if test "${ac_cv_prog_CC+set}" = set; then
11059 echo $ECHO_N "(cached) $ECHO_C" >&6
11061 if test -n "$CC"; then
11062 ac_cv_prog_CC
="$CC" # Let the user override the test.
11064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11065 for as_dir
in $PATH
11068 test -z "$as_dir" && as_dir
=.
11069 for ac_exec_ext
in '' $ac_executable_extensions; do
11070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11071 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11081 if test -n "$CC"; then
11082 echo "$as_me:$LINENO: result: $CC" >&5
11083 echo "${ECHO_T}$CC" >&6
11085 echo "$as_me:$LINENO: result: no" >&5
11086 echo "${ECHO_T}no" >&6
11090 if test -z "$ac_cv_prog_CC"; then
11092 # Extract the first word of "gcc", so it can be a program name with args.
11093 set dummy gcc
; ac_word
=$2
11094 echo "$as_me:$LINENO: checking for $ac_word" >&5
11095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11097 echo $ECHO_N "(cached) $ECHO_C" >&6
11099 if test -n "$ac_ct_CC"; then
11100 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11103 for as_dir
in $PATH
11106 test -z "$as_dir" && as_dir
=.
11107 for ac_exec_ext
in '' $ac_executable_extensions; do
11108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11109 ac_cv_prog_ac_ct_CC
="gcc"
11110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11118 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11119 if test -n "$ac_ct_CC"; then
11120 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11121 echo "${ECHO_T}$ac_ct_CC" >&6
11123 echo "$as_me:$LINENO: result: no" >&5
11124 echo "${ECHO_T}no" >&6
11129 CC
="$ac_cv_prog_CC"
11132 if test -z "$CC"; then
11133 if test -n "$ac_tool_prefix"; then
11134 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11135 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11136 echo "$as_me:$LINENO: checking for $ac_word" >&5
11137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11138 if test "${ac_cv_prog_CC+set}" = set; then
11139 echo $ECHO_N "(cached) $ECHO_C" >&6
11141 if test -n "$CC"; then
11142 ac_cv_prog_CC
="$CC" # Let the user override the test.
11144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11145 for as_dir
in $PATH
11148 test -z "$as_dir" && as_dir
=.
11149 for ac_exec_ext
in '' $ac_executable_extensions; do
11150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11151 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11161 if test -n "$CC"; then
11162 echo "$as_me:$LINENO: result: $CC" >&5
11163 echo "${ECHO_T}$CC" >&6
11165 echo "$as_me:$LINENO: result: no" >&5
11166 echo "${ECHO_T}no" >&6
11170 if test -z "$ac_cv_prog_CC"; then
11172 # Extract the first word of "cc", so it can be a program name with args.
11173 set dummy cc
; ac_word
=$2
11174 echo "$as_me:$LINENO: checking for $ac_word" >&5
11175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11176 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11177 echo $ECHO_N "(cached) $ECHO_C" >&6
11179 if test -n "$ac_ct_CC"; then
11180 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11183 for as_dir
in $PATH
11186 test -z "$as_dir" && as_dir
=.
11187 for ac_exec_ext
in '' $ac_executable_extensions; do
11188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11189 ac_cv_prog_ac_ct_CC
="cc"
11190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11198 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11199 if test -n "$ac_ct_CC"; then
11200 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11201 echo "${ECHO_T}$ac_ct_CC" >&6
11203 echo "$as_me:$LINENO: result: no" >&5
11204 echo "${ECHO_T}no" >&6
11209 CC
="$ac_cv_prog_CC"
11213 if test -z "$CC"; then
11214 # Extract the first word of "cc", so it can be a program name with args.
11215 set dummy cc
; ac_word
=$2
11216 echo "$as_me:$LINENO: checking for $ac_word" >&5
11217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11218 if test "${ac_cv_prog_CC+set}" = set; then
11219 echo $ECHO_N "(cached) $ECHO_C" >&6
11221 if test -n "$CC"; then
11222 ac_cv_prog_CC
="$CC" # Let the user override the test.
11224 ac_prog_rejected
=no
11225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11226 for as_dir
in $PATH
11229 test -z "$as_dir" && as_dir
=.
11230 for ac_exec_ext
in '' $ac_executable_extensions; do
11231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11232 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11233 ac_prog_rejected
=yes
11237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11243 if test $ac_prog_rejected = yes; then
11244 # We found a bogon in the path, so make sure we never use it.
11245 set dummy
$ac_cv_prog_CC
11247 if test $# != 0; then
11248 # We chose a different compiler from the bogus one.
11249 # However, it has the same basename, so the bogon will be chosen
11250 # first if we set CC to just the basename; use the full file name.
11252 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11258 if test -n "$CC"; then
11259 echo "$as_me:$LINENO: result: $CC" >&5
11260 echo "${ECHO_T}$CC" >&6
11262 echo "$as_me:$LINENO: result: no" >&5
11263 echo "${ECHO_T}no" >&6
11267 if test -z "$CC"; then
11268 if test -n "$ac_tool_prefix"; then
11271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11272 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11273 echo "$as_me:$LINENO: checking for $ac_word" >&5
11274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11275 if test "${ac_cv_prog_CC+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
11278 if test -n "$CC"; then
11279 ac_cv_prog_CC
="$CC" # Let the user override the test.
11281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11282 for as_dir
in $PATH
11285 test -z "$as_dir" && as_dir
=.
11286 for ac_exec_ext
in '' $ac_executable_extensions; do
11287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11288 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11298 if test -n "$CC"; then
11299 echo "$as_me:$LINENO: result: $CC" >&5
11300 echo "${ECHO_T}$CC" >&6
11302 echo "$as_me:$LINENO: result: no" >&5
11303 echo "${ECHO_T}no" >&6
11306 test -n "$CC" && break
11309 if test -z "$CC"; then
11313 # Extract the first word of "$ac_prog", so it can be a program name with args.
11314 set dummy
$ac_prog; ac_word
=$2
11315 echo "$as_me:$LINENO: checking for $ac_word" >&5
11316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11318 echo $ECHO_N "(cached) $ECHO_C" >&6
11320 if test -n "$ac_ct_CC"; then
11321 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11324 for as_dir
in $PATH
11327 test -z "$as_dir" && as_dir
=.
11328 for ac_exec_ext
in '' $ac_executable_extensions; do
11329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11330 ac_cv_prog_ac_ct_CC
="$ac_prog"
11331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11339 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11340 if test -n "$ac_ct_CC"; then
11341 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11342 echo "${ECHO_T}$ac_ct_CC" >&6
11344 echo "$as_me:$LINENO: result: no" >&5
11345 echo "${ECHO_T}no" >&6
11348 test -n "$ac_ct_CC" && break
11357 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11358 See \`config.log' for more details." >&5
11359 echo "$as_me: error: no acceptable C compiler found in \$PATH
11360 See \`config.log' for more details." >&2;}
11361 { (exit 1); exit 1; }; }
11363 # Provide some information about the compiler.
11364 echo "$as_me:$LINENO:" \
11365 "checking for C compiler version" >&5
11366 ac_compiler
=`set X $ac_compile; echo $2`
11367 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11368 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 (exit $ac_status); }
11372 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11373 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); }
11377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11378 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); }
11383 cat >conftest.
$ac_ext <<_ACEOF
11386 cat confdefs.h
>>conftest.
$ac_ext
11387 cat >>conftest.
$ac_ext <<_ACEOF
11388 /* end confdefs.h. */
11398 ac_clean_files_save
=$ac_clean_files
11399 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11400 # Try to create an executable without -o first, disregard a.out.
11401 # It will help us diagnose broken compilers, and finding out an intuition
11403 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11404 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11405 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11406 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11407 (eval $ac_link_default) 2>&5
11409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 (exit $ac_status); }; then
11411 # Find the output, starting from the most likely. This scheme is
11412 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11415 # Be careful to initialize this variable, since it used to be cached.
11416 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11418 # b.out is created by i960 compilers.
11419 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11421 test -f "$ac_file" || continue
11423 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11426 # This is the source file.
11429 # We found the default executable, but exeext='' is most
11433 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11434 # FIXME: I believe we export ac_cv_exeext for Libtool,
11435 # but it would be cool to find out if it's true. Does anybody
11436 # maintain Libtool? --akim.
11437 export ac_cv_exeext
11444 echo "$as_me: failed program was:" >&5
11445 sed 's/^/| /' conftest.
$ac_ext >&5
11447 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11448 See \`config.log' for more details." >&5
11449 echo "$as_me: error: C compiler cannot create executables
11450 See \`config.log' for more details." >&2;}
11451 { (exit 77); exit 77; }; }
11454 ac_exeext
=$ac_cv_exeext
11455 echo "$as_me:$LINENO: result: $ac_file" >&5
11456 echo "${ECHO_T}$ac_file" >&6
11458 # Check the compiler produces executables we can run. If not, either
11459 # the compiler is broken, or we cross compile.
11460 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11461 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11462 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11463 # If not cross compiling, check that we can run a simple program.
11464 if test "$cross_compiling" != yes; then
11465 if { ac_try
='./$ac_file'
11466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467 (eval $ac_try) 2>&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; }; then
11473 if test "$cross_compiling" = maybe
; then
11474 cross_compiling
=yes
11476 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11477 If you meant to cross compile, use \`--host'.
11478 See \`config.log' for more details." >&5
11479 echo "$as_me: error: cannot run C compiled programs.
11480 If you meant to cross compile, use \`--host'.
11481 See \`config.log' for more details." >&2;}
11482 { (exit 1); exit 1; }; }
11486 echo "$as_me:$LINENO: result: yes" >&5
11487 echo "${ECHO_T}yes" >&6
11489 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11490 ac_clean_files
=$ac_clean_files_save
11491 # Check the compiler produces executables we can run. If not, either
11492 # the compiler is broken, or we cross compile.
11493 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11494 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11495 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11496 echo "${ECHO_T}$cross_compiling" >&6
11498 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11499 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11501 (eval $ac_link) 2>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); }; then
11505 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11506 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11507 # work properly (i.e., refer to `conftest.exe'), while it won't with
11509 for ac_file
in conftest.exe conftest conftest.
*; do
11510 test -f "$ac_file" || continue
11512 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11513 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11514 export ac_cv_exeext
11520 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11521 See \`config.log' for more details." >&5
11522 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11523 See \`config.log' for more details." >&2;}
11524 { (exit 1); exit 1; }; }
11527 rm -f conftest
$ac_cv_exeext
11528 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11529 echo "${ECHO_T}$ac_cv_exeext" >&6
11531 rm -f conftest.
$ac_ext
11532 EXEEXT
=$ac_cv_exeext
11534 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11535 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11536 if test "${ac_cv_objext+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11539 cat >conftest.
$ac_ext <<_ACEOF
11542 cat confdefs.h
>>conftest.
$ac_ext
11543 cat >>conftest.
$ac_ext <<_ACEOF
11544 /* end confdefs.h. */
11554 rm -f conftest.o conftest.obj
11555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11556 (eval $ac_compile) 2>&5
11558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559 (exit $ac_status); }; then
11560 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11562 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11563 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11568 echo "$as_me: failed program was:" >&5
11569 sed 's/^/| /' conftest.
$ac_ext >&5
11571 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11572 See \`config.log' for more details." >&5
11573 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11574 See \`config.log' for more details." >&2;}
11575 { (exit 1); exit 1; }; }
11578 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11580 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11581 echo "${ECHO_T}$ac_cv_objext" >&6
11582 OBJEXT
=$ac_cv_objext
11584 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11585 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11586 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11589 cat >conftest.
$ac_ext <<_ACEOF
11592 cat confdefs.h
>>conftest.
$ac_ext
11593 cat >>conftest.
$ac_ext <<_ACEOF
11594 /* end confdefs.h. */
11607 rm -f conftest.
$ac_objext
11608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11609 (eval $ac_compile) 2>conftest.er1
11611 grep -v '^ *+' conftest.er1
>conftest.err
11613 cat conftest.err
>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); } &&
11616 { ac_try
='test -z "$ac_c_werror_flag"
11617 || test ! -s conftest.err'
11618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11619 (eval $ac_try) 2>&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); }; } &&
11623 { ac_try
='test -s conftest.$ac_objext'
11624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11625 (eval $ac_try) 2>&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); }; }; then
11629 ac_compiler_gnu
=yes
11631 echo "$as_me: failed program was:" >&5
11632 sed 's/^/| /' conftest.
$ac_ext >&5
11636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11637 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11640 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11641 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11642 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11643 ac_test_CFLAGS
=${CFLAGS+set}
11644 ac_save_CFLAGS
=$CFLAGS
11646 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11647 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11648 if test "${ac_cv_prog_cc_g+set}" = set; then
11649 echo $ECHO_N "(cached) $ECHO_C" >&6
11651 cat >conftest.
$ac_ext <<_ACEOF
11654 cat confdefs.h
>>conftest.
$ac_ext
11655 cat >>conftest.
$ac_ext <<_ACEOF
11656 /* end confdefs.h. */
11666 rm -f conftest.
$ac_objext
11667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11668 (eval $ac_compile) 2>conftest.er1
11670 grep -v '^ *+' conftest.er1
>conftest.err
11672 cat conftest.err
>&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } &&
11675 { ac_try
='test -z "$ac_c_werror_flag"
11676 || test ! -s conftest.err'
11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678 (eval $ac_try) 2>&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; } &&
11682 { ac_try
='test -s conftest.$ac_objext'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then
11688 ac_cv_prog_cc_g
=yes
11690 echo "$as_me: failed program was:" >&5
11691 sed 's/^/| /' conftest.
$ac_ext >&5
11695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11697 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11698 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11699 if test "$ac_test_CFLAGS" = set; then
11700 CFLAGS
=$ac_save_CFLAGS
11701 elif test $ac_cv_prog_cc_g = yes; then
11702 if test "$GCC" = yes; then
11708 if test "$GCC" = yes; then
11714 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11715 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11716 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11717 echo $ECHO_N "(cached) $ECHO_C" >&6
11719 ac_cv_prog_cc_stdc
=no
11721 cat >conftest.
$ac_ext <<_ACEOF
11724 cat confdefs.h
>>conftest.
$ac_ext
11725 cat >>conftest.
$ac_ext <<_ACEOF
11726 /* end confdefs.h. */
11727 #include <stdarg.h>
11729 #include <sys/types.h>
11730 #include <sys/stat.h>
11731 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11732 struct buf { int x; };
11733 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11734 static char *e (p, i)
11740 static char *f (char * (*g) (char **, int), char **p, ...)
11745 s = g (p, va_arg (v,int));
11750 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11751 function prototypes and stuff, but not '\xHH' hex character constants.
11752 These don't provoke an error unfortunately, instead are silently treated
11753 as 'x'. The following induces an error, until -std1 is added to get
11754 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11755 array size at least. It's necessary to write '\x00'==0 to get something
11756 that's true only with -std1. */
11757 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11759 int test (int i, double x);
11760 struct s1 {int (*f) (int a);};
11761 struct s2 {int (*f) (double a);};
11762 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11768 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11773 # Don't try gcc -ansi; that turns off useful extensions and
11774 # breaks some systems' header files.
11775 # AIX -qlanglvl=ansi
11776 # Ultrix and OSF/1 -std1
11777 # HP-UX 10.20 and later -Ae
11778 # HP-UX older versions -Aa -D_HPUX_SOURCE
11779 # SVR4 -Xc -D__EXTENSIONS__
11780 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11782 CC
="$ac_save_CC $ac_arg"
11783 rm -f conftest.
$ac_objext
11784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11785 (eval $ac_compile) 2>conftest.er1
11787 grep -v '^ *+' conftest.er1
>conftest.err
11789 cat conftest.err
>&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); } &&
11792 { ac_try
='test -z "$ac_c_werror_flag"
11793 || test ! -s conftest.err'
11794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11795 (eval $ac_try) 2>&5
11797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798 (exit $ac_status); }; } &&
11799 { ac_try
='test -s conftest.$ac_objext'
11800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11801 (eval $ac_try) 2>&5
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); }; }; then
11805 ac_cv_prog_cc_stdc
=$ac_arg
11808 echo "$as_me: failed program was:" >&5
11809 sed 's/^/| /' conftest.
$ac_ext >&5
11812 rm -f conftest.err conftest.
$ac_objext
11814 rm -f conftest.
$ac_ext conftest.
$ac_objext
11819 case "x$ac_cv_prog_cc_stdc" in
11821 echo "$as_me:$LINENO: result: none needed" >&5
11822 echo "${ECHO_T}none needed" >&6 ;;
11824 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11825 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11826 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11829 # Some people use a C++ compiler to compile C. Since we use `exit',
11830 # in C++ we need to declare it. In case someone uses the same compiler
11831 # for both compiling C and C++ we need to have the C++ compiler decide
11832 # the declaration of exit, since it's the most demanding environment.
11833 cat >conftest.
$ac_ext <<_ACEOF
11834 #ifndef __cplusplus
11838 rm -f conftest.
$ac_objext
11839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11840 (eval $ac_compile) 2>conftest.er1
11842 grep -v '^ *+' conftest.er1
>conftest.err
11844 cat conftest.err
>&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); } &&
11847 { ac_try
='test -z "$ac_c_werror_flag"
11848 || test ! -s conftest.err'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; } &&
11854 { ac_try
='test -s conftest.$ac_objext'
11855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11856 (eval $ac_try) 2>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); }; }; then
11860 for ac_declaration
in \
11862 'extern "C" void std::exit (int) throw (); using std::exit;' \
11863 'extern "C" void std::exit (int); using std::exit;' \
11864 'extern "C" void exit (int) throw ();' \
11865 'extern "C" void exit (int);' \
11868 cat >conftest.
$ac_ext <<_ACEOF
11871 cat confdefs.h
>>conftest.
$ac_ext
11872 cat >>conftest.
$ac_ext <<_ACEOF
11873 /* end confdefs.h. */
11875 #include <stdlib.h>
11884 rm -f conftest.
$ac_objext
11885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11886 (eval $ac_compile) 2>conftest.er1
11888 grep -v '^ *+' conftest.er1
>conftest.err
11890 cat conftest.err
>&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); } &&
11893 { ac_try
='test -z "$ac_c_werror_flag"
11894 || test ! -s conftest.err'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; } &&
11900 { ac_try
='test -s conftest.$ac_objext'
11901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11902 (eval $ac_try) 2>&5
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; }; then
11908 echo "$as_me: failed program was:" >&5
11909 sed 's/^/| /' conftest.
$ac_ext >&5
11913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11914 cat >conftest.
$ac_ext <<_ACEOF
11917 cat confdefs.h
>>conftest.
$ac_ext
11918 cat >>conftest.
$ac_ext <<_ACEOF
11919 /* end confdefs.h. */
11929 rm -f conftest.
$ac_objext
11930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11931 (eval $ac_compile) 2>conftest.er1
11933 grep -v '^ *+' conftest.er1
>conftest.err
11935 cat conftest.err
>&5
11936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11937 (exit $ac_status); } &&
11938 { ac_try
='test -z "$ac_c_werror_flag"
11939 || test ! -s conftest.err'
11940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11941 (eval $ac_try) 2>&5
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); }; } &&
11945 { ac_try
='test -s conftest.$ac_objext'
11946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11947 (eval $ac_try) 2>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }; }; then
11953 echo "$as_me: failed program was:" >&5
11954 sed 's/^/| /' conftest.
$ac_ext >&5
11957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11960 if test -n "$ac_declaration"; then
11961 echo '#ifdef __cplusplus' >>confdefs.h
11962 echo $ac_declaration >>confdefs.h
11963 echo '#endif' >>confdefs.h
11967 echo "$as_me: failed program was:" >&5
11968 sed 's/^/| /' conftest.
$ac_ext >&5
11971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11973 ac_cpp
='$CPP $CPPFLAGS'
11974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11981 ac_cpp
='$CPP $CPPFLAGS'
11982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11986 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11987 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11988 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6
11991 cat >conftest.
$ac_ext <<_ACEOF
11994 cat confdefs.h
>>conftest.
$ac_ext
11995 cat >>conftest.
$ac_ext <<_ACEOF
11996 /* end confdefs.h. */
12002 #ifndef __INTEL_COMPILER
12010 rm -f conftest.
$ac_objext
12011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12012 (eval $ac_compile) 2>conftest.er1
12014 grep -v '^ *+' conftest.er1
>conftest.err
12016 cat conftest.err
>&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); } &&
12019 { ac_try
='test -z "$ac_c_werror_flag"
12020 || test ! -s conftest.err'
12021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12022 (eval $ac_try) 2>&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); }; } &&
12026 { ac_try
='test -s conftest.$ac_objext'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; }; then
12032 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12034 echo "$as_me: failed program was:" >&5
12035 sed 's/^/| /' conftest.
$ac_ext >&5
12037 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12044 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12045 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12047 ac_cpp
='$CPP $CPPFLAGS'
12048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12052 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12059 if test "x$GCC" != "xyes"; then
12060 if test "xCC" = "xC"; then
12061 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12062 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12063 if test "${bakefile_cv_c_exto+set}" = set; then
12064 echo $ECHO_N "(cached) $ECHO_C" >&6
12066 cat >conftest.
$ac_ext <<_ACEOF
12069 cat confdefs.h
>>conftest.
$ac_ext
12070 cat >>conftest.
$ac_ext <<_ACEOF
12071 /* end confdefs.h. */
12081 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12083 (eval $ac_compile) 2>&5
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); }; then
12087 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12089 conftest.
$ac_ext.o
)
12090 bakefile_cv_c_exto
="-ext o"
12097 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12098 See \`config.log' for more details." >&5
12099 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12100 See \`config.log' for more details." >&2;}
12101 { (exit 1); exit 1; }; }
12105 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12108 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12109 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12110 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12111 if test "c" = "c"; then
12112 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12114 if test "c" = "cxx"; then
12115 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12119 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12120 unset ac_cv_prog_cc_g
12121 ac_test_CFLAGS
=${CFLAGS+set}
12122 ac_save_CFLAGS
=$CFLAGS
12124 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12125 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12126 if test "${ac_cv_prog_cc_g+set}" = set; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12129 cat >conftest.
$ac_ext <<_ACEOF
12132 cat confdefs.h
>>conftest.
$ac_ext
12133 cat >>conftest.
$ac_ext <<_ACEOF
12134 /* end confdefs.h. */
12144 rm -f conftest.
$ac_objext
12145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12146 (eval $ac_compile) 2>conftest.er1
12148 grep -v '^ *+' conftest.er1
>conftest.err
12150 cat conftest.err
>&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); } &&
12153 { ac_try
='test -z "$ac_c_werror_flag"
12154 || test ! -s conftest.err'
12155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12156 (eval $ac_try) 2>&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); }; } &&
12160 { ac_try
='test -s conftest.$ac_objext'
12161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12162 (eval $ac_try) 2>&5
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); }; }; then
12166 ac_cv_prog_cc_g
=yes
12168 echo "$as_me: failed program was:" >&5
12169 sed 's/^/| /' conftest.
$ac_ext >&5
12173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12175 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12176 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12177 if test "$ac_test_CFLAGS" = set; then
12178 CFLAGS
=$ac_save_CFLAGS
12179 elif test $ac_cv_prog_cc_g = yes; then
12180 if test "$GCC" = yes; then
12186 if test "$GCC" = yes; then
12198 ac_cpp
='$CPP $CPPFLAGS'
12199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12203 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12204 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12205 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12206 echo $ECHO_N "(cached) $ECHO_C" >&6
12208 cat >conftest.
$ac_ext <<_ACEOF
12211 cat confdefs.h
>>conftest.
$ac_ext
12212 cat >>conftest.
$ac_ext <<_ACEOF
12213 /* end confdefs.h. */
12226 rm -f conftest.
$ac_objext
12227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12228 (eval $ac_compile) 2>conftest.er1
12230 grep -v '^ *+' conftest.er1
>conftest.err
12232 cat conftest.err
>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); } &&
12235 { ac_try
='test -z "$ac_c_werror_flag"
12236 || test ! -s conftest.err'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; } &&
12242 { ac_try
='test -s conftest.$ac_objext'
12243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244 (eval $ac_try) 2>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; }; then
12248 bakefile_compiler_xlc
=yes
12250 echo "$as_me: failed program was:" >&5
12251 sed 's/^/| /' conftest.
$ac_ext >&5
12253 bakefile_compiler_xlc
=no
12255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12256 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12259 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12260 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12262 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12264 ac_cpp
='$CPP $CPPFLAGS'
12265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12274 ac_cpp
='$CPP $CPPFLAGS'
12275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12279 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12280 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12281 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12282 echo $ECHO_N "(cached) $ECHO_C" >&6
12284 cat >conftest.
$ac_ext <<_ACEOF
12287 cat confdefs.h
>>conftest.
$ac_ext
12288 cat >>conftest.
$ac_ext <<_ACEOF
12289 /* end confdefs.h. */
12302 rm -f conftest.
$ac_objext
12303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12304 (eval $ac_compile) 2>conftest.er1
12306 grep -v '^ *+' conftest.er1
>conftest.err
12308 cat conftest.err
>&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); } &&
12311 { ac_try
='test -z "$ac_c_werror_flag"
12312 || test ! -s conftest.err'
12313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; } &&
12318 { ac_try
='test -s conftest.$ac_objext'
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 (eval $ac_try) 2>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; }; then
12324 bakefile_compiler_mwerks
=yes
12326 echo "$as_me: failed program was:" >&5
12327 sed 's/^/| /' conftest.
$ac_ext >&5
12329 bakefile_compiler_mwerks
=no
12331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12332 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12335 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12336 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12338 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12340 ac_cpp
='$CPP $CPPFLAGS'
12341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12347 ac_cpp
='$CPP $CPPFLAGS'
12348 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12349 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12350 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12352 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12353 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12354 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12355 echo $ECHO_N "(cached) $ECHO_C" >&6
12357 cat >conftest.
$ac_ext <<_ACEOF
12360 cat confdefs.h
>>conftest.
$ac_ext
12361 cat >>conftest.
$ac_ext <<_ACEOF
12362 /* end confdefs.h. */
12375 rm -f conftest.
$ac_objext
12376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12377 (eval $ac_compile) 2>conftest.er1
12379 grep -v '^ *+' conftest.er1
>conftest.err
12381 cat conftest.err
>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); } &&
12384 { ac_try
='test -z "$ac_c_werror_flag"
12385 || test ! -s conftest.err'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; } &&
12391 { ac_try
='test -s conftest.$ac_objext'
12392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12393 (eval $ac_try) 2>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }; }; then
12397 bakefile_compiler_xlc
=yes
12399 echo "$as_me: failed program was:" >&5
12400 sed 's/^/| /' conftest.
$ac_ext >&5
12402 bakefile_compiler_xlc
=no
12404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12405 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12408 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12409 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12411 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12413 ac_cpp
='$CPP $CPPFLAGS'
12414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12425 ac_cpp
='$CPP $CPPFLAGS'
12426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12430 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12431 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12432 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12433 echo $ECHO_N "(cached) $ECHO_C" >&6
12435 cat >conftest.
$ac_ext <<_ACEOF
12438 cat confdefs.h
>>conftest.
$ac_ext
12439 cat >>conftest.
$ac_ext <<_ACEOF
12440 /* end confdefs.h. */
12446 #ifndef _SGI_COMPILER_VERSION
12454 rm -f conftest.
$ac_objext
12455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12456 (eval $ac_compile) 2>conftest.er1
12458 grep -v '^ *+' conftest.er1
>conftest.err
12460 cat conftest.err
>&5
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); } &&
12463 { ac_try
='test -z "$ac_c_werror_flag"
12464 || test ! -s conftest.err'
12465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12466 (eval $ac_try) 2>&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); }; } &&
12470 { ac_try
='test -s conftest.$ac_objext'
12471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; }; then
12476 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12478 echo "$as_me: failed program was:" >&5
12479 sed 's/^/| /' conftest.
$ac_ext >&5
12481 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12488 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12489 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12491 ac_cpp
='$CPP $CPPFLAGS'
12492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12496 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12509 ac_cpp
='$CPP $CPPFLAGS'
12510 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12511 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12512 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12514 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12515 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12516 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12517 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 cat >conftest.
$ac_ext <<_ACEOF
12522 cat confdefs.h
>>conftest.
$ac_ext
12523 cat >>conftest.
$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12538 rm -f conftest.
$ac_objext
12539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12540 (eval $ac_compile) 2>conftest.er1
12542 grep -v '^ *+' conftest.er1
>conftest.err
12544 cat conftest.err
>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); } &&
12547 { ac_try
='test -z "$ac_c_werror_flag"
12548 || test ! -s conftest.err'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; } &&
12554 { ac_try
='test -s conftest.$ac_objext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 bakefile_cv_c_compiler___HP_cc
=yes
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.
$ac_ext >&5
12565 bakefile_cv_c_compiler___HP_cc
=no
12568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12572 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12573 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12575 ac_cpp
='$CPP $CPPFLAGS'
12576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12580 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12593 ac_cpp
='$CPP $CPPFLAGS'
12594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12598 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12599 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12600 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12601 echo $ECHO_N "(cached) $ECHO_C" >&6
12603 cat >conftest.
$ac_ext <<_ACEOF
12606 cat confdefs.h
>>conftest.
$ac_ext
12607 cat >>conftest.
$ac_ext <<_ACEOF
12608 /* end confdefs.h. */
12622 rm -f conftest.
$ac_objext
12623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12624 (eval $ac_compile) 2>conftest.er1
12626 grep -v '^ *+' conftest.er1
>conftest.err
12628 cat conftest.err
>&5
12629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630 (exit $ac_status); } &&
12631 { ac_try
='test -z "$ac_c_werror_flag"
12632 || test ! -s conftest.err'
12633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12634 (eval $ac_try) 2>&5
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); }; } &&
12638 { ac_try
='test -s conftest.$ac_objext'
12639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12640 (eval $ac_try) 2>&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); }; }; then
12644 bakefile_cv_c_compiler___DECC
=yes
12646 echo "$as_me: failed program was:" >&5
12647 sed 's/^/| /' conftest.
$ac_ext >&5
12649 bakefile_cv_c_compiler___DECC
=no
12652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12656 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12657 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12659 ac_cpp
='$CPP $CPPFLAGS'
12660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12664 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12677 ac_cpp
='$CPP $CPPFLAGS'
12678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12682 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12683 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12684 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12685 echo $ECHO_N "(cached) $ECHO_C" >&6
12687 cat >conftest.
$ac_ext <<_ACEOF
12690 cat confdefs.h
>>conftest.
$ac_ext
12691 cat >>conftest.
$ac_ext <<_ACEOF
12692 /* end confdefs.h. */
12706 rm -f conftest.
$ac_objext
12707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12708 (eval $ac_compile) 2>conftest.er1
12710 grep -v '^ *+' conftest.er1
>conftest.err
12712 cat conftest.err
>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); } &&
12715 { ac_try
='test -z "$ac_c_werror_flag"
12716 || test ! -s conftest.err'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; } &&
12722 { ac_try
='test -s conftest.$ac_objext'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; }; then
12728 bakefile_cv_c_compiler___SUNPRO_C
=yes
12730 echo "$as_me: failed program was:" >&5
12731 sed 's/^/| /' conftest.
$ac_ext >&5
12733 bakefile_cv_c_compiler___SUNPRO_C
=no
12736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12740 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12741 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12743 ac_cpp
='$CPP $CPPFLAGS'
12744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12748 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12762 ac_cpp
='$CPP $CPPFLAGS'
12763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12766 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12767 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12768 # On Suns, sometimes $CPP names a directory.
12769 if test -n "$CPP" && test -d "$CPP"; then
12772 if test -z "$CPP"; then
12773 if test "${ac_cv_prog_CPP+set}" = set; then
12774 echo $ECHO_N "(cached) $ECHO_C" >&6
12776 # Double quotes because CPP needs to be expanded
12777 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12779 ac_preproc_ok
=false
12780 for ac_c_preproc_warn_flag
in '' yes
12782 # Use a header file that comes with gcc, so configuring glibc
12783 # with a fresh cross-compiler works.
12784 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12785 # <limits.h> exists even on freestanding compilers.
12786 # On the NeXT, cc -E runs the code through the compiler's parser,
12787 # not just through cpp. "Syntax error" is here to catch this case.
12788 cat >conftest.
$ac_ext <<_ACEOF
12791 cat confdefs.h
>>conftest.
$ac_ext
12792 cat >>conftest.
$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12795 # include <limits.h>
12797 # include <assert.h>
12801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12802 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12804 grep -v '^ *+' conftest.er1
>conftest.err
12806 cat conftest.err
>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } >/dev
/null
; then
12809 if test -s conftest.err
; then
12810 ac_cpp_err
=$ac_c_preproc_warn_flag
12811 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12818 if test -z "$ac_cpp_err"; then
12821 echo "$as_me: failed program was:" >&5
12822 sed 's/^/| /' conftest.
$ac_ext >&5
12824 # Broken: fails on valid input.
12827 rm -f conftest.err conftest.
$ac_ext
12829 # OK, works on sane cases. Now check whether non-existent headers
12830 # can be detected and how.
12831 cat >conftest.
$ac_ext <<_ACEOF
12834 cat confdefs.h
>>conftest.
$ac_ext
12835 cat >>conftest.
$ac_ext <<_ACEOF
12836 /* end confdefs.h. */
12837 #include <ac_nonexistent.h>
12839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12840 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12842 grep -v '^ *+' conftest.er1
>conftest.err
12844 cat conftest.err
>&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); } >/dev
/null
; then
12847 if test -s conftest.err
; then
12848 ac_cpp_err
=$ac_c_preproc_warn_flag
12849 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12856 if test -z "$ac_cpp_err"; then
12857 # Broken: success on invalid input.
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.
$ac_ext >&5
12863 # Passes both tests.
12867 rm -f conftest.err conftest.
$ac_ext
12870 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12871 rm -f conftest.err conftest.
$ac_ext
12872 if $ac_preproc_ok; then
12877 ac_cv_prog_CPP
=$CPP
12880 CPP
=$ac_cv_prog_CPP
12882 ac_cv_prog_CPP
=$CPP
12884 echo "$as_me:$LINENO: result: $CPP" >&5
12885 echo "${ECHO_T}$CPP" >&6
12886 ac_preproc_ok
=false
12887 for ac_c_preproc_warn_flag
in '' yes
12889 # Use a header file that comes with gcc, so configuring glibc
12890 # with a fresh cross-compiler works.
12891 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12892 # <limits.h> exists even on freestanding compilers.
12893 # On the NeXT, cc -E runs the code through the compiler's parser,
12894 # not just through cpp. "Syntax error" is here to catch this case.
12895 cat >conftest.
$ac_ext <<_ACEOF
12898 cat confdefs.h
>>conftest.
$ac_ext
12899 cat >>conftest.
$ac_ext <<_ACEOF
12900 /* end confdefs.h. */
12902 # include <limits.h>
12904 # include <assert.h>
12908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12909 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12911 grep -v '^ *+' conftest.er1
>conftest.err
12913 cat conftest.err
>&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); } >/dev
/null
; then
12916 if test -s conftest.err
; then
12917 ac_cpp_err
=$ac_c_preproc_warn_flag
12918 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12925 if test -z "$ac_cpp_err"; then
12928 echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.
$ac_ext >&5
12931 # Broken: fails on valid input.
12934 rm -f conftest.err conftest.
$ac_ext
12936 # OK, works on sane cases. Now check whether non-existent headers
12937 # can be detected and how.
12938 cat >conftest.
$ac_ext <<_ACEOF
12941 cat confdefs.h
>>conftest.
$ac_ext
12942 cat >>conftest.
$ac_ext <<_ACEOF
12943 /* end confdefs.h. */
12944 #include <ac_nonexistent.h>
12946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12947 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12949 grep -v '^ *+' conftest.er1
>conftest.err
12951 cat conftest.err
>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); } >/dev
/null
; then
12954 if test -s conftest.err
; then
12955 ac_cpp_err
=$ac_c_preproc_warn_flag
12956 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12963 if test -z "$ac_cpp_err"; then
12964 # Broken: success on invalid input.
12967 echo "$as_me: failed program was:" >&5
12968 sed 's/^/| /' conftest.
$ac_ext >&5
12970 # Passes both tests.
12974 rm -f conftest.err conftest.
$ac_ext
12977 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12978 rm -f conftest.err conftest.
$ac_ext
12979 if $ac_preproc_ok; then
12982 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12983 See \`config.log' for more details." >&5
12984 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12985 See \`config.log' for more details." >&2;}
12986 { (exit 1); exit 1; }; }
12990 ac_cpp
='$CPP $CPPFLAGS'
12991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12996 echo "$as_me:$LINENO: checking for egrep" >&5
12997 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12998 if test "${ac_cv_prog_egrep+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13001 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13002 then ac_cv_prog_egrep
='grep -E'
13003 else ac_cv_prog_egrep
='egrep'
13006 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13007 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13008 EGREP
=$ac_cv_prog_egrep
13011 if test $ac_cv_c_compiler_gnu = yes; then
13012 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13013 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13014 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13015 echo $ECHO_N "(cached) $ECHO_C" >&6
13017 ac_pattern
="Autoconf.*'x'"
13018 cat >conftest.
$ac_ext <<_ACEOF
13021 cat confdefs.h
>>conftest.
$ac_ext
13022 cat >>conftest.
$ac_ext <<_ACEOF
13023 /* end confdefs.h. */
13027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13028 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13029 ac_cv_prog_gcc_traditional
=yes
13031 ac_cv_prog_gcc_traditional
=no
13036 if test $ac_cv_prog_gcc_traditional = no
; then
13037 cat >conftest.
$ac_ext <<_ACEOF
13040 cat confdefs.h
>>conftest.
$ac_ext
13041 cat >>conftest.
$ac_ext <<_ACEOF
13042 /* end confdefs.h. */
13043 #include <termio.h>
13046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13047 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13048 ac_cv_prog_gcc_traditional
=yes
13054 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13055 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13056 if test $ac_cv_prog_gcc_traditional = yes; then
13057 CC
="$CC -traditional"
13063 ac_cpp
='$CXXCPP $CPPFLAGS'
13064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13069 CXXFLAGS
=${CXXFLAGS:=}
13074 ac_cpp
='$CXXCPP $CPPFLAGS'
13075 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13076 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13077 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13078 if test -n "$ac_tool_prefix"; then
13079 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13082 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13083 echo "$as_me:$LINENO: checking for $ac_word" >&5
13084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13085 if test "${ac_cv_prog_CXX+set}" = set; then
13086 echo $ECHO_N "(cached) $ECHO_C" >&6
13088 if test -n "$CXX"; then
13089 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13092 for as_dir
in $PATH
13095 test -z "$as_dir" && as_dir
=.
13096 for ac_exec_ext
in '' $ac_executable_extensions; do
13097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13098 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13107 CXX
=$ac_cv_prog_CXX
13108 if test -n "$CXX"; then
13109 echo "$as_me:$LINENO: result: $CXX" >&5
13110 echo "${ECHO_T}$CXX" >&6
13112 echo "$as_me:$LINENO: result: no" >&5
13113 echo "${ECHO_T}no" >&6
13116 test -n "$CXX" && break
13119 if test -z "$CXX"; then
13121 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13123 # Extract the first word of "$ac_prog", so it can be a program name with args.
13124 set dummy
$ac_prog; ac_word
=$2
13125 echo "$as_me:$LINENO: checking for $ac_word" >&5
13126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13127 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13128 echo $ECHO_N "(cached) $ECHO_C" >&6
13130 if test -n "$ac_ct_CXX"; then
13131 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13134 for as_dir
in $PATH
13137 test -z "$as_dir" && as_dir
=.
13138 for ac_exec_ext
in '' $ac_executable_extensions; do
13139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13140 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13149 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13150 if test -n "$ac_ct_CXX"; then
13151 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13152 echo "${ECHO_T}$ac_ct_CXX" >&6
13154 echo "$as_me:$LINENO: result: no" >&5
13155 echo "${ECHO_T}no" >&6
13158 test -n "$ac_ct_CXX" && break
13160 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13166 # Provide some information about the compiler.
13167 echo "$as_me:$LINENO:" \
13168 "checking for C++ compiler version" >&5
13169 ac_compiler
=`set X $ac_compile; echo $2`
13170 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13171 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }
13175 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13176 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }
13180 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13181 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); }
13186 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13187 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13188 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13189 echo $ECHO_N "(cached) $ECHO_C" >&6
13191 cat >conftest.
$ac_ext <<_ACEOF
13194 cat confdefs.h
>>conftest.
$ac_ext
13195 cat >>conftest.
$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13209 rm -f conftest.
$ac_objext
13210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13211 (eval $ac_compile) 2>conftest.er1
13213 grep -v '^ *+' conftest.er1
>conftest.err
13215 cat conftest.err
>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try
='test -z "$ac_cxx_werror_flag"
13219 || test ! -s conftest.err'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; } &&
13225 { ac_try
='test -s conftest.$ac_objext'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; }; then
13231 ac_compiler_gnu
=yes
13233 echo "$as_me: failed program was:" >&5
13234 sed 's/^/| /' conftest.
$ac_ext >&5
13238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13239 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13242 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13243 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13244 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13245 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13246 ac_save_CXXFLAGS
=$CXXFLAGS
13248 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13249 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13250 if test "${ac_cv_prog_cxx_g+set}" = set; then
13251 echo $ECHO_N "(cached) $ECHO_C" >&6
13253 cat >conftest.
$ac_ext <<_ACEOF
13256 cat confdefs.h
>>conftest.
$ac_ext
13257 cat >>conftest.
$ac_ext <<_ACEOF
13258 /* end confdefs.h. */
13268 rm -f conftest.
$ac_objext
13269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13270 (eval $ac_compile) 2>conftest.er1
13272 grep -v '^ *+' conftest.er1
>conftest.err
13274 cat conftest.err
>&5
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); } &&
13277 { ac_try
='test -z "$ac_cxx_werror_flag"
13278 || test ! -s conftest.err'
13279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13280 (eval $ac_try) 2>&5
13282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13283 (exit $ac_status); }; } &&
13284 { ac_try
='test -s conftest.$ac_objext'
13285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13286 (eval $ac_try) 2>&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); }; }; then
13290 ac_cv_prog_cxx_g
=yes
13292 echo "$as_me: failed program was:" >&5
13293 sed 's/^/| /' conftest.
$ac_ext >&5
13295 ac_cv_prog_cxx_g
=no
13297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13299 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13300 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13301 if test "$ac_test_CXXFLAGS" = set; then
13302 CXXFLAGS
=$ac_save_CXXFLAGS
13303 elif test $ac_cv_prog_cxx_g = yes; then
13304 if test "$GXX" = yes; then
13310 if test "$GXX" = yes; then
13316 for ac_declaration
in \
13318 'extern "C" void std::exit (int) throw (); using std::exit;' \
13319 'extern "C" void std::exit (int); using std::exit;' \
13320 'extern "C" void exit (int) throw ();' \
13321 'extern "C" void exit (int);' \
13324 cat >conftest.
$ac_ext <<_ACEOF
13327 cat confdefs.h
>>conftest.
$ac_ext
13328 cat >>conftest.
$ac_ext <<_ACEOF
13329 /* end confdefs.h. */
13331 #include <stdlib.h>
13340 rm -f conftest.
$ac_objext
13341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13342 (eval $ac_compile) 2>conftest.er1
13344 grep -v '^ *+' conftest.er1
>conftest.err
13346 cat conftest.err
>&5
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); } &&
13349 { ac_try
='test -z "$ac_cxx_werror_flag"
13350 || test ! -s conftest.err'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; } &&
13356 { ac_try
='test -s conftest.$ac_objext'
13357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13358 (eval $ac_try) 2>&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; }; then
13364 echo "$as_me: failed program was:" >&5
13365 sed 's/^/| /' conftest.
$ac_ext >&5
13369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13370 cat >conftest.
$ac_ext <<_ACEOF
13373 cat confdefs.h
>>conftest.
$ac_ext
13374 cat >>conftest.
$ac_ext <<_ACEOF
13375 /* end confdefs.h. */
13385 rm -f conftest.
$ac_objext
13386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13387 (eval $ac_compile) 2>conftest.er1
13389 grep -v '^ *+' conftest.er1
>conftest.err
13391 cat conftest.err
>&5
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); } &&
13394 { ac_try
='test -z "$ac_cxx_werror_flag"
13395 || test ! -s conftest.err'
13396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13397 (eval $ac_try) 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); }; } &&
13401 { ac_try
='test -s conftest.$ac_objext'
13402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403 (eval $ac_try) 2>&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); }; }; then
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.
$ac_ext >&5
13413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13416 if test -n "$ac_declaration"; then
13417 echo '#ifdef __cplusplus' >>confdefs.h
13418 echo $ac_declaration >>confdefs.h
13419 echo '#endif' >>confdefs.h
13423 ac_cpp
='$CXXCPP $CPPFLAGS'
13424 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13425 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13426 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13431 ac_cpp
='$CXXCPP $CPPFLAGS'
13432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13436 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13437 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13438 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13439 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 cat >conftest.
$ac_ext <<_ACEOF
13444 cat confdefs.h
>>conftest.
$ac_ext
13445 cat >>conftest.
$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13452 #ifndef __INTEL_COMPILER
13460 rm -f conftest.
$ac_objext
13461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13462 (eval $ac_compile) 2>conftest.er1
13464 grep -v '^ *+' conftest.er1
>conftest.err
13466 cat conftest.err
>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } &&
13469 { ac_try
='test -z "$ac_cxx_werror_flag"
13470 || test ! -s conftest.err'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; } &&
13476 { ac_try
='test -s conftest.$ac_objext'
13477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13478 (eval $ac_try) 2>&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); }; }; then
13482 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13484 echo "$as_me: failed program was:" >&5
13485 sed 's/^/| /' conftest.
$ac_ext >&5
13487 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13494 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13495 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13497 ac_cpp
='$CXXCPP $CPPFLAGS'
13498 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13499 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13500 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13502 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13509 if test "x$GCXX" != "xyes"; then
13510 if test "xCXX" = "xC"; then
13511 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13512 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13513 if test "${bakefile_cv_cxx_exto+set}" = set; then
13514 echo $ECHO_N "(cached) $ECHO_C" >&6
13516 cat >conftest.
$ac_ext <<_ACEOF
13519 cat confdefs.h
>>conftest.
$ac_ext
13520 cat >>conftest.
$ac_ext <<_ACEOF
13521 /* end confdefs.h. */
13531 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13533 (eval $ac_compile) 2>&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; then
13537 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13539 conftest.
$ac_ext.o
)
13540 bakefile_cv_cxx_exto
="-ext o"
13547 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13548 See \`config.log' for more details." >&5
13549 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13550 See \`config.log' for more details." >&2;}
13551 { (exit 1); exit 1; }; }
13555 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13558 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13559 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13560 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13561 if test "cxx" = "c"; then
13562 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13564 if test "cxx" = "cxx"; then
13565 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13569 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13570 unset ac_cv_prog_cc_g
13571 ac_test_CFLAGS
=${CFLAGS+set}
13572 ac_save_CFLAGS
=$CFLAGS
13574 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13575 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13576 if test "${ac_cv_prog_cc_g+set}" = set; then
13577 echo $ECHO_N "(cached) $ECHO_C" >&6
13579 cat >conftest.
$ac_ext <<_ACEOF
13582 cat confdefs.h
>>conftest.
$ac_ext
13583 cat >>conftest.
$ac_ext <<_ACEOF
13584 /* end confdefs.h. */
13594 rm -f conftest.
$ac_objext
13595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13596 (eval $ac_compile) 2>conftest.er1
13598 grep -v '^ *+' conftest.er1
>conftest.err
13600 cat conftest.err
>&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); } &&
13603 { ac_try
='test -z "$ac_cxx_werror_flag"
13604 || test ! -s conftest.err'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; } &&
13610 { ac_try
='test -s conftest.$ac_objext'
13611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13612 (eval $ac_try) 2>&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; }; then
13616 ac_cv_prog_cc_g
=yes
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.
$ac_ext >&5
13623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13625 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13626 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13627 if test "$ac_test_CFLAGS" = set; then
13628 CFLAGS
=$ac_save_CFLAGS
13629 elif test $ac_cv_prog_cc_g = yes; then
13630 if test "$GCC" = yes; then
13636 if test "$GCC" = yes; then
13648 ac_cpp
='$CXXCPP $CPPFLAGS'
13649 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13650 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13651 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13653 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13654 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13655 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13656 echo $ECHO_N "(cached) $ECHO_C" >&6
13658 cat >conftest.
$ac_ext <<_ACEOF
13661 cat confdefs.h
>>conftest.
$ac_ext
13662 cat >>conftest.
$ac_ext <<_ACEOF
13663 /* end confdefs.h. */
13676 rm -f conftest.
$ac_objext
13677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13678 (eval $ac_compile) 2>conftest.er1
13680 grep -v '^ *+' conftest.er1
>conftest.err
13682 cat conftest.err
>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } &&
13685 { ac_try
='test -z "$ac_cxx_werror_flag"
13686 || test ! -s conftest.err'
13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 (eval $ac_try) 2>&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); }; } &&
13692 { ac_try
='test -s conftest.$ac_objext'
13693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13694 (eval $ac_try) 2>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); }; }; then
13698 bakefile_compiler_xlc
=yes
13700 echo "$as_me: failed program was:" >&5
13701 sed 's/^/| /' conftest.
$ac_ext >&5
13703 bakefile_compiler_xlc
=no
13705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13706 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13709 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13710 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13712 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13714 ac_cpp
='$CXXCPP $CPPFLAGS'
13715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13724 ac_cpp
='$CXXCPP $CPPFLAGS'
13725 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13726 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13727 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13729 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13730 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13731 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13732 echo $ECHO_N "(cached) $ECHO_C" >&6
13734 cat >conftest.
$ac_ext <<_ACEOF
13737 cat confdefs.h
>>conftest.
$ac_ext
13738 cat >>conftest.
$ac_ext <<_ACEOF
13739 /* end confdefs.h. */
13752 rm -f conftest.
$ac_objext
13753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13754 (eval $ac_compile) 2>conftest.er1
13756 grep -v '^ *+' conftest.er1
>conftest.err
13758 cat conftest.err
>&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); } &&
13761 { ac_try
='test -z "$ac_cxx_werror_flag"
13762 || test ! -s conftest.err'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; } &&
13768 { ac_try
='test -s conftest.$ac_objext'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; }; then
13774 bakefile_compiler_mwerks
=yes
13776 echo "$as_me: failed program was:" >&5
13777 sed 's/^/| /' conftest.
$ac_ext >&5
13779 bakefile_compiler_mwerks
=no
13781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13782 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13785 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13786 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13788 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13790 ac_cpp
='$CXXCPP $CPPFLAGS'
13791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13797 ac_cpp
='$CXXCPP $CPPFLAGS'
13798 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13799 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13800 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13802 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13803 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13804 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13805 echo $ECHO_N "(cached) $ECHO_C" >&6
13807 cat >conftest.
$ac_ext <<_ACEOF
13810 cat confdefs.h
>>conftest.
$ac_ext
13811 cat >>conftest.
$ac_ext <<_ACEOF
13812 /* end confdefs.h. */
13825 rm -f conftest.
$ac_objext
13826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13827 (eval $ac_compile) 2>conftest.er1
13829 grep -v '^ *+' conftest.er1
>conftest.err
13831 cat conftest.err
>&5
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); } &&
13834 { ac_try
='test -z "$ac_cxx_werror_flag"
13835 || test ! -s conftest.err'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; } &&
13841 { ac_try
='test -s conftest.$ac_objext'
13842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13843 (eval $ac_try) 2>&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); }; }; then
13847 bakefile_compiler_xlc
=yes
13849 echo "$as_me: failed program was:" >&5
13850 sed 's/^/| /' conftest.
$ac_ext >&5
13852 bakefile_compiler_xlc
=no
13854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13855 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13858 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13859 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13861 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13863 ac_cpp
='$CXXCPP $CPPFLAGS'
13864 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13865 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13866 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13875 ac_cpp
='$CXXCPP $CPPFLAGS'
13876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13880 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13881 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13882 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13883 echo $ECHO_N "(cached) $ECHO_C" >&6
13885 cat >conftest.
$ac_ext <<_ACEOF
13888 cat confdefs.h
>>conftest.
$ac_ext
13889 cat >>conftest.
$ac_ext <<_ACEOF
13890 /* end confdefs.h. */
13896 #ifndef _SGI_COMPILER_VERSION
13904 rm -f conftest.
$ac_objext
13905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13906 (eval $ac_compile) 2>conftest.er1
13908 grep -v '^ *+' conftest.er1
>conftest.err
13910 cat conftest.err
>&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); } &&
13913 { ac_try
='test -z "$ac_cxx_werror_flag"
13914 || test ! -s conftest.err'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; } &&
13920 { ac_try
='test -s conftest.$ac_objext'
13921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13922 (eval $ac_try) 2>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); }; }; then
13926 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13928 echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.
$ac_ext >&5
13931 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13938 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13939 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13941 ac_cpp
='$CXXCPP $CPPFLAGS'
13942 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13943 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13944 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13946 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13959 ac_cpp
='$CXXCPP $CPPFLAGS'
13960 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13961 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13962 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13964 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13965 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13966 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13967 echo $ECHO_N "(cached) $ECHO_C" >&6
13969 cat >conftest.
$ac_ext <<_ACEOF
13972 cat confdefs.h
>>conftest.
$ac_ext
13973 cat >>conftest.
$ac_ext <<_ACEOF
13974 /* end confdefs.h. */
13988 rm -f conftest.
$ac_objext
13989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13990 (eval $ac_compile) 2>conftest.er1
13992 grep -v '^ *+' conftest.er1
>conftest.err
13994 cat conftest.err
>&5
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); } &&
13997 { ac_try
='test -z "$ac_cxx_werror_flag"
13998 || test ! -s conftest.err'
13999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14000 (eval $ac_try) 2>&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); }; } &&
14004 { ac_try
='test -s conftest.$ac_objext'
14005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14006 (eval $ac_try) 2>&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); }; }; then
14010 bakefile_cv_cxx_compiler___HP_aCC
=yes
14012 echo "$as_me: failed program was:" >&5
14013 sed 's/^/| /' conftest.
$ac_ext >&5
14015 bakefile_cv_cxx_compiler___HP_aCC
=no
14018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14022 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14023 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14025 ac_cpp
='$CXXCPP $CPPFLAGS'
14026 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14027 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14028 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14030 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14043 ac_cpp
='$CXXCPP $CPPFLAGS'
14044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14048 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14049 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14050 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14051 echo $ECHO_N "(cached) $ECHO_C" >&6
14053 cat >conftest.
$ac_ext <<_ACEOF
14056 cat confdefs.h
>>conftest.
$ac_ext
14057 cat >>conftest.
$ac_ext <<_ACEOF
14058 /* end confdefs.h. */
14072 rm -f conftest.
$ac_objext
14073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14074 (eval $ac_compile) 2>conftest.er1
14076 grep -v '^ *+' conftest.er1
>conftest.err
14078 cat conftest.err
>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } &&
14081 { ac_try
='test -z "$ac_cxx_werror_flag"
14082 || test ! -s conftest.err'
14083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14084 (eval $ac_try) 2>&5
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); }; } &&
14088 { ac_try
='test -s conftest.$ac_objext'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; }; then
14094 bakefile_cv_cxx_compiler___DECCXX
=yes
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.
$ac_ext >&5
14099 bakefile_cv_cxx_compiler___DECCXX
=no
14102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14106 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14107 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14109 ac_cpp
='$CXXCPP $CPPFLAGS'
14110 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14111 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14112 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14114 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14127 ac_cpp
='$CXXCPP $CPPFLAGS'
14128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14132 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14133 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14134 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14135 echo $ECHO_N "(cached) $ECHO_C" >&6
14137 cat >conftest.
$ac_ext <<_ACEOF
14140 cat confdefs.h
>>conftest.
$ac_ext
14141 cat >>conftest.
$ac_ext <<_ACEOF
14142 /* end confdefs.h. */
14148 #ifndef __SUNPRO_CC
14156 rm -f conftest.
$ac_objext
14157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14158 (eval $ac_compile) 2>conftest.er1
14160 grep -v '^ *+' conftest.er1
>conftest.err
14162 cat conftest.err
>&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); } &&
14165 { ac_try
='test -z "$ac_cxx_werror_flag"
14166 || test ! -s conftest.err'
14167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168 (eval $ac_try) 2>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); }; } &&
14172 { ac_try
='test -s conftest.$ac_objext'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; }; then
14178 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14180 echo "$as_me: failed program was:" >&5
14181 sed 's/^/| /' conftest.
$ac_ext >&5
14183 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14190 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14191 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14193 ac_cpp
='$CXXCPP $CPPFLAGS'
14194 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14195 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14196 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14198 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14212 ac_cpp
='$CPP $CPPFLAGS'
14213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14218 if test -n "$ac_tool_prefix"; then
14219 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14220 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14221 echo "$as_me:$LINENO: checking for $ac_word" >&5
14222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14223 if test "${ac_cv_prog_RANLIB+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 if test -n "$RANLIB"; then
14227 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14230 for as_dir
in $PATH
14233 test -z "$as_dir" && as_dir
=.
14234 for ac_exec_ext
in '' $ac_executable_extensions; do
14235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14236 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14245 RANLIB
=$ac_cv_prog_RANLIB
14246 if test -n "$RANLIB"; then
14247 echo "$as_me:$LINENO: result: $RANLIB" >&5
14248 echo "${ECHO_T}$RANLIB" >&6
14250 echo "$as_me:$LINENO: result: no" >&5
14251 echo "${ECHO_T}no" >&6
14255 if test -z "$ac_cv_prog_RANLIB"; then
14256 ac_ct_RANLIB
=$RANLIB
14257 # Extract the first word of "ranlib", so it can be a program name with args.
14258 set dummy ranlib
; ac_word
=$2
14259 echo "$as_me:$LINENO: checking for $ac_word" >&5
14260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14261 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14264 if test -n "$ac_ct_RANLIB"; then
14265 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14268 for as_dir
in $PATH
14271 test -z "$as_dir" && as_dir
=.
14272 for ac_exec_ext
in '' $ac_executable_extensions; do
14273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14274 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14281 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14284 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14285 if test -n "$ac_ct_RANLIB"; then
14286 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14287 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14289 echo "$as_me:$LINENO: result: no" >&5
14290 echo "${ECHO_T}no" >&6
14293 RANLIB
=$ac_ct_RANLIB
14295 RANLIB
="$ac_cv_prog_RANLIB"
14299 if test -n "$ac_tool_prefix"; then
14300 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14301 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14302 echo "$as_me:$LINENO: checking for $ac_word" >&5
14303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14304 if test "${ac_cv_prog_AR+set}" = set; then
14305 echo $ECHO_N "(cached) $ECHO_C" >&6
14307 if test -n "$AR"; then
14308 ac_cv_prog_AR
="$AR" # Let the user override the test.
14310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14311 for as_dir
in $PATH
14314 test -z "$as_dir" && as_dir
=.
14315 for ac_exec_ext
in '' $ac_executable_extensions; do
14316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14317 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14327 if test -n "$AR"; then
14328 echo "$as_me:$LINENO: result: $AR" >&5
14329 echo "${ECHO_T}$AR" >&6
14331 echo "$as_me:$LINENO: result: no" >&5
14332 echo "${ECHO_T}no" >&6
14336 if test -z "$ac_cv_prog_AR"; then
14338 # Extract the first word of "ar", so it can be a program name with args.
14339 set dummy
ar; ac_word
=$2
14340 echo "$as_me:$LINENO: checking for $ac_word" >&5
14341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14342 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14343 echo $ECHO_N "(cached) $ECHO_C" >&6
14345 if test -n "$ac_ct_AR"; then
14346 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14349 for as_dir
in $PATH
14352 test -z "$as_dir" && as_dir
=.
14353 for ac_exec_ext
in '' $ac_executable_extensions; do
14354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14355 ac_cv_prog_ac_ct_AR
="ar"
14356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14364 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14365 if test -n "$ac_ct_AR"; then
14366 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14367 echo "${ECHO_T}$ac_ct_AR" >&6
14369 echo "$as_me:$LINENO: result: no" >&5
14370 echo "${ECHO_T}no" >&6
14375 AR
="$ac_cv_prog_AR"
14378 if test "x$AR" = "x" ; then
14379 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14380 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14381 { (exit 1); exit 1; }; }
14384 # Find a good install program. We prefer a C program (faster),
14385 # so one script is as good as another. But avoid the broken or
14386 # incompatible versions:
14387 # SysV /etc/install, /usr/sbin/install
14388 # SunOS /usr/etc/install
14389 # IRIX /sbin/install
14391 # AmigaOS /C/install, which installs bootblocks on floppy discs
14392 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14393 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14394 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14395 # OS/2's system install, which has a completely different semantic
14396 # ./install, which can be erroneously created by make from ./install.sh.
14397 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14398 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14399 if test -z "$INSTALL"; then
14400 if test "${ac_cv_path_install+set}" = set; then
14401 echo $ECHO_N "(cached) $ECHO_C" >&6
14403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14404 for as_dir
in $PATH
14407 test -z "$as_dir" && as_dir
=.
14408 # Account for people who put trailing slashes in PATH elements.
14410 .
/ | .
// | /cC
/* | \
14411 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14412 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14415 # OSF1 and SCO ODT 3.0 have their own names for install.
14416 # Don't use installbsd from OSF since it installs stuff as root
14418 for ac_prog
in ginstall scoinst
install; do
14419 for ac_exec_ext
in '' $ac_executable_extensions; do
14420 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14421 if test $ac_prog = install &&
14422 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14423 # AIX install. It has an incompatible calling convention.
14425 elif test $ac_prog = install &&
14426 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14427 # program-specific install script used by HP pwplus--don't use.
14430 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14442 if test "${ac_cv_path_install+set}" = set; then
14443 INSTALL
=$ac_cv_path_install
14445 # As a last resort, use the slow shell script. We don't cache a
14446 # path for INSTALL within a source directory, because that will
14447 # break other packages using the cache if that directory is
14448 # removed, or if the path is relative.
14449 INSTALL
=$ac_install_sh
14452 echo "$as_me:$LINENO: result: $INSTALL" >&5
14453 echo "${ECHO_T}$INSTALL" >&6
14455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14456 # It thinks the first close brace ends the variable substitution.
14457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14461 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14467 ?
:* ) # Drive letter, considered as absolute.
14470 INSTALL
=`pwd`/${INSTALL} ;;
14477 INSTALL_PROGRAM
="cp -fp"
14478 INSTALL_DATA
="cp -fp"
14484 if test -n "$ac_tool_prefix"; then
14485 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14486 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14487 echo "$as_me:$LINENO: checking for $ac_word" >&5
14488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14489 if test "${ac_cv_prog_STRIP+set}" = set; then
14490 echo $ECHO_N "(cached) $ECHO_C" >&6
14492 if test -n "$STRIP"; then
14493 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14496 for as_dir
in $PATH
14499 test -z "$as_dir" && as_dir
=.
14500 for ac_exec_ext
in '' $ac_executable_extensions; do
14501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14502 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14511 STRIP
=$ac_cv_prog_STRIP
14512 if test -n "$STRIP"; then
14513 echo "$as_me:$LINENO: result: $STRIP" >&5
14514 echo "${ECHO_T}$STRIP" >&6
14516 echo "$as_me:$LINENO: result: no" >&5
14517 echo "${ECHO_T}no" >&6
14521 if test -z "$ac_cv_prog_STRIP"; then
14523 # Extract the first word of "strip", so it can be a program name with args.
14524 set dummy strip
; ac_word
=$2
14525 echo "$as_me:$LINENO: checking for $ac_word" >&5
14526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14527 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14528 echo $ECHO_N "(cached) $ECHO_C" >&6
14530 if test -n "$ac_ct_STRIP"; then
14531 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14534 for as_dir
in $PATH
14537 test -z "$as_dir" && as_dir
=.
14538 for ac_exec_ext
in '' $ac_executable_extensions; do
14539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14540 ac_cv_prog_ac_ct_STRIP
="strip"
14541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14547 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14550 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14551 if test -n "$ac_ct_STRIP"; then
14552 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14553 echo "${ECHO_T}$ac_ct_STRIP" >&6
14555 echo "$as_me:$LINENO: result: no" >&5
14556 echo "${ECHO_T}no" >&6
14561 STRIP
="$ac_cv_prog_STRIP"
14565 if test "$wxUSE_WINE" = "yes"; then
14566 if test -n "$ac_tool_prefix"; then
14567 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14568 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14569 echo "$as_me:$LINENO: checking for $ac_word" >&5
14570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14571 if test "${ac_cv_prog_WINDRES+set}" = set; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 if test -n "$WINDRES"; then
14575 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14578 for as_dir
in $PATH
14581 test -z "$as_dir" && as_dir
=.
14582 for ac_exec_ext
in '' $ac_executable_extensions; do
14583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14584 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
14585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14593 WINDRES
=$ac_cv_prog_WINDRES
14594 if test -n "$WINDRES"; then
14595 echo "$as_me:$LINENO: result: $WINDRES" >&5
14596 echo "${ECHO_T}$WINDRES" >&6
14598 echo "$as_me:$LINENO: result: no" >&5
14599 echo "${ECHO_T}no" >&6
14603 if test -z "$ac_cv_prog_WINDRES"; then
14604 ac_ct_WINDRES
=$WINDRES
14605 # Extract the first word of "wrc", so it can be a program name with args.
14606 set dummy wrc
; ac_word
=$2
14607 echo "$as_me:$LINENO: checking for $ac_word" >&5
14608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14609 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14610 echo $ECHO_N "(cached) $ECHO_C" >&6
14612 if test -n "$ac_ct_WINDRES"; then
14613 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14616 for as_dir
in $PATH
14619 test -z "$as_dir" && as_dir
=.
14620 for ac_exec_ext
in '' $ac_executable_extensions; do
14621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14622 ac_cv_prog_ac_ct_WINDRES
="wrc"
14623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14631 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14632 if test -n "$ac_ct_WINDRES"; then
14633 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14634 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14636 echo "$as_me:$LINENO: result: no" >&5
14637 echo "${ECHO_T}no" >&6
14640 WINDRES
=$ac_ct_WINDRES
14642 WINDRES
="$ac_cv_prog_WINDRES"
14648 *-*-cygwin* | *-*-mingw32* )
14649 if test -n "$ac_tool_prefix"; then
14650 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14651 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14652 echo "$as_me:$LINENO: checking for $ac_word" >&5
14653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14654 if test "${ac_cv_prog_WINDRES+set}" = set; then
14655 echo $ECHO_N "(cached) $ECHO_C" >&6
14657 if test -n "$WINDRES"; then
14658 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14661 for as_dir
in $PATH
14664 test -z "$as_dir" && as_dir
=.
14665 for ac_exec_ext
in '' $ac_executable_extensions; do
14666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14667 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
14668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14676 WINDRES
=$ac_cv_prog_WINDRES
14677 if test -n "$WINDRES"; then
14678 echo "$as_me:$LINENO: result: $WINDRES" >&5
14679 echo "${ECHO_T}$WINDRES" >&6
14681 echo "$as_me:$LINENO: result: no" >&5
14682 echo "${ECHO_T}no" >&6
14686 if test -z "$ac_cv_prog_WINDRES"; then
14687 ac_ct_WINDRES
=$WINDRES
14688 # Extract the first word of "windres", so it can be a program name with args.
14689 set dummy windres
; ac_word
=$2
14690 echo "$as_me:$LINENO: checking for $ac_word" >&5
14691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14692 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14693 echo $ECHO_N "(cached) $ECHO_C" >&6
14695 if test -n "$ac_ct_WINDRES"; then
14696 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14699 for as_dir
in $PATH
14702 test -z "$as_dir" && as_dir
=.
14703 for ac_exec_ext
in '' $ac_executable_extensions; do
14704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14705 ac_cv_prog_ac_ct_WINDRES
="windres"
14706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14714 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14715 if test -n "$ac_ct_WINDRES"; then
14716 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14717 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14719 echo "$as_me:$LINENO: result: no" >&5
14720 echo "${ECHO_T}no" >&6
14723 WINDRES
=$ac_ct_WINDRES
14725 WINDRES
="$ac_cv_prog_WINDRES"
14729 if test -n "$ac_tool_prefix"; then
14730 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14731 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14732 echo "$as_me:$LINENO: checking for $ac_word" >&5
14733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14734 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14735 echo $ECHO_N "(cached) $ECHO_C" >&6
14737 if test -n "$DLLTOOL"; then
14738 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14741 for as_dir
in $PATH
14744 test -z "$as_dir" && as_dir
=.
14745 for ac_exec_ext
in '' $ac_executable_extensions; do
14746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14747 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14756 DLLTOOL
=$ac_cv_prog_DLLTOOL
14757 if test -n "$DLLTOOL"; then
14758 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14759 echo "${ECHO_T}$DLLTOOL" >&6
14761 echo "$as_me:$LINENO: result: no" >&5
14762 echo "${ECHO_T}no" >&6
14766 if test -z "$ac_cv_prog_DLLTOOL"; then
14767 ac_ct_DLLTOOL
=$DLLTOOL
14768 # Extract the first word of "dlltool", so it can be a program name with args.
14769 set dummy dlltool
; ac_word
=$2
14770 echo "$as_me:$LINENO: checking for $ac_word" >&5
14771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14772 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14775 if test -n "$ac_ct_DLLTOOL"; then
14776 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14779 for as_dir
in $PATH
14782 test -z "$as_dir" && as_dir
=.
14783 for ac_exec_ext
in '' $ac_executable_extensions; do
14784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14785 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14794 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14795 if test -n "$ac_ct_DLLTOOL"; then
14796 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14797 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14799 echo "$as_me:$LINENO: result: no" >&5
14800 echo "${ECHO_T}no" >&6
14803 DLLTOOL
=$ac_ct_DLLTOOL
14805 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14812 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14813 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14814 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
14818 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14819 egrep -s GNU
> /dev
/null
); then
14820 wx_cv_prog_makeisgnu
="yes"
14822 wx_cv_prog_makeisgnu
="no"
14826 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14827 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14829 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14837 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14838 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14839 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14840 if test "${wx_cv_prog_makevpath+set}" = set; then
14841 echo $ECHO_N "(cached) $ECHO_C" >&6
14844 cat - << EOF > confMake
14850 if test ! -d sub
; then
14853 echo dummy
> sub
/file
14854 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14856 rm -f sub
/file check final_file confMake
14858 if test "$RESULT" = 0; then
14859 wx_cv_prog_makevpath
="yes"
14861 wx_cv_prog_makevpath
="no"
14865 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14866 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14868 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14869 { { echo "$as_me:$LINENO: error:
14870 You need a make-utility that is able to use the variable
14872 If your version of make does not support VPATH correctly,
14873 please install GNU-make (possibly as gmake), and start
14874 configure with the following command:
14875 export MAKE=gmake; ./configure for sh-type shells
14876 setenv MAKE gmake; ./configure for csh-type shells
14877 Also please do remember to use gmake in this case every time
14878 you are trying to compile.
14880 echo "$as_me: error:
14881 You need a make-utility that is able to use the variable
14883 If your version of make does not support VPATH correctly,
14884 please install GNU-make (possibly as gmake), and start
14885 configure with the following command:
14886 export MAKE=gmake; ./configure for sh-type shells
14887 setenv MAKE gmake; ./configure for csh-type shells
14888 Also please do remember to use gmake in this case every time
14889 you are trying to compile.
14891 { (exit 1); exit 1; }; }
14893 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14894 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14896 if test "$LN_S" = "ln -s"; then
14897 echo "$as_me:$LINENO: result: yes" >&5
14898 echo "${ECHO_T}yes" >&6
14900 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14901 echo "${ECHO_T}no, using $LN_S" >&6
14907 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14908 CXXFLAGS
="-qunique $CXXFLAGS"
14912 powerpc
-*-darwin* )
14913 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14914 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14915 cat >conftest.
$ac_ext <<_ACEOF
14918 cat confdefs.h
>>conftest.
$ac_ext
14919 cat >>conftest.
$ac_ext <<_ACEOF
14920 /* end confdefs.h. */
14925 #ifndef __POWERPC__
14926 choke me for lack of PowerPC
14933 rm -f conftest.
$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>conftest.er1
14937 grep -v '^ *+' conftest.er1
>conftest.err
14939 cat conftest.err
>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try
='test -z "$ac_c_werror_flag"
14943 || test ! -s conftest.err'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; } &&
14949 { ac_try
='test -s conftest.$ac_objext'
14950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14951 (eval $ac_try) 2>&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); }; }; then
14955 echo "$as_me:$LINENO: result: yes" >&5
14956 echo "${ECHO_T}yes" >&6
14958 echo "$as_me: failed program was:" >&5
14959 sed 's/^/| /' conftest.
$ac_ext >&5
14961 echo "$as_me:$LINENO: result: no" >&5
14962 echo "${ECHO_T}no" >&6
14963 cat >>confdefs.h
<<\_ACEOF
14964 #define __POWERPC__ 1
14969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14975 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14976 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14977 cat >conftest.
$ac_ext <<_ACEOF
14980 cat confdefs.h
>>conftest.
$ac_ext
14981 cat >>conftest.
$ac_ext <<_ACEOF
14982 /* end confdefs.h. */
14983 #include <CoreFoundation/CFBase.h>
14993 rm -f conftest.
$ac_objext
14994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14995 (eval $ac_compile) 2>conftest.er1
14997 grep -v '^ *+' conftest.er1
>conftest.err
14999 cat conftest.err
>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } &&
15002 { ac_try
='test -z "$ac_c_werror_flag"
15003 || test ! -s conftest.err'
15004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15005 (eval $ac_try) 2>&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); }; } &&
15009 { ac_try
='test -s conftest.$ac_objext'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; }; then
15015 echo "$as_me:$LINENO: result: yes" >&5
15016 echo "${ECHO_T}yes" >&6
15018 echo "$as_me: failed program was:" >&5
15019 sed 's/^/| /' conftest.
$ac_ext >&5
15021 echo "$as_me:$LINENO: result: no" >&5
15022 echo "${ECHO_T}no" >&6
15023 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15024 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15025 cat >conftest.
$ac_ext <<_ACEOF
15028 cat confdefs.h
>>conftest.
$ac_ext
15029 cat >>conftest.
$ac_ext <<_ACEOF
15030 /* end confdefs.h. */
15031 #define __CF_USE_FRAMEWORK_INCLUDES__
15032 #include <CoreFoundation/CFBase.h>
15042 rm -f conftest.
$ac_objext
15043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15044 (eval $ac_compile) 2>conftest.er1
15046 grep -v '^ *+' conftest.er1
>conftest.err
15048 cat conftest.err
>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); } &&
15051 { ac_try
='test -z "$ac_c_werror_flag"
15052 || test ! -s conftest.err'
15053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15054 (eval $ac_try) 2>&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); }; } &&
15058 { ac_try
='test -s conftest.$ac_objext'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; }; then
15064 echo "$as_me:$LINENO: result: yes" >&5
15065 echo "${ECHO_T}yes" >&6
15066 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.
$ac_ext >&5
15071 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15072 See \`config.log' for more details." >&5
15073 echo "$as_me: error: no. CoreFoundation not available.
15074 See \`config.log' for more details." >&2;}
15075 { (exit 1); exit 1; }; }
15078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15087 *-pc-os2_emx | *-pc-os2-emx )
15088 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15089 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15090 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15091 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15092 echo $ECHO_N "(cached) $ECHO_C" >&6
15094 ac_check_lib_save_LIBS
=$LIBS
15095 LIBS
="-lcExt $LIBS"
15096 cat >conftest.
$ac_ext <<_ACEOF
15099 cat confdefs.h
>>conftest.
$ac_ext
15100 cat >>conftest.
$ac_ext <<_ACEOF
15101 /* end confdefs.h. */
15103 /* Override any gcc2 internal prototype to avoid an error. */
15107 /* We use char because int might match the return type of a gcc2
15108 builtin and then its argument prototype would still apply. */
15118 rm -f conftest.
$ac_objext conftest
$ac_exeext
15119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15120 (eval $ac_link) 2>conftest.er1
15122 grep -v '^ *+' conftest.er1
>conftest.err
15124 cat conftest.err
>&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); } &&
15127 { ac_try
='test -z "$ac_c_werror_flag"
15128 || test ! -s conftest.err'
15129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15130 (eval $ac_try) 2>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }; } &&
15134 { ac_try
='test -s conftest$ac_exeext'
15135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15136 (eval $ac_try) 2>&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); }; }; then
15140 ac_cv_lib_cExt_drand48
=yes
15142 echo "$as_me: failed program was:" >&5
15143 sed 's/^/| /' conftest.
$ac_ext >&5
15145 ac_cv_lib_cExt_drand48
=no
15147 rm -f conftest.err conftest.
$ac_objext \
15148 conftest
$ac_exeext conftest.
$ac_ext
15149 LIBS
=$ac_check_lib_save_LIBS
15151 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15152 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15153 if test $ac_cv_lib_cExt_drand48 = yes; then
15154 LIBS
="$LIBS -lcExt"
15158 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15160 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15161 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15162 if test "${wx_cv_gccversion+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15166 if test "$cross_compiling" = yes; then
15167 wx_cv_gccversion
="EMX2"
15170 cat >conftest.
$ac_ext <<_ACEOF
15173 cat confdefs.h
>>conftest.
$ac_ext
15174 cat >>conftest.
$ac_ext <<_ACEOF
15175 /* end confdefs.h. */
15181 FILE *f=fopen("conftestval", "w");
15186 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15188 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15198 rm -f conftest
$ac_exeext
15199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15200 (eval $ac_link) 2>&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15205 (eval $ac_try) 2>&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); }; }; then
15209 wx_cv_gccversion
=`cat conftestval`
15211 echo "$as_me: program exited with status $ac_status" >&5
15212 echo "$as_me: failed program was:" >&5
15213 sed 's/^/| /' conftest.
$ac_ext >&5
15215 ( exit $ac_status )
15216 wx_cv_gccversion
="EMX2"
15218 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15222 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15223 echo "${ECHO_T}$wx_cv_gccversion" >&6
15224 if test "$wx_cv_gccversion" = "EMX2"; then
15225 LIBS
="$LIBS -lstdcpp"
15226 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15228 if test "$wx_cv_gccversion" = "EMX3"; then
15229 LIBS
="$LIBS -lstdcxx -lgcc"
15230 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15232 LIBS
="$LIBS -lstdc++"
15235 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15236 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15237 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15245 ac_cpp
='$CXXCPP $CPPFLAGS'
15246 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15247 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15248 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15251 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15252 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15253 if test "${ac_cv_string_strcasecmp+set}" = set; then
15254 echo $ECHO_N "(cached) $ECHO_C" >&6
15257 cat >conftest.
$ac_ext <<_ACEOF
15260 cat confdefs.h
>>conftest.
$ac_ext
15261 cat >>conftest.
$ac_ext <<_ACEOF
15262 /* end confdefs.h. */
15264 #include <string.h>
15270 strcasecmp("foo", "bar");
15276 rm -f conftest.
$ac_objext conftest
$ac_exeext
15277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15278 (eval $ac_link) 2>conftest.er1
15280 grep -v '^ *+' conftest.er1
>conftest.err
15282 cat conftest.err
>&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); } &&
15285 { ac_try
='test -z "$ac_cxx_werror_flag"
15286 || test ! -s conftest.err'
15287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15288 (eval $ac_try) 2>&5
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); }; } &&
15292 { ac_try
='test -s conftest$ac_exeext'
15293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 (eval $ac_try) 2>&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; }; then
15298 ac_cv_string_strcasecmp
=yes
15300 echo "$as_me: failed program was:" >&5
15301 sed 's/^/| /' conftest.
$ac_ext >&5
15303 ac_cv_string_strcasecmp
=no
15306 rm -f conftest.err conftest.
$ac_objext \
15307 conftest
$ac_exeext conftest.
$ac_ext
15310 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15311 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15313 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15314 cat >>confdefs.h
<<\_ACEOF
15315 #define HAVE_STRCASECMP_IN_STRING_H 1
15319 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15320 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15321 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15322 echo $ECHO_N "(cached) $ECHO_C" >&6
15325 cat >conftest.
$ac_ext <<_ACEOF
15328 cat confdefs.h
>>conftest.
$ac_ext
15329 cat >>conftest.
$ac_ext <<_ACEOF
15330 /* end confdefs.h. */
15332 #include <strings.h>
15338 strcasecmp("foo", "bar");
15344 rm -f conftest.
$ac_objext conftest
$ac_exeext
15345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15346 (eval $ac_link) 2>conftest.er1
15348 grep -v '^ *+' conftest.er1
>conftest.err
15350 cat conftest.err
>&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); } &&
15353 { ac_try
='test -z "$ac_cxx_werror_flag"
15354 || test ! -s conftest.err'
15355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 (eval $ac_try) 2>&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; } &&
15360 { ac_try
='test -s conftest$ac_exeext'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; }; then
15366 ac_cv_strings_strcasecmp
=yes
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.
$ac_ext >&5
15371 ac_cv_strings_strcasecmp
=no
15374 rm -f conftest.err conftest.
$ac_objext \
15375 conftest
$ac_exeext conftest.
$ac_ext
15378 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15379 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15381 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15382 cat >>confdefs.h
<<\_ACEOF
15383 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15387 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15388 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15389 { (exit 1); exit 1; }; }
15394 ac_cpp
='$CPP $CPPFLAGS'
15395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15403 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15404 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15405 if test "${ac_cv_header_stdc+set}" = set; then
15406 echo $ECHO_N "(cached) $ECHO_C" >&6
15408 cat >conftest.
$ac_ext <<_ACEOF
15411 cat confdefs.h
>>conftest.
$ac_ext
15412 cat >>conftest.
$ac_ext <<_ACEOF
15413 /* end confdefs.h. */
15414 #include <stdlib.h>
15415 #include <stdarg.h>
15416 #include <string.h>
15427 rm -f conftest.
$ac_objext
15428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15429 (eval $ac_compile) 2>conftest.er1
15431 grep -v '^ *+' conftest.er1
>conftest.err
15433 cat conftest.err
>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } &&
15436 { ac_try
='test -z "$ac_c_werror_flag"
15437 || test ! -s conftest.err'
15438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15439 (eval $ac_try) 2>&5
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); }; } &&
15443 { ac_try
='test -s conftest.$ac_objext'
15444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15445 (eval $ac_try) 2>&5
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); }; }; then
15449 ac_cv_header_stdc
=yes
15451 echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.
$ac_ext >&5
15454 ac_cv_header_stdc
=no
15456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15458 if test $ac_cv_header_stdc = yes; then
15459 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15460 cat >conftest.
$ac_ext <<_ACEOF
15463 cat confdefs.h
>>conftest.
$ac_ext
15464 cat >>conftest.
$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15466 #include <string.h>
15469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15470 $EGREP "memchr" >/dev
/null
2>&1; then
15473 ac_cv_header_stdc
=no
15479 if test $ac_cv_header_stdc = yes; then
15480 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15481 cat >conftest.
$ac_ext <<_ACEOF
15484 cat confdefs.h
>>conftest.
$ac_ext
15485 cat >>conftest.
$ac_ext <<_ACEOF
15486 /* end confdefs.h. */
15487 #include <stdlib.h>
15490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15491 $EGREP "free" >/dev
/null
2>&1; then
15494 ac_cv_header_stdc
=no
15500 if test $ac_cv_header_stdc = yes; then
15501 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15502 if test "$cross_compiling" = yes; then
15505 cat >conftest.
$ac_ext <<_ACEOF
15508 cat confdefs.h
>>conftest.
$ac_ext
15509 cat >>conftest.
$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15512 #if ((' ' & 0x0FF) == 0x020)
15513 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15514 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15516 # define ISLOWER(c) \
15517 (('a' <= (c) && (c) <= 'i') \
15518 || ('j' <= (c) && (c) <= 'r') \
15519 || ('s' <= (c) && (c) <= 'z'))
15520 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15523 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15528 for (i = 0; i < 256; i++)
15529 if (XOR (islower (i), ISLOWER (i))
15530 || toupper (i) != TOUPPER (i))
15535 rm -f conftest
$ac_exeext
15536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15537 (eval $ac_link) 2>&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; }; then
15548 echo "$as_me: program exited with status $ac_status" >&5
15549 echo "$as_me: failed program was:" >&5
15550 sed 's/^/| /' conftest.
$ac_ext >&5
15552 ( exit $ac_status )
15553 ac_cv_header_stdc
=no
15555 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15559 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15560 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15561 if test $ac_cv_header_stdc = yes; then
15563 cat >>confdefs.h
<<\_ACEOF
15564 #define STDC_HEADERS 1
15569 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15579 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15580 inttypes.h stdint.h unistd.h
15582 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15583 echo "$as_me:$LINENO: checking for $ac_header" >&5
15584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15586 echo $ECHO_N "(cached) $ECHO_C" >&6
15588 cat >conftest.
$ac_ext <<_ACEOF
15591 cat confdefs.h
>>conftest.
$ac_ext
15592 cat >>conftest.
$ac_ext <<_ACEOF
15593 /* end confdefs.h. */
15594 $ac_includes_default
15596 #include <$ac_header>
15598 rm -f conftest.
$ac_objext
15599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15600 (eval $ac_compile) 2>conftest.er1
15602 grep -v '^ *+' conftest.er1
>conftest.err
15604 cat conftest.err
>&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); } &&
15607 { ac_try
='test -z "$ac_c_werror_flag"
15608 || test ! -s conftest.err'
15609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15610 (eval $ac_try) 2>&5
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); }; } &&
15614 { ac_try
='test -s conftest.$ac_objext'
15615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15616 (eval $ac_try) 2>&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); }; }; then
15620 eval "$as_ac_Header=yes"
15622 echo "$as_me: failed program was:" >&5
15623 sed 's/^/| /' conftest.
$ac_ext >&5
15625 eval "$as_ac_Header=no"
15627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15632 cat >>confdefs.h
<<_ACEOF
15633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15642 for ac_header
in stdlib.h
15644 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15646 echo "$as_me:$LINENO: checking for $ac_header" >&5
15647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15654 # Is the header compilable?
15655 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15657 cat >conftest.
$ac_ext <<_ACEOF
15660 cat confdefs.h
>>conftest.
$ac_ext
15661 cat >>conftest.
$ac_ext <<_ACEOF
15662 /* end confdefs.h. */
15663 $ac_includes_default
15664 #include <$ac_header>
15666 rm -f conftest.
$ac_objext
15667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15668 (eval $ac_compile) 2>conftest.er1
15670 grep -v '^ *+' conftest.er1
>conftest.err
15672 cat conftest.err
>&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); } &&
15675 { ac_try
='test -z "$ac_c_werror_flag"
15676 || test ! -s conftest.err'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; } &&
15682 { ac_try
='test -s conftest.$ac_objext'
15683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15684 (eval $ac_try) 2>&5
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); }; }; then
15688 ac_header_compiler
=yes
15690 echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.
$ac_ext >&5
15693 ac_header_compiler
=no
15695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15696 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15697 echo "${ECHO_T}$ac_header_compiler" >&6
15699 # Is the header present?
15700 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15701 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15702 cat >conftest.
$ac_ext <<_ACEOF
15705 cat confdefs.h
>>conftest.
$ac_ext
15706 cat >>conftest.
$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15708 #include <$ac_header>
15710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15711 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15713 grep -v '^ *+' conftest.er1
>conftest.err
15715 cat conftest.err
>&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); } >/dev
/null
; then
15718 if test -s conftest.err
; then
15719 ac_cpp_err
=$ac_c_preproc_warn_flag
15720 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15727 if test -z "$ac_cpp_err"; then
15728 ac_header_preproc
=yes
15730 echo "$as_me: failed program was:" >&5
15731 sed 's/^/| /' conftest.
$ac_ext >&5
15733 ac_header_preproc
=no
15735 rm -f conftest.err conftest.
$ac_ext
15736 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15737 echo "${ECHO_T}$ac_header_preproc" >&6
15739 # So? What about this header?
15740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15745 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15746 ac_header_preproc
=yes
15749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15763 ## ----------------------------------------- ##
15764 ## Report this to wx-dev@lists.wxwidgets.org ##
15765 ## ----------------------------------------- ##
15768 sed "s/^/$as_me: WARNING: /" >&2
15771 echo "$as_me:$LINENO: checking for $ac_header" >&5
15772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 eval "$as_ac_Header=\$ac_header_preproc"
15778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15783 cat >>confdefs.h
<<_ACEOF
15784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15792 for ac_header
in malloc.h
15794 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15796 echo "$as_me:$LINENO: checking for $ac_header" >&5
15797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15799 echo $ECHO_N "(cached) $ECHO_C" >&6
15801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15804 # Is the header compilable?
15805 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15807 cat >conftest.
$ac_ext <<_ACEOF
15810 cat confdefs.h
>>conftest.
$ac_ext
15811 cat >>conftest.
$ac_ext <<_ACEOF
15812 /* end confdefs.h. */
15813 $ac_includes_default
15814 #include <$ac_header>
15816 rm -f conftest.
$ac_objext
15817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15818 (eval $ac_compile) 2>conftest.er1
15820 grep -v '^ *+' conftest.er1
>conftest.err
15822 cat conftest.err
>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); } &&
15825 { ac_try
='test -z "$ac_c_werror_flag"
15826 || test ! -s conftest.err'
15827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15828 (eval $ac_try) 2>&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); }; } &&
15832 { ac_try
='test -s conftest.$ac_objext'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; }; then
15838 ac_header_compiler
=yes
15840 echo "$as_me: failed program was:" >&5
15841 sed 's/^/| /' conftest.
$ac_ext >&5
15843 ac_header_compiler
=no
15845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15846 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15847 echo "${ECHO_T}$ac_header_compiler" >&6
15849 # Is the header present?
15850 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15851 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15852 cat >conftest.
$ac_ext <<_ACEOF
15855 cat confdefs.h
>>conftest.
$ac_ext
15856 cat >>conftest.
$ac_ext <<_ACEOF
15857 /* end confdefs.h. */
15858 #include <$ac_header>
15860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15861 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15863 grep -v '^ *+' conftest.er1
>conftest.err
15865 cat conftest.err
>&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } >/dev
/null
; then
15868 if test -s conftest.err
; then
15869 ac_cpp_err
=$ac_c_preproc_warn_flag
15870 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15877 if test -z "$ac_cpp_err"; then
15878 ac_header_preproc
=yes
15880 echo "$as_me: failed program was:" >&5
15881 sed 's/^/| /' conftest.
$ac_ext >&5
15883 ac_header_preproc
=no
15885 rm -f conftest.err conftest.
$ac_ext
15886 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15887 echo "${ECHO_T}$ac_header_preproc" >&6
15889 # So? What about this header?
15890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15892 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15893 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15895 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15896 ac_header_preproc
=yes
15899 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15900 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15901 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15902 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15903 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15904 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15905 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15906 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15909 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15910 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15913 ## ----------------------------------------- ##
15914 ## Report this to wx-dev@lists.wxwidgets.org ##
15915 ## ----------------------------------------- ##
15918 sed "s/^/$as_me: WARNING: /" >&2
15921 echo "$as_me:$LINENO: checking for $ac_header" >&5
15922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15924 echo $ECHO_N "(cached) $ECHO_C" >&6
15926 eval "$as_ac_Header=\$ac_header_preproc"
15928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15933 cat >>confdefs.h
<<_ACEOF
15934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15942 for ac_header
in unistd.h
15944 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15946 echo "$as_me:$LINENO: checking for $ac_header" >&5
15947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15949 echo $ECHO_N "(cached) $ECHO_C" >&6
15951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15954 # Is the header compilable?
15955 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15956 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15957 cat >conftest.
$ac_ext <<_ACEOF
15960 cat confdefs.h
>>conftest.
$ac_ext
15961 cat >>conftest.
$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15963 $ac_includes_default
15964 #include <$ac_header>
15966 rm -f conftest.
$ac_objext
15967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15968 (eval $ac_compile) 2>conftest.er1
15970 grep -v '^ *+' conftest.er1
>conftest.err
15972 cat conftest.err
>&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } &&
15975 { ac_try
='test -z "$ac_c_werror_flag"
15976 || test ! -s conftest.err'
15977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978 (eval $ac_try) 2>&5
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; } &&
15982 { ac_try
='test -s conftest.$ac_objext'
15983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15984 (eval $ac_try) 2>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; }; then
15988 ac_header_compiler
=yes
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.
$ac_ext >&5
15993 ac_header_compiler
=no
15995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15997 echo "${ECHO_T}$ac_header_compiler" >&6
15999 # Is the header present?
16000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16002 cat >conftest.
$ac_ext <<_ACEOF
16005 cat confdefs.h
>>conftest.
$ac_ext
16006 cat >>conftest.
$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16008 #include <$ac_header>
16010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16011 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16013 grep -v '^ *+' conftest.er1
>conftest.err
16015 cat conftest.err
>&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); } >/dev
/null
; then
16018 if test -s conftest.err
; then
16019 ac_cpp_err
=$ac_c_preproc_warn_flag
16020 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16027 if test -z "$ac_cpp_err"; then
16028 ac_header_preproc
=yes
16030 echo "$as_me: failed program was:" >&5
16031 sed 's/^/| /' conftest.
$ac_ext >&5
16033 ac_header_preproc
=no
16035 rm -f conftest.err conftest.
$ac_ext
16036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16037 echo "${ECHO_T}$ac_header_preproc" >&6
16039 # So? What about this header?
16040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16045 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16046 ac_header_preproc
=yes
16049 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16051 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16052 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16053 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16055 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16056 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16059 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16063 ## ----------------------------------------- ##
16064 ## Report this to wx-dev@lists.wxwidgets.org ##
16065 ## ----------------------------------------- ##
16068 sed "s/^/$as_me: WARNING: /" >&2
16071 echo "$as_me:$LINENO: checking for $ac_header" >&5
16072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16074 echo $ECHO_N "(cached) $ECHO_C" >&6
16076 eval "$as_ac_Header=\$ac_header_preproc"
16078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16083 cat >>confdefs.h
<<_ACEOF
16084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16092 for ac_header
in wchar.h
16094 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16096 echo "$as_me:$LINENO: checking for $ac_header" >&5
16097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16099 echo $ECHO_N "(cached) $ECHO_C" >&6
16101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16104 # Is the header compilable?
16105 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16106 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16107 cat >conftest.
$ac_ext <<_ACEOF
16110 cat confdefs.h
>>conftest.
$ac_ext
16111 cat >>conftest.
$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16113 $ac_includes_default
16114 #include <$ac_header>
16116 rm -f conftest.
$ac_objext
16117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16118 (eval $ac_compile) 2>conftest.er1
16120 grep -v '^ *+' conftest.er1
>conftest.err
16122 cat conftest.err
>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } &&
16125 { ac_try
='test -z "$ac_c_werror_flag"
16126 || test ! -s conftest.err'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; } &&
16132 { ac_try
='test -s conftest.$ac_objext'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; }; then
16138 ac_header_compiler
=yes
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.
$ac_ext >&5
16143 ac_header_compiler
=no
16145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16147 echo "${ECHO_T}$ac_header_compiler" >&6
16149 # Is the header present?
16150 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16152 cat >conftest.
$ac_ext <<_ACEOF
16155 cat confdefs.h
>>conftest.
$ac_ext
16156 cat >>conftest.
$ac_ext <<_ACEOF
16157 /* end confdefs.h. */
16158 #include <$ac_header>
16160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16161 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16163 grep -v '^ *+' conftest.er1
>conftest.err
16165 cat conftest.err
>&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); } >/dev
/null
; then
16168 if test -s conftest.err
; then
16169 ac_cpp_err
=$ac_c_preproc_warn_flag
16170 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16177 if test -z "$ac_cpp_err"; then
16178 ac_header_preproc
=yes
16180 echo "$as_me: failed program was:" >&5
16181 sed 's/^/| /' conftest.
$ac_ext >&5
16183 ac_header_preproc
=no
16185 rm -f conftest.err conftest.
$ac_ext
16186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16187 echo "${ECHO_T}$ac_header_preproc" >&6
16189 # So? What about this header?
16190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16192 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16193 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16195 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16196 ac_header_preproc
=yes
16199 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16200 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16201 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16202 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16203 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16204 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16205 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16206 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16208 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16209 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16210 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16213 ## ----------------------------------------- ##
16214 ## Report this to wx-dev@lists.wxwidgets.org ##
16215 ## ----------------------------------------- ##
16218 sed "s/^/$as_me: WARNING: /" >&2
16221 echo "$as_me:$LINENO: checking for $ac_header" >&5
16222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16224 echo $ECHO_N "(cached) $ECHO_C" >&6
16226 eval "$as_ac_Header=\$ac_header_preproc"
16228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16233 cat >>confdefs.h
<<_ACEOF
16234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16242 if test "$ac_cv_header_wchar_h" != "yes"; then
16244 for ac_header
in wcstr.h
16246 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16248 echo "$as_me:$LINENO: checking for $ac_header" >&5
16249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16251 echo $ECHO_N "(cached) $ECHO_C" >&6
16253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16256 # Is the header compilable?
16257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16259 cat >conftest.
$ac_ext <<_ACEOF
16262 cat confdefs.h
>>conftest.
$ac_ext
16263 cat >>conftest.
$ac_ext <<_ACEOF
16264 /* end confdefs.h. */
16265 $ac_includes_default
16266 #include <$ac_header>
16268 rm -f conftest.
$ac_objext
16269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16270 (eval $ac_compile) 2>conftest.er1
16272 grep -v '^ *+' conftest.er1
>conftest.err
16274 cat conftest.err
>&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } &&
16277 { ac_try
='test -z "$ac_c_werror_flag"
16278 || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try
='test -s conftest.$ac_objext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16290 ac_header_compiler
=yes
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.
$ac_ext >&5
16295 ac_header_compiler
=no
16297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16299 echo "${ECHO_T}$ac_header_compiler" >&6
16301 # Is the header present?
16302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16304 cat >conftest.
$ac_ext <<_ACEOF
16307 cat confdefs.h
>>conftest.
$ac_ext
16308 cat >>conftest.
$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16310 #include <$ac_header>
16312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16315 grep -v '^ *+' conftest.er1
>conftest.err
16317 cat conftest.err
>&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } >/dev
/null
; then
16320 if test -s conftest.err
; then
16321 ac_cpp_err
=$ac_c_preproc_warn_flag
16322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16329 if test -z "$ac_cpp_err"; then
16330 ac_header_preproc
=yes
16332 echo "$as_me: failed program was:" >&5
16333 sed 's/^/| /' conftest.
$ac_ext >&5
16335 ac_header_preproc
=no
16337 rm -f conftest.err conftest.
$ac_ext
16338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16339 echo "${ECHO_T}$ac_header_preproc" >&6
16341 # So? What about this header?
16342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16348 ac_header_preproc
=yes
16351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16365 ## ----------------------------------------- ##
16366 ## Report this to wx-dev@lists.wxwidgets.org ##
16367 ## ----------------------------------------- ##
16370 sed "s/^/$as_me: WARNING: /" >&2
16373 echo "$as_me:$LINENO: checking for $ac_header" >&5
16374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16376 echo $ECHO_N "(cached) $ECHO_C" >&6
16378 eval "$as_ac_Header=\$ac_header_preproc"
16380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16385 cat >>confdefs.h
<<_ACEOF
16386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16396 for ac_header
in fnmatch.h
16398 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16400 echo "$as_me:$LINENO: checking for $ac_header" >&5
16401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16408 # Is the header compilable?
16409 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16411 cat >conftest.
$ac_ext <<_ACEOF
16414 cat confdefs.h
>>conftest.
$ac_ext
16415 cat >>conftest.
$ac_ext <<_ACEOF
16416 /* end confdefs.h. */
16417 $ac_includes_default
16418 #include <$ac_header>
16420 rm -f conftest.
$ac_objext
16421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16422 (eval $ac_compile) 2>conftest.er1
16424 grep -v '^ *+' conftest.er1
>conftest.err
16426 cat conftest.err
>&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } &&
16429 { ac_try
='test -z "$ac_c_werror_flag"
16430 || test ! -s conftest.err'
16431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16432 (eval $ac_try) 2>&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); }; } &&
16436 { ac_try
='test -s conftest.$ac_objext'
16437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438 (eval $ac_try) 2>&5
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }; }; then
16442 ac_header_compiler
=yes
16444 echo "$as_me: failed program was:" >&5
16445 sed 's/^/| /' conftest.
$ac_ext >&5
16447 ac_header_compiler
=no
16449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16451 echo "${ECHO_T}$ac_header_compiler" >&6
16453 # Is the header present?
16454 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16456 cat >conftest.
$ac_ext <<_ACEOF
16459 cat confdefs.h
>>conftest.
$ac_ext
16460 cat >>conftest.
$ac_ext <<_ACEOF
16461 /* end confdefs.h. */
16462 #include <$ac_header>
16464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16465 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16467 grep -v '^ *+' conftest.er1
>conftest.err
16469 cat conftest.err
>&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } >/dev
/null
; then
16472 if test -s conftest.err
; then
16473 ac_cpp_err
=$ac_c_preproc_warn_flag
16474 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16481 if test -z "$ac_cpp_err"; then
16482 ac_header_preproc
=yes
16484 echo "$as_me: failed program was:" >&5
16485 sed 's/^/| /' conftest.
$ac_ext >&5
16487 ac_header_preproc
=no
16489 rm -f conftest.err conftest.
$ac_ext
16490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16491 echo "${ECHO_T}$ac_header_preproc" >&6
16493 # So? What about this header?
16494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16496 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16499 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16500 ac_header_preproc
=yes
16503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16507 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16508 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16509 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16510 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16513 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16514 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16517 ## ----------------------------------------- ##
16518 ## Report this to wx-dev@lists.wxwidgets.org ##
16519 ## ----------------------------------------- ##
16522 sed "s/^/$as_me: WARNING: /" >&2
16525 echo "$as_me:$LINENO: checking for $ac_header" >&5
16526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16528 echo $ECHO_N "(cached) $ECHO_C" >&6
16530 eval "$as_ac_Header=\$ac_header_preproc"
16532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16537 cat >>confdefs.h
<<_ACEOF
16538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16547 for ac_header
in langinfo.h
16549 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16551 echo "$as_me:$LINENO: checking for $ac_header" >&5
16552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16554 echo $ECHO_N "(cached) $ECHO_C" >&6
16556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16559 # Is the header compilable?
16560 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16562 cat >conftest.
$ac_ext <<_ACEOF
16565 cat confdefs.h
>>conftest.
$ac_ext
16566 cat >>conftest.
$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16568 $ac_includes_default
16569 #include <$ac_header>
16571 rm -f conftest.
$ac_objext
16572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16573 (eval $ac_compile) 2>conftest.er1
16575 grep -v '^ *+' conftest.er1
>conftest.err
16577 cat conftest.err
>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); } &&
16580 { ac_try
='test -z "$ac_c_werror_flag"
16581 || test ! -s conftest.err'
16582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16583 (eval $ac_try) 2>&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); }; } &&
16587 { ac_try
='test -s conftest.$ac_objext'
16588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589 (eval $ac_try) 2>&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); }; }; then
16593 ac_header_compiler
=yes
16595 echo "$as_me: failed program was:" >&5
16596 sed 's/^/| /' conftest.
$ac_ext >&5
16598 ac_header_compiler
=no
16600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16602 echo "${ECHO_T}$ac_header_compiler" >&6
16604 # Is the header present?
16605 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16606 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16607 cat >conftest.
$ac_ext <<_ACEOF
16610 cat confdefs.h
>>conftest.
$ac_ext
16611 cat >>conftest.
$ac_ext <<_ACEOF
16612 /* end confdefs.h. */
16613 #include <$ac_header>
16615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16618 grep -v '^ *+' conftest.er1
>conftest.err
16620 cat conftest.err
>&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } >/dev
/null
; then
16623 if test -s conftest.err
; then
16624 ac_cpp_err
=$ac_c_preproc_warn_flag
16625 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16632 if test -z "$ac_cpp_err"; then
16633 ac_header_preproc
=yes
16635 echo "$as_me: failed program was:" >&5
16636 sed 's/^/| /' conftest.
$ac_ext >&5
16638 ac_header_preproc
=no
16640 rm -f conftest.err conftest.
$ac_ext
16641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16642 echo "${ECHO_T}$ac_header_preproc" >&6
16644 # So? What about this header?
16645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16647 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16648 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16650 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16651 ac_header_preproc
=yes
16654 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16655 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16656 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16657 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16658 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16659 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16660 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16661 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16663 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16664 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16665 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16668 ## ----------------------------------------- ##
16669 ## Report this to wx-dev@lists.wxwidgets.org ##
16670 ## ----------------------------------------- ##
16673 sed "s/^/$as_me: WARNING: /" >&2
16676 echo "$as_me:$LINENO: checking for $ac_header" >&5
16677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16681 eval "$as_ac_Header=\$ac_header_preproc"
16683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16688 cat >>confdefs.h
<<_ACEOF
16689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16698 *-pc-os2_emx | *-pc-os2-emx )
16699 if test $ac_cv_header_langinfo_h = "yes" \
16700 -a \
( "$wx_cv_gccversion" = "EMX2" \
16701 -o "$wx_cv_gccversion" = "EMX3" \
16702 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16703 LIBS
="$LIBS -lintl"
16709 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16710 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16711 if test "${ac_cv_c_const+set}" = set; then
16712 echo $ECHO_N "(cached) $ECHO_C" >&6
16714 cat >conftest.
$ac_ext <<_ACEOF
16717 cat confdefs.h
>>conftest.
$ac_ext
16718 cat >>conftest.
$ac_ext <<_ACEOF
16719 /* end confdefs.h. */
16724 /* FIXME: Include the comments suggested by Paul. */
16725 #ifndef __cplusplus
16726 /* Ultrix mips cc rejects this. */
16727 typedef int charset[2];
16729 /* SunOS 4.1.1 cc rejects this. */
16730 char const *const *ccp;
16732 /* NEC SVR4.0.2 mips cc rejects this. */
16733 struct point {int x, y;};
16734 static struct point const zero = {0,0};
16735 /* AIX XL C 1.02.0.0 rejects this.
16736 It does not let you subtract one const X* pointer from another in
16737 an arm of an if-expression whose if-part is not a constant
16739 const char *g = "string";
16740 ccp = &g + (g ? g-g : 0);
16741 /* HPUX 7.0 cc rejects these. */
16744 ccp = (char const *const *) p;
16745 { /* SCO 3.2v4 cc rejects this. */
16747 char const *s = 0 ? (char *) 0 : (char const *) 0;
16751 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16752 int x[] = {25, 17};
16753 const int *foo = &x[0];
16756 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16757 typedef const int *iptr;
16761 { /* AIX XL C 1.02.0.0 rejects this saying
16762 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16763 struct s { int j; const int *ap[3]; };
16764 struct s *b; b->j = 5;
16766 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16767 const int foo = 10;
16775 rm -f conftest.
$ac_objext
16776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16777 (eval $ac_compile) 2>conftest.er1
16779 grep -v '^ *+' conftest.er1
>conftest.err
16781 cat conftest.err
>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } &&
16784 { ac_try
='test -z "$ac_c_werror_flag"
16785 || test ! -s conftest.err'
16786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787 (eval $ac_try) 2>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); }; } &&
16791 { ac_try
='test -s conftest.$ac_objext'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; }; then
16799 echo "$as_me: failed program was:" >&5
16800 sed 's/^/| /' conftest.
$ac_ext >&5
16804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16806 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16807 echo "${ECHO_T}$ac_cv_c_const" >&6
16808 if test $ac_cv_c_const = no
; then
16810 cat >>confdefs.h
<<\_ACEOF
16816 echo "$as_me:$LINENO: checking for inline" >&5
16817 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16818 if test "${ac_cv_c_inline+set}" = set; then
16819 echo $ECHO_N "(cached) $ECHO_C" >&6
16822 for ac_kw
in inline __inline__ __inline
; do
16823 cat >conftest.
$ac_ext <<_ACEOF
16826 cat confdefs.h
>>conftest.
$ac_ext
16827 cat >>conftest.
$ac_ext <<_ACEOF
16828 /* end confdefs.h. */
16829 #ifndef __cplusplus
16831 static $ac_kw foo_t static_foo () {return 0; }
16832 $ac_kw foo_t foo () {return 0; }
16836 rm -f conftest.
$ac_objext
16837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16838 (eval $ac_compile) 2>conftest.er1
16840 grep -v '^ *+' conftest.er1
>conftest.err
16842 cat conftest.err
>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } &&
16845 { ac_try
='test -z "$ac_c_werror_flag"
16846 || test ! -s conftest.err'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; } &&
16852 { ac_try
='test -s conftest.$ac_objext'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; }; then
16858 ac_cv_c_inline
=$ac_kw; break
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.
$ac_ext >&5
16864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16868 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16869 echo "${ECHO_T}$ac_cv_c_inline" >&6
16872 case $ac_cv_c_inline in
16875 case $ac_cv_c_inline in
16877 *) ac_val
=$ac_cv_c_inline;;
16879 cat >>confdefs.h
<<_ACEOF
16880 #ifndef __cplusplus
16881 #define inline $ac_val
16888 echo "$as_me:$LINENO: checking for char" >&5
16889 echo $ECHO_N "checking for char... $ECHO_C" >&6
16890 if test "${ac_cv_type_char+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 cat >conftest.
$ac_ext <<_ACEOF
16896 cat confdefs.h
>>conftest.
$ac_ext
16897 cat >>conftest.
$ac_ext <<_ACEOF
16898 /* end confdefs.h. */
16899 $ac_includes_default
16911 rm -f conftest.
$ac_objext
16912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16913 (eval $ac_compile) 2>conftest.er1
16915 grep -v '^ *+' conftest.er1
>conftest.err
16917 cat conftest.err
>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } &&
16920 { ac_try
='test -z "$ac_c_werror_flag"
16921 || test ! -s conftest.err'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try
='test -s conftest.$ac_objext'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; }; then
16933 ac_cv_type_char
=yes
16935 echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.
$ac_ext >&5
16940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16942 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16943 echo "${ECHO_T}$ac_cv_type_char" >&6
16945 echo "$as_me:$LINENO: checking size of char" >&5
16946 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16947 if test "${ac_cv_sizeof_char+set}" = set; then
16948 echo $ECHO_N "(cached) $ECHO_C" >&6
16950 if test "$ac_cv_type_char" = yes; then
16951 # The cast to unsigned long works around a bug in the HP C Compiler
16952 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16953 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16954 # This bug is HP SR number 8606223364.
16955 if test "$cross_compiling" = yes; then
16956 # Depending upon the size, compute the lo and hi bounds.
16957 cat >conftest.
$ac_ext <<_ACEOF
16960 cat confdefs.h
>>conftest.
$ac_ext
16961 cat >>conftest.
$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 $ac_includes_default
16967 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16974 rm -f conftest.
$ac_objext
16975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16976 (eval $ac_compile) 2>conftest.er1
16978 grep -v '^ *+' conftest.er1
>conftest.err
16980 cat conftest.err
>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } &&
16983 { ac_try
='test -z "$ac_c_werror_flag"
16984 || 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"
17025 || test ! -s conftest.err'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; } &&
17031 { ac_try
='test -s conftest.$ac_objext'
17032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17033 (eval $ac_try) 2>&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }; }; then
17037 ac_hi
=$ac_mid; break
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.
$ac_ext >&5
17042 ac_lo
=`expr $ac_mid + 1`
17043 if test $ac_lo -le $ac_mid; then
17047 ac_mid
=`expr 2 '*' $ac_mid + 1`
17049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17052 echo "$as_me: failed program was:" >&5
17053 sed 's/^/| /' conftest.
$ac_ext >&5
17055 cat >conftest.
$ac_ext <<_ACEOF
17058 cat confdefs.h
>>conftest.
$ac_ext
17059 cat >>conftest.
$ac_ext <<_ACEOF
17060 /* end confdefs.h. */
17061 $ac_includes_default
17065 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17072 rm -f conftest.
$ac_objext
17073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17074 (eval $ac_compile) 2>conftest.er1
17076 grep -v '^ *+' conftest.er1
>conftest.err
17078 cat conftest.err
>&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); } &&
17081 { ac_try
='test -z "$ac_c_werror_flag"
17082 || test ! -s conftest.err'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; } &&
17088 { ac_try
='test -s conftest.$ac_objext'
17089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17090 (eval $ac_try) 2>&5
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); }; }; then
17096 cat >conftest.
$ac_ext <<_ACEOF
17099 cat confdefs.h
>>conftest.
$ac_ext
17100 cat >>conftest.
$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17102 $ac_includes_default
17106 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17113 rm -f conftest.
$ac_objext
17114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17115 (eval $ac_compile) 2>conftest.er1
17117 grep -v '^ *+' conftest.er1
>conftest.err
17119 cat conftest.err
>&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } &&
17122 { ac_try
='test -z "$ac_c_werror_flag"
17123 || test ! -s conftest.err'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; } &&
17129 { ac_try
='test -s conftest.$ac_objext'
17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17131 (eval $ac_try) 2>&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); }; }; then
17135 ac_lo
=$ac_mid; break
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.
$ac_ext >&5
17140 ac_hi
=`expr '(' $ac_mid ')' - 1`
17141 if test $ac_mid -le $ac_hi; then
17145 ac_mid
=`expr 2 '*' $ac_mid`
17147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.
$ac_ext >&5
17155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17158 # Binary search between lo and hi bounds.
17159 while test "x$ac_lo" != "x$ac_hi"; do
17160 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17161 cat >conftest.
$ac_ext <<_ACEOF
17164 cat confdefs.h
>>conftest.
$ac_ext
17165 cat >>conftest.
$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17167 $ac_includes_default
17171 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17178 rm -f conftest.
$ac_objext
17179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17180 (eval $ac_compile) 2>conftest.er1
17182 grep -v '^ *+' conftest.er1
>conftest.err
17184 cat conftest.err
>&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } &&
17187 { ac_try
='test -z "$ac_c_werror_flag"
17188 || test ! -s conftest.err'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; } &&
17194 { ac_try
='test -s conftest.$ac_objext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.
$ac_ext >&5
17205 ac_lo
=`expr '(' $ac_mid ')' + 1`
17207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17210 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17211 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17212 See \`config.log' for more details." >&5
17213 echo "$as_me: error: cannot compute sizeof (char), 77
17214 See \`config.log' for more details." >&2;}
17215 { (exit 1); exit 1; }; } ;;
17218 if test "$cross_compiling" = yes; then
17219 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17220 See \`config.log' for more details." >&5
17221 echo "$as_me: error: cannot run test program while cross compiling
17222 See \`config.log' for more details." >&2;}
17223 { (exit 1); exit 1; }; }
17225 cat >conftest.
$ac_ext <<_ACEOF
17228 cat confdefs.h
>>conftest.
$ac_ext
17229 cat >>conftest.
$ac_ext <<_ACEOF
17230 /* end confdefs.h. */
17231 $ac_includes_default
17232 long longval () { return (long) (sizeof (char)); }
17233 unsigned long ulongval () { return (long) (sizeof (char)); }
17235 #include <stdlib.h>
17240 FILE *f = fopen ("conftest.val", "w");
17243 if (((long) (sizeof (char))) < 0)
17245 long i = longval ();
17246 if (i != ((long) (sizeof (char))))
17248 fprintf (f, "%ld\n", i);
17252 unsigned long i = ulongval ();
17253 if (i != ((long) (sizeof (char))))
17255 fprintf (f, "%lu\n", i);
17257 exit (ferror (f) || fclose (f) != 0);
17263 rm -f conftest
$ac_exeext
17264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17265 (eval $ac_link) 2>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; }; then
17274 ac_cv_sizeof_char
=`cat conftest.val`
17276 echo "$as_me: program exited with status $ac_status" >&5
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.
$ac_ext >&5
17280 ( exit $ac_status )
17281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17282 See \`config.log' for more details." >&5
17283 echo "$as_me: error: cannot compute sizeof (char), 77
17284 See \`config.log' for more details." >&2;}
17285 { (exit 1); exit 1; }; }
17287 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17292 ac_cv_sizeof_char
=0
17295 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17296 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17297 cat >>confdefs.h
<<_ACEOF
17298 #define SIZEOF_CHAR $ac_cv_sizeof_char
17302 echo "$as_me:$LINENO: checking for short" >&5
17303 echo $ECHO_N "checking for short... $ECHO_C" >&6
17304 if test "${ac_cv_type_short+set}" = set; then
17305 echo $ECHO_N "(cached) $ECHO_C" >&6
17307 cat >conftest.
$ac_ext <<_ACEOF
17310 cat confdefs.h
>>conftest.
$ac_ext
17311 cat >>conftest.
$ac_ext <<_ACEOF
17312 /* end confdefs.h. */
17313 $ac_includes_default
17319 if (sizeof (short))
17325 rm -f conftest.
$ac_objext
17326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17327 (eval $ac_compile) 2>conftest.er1
17329 grep -v '^ *+' conftest.er1
>conftest.err
17331 cat conftest.err
>&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } &&
17334 { ac_try
='test -z "$ac_c_werror_flag"
17335 || test ! -s conftest.err'
17336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17337 (eval $ac_try) 2>&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); }; } &&
17341 { ac_try
='test -s conftest.$ac_objext'
17342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17343 (eval $ac_try) 2>&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); }; }; then
17347 ac_cv_type_short
=yes
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.
$ac_ext >&5
17352 ac_cv_type_short
=no
17354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17356 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17357 echo "${ECHO_T}$ac_cv_type_short" >&6
17359 echo "$as_me:$LINENO: checking size of short" >&5
17360 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17361 if test "${ac_cv_sizeof_short+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 if test "$ac_cv_type_short" = yes; then
17365 # The cast to unsigned long works around a bug in the HP C Compiler
17366 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17367 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17368 # This bug is HP SR number 8606223364.
17369 if test "$cross_compiling" = yes; then
17370 # Depending upon the size, compute the lo and hi bounds.
17371 cat >conftest.
$ac_ext <<_ACEOF
17374 cat confdefs.h
>>conftest.
$ac_ext
17375 cat >>conftest.
$ac_ext <<_ACEOF
17376 /* end confdefs.h. */
17377 $ac_includes_default
17381 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17388 rm -f conftest.
$ac_objext
17389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17390 (eval $ac_compile) 2>conftest.er1
17392 grep -v '^ *+' conftest.er1
>conftest.err
17394 cat conftest.err
>&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } &&
17397 { ac_try
='test -z "$ac_c_werror_flag"
17398 || test ! -s conftest.err'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; } &&
17404 { ac_try
='test -s conftest.$ac_objext'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; }; then
17412 cat >conftest.
$ac_ext <<_ACEOF
17415 cat confdefs.h
>>conftest.
$ac_ext
17416 cat >>conftest.
$ac_ext <<_ACEOF
17417 /* end confdefs.h. */
17418 $ac_includes_default
17422 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17429 rm -f conftest.
$ac_objext
17430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17431 (eval $ac_compile) 2>conftest.er1
17433 grep -v '^ *+' conftest.er1
>conftest.err
17435 cat conftest.err
>&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); } &&
17438 { ac_try
='test -z "$ac_c_werror_flag"
17439 || test ! -s conftest.err'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; } &&
17445 { ac_try
='test -s conftest.$ac_objext'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; }; then
17451 ac_hi
=$ac_mid; break
17453 echo "$as_me: failed program was:" >&5
17454 sed 's/^/| /' conftest.
$ac_ext >&5
17456 ac_lo
=`expr $ac_mid + 1`
17457 if test $ac_lo -le $ac_mid; then
17461 ac_mid
=`expr 2 '*' $ac_mid + 1`
17463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.
$ac_ext >&5
17469 cat >conftest.
$ac_ext <<_ACEOF
17472 cat confdefs.h
>>conftest.
$ac_ext
17473 cat >>conftest.
$ac_ext <<_ACEOF
17474 /* end confdefs.h. */
17475 $ac_includes_default
17479 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17486 rm -f conftest.
$ac_objext
17487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17488 (eval $ac_compile) 2>conftest.er1
17490 grep -v '^ *+' conftest.er1
>conftest.err
17492 cat conftest.err
>&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); } &&
17495 { ac_try
='test -z "$ac_c_werror_flag"
17496 || test ! -s conftest.err'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; } &&
17502 { ac_try
='test -s conftest.$ac_objext'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; }; then
17510 cat >conftest.
$ac_ext <<_ACEOF
17513 cat confdefs.h
>>conftest.
$ac_ext
17514 cat >>conftest.
$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516 $ac_includes_default
17520 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17527 rm -f conftest.
$ac_objext
17528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17529 (eval $ac_compile) 2>conftest.er1
17531 grep -v '^ *+' conftest.er1
>conftest.err
17533 cat conftest.err
>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } &&
17536 { ac_try
='test -z "$ac_c_werror_flag"
17537 || test ! -s conftest.err'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; } &&
17543 { ac_try
='test -s conftest.$ac_objext'
17544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17545 (eval $ac_try) 2>&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; }; then
17549 ac_lo
=$ac_mid; break
17551 echo "$as_me: failed program was:" >&5
17552 sed 's/^/| /' conftest.
$ac_ext >&5
17554 ac_hi
=`expr '(' $ac_mid ')' - 1`
17555 if test $ac_mid -le $ac_hi; then
17559 ac_mid
=`expr 2 '*' $ac_mid`
17561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17564 echo "$as_me: failed program was:" >&5
17565 sed 's/^/| /' conftest.
$ac_ext >&5
17569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17572 # Binary search between lo and hi bounds.
17573 while test "x$ac_lo" != "x$ac_hi"; do
17574 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17575 cat >conftest.
$ac_ext <<_ACEOF
17578 cat confdefs.h
>>conftest.
$ac_ext
17579 cat >>conftest.
$ac_ext <<_ACEOF
17580 /* end confdefs.h. */
17581 $ac_includes_default
17585 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17592 rm -f conftest.
$ac_objext
17593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17594 (eval $ac_compile) 2>conftest.er1
17596 grep -v '^ *+' conftest.er1
>conftest.err
17598 cat conftest.err
>&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } &&
17601 { ac_try
='test -z "$ac_c_werror_flag"
17602 || test ! -s conftest.err'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; } &&
17608 { ac_try
='test -s conftest.$ac_objext'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; }; then
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.
$ac_ext >&5
17619 ac_lo
=`expr '(' $ac_mid ')' + 1`
17621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17624 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17625 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17626 See \`config.log' for more details." >&5
17627 echo "$as_me: error: cannot compute sizeof (short), 77
17628 See \`config.log' for more details." >&2;}
17629 { (exit 1); exit 1; }; } ;;
17632 if test "$cross_compiling" = yes; then
17633 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17634 See \`config.log' for more details." >&5
17635 echo "$as_me: error: cannot run test program while cross compiling
17636 See \`config.log' for more details." >&2;}
17637 { (exit 1); exit 1; }; }
17639 cat >conftest.
$ac_ext <<_ACEOF
17642 cat confdefs.h
>>conftest.
$ac_ext
17643 cat >>conftest.
$ac_ext <<_ACEOF
17644 /* end confdefs.h. */
17645 $ac_includes_default
17646 long longval () { return (long) (sizeof (short)); }
17647 unsigned long ulongval () { return (long) (sizeof (short)); }
17649 #include <stdlib.h>
17654 FILE *f = fopen ("conftest.val", "w");
17657 if (((long) (sizeof (short))) < 0)
17659 long i = longval ();
17660 if (i != ((long) (sizeof (short))))
17662 fprintf (f, "%ld\n", i);
17666 unsigned long i = ulongval ();
17667 if (i != ((long) (sizeof (short))))
17669 fprintf (f, "%lu\n", i);
17671 exit (ferror (f) || fclose (f) != 0);
17677 rm -f conftest
$ac_exeext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17679 (eval $ac_link) 2>&5
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17684 (eval $ac_try) 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; }; then
17688 ac_cv_sizeof_short
=`cat conftest.val`
17690 echo "$as_me: program exited with status $ac_status" >&5
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.
$ac_ext >&5
17694 ( exit $ac_status )
17695 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17696 See \`config.log' for more details." >&5
17697 echo "$as_me: error: cannot compute sizeof (short), 77
17698 See \`config.log' for more details." >&2;}
17699 { (exit 1); exit 1; }; }
17701 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17706 ac_cv_sizeof_short
=0
17709 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17710 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17711 cat >>confdefs.h
<<_ACEOF
17712 #define SIZEOF_SHORT $ac_cv_sizeof_short
17716 echo "$as_me:$LINENO: checking for void *" >&5
17717 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17718 if test "${ac_cv_type_void_p+set}" = set; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17721 cat >conftest.
$ac_ext <<_ACEOF
17724 cat confdefs.h
>>conftest.
$ac_ext
17725 cat >>conftest.
$ac_ext <<_ACEOF
17726 /* end confdefs.h. */
17727 $ac_includes_default
17733 if (sizeof (void *))
17739 rm -f conftest.
$ac_objext
17740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17741 (eval $ac_compile) 2>conftest.er1
17743 grep -v '^ *+' conftest.er1
>conftest.err
17745 cat conftest.err
>&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); } &&
17748 { ac_try
='test -z "$ac_c_werror_flag"
17749 || test ! -s conftest.err'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; } &&
17755 { ac_try
='test -s conftest.$ac_objext'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; }; then
17761 ac_cv_type_void_p
=yes
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.
$ac_ext >&5
17766 ac_cv_type_void_p
=no
17768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17770 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17771 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17773 echo "$as_me:$LINENO: checking size of void *" >&5
17774 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17775 if test "${ac_cv_sizeof_void_p+set}" = set; then
17776 echo $ECHO_N "(cached) $ECHO_C" >&6
17778 if test "$ac_cv_type_void_p" = yes; then
17779 # The cast to unsigned long works around a bug in the HP C Compiler
17780 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17781 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17782 # This bug is HP SR number 8606223364.
17783 if test "$cross_compiling" = yes; then
17784 # Depending upon the size, compute the lo and hi bounds.
17785 cat >conftest.
$ac_ext <<_ACEOF
17788 cat confdefs.h
>>conftest.
$ac_ext
17789 cat >>conftest.
$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17791 $ac_includes_default
17795 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17802 rm -f conftest.
$ac_objext
17803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17804 (eval $ac_compile) 2>conftest.er1
17806 grep -v '^ *+' conftest.er1
>conftest.err
17808 cat conftest.err
>&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try
='test -z "$ac_c_werror_flag"
17812 || test ! -s conftest.err'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; } &&
17818 { ac_try
='test -s conftest.$ac_objext'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; }; then
17826 cat >conftest.
$ac_ext <<_ACEOF
17829 cat confdefs.h
>>conftest.
$ac_ext
17830 cat >>conftest.
$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832 $ac_includes_default
17836 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17843 rm -f conftest.
$ac_objext
17844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17845 (eval $ac_compile) 2>conftest.er1
17847 grep -v '^ *+' conftest.er1
>conftest.err
17849 cat conftest.err
>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } &&
17852 { ac_try
='test -z "$ac_c_werror_flag"
17853 || test ! -s conftest.err'
17854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17855 (eval $ac_try) 2>&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); }; } &&
17859 { ac_try
='test -s conftest.$ac_objext'
17860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17861 (eval $ac_try) 2>&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); }; }; then
17865 ac_hi
=$ac_mid; break
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.
$ac_ext >&5
17870 ac_lo
=`expr $ac_mid + 1`
17871 if test $ac_lo -le $ac_mid; then
17875 ac_mid
=`expr 2 '*' $ac_mid + 1`
17877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.
$ac_ext >&5
17883 cat >conftest.
$ac_ext <<_ACEOF
17886 cat confdefs.h
>>conftest.
$ac_ext
17887 cat >>conftest.
$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17889 $ac_includes_default
17893 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17900 rm -f conftest.
$ac_objext
17901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17902 (eval $ac_compile) 2>conftest.er1
17904 grep -v '^ *+' conftest.er1
>conftest.err
17906 cat conftest.err
>&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); } &&
17909 { ac_try
='test -z "$ac_c_werror_flag"
17910 || test ! -s conftest.err'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; } &&
17916 { ac_try
='test -s conftest.$ac_objext'
17917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918 (eval $ac_try) 2>&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); }; }; then
17924 cat >conftest.
$ac_ext <<_ACEOF
17927 cat confdefs.h
>>conftest.
$ac_ext
17928 cat >>conftest.
$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17930 $ac_includes_default
17934 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17941 rm -f conftest.
$ac_objext
17942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17943 (eval $ac_compile) 2>conftest.er1
17945 grep -v '^ *+' conftest.er1
>conftest.err
17947 cat conftest.err
>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } &&
17950 { ac_try
='test -z "$ac_c_werror_flag"
17951 || test ! -s conftest.err'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; } &&
17957 { ac_try
='test -s conftest.$ac_objext'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); }; }; then
17963 ac_lo
=$ac_mid; break
17965 echo "$as_me: failed program was:" >&5
17966 sed 's/^/| /' conftest.
$ac_ext >&5
17968 ac_hi
=`expr '(' $ac_mid ')' - 1`
17969 if test $ac_mid -le $ac_hi; then
17973 ac_mid
=`expr 2 '*' $ac_mid`
17975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17978 echo "$as_me: failed program was:" >&5
17979 sed 's/^/| /' conftest.
$ac_ext >&5
17983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17986 # Binary search between lo and hi bounds.
17987 while test "x$ac_lo" != "x$ac_hi"; do
17988 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17989 cat >conftest.
$ac_ext <<_ACEOF
17992 cat confdefs.h
>>conftest.
$ac_ext
17993 cat >>conftest.
$ac_ext <<_ACEOF
17994 /* end confdefs.h. */
17995 $ac_includes_default
17999 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18006 rm -f conftest.
$ac_objext
18007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18008 (eval $ac_compile) 2>conftest.er1
18010 grep -v '^ *+' conftest.er1
>conftest.err
18012 cat conftest.err
>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } &&
18015 { ac_try
='test -z "$ac_c_werror_flag"
18016 || test ! -s conftest.err'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; } &&
18022 { ac_try
='test -s conftest.$ac_objext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.
$ac_ext >&5
18033 ac_lo
=`expr '(' $ac_mid ')' + 1`
18035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18038 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
18039 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18040 See \`config.log' for more details." >&5
18041 echo "$as_me: error: cannot compute sizeof (void *), 77
18042 See \`config.log' for more details." >&2;}
18043 { (exit 1); exit 1; }; } ;;
18046 if test "$cross_compiling" = yes; then
18047 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18048 See \`config.log' for more details." >&5
18049 echo "$as_me: error: cannot run test program while cross compiling
18050 See \`config.log' for more details." >&2;}
18051 { (exit 1); exit 1; }; }
18053 cat >conftest.
$ac_ext <<_ACEOF
18056 cat confdefs.h
>>conftest.
$ac_ext
18057 cat >>conftest.
$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18059 $ac_includes_default
18060 long longval () { return (long) (sizeof (void *)); }
18061 unsigned long ulongval () { return (long) (sizeof (void *)); }
18063 #include <stdlib.h>
18068 FILE *f = fopen ("conftest.val", "w");
18071 if (((long) (sizeof (void *))) < 0)
18073 long i = longval ();
18074 if (i != ((long) (sizeof (void *))))
18076 fprintf (f, "%ld\n", i);
18080 unsigned long i = ulongval ();
18081 if (i != ((long) (sizeof (void *))))
18083 fprintf (f, "%lu\n", i);
18085 exit (ferror (f) || fclose (f) != 0);
18091 rm -f conftest
$ac_exeext
18092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18093 (eval $ac_link) 2>&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 ac_cv_sizeof_void_p
=`cat conftest.val`
18104 echo "$as_me: program exited with status $ac_status" >&5
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.
$ac_ext >&5
18108 ( exit $ac_status )
18109 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18110 See \`config.log' for more details." >&5
18111 echo "$as_me: error: cannot compute sizeof (void *), 77
18112 See \`config.log' for more details." >&2;}
18113 { (exit 1); exit 1; }; }
18115 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18120 ac_cv_sizeof_void_p
=0
18123 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18124 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18125 cat >>confdefs.h
<<_ACEOF
18126 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18130 echo "$as_me:$LINENO: checking for int" >&5
18131 echo $ECHO_N "checking for int... $ECHO_C" >&6
18132 if test "${ac_cv_type_int+set}" = set; then
18133 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 cat >conftest.
$ac_ext <<_ACEOF
18138 cat confdefs.h
>>conftest.
$ac_ext
18139 cat >>conftest.
$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18141 $ac_includes_default
18153 rm -f conftest.
$ac_objext
18154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18155 (eval $ac_compile) 2>conftest.er1
18157 grep -v '^ *+' conftest.er1
>conftest.err
18159 cat conftest.err
>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } &&
18162 { ac_try
='test -z "$ac_c_werror_flag"
18163 || test ! -s conftest.err'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; } &&
18169 { ac_try
='test -s conftest.$ac_objext'
18170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18171 (eval $ac_try) 2>&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); }; }; then
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.
$ac_ext >&5
18182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18184 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18185 echo "${ECHO_T}$ac_cv_type_int" >&6
18187 echo "$as_me:$LINENO: checking size of int" >&5
18188 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18189 if test "${ac_cv_sizeof_int+set}" = set; then
18190 echo $ECHO_N "(cached) $ECHO_C" >&6
18192 if test "$ac_cv_type_int" = yes; then
18193 # The cast to unsigned long works around a bug in the HP C Compiler
18194 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18195 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18196 # This bug is HP SR number 8606223364.
18197 if test "$cross_compiling" = yes; then
18198 # Depending upon the size, compute the lo and hi bounds.
18199 cat >conftest.
$ac_ext <<_ACEOF
18202 cat confdefs.h
>>conftest.
$ac_ext
18203 cat >>conftest.
$ac_ext <<_ACEOF
18204 /* end confdefs.h. */
18205 $ac_includes_default
18209 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18216 rm -f conftest.
$ac_objext
18217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18218 (eval $ac_compile) 2>conftest.er1
18220 grep -v '^ *+' conftest.er1
>conftest.err
18222 cat conftest.err
>&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } &&
18225 { ac_try
='test -z "$ac_c_werror_flag"
18226 || test ! -s conftest.err'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try
='test -s conftest.$ac_objext'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; }; then
18240 cat >conftest.
$ac_ext <<_ACEOF
18243 cat confdefs.h
>>conftest.
$ac_ext
18244 cat >>conftest.
$ac_ext <<_ACEOF
18245 /* end confdefs.h. */
18246 $ac_includes_default
18250 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18257 rm -f conftest.
$ac_objext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>conftest.er1
18261 grep -v '^ *+' conftest.er1
>conftest.err
18263 cat conftest.err
>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } &&
18266 { ac_try
='test -z "$ac_c_werror_flag"
18267 || test ! -s conftest.err'
18268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269 (eval $ac_try) 2>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }; } &&
18273 { ac_try
='test -s conftest.$ac_objext'
18274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18275 (eval $ac_try) 2>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; }; then
18279 ac_hi
=$ac_mid; break
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.
$ac_ext >&5
18284 ac_lo
=`expr $ac_mid + 1`
18285 if test $ac_lo -le $ac_mid; then
18289 ac_mid
=`expr 2 '*' $ac_mid + 1`
18291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.
$ac_ext >&5
18297 cat >conftest.
$ac_ext <<_ACEOF
18300 cat confdefs.h
>>conftest.
$ac_ext
18301 cat >>conftest.
$ac_ext <<_ACEOF
18302 /* end confdefs.h. */
18303 $ac_includes_default
18307 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18314 rm -f conftest.
$ac_objext
18315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18316 (eval $ac_compile) 2>conftest.er1
18318 grep -v '^ *+' conftest.er1
>conftest.err
18320 cat conftest.err
>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); } &&
18323 { ac_try
='test -z "$ac_c_werror_flag"
18324 || test ! -s conftest.err'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; } &&
18330 { ac_try
='test -s conftest.$ac_objext'
18331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332 (eval $ac_try) 2>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; }; then
18338 cat >conftest.
$ac_ext <<_ACEOF
18341 cat confdefs.h
>>conftest.
$ac_ext
18342 cat >>conftest.
$ac_ext <<_ACEOF
18343 /* end confdefs.h. */
18344 $ac_includes_default
18348 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18355 rm -f conftest.
$ac_objext
18356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18357 (eval $ac_compile) 2>conftest.er1
18359 grep -v '^ *+' conftest.er1
>conftest.err
18361 cat conftest.err
>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } &&
18364 { ac_try
='test -z "$ac_c_werror_flag"
18365 || test ! -s conftest.err'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; } &&
18371 { ac_try
='test -s conftest.$ac_objext'
18372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18373 (eval $ac_try) 2>&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); }; }; then
18377 ac_lo
=$ac_mid; break
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.
$ac_ext >&5
18382 ac_hi
=`expr '(' $ac_mid ')' - 1`
18383 if test $ac_mid -le $ac_hi; then
18387 ac_mid
=`expr 2 '*' $ac_mid`
18389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.
$ac_ext >&5
18397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18400 # Binary search between lo and hi bounds.
18401 while test "x$ac_lo" != "x$ac_hi"; do
18402 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18403 cat >conftest.
$ac_ext <<_ACEOF
18406 cat confdefs.h
>>conftest.
$ac_ext
18407 cat >>conftest.
$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409 $ac_includes_default
18413 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18420 rm -f conftest.
$ac_objext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18422 (eval $ac_compile) 2>conftest.er1
18424 grep -v '^ *+' conftest.er1
>conftest.err
18426 cat conftest.err
>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try
='test -z "$ac_c_werror_flag"
18430 || test ! -s conftest.err'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; } &&
18436 { ac_try
='test -s conftest.$ac_objext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.
$ac_ext >&5
18447 ac_lo
=`expr '(' $ac_mid ')' + 1`
18449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18452 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18453 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18454 See \`config.log' for more details." >&5
18455 echo "$as_me: error: cannot compute sizeof (int), 77
18456 See \`config.log' for more details." >&2;}
18457 { (exit 1); exit 1; }; } ;;
18460 if test "$cross_compiling" = yes; then
18461 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18462 See \`config.log' for more details." >&5
18463 echo "$as_me: error: cannot run test program while cross compiling
18464 See \`config.log' for more details." >&2;}
18465 { (exit 1); exit 1; }; }
18467 cat >conftest.
$ac_ext <<_ACEOF
18470 cat confdefs.h
>>conftest.
$ac_ext
18471 cat >>conftest.
$ac_ext <<_ACEOF
18472 /* end confdefs.h. */
18473 $ac_includes_default
18474 long longval () { return (long) (sizeof (int)); }
18475 unsigned long ulongval () { return (long) (sizeof (int)); }
18477 #include <stdlib.h>
18482 FILE *f = fopen ("conftest.val", "w");
18485 if (((long) (sizeof (int))) < 0)
18487 long i = longval ();
18488 if (i != ((long) (sizeof (int))))
18490 fprintf (f, "%ld\n", i);
18494 unsigned long i = ulongval ();
18495 if (i != ((long) (sizeof (int))))
18497 fprintf (f, "%lu\n", i);
18499 exit (ferror (f) || fclose (f) != 0);
18505 rm -f conftest
$ac_exeext
18506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18507 (eval $ac_link) 2>&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; }; then
18516 ac_cv_sizeof_int
=`cat conftest.val`
18518 echo "$as_me: program exited with status $ac_status" >&5
18519 echo "$as_me: failed program was:" >&5
18520 sed 's/^/| /' conftest.
$ac_ext >&5
18522 ( exit $ac_status )
18523 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18524 See \`config.log' for more details." >&5
18525 echo "$as_me: error: cannot compute sizeof (int), 77
18526 See \`config.log' for more details." >&2;}
18527 { (exit 1); exit 1; }; }
18529 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18537 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18538 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18539 cat >>confdefs.h
<<_ACEOF
18540 #define SIZEOF_INT $ac_cv_sizeof_int
18544 echo "$as_me:$LINENO: checking for long" >&5
18545 echo $ECHO_N "checking for long... $ECHO_C" >&6
18546 if test "${ac_cv_type_long+set}" = set; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18549 cat >conftest.
$ac_ext <<_ACEOF
18552 cat confdefs.h
>>conftest.
$ac_ext
18553 cat >>conftest.
$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18555 $ac_includes_default
18567 rm -f conftest.
$ac_objext
18568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18569 (eval $ac_compile) 2>conftest.er1
18571 grep -v '^ *+' conftest.er1
>conftest.err
18573 cat conftest.err
>&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } &&
18576 { ac_try
='test -z "$ac_c_werror_flag"
18577 || test ! -s conftest.err'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; } &&
18583 { ac_try
='test -s conftest.$ac_objext'
18584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18585 (eval $ac_try) 2>&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); }; }; then
18589 ac_cv_type_long
=yes
18591 echo "$as_me: failed program was:" >&5
18592 sed 's/^/| /' conftest.
$ac_ext >&5
18596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18598 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18599 echo "${ECHO_T}$ac_cv_type_long" >&6
18601 echo "$as_me:$LINENO: checking size of long" >&5
18602 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18603 if test "${ac_cv_sizeof_long+set}" = set; then
18604 echo $ECHO_N "(cached) $ECHO_C" >&6
18606 if test "$ac_cv_type_long" = yes; then
18607 # The cast to unsigned long works around a bug in the HP C Compiler
18608 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18609 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18610 # This bug is HP SR number 8606223364.
18611 if test "$cross_compiling" = yes; then
18612 # Depending upon the size, compute the lo and hi bounds.
18613 cat >conftest.
$ac_ext <<_ACEOF
18616 cat confdefs.h
>>conftest.
$ac_ext
18617 cat >>conftest.
$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18619 $ac_includes_default
18623 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18630 rm -f conftest.
$ac_objext
18631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18632 (eval $ac_compile) 2>conftest.er1
18634 grep -v '^ *+' conftest.er1
>conftest.err
18636 cat conftest.err
>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } &&
18639 { ac_try
='test -z "$ac_c_werror_flag"
18640 || test ! -s conftest.err'
18641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18642 (eval $ac_try) 2>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); }; } &&
18646 { ac_try
='test -s conftest.$ac_objext'
18647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18648 (eval $ac_try) 2>&5
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); }; }; then
18654 cat >conftest.
$ac_ext <<_ACEOF
18657 cat confdefs.h
>>conftest.
$ac_ext
18658 cat >>conftest.
$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 $ac_includes_default
18664 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18671 rm -f conftest.
$ac_objext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18673 (eval $ac_compile) 2>conftest.er1
18675 grep -v '^ *+' conftest.er1
>conftest.err
18677 cat conftest.err
>&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } &&
18680 { ac_try
='test -z "$ac_c_werror_flag"
18681 || test ! -s conftest.err'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; } &&
18687 { ac_try
='test -s conftest.$ac_objext'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; }; then
18693 ac_hi
=$ac_mid; break
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.
$ac_ext >&5
18698 ac_lo
=`expr $ac_mid + 1`
18699 if test $ac_lo -le $ac_mid; then
18703 ac_mid
=`expr 2 '*' $ac_mid + 1`
18705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.
$ac_ext >&5
18711 cat >conftest.
$ac_ext <<_ACEOF
18714 cat confdefs.h
>>conftest.
$ac_ext
18715 cat >>conftest.
$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18717 $ac_includes_default
18721 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18728 rm -f conftest.
$ac_objext
18729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18730 (eval $ac_compile) 2>conftest.er1
18732 grep -v '^ *+' conftest.er1
>conftest.err
18734 cat conftest.err
>&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); } &&
18737 { ac_try
='test -z "$ac_c_werror_flag"
18738 || test ! -s conftest.err'
18739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18740 (eval $ac_try) 2>&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; } &&
18744 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18752 cat >conftest.
$ac_ext <<_ACEOF
18755 cat confdefs.h
>>conftest.
$ac_ext
18756 cat >>conftest.
$ac_ext <<_ACEOF
18757 /* end confdefs.h. */
18758 $ac_includes_default
18762 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18769 rm -f conftest.
$ac_objext
18770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18771 (eval $ac_compile) 2>conftest.er1
18773 grep -v '^ *+' conftest.er1
>conftest.err
18775 cat conftest.err
>&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } &&
18778 { ac_try
='test -z "$ac_c_werror_flag"
18779 || test ! -s conftest.err'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; } &&
18785 { ac_try
='test -s conftest.$ac_objext'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 ac_lo
=$ac_mid; break
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.
$ac_ext >&5
18796 ac_hi
=`expr '(' $ac_mid ')' - 1`
18797 if test $ac_mid -le $ac_hi; then
18801 ac_mid
=`expr 2 '*' $ac_mid`
18803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.
$ac_ext >&5
18811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18814 # Binary search between lo and hi bounds.
18815 while test "x$ac_lo" != "x$ac_hi"; do
18816 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18817 cat >conftest.
$ac_ext <<_ACEOF
18820 cat confdefs.h
>>conftest.
$ac_ext
18821 cat >>conftest.
$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18823 $ac_includes_default
18827 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18834 rm -f conftest.
$ac_objext
18835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18836 (eval $ac_compile) 2>conftest.er1
18838 grep -v '^ *+' conftest.er1
>conftest.err
18840 cat conftest.err
>&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } &&
18843 { ac_try
='test -z "$ac_c_werror_flag"
18844 || test ! -s conftest.err'
18845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18846 (eval $ac_try) 2>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); }; } &&
18850 { ac_try
='test -s conftest.$ac_objext'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; }; then
18858 echo "$as_me: failed program was:" >&5
18859 sed 's/^/| /' conftest.
$ac_ext >&5
18861 ac_lo
=`expr '(' $ac_mid ')' + 1`
18863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18866 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18867 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18868 See \`config.log' for more details." >&5
18869 echo "$as_me: error: cannot compute sizeof (long), 77
18870 See \`config.log' for more details." >&2;}
18871 { (exit 1); exit 1; }; } ;;
18874 if test "$cross_compiling" = yes; then
18875 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18876 See \`config.log' for more details." >&5
18877 echo "$as_me: error: cannot run test program while cross compiling
18878 See \`config.log' for more details." >&2;}
18879 { (exit 1); exit 1; }; }
18881 cat >conftest.
$ac_ext <<_ACEOF
18884 cat confdefs.h
>>conftest.
$ac_ext
18885 cat >>conftest.
$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18887 $ac_includes_default
18888 long longval () { return (long) (sizeof (long)); }
18889 unsigned long ulongval () { return (long) (sizeof (long)); }
18891 #include <stdlib.h>
18896 FILE *f = fopen ("conftest.val", "w");
18899 if (((long) (sizeof (long))) < 0)
18901 long i = longval ();
18902 if (i != ((long) (sizeof (long))))
18904 fprintf (f, "%ld\n", i);
18908 unsigned long i = ulongval ();
18909 if (i != ((long) (sizeof (long))))
18911 fprintf (f, "%lu\n", i);
18913 exit (ferror (f) || fclose (f) != 0);
18919 rm -f conftest
$ac_exeext
18920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18921 (eval $ac_link) 2>&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; }; then
18930 ac_cv_sizeof_long
=`cat conftest.val`
18932 echo "$as_me: program exited with status $ac_status" >&5
18933 echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.
$ac_ext >&5
18936 ( exit $ac_status )
18937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18938 See \`config.log' for more details." >&5
18939 echo "$as_me: error: cannot compute sizeof (long), 77
18940 See \`config.log' for more details." >&2;}
18941 { (exit 1); exit 1; }; }
18943 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18948 ac_cv_sizeof_long
=0
18951 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18952 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18953 cat >>confdefs.h
<<_ACEOF
18954 #define SIZEOF_LONG $ac_cv_sizeof_long
18958 echo "$as_me:$LINENO: checking for size_t" >&5
18959 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18960 if test "${ac_cv_type_size_t+set}" = set; then
18961 echo $ECHO_N "(cached) $ECHO_C" >&6
18963 cat >conftest.
$ac_ext <<_ACEOF
18966 cat confdefs.h
>>conftest.
$ac_ext
18967 cat >>conftest.
$ac_ext <<_ACEOF
18968 /* end confdefs.h. */
18969 $ac_includes_default
18975 if (sizeof (size_t))
18981 rm -f conftest.
$ac_objext
18982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18983 (eval $ac_compile) 2>conftest.er1
18985 grep -v '^ *+' conftest.er1
>conftest.err
18987 cat conftest.err
>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } &&
18990 { ac_try
='test -z "$ac_c_werror_flag"
18991 || test ! -s conftest.err'
18992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993 (eval $ac_try) 2>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; } &&
18997 { ac_try
='test -s conftest.$ac_objext'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; }; then
19003 ac_cv_type_size_t
=yes
19005 echo "$as_me: failed program was:" >&5
19006 sed 's/^/| /' conftest.
$ac_ext >&5
19008 ac_cv_type_size_t
=no
19010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19012 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19013 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19015 echo "$as_me:$LINENO: checking size of size_t" >&5
19016 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19017 if test "${ac_cv_sizeof_size_t+set}" = set; then
19018 echo $ECHO_N "(cached) $ECHO_C" >&6
19020 if test "$ac_cv_type_size_t" = yes; then
19021 # The cast to unsigned long works around a bug in the HP C Compiler
19022 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19023 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19024 # This bug is HP SR number 8606223364.
19025 if test "$cross_compiling" = yes; then
19026 # Depending upon the size, compute the lo and hi bounds.
19027 cat >conftest.
$ac_ext <<_ACEOF
19030 cat confdefs.h
>>conftest.
$ac_ext
19031 cat >>conftest.
$ac_ext <<_ACEOF
19032 /* end confdefs.h. */
19033 $ac_includes_default
19037 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19044 rm -f conftest.
$ac_objext
19045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19046 (eval $ac_compile) 2>conftest.er1
19048 grep -v '^ *+' conftest.er1
>conftest.err
19050 cat conftest.err
>&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); } &&
19053 { ac_try
='test -z "$ac_c_werror_flag"
19054 || 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
19068 cat >conftest.
$ac_ext <<_ACEOF
19071 cat confdefs.h
>>conftest.
$ac_ext
19072 cat >>conftest.
$ac_ext <<_ACEOF
19073 /* end confdefs.h. */
19074 $ac_includes_default
19078 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19085 rm -f conftest.
$ac_objext
19086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19087 (eval $ac_compile) 2>conftest.er1
19089 grep -v '^ *+' conftest.er1
>conftest.err
19091 cat conftest.err
>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); } &&
19094 { ac_try
='test -z "$ac_c_werror_flag"
19095 || test ! -s conftest.err'
19096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19097 (eval $ac_try) 2>&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); }; } &&
19101 { ac_try
='test -s conftest.$ac_objext'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; }; then
19107 ac_hi
=$ac_mid; break
19109 echo "$as_me: failed program was:" >&5
19110 sed 's/^/| /' conftest.
$ac_ext >&5
19112 ac_lo
=`expr $ac_mid + 1`
19113 if test $ac_lo -le $ac_mid; then
19117 ac_mid
=`expr 2 '*' $ac_mid + 1`
19119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.
$ac_ext >&5
19125 cat >conftest.
$ac_ext <<_ACEOF
19128 cat confdefs.h
>>conftest.
$ac_ext
19129 cat >>conftest.
$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 $ac_includes_default
19135 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19142 rm -f conftest.
$ac_objext
19143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19144 (eval $ac_compile) 2>conftest.er1
19146 grep -v '^ *+' conftest.er1
>conftest.err
19148 cat conftest.err
>&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); } &&
19151 { ac_try
='test -z "$ac_c_werror_flag"
19152 || test ! -s conftest.err'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; } &&
19158 { ac_try
='test -s conftest.$ac_objext'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; }; then
19166 cat >conftest.
$ac_ext <<_ACEOF
19169 cat confdefs.h
>>conftest.
$ac_ext
19170 cat >>conftest.
$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19172 $ac_includes_default
19176 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19183 rm -f conftest.
$ac_objext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19185 (eval $ac_compile) 2>conftest.er1
19187 grep -v '^ *+' conftest.er1
>conftest.err
19189 cat conftest.err
>&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } &&
19192 { ac_try
='test -z "$ac_c_werror_flag"
19193 || test ! -s conftest.err'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; } &&
19199 { ac_try
='test -s conftest.$ac_objext'
19200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19201 (eval $ac_try) 2>&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); }; }; then
19205 ac_lo
=$ac_mid; break
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.
$ac_ext >&5
19210 ac_hi
=`expr '(' $ac_mid ')' - 1`
19211 if test $ac_mid -le $ac_hi; then
19215 ac_mid
=`expr 2 '*' $ac_mid`
19217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.
$ac_ext >&5
19225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19228 # Binary search between lo and hi bounds.
19229 while test "x$ac_lo" != "x$ac_hi"; do
19230 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19231 cat >conftest.
$ac_ext <<_ACEOF
19234 cat confdefs.h
>>conftest.
$ac_ext
19235 cat >>conftest.
$ac_ext <<_ACEOF
19236 /* end confdefs.h. */
19237 $ac_includes_default
19241 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19248 rm -f conftest.
$ac_objext
19249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19250 (eval $ac_compile) 2>conftest.er1
19252 grep -v '^ *+' conftest.er1
>conftest.err
19254 cat conftest.err
>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } &&
19257 { ac_try
='test -z "$ac_c_werror_flag"
19258 || test ! -s conftest.err'
19259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19260 (eval $ac_try) 2>&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); }; } &&
19264 { ac_try
='test -s conftest.$ac_objext'
19265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19266 (eval $ac_try) 2>&5
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); }; }; then
19272 echo "$as_me: failed program was:" >&5
19273 sed 's/^/| /' conftest.
$ac_ext >&5
19275 ac_lo
=`expr '(' $ac_mid ')' + 1`
19277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19280 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19281 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19282 See \`config.log' for more details." >&5
19283 echo "$as_me: error: cannot compute sizeof (size_t), 77
19284 See \`config.log' for more details." >&2;}
19285 { (exit 1); exit 1; }; } ;;
19288 if test "$cross_compiling" = yes; then
19289 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19290 See \`config.log' for more details." >&5
19291 echo "$as_me: error: cannot run test program while cross compiling
19292 See \`config.log' for more details." >&2;}
19293 { (exit 1); exit 1; }; }
19295 cat >conftest.
$ac_ext <<_ACEOF
19298 cat confdefs.h
>>conftest.
$ac_ext
19299 cat >>conftest.
$ac_ext <<_ACEOF
19300 /* end confdefs.h. */
19301 $ac_includes_default
19302 long longval () { return (long) (sizeof (size_t)); }
19303 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19305 #include <stdlib.h>
19310 FILE *f = fopen ("conftest.val", "w");
19313 if (((long) (sizeof (size_t))) < 0)
19315 long i = longval ();
19316 if (i != ((long) (sizeof (size_t))))
19318 fprintf (f, "%ld\n", i);
19322 unsigned long i = ulongval ();
19323 if (i != ((long) (sizeof (size_t))))
19325 fprintf (f, "%lu\n", i);
19327 exit (ferror (f) || fclose (f) != 0);
19333 rm -f conftest
$ac_exeext
19334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19335 (eval $ac_link) 2>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19340 (eval $ac_try) 2>&5
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); }; }; then
19344 ac_cv_sizeof_size_t
=`cat conftest.val`
19346 echo "$as_me: program exited with status $ac_status" >&5
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.
$ac_ext >&5
19350 ( exit $ac_status )
19351 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19352 See \`config.log' for more details." >&5
19353 echo "$as_me: error: cannot compute sizeof (size_t), 77
19354 See \`config.log' for more details." >&2;}
19355 { (exit 1); exit 1; }; }
19357 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19362 ac_cv_sizeof_size_t
=0
19365 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19366 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19367 cat >>confdefs.h
<<_ACEOF
19368 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19375 echo "$as_me:$LINENO: checking for long long" >&5
19376 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19377 if test "${ac_cv_type_long_long+set}" = set; then
19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19380 cat >conftest.
$ac_ext <<_ACEOF
19383 cat confdefs.h
>>conftest.
$ac_ext
19384 cat >>conftest.
$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19386 $ac_includes_default
19390 if ((long long *) 0)
19392 if (sizeof (long long))
19398 rm -f conftest.
$ac_objext
19399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19400 (eval $ac_compile) 2>conftest.er1
19402 grep -v '^ *+' conftest.er1
>conftest.err
19404 cat conftest.err
>&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); } &&
19407 { ac_try
='test -z "$ac_c_werror_flag"
19408 || test ! -s conftest.err'
19409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19410 (eval $ac_try) 2>&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); }; } &&
19414 { ac_try
='test -s conftest.$ac_objext'
19415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19416 (eval $ac_try) 2>&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); }; }; then
19420 ac_cv_type_long_long
=yes
19422 echo "$as_me: failed program was:" >&5
19423 sed 's/^/| /' conftest.
$ac_ext >&5
19425 ac_cv_type_long_long
=no
19427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19429 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19430 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19432 echo "$as_me:$LINENO: checking size of long long" >&5
19433 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19434 if test "${ac_cv_sizeof_long_long+set}" = set; then
19435 echo $ECHO_N "(cached) $ECHO_C" >&6
19437 if test "$ac_cv_type_long_long" = yes; then
19438 # The cast to unsigned long works around a bug in the HP C Compiler
19439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19441 # This bug is HP SR number 8606223364.
19442 if test "$cross_compiling" = yes; then
19443 # Depending upon the size, compute the lo and hi bounds.
19444 cat >conftest.
$ac_ext <<_ACEOF
19447 cat confdefs.h
>>conftest.
$ac_ext
19448 cat >>conftest.
$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19450 $ac_includes_default
19454 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19461 rm -f conftest.
$ac_objext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19463 (eval $ac_compile) 2>conftest.er1
19465 grep -v '^ *+' conftest.er1
>conftest.err
19467 cat conftest.err
>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try
='test -z "$ac_c_werror_flag"
19471 || test ! -s conftest.err'
19472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19473 (eval $ac_try) 2>&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); }; } &&
19477 { ac_try
='test -s conftest.$ac_objext'
19478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19479 (eval $ac_try) 2>&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); }; }; then
19485 cat >conftest.
$ac_ext <<_ACEOF
19488 cat confdefs.h
>>conftest.
$ac_ext
19489 cat >>conftest.
$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19491 $ac_includes_default
19495 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19502 rm -f conftest.
$ac_objext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19504 (eval $ac_compile) 2>conftest.er1
19506 grep -v '^ *+' conftest.er1
>conftest.err
19508 cat conftest.err
>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try
='test -z "$ac_c_werror_flag"
19512 || test ! -s conftest.err'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; } &&
19518 { ac_try
='test -s conftest.$ac_objext'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 ac_hi
=$ac_mid; break
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.
$ac_ext >&5
19529 ac_lo
=`expr $ac_mid + 1`
19530 if test $ac_lo -le $ac_mid; then
19534 ac_mid
=`expr 2 '*' $ac_mid + 1`
19536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19539 echo "$as_me: failed program was:" >&5
19540 sed 's/^/| /' conftest.
$ac_ext >&5
19542 cat >conftest.
$ac_ext <<_ACEOF
19545 cat confdefs.h
>>conftest.
$ac_ext
19546 cat >>conftest.
$ac_ext <<_ACEOF
19547 /* end confdefs.h. */
19548 $ac_includes_default
19552 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19559 rm -f conftest.
$ac_objext
19560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19561 (eval $ac_compile) 2>conftest.er1
19563 grep -v '^ *+' conftest.er1
>conftest.err
19565 cat conftest.err
>&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } &&
19568 { ac_try
='test -z "$ac_c_werror_flag"
19569 || test ! -s conftest.err'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; } &&
19575 { ac_try
='test -s conftest.$ac_objext'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; }; then
19583 cat >conftest.
$ac_ext <<_ACEOF
19586 cat confdefs.h
>>conftest.
$ac_ext
19587 cat >>conftest.
$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19593 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19600 rm -f conftest.
$ac_objext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19602 (eval $ac_compile) 2>conftest.er1
19604 grep -v '^ *+' conftest.er1
>conftest.err
19606 cat conftest.err
>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); } &&
19609 { ac_try
='test -z "$ac_c_werror_flag"
19610 || test ! -s conftest.err'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; } &&
19616 { ac_try
='test -s conftest.$ac_objext'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; }; then
19622 ac_lo
=$ac_mid; break
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.
$ac_ext >&5
19627 ac_hi
=`expr '(' $ac_mid ')' - 1`
19628 if test $ac_mid -le $ac_hi; then
19632 ac_mid
=`expr 2 '*' $ac_mid`
19634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.
$ac_ext >&5
19642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19645 # Binary search between lo and hi bounds.
19646 while test "x$ac_lo" != "x$ac_hi"; do
19647 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19648 cat >conftest.
$ac_ext <<_ACEOF
19651 cat confdefs.h
>>conftest.
$ac_ext
19652 cat >>conftest.
$ac_ext <<_ACEOF
19653 /* end confdefs.h. */
19654 $ac_includes_default
19658 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19665 rm -f conftest.
$ac_objext
19666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19667 (eval $ac_compile) 2>conftest.er1
19669 grep -v '^ *+' conftest.er1
>conftest.err
19671 cat conftest.err
>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } &&
19674 { ac_try
='test -z "$ac_c_werror_flag"
19675 || test ! -s conftest.err'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; } &&
19681 { ac_try
='test -s conftest.$ac_objext'
19682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683 (eval $ac_try) 2>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); }; }; then
19689 echo "$as_me: failed program was:" >&5
19690 sed 's/^/| /' conftest.
$ac_ext >&5
19692 ac_lo
=`expr '(' $ac_mid ')' + 1`
19694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19697 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19698 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19699 See \`config.log' for more details." >&5
19700 echo "$as_me: error: cannot compute sizeof (long long), 77
19701 See \`config.log' for more details." >&2;}
19702 { (exit 1); exit 1; }; } ;;
19705 if test "$cross_compiling" = yes; then
19706 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19707 See \`config.log' for more details." >&5
19708 echo "$as_me: error: cannot run test program while cross compiling
19709 See \`config.log' for more details." >&2;}
19710 { (exit 1); exit 1; }; }
19712 cat >conftest.
$ac_ext <<_ACEOF
19715 cat confdefs.h
>>conftest.
$ac_ext
19716 cat >>conftest.
$ac_ext <<_ACEOF
19717 /* end confdefs.h. */
19718 $ac_includes_default
19719 long longval () { return (long) (sizeof (long long)); }
19720 unsigned long ulongval () { return (long) (sizeof (long long)); }
19722 #include <stdlib.h>
19727 FILE *f = fopen ("conftest.val", "w");
19730 if (((long) (sizeof (long long))) < 0)
19732 long i = longval ();
19733 if (i != ((long) (sizeof (long long))))
19735 fprintf (f, "%ld\n", i);
19739 unsigned long i = ulongval ();
19740 if (i != ((long) (sizeof (long long))))
19742 fprintf (f, "%lu\n", i);
19744 exit (ferror (f) || fclose (f) != 0);
19750 rm -f conftest
$ac_exeext
19751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19752 (eval $ac_link) 2>&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19757 (eval $ac_try) 2>&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); }; }; then
19761 ac_cv_sizeof_long_long
=`cat conftest.val`
19763 echo "$as_me: program exited with status $ac_status" >&5
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.
$ac_ext >&5
19767 ( exit $ac_status )
19768 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19769 See \`config.log' for more details." >&5
19770 echo "$as_me: error: cannot compute sizeof (long long), 77
19771 See \`config.log' for more details." >&2;}
19772 { (exit 1); exit 1; }; }
19774 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19779 ac_cv_sizeof_long_long
=0
19782 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19783 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19784 cat >>confdefs.h
<<_ACEOF
19785 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19791 echo "$as_me:$LINENO: checking for long long" >&5
19792 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19793 if test "${ac_cv_type_long_long+set}" = set; then
19794 echo $ECHO_N "(cached) $ECHO_C" >&6
19796 cat >conftest.
$ac_ext <<_ACEOF
19799 cat confdefs.h
>>conftest.
$ac_ext
19800 cat >>conftest.
$ac_ext <<_ACEOF
19801 /* end confdefs.h. */
19802 $ac_includes_default
19806 if ((long long *) 0)
19808 if (sizeof (long long))
19814 rm -f conftest.
$ac_objext
19815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19816 (eval $ac_compile) 2>conftest.er1
19818 grep -v '^ *+' conftest.er1
>conftest.err
19820 cat conftest.err
>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } &&
19823 { ac_try
='test -z "$ac_c_werror_flag"
19824 || test ! -s conftest.err'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; } &&
19830 { ac_try
='test -s conftest.$ac_objext'
19831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19832 (eval $ac_try) 2>&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); }; }; then
19836 ac_cv_type_long_long
=yes
19838 echo "$as_me: failed program was:" >&5
19839 sed 's/^/| /' conftest.
$ac_ext >&5
19841 ac_cv_type_long_long
=no
19843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19845 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19846 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19848 echo "$as_me:$LINENO: checking size of long long" >&5
19849 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19850 if test "${ac_cv_sizeof_long_long+set}" = set; then
19851 echo $ECHO_N "(cached) $ECHO_C" >&6
19853 if test "$ac_cv_type_long_long" = yes; then
19854 # The cast to unsigned long works around a bug in the HP C Compiler
19855 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19856 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19857 # This bug is HP SR number 8606223364.
19858 if test "$cross_compiling" = yes; then
19859 # Depending upon the size, compute the lo and hi bounds.
19860 cat >conftest.
$ac_ext <<_ACEOF
19863 cat confdefs.h
>>conftest.
$ac_ext
19864 cat >>conftest.
$ac_ext <<_ACEOF
19865 /* end confdefs.h. */
19866 $ac_includes_default
19870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19877 rm -f conftest.
$ac_objext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19879 (eval $ac_compile) 2>conftest.er1
19881 grep -v '^ *+' conftest.er1
>conftest.err
19883 cat conftest.err
>&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } &&
19886 { ac_try
='test -z "$ac_c_werror_flag"
19887 || test ! -s conftest.err'
19888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889 (eval $ac_try) 2>&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; } &&
19893 { ac_try
='test -s conftest.$ac_objext'
19894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895 (eval $ac_try) 2>&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); }; }; then
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))) <= $ac_mid)];
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"
19928 || test ! -s conftest.err'
19929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930 (eval $ac_try) 2>&5
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); }; } &&
19934 { ac_try
='test -s conftest.$ac_objext'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; }; then
19940 ac_hi
=$ac_mid; break
19942 echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.
$ac_ext >&5
19945 ac_lo
=`expr $ac_mid + 1`
19946 if test $ac_lo -le $ac_mid; then
19950 ac_mid
=`expr 2 '*' $ac_mid + 1`
19952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.
$ac_ext >&5
19958 cat >conftest.
$ac_ext <<_ACEOF
19961 cat confdefs.h
>>conftest.
$ac_ext
19962 cat >>conftest.
$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 $ac_includes_default
19968 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19975 rm -f conftest.
$ac_objext
19976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19977 (eval $ac_compile) 2>conftest.er1
19979 grep -v '^ *+' conftest.er1
>conftest.err
19981 cat conftest.err
>&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); } &&
19984 { ac_try
='test -z "$ac_c_werror_flag"
19985 || test ! -s conftest.err'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; } &&
19991 { ac_try
='test -s conftest.$ac_objext'
19992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993 (eval $ac_try) 2>&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; }; then
19999 cat >conftest.
$ac_ext <<_ACEOF
20002 cat confdefs.h
>>conftest.
$ac_ext
20003 cat >>conftest.
$ac_ext <<_ACEOF
20004 /* end confdefs.h. */
20005 $ac_includes_default
20009 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20016 rm -f conftest.
$ac_objext
20017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20018 (eval $ac_compile) 2>conftest.er1
20020 grep -v '^ *+' conftest.er1
>conftest.err
20022 cat conftest.err
>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } &&
20025 { ac_try
='test -z "$ac_c_werror_flag"
20026 || test ! -s conftest.err'
20027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; } &&
20032 { ac_try
='test -s conftest.$ac_objext'
20033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034 (eval $ac_try) 2>&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); }; }; then
20038 ac_lo
=$ac_mid; break
20040 echo "$as_me: failed program was:" >&5
20041 sed 's/^/| /' conftest.
$ac_ext >&5
20043 ac_hi
=`expr '(' $ac_mid ')' - 1`
20044 if test $ac_mid -le $ac_hi; then
20048 ac_mid
=`expr 2 '*' $ac_mid`
20050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.
$ac_ext >&5
20058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20061 # Binary search between lo and hi bounds.
20062 while test "x$ac_lo" != "x$ac_hi"; do
20063 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20064 cat >conftest.
$ac_ext <<_ACEOF
20067 cat confdefs.h
>>conftest.
$ac_ext
20068 cat >>conftest.
$ac_ext <<_ACEOF
20069 /* end confdefs.h. */
20070 $ac_includes_default
20074 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20081 rm -f conftest.
$ac_objext
20082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20083 (eval $ac_compile) 2>conftest.er1
20085 grep -v '^ *+' conftest.er1
>conftest.err
20087 cat conftest.err
>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); } &&
20090 { ac_try
='test -z "$ac_c_werror_flag"
20091 || test ! -s conftest.err'
20092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093 (eval $ac_try) 2>&5
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); }; } &&
20097 { ac_try
='test -s conftest.$ac_objext'
20098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20099 (eval $ac_try) 2>&5
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; }; then
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.
$ac_ext >&5
20108 ac_lo
=`expr '(' $ac_mid ')' + 1`
20110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20113 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20114 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20115 See \`config.log' for more details." >&5
20116 echo "$as_me: error: cannot compute sizeof (long long), 77
20117 See \`config.log' for more details." >&2;}
20118 { (exit 1); exit 1; }; } ;;
20121 if test "$cross_compiling" = yes; then
20122 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20123 See \`config.log' for more details." >&5
20124 echo "$as_me: error: cannot run test program while cross compiling
20125 See \`config.log' for more details." >&2;}
20126 { (exit 1); exit 1; }; }
20128 cat >conftest.
$ac_ext <<_ACEOF
20131 cat confdefs.h
>>conftest.
$ac_ext
20132 cat >>conftest.
$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20134 $ac_includes_default
20135 long longval () { return (long) (sizeof (long long)); }
20136 unsigned long ulongval () { return (long) (sizeof (long long)); }
20138 #include <stdlib.h>
20143 FILE *f = fopen ("conftest.val", "w");
20146 if (((long) (sizeof (long long))) < 0)
20148 long i = longval ();
20149 if (i != ((long) (sizeof (long long))))
20151 fprintf (f, "%ld\n", i);
20155 unsigned long i = ulongval ();
20156 if (i != ((long) (sizeof (long long))))
20158 fprintf (f, "%lu\n", i);
20160 exit (ferror (f) || fclose (f) != 0);
20166 rm -f conftest
$ac_exeext
20167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20168 (eval $ac_link) 2>&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20173 (eval $ac_try) 2>&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); }; }; then
20177 ac_cv_sizeof_long_long
=`cat conftest.val`
20179 echo "$as_me: program exited with status $ac_status" >&5
20180 echo "$as_me: failed program was:" >&5
20181 sed 's/^/| /' conftest.
$ac_ext >&5
20183 ( exit $ac_status )
20184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20185 See \`config.log' for more details." >&5
20186 echo "$as_me: error: cannot compute sizeof (long long), 77
20187 See \`config.log' for more details." >&2;}
20188 { (exit 1); exit 1; }; }
20190 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20195 ac_cv_sizeof_long_long
=0
20198 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20199 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20200 cat >>confdefs.h
<<_ACEOF
20201 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20205 if test "$ac_cv_sizeof_long_long" != "0"; then
20206 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20210 echo "$as_me:$LINENO: checking for long long" >&5
20211 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20212 if test "${ac_cv_type_long_long+set}" = set; then
20213 echo $ECHO_N "(cached) $ECHO_C" >&6
20215 cat >conftest.
$ac_ext <<_ACEOF
20218 cat confdefs.h
>>conftest.
$ac_ext
20219 cat >>conftest.
$ac_ext <<_ACEOF
20220 /* end confdefs.h. */
20221 $ac_includes_default
20225 if ((long long *) 0)
20227 if (sizeof (long long))
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"
20243 || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try
='test -s conftest.$ac_objext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 ac_cv_type_long_long
=yes
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.
$ac_ext >&5
20260 ac_cv_type_long_long
=no
20262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20264 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20265 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20267 echo "$as_me:$LINENO: checking size of long long" >&5
20268 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20269 if test "${ac_cv_sizeof_long_long+set}" = set; then
20270 echo $ECHO_N "(cached) $ECHO_C" >&6
20272 if test "$ac_cv_type_long_long" = yes; then
20273 # The cast to unsigned long works around a bug in the HP C Compiler
20274 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20275 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20276 # This bug is HP SR number 8606223364.
20277 if test "$cross_compiling" = yes; then
20278 # Depending upon the size, compute the lo and hi bounds.
20279 cat >conftest.
$ac_ext <<_ACEOF
20282 cat confdefs.h
>>conftest.
$ac_ext
20283 cat >>conftest.
$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20285 $ac_includes_default
20289 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20296 rm -f conftest.
$ac_objext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20298 (eval $ac_compile) 2>conftest.er1
20300 grep -v '^ *+' conftest.er1
>conftest.err
20302 cat conftest.err
>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try
='test -z "$ac_c_werror_flag"
20306 || test ! -s conftest.err'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; } &&
20312 { ac_try
='test -s conftest.$ac_objext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20320 cat >conftest.
$ac_ext <<_ACEOF
20323 cat confdefs.h
>>conftest.
$ac_ext
20324 cat >>conftest.
$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20326 $ac_includes_default
20330 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20337 rm -f conftest.
$ac_objext
20338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20339 (eval $ac_compile) 2>conftest.er1
20341 grep -v '^ *+' conftest.er1
>conftest.err
20343 cat conftest.err
>&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } &&
20346 { ac_try
='test -z "$ac_c_werror_flag"
20347 || test ! -s conftest.err'
20348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20349 (eval $ac_try) 2>&5
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); }; } &&
20353 { ac_try
='test -s conftest.$ac_objext'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; }; then
20359 ac_hi
=$ac_mid; break
20361 echo "$as_me: failed program was:" >&5
20362 sed 's/^/| /' conftest.
$ac_ext >&5
20364 ac_lo
=`expr $ac_mid + 1`
20365 if test $ac_lo -le $ac_mid; then
20369 ac_mid
=`expr 2 '*' $ac_mid + 1`
20371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.
$ac_ext >&5
20377 cat >conftest.
$ac_ext <<_ACEOF
20380 cat confdefs.h
>>conftest.
$ac_ext
20381 cat >>conftest.
$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20383 $ac_includes_default
20387 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20394 rm -f conftest.
$ac_objext
20395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20396 (eval $ac_compile) 2>conftest.er1
20398 grep -v '^ *+' conftest.er1
>conftest.err
20400 cat conftest.err
>&5
20401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 (exit $ac_status); } &&
20403 { ac_try
='test -z "$ac_c_werror_flag"
20404 || test ! -s conftest.err'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; } &&
20410 { ac_try
='test -s conftest.$ac_objext'
20411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 (eval $ac_try) 2>&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); }; }; then
20418 cat >conftest.
$ac_ext <<_ACEOF
20421 cat confdefs.h
>>conftest.
$ac_ext
20422 cat >>conftest.
$ac_ext <<_ACEOF
20423 /* end confdefs.h. */
20424 $ac_includes_default
20428 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20435 rm -f conftest.
$ac_objext
20436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20437 (eval $ac_compile) 2>conftest.er1
20439 grep -v '^ *+' conftest.er1
>conftest.err
20441 cat conftest.err
>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); } &&
20444 { ac_try
='test -z "$ac_c_werror_flag"
20445 || test ! -s conftest.err'
20446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20447 (eval $ac_try) 2>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); }; } &&
20451 { ac_try
='test -s conftest.$ac_objext'
20452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 (eval $ac_try) 2>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; }; then
20457 ac_lo
=$ac_mid; break
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.
$ac_ext >&5
20462 ac_hi
=`expr '(' $ac_mid ')' - 1`
20463 if test $ac_mid -le $ac_hi; then
20467 ac_mid
=`expr 2 '*' $ac_mid`
20469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.
$ac_ext >&5
20477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20480 # Binary search between lo and hi bounds.
20481 while test "x$ac_lo" != "x$ac_hi"; do
20482 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20483 cat >conftest.
$ac_ext <<_ACEOF
20486 cat confdefs.h
>>conftest.
$ac_ext
20487 cat >>conftest.
$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20489 $ac_includes_default
20493 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20500 rm -f conftest.
$ac_objext
20501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20502 (eval $ac_compile) 2>conftest.er1
20504 grep -v '^ *+' conftest.er1
>conftest.err
20506 cat conftest.err
>&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); } &&
20509 { ac_try
='test -z "$ac_c_werror_flag"
20510 || test ! -s conftest.err'
20511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20512 (eval $ac_try) 2>&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); }; } &&
20516 { ac_try
='test -s conftest.$ac_objext'
20517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20518 (eval $ac_try) 2>&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); }; }; then
20524 echo "$as_me: failed program was:" >&5
20525 sed 's/^/| /' conftest.
$ac_ext >&5
20527 ac_lo
=`expr '(' $ac_mid ')' + 1`
20529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20532 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
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; }; } ;;
20540 if test "$cross_compiling" = yes; then
20541 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20542 See \`config.log' for more details." >&5
20543 echo "$as_me: error: cannot run test program while cross compiling
20544 See \`config.log' for more details." >&2;}
20545 { (exit 1); exit 1; }; }
20547 cat >conftest.
$ac_ext <<_ACEOF
20550 cat confdefs.h
>>conftest.
$ac_ext
20551 cat >>conftest.
$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20553 $ac_includes_default
20554 long longval () { return (long) (sizeof (long long)); }
20555 unsigned long ulongval () { return (long) (sizeof (long long)); }
20557 #include <stdlib.h>
20562 FILE *f = fopen ("conftest.val", "w");
20565 if (((long) (sizeof (long long))) < 0)
20567 long i = longval ();
20568 if (i != ((long) (sizeof (long long))))
20570 fprintf (f, "%ld\n", i);
20574 unsigned long i = ulongval ();
20575 if (i != ((long) (sizeof (long long))))
20577 fprintf (f, "%lu\n", i);
20579 exit (ferror (f) || fclose (f) != 0);
20585 rm -f conftest
$ac_exeext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20587 (eval $ac_link) 2>&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20592 (eval $ac_try) 2>&5
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); }; }; then
20596 ac_cv_sizeof_long_long
=`cat conftest.val`
20598 echo "$as_me: program exited with status $ac_status" >&5
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.
$ac_ext >&5
20602 ( exit $ac_status )
20603 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20604 See \`config.log' for more details." >&5
20605 echo "$as_me: error: cannot compute sizeof (long long), 77
20606 See \`config.log' for more details." >&2;}
20607 { (exit 1); exit 1; }; }
20609 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20614 ac_cv_sizeof_long_long
=0
20617 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20618 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20619 cat >>confdefs.h
<<_ACEOF
20620 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20626 echo "$as_me:$LINENO: checking for wchar_t" >&5
20627 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20628 if test "${ac_cv_type_wchar_t+set}" = set; then
20629 echo $ECHO_N "(cached) $ECHO_C" >&6
20631 cat >conftest.
$ac_ext <<_ACEOF
20634 cat confdefs.h
>>conftest.
$ac_ext
20635 cat >>conftest.
$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20638 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20639 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20640 # error "fake wchar_t"
20642 #ifdef HAVE_WCHAR_H
20644 # include <stddef.h>
20646 # include <wchar.h>
20648 #ifdef HAVE_STDLIB_H
20649 # include <stdlib.h>
20660 if (sizeof (wchar_t))
20666 rm -f conftest.
$ac_objext
20667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20668 (eval $ac_compile) 2>conftest.er1
20670 grep -v '^ *+' conftest.er1
>conftest.err
20672 cat conftest.err
>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); } &&
20675 { ac_try
='test -z "$ac_c_werror_flag"
20676 || test ! -s conftest.err'
20677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20678 (eval $ac_try) 2>&5
20680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); }; } &&
20682 { ac_try
='test -s conftest.$ac_objext'
20683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20684 (eval $ac_try) 2>&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); }; }; then
20688 ac_cv_type_wchar_t
=yes
20690 echo "$as_me: failed program was:" >&5
20691 sed 's/^/| /' conftest.
$ac_ext >&5
20693 ac_cv_type_wchar_t
=no
20695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20697 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20698 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20700 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20701 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20702 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20703 echo $ECHO_N "(cached) $ECHO_C" >&6
20705 if test "$ac_cv_type_wchar_t" = yes; then
20706 # The cast to unsigned long works around a bug in the HP C Compiler
20707 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20708 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20709 # This bug is HP SR number 8606223364.
20710 if test "$cross_compiling" = yes; then
20711 # Depending upon the size, compute the lo and hi bounds.
20712 cat >conftest.
$ac_ext <<_ACEOF
20715 cat confdefs.h
>>conftest.
$ac_ext
20716 cat >>conftest.
$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20719 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20720 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20721 # error "fake wchar_t"
20723 #ifdef HAVE_WCHAR_H
20725 # include <stddef.h>
20727 # include <wchar.h>
20729 #ifdef HAVE_STDLIB_H
20730 # include <stdlib.h>
20739 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20746 rm -f conftest.
$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20750 grep -v '^ *+' conftest.er1
>conftest.err
20752 cat conftest.err
>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try
='test -z "$ac_c_werror_flag"
20756 || test ! -s conftest.err'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try
='test -s conftest.$ac_objext'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20770 cat >conftest.
$ac_ext <<_ACEOF
20773 cat confdefs.h
>>conftest.
$ac_ext
20774 cat >>conftest.
$ac_ext <<_ACEOF
20775 /* end confdefs.h. */
20777 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20778 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20779 # error "fake wchar_t"
20781 #ifdef HAVE_WCHAR_H
20783 # include <stddef.h>
20785 # include <wchar.h>
20787 #ifdef HAVE_STDLIB_H
20788 # include <stdlib.h>
20797 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20804 rm -f conftest.
$ac_objext
20805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20806 (eval $ac_compile) 2>conftest.er1
20808 grep -v '^ *+' conftest.er1
>conftest.err
20810 cat conftest.err
>&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } &&
20813 { ac_try
='test -z "$ac_c_werror_flag"
20814 || 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
20826 ac_hi
=$ac_mid; break
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.
$ac_ext >&5
20831 ac_lo
=`expr $ac_mid + 1`
20832 if test $ac_lo -le $ac_mid; then
20836 ac_mid
=`expr 2 '*' $ac_mid + 1`
20838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.
$ac_ext >&5
20844 cat >conftest.
$ac_ext <<_ACEOF
20847 cat confdefs.h
>>conftest.
$ac_ext
20848 cat >>conftest.
$ac_ext <<_ACEOF
20849 /* end confdefs.h. */
20851 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20852 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20853 # error "fake wchar_t"
20855 #ifdef HAVE_WCHAR_H
20857 # include <stddef.h>
20859 # include <wchar.h>
20861 #ifdef HAVE_STDLIB_H
20862 # include <stdlib.h>
20871 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20878 rm -f conftest.
$ac_objext
20879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20880 (eval $ac_compile) 2>conftest.er1
20882 grep -v '^ *+' conftest.er1
>conftest.err
20884 cat conftest.err
>&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } &&
20887 { ac_try
='test -z "$ac_c_werror_flag"
20888 || test ! -s conftest.err'
20889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20890 (eval $ac_try) 2>&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); }; } &&
20894 { ac_try
='test -s conftest.$ac_objext'
20895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20896 (eval $ac_try) 2>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; }; then
20902 cat >conftest.
$ac_ext <<_ACEOF
20905 cat confdefs.h
>>conftest.
$ac_ext
20906 cat >>conftest.
$ac_ext <<_ACEOF
20907 /* end confdefs.h. */
20909 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20910 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20911 # error "fake wchar_t"
20913 #ifdef HAVE_WCHAR_H
20915 # include <stddef.h>
20917 # include <wchar.h>
20919 #ifdef HAVE_STDLIB_H
20920 # include <stdlib.h>
20929 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20936 rm -f conftest.
$ac_objext
20937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20938 (eval $ac_compile) 2>conftest.er1
20940 grep -v '^ *+' conftest.er1
>conftest.err
20942 cat conftest.err
>&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); } &&
20945 { ac_try
='test -z "$ac_c_werror_flag"
20946 || test ! -s conftest.err'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; } &&
20952 { ac_try
='test -s conftest.$ac_objext'
20953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954 (eval $ac_try) 2>&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); }; }; then
20958 ac_lo
=$ac_mid; break
20960 echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.
$ac_ext >&5
20963 ac_hi
=`expr '(' $ac_mid ')' - 1`
20964 if test $ac_mid -le $ac_hi; then
20968 ac_mid
=`expr 2 '*' $ac_mid`
20970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.
$ac_ext >&5
20978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20981 # Binary search between lo and hi bounds.
20982 while test "x$ac_lo" != "x$ac_hi"; do
20983 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20984 cat >conftest.
$ac_ext <<_ACEOF
20987 cat confdefs.h
>>conftest.
$ac_ext
20988 cat >>conftest.
$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20991 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20992 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20993 # error "fake wchar_t"
20995 #ifdef HAVE_WCHAR_H
20997 # include <stddef.h>
20999 # include <wchar.h>
21001 #ifdef HAVE_STDLIB_H
21002 # include <stdlib.h>
21011 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21018 rm -f conftest.
$ac_objext
21019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21020 (eval $ac_compile) 2>conftest.er1
21022 grep -v '^ *+' conftest.er1
>conftest.err
21024 cat conftest.err
>&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); } &&
21027 { ac_try
='test -z "$ac_c_werror_flag"
21028 || test ! -s conftest.err'
21029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21030 (eval $ac_try) 2>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; } &&
21034 { ac_try
='test -s conftest.$ac_objext'
21035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21036 (eval $ac_try) 2>&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); }; }; then
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.
$ac_ext >&5
21045 ac_lo
=`expr '(' $ac_mid ')' + 1`
21047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21050 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21051 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21052 See \`config.log' for more details." >&5
21053 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21054 See \`config.log' for more details." >&2;}
21055 { (exit 1); exit 1; }; } ;;
21058 if test "$cross_compiling" = yes; then
21059 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21060 See \`config.log' for more details." >&5
21061 echo "$as_me: error: cannot run test program while cross compiling
21062 See \`config.log' for more details." >&2;}
21063 { (exit 1); exit 1; }; }
21065 cat >conftest.
$ac_ext <<_ACEOF
21068 cat confdefs.h
>>conftest.
$ac_ext
21069 cat >>conftest.
$ac_ext <<_ACEOF
21070 /* end confdefs.h. */
21072 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21073 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21074 # error "fake wchar_t"
21076 #ifdef HAVE_WCHAR_H
21078 # include <stddef.h>
21080 # include <wchar.h>
21082 #ifdef HAVE_STDLIB_H
21083 # include <stdlib.h>
21089 long longval () { return (long) (sizeof (wchar_t)); }
21090 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21092 #include <stdlib.h>
21097 FILE *f = fopen ("conftest.val", "w");
21100 if (((long) (sizeof (wchar_t))) < 0)
21102 long i = longval ();
21103 if (i != ((long) (sizeof (wchar_t))))
21105 fprintf (f, "%ld\n", i);
21109 unsigned long i = ulongval ();
21110 if (i != ((long) (sizeof (wchar_t))))
21112 fprintf (f, "%lu\n", i);
21114 exit (ferror (f) || fclose (f) != 0);
21120 rm -f conftest
$ac_exeext
21121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21122 (eval $ac_link) 2>&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); } && { ac_try
='./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 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21133 echo "$as_me: program exited with status $ac_status" >&5
21134 echo "$as_me: failed program was:" >&5
21135 sed 's/^/| /' conftest.
$ac_ext >&5
21137 ( exit $ac_status )
21138 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21139 See \`config.log' for more details." >&5
21140 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21141 See \`config.log' for more details." >&2;}
21142 { (exit 1); exit 1; }; }
21144 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21149 ac_cv_sizeof_wchar_t
=0
21152 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21153 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21154 cat >>confdefs.h
<<_ACEOF
21155 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21159 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21165 echo "$as_me:$LINENO: checking for va_copy" >&5
21166 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21167 if test "${wx_cv_func_va_copy+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21171 cat >conftest.
$ac_ext <<_ACEOF
21173 #include <stdarg.h>
21174 void foo(char *f, ...)
21188 rm -f conftest.
$ac_objext conftest
$ac_exeext
21189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21190 (eval $ac_link) 2>conftest.er1
21192 grep -v '^ *+' conftest.er1
>conftest.err
21194 cat conftest.err
>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); } &&
21197 { ac_try
='test -z "$ac_c_werror_flag"
21198 || test ! -s conftest.err'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; } &&
21204 { ac_try
='test -s conftest$ac_exeext'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; }; then
21210 wx_cv_func_va_copy
=yes
21212 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.
$ac_ext >&5
21215 wx_cv_func_va_copy
=no
21218 rm -f conftest.err conftest.
$ac_objext \
21219 conftest
$ac_exeext conftest.
$ac_ext
21223 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21224 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21226 if test $wx_cv_func_va_copy = "yes"; then
21227 cat >>confdefs.h
<<\_ACEOF
21228 #define HAVE_VA_COPY 1
21232 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21233 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21234 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21238 if test "$cross_compiling" = yes; then
21239 wx_cv_type_va_list_lvalue
=yes
21242 cat >conftest.
$ac_ext <<_ACEOF
21244 #include <stdarg.h>
21245 int foo(char *f, ...)
21250 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21258 return foo("hi", 17);
21261 rm -f conftest
$ac_exeext
21262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21263 (eval $ac_link) 2>&5
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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 wx_cv_type_va_list_lvalue
=yes
21274 echo "$as_me: program exited with status $ac_status" >&5
21275 echo "$as_me: failed program was:" >&5
21276 sed 's/^/| /' conftest.
$ac_ext >&5
21278 ( exit $ac_status )
21279 wx_cv_type_va_list_lvalue
=no
21281 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21286 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21287 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21289 if test $wx_cv_type_va_list_lvalue != "yes"; then
21290 cat >>confdefs.h
<<\_ACEOF
21291 #define VA_LIST_IS_ARRAY 1
21297 # Check whether --enable-largefile or --disable-largefile was given.
21298 if test "${enable_largefile+set}" = set; then
21299 enableval
="$enable_largefile"
21302 if test "$enable_largefile" != no
; then
21305 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21306 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21307 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21308 echo $ECHO_N "(cached) $ECHO_C" >&6
21311 cat >conftest.
$ac_ext <<_ACEOF
21314 cat confdefs.h
>>conftest.
$ac_ext
21315 cat >>conftest.
$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21317 #define _FILE_OFFSET_BITS 64
21318 #include <sys/types.h>
21323 unsigned int field: sizeof(off_t) == 8;
21330 rm -f conftest.
$ac_objext
21331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21332 (eval $ac_compile) 2>conftest.er1
21334 grep -v '^ *+' conftest.er1
>conftest.err
21336 cat conftest.err
>&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); } &&
21339 { ac_try
='test -z "$ac_c_werror_flag"
21340 || test ! -s conftest.err'
21341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21342 (eval $ac_try) 2>&5
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); }; } &&
21346 { ac_try
='test -s conftest.$ac_objext'
21347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21348 (eval $ac_try) 2>&5
21350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351 (exit $ac_status); }; }; then
21352 ac_cv_sys_file_offset_bits
=64
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.
$ac_ext >&5
21357 ac_cv_sys_file_offset_bits
=no
21359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21363 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21364 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21366 if test "$ac_cv_sys_file_offset_bits" != no
; then
21368 cat >>confdefs.h
<<_ACEOF
21369 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21374 if test "x$wx_largefile" != "xyes"; then
21376 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21377 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21378 if test "${ac_cv_sys_large_files+set}" = set; then
21379 echo $ECHO_N "(cached) $ECHO_C" >&6
21382 cat >conftest.
$ac_ext <<_ACEOF
21385 cat confdefs.h
>>conftest.
$ac_ext
21386 cat >>conftest.
$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21388 #define _LARGE_FILES 1
21389 #include <sys/types.h>
21394 unsigned int field: sizeof(off_t) == 8;
21401 rm -f conftest.
$ac_objext
21402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21403 (eval $ac_compile) 2>conftest.er1
21405 grep -v '^ *+' conftest.er1
>conftest.err
21407 cat conftest.err
>&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } &&
21410 { ac_try
='test -z "$ac_c_werror_flag"
21411 || test ! -s conftest.err'
21412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21413 (eval $ac_try) 2>&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); }; } &&
21417 { ac_try
='test -s conftest.$ac_objext'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; }; then
21423 ac_cv_sys_large_files
=1
21425 echo "$as_me: failed program was:" >&5
21426 sed 's/^/| /' conftest.
$ac_ext >&5
21428 ac_cv_sys_large_files
=no
21430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21434 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21435 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21437 if test "$ac_cv_sys_large_files" != no
; then
21439 cat >>confdefs.h
<<_ACEOF
21440 #define _LARGE_FILES $ac_cv_sys_large_files
21447 echo "$as_me:$LINENO: checking if large file support is available" >&5
21448 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21449 if test "x$wx_largefile" = "xyes"; then
21450 cat >>confdefs.h
<<\_ACEOF
21451 #define HAVE_LARGEFILE_SUPPORT 1
21455 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21456 echo "${ECHO_T}$wx_largefile" >&6
21460 if test "x$wx_largefile" = "xyes"; then
21461 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21462 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21464 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21465 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21466 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21467 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21468 echo $ECHO_N "(cached) $ECHO_C" >&6
21472 ac_cpp
='$CXXCPP $CPPFLAGS'
21473 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21474 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21475 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21477 cat >conftest.
$ac_ext <<_ACEOF
21480 cat confdefs.h
>>conftest.
$ac_ext
21481 cat >>conftest.
$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21488 #ifndef __STDC_EXT__
21496 rm -f conftest.
$ac_objext
21497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21498 (eval $ac_compile) 2>conftest.er1
21500 grep -v '^ *+' conftest.er1
>conftest.err
21502 cat conftest.err
>&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try
='test -z "$ac_cxx_werror_flag"
21506 || test ! -s conftest.err'
21507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21508 (eval $ac_try) 2>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); }; } &&
21512 { ac_try
='test -s conftest.$ac_objext'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 wx_cv_STDC_EXT_required
=no
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.
$ac_ext >&5
21523 wx_cv_STDC_EXT_required
=yes
21526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21528 ac_cpp
='$CPP $CPPFLAGS'
21529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21536 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21537 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21538 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21539 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21543 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21545 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21546 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21547 if test "${ac_cv_sys_largefile_source+set}" = set; then
21548 echo $ECHO_N "(cached) $ECHO_C" >&6
21551 ac_cv_sys_largefile_source
=no
21552 cat >conftest.
$ac_ext <<_ACEOF
21555 cat confdefs.h
>>conftest.
$ac_ext
21556 cat >>conftest.
$ac_ext <<_ACEOF
21557 /* end confdefs.h. */
21567 rm -f conftest.
$ac_objext
21568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21569 (eval $ac_compile) 2>conftest.er1
21571 grep -v '^ *+' conftest.er1
>conftest.err
21573 cat conftest.err
>&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } &&
21576 { ac_try
='test -z "$ac_c_werror_flag"
21577 || test ! -s conftest.err'
21578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21579 (eval $ac_try) 2>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); }; } &&
21583 { ac_try
='test -s conftest.$ac_objext'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; }; then
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.
$ac_ext >&5
21595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21596 cat >conftest.
$ac_ext <<_ACEOF
21599 cat confdefs.h
>>conftest.
$ac_ext
21600 cat >>conftest.
$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21602 #define _LARGEFILE_SOURCE 1
21612 rm -f conftest.
$ac_objext
21613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21614 (eval $ac_compile) 2>conftest.er1
21616 grep -v '^ *+' conftest.er1
>conftest.err
21618 cat conftest.err
>&5
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); } &&
21621 { ac_try
='test -z "$ac_c_werror_flag"
21622 || test ! -s conftest.err'
21623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21624 (eval $ac_try) 2>&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); }; } &&
21628 { ac_try
='test -s conftest.$ac_objext'
21629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21630 (eval $ac_try) 2>&5
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); }; }; then
21634 ac_cv_sys_largefile_source
=1; break
21636 echo "$as_me: failed program was:" >&5
21637 sed 's/^/| /' conftest.
$ac_ext >&5
21640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21644 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21645 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21646 if test "$ac_cv_sys_largefile_source" != no
; then
21648 cat >>confdefs.h
<<_ACEOF
21649 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21655 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21656 # in glibc 2.1.3, but that breaks too many other things.
21657 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21658 echo "$as_me:$LINENO: checking for fseeko" >&5
21659 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21660 if test "${ac_cv_func_fseeko+set}" = set; then
21661 echo $ECHO_N "(cached) $ECHO_C" >&6
21663 cat >conftest.
$ac_ext <<_ACEOF
21666 cat confdefs.h
>>conftest.
$ac_ext
21667 cat >>conftest.
$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21673 return fseeko && fseeko (stdin, 0, 0);
21678 rm -f conftest.
$ac_objext conftest
$ac_exeext
21679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21680 (eval $ac_link) 2>conftest.er1
21682 grep -v '^ *+' conftest.er1
>conftest.err
21684 cat conftest.err
>&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); } &&
21687 { ac_try
='test -z "$ac_c_werror_flag"
21688 || test ! -s conftest.err'
21689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690 (eval $ac_try) 2>&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; } &&
21694 { ac_try
='test -s conftest$ac_exeext'
21695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21696 (eval $ac_try) 2>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); }; }; then
21700 ac_cv_func_fseeko
=yes
21702 echo "$as_me: failed program was:" >&5
21703 sed 's/^/| /' conftest.
$ac_ext >&5
21705 ac_cv_func_fseeko
=no
21707 rm -f conftest.err conftest.
$ac_objext \
21708 conftest
$ac_exeext conftest.
$ac_ext
21710 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21711 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21712 if test $ac_cv_func_fseeko = yes; then
21714 cat >>confdefs.h
<<\_ACEOF
21715 #define HAVE_FSEEKO 1
21720 if test "$ac_cv_sys_largefile_source" != no
; then
21721 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21725 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21726 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21727 if test "${ac_cv_c_bigendian+set}" = set; then
21728 echo $ECHO_N "(cached) $ECHO_C" >&6
21730 ac_cv_c_bigendian
=unknown
21731 # See if sys/param.h defines the BYTE_ORDER macro.
21732 cat >conftest.
$ac_ext <<_ACEOF
21735 cat confdefs.h
>>conftest.
$ac_ext
21736 cat >>conftest.
$ac_ext <<_ACEOF
21737 /* end confdefs.h. */
21738 #include <sys/types.h>
21739 #include <sys/param.h>
21744 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21745 bogus endian macros
21751 rm -f conftest.
$ac_objext
21752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21753 (eval $ac_compile) 2>conftest.er1
21755 grep -v '^ *+' conftest.er1
>conftest.err
21757 cat conftest.err
>&5
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); } &&
21760 { ac_try
='test -z "$ac_c_werror_flag"
21761 || test ! -s conftest.err'
21762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21763 (eval $ac_try) 2>&5
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); }; } &&
21767 { ac_try
='test -s conftest.$ac_objext'
21768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21769 (eval $ac_try) 2>&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); }; }; then
21773 # It does; now see whether it defined to BIG_ENDIAN or not.
21774 cat >conftest.
$ac_ext <<_ACEOF
21777 cat confdefs.h
>>conftest.
$ac_ext
21778 cat >>conftest.
$ac_ext <<_ACEOF
21779 /* end confdefs.h. */
21780 #include <sys/types.h>
21781 #include <sys/param.h>
21786 #if BYTE_ORDER != BIG_ENDIAN
21793 rm -f conftest.
$ac_objext
21794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21795 (eval $ac_compile) 2>conftest.er1
21797 grep -v '^ *+' conftest.er1
>conftest.err
21799 cat conftest.err
>&5
21800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801 (exit $ac_status); } &&
21802 { ac_try
='test -z "$ac_c_werror_flag"
21803 || test ! -s conftest.err'
21804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21805 (eval $ac_try) 2>&5
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); }; } &&
21809 { ac_try
='test -s conftest.$ac_objext'
21810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21811 (eval $ac_try) 2>&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); }; }; then
21815 ac_cv_c_bigendian
=yes
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.
$ac_ext >&5
21820 ac_cv_c_bigendian
=no
21822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21824 echo "$as_me: failed program was:" >&5
21825 sed 's/^/| /' conftest.
$ac_ext >&5
21828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21829 if test $ac_cv_c_bigendian = unknown
; then
21830 if test "$cross_compiling" = yes; then
21831 ac_cv_c_bigendian
=unknown
21833 cat >conftest.
$ac_ext <<_ACEOF
21836 cat confdefs.h
>>conftest.
$ac_ext
21837 cat >>conftest.
$ac_ext <<_ACEOF
21838 /* end confdefs.h. */
21840 /* Are we little or big endian? From Harbison&Steele. */
21844 char c[sizeof (long)];
21847 exit (u.c[sizeof (long) - 1] == 1);
21850 rm -f conftest
$ac_exeext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21852 (eval $ac_link) 2>&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21857 (eval $ac_try) 2>&5
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); }; }; then
21861 ac_cv_c_bigendian
=no
21863 echo "$as_me: program exited with status $ac_status" >&5
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.
$ac_ext >&5
21867 ( exit $ac_status )
21868 ac_cv_c_bigendian
=yes
21870 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21874 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21875 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21876 if test $ac_cv_c_bigendian = unknown
; then
21877 { 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
21878 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;}
21880 if test $ac_cv_c_bigendian = yes; then
21881 cat >>confdefs.h
<<\_ACEOF
21882 #define WORDS_BIGENDIAN 1
21889 ac_cpp
='$CXXCPP $CPPFLAGS'
21890 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21891 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21893 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21894 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21895 if test -z "$CXXCPP"; then
21896 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21897 echo $ECHO_N "(cached) $ECHO_C" >&6
21899 # Double quotes because CXXCPP needs to be expanded
21900 for CXXCPP
in "$CXX -E" "/lib/cpp"
21902 ac_preproc_ok
=false
21903 for ac_cxx_preproc_warn_flag
in '' yes
21905 # Use a header file that comes with gcc, so configuring glibc
21906 # with a fresh cross-compiler works.
21907 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21908 # <limits.h> exists even on freestanding compilers.
21909 # On the NeXT, cc -E runs the code through the compiler's parser,
21910 # not just through cpp. "Syntax error" is here to catch this case.
21911 cat >conftest.
$ac_ext <<_ACEOF
21914 cat confdefs.h
>>conftest.
$ac_ext
21915 cat >>conftest.
$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21918 # include <limits.h>
21920 # include <assert.h>
21924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21925 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21927 grep -v '^ *+' conftest.er1
>conftest.err
21929 cat conftest.err
>&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); } >/dev
/null
; then
21932 if test -s conftest.err
; then
21933 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21934 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21941 if test -z "$ac_cpp_err"; then
21944 echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.
$ac_ext >&5
21947 # Broken: fails on valid input.
21950 rm -f conftest.err conftest.
$ac_ext
21952 # OK, works on sane cases. Now check whether non-existent headers
21953 # can be detected and how.
21954 cat >conftest.
$ac_ext <<_ACEOF
21957 cat confdefs.h
>>conftest.
$ac_ext
21958 cat >>conftest.
$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 #include <ac_nonexistent.h>
21962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21965 grep -v '^ *+' conftest.er1
>conftest.err
21967 cat conftest.err
>&5
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); } >/dev
/null
; then
21970 if test -s conftest.err
; then
21971 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21972 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21979 if test -z "$ac_cpp_err"; then
21980 # Broken: success on invalid input.
21983 echo "$as_me: failed program was:" >&5
21984 sed 's/^/| /' conftest.
$ac_ext >&5
21986 # Passes both tests.
21990 rm -f conftest.err conftest.
$ac_ext
21993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21994 rm -f conftest.err conftest.
$ac_ext
21995 if $ac_preproc_ok; then
22000 ac_cv_prog_CXXCPP
=$CXXCPP
22003 CXXCPP
=$ac_cv_prog_CXXCPP
22005 ac_cv_prog_CXXCPP
=$CXXCPP
22007 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22008 echo "${ECHO_T}$CXXCPP" >&6
22009 ac_preproc_ok
=false
22010 for ac_cxx_preproc_warn_flag
in '' yes
22012 # Use a header file that comes with gcc, so configuring glibc
22013 # with a fresh cross-compiler works.
22014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22015 # <limits.h> exists even on freestanding compilers.
22016 # On the NeXT, cc -E runs the code through the compiler's parser,
22017 # not just through cpp. "Syntax error" is here to catch this case.
22018 cat >conftest.
$ac_ext <<_ACEOF
22021 cat confdefs.h
>>conftest.
$ac_ext
22022 cat >>conftest.
$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22025 # include <limits.h>
22027 # include <assert.h>
22031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22034 grep -v '^ *+' conftest.er1
>conftest.err
22036 cat conftest.err
>&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); } >/dev
/null
; then
22039 if test -s conftest.err
; then
22040 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22041 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22048 if test -z "$ac_cpp_err"; then
22051 echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.
$ac_ext >&5
22054 # Broken: fails on valid input.
22057 rm -f conftest.err conftest.
$ac_ext
22059 # OK, works on sane cases. Now check whether non-existent headers
22060 # can be detected and how.
22061 cat >conftest.
$ac_ext <<_ACEOF
22064 cat confdefs.h
>>conftest.
$ac_ext
22065 cat >>conftest.
$ac_ext <<_ACEOF
22066 /* end confdefs.h. */
22067 #include <ac_nonexistent.h>
22069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22070 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22072 grep -v '^ *+' conftest.er1
>conftest.err
22074 cat conftest.err
>&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } >/dev
/null
; then
22077 if test -s conftest.err
; then
22078 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22079 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22086 if test -z "$ac_cpp_err"; then
22087 # Broken: success on invalid input.
22090 echo "$as_me: failed program was:" >&5
22091 sed 's/^/| /' conftest.
$ac_ext >&5
22093 # Passes both tests.
22097 rm -f conftest.err conftest.
$ac_ext
22100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22101 rm -f conftest.err conftest.
$ac_ext
22102 if $ac_preproc_ok; then
22105 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22106 See \`config.log' for more details." >&5
22107 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22108 See \`config.log' for more details." >&2;}
22109 { (exit 1); exit 1; }; }
22113 ac_cpp
='$CXXCPP $CPPFLAGS'
22114 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22115 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22116 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22123 ac_cpp
='$CXXCPP $CPPFLAGS'
22124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22130 for ac_header
in iostream
22132 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22134 echo "$as_me:$LINENO: checking for $ac_header" >&5
22135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22137 echo $ECHO_N "(cached) $ECHO_C" >&6
22139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22142 # Is the header compilable?
22143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22145 cat >conftest.
$ac_ext <<_ACEOF
22148 cat confdefs.h
>>conftest.
$ac_ext
22149 cat >>conftest.
$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22151 $ac_includes_default
22152 #include <$ac_header>
22154 rm -f conftest.
$ac_objext
22155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22156 (eval $ac_compile) 2>conftest.er1
22158 grep -v '^ *+' conftest.er1
>conftest.err
22160 cat conftest.err
>&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); } &&
22163 { ac_try
='test -z "$ac_cxx_werror_flag"
22164 || test ! -s conftest.err'
22165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22166 (eval $ac_try) 2>&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); }; } &&
22170 { ac_try
='test -s conftest.$ac_objext'
22171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22172 (eval $ac_try) 2>&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; }; then
22176 ac_header_compiler
=yes
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.
$ac_ext >&5
22181 ac_header_compiler
=no
22183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22185 echo "${ECHO_T}$ac_header_compiler" >&6
22187 # Is the header present?
22188 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22190 cat >conftest.
$ac_ext <<_ACEOF
22193 cat confdefs.h
>>conftest.
$ac_ext
22194 cat >>conftest.
$ac_ext <<_ACEOF
22195 /* end confdefs.h. */
22196 #include <$ac_header>
22198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22199 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22201 grep -v '^ *+' conftest.er1
>conftest.err
22203 cat conftest.err
>&5
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); } >/dev
/null
; then
22206 if test -s conftest.err
; then
22207 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22208 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22215 if test -z "$ac_cpp_err"; then
22216 ac_header_preproc
=yes
22218 echo "$as_me: failed program was:" >&5
22219 sed 's/^/| /' conftest.
$ac_ext >&5
22221 ac_header_preproc
=no
22223 rm -f conftest.err conftest.
$ac_ext
22224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22225 echo "${ECHO_T}$ac_header_preproc" >&6
22227 # So? What about this header?
22228 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22234 ac_header_preproc
=yes
22237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22241 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22243 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22244 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22247 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22251 ## ----------------------------------------- ##
22252 ## Report this to wx-dev@lists.wxwidgets.org ##
22253 ## ----------------------------------------- ##
22256 sed "s/^/$as_me: WARNING: /" >&2
22259 echo "$as_me:$LINENO: checking for $ac_header" >&5
22260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22264 eval "$as_ac_Header=\$ac_header_preproc"
22266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22271 cat >>confdefs.h
<<_ACEOF
22272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22280 if test "$ac_cv_header_iostream" = "yes" ; then
22283 cat >>confdefs.h
<<\_ACEOF
22284 #define wxUSE_IOSTREAMH 1
22290 ac_cpp
='$CPP $CPPFLAGS'
22291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22298 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22299 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22300 if test "${wx_cv_cpp_bool+set}" = set; then
22301 echo $ECHO_N "(cached) $ECHO_C" >&6
22307 ac_cpp
='$CXXCPP $CPPFLAGS'
22308 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22309 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22310 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22313 cat >conftest.
$ac_ext <<_ACEOF
22316 cat confdefs.h
>>conftest.
$ac_ext
22317 cat >>conftest.
$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22333 rm -f conftest.
$ac_objext
22334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22335 (eval $ac_compile) 2>conftest.er1
22337 grep -v '^ *+' conftest.er1
>conftest.err
22339 cat conftest.err
>&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); } &&
22342 { ac_try
='test -z "$ac_cxx_werror_flag"
22343 || 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
22359 echo "$as_me: failed program was:" >&5
22360 sed 's/^/| /' conftest.
$ac_ext >&5
22367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22370 ac_cpp
='$CPP $CPPFLAGS'
22371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22377 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22378 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22380 if test "$wx_cv_cpp_bool" = "yes"; then
22381 cat >>confdefs.h
<<\_ACEOF
22382 #define HAVE_BOOL 1
22389 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22390 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22391 if test "${wx_cv_explicit+set}" = set; then
22392 echo $ECHO_N "(cached) $ECHO_C" >&6
22398 ac_cpp
='$CXXCPP $CPPFLAGS'
22399 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22400 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22401 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22404 cat >conftest.
$ac_ext <<_ACEOF
22407 cat confdefs.h
>>conftest.
$ac_ext
22408 cat >>conftest.
$ac_ext <<_ACEOF
22409 /* end confdefs.h. */
22411 class Foo { public: explicit Foo(int) {} };
22423 rm -f conftest.
$ac_objext
22424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22425 (eval $ac_compile) 2>conftest.er1
22427 grep -v '^ *+' conftest.er1
>conftest.err
22429 cat conftest.err
>&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } &&
22432 { ac_try
='test -z "$ac_cxx_werror_flag"
22433 || test ! -s conftest.err'
22434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22435 (eval $ac_try) 2>&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); }; } &&
22439 { ac_try
='test -s conftest.$ac_objext'
22440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22441 (eval $ac_try) 2>&5
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); }; }; then
22446 cat >conftest.
$ac_ext <<_ACEOF
22449 cat confdefs.h
>>conftest.
$ac_ext
22450 cat >>conftest.
$ac_ext <<_ACEOF
22451 /* end confdefs.h. */
22453 class Foo { public: explicit Foo(int) {} };
22454 static void TakeFoo(const Foo& foo) { }
22467 rm -f conftest.
$ac_objext
22468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22469 (eval $ac_compile) 2>conftest.er1
22471 grep -v '^ *+' conftest.er1
>conftest.err
22473 cat conftest.err
>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } &&
22476 { ac_try
='test -z "$ac_cxx_werror_flag"
22477 || test ! -s conftest.err'
22478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22479 (eval $ac_try) 2>&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); }; } &&
22483 { ac_try
='test -s conftest.$ac_objext'
22484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22485 (eval $ac_try) 2>&5
22487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22488 (exit $ac_status); }; }; then
22491 echo "$as_me: failed program was:" >&5
22492 sed 's/^/| /' conftest.
$ac_ext >&5
22497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.
$ac_ext >&5
22506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22509 ac_cpp
='$CPP $CPPFLAGS'
22510 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22516 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22517 echo "${ECHO_T}$wx_cv_explicit" >&6
22519 if test "$wx_cv_explicit" = "yes"; then
22520 cat >>confdefs.h
<<\_ACEOF
22521 #define HAVE_EXPLICIT 1
22527 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22528 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22529 if test "${ac_cv_cxx_const_cast+set}" = set; then
22530 echo $ECHO_N "(cached) $ECHO_C" >&6
22535 ac_cpp
='$CXXCPP $CPPFLAGS'
22536 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22537 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22538 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22540 cat >conftest.
$ac_ext <<_ACEOF
22543 cat confdefs.h
>>conftest.
$ac_ext
22544 cat >>conftest.
$ac_ext <<_ACEOF
22545 /* end confdefs.h. */
22550 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22555 rm -f conftest.
$ac_objext
22556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22557 (eval $ac_compile) 2>conftest.er1
22559 grep -v '^ *+' conftest.er1
>conftest.err
22561 cat conftest.err
>&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); } &&
22564 { ac_try
='test -z "$ac_cxx_werror_flag"
22565 || test ! -s conftest.err'
22566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22567 (eval $ac_try) 2>&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }; } &&
22571 { ac_try
='test -s conftest.$ac_objext'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; }; then
22577 ac_cv_cxx_const_cast
=yes
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.
$ac_ext >&5
22582 ac_cv_cxx_const_cast
=no
22584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22586 ac_cpp
='$CPP $CPPFLAGS'
22587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22593 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22594 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22595 if test "$ac_cv_cxx_const_cast" = yes; then
22597 cat >>confdefs.h
<<\_ACEOF
22598 #define HAVE_CONST_CAST
22603 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22604 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22605 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22606 echo $ECHO_N "(cached) $ECHO_C" >&6
22611 ac_cpp
='$CXXCPP $CPPFLAGS'
22612 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22613 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22614 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22616 cat >conftest.
$ac_ext <<_ACEOF
22619 cat confdefs.h
>>conftest.
$ac_ext
22620 cat >>conftest.
$ac_ext <<_ACEOF
22621 /* end confdefs.h. */
22622 #include <typeinfo>
22623 class Base { public : Base () {} virtual void f () = 0;};
22624 class Derived : public Base { public : Derived () {} virtual void f () {} };
22625 class Unrelated { public : Unrelated () {} };
22626 int g (Unrelated&) { return 0; }
22631 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22636 rm -f conftest.
$ac_objext
22637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22638 (eval $ac_compile) 2>conftest.er1
22640 grep -v '^ *+' conftest.er1
>conftest.err
22642 cat conftest.err
>&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); } &&
22645 { ac_try
='test -z "$ac_cxx_werror_flag"
22646 || test ! -s conftest.err'
22647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22648 (eval $ac_try) 2>&5
22650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 (exit $ac_status); }; } &&
22652 { ac_try
='test -s conftest.$ac_objext'
22653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22654 (eval $ac_try) 2>&5
22656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22657 (exit $ac_status); }; }; then
22658 ac_cv_cxx_reinterpret_cast
=yes
22660 echo "$as_me: failed program was:" >&5
22661 sed 's/^/| /' conftest.
$ac_ext >&5
22663 ac_cv_cxx_reinterpret_cast
=no
22665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22667 ac_cpp
='$CPP $CPPFLAGS'
22668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22674 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22675 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22676 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22678 cat >>confdefs.h
<<\_ACEOF
22679 #define HAVE_REINTERPRET_CAST
22684 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22685 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22686 if test "${ac_cv_cxx_static_cast+set}" = set; then
22687 echo $ECHO_N "(cached) $ECHO_C" >&6
22692 ac_cpp
='$CXXCPP $CPPFLAGS'
22693 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22694 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22695 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22697 cat >conftest.
$ac_ext <<_ACEOF
22700 cat confdefs.h
>>conftest.
$ac_ext
22701 cat >>conftest.
$ac_ext <<_ACEOF
22702 /* end confdefs.h. */
22703 #include <typeinfo>
22704 class Base { public : Base () {} virtual void f () = 0; };
22705 class Derived : public Base { public : Derived () {} virtual void f () {} };
22706 int g (Derived&) { return 0; }
22711 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22716 rm -f conftest.
$ac_objext
22717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22718 (eval $ac_compile) 2>conftest.er1
22720 grep -v '^ *+' conftest.er1
>conftest.err
22722 cat conftest.err
>&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); } &&
22725 { ac_try
='test -z "$ac_cxx_werror_flag"
22726 || test ! -s conftest.err'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; } &&
22732 { ac_try
='test -s conftest.$ac_objext'
22733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22734 (eval $ac_try) 2>&5
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; }; then
22738 ac_cv_cxx_static_cast
=yes
22740 echo "$as_me: failed program was:" >&5
22741 sed 's/^/| /' conftest.
$ac_ext >&5
22743 ac_cv_cxx_static_cast
=no
22745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22747 ac_cpp
='$CPP $CPPFLAGS'
22748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22754 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22755 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22756 if test "$ac_cv_cxx_static_cast" = yes; then
22758 cat >>confdefs.h
<<\_ACEOF
22759 #define HAVE_STATIC_CAST
22765 if test "x$SUNCXX" = xyes
; then
22766 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22769 if test "x$SUNCC" = xyes
; then
22770 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22773 if test "x$SGICC" = "xyes"; then
22774 CFLAGS
="-woff 3970 $CFLAGS"
22776 if test "x$SGICXX" = "xyes"; then
22777 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22780 if test "x$HPCC" = "xyes"; then
22781 CFLAGS
="+W 2011,2450 $CFLAGS"
22783 if test "x$HPCXX" = "xyes"; then
22784 CXXFLAGS
="+W 2340 $CXXFLAGS"
22787 if test "x$COMPAQCXX" = "xyes"; then
22788 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22791 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22793 ac_cpp
='$CXXCPP $CPPFLAGS'
22794 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22795 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22796 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22799 if test "$wxUSE_UNICODE" = "yes"; then
22800 std_string
="std::wstring"
22801 char_type
="wchar_t"
22803 std_string
="std::string"
22807 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22808 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22809 cat >conftest.
$ac_ext <<_ACEOF
22812 cat confdefs.h
>>conftest.
$ac_ext
22813 cat >>conftest.
$ac_ext <<_ACEOF
22814 /* end confdefs.h. */
22824 rm -f conftest.
$ac_objext
22825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22826 (eval $ac_compile) 2>conftest.er1
22828 grep -v '^ *+' conftest.er1
>conftest.err
22830 cat conftest.err
>&5
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); } &&
22833 { ac_try
='test -z "$ac_cxx_werror_flag"
22834 || test ! -s conftest.err'
22835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22836 (eval $ac_try) 2>&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); }; } &&
22840 { ac_try
='test -s conftest.$ac_objext'
22841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22842 (eval $ac_try) 2>&5
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); }; }; then
22846 echo "$as_me:$LINENO: result: yes" >&5
22847 echo "${ECHO_T}yes" >&6
22848 cat >>confdefs.h
<<\_ACEOF
22849 #define HAVE_STD_WSTRING 1
22853 echo "$as_me: failed program was:" >&5
22854 sed 's/^/| /' conftest.
$ac_ext >&5
22856 echo "$as_me:$LINENO: result: no" >&5
22857 echo "${ECHO_T}no" >&6
22858 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22859 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22860 cat >conftest.
$ac_ext <<_ACEOF
22863 cat confdefs.h
>>conftest.
$ac_ext
22864 cat >>conftest.
$ac_ext <<_ACEOF
22865 /* end confdefs.h. */
22867 #ifdef HAVE_WCHAR_H
22869 # include <stddef.h>
22871 # include <wchar.h>
22873 #ifdef HAVE_STDLIB_H
22874 # include <stdlib.h>
22882 std::basic_string<$char_type> foo;
22883 const $char_type* dummy = foo.c_str();
22888 rm -f conftest.
$ac_objext
22889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22890 (eval $ac_compile) 2>conftest.er1
22892 grep -v '^ *+' conftest.er1
>conftest.err
22894 cat conftest.err
>&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } &&
22897 { ac_try
='test -z "$ac_cxx_werror_flag"
22898 || test ! -s conftest.err'
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); }; } &&
22904 { ac_try
='test -s conftest.$ac_objext'
22905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22906 (eval $ac_try) 2>&5
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); }; }; then
22910 echo "$as_me:$LINENO: result: yes" >&5
22911 echo "${ECHO_T}yes" >&6
22913 echo "$as_me: failed program was:" >&5
22914 sed 's/^/| /' conftest.
$ac_ext >&5
22916 echo "$as_me:$LINENO: result: no" >&5
22917 echo "${ECHO_T}no" >&6
22918 if test "$wxUSE_STL" = "yes"; then
22919 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22920 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22921 { (exit 1); exit 1; }; }
22922 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22923 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22924 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22925 { (exit 1); exit 1; }; }
22927 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22928 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22929 wxUSE_STD_STRING
=no
22934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22940 ac_cpp
='$CPP $CPPFLAGS'
22941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22947 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22949 ac_cpp
='$CXXCPP $CPPFLAGS'
22950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22955 echo "$as_me:$LINENO: checking for std::istream" >&5
22956 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22957 if test "${ac_cv_type_std__istream+set}" = set; then
22958 echo $ECHO_N "(cached) $ECHO_C" >&6
22960 cat >conftest.
$ac_ext <<_ACEOF
22963 cat confdefs.h
>>conftest.
$ac_ext
22964 cat >>conftest.
$ac_ext <<_ACEOF
22965 /* end confdefs.h. */
22966 #include <iostream>
22971 if ((std::istream *) 0)
22973 if (sizeof (std::istream))
22979 rm -f conftest.
$ac_objext
22980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22981 (eval $ac_compile) 2>conftest.er1
22983 grep -v '^ *+' conftest.er1
>conftest.err
22985 cat conftest.err
>&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); } &&
22988 { ac_try
='test -z "$ac_cxx_werror_flag"
22989 || test ! -s conftest.err'
22990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22991 (eval $ac_try) 2>&5
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; } &&
22995 { ac_try
='test -s conftest.$ac_objext'
22996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22997 (eval $ac_try) 2>&5
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; }; then
23001 ac_cv_type_std__istream
=yes
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.
$ac_ext >&5
23006 ac_cv_type_std__istream
=no
23008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23010 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23011 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23012 if test $ac_cv_type_std__istream = yes; then
23014 cat >>confdefs.h
<<_ACEOF
23015 #define HAVE_STD__ISTREAM 1
23020 wxUSE_STD_IOSTREAM
=no
23022 echo "$as_me:$LINENO: checking for std::ostream" >&5
23023 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23024 if test "${ac_cv_type_std__ostream+set}" = set; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23027 cat >conftest.
$ac_ext <<_ACEOF
23030 cat confdefs.h
>>conftest.
$ac_ext
23031 cat >>conftest.
$ac_ext <<_ACEOF
23032 /* end confdefs.h. */
23033 #include <iostream>
23038 if ((std::ostream *) 0)
23040 if (sizeof (std::ostream))
23046 rm -f conftest.
$ac_objext
23047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23048 (eval $ac_compile) 2>conftest.er1
23050 grep -v '^ *+' conftest.er1
>conftest.err
23052 cat conftest.err
>&5
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); } &&
23055 { ac_try
='test -z "$ac_cxx_werror_flag"
23056 || test ! -s conftest.err'
23057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23058 (eval $ac_try) 2>&5
23060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23061 (exit $ac_status); }; } &&
23062 { ac_try
='test -s conftest.$ac_objext'
23063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23064 (eval $ac_try) 2>&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); }; }; then
23068 ac_cv_type_std__ostream
=yes
23070 echo "$as_me: failed program was:" >&5
23071 sed 's/^/| /' conftest.
$ac_ext >&5
23073 ac_cv_type_std__ostream
=no
23075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23077 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23078 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23079 if test $ac_cv_type_std__ostream = yes; then
23081 cat >>confdefs.h
<<_ACEOF
23082 #define HAVE_STD__OSTREAM 1
23087 wxUSE_STD_IOSTREAM
=no
23091 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23092 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23093 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23094 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23095 { (exit 1); exit 1; }; }
23097 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23098 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23103 ac_cpp
='$CPP $CPPFLAGS'
23104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23110 if test "$wxUSE_STL" = "yes"; then
23112 ac_cpp
='$CXXCPP $CPPFLAGS'
23113 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23114 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23115 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23118 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23119 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23120 cat >conftest.
$ac_ext <<_ACEOF
23123 cat confdefs.h
>>conftest.
$ac_ext
23124 cat >>conftest.
$ac_ext <<_ACEOF
23125 /* end confdefs.h. */
23127 #include <functional>
23128 #include <algorithm>
23134 std::vector<int> moo;
23135 std::list<int> foo;
23136 std::vector<int>::iterator it =
23137 std::find_if(moo.begin(), moo.end(),
23138 std::bind2nd(std::less<int>(), 3));
23143 rm -f conftest.
$ac_objext
23144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23145 (eval $ac_compile) 2>conftest.er1
23147 grep -v '^ *+' conftest.er1
>conftest.err
23149 cat conftest.err
>&5
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); } &&
23152 { ac_try
='test -z "$ac_cxx_werror_flag"
23153 || test ! -s conftest.err'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; } &&
23159 { ac_try
='test -s conftest.$ac_objext'
23160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23161 (eval $ac_try) 2>&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); }; }; then
23165 echo "$as_me:$LINENO: result: yes" >&5
23166 echo "${ECHO_T}yes" >&6
23168 echo "$as_me: failed program was:" >&5
23169 sed 's/^/| /' conftest.
$ac_ext >&5
23171 echo "$as_me:$LINENO: result: no" >&5
23172 echo "${ECHO_T}no" >&6
23173 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23174 echo "$as_me: error: Basic STL functionality missing" >&2;}
23175 { (exit 1); exit 1; }; }
23177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23179 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23180 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23181 cat >conftest.
$ac_ext <<_ACEOF
23184 cat confdefs.h
>>conftest.
$ac_ext
23185 cat >>conftest.
$ac_ext <<_ACEOF
23186 /* end confdefs.h. */
23191 std::string foo, bar;
23193 foo.compare(1, 1, bar);
23194 foo.compare(1, 1, bar, 1, 1);
23196 foo.compare(1, 1, "");
23197 foo.compare(1, 1, "", 2);
23202 rm -f conftest.
$ac_objext
23203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23204 (eval $ac_compile) 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); } &&
23211 { ac_try
='test -z "$ac_cxx_werror_flag"
23212 || test ! -s conftest.err'
23213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23214 (eval $ac_try) 2>&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); }; } &&
23218 { ac_try
='test -s conftest.$ac_objext'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; }; then
23224 echo "$as_me:$LINENO: result: yes" >&5
23225 echo "${ECHO_T}yes" >&6
23226 cat >>confdefs.h
<<\_ACEOF
23227 #define HAVE_STD_STRING_COMPARE 1
23231 echo "$as_me: failed program was:" >&5
23232 sed 's/^/| /' conftest.
$ac_ext >&5
23234 echo "$as_me:$LINENO: result: no" >&5
23235 echo "${ECHO_T}no" >&6
23237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23239 if test "${ac_cv_header_hash_map+set}" = set; then
23240 echo "$as_me:$LINENO: checking for hash_map" >&5
23241 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23242 if test "${ac_cv_header_hash_map+set}" = set; then
23243 echo $ECHO_N "(cached) $ECHO_C" >&6
23245 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23246 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23248 # Is the header compilable?
23249 echo "$as_me:$LINENO: checking hash_map usability" >&5
23250 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23251 cat >conftest.
$ac_ext <<_ACEOF
23254 cat confdefs.h
>>conftest.
$ac_ext
23255 cat >>conftest.
$ac_ext <<_ACEOF
23256 /* end confdefs.h. */
23257 $ac_includes_default
23258 #include <hash_map>
23260 rm -f conftest.
$ac_objext
23261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23262 (eval $ac_compile) 2>conftest.er1
23264 grep -v '^ *+' conftest.er1
>conftest.err
23266 cat conftest.err
>&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } &&
23269 { ac_try
='test -z "$ac_cxx_werror_flag"
23270 || test ! -s conftest.err'
23271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23272 (eval $ac_try) 2>&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); }; } &&
23276 { ac_try
='test -s conftest.$ac_objext'
23277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278 (eval $ac_try) 2>&5
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; }; then
23282 ac_header_compiler
=yes
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.
$ac_ext >&5
23287 ac_header_compiler
=no
23289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23291 echo "${ECHO_T}$ac_header_compiler" >&6
23293 # Is the header present?
23294 echo "$as_me:$LINENO: checking hash_map presence" >&5
23295 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23296 cat >conftest.
$ac_ext <<_ACEOF
23299 cat confdefs.h
>>conftest.
$ac_ext
23300 cat >>conftest.
$ac_ext <<_ACEOF
23301 /* end confdefs.h. */
23302 #include <hash_map>
23304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23305 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23307 grep -v '^ *+' conftest.er1
>conftest.err
23309 cat conftest.err
>&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } >/dev
/null
; then
23312 if test -s conftest.err
; then
23313 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23314 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23321 if test -z "$ac_cpp_err"; then
23322 ac_header_preproc
=yes
23324 echo "$as_me: failed program was:" >&5
23325 sed 's/^/| /' conftest.
$ac_ext >&5
23327 ac_header_preproc
=no
23329 rm -f conftest.err conftest.
$ac_ext
23330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23331 echo "${ECHO_T}$ac_header_preproc" >&6
23333 # So? What about this header?
23334 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23336 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23337 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23338 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23339 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23340 ac_header_preproc
=yes
23343 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23344 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23345 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23346 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23347 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23348 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23349 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23350 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23351 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23352 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23353 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23354 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23357 ## ----------------------------------------- ##
23358 ## Report this to wx-dev@lists.wxwidgets.org ##
23359 ## ----------------------------------------- ##
23362 sed "s/^/$as_me: WARNING: /" >&2
23365 echo "$as_me:$LINENO: checking for hash_map" >&5
23366 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23367 if test "${ac_cv_header_hash_map+set}" = set; then
23368 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 ac_cv_header_hash_map
=$ac_header_preproc
23372 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23373 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23376 if test $ac_cv_header_hash_map = yes; then
23377 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23378 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23379 cat >conftest.
$ac_ext <<_ACEOF
23382 cat confdefs.h
>>conftest.
$ac_ext
23383 cat >>conftest.
$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23385 #include <hash_map>
23386 #include <hash_set>
23390 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23391 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23396 rm -f conftest.
$ac_objext
23397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23398 (eval $ac_compile) 2>conftest.er1
23400 grep -v '^ *+' conftest.er1
>conftest.err
23402 cat conftest.err
>&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } &&
23405 { ac_try
='test -z "$ac_cxx_werror_flag"
23406 || test ! -s conftest.err'
23407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408 (eval $ac_try) 2>&5
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; } &&
23412 { ac_try
='test -s conftest.$ac_objext'
23413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23414 (eval $ac_try) 2>&5
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); }; }; then
23418 echo "$as_me:$LINENO: result: yes" >&5
23419 echo "${ECHO_T}yes" >&6
23420 cat >>confdefs.h
<<\_ACEOF
23421 #define HAVE_HASH_MAP 1
23424 cat >>confdefs.h
<<\_ACEOF
23425 #define HAVE_STD_HASH_MAP 1
23429 echo "$as_me: failed program was:" >&5
23430 sed 's/^/| /' conftest.
$ac_ext >&5
23432 echo "$as_me:$LINENO: result: no" >&5
23433 echo "${ECHO_T}no" >&6
23435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23441 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23442 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23443 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23444 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23445 echo $ECHO_N "(cached) $ECHO_C" >&6
23447 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23448 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23450 # Is the header compilable?
23451 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23452 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23453 cat >conftest.
$ac_ext <<_ACEOF
23456 cat confdefs.h
>>conftest.
$ac_ext
23457 cat >>conftest.
$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23459 $ac_includes_default
23460 #include <ext/hash_map>
23462 rm -f conftest.
$ac_objext
23463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23464 (eval $ac_compile) 2>conftest.er1
23466 grep -v '^ *+' conftest.er1
>conftest.err
23468 cat conftest.err
>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); } &&
23471 { ac_try
='test -z "$ac_cxx_werror_flag"
23472 || test ! -s conftest.err'
23473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23474 (eval $ac_try) 2>&5
23476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23477 (exit $ac_status); }; } &&
23478 { ac_try
='test -s conftest.$ac_objext'
23479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23480 (eval $ac_try) 2>&5
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); }; }; then
23484 ac_header_compiler
=yes
23486 echo "$as_me: failed program was:" >&5
23487 sed 's/^/| /' conftest.
$ac_ext >&5
23489 ac_header_compiler
=no
23491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23493 echo "${ECHO_T}$ac_header_compiler" >&6
23495 # Is the header present?
23496 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23497 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23498 cat >conftest.
$ac_ext <<_ACEOF
23501 cat confdefs.h
>>conftest.
$ac_ext
23502 cat >>conftest.
$ac_ext <<_ACEOF
23503 /* end confdefs.h. */
23504 #include <ext/hash_map>
23506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23507 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23509 grep -v '^ *+' conftest.er1
>conftest.err
23511 cat conftest.err
>&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); } >/dev
/null
; then
23514 if test -s conftest.err
; then
23515 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23516 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23523 if test -z "$ac_cpp_err"; then
23524 ac_header_preproc
=yes
23526 echo "$as_me: failed program was:" >&5
23527 sed 's/^/| /' conftest.
$ac_ext >&5
23529 ac_header_preproc
=no
23531 rm -f conftest.err conftest.
$ac_ext
23532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23533 echo "${ECHO_T}$ac_header_preproc" >&6
23535 # So? What about this header?
23536 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23538 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23539 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23540 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23541 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23542 ac_header_preproc
=yes
23545 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23546 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23547 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23548 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23549 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23550 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23551 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23552 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23553 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23554 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23555 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23556 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23559 ## ----------------------------------------- ##
23560 ## Report this to wx-dev@lists.wxwidgets.org ##
23561 ## ----------------------------------------- ##
23564 sed "s/^/$as_me: WARNING: /" >&2
23567 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23568 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23569 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23570 echo $ECHO_N "(cached) $ECHO_C" >&6
23572 ac_cv_header_ext_hash_map
=$ac_header_preproc
23574 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23575 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23578 if test $ac_cv_header_ext_hash_map = yes; then
23579 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23580 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23581 cat >conftest.
$ac_ext <<_ACEOF
23584 cat confdefs.h
>>conftest.
$ac_ext
23585 cat >>conftest.
$ac_ext <<_ACEOF
23586 /* end confdefs.h. */
23587 #include <ext/hash_map>
23588 #include <ext/hash_set>
23592 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23593 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23598 rm -f conftest.
$ac_objext
23599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23600 (eval $ac_compile) 2>conftest.er1
23602 grep -v '^ *+' conftest.er1
>conftest.err
23604 cat conftest.err
>&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); } &&
23607 { ac_try
='test -z "$ac_cxx_werror_flag"
23608 || test ! -s conftest.err'
23609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23610 (eval $ac_try) 2>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; } &&
23614 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
23620 echo "$as_me:$LINENO: result: yes" >&5
23621 echo "${ECHO_T}yes" >&6
23622 cat >>confdefs.h
<<\_ACEOF
23623 #define HAVE_EXT_HASH_MAP 1
23626 cat >>confdefs.h
<<\_ACEOF
23627 #define HAVE_GNU_CXX_HASH_MAP 1
23631 echo "$as_me: failed program was:" >&5
23632 sed 's/^/| /' conftest.
$ac_ext >&5
23634 echo "$as_me:$LINENO: result: no" >&5
23635 echo "${ECHO_T}no" >&6
23637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23644 ac_cpp
='$CPP $CPPFLAGS'
23645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23653 /usr/local/include \
23655 /usr/Motif-2.1/include \
23656 /usr/Motif-1.2/include \
23657 /usr/include/Motif1.2 \
23660 /usr/openwin/include \
23664 /usr/X11R6/include \
23665 /usr/X11R6.4/include \
23666 /usr/X11R5/include \
23667 /usr/X11R4/include \
23669 /usr/include/X11R6 \
23670 /usr/include/X11R5 \
23671 /usr/include/X11R4 \
23673 /usr/local/X11R6/include \
23674 /usr/local/X11R5/include \
23675 /usr/local/X11R4/include \
23677 /usr/local/include/X11R6 \
23678 /usr/local/include/X11R5 \
23679 /usr/local/include/X11R4 \
23683 /usr/local/X11/include \
23684 /usr/local/include/X11 \
23686 /usr/XFree86/include/X11 \
23689 /usr/openwin/share/include"
23691 echo "$as_me:$LINENO: checking for libraries directory" >&5
23692 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23696 if test "${wx_cv_std_libpath+set}" = set; then
23697 echo $ECHO_N "(cached) $ECHO_C" >&6
23700 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23701 for e
in a so sl dylib dll.a
; do
23703 if test -f $libc; then
23706 cat >conftest.
$ac_ext <<_ACEOF
23707 int main() { return 0; }
23709 rm -f conftest.
$ac_objext conftest
$ac_exeext
23710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23711 (eval $ac_link) 2>conftest.er1
23713 grep -v '^ *+' conftest.er1
>conftest.err
23715 cat conftest.err
>&5
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); } &&
23718 { ac_try
='test -z "$ac_c_werror_flag"
23719 || test ! -s conftest.err'
23720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23721 (eval $ac_try) 2>&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); }; } &&
23725 { ac_try
='test -s conftest$ac_exeext'
23726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727 (eval $ac_try) 2>&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; }; then
23731 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.
$ac_ext >&5
23737 rm -f conftest.err conftest.
$ac_objext \
23738 conftest
$ac_exeext conftest.
$ac_ext
23740 if test "x$wx_cv_std_libpath" != "x"; then
23746 if test "x$wx_cv_std_libpath" = "x"; then
23747 wx_cv_std_libpath
="lib"
23756 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23757 wx_cv_std_libpath
="lib/64"
23759 wx_cv_std_libpath
="lib"
23764 if test "$ac_cv_sizeof_void_p" = 8 -a \
23765 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23766 wx_cv_std_libpath
="lib64"
23768 wx_cv_std_libpath
="lib"
23773 wx_cv_std_libpath
="lib";
23777 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23778 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23780 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23782 if test "$build" != "$host" -a "$GCC" = yes; then
23783 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23784 cross_root
=`dirname $cross_root`
23785 cross_root
=`dirname $cross_root`
23787 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23788 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23789 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23791 if test -z "$PKG_CONFIG_PATH"; then
23792 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23793 export PKG_CONFIG_PATH
23796 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23799 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23801 if test -f "$ac_dir/X11/Intrinsic.h"; then
23802 ac_find_includes
=$ac_dir
23807 x_includes
=$ac_find_includes
23809 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23812 for ac_dir
in $SEARCH_LIB;
23814 for ac_extension
in a so sl dylib dll.a
; do
23815 if test -f "$ac_dir/libXt.$ac_extension"; then
23816 ac_find_libraries
=$ac_dir
23822 x_libraries
=$ac_find_libraries
23828 cat >confcache
<<\_ACEOF
23829 # This file is a shell script that caches the results of configure
23830 # tests run on this system so they can be shared between configure
23831 # scripts and configure runs, see configure's option --config-cache.
23832 # It is not useful on other systems. If it contains results you don't
23833 # want to keep, you may remove or edit it.
23835 # config.status only pays attention to the cache file if you give it
23836 # the --recheck option to rerun configure.
23838 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23839 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23840 # following values.
23844 # The following way of writing the cache mishandles newlines in values,
23845 # but we know of no workaround that is simple, portable, and efficient.
23846 # So, don't put newlines in cache variables' values.
23847 # Ultrix sh set writes to stderr and can't be redirected directly,
23848 # and sets the high bit in the cache file unless we assign to the vars.
23851 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23853 # `set' does not quote correctly, so add quotes (double-quote
23854 # substitution turns \\\\ into \\, and sed turns \\ into \).
23857 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23860 # `set' quotes correctly as required by POSIX, so do not add quotes.
23862 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23869 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23871 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23873 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23874 if test -w $cache_file; then
23875 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23876 cat confcache
>$cache_file
23878 echo "not updating unwritable cache $cache_file"
23883 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23884 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23885 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23886 if test "${wx_cv_lib_glibc21+set}" = set; then
23887 echo $ECHO_N "(cached) $ECHO_C" >&6
23890 cat >conftest.
$ac_ext <<_ACEOF
23893 cat confdefs.h
>>conftest.
$ac_ext
23894 cat >>conftest.
$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23896 #include <features.h>
23901 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23909 rm -f conftest.
$ac_objext
23910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23911 (eval $ac_compile) 2>conftest.er1
23913 grep -v '^ *+' conftest.er1
>conftest.err
23915 cat conftest.err
>&5
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); } &&
23918 { ac_try
='test -z "$ac_c_werror_flag"
23919 || test ! -s conftest.err'
23920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23921 (eval $ac_try) 2>&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); }; } &&
23925 { ac_try
='test -s conftest.$ac_objext'
23926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23927 (eval $ac_try) 2>&5
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); }; }; then
23932 wx_cv_lib_glibc21
=yes
23935 echo "$as_me: failed program was:" >&5
23936 sed 's/^/| /' conftest.
$ac_ext >&5
23939 wx_cv_lib_glibc21
=no
23943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23946 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23947 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23948 if test "$wx_cv_lib_glibc21" = "yes"; then
23949 cat >>confdefs.h
<<\_ACEOF
23950 #define wxHAVE_GLIBC2 1
23956 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23957 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23958 cat >>confdefs.h
<<\_ACEOF
23959 #define _GNU_SOURCE 1
23967 if test "$wxUSE_REGEX" != "no"; then
23968 cat >>confdefs.h
<<\_ACEOF
23969 #define wxUSE_REGEX 1
23973 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23974 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23975 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23976 wxUSE_REGEX
=builtin
23979 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23980 if test "${ac_cv_header_regex_h+set}" = set; then
23981 echo "$as_me:$LINENO: checking for regex.h" >&5
23982 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23983 if test "${ac_cv_header_regex_h+set}" = set; then
23984 echo $ECHO_N "(cached) $ECHO_C" >&6
23986 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23987 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23989 # Is the header compilable?
23990 echo "$as_me:$LINENO: checking regex.h usability" >&5
23991 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23992 cat >conftest.
$ac_ext <<_ACEOF
23995 cat confdefs.h
>>conftest.
$ac_ext
23996 cat >>conftest.
$ac_ext <<_ACEOF
23997 /* end confdefs.h. */
23998 $ac_includes_default
24001 rm -f conftest.
$ac_objext
24002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24003 (eval $ac_compile) 2>conftest.er1
24005 grep -v '^ *+' conftest.er1
>conftest.err
24007 cat conftest.err
>&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); } &&
24010 { ac_try
='test -z "$ac_c_werror_flag"
24011 || test ! -s conftest.err'
24012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24013 (eval $ac_try) 2>&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); }; } &&
24017 { ac_try
='test -s conftest.$ac_objext'
24018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24019 (eval $ac_try) 2>&5
24021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 (exit $ac_status); }; }; then
24023 ac_header_compiler
=yes
24025 echo "$as_me: failed program was:" >&5
24026 sed 's/^/| /' conftest.
$ac_ext >&5
24028 ac_header_compiler
=no
24030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24032 echo "${ECHO_T}$ac_header_compiler" >&6
24034 # Is the header present?
24035 echo "$as_me:$LINENO: checking regex.h presence" >&5
24036 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24037 cat >conftest.
$ac_ext <<_ACEOF
24040 cat confdefs.h
>>conftest.
$ac_ext
24041 cat >>conftest.
$ac_ext <<_ACEOF
24042 /* end confdefs.h. */
24045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24046 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24048 grep -v '^ *+' conftest.er1
>conftest.err
24050 cat conftest.err
>&5
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); } >/dev
/null
; then
24053 if test -s conftest.err
; then
24054 ac_cpp_err
=$ac_c_preproc_warn_flag
24055 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24062 if test -z "$ac_cpp_err"; then
24063 ac_header_preproc
=yes
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.
$ac_ext >&5
24068 ac_header_preproc
=no
24070 rm -f conftest.err conftest.
$ac_ext
24071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24072 echo "${ECHO_T}$ac_header_preproc" >&6
24074 # So? What about this header?
24075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24077 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24078 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24079 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24080 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24081 ac_header_preproc
=yes
24084 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24085 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24086 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24087 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24088 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24089 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24090 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24091 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24092 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24093 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24094 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24095 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24098 ## ----------------------------------------- ##
24099 ## Report this to wx-dev@lists.wxwidgets.org ##
24100 ## ----------------------------------------- ##
24103 sed "s/^/$as_me: WARNING: /" >&2
24106 echo "$as_me:$LINENO: checking for regex.h" >&5
24107 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24108 if test "${ac_cv_header_regex_h+set}" = set; then
24109 echo $ECHO_N "(cached) $ECHO_C" >&6
24111 ac_cv_header_regex_h
=$ac_header_preproc
24113 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24114 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24117 if test $ac_cv_header_regex_h = yes; then
24120 for ac_func
in regcomp re_search
24122 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24123 echo "$as_me:$LINENO: checking for $ac_func" >&5
24124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24125 if eval "test \"\${$as_ac_var+set}\" = set"; then
24126 echo $ECHO_N "(cached) $ECHO_C" >&6
24128 cat >conftest.
$ac_ext <<_ACEOF
24131 cat confdefs.h
>>conftest.
$ac_ext
24132 cat >>conftest.
$ac_ext <<_ACEOF
24133 /* end confdefs.h. */
24134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24136 #define $ac_func innocuous_$ac_func
24138 /* System header to define __stub macros and hopefully few prototypes,
24139 which can conflict with char $ac_func (); below.
24140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24141 <limits.h> exists even on freestanding compilers. */
24144 # include <limits.h>
24146 # include <assert.h>
24151 /* Override any gcc2 internal prototype to avoid an error. */
24156 /* We use char because int might match the return type of a gcc2
24157 builtin and then its argument prototype would still apply. */
24159 /* The GNU C library defines this for functions which it implements
24160 to always fail with ENOSYS. Some functions are actually named
24161 something starting with __ and the normal name is an alias. */
24162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24165 char (*f) () = $ac_func;
24174 return f != $ac_func;
24179 rm -f conftest.
$ac_objext conftest
$ac_exeext
24180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24181 (eval $ac_link) 2>conftest.er1
24183 grep -v '^ *+' conftest.er1
>conftest.err
24185 cat conftest.err
>&5
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); } &&
24188 { ac_try
='test -z "$ac_c_werror_flag"
24189 || test ! -s conftest.err'
24190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24191 (eval $ac_try) 2>&5
24193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24194 (exit $ac_status); }; } &&
24195 { ac_try
='test -s conftest$ac_exeext'
24196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24197 (eval $ac_try) 2>&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); }; }; then
24201 eval "$as_ac_var=yes"
24203 echo "$as_me: failed program was:" >&5
24204 sed 's/^/| /' conftest.
$ac_ext >&5
24206 eval "$as_ac_var=no"
24208 rm -f conftest.err conftest.
$ac_objext \
24209 conftest
$ac_exeext conftest.
$ac_ext
24211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24213 if test `eval echo '${'$as_ac_var'}'` = yes; then
24214 cat >>confdefs.h
<<_ACEOF
24215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24225 if test "x$ac_cv_func_regcomp" != "xyes"; then
24226 if test "$wxUSE_REGEX" = "sys" ; then
24227 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24228 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24229 { (exit 1); exit 1; }; }
24231 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24232 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24233 wxUSE_REGEX
=builtin
24237 cat >>confdefs.h
<<\_ACEOF
24238 #define WX_NO_REGEX_ADVANCED 1
24247 if test "$wxUSE_ZLIB" != "no" ; then
24248 cat >>confdefs.h
<<\_ACEOF
24249 #define wxUSE_ZLIB 1
24253 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24254 if test "$USE_DARWIN" = 1; then
24255 system_zlib_h_ok
="yes"
24257 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24258 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24259 if test "${ac_cv_header_zlib_h+set}" = set; then
24260 echo $ECHO_N "(cached) $ECHO_C" >&6
24262 if test "$cross_compiling" = yes; then
24263 unset ac_cv_header_zlib_h
24266 cat >conftest.
$ac_ext <<_ACEOF
24269 cat confdefs.h
>>conftest.
$ac_ext
24270 cat >>conftest.
$ac_ext <<_ACEOF
24271 /* end confdefs.h. */
24278 FILE *f=fopen("conftestval", "w");
24281 ZLIB_VERSION[0] == '1' &&
24282 (ZLIB_VERSION[2] > '1' ||
24283 (ZLIB_VERSION[2] == '1' &&
24284 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24289 rm -f conftest
$ac_exeext
24290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24291 (eval $ac_link) 2>&5
24293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24296 (eval $ac_try) 2>&5
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); }; }; then
24300 ac_cv_header_zlib_h
=`cat conftestval`
24302 echo "$as_me: program exited with status $ac_status" >&5
24303 echo "$as_me: failed program was:" >&5
24304 sed 's/^/| /' conftest.
$ac_ext >&5
24306 ( exit $ac_status )
24307 ac_cv_header_zlib_h
=no
24309 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24313 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24314 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24315 if test "${ac_cv_header_zlib_h+set}" = set; then
24316 echo "$as_me:$LINENO: checking for zlib.h" >&5
24317 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24318 if test "${ac_cv_header_zlib_h+set}" = set; then
24319 echo $ECHO_N "(cached) $ECHO_C" >&6
24321 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24322 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24324 # Is the header compilable?
24325 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24326 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24327 cat >conftest.
$ac_ext <<_ACEOF
24330 cat confdefs.h
>>conftest.
$ac_ext
24331 cat >>conftest.
$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24333 $ac_includes_default
24336 rm -f conftest.
$ac_objext
24337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24338 (eval $ac_compile) 2>conftest.er1
24340 grep -v '^ *+' conftest.er1
>conftest.err
24342 cat conftest.err
>&5
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); } &&
24345 { ac_try
='test -z "$ac_c_werror_flag"
24346 || test ! -s conftest.err'
24347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24348 (eval $ac_try) 2>&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); }; } &&
24352 { ac_try
='test -s conftest.$ac_objext'
24353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354 (eval $ac_try) 2>&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); }; }; then
24358 ac_header_compiler
=yes
24360 echo "$as_me: failed program was:" >&5
24361 sed 's/^/| /' conftest.
$ac_ext >&5
24363 ac_header_compiler
=no
24365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24367 echo "${ECHO_T}$ac_header_compiler" >&6
24369 # Is the header present?
24370 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24371 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24372 cat >conftest.
$ac_ext <<_ACEOF
24375 cat confdefs.h
>>conftest.
$ac_ext
24376 cat >>conftest.
$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24381 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
24388 if test -s conftest.err
; then
24389 ac_cpp_err
=$ac_c_preproc_warn_flag
24390 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24397 if test -z "$ac_cpp_err"; then
24398 ac_header_preproc
=yes
24400 echo "$as_me: failed program was:" >&5
24401 sed 's/^/| /' conftest.
$ac_ext >&5
24403 ac_header_preproc
=no
24405 rm -f conftest.err conftest.
$ac_ext
24406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24407 echo "${ECHO_T}$ac_header_preproc" >&6
24409 # So? What about this header?
24410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24412 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24413 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24414 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24415 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24416 ac_header_preproc
=yes
24419 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24420 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24421 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24422 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24423 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24424 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24425 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24426 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24427 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24428 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24429 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24430 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24433 ## ----------------------------------------- ##
24434 ## Report this to wx-dev@lists.wxwidgets.org ##
24435 ## ----------------------------------------- ##
24438 sed "s/^/$as_me: WARNING: /" >&2
24441 echo "$as_me:$LINENO: checking for zlib.h" >&5
24442 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24443 if test "${ac_cv_header_zlib_h+set}" = set; then
24444 echo $ECHO_N "(cached) $ECHO_C" >&6
24446 ac_cv_header_zlib_h
=$ac_header_preproc
24448 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24449 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24455 system_zlib_h_ok
=$ac_cv_header_zlib_h
24458 if test "$system_zlib_h_ok" = "yes"; then
24459 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24460 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24461 if test "${ac_cv_lib_z_deflate+set}" = set; then
24462 echo $ECHO_N "(cached) $ECHO_C" >&6
24464 ac_check_lib_save_LIBS
=$LIBS
24466 cat >conftest.
$ac_ext <<_ACEOF
24469 cat confdefs.h
>>conftest.
$ac_ext
24470 cat >>conftest.
$ac_ext <<_ACEOF
24471 /* end confdefs.h. */
24473 /* Override any gcc2 internal prototype to avoid an error. */
24477 /* We use char because int might match the return type of a gcc2
24478 builtin and then its argument prototype would still apply. */
24488 rm -f conftest.
$ac_objext conftest
$ac_exeext
24489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24490 (eval $ac_link) 2>conftest.er1
24492 grep -v '^ *+' conftest.er1
>conftest.err
24494 cat conftest.err
>&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); } &&
24497 { ac_try
='test -z "$ac_c_werror_flag"
24498 || test ! -s conftest.err'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; } &&
24504 { ac_try
='test -s conftest$ac_exeext'
24505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24506 (eval $ac_try) 2>&5
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); }; }; then
24510 ac_cv_lib_z_deflate
=yes
24512 echo "$as_me: failed program was:" >&5
24513 sed 's/^/| /' conftest.
$ac_ext >&5
24515 ac_cv_lib_z_deflate
=no
24517 rm -f conftest.err conftest.
$ac_objext \
24518 conftest
$ac_exeext conftest.
$ac_ext
24519 LIBS
=$ac_check_lib_save_LIBS
24521 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24522 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24523 if test $ac_cv_lib_z_deflate = yes; then
24529 if test "x$ZLIB_LINK" = "x" ; then
24530 if test "$wxUSE_ZLIB" = "sys" ; then
24531 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24532 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24533 { (exit 1); exit 1; }; }
24535 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24536 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24547 if test "$wxUSE_LIBPNG" != "no" ; then
24548 cat >>confdefs.h
<<\_ACEOF
24549 #define wxUSE_LIBPNG 1
24553 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24554 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24555 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24559 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24560 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24561 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24562 wxUSE_LIBPNG
=builtin
24565 if test "$wxUSE_MGL" != 1 ; then
24566 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24567 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24568 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24569 if test "${ac_cv_header_png_h+set}" = set; then
24570 echo $ECHO_N "(cached) $ECHO_C" >&6
24572 if test "$cross_compiling" = yes; then
24573 unset ac_cv_header_png_h
24576 cat >conftest.
$ac_ext <<_ACEOF
24579 cat confdefs.h
>>conftest.
$ac_ext
24580 cat >>conftest.
$ac_ext <<_ACEOF
24581 /* end confdefs.h. */
24588 FILE *f=fopen("conftestval", "w");
24591 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24596 rm -f conftest
$ac_exeext
24597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24598 (eval $ac_link) 2>&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24603 (eval $ac_try) 2>&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); }; }; then
24607 ac_cv_header_png_h
=`cat conftestval`
24609 echo "$as_me: program exited with status $ac_status" >&5
24610 echo "$as_me: failed program was:" >&5
24611 sed 's/^/| /' conftest.
$ac_ext >&5
24613 ( exit $ac_status )
24614 ac_cv_header_png_h
=no
24616 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24620 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24621 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24622 if test "${ac_cv_header_png_h+set}" = set; then
24623 echo "$as_me:$LINENO: checking for png.h" >&5
24624 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24625 if test "${ac_cv_header_png_h+set}" = set; then
24626 echo $ECHO_N "(cached) $ECHO_C" >&6
24628 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24629 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24631 # Is the header compilable?
24632 echo "$as_me:$LINENO: checking png.h usability" >&5
24633 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24634 cat >conftest.
$ac_ext <<_ACEOF
24637 cat confdefs.h
>>conftest.
$ac_ext
24638 cat >>conftest.
$ac_ext <<_ACEOF
24639 /* end confdefs.h. */
24640 $ac_includes_default
24643 rm -f conftest.
$ac_objext
24644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24645 (eval $ac_compile) 2>conftest.er1
24647 grep -v '^ *+' conftest.er1
>conftest.err
24649 cat conftest.err
>&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } &&
24652 { ac_try
='test -z "$ac_c_werror_flag"
24653 || test ! -s conftest.err'
24654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24655 (eval $ac_try) 2>&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); }; } &&
24659 { ac_try
='test -s conftest.$ac_objext'
24660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24661 (eval $ac_try) 2>&5
24663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24664 (exit $ac_status); }; }; then
24665 ac_header_compiler
=yes
24667 echo "$as_me: failed program was:" >&5
24668 sed 's/^/| /' conftest.
$ac_ext >&5
24670 ac_header_compiler
=no
24672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24674 echo "${ECHO_T}$ac_header_compiler" >&6
24676 # Is the header present?
24677 echo "$as_me:$LINENO: checking png.h presence" >&5
24678 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24679 cat >conftest.
$ac_ext <<_ACEOF
24682 cat confdefs.h
>>conftest.
$ac_ext
24683 cat >>conftest.
$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24688 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24690 grep -v '^ *+' conftest.er1
>conftest.err
24692 cat conftest.err
>&5
24693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24694 (exit $ac_status); } >/dev
/null
; then
24695 if test -s conftest.err
; then
24696 ac_cpp_err
=$ac_c_preproc_warn_flag
24697 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24704 if test -z "$ac_cpp_err"; then
24705 ac_header_preproc
=yes
24707 echo "$as_me: failed program was:" >&5
24708 sed 's/^/| /' conftest.
$ac_ext >&5
24710 ac_header_preproc
=no
24712 rm -f conftest.err conftest.
$ac_ext
24713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24714 echo "${ECHO_T}$ac_header_preproc" >&6
24716 # So? What about this header?
24717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24719 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24720 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24721 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24722 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24723 ac_header_preproc
=yes
24726 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24727 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24728 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24729 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24730 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24731 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24732 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24733 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24734 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24735 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24736 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24737 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24740 ## ----------------------------------------- ##
24741 ## Report this to wx-dev@lists.wxwidgets.org ##
24742 ## ----------------------------------------- ##
24745 sed "s/^/$as_me: WARNING: /" >&2
24748 echo "$as_me:$LINENO: checking for png.h" >&5
24749 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24750 if test "${ac_cv_header_png_h+set}" = set; then
24751 echo $ECHO_N "(cached) $ECHO_C" >&6
24753 ac_cv_header_png_h
=$ac_header_preproc
24755 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24756 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24762 if test "$ac_cv_header_png_h" = "yes"; then
24763 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24764 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24765 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24766 echo $ECHO_N "(cached) $ECHO_C" >&6
24768 ac_check_lib_save_LIBS
=$LIBS
24769 LIBS
="-lpng -lz -lm $LIBS"
24770 cat >conftest.
$ac_ext <<_ACEOF
24773 cat confdefs.h
>>conftest.
$ac_ext
24774 cat >>conftest.
$ac_ext <<_ACEOF
24775 /* end confdefs.h. */
24777 /* Override any gcc2 internal prototype to avoid an error. */
24781 /* We use char because int might match the return type of a gcc2
24782 builtin and then its argument prototype would still apply. */
24783 char png_check_sig ();
24792 rm -f conftest.
$ac_objext conftest
$ac_exeext
24793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24794 (eval $ac_link) 2>conftest.er1
24796 grep -v '^ *+' conftest.er1
>conftest.err
24798 cat conftest.err
>&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); } &&
24801 { ac_try
='test -z "$ac_c_werror_flag"
24802 || test ! -s conftest.err'
24803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24804 (eval $ac_try) 2>&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); }; } &&
24808 { ac_try
='test -s conftest$ac_exeext'
24809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24810 (eval $ac_try) 2>&5
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); }; }; then
24814 ac_cv_lib_png_png_check_sig
=yes
24816 echo "$as_me: failed program was:" >&5
24817 sed 's/^/| /' conftest.
$ac_ext >&5
24819 ac_cv_lib_png_png_check_sig
=no
24821 rm -f conftest.err conftest.
$ac_objext \
24822 conftest
$ac_exeext conftest.
$ac_ext
24823 LIBS
=$ac_check_lib_save_LIBS
24825 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24826 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24827 if test $ac_cv_lib_png_png_check_sig = yes; then
24828 PNG_LINK
=" -lpng -lz"
24833 if test "x$PNG_LINK" = "x" ; then
24834 if test "$wxUSE_LIBPNG" = "sys" ; then
24835 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24836 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24837 { (exit 1); exit 1; }; }
24839 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24840 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24841 wxUSE_LIBPNG
=builtin
24849 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24854 if test "$wxUSE_LIBJPEG" != "no" ; then
24855 cat >>confdefs.h
<<\_ACEOF
24856 #define wxUSE_LIBJPEG 1
24860 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24861 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24862 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24866 if test "$wxUSE_MGL" != 1 ; then
24867 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24868 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24869 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24870 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24873 cat >conftest.
$ac_ext <<_ACEOF
24876 cat confdefs.h
>>conftest.
$ac_ext
24877 cat >>conftest.
$ac_ext <<_ACEOF
24878 /* end confdefs.h. */
24880 #undef HAVE_STDLIB_H
24882 #include <jpeglib.h>
24893 rm -f conftest.
$ac_objext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24895 (eval $ac_compile) 2>conftest.er1
24897 grep -v '^ *+' conftest.er1
>conftest.err
24899 cat conftest.err
>&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try
='test -z "$ac_c_werror_flag"
24903 || test ! -s conftest.err'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try
='test -s conftest.$ac_objext'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915 ac_cv_header_jpeglib_h
=yes
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.
$ac_ext >&5
24920 ac_cv_header_jpeglib_h
=no
24923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24927 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24928 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24930 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24931 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24932 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24933 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24934 echo $ECHO_N "(cached) $ECHO_C" >&6
24936 ac_check_lib_save_LIBS
=$LIBS
24937 LIBS
="-ljpeg $LIBS"
24938 cat >conftest.
$ac_ext <<_ACEOF
24941 cat confdefs.h
>>conftest.
$ac_ext
24942 cat >>conftest.
$ac_ext <<_ACEOF
24943 /* end confdefs.h. */
24945 /* Override any gcc2 internal prototype to avoid an error. */
24949 /* We use char because int might match the return type of a gcc2
24950 builtin and then its argument prototype would still apply. */
24951 char jpeg_read_header ();
24955 jpeg_read_header ();
24960 rm -f conftest.
$ac_objext conftest
$ac_exeext
24961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24962 (eval $ac_link) 2>conftest.er1
24964 grep -v '^ *+' conftest.er1
>conftest.err
24966 cat conftest.err
>&5
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); } &&
24969 { ac_try
='test -z "$ac_c_werror_flag"
24970 || test ! -s conftest.err'
24971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24972 (eval $ac_try) 2>&5
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); }; } &&
24976 { ac_try
='test -s conftest$ac_exeext'
24977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24978 (eval $ac_try) 2>&5
24980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24981 (exit $ac_status); }; }; then
24982 ac_cv_lib_jpeg_jpeg_read_header
=yes
24984 echo "$as_me: failed program was:" >&5
24985 sed 's/^/| /' conftest.
$ac_ext >&5
24987 ac_cv_lib_jpeg_jpeg_read_header
=no
24989 rm -f conftest.err conftest.
$ac_objext \
24990 conftest
$ac_exeext conftest.
$ac_ext
24991 LIBS
=$ac_check_lib_save_LIBS
24993 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24994 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24995 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24996 JPEG_LINK
=" -ljpeg"
25001 if test "x$JPEG_LINK" = "x" ; then
25002 if test "$wxUSE_LIBJPEG" = "sys" ; then
25003 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25004 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25005 { (exit 1); exit 1; }; }
25007 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25008 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25009 wxUSE_LIBJPEG
=builtin
25020 TIFF_PREREQ_LINKS
=-lm
25021 if test "$wxUSE_LIBTIFF" != "no" ; then
25022 cat >>confdefs.h
<<\_ACEOF
25023 #define wxUSE_LIBTIFF 1
25027 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25028 if test "$wxUSE_LIBJPEG" = "sys"; then
25029 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25031 if test "$wxUSE_ZLIB" = "sys"; then
25032 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25034 if test "${ac_cv_header_tiffio_h+set}" = set; then
25035 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25036 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25037 if test "${ac_cv_header_tiffio_h+set}" = set; then
25038 echo $ECHO_N "(cached) $ECHO_C" >&6
25040 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25041 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25043 # Is the header compilable?
25044 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25045 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25046 cat >conftest.
$ac_ext <<_ACEOF
25049 cat confdefs.h
>>conftest.
$ac_ext
25050 cat >>conftest.
$ac_ext <<_ACEOF
25051 /* end confdefs.h. */
25052 $ac_includes_default
25053 #include <tiffio.h>
25055 rm -f conftest.
$ac_objext
25056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25057 (eval $ac_compile) 2>conftest.er1
25059 grep -v '^ *+' conftest.er1
>conftest.err
25061 cat conftest.err
>&5
25062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063 (exit $ac_status); } &&
25064 { ac_try
='test -z "$ac_c_werror_flag"
25065 || test ! -s conftest.err'
25066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25067 (eval $ac_try) 2>&5
25069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25070 (exit $ac_status); }; } &&
25071 { ac_try
='test -s conftest.$ac_objext'
25072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25073 (eval $ac_try) 2>&5
25075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076 (exit $ac_status); }; }; then
25077 ac_header_compiler
=yes
25079 echo "$as_me: failed program was:" >&5
25080 sed 's/^/| /' conftest.
$ac_ext >&5
25082 ac_header_compiler
=no
25084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25085 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25086 echo "${ECHO_T}$ac_header_compiler" >&6
25088 # Is the header present?
25089 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25090 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25091 cat >conftest.
$ac_ext <<_ACEOF
25094 cat confdefs.h
>>conftest.
$ac_ext
25095 cat >>conftest.
$ac_ext <<_ACEOF
25096 /* end confdefs.h. */
25097 #include <tiffio.h>
25099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25100 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25102 grep -v '^ *+' conftest.er1
>conftest.err
25104 cat conftest.err
>&5
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); } >/dev
/null
; then
25107 if test -s conftest.err
; then
25108 ac_cpp_err
=$ac_c_preproc_warn_flag
25109 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25116 if test -z "$ac_cpp_err"; then
25117 ac_header_preproc
=yes
25119 echo "$as_me: failed program was:" >&5
25120 sed 's/^/| /' conftest.
$ac_ext >&5
25122 ac_header_preproc
=no
25124 rm -f conftest.err conftest.
$ac_ext
25125 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25126 echo "${ECHO_T}$ac_header_preproc" >&6
25128 # So? What about this header?
25129 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25131 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25132 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25133 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25134 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25135 ac_header_preproc
=yes
25138 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25139 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25140 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25141 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25142 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25143 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25144 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25145 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25146 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25147 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25148 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25149 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25152 ## ----------------------------------------- ##
25153 ## Report this to wx-dev@lists.wxwidgets.org ##
25154 ## ----------------------------------------- ##
25157 sed "s/^/$as_me: WARNING: /" >&2
25160 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25161 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25162 if test "${ac_cv_header_tiffio_h+set}" = set; then
25163 echo $ECHO_N "(cached) $ECHO_C" >&6
25165 ac_cv_header_tiffio_h
=$ac_header_preproc
25167 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25168 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25171 if test $ac_cv_header_tiffio_h = yes; then
25173 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25174 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25175 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25176 echo $ECHO_N "(cached) $ECHO_C" >&6
25178 ac_check_lib_save_LIBS
=$LIBS
25179 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25180 cat >conftest.
$ac_ext <<_ACEOF
25183 cat confdefs.h
>>conftest.
$ac_ext
25184 cat >>conftest.
$ac_ext <<_ACEOF
25185 /* end confdefs.h. */
25187 /* Override any gcc2 internal prototype to avoid an error. */
25191 /* We use char because int might match the return type of a gcc2
25192 builtin and then its argument prototype would still apply. */
25202 rm -f conftest.
$ac_objext conftest
$ac_exeext
25203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25204 (eval $ac_link) 2>conftest.er1
25206 grep -v '^ *+' conftest.er1
>conftest.err
25208 cat conftest.err
>&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } &&
25211 { ac_try
='test -z "$ac_c_werror_flag"
25212 || test ! -s conftest.err'
25213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25214 (eval $ac_try) 2>&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); }; } &&
25218 { ac_try
='test -s conftest$ac_exeext'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; }; then
25224 ac_cv_lib_tiff_TIFFError
=yes
25226 echo "$as_me: failed program was:" >&5
25227 sed 's/^/| /' conftest.
$ac_ext >&5
25229 ac_cv_lib_tiff_TIFFError
=no
25231 rm -f conftest.err conftest.
$ac_objext \
25232 conftest
$ac_exeext conftest.
$ac_ext
25233 LIBS
=$ac_check_lib_save_LIBS
25235 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25236 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25237 if test $ac_cv_lib_tiff_TIFFError = yes; then
25238 TIFF_LINK
=" -ltiff"
25247 if test "x$TIFF_LINK" = "x" ; then
25248 if test "$wxUSE_LIBTIFF" = "sys" ; then
25249 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25250 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25251 { (exit 1); exit 1; }; }
25253 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25254 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25255 wxUSE_LIBTIFF
=builtin
25264 if test "$wxUSE_WCHAR_T" != "yes"; then
25265 if test "$wxUSE_EXPAT" != "no"; then
25266 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25267 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25270 if test "$wxUSE_XML" != "no"; then
25271 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25272 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25277 if test "$wxUSE_EXPAT" != "no"; then
25279 cat >>confdefs.h
<<\_ACEOF
25280 #define wxUSE_EXPAT 1
25283 cat >>confdefs.h
<<\_ACEOF
25284 #define wxUSE_XML 1
25288 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25289 if test "${ac_cv_header_expat_h+set}" = set; then
25290 echo "$as_me:$LINENO: checking for expat.h" >&5
25291 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25292 if test "${ac_cv_header_expat_h+set}" = set; then
25293 echo $ECHO_N "(cached) $ECHO_C" >&6
25295 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25296 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25298 # Is the header compilable?
25299 echo "$as_me:$LINENO: checking expat.h usability" >&5
25300 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25301 cat >conftest.
$ac_ext <<_ACEOF
25304 cat confdefs.h
>>conftest.
$ac_ext
25305 cat >>conftest.
$ac_ext <<_ACEOF
25306 /* end confdefs.h. */
25307 $ac_includes_default
25310 rm -f conftest.
$ac_objext
25311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25312 (eval $ac_compile) 2>conftest.er1
25314 grep -v '^ *+' conftest.er1
>conftest.err
25316 cat conftest.err
>&5
25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318 (exit $ac_status); } &&
25319 { ac_try
='test -z "$ac_c_werror_flag"
25320 || test ! -s conftest.err'
25321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25322 (eval $ac_try) 2>&5
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); }; } &&
25326 { ac_try
='test -s conftest.$ac_objext'
25327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25328 (eval $ac_try) 2>&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); }; }; then
25332 ac_header_compiler
=yes
25334 echo "$as_me: failed program was:" >&5
25335 sed 's/^/| /' conftest.
$ac_ext >&5
25337 ac_header_compiler
=no
25339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25341 echo "${ECHO_T}$ac_header_compiler" >&6
25343 # Is the header present?
25344 echo "$as_me:$LINENO: checking expat.h presence" >&5
25345 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25346 cat >conftest.
$ac_ext <<_ACEOF
25349 cat confdefs.h
>>conftest.
$ac_ext
25350 cat >>conftest.
$ac_ext <<_ACEOF
25351 /* end confdefs.h. */
25354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25357 grep -v '^ *+' conftest.er1
>conftest.err
25359 cat conftest.err
>&5
25360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361 (exit $ac_status); } >/dev
/null
; then
25362 if test -s conftest.err
; then
25363 ac_cpp_err
=$ac_c_preproc_warn_flag
25364 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25371 if test -z "$ac_cpp_err"; then
25372 ac_header_preproc
=yes
25374 echo "$as_me: failed program was:" >&5
25375 sed 's/^/| /' conftest.
$ac_ext >&5
25377 ac_header_preproc
=no
25379 rm -f conftest.err conftest.
$ac_ext
25380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25381 echo "${ECHO_T}$ac_header_preproc" >&6
25383 # So? What about this header?
25384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25386 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25387 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25388 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25389 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25390 ac_header_preproc
=yes
25393 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25394 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25395 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25396 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25397 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25398 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25399 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25400 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25401 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25402 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25403 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25404 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25407 ## ----------------------------------------- ##
25408 ## Report this to wx-dev@lists.wxwidgets.org ##
25409 ## ----------------------------------------- ##
25412 sed "s/^/$as_me: WARNING: /" >&2
25415 echo "$as_me:$LINENO: checking for expat.h" >&5
25416 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25417 if test "${ac_cv_header_expat_h+set}" = set; then
25418 echo $ECHO_N "(cached) $ECHO_C" >&6
25420 ac_cv_header_expat_h
=$ac_header_preproc
25422 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25423 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25426 if test $ac_cv_header_expat_h = yes; then
25431 if test "x$found_expat_h" = "x1"; then
25432 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25433 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25434 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25435 echo $ECHO_N "(cached) $ECHO_C" >&6
25439 ac_cpp
='$CXXCPP $CPPFLAGS'
25440 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25441 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25442 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25444 cat >conftest.
$ac_ext <<_ACEOF
25447 cat confdefs.h
>>conftest.
$ac_ext
25448 cat >>conftest.
$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25459 rm -f conftest.
$ac_objext
25460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25461 (eval $ac_compile) 2>conftest.er1
25463 grep -v '^ *+' conftest.er1
>conftest.err
25465 cat conftest.err
>&5
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); } &&
25468 { ac_try
='test -z "$ac_cxx_werror_flag"
25469 || test ! -s conftest.err'
25470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25471 (eval $ac_try) 2>&5
25473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474 (exit $ac_status); }; } &&
25475 { ac_try
='test -s conftest.$ac_objext'
25476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25477 (eval $ac_try) 2>&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); }; }; then
25481 wx_cv_expat_is_not_broken
=yes
25483 echo "$as_me: failed program was:" >&5
25484 sed 's/^/| /' conftest.
$ac_ext >&5
25486 wx_cv_expat_is_not_broken
=no
25489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25491 ac_cpp
='$CPP $CPPFLAGS'
25492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25499 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25500 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25501 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25502 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25503 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25504 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25505 echo $ECHO_N "(cached) $ECHO_C" >&6
25507 ac_check_lib_save_LIBS
=$LIBS
25508 LIBS
="-lexpat $LIBS"
25509 cat >conftest.
$ac_ext <<_ACEOF
25512 cat confdefs.h
>>conftest.
$ac_ext
25513 cat >>conftest.
$ac_ext <<_ACEOF
25514 /* end confdefs.h. */
25516 /* Override any gcc2 internal prototype to avoid an error. */
25520 /* We use char because int might match the return type of a gcc2
25521 builtin and then its argument prototype would still apply. */
25522 char XML_ParserCreate ();
25526 XML_ParserCreate ();
25531 rm -f conftest.
$ac_objext conftest
$ac_exeext
25532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25533 (eval $ac_link) 2>conftest.er1
25535 grep -v '^ *+' conftest.er1
>conftest.err
25537 cat conftest.err
>&5
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); } &&
25540 { ac_try
='test -z "$ac_c_werror_flag"
25541 || test ! -s conftest.err'
25542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25543 (eval $ac_try) 2>&5
25545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25546 (exit $ac_status); }; } &&
25547 { ac_try
='test -s conftest$ac_exeext'
25548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25549 (eval $ac_try) 2>&5
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); }; }; then
25553 ac_cv_lib_expat_XML_ParserCreate
=yes
25555 echo "$as_me: failed program was:" >&5
25556 sed 's/^/| /' conftest.
$ac_ext >&5
25558 ac_cv_lib_expat_XML_ParserCreate
=no
25560 rm -f conftest.err conftest.
$ac_objext \
25561 conftest
$ac_exeext conftest.
$ac_ext
25562 LIBS
=$ac_check_lib_save_LIBS
25564 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25565 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25566 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25567 EXPAT_LINK
=" -lexpat"
25572 if test "x$EXPAT_LINK" = "x" ; then
25573 if test "$wxUSE_EXPAT" = "sys" ; then
25574 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25575 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25576 { (exit 1); exit 1; }; }
25578 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25579 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25580 wxUSE_EXPAT
=builtin
25586 if test "$wxUSE_EXPAT" = "builtin" ; then
25589 subdirs
="$subdirs src/expat"
25596 if test "$wxUSE_LIBMSPACK" != "no"; then
25597 if test "${ac_cv_header_mspack_h+set}" = set; then
25598 echo "$as_me:$LINENO: checking for mspack.h" >&5
25599 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25600 if test "${ac_cv_header_mspack_h+set}" = set; then
25601 echo $ECHO_N "(cached) $ECHO_C" >&6
25603 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25604 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25606 # Is the header compilable?
25607 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25608 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25609 cat >conftest.
$ac_ext <<_ACEOF
25612 cat confdefs.h
>>conftest.
$ac_ext
25613 cat >>conftest.
$ac_ext <<_ACEOF
25614 /* end confdefs.h. */
25615 $ac_includes_default
25616 #include <mspack.h>
25618 rm -f conftest.
$ac_objext
25619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25620 (eval $ac_compile) 2>conftest.er1
25622 grep -v '^ *+' conftest.er1
>conftest.err
25624 cat conftest.err
>&5
25625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626 (exit $ac_status); } &&
25627 { ac_try
='test -z "$ac_c_werror_flag"
25628 || test ! -s conftest.err'
25629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25630 (eval $ac_try) 2>&5
25632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25633 (exit $ac_status); }; } &&
25634 { ac_try
='test -s conftest.$ac_objext'
25635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25636 (eval $ac_try) 2>&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); }; }; then
25640 ac_header_compiler
=yes
25642 echo "$as_me: failed program was:" >&5
25643 sed 's/^/| /' conftest.
$ac_ext >&5
25645 ac_header_compiler
=no
25647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25649 echo "${ECHO_T}$ac_header_compiler" >&6
25651 # Is the header present?
25652 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25653 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25654 cat >conftest.
$ac_ext <<_ACEOF
25657 cat confdefs.h
>>conftest.
$ac_ext
25658 cat >>conftest.
$ac_ext <<_ACEOF
25659 /* end confdefs.h. */
25660 #include <mspack.h>
25662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25663 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25665 grep -v '^ *+' conftest.er1
>conftest.err
25667 cat conftest.err
>&5
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); } >/dev
/null
; then
25670 if test -s conftest.err
; then
25671 ac_cpp_err
=$ac_c_preproc_warn_flag
25672 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25679 if test -z "$ac_cpp_err"; then
25680 ac_header_preproc
=yes
25682 echo "$as_me: failed program was:" >&5
25683 sed 's/^/| /' conftest.
$ac_ext >&5
25685 ac_header_preproc
=no
25687 rm -f conftest.err conftest.
$ac_ext
25688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25689 echo "${ECHO_T}$ac_header_preproc" >&6
25691 # So? What about this header?
25692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25694 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25695 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25696 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25697 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25698 ac_header_preproc
=yes
25701 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25702 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25703 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25704 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25705 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25706 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25707 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25708 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25709 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25710 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25711 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25712 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25715 ## ----------------------------------------- ##
25716 ## Report this to wx-dev@lists.wxwidgets.org ##
25717 ## ----------------------------------------- ##
25720 sed "s/^/$as_me: WARNING: /" >&2
25723 echo "$as_me:$LINENO: checking for mspack.h" >&5
25724 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25725 if test "${ac_cv_header_mspack_h+set}" = set; then
25726 echo $ECHO_N "(cached) $ECHO_C" >&6
25728 ac_cv_header_mspack_h
=$ac_header_preproc
25730 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25731 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25734 if test $ac_cv_header_mspack_h = yes; then
25739 if test "x$found_mspack_h" = "x1"; then
25740 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25741 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25742 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25743 echo $ECHO_N "(cached) $ECHO_C" >&6
25745 ac_check_lib_save_LIBS
=$LIBS
25746 LIBS
="-lmspack $LIBS"
25747 cat >conftest.
$ac_ext <<_ACEOF
25750 cat confdefs.h
>>conftest.
$ac_ext
25751 cat >>conftest.
$ac_ext <<_ACEOF
25752 /* end confdefs.h. */
25754 /* Override any gcc2 internal prototype to avoid an error. */
25758 /* We use char because int might match the return type of a gcc2
25759 builtin and then its argument prototype would still apply. */
25760 char mspack_create_chm_decompressor ();
25764 mspack_create_chm_decompressor ();
25769 rm -f conftest.
$ac_objext conftest
$ac_exeext
25770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25771 (eval $ac_link) 2>conftest.er1
25773 grep -v '^ *+' conftest.er1
>conftest.err
25775 cat conftest.err
>&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); } &&
25778 { ac_try
='test -z "$ac_c_werror_flag"
25779 || test ! -s conftest.err'
25780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25781 (eval $ac_try) 2>&5
25783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25784 (exit $ac_status); }; } &&
25785 { ac_try
='test -s conftest$ac_exeext'
25786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25787 (eval $ac_try) 2>&5
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); }; }; then
25791 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.
$ac_ext >&5
25796 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25798 rm -f conftest.err conftest.
$ac_objext \
25799 conftest
$ac_exeext conftest.
$ac_ext
25800 LIBS
=$ac_check_lib_save_LIBS
25802 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25803 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25804 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25805 MSPACK_LINK
=" -lmspack"
25809 if test "x$MSPACK_LINK" = "x" ; then
25814 if test "$wxUSE_LIBMSPACK" != "no"; then
25815 cat >>confdefs.h
<<\_ACEOF
25816 #define wxUSE_LIBMSPACK 1
25830 if test "$USE_WIN32" = 1 ; then
25832 for ac_header
in w32api.h
25834 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25836 echo "$as_me:$LINENO: checking for $ac_header" >&5
25837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25839 echo $ECHO_N "(cached) $ECHO_C" >&6
25841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25844 # Is the header compilable?
25845 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25846 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25847 cat >conftest.
$ac_ext <<_ACEOF
25850 cat confdefs.h
>>conftest.
$ac_ext
25851 cat >>conftest.
$ac_ext <<_ACEOF
25852 /* end confdefs.h. */
25853 $ac_includes_default
25854 #include <$ac_header>
25856 rm -f conftest.
$ac_objext
25857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25858 (eval $ac_compile) 2>conftest.er1
25860 grep -v '^ *+' conftest.er1
>conftest.err
25862 cat conftest.err
>&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); } &&
25865 { ac_try
='test -z "$ac_c_werror_flag"
25866 || test ! -s conftest.err'
25867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868 (eval $ac_try) 2>&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); }; } &&
25872 { ac_try
='test -s conftest.$ac_objext'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
25878 ac_header_compiler
=yes
25880 echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.
$ac_ext >&5
25883 ac_header_compiler
=no
25885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25887 echo "${ECHO_T}$ac_header_compiler" >&6
25889 # Is the header present?
25890 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25891 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25892 cat >conftest.
$ac_ext <<_ACEOF
25895 cat confdefs.h
>>conftest.
$ac_ext
25896 cat >>conftest.
$ac_ext <<_ACEOF
25897 /* end confdefs.h. */
25898 #include <$ac_header>
25900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25901 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25903 grep -v '^ *+' conftest.er1
>conftest.err
25905 cat conftest.err
>&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); } >/dev
/null
; then
25908 if test -s conftest.err
; then
25909 ac_cpp_err
=$ac_c_preproc_warn_flag
25910 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25917 if test -z "$ac_cpp_err"; then
25918 ac_header_preproc
=yes
25920 echo "$as_me: failed program was:" >&5
25921 sed 's/^/| /' conftest.
$ac_ext >&5
25923 ac_header_preproc
=no
25925 rm -f conftest.err conftest.
$ac_ext
25926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25927 echo "${ECHO_T}$ac_header_preproc" >&6
25929 # So? What about this header?
25930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25932 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25933 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25935 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25936 ac_header_preproc
=yes
25939 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25940 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25941 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25942 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25943 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25944 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25945 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25946 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25949 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25950 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25953 ## ----------------------------------------- ##
25954 ## Report this to wx-dev@lists.wxwidgets.org ##
25955 ## ----------------------------------------- ##
25958 sed "s/^/$as_me: WARNING: /" >&2
25961 echo "$as_me:$LINENO: checking for $ac_header" >&5
25962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25964 echo $ECHO_N "(cached) $ECHO_C" >&6
25966 eval "$as_ac_Header=\$ac_header_preproc"
25968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25973 cat >>confdefs.h
<<_ACEOF
25974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25981 if test "${ac_cv_header_windows_h+set}" = set; then
25982 echo "$as_me:$LINENO: checking for windows.h" >&5
25983 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25984 if test "${ac_cv_header_windows_h+set}" = set; then
25985 echo $ECHO_N "(cached) $ECHO_C" >&6
25987 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25988 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25990 # Is the header compilable?
25991 echo "$as_me:$LINENO: checking windows.h usability" >&5
25992 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25993 cat >conftest.
$ac_ext <<_ACEOF
25996 cat confdefs.h
>>conftest.
$ac_ext
25997 cat >>conftest.
$ac_ext <<_ACEOF
25998 /* end confdefs.h. */
25999 $ac_includes_default
26000 #include <windows.h>
26002 rm -f conftest.
$ac_objext
26003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26004 (eval $ac_compile) 2>conftest.er1
26006 grep -v '^ *+' conftest.er1
>conftest.err
26008 cat conftest.err
>&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } &&
26011 { ac_try
='test -z "$ac_c_werror_flag"
26012 || test ! -s conftest.err'
26013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26014 (eval $ac_try) 2>&5
26016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017 (exit $ac_status); }; } &&
26018 { ac_try
='test -s conftest.$ac_objext'
26019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26020 (eval $ac_try) 2>&5
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); }; }; then
26024 ac_header_compiler
=yes
26026 echo "$as_me: failed program was:" >&5
26027 sed 's/^/| /' conftest.
$ac_ext >&5
26029 ac_header_compiler
=no
26031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26032 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26033 echo "${ECHO_T}$ac_header_compiler" >&6
26035 # Is the header present?
26036 echo "$as_me:$LINENO: checking windows.h presence" >&5
26037 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26038 cat >conftest.
$ac_ext <<_ACEOF
26041 cat confdefs.h
>>conftest.
$ac_ext
26042 cat >>conftest.
$ac_ext <<_ACEOF
26043 /* end confdefs.h. */
26044 #include <windows.h>
26046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26047 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26049 grep -v '^ *+' conftest.er1
>conftest.err
26051 cat conftest.err
>&5
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); } >/dev
/null
; then
26054 if test -s conftest.err
; then
26055 ac_cpp_err
=$ac_c_preproc_warn_flag
26056 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26063 if test -z "$ac_cpp_err"; then
26064 ac_header_preproc
=yes
26066 echo "$as_me: failed program was:" >&5
26067 sed 's/^/| /' conftest.
$ac_ext >&5
26069 ac_header_preproc
=no
26071 rm -f conftest.err conftest.
$ac_ext
26072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26073 echo "${ECHO_T}$ac_header_preproc" >&6
26075 # So? What about this header?
26076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26078 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26079 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26080 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26081 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26082 ac_header_preproc
=yes
26085 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26086 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26087 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26088 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26089 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26090 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26091 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26092 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26093 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26094 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26095 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26096 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26099 ## ----------------------------------------- ##
26100 ## Report this to wx-dev@lists.wxwidgets.org ##
26101 ## ----------------------------------------- ##
26104 sed "s/^/$as_me: WARNING: /" >&2
26107 echo "$as_me:$LINENO: checking for windows.h" >&5
26108 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26109 if test "${ac_cv_header_windows_h+set}" = set; then
26110 echo $ECHO_N "(cached) $ECHO_C" >&6
26112 ac_cv_header_windows_h
=$ac_header_preproc
26114 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26115 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26118 if test $ac_cv_header_windows_h = yes; then
26122 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26123 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26124 { (exit 1); exit 1; }; }
26130 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26132 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26133 LIBS
="$LIBS -loleacc"
26138 LIBS
="$LIBS -lkernel32 -luser32"
26141 if test "$wxUSE_ODBC" = "sys" ; then
26144 if test "$wxUSE_ODBC" = "yes" ; then
26145 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26146 cat >>confdefs.h
<<\_ACEOF
26147 #define wxUSE_ODBC 1
26152 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26153 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26155 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26157 WIN32INSTALL
=win32install
26160 if test "$wxUSE_GUI" = "yes"; then
26170 if test "$wxUSE_COCOA" = 1 ; then
26171 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26172 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26173 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26174 wxUSE_PRINTING_ARCHITECTURE
=no
26176 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26177 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26178 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26179 wxUSE_DRAG_AND_DROP
=no
26181 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26182 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26183 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26188 if test "$wxUSE_MSW" = 1 ; then
26194 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26198 if test "$wxUSE_GTK" = 1; then
26199 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26200 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26202 gtk_version_cached
=1
26203 if test "${wx_cv_lib_gtk+set}" = set; then
26204 echo $ECHO_N "(cached) $ECHO_C" >&6
26207 gtk_version_cached
=0
26208 echo "$as_me:$LINENO: result: " >&5
26209 echo "${ECHO_T}" >&6
26212 if test "$wxUSE_THREADS" = "yes"; then
26213 GTK_MODULES
=gthread
26217 if test "x$wxGTK_VERSION" != "x1"
26221 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26226 # Check whether --enable-gtktest or --disable-gtktest was given.
26227 if test "${enable_gtktest+set}" = set; then
26228 enableval
="$enable_gtktest"
26234 pkg_config_args
=gtk
+-2.0
26235 for module
in .
$GTK_MODULES
26239 pkg_config_args
="$pkg_config_args gthread-2.0"
26246 # Extract the first word of "pkg-config", so it can be a program name with args.
26247 set dummy pkg
-config; ac_word
=$2
26248 echo "$as_me:$LINENO: checking for $ac_word" >&5
26249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26250 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26251 echo $ECHO_N "(cached) $ECHO_C" >&6
26253 case $PKG_CONFIG in
26255 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26259 for as_dir
in $PATH
26262 test -z "$as_dir" && as_dir
=.
26263 for ac_exec_ext
in '' $ac_executable_extensions; do
26264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26265 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26272 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26276 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26278 if test -n "$PKG_CONFIG"; then
26279 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26280 echo "${ECHO_T}$PKG_CONFIG" >&6
26282 echo "$as_me:$LINENO: result: no" >&5
26283 echo "${ECHO_T}no" >&6
26287 if test x
$PKG_CONFIG != xno
; then
26288 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26291 echo "*** pkg-config too old; version 0.7 or better required."
26299 min_gtk_version
=2.0.0
26300 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26301 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26303 if test x
$PKG_CONFIG != xno
; then
26304 ## don't try to run the test against uninstalled libtool libs
26305 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26306 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26310 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26317 if test x
"$no_gtk" = x
; then
26318 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26319 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26320 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26322 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26324 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26325 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26326 if test "x$enable_gtktest" = "xyes" ; then
26327 ac_save_CFLAGS
="$CFLAGS"
26328 ac_save_LIBS
="$LIBS"
26329 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26330 LIBS
="$GTK_LIBS $LIBS"
26332 if test "$cross_compiling" = yes; then
26333 echo $ac_n "cross compiling; assumed OK... $ac_c"
26335 cat >conftest.
$ac_ext <<_ACEOF
26338 cat confdefs.h
>>conftest.
$ac_ext
26339 cat >>conftest.
$ac_ext <<_ACEOF
26340 /* end confdefs.h. */
26342 #include <gtk/gtk.h>
26344 #include <stdlib.h>
26349 int major, minor, micro;
26352 system ("touch conf.gtktest");
26354 /* HP/UX 9 (%@#!) writes to sscanf strings */
26355 tmp_version = g_strdup("$min_gtk_version");
26356 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26357 printf("%s, bad version string\n", "$min_gtk_version");
26361 if ((gtk_major_version != $gtk_config_major_version) ||
26362 (gtk_minor_version != $gtk_config_minor_version) ||
26363 (gtk_micro_version != $gtk_config_micro_version))
26365 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26366 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26367 gtk_major_version, gtk_minor_version, gtk_micro_version);
26368 printf ("*** was found! If pkg-config was correct, then it is best\n");
26369 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26370 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26371 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26372 printf("*** required on your system.\n");
26373 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26374 printf("*** to point to the correct configuration files\n");
26376 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26377 (gtk_minor_version != GTK_MINOR_VERSION) ||
26378 (gtk_micro_version != GTK_MICRO_VERSION))
26380 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26381 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26382 printf("*** library (version %d.%d.%d)\n",
26383 gtk_major_version, gtk_minor_version, gtk_micro_version);
26387 if ((gtk_major_version > major) ||
26388 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26389 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26395 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26396 gtk_major_version, gtk_minor_version, gtk_micro_version);
26397 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26398 major, minor, micro);
26399 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26401 printf("*** If you have already installed a sufficiently new version, this error\n");
26402 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26403 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26404 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26405 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26406 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26407 printf("*** so that the correct libraries are found at run-time))\n");
26414 rm -f conftest
$ac_exeext
26415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26416 (eval $ac_link) 2>&5
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26421 (eval $ac_try) 2>&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); }; }; then
26427 echo "$as_me: program exited with status $ac_status" >&5
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.
$ac_ext >&5
26431 ( exit $ac_status )
26434 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26436 CFLAGS
="$ac_save_CFLAGS"
26437 LIBS
="$ac_save_LIBS"
26440 if test "x$no_gtk" = x
; then
26441 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26442 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26445 echo "$as_me:$LINENO: result: no" >&5
26446 echo "${ECHO_T}no" >&6
26447 if test "$PKG_CONFIG" = "no" ; then
26448 echo "*** A new enough version of pkg-config was not found."
26449 echo "*** See http://pkgconfig.sourceforge.net"
26451 if test -f conf.gtktest
; then
26454 echo "*** Could not run GTK+ test program, checking why..."
26455 ac_save_CFLAGS
="$CFLAGS"
26456 ac_save_LIBS
="$LIBS"
26457 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26458 LIBS
="$LIBS $GTK_LIBS"
26459 cat >conftest.
$ac_ext <<_ACEOF
26462 cat confdefs.h
>>conftest.
$ac_ext
26463 cat >>conftest.
$ac_ext <<_ACEOF
26464 /* end confdefs.h. */
26466 #include <gtk/gtk.h>
26472 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26477 rm -f conftest.
$ac_objext conftest
$ac_exeext
26478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>conftest.er1
26481 grep -v '^ *+' conftest.er1
>conftest.err
26483 cat conftest.err
>&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } &&
26486 { ac_try
='test -z "$ac_c_werror_flag"
26487 || test ! -s conftest.err'
26488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26489 (eval $ac_try) 2>&5
26491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492 (exit $ac_status); }; } &&
26493 { ac_try
='test -s conftest$ac_exeext'
26494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26495 (eval $ac_try) 2>&5
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); }; }; then
26499 echo "*** The test program compiled, but did not run. This usually means"
26500 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26501 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26502 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26503 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26504 echo "*** is required on your system"
26506 echo "*** If you have an old version installed, it is best to remove it, although"
26507 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26509 echo "$as_me: failed program was:" >&5
26510 sed 's/^/| /' conftest.
$ac_ext >&5
26512 echo "*** The test program failed to compile or link. See the file config.log for the"
26513 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26515 rm -f conftest.err conftest.
$ac_objext \
26516 conftest
$ac_exeext conftest.
$ac_ext
26517 CFLAGS
="$ac_save_CFLAGS"
26518 LIBS
="$ac_save_LIBS"
26532 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26533 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26534 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26536 if test "$wxUSE_SHARED" != "yes"; then
26537 GTK_LIBS
="$GTK_LIBS -lX11"
26542 if test -z "$wx_cv_lib_gtk"; then
26543 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26545 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26546 if test "${with_gtk_prefix+set}" = set; then
26547 withval
="$with_gtk_prefix"
26548 gtk_config_prefix
="$withval"
26550 gtk_config_prefix
=""
26553 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26554 if test "${with_gtk_exec_prefix+set}" = set; then
26555 withval
="$with_gtk_exec_prefix"
26556 gtk_config_exec_prefix
="$withval"
26558 gtk_config_exec_prefix
=""
26560 # Check whether --enable-gtktest or --disable-gtktest was given.
26561 if test "${enable_gtktest+set}" = set; then
26562 enableval
="$enable_gtktest"
26568 for module
in .
$GTK_MODULES
26572 gtk_config_args
="$gtk_config_args gthread"
26577 if test x
$gtk_config_exec_prefix != x
; then
26578 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26579 if test x
${GTK_CONFIG+set} != xset
; then
26580 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26583 if test x
$gtk_config_prefix != x
; then
26584 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26585 if test x
${GTK_CONFIG+set} != xset
; then
26586 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26590 # Extract the first word of "gtk-config", so it can be a program name with args.
26591 set dummy gtk
-config; ac_word
=$2
26592 echo "$as_me:$LINENO: checking for $ac_word" >&5
26593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26594 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26595 echo $ECHO_N "(cached) $ECHO_C" >&6
26597 case $GTK_CONFIG in
26599 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26603 for as_dir
in $PATH
26606 test -z "$as_dir" && as_dir
=.
26607 for ac_exec_ext
in '' $ac_executable_extensions; do
26608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26609 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26616 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26620 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26622 if test -n "$GTK_CONFIG"; then
26623 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26624 echo "${ECHO_T}$GTK_CONFIG" >&6
26626 echo "$as_me:$LINENO: result: no" >&5
26627 echo "${ECHO_T}no" >&6
26630 min_gtk_version
=1.2.7
26631 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26632 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26634 if test "$GTK_CONFIG" = "no" ; then
26637 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26638 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26639 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26640 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26641 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26642 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26643 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26645 if test "x$enable_gtktest" = "xyes" ; then
26646 ac_save_CFLAGS
="$CFLAGS"
26647 ac_save_LIBS
="$LIBS"
26648 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26649 LIBS
="$GTK_LIBS $LIBS"
26651 if test "$cross_compiling" = yes; then
26652 echo $ac_n "cross compiling; assumed OK... $ac_c"
26654 cat >conftest.
$ac_ext <<_ACEOF
26657 cat confdefs.h
>>conftest.
$ac_ext
26658 cat >>conftest.
$ac_ext <<_ACEOF
26659 /* end confdefs.h. */
26661 #include <gtk/gtk.h>
26663 #include <stdlib.h>
26668 int major, minor, micro;
26671 system ("touch conf.gtktest");
26673 /* HP/UX 9 (%@#!) writes to sscanf strings */
26674 tmp_version = g_strdup("$min_gtk_version");
26675 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26676 printf("%s, bad version string\n", "$min_gtk_version");
26680 if ((gtk_major_version != $gtk_config_major_version) ||
26681 (gtk_minor_version != $gtk_config_minor_version) ||
26682 (gtk_micro_version != $gtk_config_micro_version))
26684 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26685 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26686 gtk_major_version, gtk_minor_version, gtk_micro_version);
26687 printf ("*** was found! If gtk-config was correct, then it is best\n");
26688 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26689 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26690 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26691 printf("*** required on your system.\n");
26692 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26693 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26694 printf("*** before re-running configure\n");
26696 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26697 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26698 (gtk_minor_version != GTK_MINOR_VERSION) ||
26699 (gtk_micro_version != GTK_MICRO_VERSION))
26701 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26702 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26703 printf("*** library (version %d.%d.%d)\n",
26704 gtk_major_version, gtk_minor_version, gtk_micro_version);
26706 #endif /* defined (GTK_MAJOR_VERSION) ... */
26709 if ((gtk_major_version > major) ||
26710 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26711 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26717 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26718 gtk_major_version, gtk_minor_version, gtk_micro_version);
26719 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26720 major, minor, micro);
26721 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26723 printf("*** If you have already installed a sufficiently new version, this error\n");
26724 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26725 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26726 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26727 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26728 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26729 printf("*** so that the correct libraries are found at run-time))\n");
26736 rm -f conftest
$ac_exeext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26738 (eval $ac_link) 2>&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26743 (eval $ac_try) 2>&5
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); }; }; then
26749 echo "$as_me: program exited with status $ac_status" >&5
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.
$ac_ext >&5
26753 ( exit $ac_status )
26756 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26758 CFLAGS
="$ac_save_CFLAGS"
26759 LIBS
="$ac_save_LIBS"
26762 if test "x$no_gtk" = x
; then
26763 echo "$as_me:$LINENO: result: yes" >&5
26764 echo "${ECHO_T}yes" >&6
26765 wx_cv_lib_gtk
=1.2.7
26767 echo "$as_me:$LINENO: result: no" >&5
26768 echo "${ECHO_T}no" >&6
26769 if test "$GTK_CONFIG" = "no" ; then
26770 echo "*** The gtk-config script installed by GTK could not be found"
26771 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26772 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26773 echo "*** full path to gtk-config."
26775 if test -f conf.gtktest
; then
26778 echo "*** Could not run GTK test program, checking why..."
26779 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26780 LIBS
="$LIBS $GTK_LIBS"
26781 cat >conftest.
$ac_ext <<_ACEOF
26784 cat confdefs.h
>>conftest.
$ac_ext
26785 cat >>conftest.
$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26788 #include <gtk/gtk.h>
26794 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26799 rm -f conftest.
$ac_objext conftest
$ac_exeext
26800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26801 (eval $ac_link) 2>conftest.er1
26803 grep -v '^ *+' conftest.er1
>conftest.err
26805 cat conftest.err
>&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); } &&
26808 { ac_try
='test -z "$ac_c_werror_flag"
26809 || test ! -s conftest.err'
26810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811 (eval $ac_try) 2>&5
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); }; } &&
26815 { ac_try
='test -s conftest$ac_exeext'
26816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26817 (eval $ac_try) 2>&5
26819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 (exit $ac_status); }; }; then
26821 echo "*** The test program compiled, but did not run. This usually means"
26822 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26823 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26824 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26825 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26826 echo "*** is required on your system"
26828 echo "*** If you have an old version installed, it is best to remove it, although"
26829 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26831 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26832 echo "*** came with the system with the command"
26834 echo "*** rpm --erase --nodeps gtk gtk-devel"
26836 echo "$as_me: failed program was:" >&5
26837 sed 's/^/| /' conftest.
$ac_ext >&5
26839 echo "*** The test program failed to compile or link. See the file config.log for the"
26840 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26841 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26842 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26844 rm -f conftest.err conftest.
$ac_objext \
26845 conftest
$ac_exeext conftest.
$ac_ext
26846 CFLAGS
="$ac_save_CFLAGS"
26847 LIBS
="$ac_save_LIBS"
26859 if test -z "$wx_cv_lib_gtk"; then
26861 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26862 if test "${with_gtk_prefix+set}" = set; then
26863 withval
="$with_gtk_prefix"
26864 gtk_config_prefix
="$withval"
26866 gtk_config_prefix
=""
26869 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26870 if test "${with_gtk_exec_prefix+set}" = set; then
26871 withval
="$with_gtk_exec_prefix"
26872 gtk_config_exec_prefix
="$withval"
26874 gtk_config_exec_prefix
=""
26876 # Check whether --enable-gtktest or --disable-gtktest was given.
26877 if test "${enable_gtktest+set}" = set; then
26878 enableval
="$enable_gtktest"
26884 for module
in .
$GTK_MODULES
26888 gtk_config_args
="$gtk_config_args gthread"
26893 if test x
$gtk_config_exec_prefix != x
; then
26894 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26895 if test x
${GTK_CONFIG+set} != xset
; then
26896 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26899 if test x
$gtk_config_prefix != x
; then
26900 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26901 if test x
${GTK_CONFIG+set} != xset
; then
26902 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26906 # Extract the first word of "gtk-config", so it can be a program name with args.
26907 set dummy gtk
-config; ac_word
=$2
26908 echo "$as_me:$LINENO: checking for $ac_word" >&5
26909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26910 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26911 echo $ECHO_N "(cached) $ECHO_C" >&6
26913 case $GTK_CONFIG in
26915 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26919 for as_dir
in $PATH
26922 test -z "$as_dir" && as_dir
=.
26923 for ac_exec_ext
in '' $ac_executable_extensions; do
26924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26925 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26932 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26936 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26938 if test -n "$GTK_CONFIG"; then
26939 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26940 echo "${ECHO_T}$GTK_CONFIG" >&6
26942 echo "$as_me:$LINENO: result: no" >&5
26943 echo "${ECHO_T}no" >&6
26946 min_gtk_version
=1.2.3
26947 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26948 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26950 if test "$GTK_CONFIG" = "no" ; then
26953 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26954 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26955 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26957 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26958 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26959 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26960 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26961 if test "x$enable_gtktest" = "xyes" ; then
26962 ac_save_CFLAGS
="$CFLAGS"
26963 ac_save_LIBS
="$LIBS"
26964 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26965 LIBS
="$GTK_LIBS $LIBS"
26967 if test "$cross_compiling" = yes; then
26968 echo $ac_n "cross compiling; assumed OK... $ac_c"
26970 cat >conftest.
$ac_ext <<_ACEOF
26973 cat confdefs.h
>>conftest.
$ac_ext
26974 cat >>conftest.
$ac_ext <<_ACEOF
26975 /* end confdefs.h. */
26977 #include <gtk/gtk.h>
26979 #include <stdlib.h>
26984 int major, minor, micro;
26987 system ("touch conf.gtktest");
26989 /* HP/UX 9 (%@#!) writes to sscanf strings */
26990 tmp_version = g_strdup("$min_gtk_version");
26991 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26992 printf("%s, bad version string\n", "$min_gtk_version");
26996 if ((gtk_major_version != $gtk_config_major_version) ||
26997 (gtk_minor_version != $gtk_config_minor_version) ||
26998 (gtk_micro_version != $gtk_config_micro_version))
27000 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27001 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27002 gtk_major_version, gtk_minor_version, gtk_micro_version);
27003 printf ("*** was found! If gtk-config was correct, then it is best\n");
27004 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27005 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27006 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27007 printf("*** required on your system.\n");
27008 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27009 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27010 printf("*** before re-running configure\n");
27012 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27013 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27014 (gtk_minor_version != GTK_MINOR_VERSION) ||
27015 (gtk_micro_version != GTK_MICRO_VERSION))
27017 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27018 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27019 printf("*** library (version %d.%d.%d)\n",
27020 gtk_major_version, gtk_minor_version, gtk_micro_version);
27022 #endif /* defined (GTK_MAJOR_VERSION) ... */
27025 if ((gtk_major_version > major) ||
27026 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27027 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27033 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27034 gtk_major_version, gtk_minor_version, gtk_micro_version);
27035 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27036 major, minor, micro);
27037 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27039 printf("*** If you have already installed a sufficiently new version, this error\n");
27040 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27041 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27042 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27043 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27044 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27045 printf("*** so that the correct libraries are found at run-time))\n");
27052 rm -f conftest
$ac_exeext
27053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27054 (eval $ac_link) 2>&5
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27059 (eval $ac_try) 2>&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); }; }; then
27065 echo "$as_me: program exited with status $ac_status" >&5
27066 echo "$as_me: failed program was:" >&5
27067 sed 's/^/| /' conftest.
$ac_ext >&5
27069 ( exit $ac_status )
27072 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27074 CFLAGS
="$ac_save_CFLAGS"
27075 LIBS
="$ac_save_LIBS"
27078 if test "x$no_gtk" = x
; then
27079 echo "$as_me:$LINENO: result: yes" >&5
27080 echo "${ECHO_T}yes" >&6
27081 wx_cv_lib_gtk
=1.2.3
27083 echo "$as_me:$LINENO: result: no" >&5
27084 echo "${ECHO_T}no" >&6
27085 if test "$GTK_CONFIG" = "no" ; then
27086 echo "*** The gtk-config script installed by GTK could not be found"
27087 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27088 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27089 echo "*** full path to gtk-config."
27091 if test -f conf.gtktest
; then
27094 echo "*** Could not run GTK test program, checking why..."
27095 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27096 LIBS
="$LIBS $GTK_LIBS"
27097 cat >conftest.
$ac_ext <<_ACEOF
27100 cat confdefs.h
>>conftest.
$ac_ext
27101 cat >>conftest.
$ac_ext <<_ACEOF
27102 /* end confdefs.h. */
27104 #include <gtk/gtk.h>
27110 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27115 rm -f conftest.
$ac_objext conftest
$ac_exeext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27117 (eval $ac_link) 2>conftest.er1
27119 grep -v '^ *+' conftest.er1
>conftest.err
27121 cat conftest.err
>&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try
='test -z "$ac_c_werror_flag"
27125 || test ! -s conftest.err'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; } &&
27131 { ac_try
='test -s conftest$ac_exeext'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27137 echo "*** The test program compiled, but did not run. This usually means"
27138 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27139 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27140 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27141 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27142 echo "*** is required on your system"
27144 echo "*** If you have an old version installed, it is best to remove it, although"
27145 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27147 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27148 echo "*** came with the system with the command"
27150 echo "*** rpm --erase --nodeps gtk gtk-devel"
27152 echo "$as_me: failed program was:" >&5
27153 sed 's/^/| /' conftest.
$ac_ext >&5
27155 echo "*** The test program failed to compile or link. See the file config.log for the"
27156 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27157 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27158 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27160 rm -f conftest.err conftest.
$ac_objext \
27161 conftest
$ac_exeext conftest.
$ac_ext
27162 CFLAGS
="$ac_save_CFLAGS"
27163 LIBS
="$ac_save_LIBS"
27178 if test -z "$wx_cv_lib_gtk"; then
27181 wx_cv_cflags_gtk
=$GTK_CFLAGS
27182 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27189 if test "$gtk_version_cached" = 1; then
27190 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27191 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27194 case "$wx_cv_lib_gtk" in
27203 *) { { echo "$as_me:$LINENO: error:
27204 The development files for GTK+ were not found. For GTK+ 2, please
27205 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27206 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27207 and that the version is 1.2.3 or above. Also check that the
27208 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27209 --libs' are in the LD_LIBRARY_PATH or equivalent.
27211 echo "$as_me: error:
27212 The development files for GTK+ were not found. For GTK+ 2, please
27213 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27214 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27215 and that the version is 1.2.3 or above. Also check that the
27216 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27217 --libs' are in the LD_LIBRARY_PATH or equivalent.
27219 { (exit 1); exit 1; }; }
27223 if test "$WXGTK20" = 1; then
27224 save_CFLAGS
="$CFLAGS"
27226 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27227 LIBS
="$LIBS $wx_cv_libs_gtk"
27229 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27230 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27231 cat >conftest.
$ac_ext <<_ACEOF
27234 cat confdefs.h
>>conftest.
$ac_ext
27235 cat >>conftest.
$ac_ext <<_ACEOF
27236 /* end confdefs.h. */
27238 #include <gtk/gtk.h>
27244 void *f = gtk_icon_size_lookup;
27250 rm -f conftest.
$ac_objext
27251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27252 (eval $ac_compile) 2>conftest.er1
27254 grep -v '^ *+' conftest.er1
>conftest.err
27256 cat conftest.err
>&5
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); } &&
27259 { ac_try
='test -z "$ac_c_werror_flag"
27260 || test ! -s conftest.err'
27261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27262 (eval $ac_try) 2>&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); }; } &&
27266 { ac_try
='test -s conftest.$ac_objext'
27267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27268 (eval $ac_try) 2>&5
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); }; }; then
27273 echo "$as_me:$LINENO: result: no" >&5
27274 echo "${ECHO_T}no" >&6
27277 echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.
$ac_ext >&5
27281 cat >>confdefs.h
<<\_ACEOF
27282 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27285 echo "$as_me:$LINENO: result: yes" >&5
27286 echo "${ECHO_T}yes" >&6
27289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27291 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27292 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27293 cat >conftest.
$ac_ext <<_ACEOF
27296 cat confdefs.h
>>conftest.
$ac_ext
27297 cat >>conftest.
$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27300 #include <gtk/gtk.h>
27306 #if !GTK_CHECK_VERSION(2,4,0)
27314 rm -f conftest.
$ac_objext
27315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27316 (eval $ac_compile) 2>conftest.er1
27318 grep -v '^ *+' conftest.er1
>conftest.err
27320 cat conftest.err
>&5
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); } &&
27323 { ac_try
='test -z "$ac_c_werror_flag"
27324 || test ! -s conftest.err'
27325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27326 (eval $ac_try) 2>&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); }; } &&
27330 { ac_try
='test -s conftest.$ac_objext'
27331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27332 (eval $ac_try) 2>&5
27334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 (exit $ac_status); }; }; then
27337 cat >>confdefs.h
<<\_ACEOF
27338 #define __WXGTK24__ 1
27341 echo "$as_me:$LINENO: result: yes" >&5
27342 echo "${ECHO_T}yes" >&6
27345 echo "$as_me: failed program was:" >&5
27346 sed 's/^/| /' conftest.
$ac_ext >&5
27349 echo "$as_me:$LINENO: result: no" >&5
27350 echo "${ECHO_T}no" >&6
27353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27355 CFLAGS
="$save_CFLAGS"
27358 if test "$wxUSE_UNICODE" = "yes"; then
27359 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27360 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27365 if test "$USE_DARWIN" != 1; then
27367 for ac_func
in poll
27369 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27370 echo "$as_me:$LINENO: checking for $ac_func" >&5
27371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27372 if eval "test \"\${$as_ac_var+set}\" = set"; then
27373 echo $ECHO_N "(cached) $ECHO_C" >&6
27375 cat >conftest.
$ac_ext <<_ACEOF
27378 cat confdefs.h
>>conftest.
$ac_ext
27379 cat >>conftest.
$ac_ext <<_ACEOF
27380 /* end confdefs.h. */
27381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27383 #define $ac_func innocuous_$ac_func
27385 /* System header to define __stub macros and hopefully few prototypes,
27386 which can conflict with char $ac_func (); below.
27387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27388 <limits.h> exists even on freestanding compilers. */
27391 # include <limits.h>
27393 # include <assert.h>
27398 /* Override any gcc2 internal prototype to avoid an error. */
27403 /* We use char because int might match the return type of a gcc2
27404 builtin and then its argument prototype would still apply. */
27406 /* The GNU C library defines this for functions which it implements
27407 to always fail with ENOSYS. Some functions are actually named
27408 something starting with __ and the normal name is an alias. */
27409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27412 char (*f) () = $ac_func;
27421 return f != $ac_func;
27426 rm -f conftest.
$ac_objext conftest
$ac_exeext
27427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27428 (eval $ac_link) 2>conftest.er1
27430 grep -v '^ *+' conftest.er1
>conftest.err
27432 cat conftest.err
>&5
27433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27434 (exit $ac_status); } &&
27435 { ac_try
='test -z "$ac_c_werror_flag"
27436 || test ! -s conftest.err'
27437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27438 (eval $ac_try) 2>&5
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); }; } &&
27442 { ac_try
='test -s conftest$ac_exeext'
27443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27444 (eval $ac_try) 2>&5
27446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27447 (exit $ac_status); }; }; then
27448 eval "$as_ac_var=yes"
27450 echo "$as_me: failed program was:" >&5
27451 sed 's/^/| /' conftest.
$ac_ext >&5
27453 eval "$as_ac_var=no"
27455 rm -f conftest.err conftest.
$ac_objext \
27456 conftest
$ac_exeext conftest.
$ac_ext
27458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27460 if test `eval echo '${'$as_ac_var'}'` = yes; then
27461 cat >>confdefs.h
<<_ACEOF
27462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27470 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27471 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27473 AFMINSTALL
=afminstall
27477 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27478 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27479 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27480 echo $ECHO_N "(cached) $ECHO_C" >&6
27482 ac_check_lib_save_LIBS
=$LIBS
27484 cat >conftest.
$ac_ext <<_ACEOF
27487 cat confdefs.h
>>conftest.
$ac_ext
27488 cat >>conftest.
$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27491 /* Override any gcc2 internal prototype to avoid an error. */
27495 /* We use char because int might match the return type of a gcc2
27496 builtin and then its argument prototype would still apply. */
27497 char gdk_im_open ();
27506 rm -f conftest.
$ac_objext conftest
$ac_exeext
27507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27508 (eval $ac_link) 2>conftest.er1
27510 grep -v '^ *+' conftest.er1
>conftest.err
27512 cat conftest.err
>&5
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); } &&
27515 { ac_try
='test -z "$ac_c_werror_flag"
27516 || test ! -s conftest.err'
27517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27518 (eval $ac_try) 2>&5
27520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521 (exit $ac_status); }; } &&
27522 { ac_try
='test -s conftest$ac_exeext'
27523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27524 (eval $ac_try) 2>&5
27526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); }; }; then
27528 ac_cv_lib_gdk_gdk_im_open
=yes
27530 echo "$as_me: failed program was:" >&5
27531 sed 's/^/| /' conftest.
$ac_ext >&5
27533 ac_cv_lib_gdk_gdk_im_open
=no
27535 rm -f conftest.err conftest.
$ac_objext \
27536 conftest
$ac_exeext conftest.
$ac_ext
27537 LIBS
=$ac_check_lib_save_LIBS
27539 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27540 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27541 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27542 cat >>confdefs.h
<<\_ACEOF
27550 if test "$wxUSE_GPE" = "yes"; then
27551 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27552 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27555 for ac_dir
in $SEARCH_LIB;
27557 for ac_extension
in a so sl dylib dll.a
; do
27558 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27559 ac_find_libraries
=$ac_dir
27565 if test "$ac_find_libraries" != "" ; then
27567 if test "$ac_find_libraries" = "default location"; then
27570 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27572 if test $result = 0; then
27575 ac_path_to_link
=" -L$ac_find_libraries"
27579 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27581 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27582 echo "${ECHO_T}found in $ac_find_libraries" >&6
27584 echo "$as_me:$LINENO: result: not found" >&5
27585 echo "${ECHO_T}not found" >&6
27591 if test "$wxUSE_MGL" = 1; then
27592 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27593 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27594 if test "x$MGL_ROOT" = x
; then
27595 echo "$as_me:$LINENO: result: not found" >&5
27596 echo "${ECHO_T}not found" >&6
27597 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27598 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27599 { (exit 1); exit 1; }; }
27601 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27602 echo "${ECHO_T}$MGL_ROOT" >&6
27605 echo "$as_me:$LINENO: checking for libmgl location" >&5
27606 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27609 if test "x$wxUSE_SHARED" = xyes
; then
27610 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27612 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27616 mgl_os_candidates
="dos32/dj2"
27619 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27620 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27621 { (exit 1); exit 1; }; }
27627 for mgl_os_i
in $mgl_os_candidates ; do
27628 if test "x$mgl_os" = x
; then
27629 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27630 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27631 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27636 if test "x$mgl_lib_type" = x
; then
27637 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27638 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27639 mgl_lib_type
=release
27646 if test "x$mgl_os" = x
; then
27647 echo "$as_me:$LINENO: result: not found" >&5
27648 echo "${ECHO_T}not found" >&6
27649 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27650 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27651 { (exit 1); exit 1; }; }
27653 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27654 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27656 wxUSE_UNIVERSAL
="yes"
27658 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27659 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27661 AFMINSTALL
=afminstall
27666 if test "$wxUSE_MICROWIN" = 1; then
27667 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27668 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27669 if test "x$MICROWINDOWS" = x
; then
27670 echo "$as_me:$LINENO: result: not found" >&5
27671 echo "${ECHO_T}not found" >&6
27672 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27673 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27674 { (exit 1); exit 1; }; }
27676 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27677 echo "${ECHO_T}$MICROWINDOWS" >&6
27680 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27681 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27682 echo "${ECHO_T}MicroWindows' libraries found." >&6
27684 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27685 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27686 { (exit 1); exit 1; }; }
27689 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27690 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27692 wxUSE_UNIVERSAL
="yes"
27694 AFMINSTALL
=afminstall
27696 GUIDIST
=MICROWIN_DIST
27698 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27701 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27702 echo "$as_me:$LINENO: checking for X" >&5
27703 echo $ECHO_N "checking for X... $ECHO_C" >&6
27706 # Check whether --with-x or --without-x was given.
27707 if test "${with_x+set}" = set; then
27711 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27712 if test "x$with_x" = xno
; then
27713 # The user explicitly disabled X.
27716 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27717 # Both variables are already set.
27720 if test "${ac_cv_have_x+set}" = set; then
27721 echo $ECHO_N "(cached) $ECHO_C" >&6
27723 # One or both of the vars are not set, and there is no cached value.
27724 ac_x_includes
=no ac_x_libraries
=no
27725 rm -fr conftest.dir
27726 if mkdir conftest.dir
; then
27728 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27729 cat >Imakefile
<<'_ACEOF'
27731 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27733 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27734 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27735 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27736 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27737 for ac_extension
in a so sl
; do
27738 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27739 test -f $ac_im_libdir/libX11.
$ac_extension; then
27740 ac_im_usrlibdir
=$ac_im_libdir; break
27743 # Screen out bogus values from the imake configuration. They are
27744 # bogus both because they are the default anyway, and because
27745 # using them would break gcc on systems where it needs fixed includes.
27746 case $ac_im_incroot in
27748 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27750 case $ac_im_usrlibdir in
27751 /usr
/lib
| /lib
) ;;
27752 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27756 rm -fr conftest.dir
27759 # Standard set of common directories for X headers.
27760 # Check X11 before X11Rn because it is often a symlink to the current release.
27772 /usr/local/X11/include
27773 /usr/local/X11R6/include
27774 /usr/local/X11R5/include
27775 /usr/local/X11R4/include
27777 /usr/local/include/X11
27778 /usr/local/include/X11R6
27779 /usr/local/include/X11R5
27780 /usr/local/include/X11R4
27784 /usr/XFree86/include/X11
27788 /usr/unsupported/include
27789 /usr/athena/include
27790 /usr/local/x11r5/include
27791 /usr/lpp/Xamples/include
27793 /usr/openwin/include
27794 /usr/openwin/share/include'
27796 if test "$ac_x_includes" = no
; then
27797 # Guess where to find include files, by looking for Intrinsic.h.
27798 # First, try using that file with no special directory specified.
27799 cat >conftest.
$ac_ext <<_ACEOF
27802 cat confdefs.h
>>conftest.
$ac_ext
27803 cat >>conftest.
$ac_ext <<_ACEOF
27804 /* end confdefs.h. */
27805 #include <X11/Intrinsic.h>
27807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27808 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27810 grep -v '^ *+' conftest.er1
>conftest.err
27812 cat conftest.err
>&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); } >/dev
/null
; then
27815 if test -s conftest.err
; then
27816 ac_cpp_err
=$ac_c_preproc_warn_flag
27817 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27824 if test -z "$ac_cpp_err"; then
27825 # We can compile using X headers with no special include directory.
27828 echo "$as_me: failed program was:" >&5
27829 sed 's/^/| /' conftest.
$ac_ext >&5
27831 for ac_dir
in $ac_x_header_dirs; do
27832 if test -r "$ac_dir/X11/Intrinsic.h"; then
27833 ac_x_includes
=$ac_dir
27838 rm -f conftest.err conftest.
$ac_ext
27839 fi # $ac_x_includes = no
27841 if test "$ac_x_libraries" = no
; then
27842 # Check for the libraries.
27843 # See if we find them without any special options.
27844 # Don't add to $LIBS permanently.
27847 cat >conftest.
$ac_ext <<_ACEOF
27850 cat confdefs.h
>>conftest.
$ac_ext
27851 cat >>conftest.
$ac_ext <<_ACEOF
27852 /* end confdefs.h. */
27853 #include <X11/Intrinsic.h>
27862 rm -f conftest.
$ac_objext conftest
$ac_exeext
27863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27864 (eval $ac_link) 2>conftest.er1
27866 grep -v '^ *+' conftest.er1
>conftest.err
27868 cat conftest.err
>&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); } &&
27871 { ac_try
='test -z "$ac_c_werror_flag"
27872 || test ! -s conftest.err'
27873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27874 (eval $ac_try) 2>&5
27876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27877 (exit $ac_status); }; } &&
27878 { ac_try
='test -s conftest$ac_exeext'
27879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27880 (eval $ac_try) 2>&5
27882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27883 (exit $ac_status); }; }; then
27885 # We can link X programs with no special library path.
27888 echo "$as_me: failed program was:" >&5
27889 sed 's/^/| /' conftest.
$ac_ext >&5
27892 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27894 # Don't even attempt the hair of trying to link an X program!
27895 for ac_extension
in a so sl
; do
27896 if test -r $ac_dir/libXt.
$ac_extension; then
27897 ac_x_libraries
=$ac_dir
27903 rm -f conftest.err conftest.
$ac_objext \
27904 conftest
$ac_exeext conftest.
$ac_ext
27905 fi # $ac_x_libraries = no
27907 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
27908 # Didn't find X anywhere. Cache the known absence of X.
27909 ac_cv_have_x
="have_x=no"
27911 # Record where we found X for the cache.
27912 ac_cv_have_x
="have_x=yes \
27913 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27918 eval "$ac_cv_have_x"
27921 if test "$have_x" != yes; then
27922 echo "$as_me:$LINENO: result: $have_x" >&5
27923 echo "${ECHO_T}$have_x" >&6
27926 # If each of the values was on the command line, it overrides each guess.
27927 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27928 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27929 # Update the cache value to reflect the command line values.
27930 ac_cv_have_x
="have_x=yes \
27931 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27932 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
27933 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
27936 if test "$no_x" = yes; then
27937 # Not all programs may use this symbol, but it does not hurt to define it.
27939 cat >>confdefs.h
<<\_ACEOF
27940 #define X_DISPLAY_MISSING 1
27943 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
27945 if test -n "$x_includes"; then
27946 X_CFLAGS
="$X_CFLAGS -I$x_includes"
27949 # It would also be nice to do this for all -L options, not just this one.
27950 if test -n "$x_libraries"; then
27951 X_LIBS
="$X_LIBS -L$x_libraries"
27952 # For Solaris; some versions of Sun CC require a space after -R and
27953 # others require no space. Words are not sufficient . . . .
27954 case `(uname -sr) 2>/dev/null` in
27956 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27957 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27958 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
27959 cat >conftest.
$ac_ext <<_ACEOF
27962 cat confdefs.h
>>conftest.
$ac_ext
27963 cat >>conftest.
$ac_ext <<_ACEOF
27964 /* end confdefs.h. */
27974 rm -f conftest.
$ac_objext conftest
$ac_exeext
27975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27976 (eval $ac_link) 2>conftest.er1
27978 grep -v '^ *+' conftest.er1
>conftest.err
27980 cat conftest.err
>&5
27981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27982 (exit $ac_status); } &&
27983 { ac_try
='test -z "$ac_c_werror_flag"
27984 || test ! -s conftest.err'
27985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27986 (eval $ac_try) 2>&5
27988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27989 (exit $ac_status); }; } &&
27990 { ac_try
='test -s conftest$ac_exeext'
27991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27992 (eval $ac_try) 2>&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); }; }; then
27998 echo "$as_me: failed program was:" >&5
27999 sed 's/^/| /' conftest.
$ac_ext >&5
28003 rm -f conftest.err conftest.
$ac_objext \
28004 conftest
$ac_exeext conftest.
$ac_ext
28005 if test $ac_R_nospace = yes; then
28006 echo "$as_me:$LINENO: result: no" >&5
28007 echo "${ECHO_T}no" >&6
28008 X_LIBS
="$X_LIBS -R$x_libraries"
28010 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28011 cat >conftest.
$ac_ext <<_ACEOF
28014 cat confdefs.h
>>conftest.
$ac_ext
28015 cat >>conftest.
$ac_ext <<_ACEOF
28016 /* end confdefs.h. */
28026 rm -f conftest.
$ac_objext conftest
$ac_exeext
28027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28028 (eval $ac_link) 2>conftest.er1
28030 grep -v '^ *+' conftest.er1
>conftest.err
28032 cat conftest.err
>&5
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); } &&
28035 { ac_try
='test -z "$ac_c_werror_flag"
28036 || test ! -s conftest.err'
28037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28038 (eval $ac_try) 2>&5
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); }; } &&
28042 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
28050 echo "$as_me: failed program was:" >&5
28051 sed 's/^/| /' conftest.
$ac_ext >&5
28055 rm -f conftest.err conftest.
$ac_objext \
28056 conftest
$ac_exeext conftest.
$ac_ext
28057 if test $ac_R_space = yes; then
28058 echo "$as_me:$LINENO: result: yes" >&5
28059 echo "${ECHO_T}yes" >&6
28060 X_LIBS
="$X_LIBS -R $x_libraries"
28062 echo "$as_me:$LINENO: result: neither works" >&5
28063 echo "${ECHO_T}neither works" >&6
28066 LIBS
=$ac_xsave_LIBS
28070 # Check for system-dependent libraries X programs must link with.
28071 # Do this before checking for the system-independent R6 libraries
28072 # (-lICE), since we may need -lsocket or whatever for X linking.
28074 if test "$ISC" = yes; then
28075 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28077 # Martyn Johnson says this is needed for Ultrix, if the X
28078 # libraries were built with DECnet support. And Karl Berry says
28079 # the Alpha needs dnet_stub (dnet does not exist).
28080 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28081 cat >conftest.
$ac_ext <<_ACEOF
28084 cat confdefs.h
>>conftest.
$ac_ext
28085 cat >>conftest.
$ac_ext <<_ACEOF
28086 /* end confdefs.h. */
28088 /* Override any gcc2 internal prototype to avoid an error. */
28092 /* We use char because int might match the return type of a gcc2
28093 builtin and then its argument prototype would still apply. */
28094 char XOpenDisplay ();
28103 rm -f conftest.
$ac_objext conftest
$ac_exeext
28104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28105 (eval $ac_link) 2>conftest.er1
28107 grep -v '^ *+' conftest.er1
>conftest.err
28109 cat conftest.err
>&5
28110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111 (exit $ac_status); } &&
28112 { ac_try
='test -z "$ac_c_werror_flag"
28113 || test ! -s conftest.err'
28114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28115 (eval $ac_try) 2>&5
28117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28118 (exit $ac_status); }; } &&
28119 { ac_try
='test -s conftest$ac_exeext'
28120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28121 (eval $ac_try) 2>&5
28123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124 (exit $ac_status); }; }; then
28127 echo "$as_me: failed program was:" >&5
28128 sed 's/^/| /' conftest.
$ac_ext >&5
28130 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28131 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28132 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28133 echo $ECHO_N "(cached) $ECHO_C" >&6
28135 ac_check_lib_save_LIBS
=$LIBS
28136 LIBS
="-ldnet $LIBS"
28137 cat >conftest.
$ac_ext <<_ACEOF
28140 cat confdefs.h
>>conftest.
$ac_ext
28141 cat >>conftest.
$ac_ext <<_ACEOF
28142 /* end confdefs.h. */
28144 /* Override any gcc2 internal prototype to avoid an error. */
28148 /* We use char because int might match the return type of a gcc2
28149 builtin and then its argument prototype would still apply. */
28159 rm -f conftest.
$ac_objext conftest
$ac_exeext
28160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28161 (eval $ac_link) 2>conftest.er1
28163 grep -v '^ *+' conftest.er1
>conftest.err
28165 cat conftest.err
>&5
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); } &&
28168 { ac_try
='test -z "$ac_c_werror_flag"
28169 || test ! -s conftest.err'
28170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28171 (eval $ac_try) 2>&5
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); }; } &&
28175 { ac_try
='test -s conftest$ac_exeext'
28176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28177 (eval $ac_try) 2>&5
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); }; }; then
28181 ac_cv_lib_dnet_dnet_ntoa
=yes
28183 echo "$as_me: failed program was:" >&5
28184 sed 's/^/| /' conftest.
$ac_ext >&5
28186 ac_cv_lib_dnet_dnet_ntoa
=no
28188 rm -f conftest.err conftest.
$ac_objext \
28189 conftest
$ac_exeext conftest.
$ac_ext
28190 LIBS
=$ac_check_lib_save_LIBS
28192 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28193 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28194 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28195 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28198 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28199 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28200 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28201 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28202 echo $ECHO_N "(cached) $ECHO_C" >&6
28204 ac_check_lib_save_LIBS
=$LIBS
28205 LIBS
="-ldnet_stub $LIBS"
28206 cat >conftest.
$ac_ext <<_ACEOF
28209 cat confdefs.h
>>conftest.
$ac_ext
28210 cat >>conftest.
$ac_ext <<_ACEOF
28211 /* end confdefs.h. */
28213 /* Override any gcc2 internal prototype to avoid an error. */
28217 /* We use char because int might match the return type of a gcc2
28218 builtin and then its argument prototype would still apply. */
28228 rm -f conftest.
$ac_objext conftest
$ac_exeext
28229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28230 (eval $ac_link) 2>conftest.er1
28232 grep -v '^ *+' conftest.er1
>conftest.err
28234 cat conftest.err
>&5
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); } &&
28237 { ac_try
='test -z "$ac_c_werror_flag"
28238 || test ! -s conftest.err'
28239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28240 (eval $ac_try) 2>&5
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); }; } &&
28244 { ac_try
='test -s conftest$ac_exeext'
28245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246 (eval $ac_try) 2>&5
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); }; }; then
28250 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28252 echo "$as_me: failed program was:" >&5
28253 sed 's/^/| /' conftest.
$ac_ext >&5
28255 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28257 rm -f conftest.err conftest.
$ac_objext \
28258 conftest
$ac_exeext conftest.
$ac_ext
28259 LIBS
=$ac_check_lib_save_LIBS
28261 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28262 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28263 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28264 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28269 rm -f conftest.err conftest.
$ac_objext \
28270 conftest
$ac_exeext conftest.
$ac_ext
28271 LIBS
="$ac_xsave_LIBS"
28273 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28274 # to get the SysV transport functions.
28275 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28277 # The nsl library prevents programs from opening the X display
28278 # on Irix 5.2, according to T.E. Dickey.
28279 # The functions gethostbyname, getservbyname, and inet_addr are
28280 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28281 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28282 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28283 if test "${ac_cv_func_gethostbyname+set}" = set; then
28284 echo $ECHO_N "(cached) $ECHO_C" >&6
28286 cat >conftest.
$ac_ext <<_ACEOF
28289 cat confdefs.h
>>conftest.
$ac_ext
28290 cat >>conftest.
$ac_ext <<_ACEOF
28291 /* end confdefs.h. */
28292 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28294 #define gethostbyname innocuous_gethostbyname
28296 /* System header to define __stub macros and hopefully few prototypes,
28297 which can conflict with char gethostbyname (); below.
28298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28299 <limits.h> exists even on freestanding compilers. */
28302 # include <limits.h>
28304 # include <assert.h>
28307 #undef gethostbyname
28309 /* Override any gcc2 internal prototype to avoid an error. */
28314 /* We use char because int might match the return type of a gcc2
28315 builtin and then its argument prototype would still apply. */
28316 char gethostbyname ();
28317 /* The GNU C library defines this for functions which it implements
28318 to always fail with ENOSYS. Some functions are actually named
28319 something starting with __ and the normal name is an alias. */
28320 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28323 char (*f) () = gethostbyname;
28332 return f != gethostbyname;
28337 rm -f conftest.
$ac_objext conftest
$ac_exeext
28338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28339 (eval $ac_link) 2>conftest.er1
28341 grep -v '^ *+' conftest.er1
>conftest.err
28343 cat conftest.err
>&5
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); } &&
28346 { ac_try
='test -z "$ac_c_werror_flag"
28347 || test ! -s conftest.err'
28348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28349 (eval $ac_try) 2>&5
28351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28352 (exit $ac_status); }; } &&
28353 { ac_try
='test -s conftest$ac_exeext'
28354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28355 (eval $ac_try) 2>&5
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); }; }; then
28359 ac_cv_func_gethostbyname
=yes
28361 echo "$as_me: failed program was:" >&5
28362 sed 's/^/| /' conftest.
$ac_ext >&5
28364 ac_cv_func_gethostbyname
=no
28366 rm -f conftest.err conftest.
$ac_objext \
28367 conftest
$ac_exeext conftest.
$ac_ext
28369 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28370 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28372 if test $ac_cv_func_gethostbyname = no
; then
28373 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28374 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28375 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28376 echo $ECHO_N "(cached) $ECHO_C" >&6
28378 ac_check_lib_save_LIBS
=$LIBS
28380 cat >conftest.
$ac_ext <<_ACEOF
28383 cat confdefs.h
>>conftest.
$ac_ext
28384 cat >>conftest.
$ac_ext <<_ACEOF
28385 /* end confdefs.h. */
28387 /* Override any gcc2 internal prototype to avoid an error. */
28391 /* We use char because int might match the return type of a gcc2
28392 builtin and then its argument prototype would still apply. */
28393 char gethostbyname ();
28402 rm -f conftest.
$ac_objext conftest
$ac_exeext
28403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28404 (eval $ac_link) 2>conftest.er1
28406 grep -v '^ *+' conftest.er1
>conftest.err
28408 cat conftest.err
>&5
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); } &&
28411 { ac_try
='test -z "$ac_c_werror_flag"
28412 || test ! -s conftest.err'
28413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28414 (eval $ac_try) 2>&5
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); }; } &&
28418 { ac_try
='test -s conftest$ac_exeext'
28419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28420 (eval $ac_try) 2>&5
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); }; }; then
28424 ac_cv_lib_nsl_gethostbyname
=yes
28426 echo "$as_me: failed program was:" >&5
28427 sed 's/^/| /' conftest.
$ac_ext >&5
28429 ac_cv_lib_nsl_gethostbyname
=no
28431 rm -f conftest.err conftest.
$ac_objext \
28432 conftest
$ac_exeext conftest.
$ac_ext
28433 LIBS
=$ac_check_lib_save_LIBS
28435 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28436 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28437 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28438 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28441 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28442 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28443 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28444 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28445 echo $ECHO_N "(cached) $ECHO_C" >&6
28447 ac_check_lib_save_LIBS
=$LIBS
28449 cat >conftest.
$ac_ext <<_ACEOF
28452 cat confdefs.h
>>conftest.
$ac_ext
28453 cat >>conftest.
$ac_ext <<_ACEOF
28454 /* end confdefs.h. */
28456 /* Override any gcc2 internal prototype to avoid an error. */
28460 /* We use char because int might match the return type of a gcc2
28461 builtin and then its argument prototype would still apply. */
28462 char gethostbyname ();
28471 rm -f conftest.
$ac_objext conftest
$ac_exeext
28472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28473 (eval $ac_link) 2>conftest.er1
28475 grep -v '^ *+' conftest.er1
>conftest.err
28477 cat conftest.err
>&5
28478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479 (exit $ac_status); } &&
28480 { ac_try
='test -z "$ac_c_werror_flag"
28481 || test ! -s conftest.err'
28482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28483 (eval $ac_try) 2>&5
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 (exit $ac_status); }; } &&
28487 { ac_try
='test -s conftest$ac_exeext'
28488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28489 (eval $ac_try) 2>&5
28491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28492 (exit $ac_status); }; }; then
28493 ac_cv_lib_bsd_gethostbyname
=yes
28495 echo "$as_me: failed program was:" >&5
28496 sed 's/^/| /' conftest.
$ac_ext >&5
28498 ac_cv_lib_bsd_gethostbyname
=no
28500 rm -f conftest.err conftest.
$ac_objext \
28501 conftest
$ac_exeext conftest.
$ac_ext
28502 LIBS
=$ac_check_lib_save_LIBS
28504 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28505 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28506 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28507 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28513 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28514 # socket/setsockopt and other routines are undefined under SCO ODT
28515 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28516 # on later versions), says Simon Leinen: it contains gethostby*
28517 # variants that don't use the name server (or something). -lsocket
28518 # must be given before -lnsl if both are needed. We assume that
28519 # if connect needs -lnsl, so does gethostbyname.
28520 echo "$as_me:$LINENO: checking for connect" >&5
28521 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28522 if test "${ac_cv_func_connect+set}" = set; then
28523 echo $ECHO_N "(cached) $ECHO_C" >&6
28525 cat >conftest.
$ac_ext <<_ACEOF
28528 cat confdefs.h
>>conftest.
$ac_ext
28529 cat >>conftest.
$ac_ext <<_ACEOF
28530 /* end confdefs.h. */
28531 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28533 #define connect innocuous_connect
28535 /* System header to define __stub macros and hopefully few prototypes,
28536 which can conflict with char connect (); below.
28537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28538 <limits.h> exists even on freestanding compilers. */
28541 # include <limits.h>
28543 # include <assert.h>
28548 /* Override any gcc2 internal prototype to avoid an error. */
28553 /* We use char because int might match the return type of a gcc2
28554 builtin and then its argument prototype would still apply. */
28556 /* The GNU C library defines this for functions which it implements
28557 to always fail with ENOSYS. Some functions are actually named
28558 something starting with __ and the normal name is an alias. */
28559 #if defined (__stub_connect) || defined (__stub___connect)
28562 char (*f) () = connect;
28571 return f != connect;
28576 rm -f conftest.
$ac_objext conftest
$ac_exeext
28577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28578 (eval $ac_link) 2>conftest.er1
28580 grep -v '^ *+' conftest.er1
>conftest.err
28582 cat conftest.err
>&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); } &&
28585 { ac_try
='test -z "$ac_c_werror_flag"
28586 || test ! -s conftest.err'
28587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28588 (eval $ac_try) 2>&5
28590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591 (exit $ac_status); }; } &&
28592 { ac_try
='test -s conftest$ac_exeext'
28593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594 (eval $ac_try) 2>&5
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); }; }; then
28598 ac_cv_func_connect
=yes
28600 echo "$as_me: failed program was:" >&5
28601 sed 's/^/| /' conftest.
$ac_ext >&5
28603 ac_cv_func_connect
=no
28605 rm -f conftest.err conftest.
$ac_objext \
28606 conftest
$ac_exeext conftest.
$ac_ext
28608 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28609 echo "${ECHO_T}$ac_cv_func_connect" >&6
28611 if test $ac_cv_func_connect = no
; then
28612 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28613 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28614 if test "${ac_cv_lib_socket_connect+set}" = set; then
28615 echo $ECHO_N "(cached) $ECHO_C" >&6
28617 ac_check_lib_save_LIBS
=$LIBS
28618 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28619 cat >conftest.
$ac_ext <<_ACEOF
28622 cat confdefs.h
>>conftest.
$ac_ext
28623 cat >>conftest.
$ac_ext <<_ACEOF
28624 /* end confdefs.h. */
28626 /* Override any gcc2 internal prototype to avoid an error. */
28630 /* We use char because int might match the return type of a gcc2
28631 builtin and then its argument prototype would still apply. */
28641 rm -f conftest.
$ac_objext conftest
$ac_exeext
28642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28643 (eval $ac_link) 2>conftest.er1
28645 grep -v '^ *+' conftest.er1
>conftest.err
28647 cat conftest.err
>&5
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); } &&
28650 { ac_try
='test -z "$ac_c_werror_flag"
28651 || test ! -s conftest.err'
28652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28653 (eval $ac_try) 2>&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); }; } &&
28657 { ac_try
='test -s conftest$ac_exeext'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; }; then
28663 ac_cv_lib_socket_connect
=yes
28665 echo "$as_me: failed program was:" >&5
28666 sed 's/^/| /' conftest.
$ac_ext >&5
28668 ac_cv_lib_socket_connect
=no
28670 rm -f conftest.err conftest.
$ac_objext \
28671 conftest
$ac_exeext conftest.
$ac_ext
28672 LIBS
=$ac_check_lib_save_LIBS
28674 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28675 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28676 if test $ac_cv_lib_socket_connect = yes; then
28677 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28682 # Guillermo Gomez says -lposix is necessary on A/UX.
28683 echo "$as_me:$LINENO: checking for remove" >&5
28684 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28685 if test "${ac_cv_func_remove+set}" = set; then
28686 echo $ECHO_N "(cached) $ECHO_C" >&6
28688 cat >conftest.
$ac_ext <<_ACEOF
28691 cat confdefs.h
>>conftest.
$ac_ext
28692 cat >>conftest.
$ac_ext <<_ACEOF
28693 /* end confdefs.h. */
28694 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28696 #define remove innocuous_remove
28698 /* System header to define __stub macros and hopefully few prototypes,
28699 which can conflict with char remove (); below.
28700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28701 <limits.h> exists even on freestanding compilers. */
28704 # include <limits.h>
28706 # include <assert.h>
28711 /* Override any gcc2 internal prototype to avoid an error. */
28716 /* We use char because int might match the return type of a gcc2
28717 builtin and then its argument prototype would still apply. */
28719 /* The GNU C library defines this for functions which it implements
28720 to always fail with ENOSYS. Some functions are actually named
28721 something starting with __ and the normal name is an alias. */
28722 #if defined (__stub_remove) || defined (__stub___remove)
28725 char (*f) () = remove;
28734 return f != remove;
28739 rm -f conftest.
$ac_objext conftest
$ac_exeext
28740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28741 (eval $ac_link) 2>conftest.er1
28743 grep -v '^ *+' conftest.er1
>conftest.err
28745 cat conftest.err
>&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); } &&
28748 { ac_try
='test -z "$ac_c_werror_flag"
28749 || test ! -s conftest.err'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; } &&
28755 { ac_try
='test -s conftest$ac_exeext'
28756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28757 (eval $ac_try) 2>&5
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28761 ac_cv_func_remove
=yes
28763 echo "$as_me: failed program was:" >&5
28764 sed 's/^/| /' conftest.
$ac_ext >&5
28766 ac_cv_func_remove
=no
28768 rm -f conftest.err conftest.
$ac_objext \
28769 conftest
$ac_exeext conftest.
$ac_ext
28771 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28772 echo "${ECHO_T}$ac_cv_func_remove" >&6
28774 if test $ac_cv_func_remove = no
; then
28775 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28776 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28777 if test "${ac_cv_lib_posix_remove+set}" = set; then
28778 echo $ECHO_N "(cached) $ECHO_C" >&6
28780 ac_check_lib_save_LIBS
=$LIBS
28781 LIBS
="-lposix $LIBS"
28782 cat >conftest.
$ac_ext <<_ACEOF
28785 cat confdefs.h
>>conftest.
$ac_ext
28786 cat >>conftest.
$ac_ext <<_ACEOF
28787 /* end confdefs.h. */
28789 /* Override any gcc2 internal prototype to avoid an error. */
28793 /* We use char because int might match the return type of a gcc2
28794 builtin and then its argument prototype would still apply. */
28804 rm -f conftest.
$ac_objext conftest
$ac_exeext
28805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28806 (eval $ac_link) 2>conftest.er1
28808 grep -v '^ *+' conftest.er1
>conftest.err
28810 cat conftest.err
>&5
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); } &&
28813 { ac_try
='test -z "$ac_c_werror_flag"
28814 || test ! -s conftest.err'
28815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28816 (eval $ac_try) 2>&5
28818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28819 (exit $ac_status); }; } &&
28820 { ac_try
='test -s conftest$ac_exeext'
28821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28822 (eval $ac_try) 2>&5
28824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 (exit $ac_status); }; }; then
28826 ac_cv_lib_posix_remove
=yes
28828 echo "$as_me: failed program was:" >&5
28829 sed 's/^/| /' conftest.
$ac_ext >&5
28831 ac_cv_lib_posix_remove
=no
28833 rm -f conftest.err conftest.
$ac_objext \
28834 conftest
$ac_exeext conftest.
$ac_ext
28835 LIBS
=$ac_check_lib_save_LIBS
28837 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28838 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28839 if test $ac_cv_lib_posix_remove = yes; then
28840 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28845 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28846 echo "$as_me:$LINENO: checking for shmat" >&5
28847 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28848 if test "${ac_cv_func_shmat+set}" = set; then
28849 echo $ECHO_N "(cached) $ECHO_C" >&6
28851 cat >conftest.
$ac_ext <<_ACEOF
28854 cat confdefs.h
>>conftest.
$ac_ext
28855 cat >>conftest.
$ac_ext <<_ACEOF
28856 /* end confdefs.h. */
28857 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28859 #define shmat innocuous_shmat
28861 /* System header to define __stub macros and hopefully few prototypes,
28862 which can conflict with char shmat (); below.
28863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28864 <limits.h> exists even on freestanding compilers. */
28867 # include <limits.h>
28869 # include <assert.h>
28874 /* Override any gcc2 internal prototype to avoid an error. */
28879 /* We use char because int might match the return type of a gcc2
28880 builtin and then its argument prototype would still apply. */
28882 /* The GNU C library defines this for functions which it implements
28883 to always fail with ENOSYS. Some functions are actually named
28884 something starting with __ and the normal name is an alias. */
28885 #if defined (__stub_shmat) || defined (__stub___shmat)
28888 char (*f) () = shmat;
28902 rm -f conftest.
$ac_objext conftest
$ac_exeext
28903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28904 (eval $ac_link) 2>conftest.er1
28906 grep -v '^ *+' conftest.er1
>conftest.err
28908 cat conftest.err
>&5
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); } &&
28911 { ac_try
='test -z "$ac_c_werror_flag"
28912 || test ! -s conftest.err'
28913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28914 (eval $ac_try) 2>&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); }; } &&
28918 { ac_try
='test -s conftest$ac_exeext'
28919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28920 (eval $ac_try) 2>&5
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); }; }; then
28924 ac_cv_func_shmat
=yes
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.
$ac_ext >&5
28929 ac_cv_func_shmat
=no
28931 rm -f conftest.err conftest.
$ac_objext \
28932 conftest
$ac_exeext conftest.
$ac_ext
28934 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28935 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28937 if test $ac_cv_func_shmat = no
; then
28938 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28939 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28940 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28941 echo $ECHO_N "(cached) $ECHO_C" >&6
28943 ac_check_lib_save_LIBS
=$LIBS
28945 cat >conftest.
$ac_ext <<_ACEOF
28948 cat confdefs.h
>>conftest.
$ac_ext
28949 cat >>conftest.
$ac_ext <<_ACEOF
28950 /* end confdefs.h. */
28952 /* Override any gcc2 internal prototype to avoid an error. */
28956 /* We use char because int might match the return type of a gcc2
28957 builtin and then its argument prototype would still apply. */
28967 rm -f conftest.
$ac_objext conftest
$ac_exeext
28968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28969 (eval $ac_link) 2>conftest.er1
28971 grep -v '^ *+' conftest.er1
>conftest.err
28973 cat conftest.err
>&5
28974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28975 (exit $ac_status); } &&
28976 { ac_try
='test -z "$ac_c_werror_flag"
28977 || test ! -s conftest.err'
28978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28979 (eval $ac_try) 2>&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); }; } &&
28983 { ac_try
='test -s conftest$ac_exeext'
28984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28985 (eval $ac_try) 2>&5
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); }; }; then
28989 ac_cv_lib_ipc_shmat
=yes
28991 echo "$as_me: failed program was:" >&5
28992 sed 's/^/| /' conftest.
$ac_ext >&5
28994 ac_cv_lib_ipc_shmat
=no
28996 rm -f conftest.err conftest.
$ac_objext \
28997 conftest
$ac_exeext conftest.
$ac_ext
28998 LIBS
=$ac_check_lib_save_LIBS
29000 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29001 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29002 if test $ac_cv_lib_ipc_shmat = yes; then
29003 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29009 # Check for libraries that X11R6 Xt/Xaw programs need.
29010 ac_save_LDFLAGS
=$LDFLAGS
29011 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29012 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29013 # check for ICE first), but we must link in the order -lSM -lICE or
29014 # we get undefined symbols. So assume we have SM if we have ICE.
29015 # These have to be linked with before -lX11, unlike the other
29016 # libraries we check for below, so use a different variable.
29017 # John Interrante, Karl Berry
29018 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29019 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29020 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29021 echo $ECHO_N "(cached) $ECHO_C" >&6
29023 ac_check_lib_save_LIBS
=$LIBS
29024 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29025 cat >conftest.
$ac_ext <<_ACEOF
29028 cat confdefs.h
>>conftest.
$ac_ext
29029 cat >>conftest.
$ac_ext <<_ACEOF
29030 /* end confdefs.h. */
29032 /* Override any gcc2 internal prototype to avoid an error. */
29036 /* We use char because int might match the return type of a gcc2
29037 builtin and then its argument prototype would still apply. */
29038 char IceConnectionNumber ();
29042 IceConnectionNumber ();
29047 rm -f conftest.
$ac_objext conftest
$ac_exeext
29048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29049 (eval $ac_link) 2>conftest.er1
29051 grep -v '^ *+' conftest.er1
>conftest.err
29053 cat conftest.err
>&5
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); } &&
29056 { ac_try
='test -z "$ac_c_werror_flag"
29057 || test ! -s conftest.err'
29058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29059 (eval $ac_try) 2>&5
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); }; } &&
29063 { ac_try
='test -s conftest$ac_exeext'
29064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29065 (eval $ac_try) 2>&5
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); }; }; then
29069 ac_cv_lib_ICE_IceConnectionNumber
=yes
29071 echo "$as_me: failed program was:" >&5
29072 sed 's/^/| /' conftest.
$ac_ext >&5
29074 ac_cv_lib_ICE_IceConnectionNumber
=no
29076 rm -f conftest.err conftest.
$ac_objext \
29077 conftest
$ac_exeext conftest.
$ac_ext
29078 LIBS
=$ac_check_lib_save_LIBS
29080 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29081 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29082 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29083 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29086 LDFLAGS
=$ac_save_LDFLAGS
29091 if test "$no_x" = "yes"; then
29092 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29093 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29094 { (exit 1); exit 1; }; }
29097 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29098 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29099 AFMINSTALL
=afminstall
29100 COMPILED_X_PROGRAM
=0
29104 if test "$wxUSE_X11" = 1; then
29105 if test "$wxUSE_NANOX" = "yes"; then
29106 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29107 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29108 if test "x$MICROWIN" = x
; then
29109 echo "$as_me:$LINENO: result: not found" >&5
29110 echo "${ECHO_T}not found" >&6
29111 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29112 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29113 { (exit 1); exit 1; }; }
29115 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29116 echo "${ECHO_T}$MICROWIN" >&6
29117 cat >>confdefs.h
<<\_ACEOF
29118 #define wxUSE_NANOX 1
29124 if test "$wxUSE_UNICODE" = "yes"; then
29128 if test -z "$PKG_CONFIG"; then
29129 # Extract the first word of "pkg-config", so it can be a program name with args.
29130 set dummy pkg
-config; ac_word
=$2
29131 echo "$as_me:$LINENO: checking for $ac_word" >&5
29132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29133 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29134 echo $ECHO_N "(cached) $ECHO_C" >&6
29136 case $PKG_CONFIG in
29138 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29142 for as_dir
in $PATH
29145 test -z "$as_dir" && as_dir
=.
29146 for ac_exec_ext
in '' $ac_executable_extensions; do
29147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29148 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29155 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29159 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29161 if test -n "$PKG_CONFIG"; then
29162 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29163 echo "${ECHO_T}$PKG_CONFIG" >&6
29165 echo "$as_me:$LINENO: result: no" >&5
29166 echo "${ECHO_T}no" >&6
29171 if test "$PKG_CONFIG" = "no" ; then
29172 echo "*** The pkg-config script could not be found. Make sure it is"
29173 echo "*** in your path, or set the PKG_CONFIG environment variable"
29174 echo "*** to the full path to pkg-config."
29175 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29177 PKG_CONFIG_MIN_VERSION
=0.9.0
29178 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29179 echo "$as_me:$LINENO: checking for pangox" >&5
29180 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29182 if $PKG_CONFIG --exists "pangox" ; then
29183 echo "$as_me:$LINENO: result: yes" >&5
29184 echo "${ECHO_T}yes" >&6
29187 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29188 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29189 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29190 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29191 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29193 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29194 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29195 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29196 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29197 echo "${ECHO_T}$PANGOX_LIBS" >&6
29201 ## If we have a custom action on failure, don't print errors, but
29202 ## do set a variable so people can do so.
29203 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29210 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29211 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29215 if test $succeeded = yes; then
29217 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29218 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29222 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29223 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29224 { (exit 1); exit 1; }; }
29232 if test -z "$PKG_CONFIG"; then
29233 # Extract the first word of "pkg-config", so it can be a program name with args.
29234 set dummy pkg
-config; ac_word
=$2
29235 echo "$as_me:$LINENO: checking for $ac_word" >&5
29236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29237 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29238 echo $ECHO_N "(cached) $ECHO_C" >&6
29240 case $PKG_CONFIG in
29242 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29246 for as_dir
in $PATH
29249 test -z "$as_dir" && as_dir
=.
29250 for ac_exec_ext
in '' $ac_executable_extensions; do
29251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29252 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29259 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29263 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29265 if test -n "$PKG_CONFIG"; then
29266 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29267 echo "${ECHO_T}$PKG_CONFIG" >&6
29269 echo "$as_me:$LINENO: result: no" >&5
29270 echo "${ECHO_T}no" >&6
29275 if test "$PKG_CONFIG" = "no" ; then
29276 echo "*** The pkg-config script could not be found. Make sure it is"
29277 echo "*** in your path, or set the PKG_CONFIG environment variable"
29278 echo "*** to the full path to pkg-config."
29279 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29281 PKG_CONFIG_MIN_VERSION
=0.9.0
29282 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29283 echo "$as_me:$LINENO: checking for pangoft2" >&5
29284 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29286 if $PKG_CONFIG --exists "pangoft2" ; then
29287 echo "$as_me:$LINENO: result: yes" >&5
29288 echo "${ECHO_T}yes" >&6
29291 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29292 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29293 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29294 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29295 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29297 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29298 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29299 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29300 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29301 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29305 ## If we have a custom action on failure, don't print errors, but
29306 ## do set a variable so people can do so.
29307 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29314 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29315 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29319 if test $succeeded = yes; then
29321 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29322 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29326 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29327 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29328 wxUSE_PRINTING_ARCHITECTURE
="no"
29336 if test -z "$PKG_CONFIG"; then
29337 # Extract the first word of "pkg-config", so it can be a program name with args.
29338 set dummy pkg
-config; ac_word
=$2
29339 echo "$as_me:$LINENO: checking for $ac_word" >&5
29340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29341 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29342 echo $ECHO_N "(cached) $ECHO_C" >&6
29344 case $PKG_CONFIG in
29346 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29350 for as_dir
in $PATH
29353 test -z "$as_dir" && as_dir
=.
29354 for ac_exec_ext
in '' $ac_executable_extensions; do
29355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29356 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29363 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29367 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29369 if test -n "$PKG_CONFIG"; then
29370 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29371 echo "${ECHO_T}$PKG_CONFIG" >&6
29373 echo "$as_me:$LINENO: result: no" >&5
29374 echo "${ECHO_T}no" >&6
29379 if test "$PKG_CONFIG" = "no" ; then
29380 echo "*** The pkg-config script could not be found. Make sure it is"
29381 echo "*** in your path, or set the PKG_CONFIG environment variable"
29382 echo "*** to the full path to pkg-config."
29383 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29385 PKG_CONFIG_MIN_VERSION
=0.9.0
29386 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29387 echo "$as_me:$LINENO: checking for pangoxft" >&5
29388 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29390 if $PKG_CONFIG --exists "pangoxft" ; then
29391 echo "$as_me:$LINENO: result: yes" >&5
29392 echo "${ECHO_T}yes" >&6
29395 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29396 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29397 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29398 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29399 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29401 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29402 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29403 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29404 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29405 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29409 ## If we have a custom action on failure, don't print errors, but
29410 ## do set a variable so people can do so.
29411 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29418 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29419 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29423 if test $succeeded = yes; then
29425 cat >>confdefs.h
<<\_ACEOF
29426 #define HAVE_PANGO_XFT 1
29429 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29430 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29434 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29435 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29440 save_CFLAGS
="$CFLAGS"
29442 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
29443 LIBS
="$LIBS $PANGOX_LIBS"
29445 for ac_func
in pango_font_family_is_monospace
29447 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29448 echo "$as_me:$LINENO: checking for $ac_func" >&5
29449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29450 if eval "test \"\${$as_ac_var+set}\" = set"; then
29451 echo $ECHO_N "(cached) $ECHO_C" >&6
29453 cat >conftest.
$ac_ext <<_ACEOF
29456 cat confdefs.h
>>conftest.
$ac_ext
29457 cat >>conftest.
$ac_ext <<_ACEOF
29458 /* end confdefs.h. */
29459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29461 #define $ac_func innocuous_$ac_func
29463 /* System header to define __stub macros and hopefully few prototypes,
29464 which can conflict with char $ac_func (); below.
29465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29466 <limits.h> exists even on freestanding compilers. */
29469 # include <limits.h>
29471 # include <assert.h>
29476 /* Override any gcc2 internal prototype to avoid an error. */
29481 /* We use char because int might match the return type of a gcc2
29482 builtin and then its argument prototype would still apply. */
29484 /* The GNU C library defines this for functions which it implements
29485 to always fail with ENOSYS. Some functions are actually named
29486 something starting with __ and the normal name is an alias. */
29487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29490 char (*f) () = $ac_func;
29499 return f != $ac_func;
29504 rm -f conftest.
$ac_objext conftest
$ac_exeext
29505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29506 (eval $ac_link) 2>conftest.er1
29508 grep -v '^ *+' conftest.er1
>conftest.err
29510 cat conftest.err
>&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } &&
29513 { ac_try
='test -z "$ac_c_werror_flag"
29514 || test ! -s conftest.err'
29515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29516 (eval $ac_try) 2>&5
29518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519 (exit $ac_status); }; } &&
29520 { ac_try
='test -s conftest$ac_exeext'
29521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29522 (eval $ac_try) 2>&5
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); }; }; then
29526 eval "$as_ac_var=yes"
29528 echo "$as_me: failed program was:" >&5
29529 sed 's/^/| /' conftest.
$ac_ext >&5
29531 eval "$as_ac_var=no"
29533 rm -f conftest.err conftest.
$ac_objext \
29534 conftest
$ac_exeext conftest.
$ac_ext
29536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29538 if test `eval echo '${'$as_ac_var'}'` = yes; then
29539 cat >>confdefs.h
<<_ACEOF
29540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29546 CFLAGS
="$save_CFLAGS"
29550 wxUSE_UNIVERSAL
="yes"
29552 if test "$wxUSE_NANOX" = "yes"; then
29553 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29554 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"
29555 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29557 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29564 if test "$wxUSE_MOTIF" = 1; then
29565 if test "$wxUSE_UNICODE" = "yes"; then
29566 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29567 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29568 { (exit 1); exit 1; }; }
29571 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29572 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29575 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29577 if test -f "$ac_dir/Xm/Xm.h"; then
29578 ac_find_includes
=$ac_dir
29583 if test "$ac_find_includes" != "" ; then
29584 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29585 echo "${ECHO_T}found in $ac_find_includes" >&6
29587 if test "x$ac_find_includes" = "x/usr/include"; then
29588 ac_path_to_include
=""
29590 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29592 if test $result = 0; then
29593 ac_path_to_include
=""
29595 ac_path_to_include
=" -I$ac_find_includes"
29599 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29601 save_CFLAGS
=$CFLAGS
29602 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29604 cat >conftest.
$ac_ext <<_ACEOF
29607 cat confdefs.h
>>conftest.
$ac_ext
29608 cat >>conftest.
$ac_ext <<_ACEOF
29609 /* end confdefs.h. */
29618 version = xmUseVersion;
29624 rm -f conftest.
$ac_objext
29625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29626 (eval $ac_compile) 2>conftest.er1
29628 grep -v '^ *+' conftest.er1
>conftest.err
29630 cat conftest.err
>&5
29631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29632 (exit $ac_status); } &&
29633 { ac_try
='test -z "$ac_c_werror_flag"
29634 || test ! -s conftest.err'
29635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29636 (eval $ac_try) 2>&5
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); }; } &&
29640 { ac_try
='test -s conftest.$ac_objext'
29641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29642 (eval $ac_try) 2>&5
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); }; }; then
29647 echo "$as_me:$LINENO: result: found in default search path" >&5
29648 echo "${ECHO_T}found in default search path" >&6
29649 COMPILED_X_PROGRAM
=1
29652 echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.
$ac_ext >&5
29656 echo "$as_me:$LINENO: result: no" >&5
29657 echo "${ECHO_T}no" >&6
29658 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29659 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29660 { (exit 1); exit 1; }; }
29664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29666 CFLAGS
=$save_CFLAGS
29670 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29671 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29674 for ac_dir
in $SEARCH_LIB;
29676 for ac_extension
in a so sl dylib dll.a
; do
29677 if test -f "$ac_dir/libXm.$ac_extension"; then
29678 ac_find_libraries
=$ac_dir
29685 if test "x$ac_find_libraries" != "x" ; then
29686 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29687 echo "${ECHO_T}found in $ac_find_libraries" >&6
29690 if test "$ac_find_libraries" = "default location"; then
29693 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29695 if test $result = 0; then
29698 ac_path_to_link
=" -L$ac_find_libraries"
29702 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29704 save_CFLAGS
=$CFLAGS
29705 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29707 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29709 cat >conftest.
$ac_ext <<_ACEOF
29712 cat confdefs.h
>>conftest.
$ac_ext
29713 cat >>conftest.
$ac_ext <<_ACEOF
29714 /* end confdefs.h. */
29723 version = xmUseVersion;
29729 rm -f conftest.
$ac_objext conftest
$ac_exeext
29730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29731 (eval $ac_link) 2>conftest.er1
29733 grep -v '^ *+' conftest.er1
>conftest.err
29735 cat conftest.err
>&5
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); } &&
29738 { ac_try
='test -z "$ac_c_werror_flag"
29739 || test ! -s conftest.err'
29740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29741 (eval $ac_try) 2>&5
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); }; } &&
29745 { ac_try
='test -s conftest$ac_exeext'
29746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29747 (eval $ac_try) 2>&5
29749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29750 (exit $ac_status); }; }; then
29752 echo "$as_me:$LINENO: result: found in default search path" >&5
29753 echo "${ECHO_T}found in default search path" >&6
29754 COMPILED_X_PROGRAM
=1
29757 echo "$as_me: failed program was:" >&5
29758 sed 's/^/| /' conftest.
$ac_ext >&5
29761 echo "$as_me:$LINENO: result: no" >&5
29762 echo "${ECHO_T}no" >&6
29763 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29764 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29765 { (exit 1); exit 1; }; }
29769 rm -f conftest.err conftest.
$ac_objext \
29770 conftest
$ac_exeext conftest.
$ac_ext
29772 CFLAGS
=$save_CFLAGS
29776 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29777 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29781 for libp
in "" " -lXp"; do
29782 if test "$libs_found" = "0"; then
29783 for libsm_ice
in "" " -lSM -lICE"; do
29784 if test "$libs_found" = "0"; then
29786 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29787 save_CFLAGS
=$CFLAGS
29788 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29790 cat >conftest.
$ac_ext <<_ACEOF
29793 cat confdefs.h
>>conftest.
$ac_ext
29794 cat >>conftest.
$ac_ext <<_ACEOF
29795 /* end confdefs.h. */
29798 #include <Xm/List.h>
29804 XmString string = NULL;
29807 XmListAddItem(w, string, position);
29813 rm -f conftest.
$ac_objext conftest
$ac_exeext
29814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29815 (eval $ac_link) 2>conftest.er1
29817 grep -v '^ *+' conftest.er1
>conftest.err
29819 cat conftest.err
>&5
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); } &&
29822 { ac_try
='test -z "$ac_c_werror_flag"
29823 || test ! -s conftest.err'
29824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29825 (eval $ac_try) 2>&5
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); }; } &&
29829 { ac_try
='test -s conftest$ac_exeext'
29830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29831 (eval $ac_try) 2>&5
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); }; }; then
29837 libsm_ice_link
="$libsm_ice"
29838 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29839 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.
$ac_ext >&5
29849 rm -f conftest.err conftest.
$ac_objext \
29850 conftest
$ac_exeext conftest.
$ac_ext
29853 CFLAGS
=$save_CFLAGS
29859 if test "$libs_found" = "0"; then
29860 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29861 echo "${ECHO_T}can't find the right libraries" >&6
29862 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29863 echo "$as_me: error: can't link a simple motif program" >&2;}
29864 { (exit 1); exit 1; }; }
29867 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29868 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29869 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29870 echo $ECHO_N "(cached) $ECHO_C" >&6
29872 ac_check_lib_save_LIBS
=$LIBS
29874 cat >conftest.
$ac_ext <<_ACEOF
29877 cat confdefs.h
>>conftest.
$ac_ext
29878 cat >>conftest.
$ac_ext <<_ACEOF
29879 /* end confdefs.h. */
29881 /* Override any gcc2 internal prototype to avoid an error. */
29885 /* We use char because int might match the return type of a gcc2
29886 builtin and then its argument prototype would still apply. */
29887 char SgCreateList ();
29896 rm -f conftest.
$ac_objext conftest
$ac_exeext
29897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29898 (eval $ac_link) 2>conftest.er1
29900 grep -v '^ *+' conftest.er1
>conftest.err
29902 cat conftest.err
>&5
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); } &&
29905 { ac_try
='test -z "$ac_c_werror_flag"
29906 || test ! -s conftest.err'
29907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29908 (eval $ac_try) 2>&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); }; } &&
29912 { ac_try
='test -s conftest$ac_exeext'
29913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29914 (eval $ac_try) 2>&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); }; }; then
29918 ac_cv_lib_Sgm_SgCreateList
=yes
29920 echo "$as_me: failed program was:" >&5
29921 sed 's/^/| /' conftest.
$ac_ext >&5
29923 ac_cv_lib_Sgm_SgCreateList
=no
29925 rm -f conftest.err conftest.
$ac_objext \
29926 conftest
$ac_exeext conftest.
$ac_ext
29927 LIBS
=$ac_check_lib_save_LIBS
29929 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29930 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29931 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29932 libsgm_link
=" -lSgm"
29936 save_CFLAGS
=$CFLAGS
29937 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29939 echo "$as_me:$LINENO: checking for Motif 2" >&5
29940 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29941 if test "${wx_cv_lib_motif2+set}" = set; then
29942 echo $ECHO_N "(cached) $ECHO_C" >&6
29944 cat >conftest.
$ac_ext <<_ACEOF
29947 cat confdefs.h
>>conftest.
$ac_ext
29948 cat >>conftest.
$ac_ext <<_ACEOF
29949 /* end confdefs.h. */
29957 #if XmVersion < 2000
29965 rm -f conftest.
$ac_objext
29966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29967 (eval $ac_compile) 2>conftest.er1
29969 grep -v '^ *+' conftest.er1
>conftest.err
29971 cat conftest.err
>&5
29972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29973 (exit $ac_status); } &&
29974 { ac_try
='test -z "$ac_c_werror_flag"
29975 || test ! -s conftest.err'
29976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29977 (eval $ac_try) 2>&5
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); }; } &&
29981 { ac_try
='test -s conftest.$ac_objext'
29982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29983 (eval $ac_try) 2>&5
29985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29986 (exit $ac_status); }; }; then
29987 wx_cv_lib_motif2
="yes"
29989 echo "$as_me: failed program was:" >&5
29990 sed 's/^/| /' conftest.
$ac_ext >&5
29992 wx_cv_lib_motif2
="no"
29994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29996 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29997 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29998 if test "$wx_cv_lib_motif2" = "yes"; then
29999 cat >>confdefs.h
<<\_ACEOF
30000 #define __WXMOTIF20__ 1
30004 cat >>confdefs.h
<<\_ACEOF
30005 #define __WXMOTIF20__ 0
30010 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30011 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30012 if test "${wx_cv_lib_lesstif+set}" = set; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30015 cat >conftest.
$ac_ext <<_ACEOF
30018 cat confdefs.h
>>conftest.
$ac_ext
30019 cat >>conftest.
$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30028 #if !defined(LesstifVersion) || LesstifVersion <= 0
30036 rm -f conftest.
$ac_objext
30037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30038 (eval $ac_compile) 2>conftest.er1
30040 grep -v '^ *+' conftest.er1
>conftest.err
30042 cat conftest.err
>&5
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); } &&
30045 { ac_try
='test -z "$ac_c_werror_flag"
30046 || test ! -s conftest.err'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; } &&
30052 { ac_try
='test -s conftest.$ac_objext'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; }; then
30058 wx_cv_lib_lesstif
="yes"
30060 echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.
$ac_ext >&5
30063 wx_cv_lib_lesstif
="no"
30065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30068 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30069 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30070 if test "$wx_cv_lib_lesstif" = "yes"; then
30071 cat >>confdefs.h
<<\_ACEOF
30072 #define __WXLESSTIF__ 1
30076 cat >>confdefs.h
<<\_ACEOF
30077 #define __WXLESSTIF__ 0
30082 CFLAGS
=$save_CFLAGS
30084 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30089 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30090 if test "$wxUSE_LIBXPM" = "sys"; then
30091 echo "$as_me:$LINENO: checking for Xpm library" >&5
30092 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30095 for ac_dir
in $SEARCH_LIB;
30097 for ac_extension
in a so sl dylib dll.a
; do
30098 if test -f "$ac_dir/libXpm.$ac_extension"; then
30099 ac_find_libraries
=$ac_dir
30105 if test "$ac_find_libraries" != "" ; then
30107 if test "$ac_find_libraries" = "default location"; then
30110 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30112 if test $result = 0; then
30115 ac_path_to_link
=" -L$ac_find_libraries"
30119 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30120 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30121 echo "${ECHO_T}found in $ac_find_libraries" >&6
30123 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30124 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30125 if test "${wx_cv_x11_xpm_h+set}" = set; then
30126 echo $ECHO_N "(cached) $ECHO_C" >&6
30129 save_CFLAGS
=$CFLAGS
30130 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30132 cat >conftest.
$ac_ext <<_ACEOF
30135 cat confdefs.h
>>conftest.
$ac_ext
30136 cat >>conftest.
$ac_ext <<_ACEOF
30137 /* end confdefs.h. */
30139 #include <X11/xpm.h>
30146 version = XpmLibraryVersion();
30152 rm -f conftest.
$ac_objext
30153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30154 (eval $ac_compile) 2>conftest.er1
30156 grep -v '^ *+' conftest.er1
>conftest.err
30158 cat conftest.err
>&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); } &&
30161 { ac_try
='test -z "$ac_c_werror_flag"
30162 || test ! -s conftest.err'
30163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30164 (eval $ac_try) 2>&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); }; } &&
30168 { ac_try
='test -s conftest.$ac_objext'
30169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30170 (eval $ac_try) 2>&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; }; then
30174 wx_cv_x11_xpm_h
=yes
30176 echo "$as_me: failed program was:" >&5
30177 sed 's/^/| /' conftest.
$ac_ext >&5
30182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30184 CFLAGS
=$save_CFLAGS
30188 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30189 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30191 if test $wx_cv_x11_xpm_h = "yes"; then
30192 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30193 cat >>confdefs.h
<<\_ACEOF
30194 #define wxHAVE_LIB_XPM 1
30198 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30199 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30205 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30206 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30207 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30208 echo $ECHO_N "(cached) $ECHO_C" >&6
30210 ac_check_lib_save_LIBS
=$LIBS
30211 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30212 cat >conftest.
$ac_ext <<_ACEOF
30215 cat confdefs.h
>>conftest.
$ac_ext
30216 cat >>conftest.
$ac_ext <<_ACEOF
30217 /* end confdefs.h. */
30219 /* Override any gcc2 internal prototype to avoid an error. */
30223 /* We use char because int might match the return type of a gcc2
30224 builtin and then its argument prototype would still apply. */
30225 char XShapeQueryExtension ();
30229 XShapeQueryExtension ();
30234 rm -f conftest.
$ac_objext conftest
$ac_exeext
30235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30236 (eval $ac_link) 2>conftest.er1
30238 grep -v '^ *+' conftest.er1
>conftest.err
30240 cat conftest.err
>&5
30241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30242 (exit $ac_status); } &&
30243 { ac_try
='test -z "$ac_c_werror_flag"
30244 || test ! -s conftest.err'
30245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30246 (eval $ac_try) 2>&5
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); }; } &&
30250 { ac_try
='test -s conftest$ac_exeext'
30251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30252 (eval $ac_try) 2>&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); }; }; then
30256 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30258 echo "$as_me: failed program was:" >&5
30259 sed 's/^/| /' conftest.
$ac_ext >&5
30261 ac_cv_lib_Xext_XShapeQueryExtension
=no
30263 rm -f conftest.err conftest.
$ac_objext \
30264 conftest
$ac_exeext conftest.
$ac_ext
30265 LIBS
=$ac_check_lib_save_LIBS
30267 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30268 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30269 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30271 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30277 if test "$wxHAVE_XEXT_LIB" = 1; then
30278 save_CFLAGS
="$CFLAGS"
30279 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30281 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30282 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30283 cat >conftest.
$ac_ext <<_ACEOF
30286 cat confdefs.h
>>conftest.
$ac_ext
30287 cat >>conftest.
$ac_ext <<_ACEOF
30288 /* end confdefs.h. */
30290 #include <X11/Xlib.h>
30291 #include <X11/extensions/shape.h>
30297 int dummy1, dummy2;
30298 XShapeQueryExtension((Display*)NULL,
30299 (int*)NULL, (int*)NULL);
30305 rm -f conftest.
$ac_objext
30306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30307 (eval $ac_compile) 2>conftest.er1
30309 grep -v '^ *+' conftest.er1
>conftest.err
30311 cat conftest.err
>&5
30312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30313 (exit $ac_status); } &&
30314 { ac_try
='test -z "$ac_c_werror_flag"
30315 || test ! -s conftest.err'
30316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30317 (eval $ac_try) 2>&5
30319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320 (exit $ac_status); }; } &&
30321 { ac_try
='test -s conftest.$ac_objext'
30322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30323 (eval $ac_try) 2>&5
30325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326 (exit $ac_status); }; }; then
30328 cat >>confdefs.h
<<\_ACEOF
30329 #define HAVE_XSHAPE 1
30332 echo "$as_me:$LINENO: result: found" >&5
30333 echo "${ECHO_T}found" >&6
30336 echo "$as_me: failed program was:" >&5
30337 sed 's/^/| /' conftest.
$ac_ext >&5
30340 echo "$as_me:$LINENO: result: not found" >&5
30341 echo "${ECHO_T}not found" >&6
30344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30345 CFLAGS
="$save_CFLAGS"
30350 if test "$wxUSE_MAC" = 1; then
30351 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30352 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30353 if test "$GCC" = yes; then
30354 echo "$as_me:$LINENO: result: gcc" >&5
30355 echo "${ECHO_T}gcc" >&6
30356 CPPFLAGS_PASCAL
="-fpascal-strings"
30357 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30358 echo "$as_me:$LINENO: result: xlc" >&5
30359 echo "${ECHO_T}xlc" >&6
30360 CPPFLAGS_PASCAL
="-qmacpstr"
30362 echo "$as_me:$LINENO: result: none" >&5
30363 echo "${ECHO_T}none" >&6
30366 if test "x$wxUSE_UNIX" = "xyes"; then
30367 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30369 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30374 WXBASEPORT
="_carbon"
30377 if test "$wxUSE_COCOA" = 1; then
30382 if test "$wxUSE_PM" = 1; then
30385 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30386 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30387 if test "${wx_cv_spbcdata+set}" = set; then
30388 echo $ECHO_N "(cached) $ECHO_C" >&6
30391 cat >conftest.
$ac_ext <<_ACEOF
30394 cat confdefs.h
>>conftest.
$ac_ext
30395 cat >>conftest.
$ac_ext <<_ACEOF
30396 /* end confdefs.h. */
30411 rm -f conftest.
$ac_objext
30412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30413 (eval $ac_compile) 2>conftest.er1
30415 grep -v '^ *+' conftest.er1
>conftest.err
30417 cat conftest.err
>&5
30418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30419 (exit $ac_status); } &&
30420 { ac_try
='test -z "$ac_c_werror_flag"
30421 || test ! -s conftest.err'
30422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30423 (eval $ac_try) 2>&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); }; } &&
30427 { ac_try
='test -s conftest.$ac_objext'
30428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30429 (eval $ac_try) 2>&5
30431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30432 (exit $ac_status); }; }; then
30435 echo "$as_me: failed program was:" >&5
30436 sed 's/^/| /' conftest.
$ac_ext >&5
30441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30445 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30446 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30448 if test $wx_cv_spbcdata = "yes"; then
30449 cat >>confdefs.h
<<\_ACEOF
30450 #define HAVE_SPBCDATA 1
30456 if test "$TOOLKIT" = "PM" ; then
30459 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30462 if test "$wxUSE_UNIVERSAL" = "yes"; then
30463 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30467 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30468 DISTDIR
="wx\$(TOOLKIT)"
30474 if test "$USE_WIN32" = 1 ; then
30478 GUIDIST
="BASE_DIST"
30483 if test "$wxUSE_GUI" = "yes"; then
30484 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30486 for ac_header
in X
11/Xlib.h
30488 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30490 echo "$as_me:$LINENO: checking for $ac_header" >&5
30491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30493 echo $ECHO_N "(cached) $ECHO_C" >&6
30495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30498 # Is the header compilable?
30499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30501 cat >conftest.
$ac_ext <<_ACEOF
30504 cat confdefs.h
>>conftest.
$ac_ext
30505 cat >>conftest.
$ac_ext <<_ACEOF
30506 /* end confdefs.h. */
30507 $ac_includes_default
30508 #include <$ac_header>
30510 rm -f conftest.
$ac_objext
30511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30512 (eval $ac_compile) 2>conftest.er1
30514 grep -v '^ *+' conftest.er1
>conftest.err
30516 cat conftest.err
>&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } &&
30519 { ac_try
='test -z "$ac_c_werror_flag"
30520 || test ! -s conftest.err'
30521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30522 (eval $ac_try) 2>&5
30524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30525 (exit $ac_status); }; } &&
30526 { ac_try
='test -s conftest.$ac_objext'
30527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30528 (eval $ac_try) 2>&5
30530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30531 (exit $ac_status); }; }; then
30532 ac_header_compiler
=yes
30534 echo "$as_me: failed program was:" >&5
30535 sed 's/^/| /' conftest.
$ac_ext >&5
30537 ac_header_compiler
=no
30539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30541 echo "${ECHO_T}$ac_header_compiler" >&6
30543 # Is the header present?
30544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30546 cat >conftest.
$ac_ext <<_ACEOF
30549 cat confdefs.h
>>conftest.
$ac_ext
30550 cat >>conftest.
$ac_ext <<_ACEOF
30551 /* end confdefs.h. */
30552 #include <$ac_header>
30554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30555 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30557 grep -v '^ *+' conftest.er1
>conftest.err
30559 cat conftest.err
>&5
30560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561 (exit $ac_status); } >/dev
/null
; then
30562 if test -s conftest.err
; then
30563 ac_cpp_err
=$ac_c_preproc_warn_flag
30564 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30571 if test -z "$ac_cpp_err"; then
30572 ac_header_preproc
=yes
30574 echo "$as_me: failed program was:" >&5
30575 sed 's/^/| /' conftest.
$ac_ext >&5
30577 ac_header_preproc
=no
30579 rm -f conftest.err conftest.
$ac_ext
30580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30581 echo "${ECHO_T}$ac_header_preproc" >&6
30583 # So? What about this header?
30584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30590 ac_header_preproc
=yes
30593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30607 ## ----------------------------------------- ##
30608 ## Report this to wx-dev@lists.wxwidgets.org ##
30609 ## ----------------------------------------- ##
30612 sed "s/^/$as_me: WARNING: /" >&2
30615 echo "$as_me:$LINENO: checking for $ac_header" >&5
30616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30618 echo $ECHO_N "(cached) $ECHO_C" >&6
30620 eval "$as_ac_Header=\$ac_header_preproc"
30622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30627 cat >>confdefs.h
<<_ACEOF
30628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30636 for ac_header
in X
11/XKBlib.h
30638 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30639 echo "$as_me:$LINENO: checking for $ac_header" >&5
30640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30642 echo $ECHO_N "(cached) $ECHO_C" >&6
30644 cat >conftest.
$ac_ext <<_ACEOF
30647 cat confdefs.h
>>conftest.
$ac_ext
30648 cat >>conftest.
$ac_ext <<_ACEOF
30649 /* end confdefs.h. */
30651 #if HAVE_X11_XLIB_H
30652 #include <X11/Xlib.h>
30656 #include <$ac_header>
30658 rm -f conftest.
$ac_objext
30659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30660 (eval $ac_compile) 2>conftest.er1
30662 grep -v '^ *+' conftest.er1
>conftest.err
30664 cat conftest.err
>&5
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); } &&
30667 { ac_try
='test -z "$ac_c_werror_flag"
30668 || test ! -s conftest.err'
30669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30670 (eval $ac_try) 2>&5
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); }; } &&
30674 { ac_try
='test -s conftest.$ac_objext'
30675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30676 (eval $ac_try) 2>&5
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); }; }; then
30680 eval "$as_ac_Header=yes"
30682 echo "$as_me: failed program was:" >&5
30683 sed 's/^/| /' conftest.
$ac_ext >&5
30685 eval "$as_ac_Header=no"
30687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30692 cat >>confdefs.h
<<_ACEOF
30693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30708 if test "$TOOLKIT" != "MSW" ; then
30710 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30712 if test "${ac_cv_header_sql_h+set}" = set; then
30713 echo "$as_me:$LINENO: checking for sql.h" >&5
30714 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30715 if test "${ac_cv_header_sql_h+set}" = set; then
30716 echo $ECHO_N "(cached) $ECHO_C" >&6
30718 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30719 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30721 # Is the header compilable?
30722 echo "$as_me:$LINENO: checking sql.h usability" >&5
30723 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30724 cat >conftest.
$ac_ext <<_ACEOF
30727 cat confdefs.h
>>conftest.
$ac_ext
30728 cat >>conftest.
$ac_ext <<_ACEOF
30729 /* end confdefs.h. */
30730 $ac_includes_default
30733 rm -f conftest.
$ac_objext
30734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30735 (eval $ac_compile) 2>conftest.er1
30737 grep -v '^ *+' conftest.er1
>conftest.err
30739 cat conftest.err
>&5
30740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741 (exit $ac_status); } &&
30742 { ac_try
='test -z "$ac_c_werror_flag"
30743 || test ! -s conftest.err'
30744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30745 (eval $ac_try) 2>&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); }; } &&
30749 { ac_try
='test -s conftest.$ac_objext'
30750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30751 (eval $ac_try) 2>&5
30753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754 (exit $ac_status); }; }; then
30755 ac_header_compiler
=yes
30757 echo "$as_me: failed program was:" >&5
30758 sed 's/^/| /' conftest.
$ac_ext >&5
30760 ac_header_compiler
=no
30762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30764 echo "${ECHO_T}$ac_header_compiler" >&6
30766 # Is the header present?
30767 echo "$as_me:$LINENO: checking sql.h presence" >&5
30768 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30769 cat >conftest.
$ac_ext <<_ACEOF
30772 cat confdefs.h
>>conftest.
$ac_ext
30773 cat >>conftest.
$ac_ext <<_ACEOF
30774 /* end confdefs.h. */
30777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30778 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30780 grep -v '^ *+' conftest.er1
>conftest.err
30782 cat conftest.err
>&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); } >/dev
/null
; then
30785 if test -s conftest.err
; then
30786 ac_cpp_err
=$ac_c_preproc_warn_flag
30787 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30794 if test -z "$ac_cpp_err"; then
30795 ac_header_preproc
=yes
30797 echo "$as_me: failed program was:" >&5
30798 sed 's/^/| /' conftest.
$ac_ext >&5
30800 ac_header_preproc
=no
30802 rm -f conftest.err conftest.
$ac_ext
30803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30804 echo "${ECHO_T}$ac_header_preproc" >&6
30806 # So? What about this header?
30807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30809 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30810 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30811 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30812 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30813 ac_header_preproc
=yes
30816 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30817 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30818 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30819 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30820 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30821 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30822 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30823 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30824 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30825 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30826 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30827 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30830 ## ----------------------------------------- ##
30831 ## Report this to wx-dev@lists.wxwidgets.org ##
30832 ## ----------------------------------------- ##
30835 sed "s/^/$as_me: WARNING: /" >&2
30838 echo "$as_me:$LINENO: checking for sql.h" >&5
30839 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30840 if test "${ac_cv_header_sql_h+set}" = set; then
30841 echo $ECHO_N "(cached) $ECHO_C" >&6
30843 ac_cv_header_sql_h
=$ac_header_preproc
30845 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30846 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30849 if test $ac_cv_header_sql_h = yes; then
30854 if test "x$found_sql_h" = "x1" ; then
30855 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30856 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30857 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30858 echo $ECHO_N "(cached) $ECHO_C" >&6
30860 ac_check_lib_save_LIBS
=$LIBS
30861 LIBS
="-liodbc $LIBS"
30862 cat >conftest.
$ac_ext <<_ACEOF
30865 cat confdefs.h
>>conftest.
$ac_ext
30866 cat >>conftest.
$ac_ext <<_ACEOF
30867 /* end confdefs.h. */
30869 /* Override any gcc2 internal prototype to avoid an error. */
30873 /* We use char because int might match the return type of a gcc2
30874 builtin and then its argument prototype would still apply. */
30875 char SQLAllocEnv ();
30884 rm -f conftest.
$ac_objext conftest
$ac_exeext
30885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30886 (eval $ac_link) 2>conftest.er1
30888 grep -v '^ *+' conftest.er1
>conftest.err
30890 cat conftest.err
>&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } &&
30893 { ac_try
='test -z "$ac_c_werror_flag"
30894 || test ! -s conftest.err'
30895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30896 (eval $ac_try) 2>&5
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); }; } &&
30900 { ac_try
='test -s conftest$ac_exeext'
30901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30902 (eval $ac_try) 2>&5
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); }; }; then
30906 ac_cv_lib_iodbc_SQLAllocEnv
=yes
30908 echo "$as_me: failed program was:" >&5
30909 sed 's/^/| /' conftest.
$ac_ext >&5
30911 ac_cv_lib_iodbc_SQLAllocEnv
=no
30913 rm -f conftest.err conftest.
$ac_objext \
30914 conftest
$ac_exeext conftest.
$ac_ext
30915 LIBS
=$ac_check_lib_save_LIBS
30917 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30918 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30919 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30920 ODBC_LINK
=" -liodbc"
30923 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30924 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30925 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30926 echo $ECHO_N "(cached) $ECHO_C" >&6
30928 ac_check_lib_save_LIBS
=$LIBS
30929 LIBS
="-lunixodbc $LIBS"
30930 cat >conftest.
$ac_ext <<_ACEOF
30933 cat confdefs.h
>>conftest.
$ac_ext
30934 cat >>conftest.
$ac_ext <<_ACEOF
30935 /* end confdefs.h. */
30937 /* Override any gcc2 internal prototype to avoid an error. */
30941 /* We use char because int might match the return type of a gcc2
30942 builtin and then its argument prototype would still apply. */
30943 char SQLAllocEnv ();
30952 rm -f conftest.
$ac_objext conftest
$ac_exeext
30953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30954 (eval $ac_link) 2>conftest.er1
30956 grep -v '^ *+' conftest.er1
>conftest.err
30958 cat conftest.err
>&5
30959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30960 (exit $ac_status); } &&
30961 { ac_try
='test -z "$ac_c_werror_flag"
30962 || test ! -s conftest.err'
30963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30964 (eval $ac_try) 2>&5
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); }; } &&
30968 { ac_try
='test -s conftest$ac_exeext'
30969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30970 (eval $ac_try) 2>&5
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); }; }; then
30974 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
30976 echo "$as_me: failed program was:" >&5
30977 sed 's/^/| /' conftest.
$ac_ext >&5
30979 ac_cv_lib_unixodbc_SQLAllocEnv
=no
30981 rm -f conftest.err conftest.
$ac_objext \
30982 conftest
$ac_exeext conftest.
$ac_ext
30983 LIBS
=$ac_check_lib_save_LIBS
30985 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30986 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30987 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30988 ODBC_LINK
=" -lunixodbc"
30991 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30992 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30993 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30994 echo $ECHO_N "(cached) $ECHO_C" >&6
30996 ac_check_lib_save_LIBS
=$LIBS
30997 LIBS
="-lodbc $LIBS"
30998 cat >conftest.
$ac_ext <<_ACEOF
31001 cat confdefs.h
>>conftest.
$ac_ext
31002 cat >>conftest.
$ac_ext <<_ACEOF
31003 /* end confdefs.h. */
31005 /* Override any gcc2 internal prototype to avoid an error. */
31009 /* We use char because int might match the return type of a gcc2
31010 builtin and then its argument prototype would still apply. */
31011 char SQLAllocEnv ();
31020 rm -f conftest.
$ac_objext conftest
$ac_exeext
31021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31022 (eval $ac_link) 2>conftest.er1
31024 grep -v '^ *+' conftest.er1
>conftest.err
31026 cat conftest.err
>&5
31027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 (exit $ac_status); } &&
31029 { ac_try
='test -z "$ac_c_werror_flag"
31030 || test ! -s conftest.err'
31031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31032 (eval $ac_try) 2>&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); }; } &&
31036 { ac_try
='test -s conftest$ac_exeext'
31037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31038 (eval $ac_try) 2>&5
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); }; }; then
31042 ac_cv_lib_odbc_SQLAllocEnv
=yes
31044 echo "$as_me: failed program was:" >&5
31045 sed 's/^/| /' conftest.
$ac_ext >&5
31047 ac_cv_lib_odbc_SQLAllocEnv
=no
31049 rm -f conftest.err conftest.
$ac_objext \
31050 conftest
$ac_exeext conftest.
$ac_ext
31051 LIBS
=$ac_check_lib_save_LIBS
31053 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31054 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31055 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31056 ODBC_LINK
=" -lodbc"
31066 if test "x$ODBC_LINK" = "x" ; then
31067 if test "$wxUSE_ODBC" = "sys" ; then
31068 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31069 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31070 { (exit 1); exit 1; }; }
31072 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31073 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31081 if test "$wxUSE_ODBC" = "builtin" ; then
31082 cat >>confdefs.h
<<\_ACEOF
31083 #define wxUSE_BUILTIN_IODBC 1
31089 if test "$wxUSE_ODBC" != "no" ; then
31090 cat >>confdefs.h
<<\_ACEOF
31091 #define wxUSE_ODBC 1
31094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31096 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31100 if test "$wxUSE_DISPLAY" = "yes"; then
31101 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31102 echo "$as_me:$LINENO: checking for Xinerama" >&5
31103 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31106 for ac_dir
in $SEARCH_LIB;
31108 for ac_extension
in a so sl dylib dll.a
; do
31109 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31110 ac_find_libraries
=$ac_dir
31116 if test "$ac_find_libraries" != "" ; then
31118 if test "$ac_find_libraries" = "default location"; then
31121 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31123 if test $result = 0; then
31126 ac_path_to_link
=" -L$ac_find_libraries"
31130 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31131 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31133 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31134 echo "$as_me:$LINENO: result: yes" >&5
31135 echo "${ECHO_T}yes" >&6
31137 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31138 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31141 for ac_dir
in $SEARCH_LIB;
31143 for ac_extension
in a so sl dylib dll.a
; do
31144 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31145 ac_find_libraries
=$ac_dir
31151 if test "$ac_find_libraries" != "" ; then
31152 echo "$as_me:$LINENO: result: yes" >&5
31153 echo "${ECHO_T}yes" >&6
31155 for ac_header
in X
11/extensions
/xf86vmode.h
31157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31158 echo "$as_me:$LINENO: checking for $ac_header" >&5
31159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31161 echo $ECHO_N "(cached) $ECHO_C" >&6
31163 cat >conftest.
$ac_ext <<_ACEOF
31166 cat confdefs.h
>>conftest.
$ac_ext
31167 cat >>conftest.
$ac_ext <<_ACEOF
31168 /* end confdefs.h. */
31170 #if HAVE_X11_XLIB_H
31171 #include <X11/Xlib.h>
31175 #include <$ac_header>
31177 rm -f conftest.
$ac_objext
31178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31179 (eval $ac_compile) 2>conftest.er1
31181 grep -v '^ *+' conftest.er1
>conftest.err
31183 cat conftest.err
>&5
31184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31185 (exit $ac_status); } &&
31186 { ac_try
='test -z "$ac_c_werror_flag"
31187 || test ! -s conftest.err'
31188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31189 (eval $ac_try) 2>&5
31191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31192 (exit $ac_status); }; } &&
31193 { ac_try
='test -s conftest.$ac_objext'
31194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31195 (eval $ac_try) 2>&5
31197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31198 (exit $ac_status); }; }; then
31199 eval "$as_ac_Header=yes"
31201 echo "$as_me: failed program was:" >&5
31202 sed 's/^/| /' conftest.
$ac_ext >&5
31204 eval "$as_ac_Header=no"
31206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31211 cat >>confdefs.h
<<_ACEOF
31212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31215 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31222 echo "$as_me:$LINENO: result: no" >&5
31223 echo "${ECHO_T}no" >&6
31227 echo "$as_me:$LINENO: result: no" >&5
31228 echo "${ECHO_T}no" >&6
31229 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31230 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31233 elif test "$wxUSE_MSW" = 1; then
31236 for ac_header
in multimon.h ddraw.h
31238 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31239 echo "$as_me:$LINENO: checking for $ac_header" >&5
31240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31242 echo $ECHO_N "(cached) $ECHO_C" >&6
31244 cat >conftest.
$ac_ext <<_ACEOF
31247 cat confdefs.h
>>conftest.
$ac_ext
31248 cat >>conftest.
$ac_ext <<_ACEOF
31249 /* end confdefs.h. */
31250 #include <windows.h>
31252 #include <$ac_header>
31254 rm -f conftest.
$ac_objext
31255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31256 (eval $ac_compile) 2>conftest.er1
31258 grep -v '^ *+' conftest.er1
>conftest.err
31260 cat conftest.err
>&5
31261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31262 (exit $ac_status); } &&
31263 { ac_try
='test -z "$ac_c_werror_flag"
31264 || test ! -s conftest.err'
31265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31266 (eval $ac_try) 2>&5
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); }; } &&
31270 { ac_try
='test -s conftest.$ac_objext'
31271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31272 (eval $ac_try) 2>&5
31274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31275 (exit $ac_status); }; }; then
31276 eval "$as_ac_Header=yes"
31278 echo "$as_me: failed program was:" >&5
31279 sed 's/^/| /' conftest.
$ac_ext >&5
31281 eval "$as_ac_Header=no"
31283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31288 cat >>confdefs.h
<<_ACEOF
31289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31295 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
31296 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
31307 if test "$wxUSE_OPENGL" = "yes"; then
31308 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31309 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31310 elif test "$wxUSE_MSW" = 1; then
31311 OPENGL_LIBS
="-lopengl32 -lglu32"
31316 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31318 if test -f "$ac_dir/GL/gl.h"; then
31319 ac_find_includes
=$ac_dir
31324 if test "$ac_find_includes" != "" ; then
31325 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31326 echo "${ECHO_T}found in $ac_find_includes" >&6
31328 if test "x$ac_find_includes" = "x/usr/include"; then
31329 ac_path_to_include
=""
31331 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31333 if test $result = 0; then
31334 ac_path_to_include
=""
31336 ac_path_to_include
=" -I$ac_find_includes"
31340 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31343 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31344 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31345 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31346 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31347 echo $ECHO_N "(cached) $ECHO_C" >&6
31349 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31350 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31352 # Is the header compilable?
31353 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31354 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31355 cat >conftest.
$ac_ext <<_ACEOF
31358 cat confdefs.h
>>conftest.
$ac_ext
31359 cat >>conftest.
$ac_ext <<_ACEOF
31360 /* end confdefs.h. */
31361 $ac_includes_default
31364 rm -f conftest.
$ac_objext
31365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31366 (eval $ac_compile) 2>conftest.er1
31368 grep -v '^ *+' conftest.er1
>conftest.err
31370 cat conftest.err
>&5
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); } &&
31373 { ac_try
='test -z "$ac_c_werror_flag"
31374 || test ! -s conftest.err'
31375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31376 (eval $ac_try) 2>&5
31378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31379 (exit $ac_status); }; } &&
31380 { ac_try
='test -s conftest.$ac_objext'
31381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31382 (eval $ac_try) 2>&5
31384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385 (exit $ac_status); }; }; then
31386 ac_header_compiler
=yes
31388 echo "$as_me: failed program was:" >&5
31389 sed 's/^/| /' conftest.
$ac_ext >&5
31391 ac_header_compiler
=no
31393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31395 echo "${ECHO_T}$ac_header_compiler" >&6
31397 # Is the header present?
31398 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31399 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31400 cat >conftest.
$ac_ext <<_ACEOF
31403 cat confdefs.h
>>conftest.
$ac_ext
31404 cat >>conftest.
$ac_ext <<_ACEOF
31405 /* end confdefs.h. */
31408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31409 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31411 grep -v '^ *+' conftest.er1
>conftest.err
31413 cat conftest.err
>&5
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); } >/dev
/null
; then
31416 if test -s conftest.err
; then
31417 ac_cpp_err
=$ac_c_preproc_warn_flag
31418 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31425 if test -z "$ac_cpp_err"; then
31426 ac_header_preproc
=yes
31428 echo "$as_me: failed program was:" >&5
31429 sed 's/^/| /' conftest.
$ac_ext >&5
31431 ac_header_preproc
=no
31433 rm -f conftest.err conftest.
$ac_ext
31434 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31435 echo "${ECHO_T}$ac_header_preproc" >&6
31437 # So? What about this header?
31438 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31440 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31441 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31442 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31443 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31444 ac_header_preproc
=yes
31447 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31448 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31449 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31450 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31451 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31452 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31453 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31454 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31455 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31456 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31457 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31458 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31461 ## ----------------------------------------- ##
31462 ## Report this to wx-dev@lists.wxwidgets.org ##
31463 ## ----------------------------------------- ##
31466 sed "s/^/$as_me: WARNING: /" >&2
31469 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31470 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31471 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31472 echo $ECHO_N "(cached) $ECHO_C" >&6
31474 ac_cv_header_GL_gl_h
=$ac_header_preproc
31476 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31477 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31480 if test $ac_cv_header_GL_gl_h = yes; then
31484 echo "$as_me:$LINENO: checking for -lGL" >&5
31485 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31488 for ac_dir
in $SEARCH_LIB;
31490 for ac_extension
in a so sl dylib dll.a
; do
31491 if test -f "$ac_dir/libGL.$ac_extension"; then
31492 ac_find_libraries
=$ac_dir
31498 if test "$ac_find_libraries" != "" ; then
31499 echo "$as_me:$LINENO: result: yes" >&5
31500 echo "${ECHO_T}yes" >&6
31503 if test "$ac_find_libraries" = "default location"; then
31506 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31508 if test $result = 0; then
31511 ac_path_to_link
=" -L$ac_find_libraries"
31515 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31516 LDFLAGS_GL
="$ac_path_to_link"
31519 echo "$as_me:$LINENO: checking for -lGLU" >&5
31520 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31523 for ac_dir
in $SEARCH_LIB;
31525 for ac_extension
in a so sl dylib dll.a
; do
31526 if test -f "$ac_dir/libGLU.$ac_extension"; then
31527 ac_find_libraries
=$ac_dir
31533 if test "$ac_find_libraries" != "" ; then
31535 if test "$ac_find_libraries" = "default location"; then
31538 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31540 if test $result = 0; then
31543 ac_path_to_link
=" -L$ac_find_libraries"
31547 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31548 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31549 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31553 OPENGL_LIBS
="-lGL -lGLU"
31554 echo "$as_me:$LINENO: result: yes" >&5
31555 echo "${ECHO_T}yes" >&6
31557 echo "$as_me:$LINENO: result: no" >&5
31558 echo "${ECHO_T}no" >&6
31561 echo "$as_me:$LINENO: result: no" >&5
31562 echo "${ECHO_T}no" >&6
31565 if test "$found_gl" != 1; then
31566 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31567 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31570 for ac_dir
in $SEARCH_LIB;
31572 for ac_extension
in a so sl dylib dll.a
; do
31573 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31574 ac_find_libraries
=$ac_dir
31580 if test "$ac_find_libraries" != "" ; then
31582 if test "$ac_find_libraries" = "default location"; then
31585 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31587 if test $result = 0; then
31590 ac_path_to_link
=" -L$ac_find_libraries"
31594 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31595 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31596 echo "$as_me:$LINENO: result: yes" >&5
31597 echo "${ECHO_T}yes" >&6
31599 echo "$as_me:$LINENO: result: no" >&5
31600 echo "${ECHO_T}no" >&6
31608 if test "x$OPENGL_LIBS" = "x"; then
31609 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31610 echo "$as_me: error: OpenGL libraries not available" >&2;}
31611 { (exit 1); exit 1; }; }
31615 if test "$wxUSE_OPENGL" = "yes"; then
31617 cat >>confdefs.h
<<\_ACEOF
31618 #define wxUSE_OPENGL 1
31621 cat >>confdefs.h
<<\_ACEOF
31622 #define wxUSE_GLCANVAS 1
31625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31630 if test -n "$TOOLKIT" ; then
31631 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31636 if test "$wxUSE_SHARED" = "yes"; then
31640 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31641 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31646 if test "$wxUSE_SHARED" = "yes"; then
31649 found_versioning
=no
31652 if test $found_versioning = no
; then
31653 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31654 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31655 if test "${wx_cv_version_script+set}" = set; then
31656 echo $ECHO_N "(cached) $ECHO_C" >&6
31659 echo "VER_1 { *; };" >conftest.sym
31660 echo "int main() { return 0; }" >conftest.cpp
31663 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31664 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31666 (eval $ac_try) 2>&5
31668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 (exit $ac_status); }; } ; then
31670 if test -s conftest.stderr
; then
31671 wx_cv_version_script
=no
31673 wx_cv_version_script
=yes
31676 wx_cv_version_script
=no
31679 if test $wx_cv_version_script = yes
31681 echo "struct B { virtual ~B() { } }; \
31682 struct D : public B { }; \
31683 void F() { D d; }" > conftest.cpp
31686 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31687 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31689 (eval $ac_try) 2>&5
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); }; } &&
31694 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31695 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697 (eval $ac_try) 2>&5
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; }
31703 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31704 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31706 (eval $ac_try) 2>&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; }
31711 wx_cv_version_script
=yes
31713 wx_cv_version_script
=no
31718 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31719 rm -f conftest1.output conftest2.output conftest3.output
31722 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31723 echo "${ECHO_T}$wx_cv_version_script" >&6
31724 if test $wx_cv_version_script = yes ; then
31725 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31731 *-*-linux* | *-*-gnu* )
31732 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31733 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31737 if test "$GCC" = yes ; then
31738 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
31740 saveLdflags
="$LDFLAGS"
31741 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31742 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31743 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31744 cat >conftest.
$ac_ext <<_ACEOF
31747 cat confdefs.h
>>conftest.
$ac_ext
31748 cat >>conftest.
$ac_ext <<_ACEOF
31749 /* end confdefs.h. */
31759 rm -f conftest.
$ac_objext conftest
$ac_exeext
31760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31761 (eval $ac_link) 2>conftest.er1
31763 grep -v '^ *+' conftest.er1
>conftest.err
31765 cat conftest.err
>&5
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); } &&
31768 { ac_try
='test -z "$ac_c_werror_flag"
31769 || test ! -s conftest.err'
31770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31771 (eval $ac_try) 2>&5
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); }; } &&
31775 { ac_try
='test -s conftest$ac_exeext'
31776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31777 (eval $ac_try) 2>&5
31779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780 (exit $ac_status); }; }; then
31782 echo "$as_me:$LINENO: result: yes" >&5
31783 echo "${ECHO_T}yes" >&6
31784 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31785 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31788 echo "$as_me: failed program was:" >&5
31789 sed 's/^/| /' conftest.
$ac_ext >&5
31792 echo "$as_me:$LINENO: result: no" >&5
31793 echo "${ECHO_T}no" >&6
31794 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31795 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31796 LDFLAGS
="$saveLdflags -Wl,-R,/"
31797 cat >conftest.
$ac_ext <<_ACEOF
31800 cat confdefs.h
>>conftest.
$ac_ext
31801 cat >>conftest.
$ac_ext <<_ACEOF
31802 /* end confdefs.h. */
31812 rm -f conftest.
$ac_objext conftest
$ac_exeext
31813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31814 (eval $ac_link) 2>conftest.er1
31816 grep -v '^ *+' conftest.er1
>conftest.err
31818 cat conftest.err
>&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); } &&
31821 { ac_try
='test -z "$ac_c_werror_flag"
31822 || test ! -s conftest.err'
31823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31824 (eval $ac_try) 2>&5
31826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31827 (exit $ac_status); }; } &&
31828 { ac_try
='test -s conftest$ac_exeext'
31829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31830 (eval $ac_try) 2>&5
31832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31833 (exit $ac_status); }; }; then
31835 echo "$as_me:$LINENO: result: yes" >&5
31836 echo "${ECHO_T}yes" >&6
31837 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
31838 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
31841 echo "$as_me: failed program was:" >&5
31842 sed 's/^/| /' conftest.
$ac_ext >&5
31845 echo "$as_me:$LINENO: result: no" >&5
31846 echo "${ECHO_T}no" >&6
31849 rm -f conftest.err conftest.
$ac_objext \
31850 conftest
$ac_exeext conftest.
$ac_ext
31853 rm -f conftest.err conftest.
$ac_objext \
31854 conftest
$ac_exeext conftest.
$ac_ext
31855 LDFLAGS
="$saveLdflags"
31857 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31858 WXCONFIG_RPATH
="-R\$libdir"
31863 install_name_tool
=`which install_name_tool`
31864 if test "$install_name_tool" -a -x "$install_name_tool"; then
31865 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31866 cat <<EOF >change-install-names
31868 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31869 inst_cmd="install_name_tool "
31870 for i in \${libnames} ; do
31871 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31875 chmod +x change
-install-names
31879 *-*-cygwin* | *-*-mingw32* )
31880 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
31884 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31885 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31890 if test $wxUSE_RPATH = "no"; then
31891 SAMPLES_RPATH_FLAG
=''
31892 SAMPLES_RPATH_POSTLINK
=''
31900 config_linkage_component
="-static"
31907 lib_unicode_suffix
=
31909 if test "$wxUSE_UNICODE" = "yes"; then
31910 lib_unicode_suffix
=u
31911 WX_CHARTYPE
="unicode"
31916 WX_DEBUGTYPE
="release"
31918 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31920 WX_DEBUGTYPE
="debug"
31924 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
31925 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
31928 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31932 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31934 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31936 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31938 if test "$cross_compiling" = "yes"; then
31939 HOST_SUFFIX
="-$host_alias"
31940 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
31941 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
31944 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31945 if test "${TOOLKIT_DIR}" = "os2"; then
31946 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31948 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31953 if test "$wxUSE_COCOA" = 1; then
31957 ac_cpp
='$CPP $CPPFLAGS'
31958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31964 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31965 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31966 cat >conftest.
$ac_ext <<_ACEOF
31969 cat confdefs.h
>>conftest.
$ac_ext
31970 cat >>conftest.
$ac_ext <<_ACEOF
31971 /* end confdefs.h. */
31972 #include <AppKit/NSEvent.h>
31973 #include <CoreFoundation/CoreFoundation.h>
31983 rm -f conftest.
$ac_objext
31984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31985 (eval $ac_compile) 2>conftest.er1
31987 grep -v '^ *+' conftest.er1
>conftest.err
31989 cat conftest.err
>&5
31990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991 (exit $ac_status); } &&
31992 { ac_try
='test -z "$ac_c_werror_flag"
31993 || test ! -s conftest.err'
31994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31995 (eval $ac_try) 2>&5
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); }; } &&
31999 { ac_try
='test -s conftest.$ac_objext'
32000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32001 (eval $ac_try) 2>&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); }; }; then
32005 echo "$as_me:$LINENO: result: no" >&5
32006 echo "${ECHO_T}no" >&6
32008 echo "$as_me: failed program was:" >&5
32009 sed 's/^/| /' conftest.
$ac_ext >&5
32011 echo "$as_me:$LINENO: result: yes" >&5
32012 echo "${ECHO_T}yes" >&6
32013 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32014 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32015 cat >conftest.
$ac_ext <<_ACEOF
32018 cat confdefs.h
>>conftest.
$ac_ext
32019 cat >>conftest.
$ac_ext <<_ACEOF
32020 /* end confdefs.h. */
32021 #define __Point__ 1
32022 #include <AppKit/NSEvent.h>
32023 #include <CoreFoundation/CoreFoundation.h>
32033 rm -f conftest.
$ac_objext
32034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32035 (eval $ac_compile) 2>conftest.er1
32037 grep -v '^ *+' conftest.er1
>conftest.err
32039 cat conftest.err
>&5
32040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041 (exit $ac_status); } &&
32042 { ac_try
='test -z "$ac_c_werror_flag"
32043 || test ! -s conftest.err'
32044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32045 (eval $ac_try) 2>&5
32047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32048 (exit $ac_status); }; } &&
32049 { ac_try
='test -s conftest.$ac_objext'
32050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32051 (eval $ac_try) 2>&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); }; }; then
32055 echo "$as_me:$LINENO: result: yes" >&5
32056 echo "${ECHO_T}yes" >&6
32057 cat >>confdefs.h
<<\_ACEOF
32058 #define __Point__ 1
32063 echo "$as_me: failed program was:" >&5
32064 sed 's/^/| /' conftest.
$ac_ext >&5
32066 { { echo "$as_me:$LINENO: error: no
32067 See \`config.log' for more details." >&5
32068 echo "$as_me: error: no
32069 See \`config.log' for more details." >&2;}
32070 { (exit 1); exit 1; }; }
32073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32078 ac_cpp
='$CPP $CPPFLAGS'
32079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32085 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32086 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32087 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32089 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32091 # Extract the first word of "Rez", so it can be a program name with args.
32092 set dummy Rez
; ac_word
=$2
32093 echo "$as_me:$LINENO: checking for $ac_word" >&5
32094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32095 if test "${ac_cv_prog_REZ+set}" = set; then
32096 echo $ECHO_N "(cached) $ECHO_C" >&6
32098 if test -n "$REZ"; then
32099 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32102 for as_dir
in $PATH
32105 test -z "$as_dir" && as_dir
=.
32106 for ac_exec_ext
in '' $ac_executable_extensions; do
32107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32108 ac_cv_prog_REZ
="Rez"
32109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32115 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32118 REZ
=$ac_cv_prog_REZ
32119 if test -n "$REZ"; then
32120 echo "$as_me:$LINENO: result: $REZ" >&5
32121 echo "${ECHO_T}$REZ" >&6
32123 echo "$as_me:$LINENO: result: no" >&5
32124 echo "${ECHO_T}no" >&6
32127 # Extract the first word of "DeRez", so it can be a program name with args.
32128 set dummy DeRez
; ac_word
=$2
32129 echo "$as_me:$LINENO: checking for $ac_word" >&5
32130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32131 if test "${ac_cv_prog_DEREZ+set}" = set; then
32132 echo $ECHO_N "(cached) $ECHO_C" >&6
32134 if test -n "$DEREZ"; then
32135 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32138 for as_dir
in $PATH
32141 test -z "$as_dir" && as_dir
=.
32142 for ac_exec_ext
in '' $ac_executable_extensions; do
32143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32144 ac_cv_prog_DEREZ
="DeRez"
32145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32151 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32154 DEREZ
=$ac_cv_prog_DEREZ
32155 if test -n "$DEREZ"; then
32156 echo "$as_me:$LINENO: result: $DEREZ" >&5
32157 echo "${ECHO_T}$DEREZ" >&6
32159 echo "$as_me:$LINENO: result: no" >&5
32160 echo "${ECHO_T}no" >&6
32163 # Extract the first word of "SetFile", so it can be a program name with args.
32164 set dummy SetFile
; ac_word
=$2
32165 echo "$as_me:$LINENO: checking for $ac_word" >&5
32166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32167 if test "${ac_cv_prog_SETFILE+set}" = set; then
32168 echo $ECHO_N "(cached) $ECHO_C" >&6
32170 if test -n "$SETFILE"; then
32171 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32174 for as_dir
in $PATH
32177 test -z "$as_dir" && as_dir
=.
32178 for ac_exec_ext
in '' $ac_executable_extensions; do
32179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32180 ac_cv_prog_SETFILE
="SetFile"
32181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32187 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32190 SETFILE
=$ac_cv_prog_SETFILE
32191 if test -n "$SETFILE"; then
32192 echo "$as_me:$LINENO: result: $SETFILE" >&5
32193 echo "${ECHO_T}$SETFILE" >&6
32195 echo "$as_me:$LINENO: result: no" >&5
32196 echo "${ECHO_T}no" >&6
32200 MACSETFILE
="\$(SETFILE)"
32202 if test "$wxUSE_MAC" = 1; then
32203 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32205 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32207 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32208 RESCOMP
="echo -n \| $REZ"
32209 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32215 if test "$wxUSE_PM" = 1; then
32217 WXCONFIG_RESFLAGS
="-ep"
32219 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32221 POSTLINK_COMMAND
="@true"
32228 echo "$as_me:$LINENO: checking for mode_t" >&5
32229 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32230 if test "${ac_cv_type_mode_t+set}" = set; then
32231 echo $ECHO_N "(cached) $ECHO_C" >&6
32233 cat >conftest.
$ac_ext <<_ACEOF
32236 cat confdefs.h
>>conftest.
$ac_ext
32237 cat >>conftest.
$ac_ext <<_ACEOF
32238 /* end confdefs.h. */
32239 $ac_includes_default
32245 if (sizeof (mode_t))
32251 rm -f conftest.
$ac_objext
32252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32253 (eval $ac_compile) 2>conftest.er1
32255 grep -v '^ *+' conftest.er1
>conftest.err
32257 cat conftest.err
>&5
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); } &&
32260 { ac_try
='test -z "$ac_c_werror_flag"
32261 || test ! -s conftest.err'
32262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32263 (eval $ac_try) 2>&5
32265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32266 (exit $ac_status); }; } &&
32267 { ac_try
='test -s conftest.$ac_objext'
32268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32269 (eval $ac_try) 2>&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); }; }; then
32273 ac_cv_type_mode_t
=yes
32275 echo "$as_me: failed program was:" >&5
32276 sed 's/^/| /' conftest.
$ac_ext >&5
32278 ac_cv_type_mode_t
=no
32280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32282 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32283 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32284 if test $ac_cv_type_mode_t = yes; then
32288 cat >>confdefs.h
<<_ACEOF
32294 echo "$as_me:$LINENO: checking for off_t" >&5
32295 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32296 if test "${ac_cv_type_off_t+set}" = set; then
32297 echo $ECHO_N "(cached) $ECHO_C" >&6
32299 cat >conftest.
$ac_ext <<_ACEOF
32302 cat confdefs.h
>>conftest.
$ac_ext
32303 cat >>conftest.
$ac_ext <<_ACEOF
32304 /* end confdefs.h. */
32305 $ac_includes_default
32311 if (sizeof (off_t))
32317 rm -f conftest.
$ac_objext
32318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32319 (eval $ac_compile) 2>conftest.er1
32321 grep -v '^ *+' conftest.er1
>conftest.err
32323 cat conftest.err
>&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try
='test -z "$ac_c_werror_flag"
32327 || test ! -s conftest.err'
32328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32329 (eval $ac_try) 2>&5
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); }; } &&
32333 { ac_try
='test -s conftest.$ac_objext'
32334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32335 (eval $ac_try) 2>&5
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); }; }; then
32339 ac_cv_type_off_t
=yes
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.
$ac_ext >&5
32344 ac_cv_type_off_t
=no
32346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32348 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32349 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32350 if test $ac_cv_type_off_t = yes; then
32354 cat >>confdefs.h
<<_ACEOF
32360 echo "$as_me:$LINENO: checking for pid_t" >&5
32361 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32362 if test "${ac_cv_type_pid_t+set}" = set; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 cat >conftest.
$ac_ext <<_ACEOF
32368 cat confdefs.h
>>conftest.
$ac_ext
32369 cat >>conftest.
$ac_ext <<_ACEOF
32370 /* end confdefs.h. */
32371 $ac_includes_default
32377 if (sizeof (pid_t))
32383 rm -f conftest.
$ac_objext
32384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32385 (eval $ac_compile) 2>conftest.er1
32387 grep -v '^ *+' conftest.er1
>conftest.err
32389 cat conftest.err
>&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } &&
32392 { ac_try
='test -z "$ac_c_werror_flag"
32393 || test ! -s conftest.err'
32394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32395 (eval $ac_try) 2>&5
32397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32398 (exit $ac_status); }; } &&
32399 { ac_try
='test -s conftest.$ac_objext'
32400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32401 (eval $ac_try) 2>&5
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); }; }; then
32405 ac_cv_type_pid_t
=yes
32407 echo "$as_me: failed program was:" >&5
32408 sed 's/^/| /' conftest.
$ac_ext >&5
32410 ac_cv_type_pid_t
=no
32412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32414 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32415 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32416 if test $ac_cv_type_pid_t = yes; then
32420 cat >>confdefs.h
<<_ACEOF
32426 echo "$as_me:$LINENO: checking for size_t" >&5
32427 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32428 if test "${ac_cv_type_size_t+set}" = set; then
32429 echo $ECHO_N "(cached) $ECHO_C" >&6
32431 cat >conftest.
$ac_ext <<_ACEOF
32434 cat confdefs.h
>>conftest.
$ac_ext
32435 cat >>conftest.
$ac_ext <<_ACEOF
32436 /* end confdefs.h. */
32437 $ac_includes_default
32443 if (sizeof (size_t))
32449 rm -f conftest.
$ac_objext
32450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32451 (eval $ac_compile) 2>conftest.er1
32453 grep -v '^ *+' conftest.er1
>conftest.err
32455 cat conftest.err
>&5
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); } &&
32458 { ac_try
='test -z "$ac_c_werror_flag"
32459 || test ! -s conftest.err'
32460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32461 (eval $ac_try) 2>&5
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); }; } &&
32465 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
32471 ac_cv_type_size_t
=yes
32473 echo "$as_me: failed program was:" >&5
32474 sed 's/^/| /' conftest.
$ac_ext >&5
32476 ac_cv_type_size_t
=no
32478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32480 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32481 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32482 if test $ac_cv_type_size_t = yes; then
32486 cat >>confdefs.h
<<_ACEOF
32487 #define size_t unsigned
32492 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32493 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32494 if test "${ac_cv_type_uid_t+set}" = set; then
32495 echo $ECHO_N "(cached) $ECHO_C" >&6
32497 cat >conftest.
$ac_ext <<_ACEOF
32500 cat confdefs.h
>>conftest.
$ac_ext
32501 cat >>conftest.
$ac_ext <<_ACEOF
32502 /* end confdefs.h. */
32503 #include <sys/types.h>
32506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32507 $EGREP "uid_t" >/dev
/null
2>&1; then
32508 ac_cv_type_uid_t
=yes
32510 ac_cv_type_uid_t
=no
32515 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32516 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32517 if test $ac_cv_type_uid_t = no
; then
32519 cat >>confdefs.h
<<\_ACEOF
32524 cat >>confdefs.h
<<\_ACEOF
32531 echo "$as_me:$LINENO: checking for ssize_t" >&5
32532 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32533 if test "${ac_cv_type_ssize_t+set}" = set; then
32534 echo $ECHO_N "(cached) $ECHO_C" >&6
32536 cat >conftest.
$ac_ext <<_ACEOF
32539 cat confdefs.h
>>conftest.
$ac_ext
32540 cat >>conftest.
$ac_ext <<_ACEOF
32541 /* end confdefs.h. */
32542 $ac_includes_default
32548 if (sizeof (ssize_t))
32554 rm -f conftest.
$ac_objext
32555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32556 (eval $ac_compile) 2>conftest.er1
32558 grep -v '^ *+' conftest.er1
>conftest.err
32560 cat conftest.err
>&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); } &&
32563 { ac_try
='test -z "$ac_c_werror_flag"
32564 || test ! -s conftest.err'
32565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32566 (eval $ac_try) 2>&5
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); }; } &&
32570 { ac_try
='test -s conftest.$ac_objext'
32571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32572 (eval $ac_try) 2>&5
32574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575 (exit $ac_status); }; }; then
32576 ac_cv_type_ssize_t
=yes
32578 echo "$as_me: failed program was:" >&5
32579 sed 's/^/| /' conftest.
$ac_ext >&5
32581 ac_cv_type_ssize_t
=no
32583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32585 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32586 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32587 if test $ac_cv_type_ssize_t = yes; then
32589 cat >>confdefs.h
<<_ACEOF
32590 #define HAVE_SSIZE_T 1
32598 ac_cpp
='$CXXCPP $CPPFLAGS'
32599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32603 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32604 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32605 if test "${wx_cv_size_t_is_uint+set}" = set; then
32606 echo $ECHO_N "(cached) $ECHO_C" >&6
32609 cat >conftest.
$ac_ext <<_ACEOF
32612 cat confdefs.h
>>conftest.
$ac_ext
32613 cat >>conftest.
$ac_ext <<_ACEOF
32614 /* end confdefs.h. */
32615 #include <stddef.h>
32622 struct Foo { void foo(size_t); void foo(unsigned int); };
32630 rm -f conftest.
$ac_objext
32631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32632 (eval $ac_compile) 2>conftest.er1
32634 grep -v '^ *+' conftest.er1
>conftest.err
32636 cat conftest.err
>&5
32637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32638 (exit $ac_status); } &&
32639 { ac_try
='test -z "$ac_cxx_werror_flag"
32640 || test ! -s conftest.err'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; } &&
32646 { ac_try
='test -s conftest.$ac_objext'
32647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32648 (eval $ac_try) 2>&5
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); }; }; then
32652 wx_cv_size_t_is_uint
=no
32654 echo "$as_me: failed program was:" >&5
32655 sed 's/^/| /' conftest.
$ac_ext >&5
32657 wx_cv_size_t_is_uint
=yes
32660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32664 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32665 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32667 if test "$wx_cv_size_t_is_uint" = "yes"; then
32668 cat >>confdefs.h
<<\_ACEOF
32669 #define wxSIZE_T_IS_UINT 1
32673 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32674 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32675 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32676 echo $ECHO_N "(cached) $ECHO_C" >&6
32678 cat >conftest.
$ac_ext <<_ACEOF
32681 cat confdefs.h
>>conftest.
$ac_ext
32682 cat >>conftest.
$ac_ext <<_ACEOF
32683 /* end confdefs.h. */
32684 #include <stddef.h>
32691 struct Foo { void foo(size_t); void foo(unsigned long); };
32699 rm -f conftest.
$ac_objext
32700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32701 (eval $ac_compile) 2>conftest.er1
32703 grep -v '^ *+' conftest.er1
>conftest.err
32705 cat conftest.err
>&5
32706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707 (exit $ac_status); } &&
32708 { ac_try
='test -z "$ac_cxx_werror_flag"
32709 || test ! -s conftest.err'
32710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32711 (eval $ac_try) 2>&5
32713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32714 (exit $ac_status); }; } &&
32715 { ac_try
='test -s conftest.$ac_objext'
32716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32717 (eval $ac_try) 2>&5
32719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32720 (exit $ac_status); }; }; then
32721 wx_cv_size_t_is_ulong
=no
32723 echo "$as_me: failed program was:" >&5
32724 sed 's/^/| /' conftest.
$ac_ext >&5
32726 wx_cv_size_t_is_ulong
=yes
32729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32732 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32733 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32735 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32736 cat >>confdefs.h
<<\_ACEOF
32737 #define wxSIZE_T_IS_ULONG 1
32744 ac_cpp
='$CPP $CPPFLAGS'
32745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32751 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32752 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32753 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32754 echo $ECHO_N "(cached) $ECHO_C" >&6
32757 cat >conftest.
$ac_ext <<_ACEOF
32760 cat confdefs.h
>>conftest.
$ac_ext
32761 cat >>conftest.
$ac_ext <<_ACEOF
32762 /* end confdefs.h. */
32776 rm -f conftest.
$ac_objext
32777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32778 (eval $ac_compile) 2>conftest.er1
32780 grep -v '^ *+' conftest.er1
>conftest.err
32782 cat conftest.err
>&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); } &&
32785 { ac_try
='test -z "$ac_c_werror_flag"
32786 || test ! -s conftest.err'
32787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32788 (eval $ac_try) 2>&5
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); }; } &&
32792 { ac_try
='test -s conftest.$ac_objext'
32793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32794 (eval $ac_try) 2>&5
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); }; }; then
32799 wx_cv_struct_pw_gecos
=yes
32802 echo "$as_me: failed program was:" >&5
32803 sed 's/^/| /' conftest.
$ac_ext >&5
32806 wx_cv_struct_pw_gecos
=no
32810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32814 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32815 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32817 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32818 cat >>confdefs.h
<<\_ACEOF
32819 #define HAVE_PW_GECOS 1
32825 if test "$wxUSE_WCHAR_T" = "yes"; then
32826 cat >>confdefs.h
<<\_ACEOF
32827 #define wxUSE_WCHAR_T 1
32834 for ac_func
in wcslen
32836 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32837 echo "$as_me:$LINENO: checking for $ac_func" >&5
32838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32839 if eval "test \"\${$as_ac_var+set}\" = set"; then
32840 echo $ECHO_N "(cached) $ECHO_C" >&6
32842 cat >conftest.
$ac_ext <<_ACEOF
32845 cat confdefs.h
>>conftest.
$ac_ext
32846 cat >>conftest.
$ac_ext <<_ACEOF
32847 /* end confdefs.h. */
32848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32850 #define $ac_func innocuous_$ac_func
32852 /* System header to define __stub macros and hopefully few prototypes,
32853 which can conflict with char $ac_func (); below.
32854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32855 <limits.h> exists even on freestanding compilers. */
32858 # include <limits.h>
32860 # include <assert.h>
32865 /* Override any gcc2 internal prototype to avoid an error. */
32870 /* We use char because int might match the return type of a gcc2
32871 builtin and then its argument prototype would still apply. */
32873 /* The GNU C library defines this for functions which it implements
32874 to always fail with ENOSYS. Some functions are actually named
32875 something starting with __ and the normal name is an alias. */
32876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32879 char (*f) () = $ac_func;
32888 return f != $ac_func;
32893 rm -f conftest.
$ac_objext conftest
$ac_exeext
32894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32895 (eval $ac_link) 2>conftest.er1
32897 grep -v '^ *+' conftest.er1
>conftest.err
32899 cat conftest.err
>&5
32900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 (exit $ac_status); } &&
32902 { ac_try
='test -z "$ac_c_werror_flag"
32903 || test ! -s conftest.err'
32904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32905 (eval $ac_try) 2>&5
32907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32908 (exit $ac_status); }; } &&
32909 { ac_try
='test -s conftest$ac_exeext'
32910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32911 (eval $ac_try) 2>&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); }; }; then
32915 eval "$as_ac_var=yes"
32917 echo "$as_me: failed program was:" >&5
32918 sed 's/^/| /' conftest.
$ac_ext >&5
32920 eval "$as_ac_var=no"
32922 rm -f conftest.err conftest.
$ac_objext \
32923 conftest
$ac_exeext conftest.
$ac_ext
32925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32927 if test `eval echo '${'$as_ac_var'}'` = yes; then
32928 cat >>confdefs.h
<<_ACEOF
32929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32936 if test "$WCSLEN_FOUND" = 0; then
32937 if test "$TOOLKIT" = "MSW"; then
32938 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32939 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32940 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32941 echo $ECHO_N "(cached) $ECHO_C" >&6
32943 ac_check_lib_save_LIBS
=$LIBS
32944 LIBS
="-lmsvcrt $LIBS"
32945 cat >conftest.
$ac_ext <<_ACEOF
32948 cat confdefs.h
>>conftest.
$ac_ext
32949 cat >>conftest.
$ac_ext <<_ACEOF
32950 /* end confdefs.h. */
32952 /* Override any gcc2 internal prototype to avoid an error. */
32956 /* We use char because int might match the return type of a gcc2
32957 builtin and then its argument prototype would still apply. */
32967 rm -f conftest.
$ac_objext conftest
$ac_exeext
32968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32969 (eval $ac_link) 2>conftest.er1
32971 grep -v '^ *+' conftest.er1
>conftest.err
32973 cat conftest.err
>&5
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); } &&
32976 { ac_try
='test -z "$ac_c_werror_flag"
32977 || test ! -s conftest.err'
32978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32979 (eval $ac_try) 2>&5
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); }; } &&
32983 { ac_try
='test -s conftest$ac_exeext'
32984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32985 (eval $ac_try) 2>&5
32987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32988 (exit $ac_status); }; }; then
32989 ac_cv_lib_msvcrt_wcslen
=yes
32991 echo "$as_me: failed program was:" >&5
32992 sed 's/^/| /' conftest.
$ac_ext >&5
32994 ac_cv_lib_msvcrt_wcslen
=no
32996 rm -f conftest.err conftest.
$ac_objext \
32997 conftest
$ac_exeext conftest.
$ac_ext
32998 LIBS
=$ac_check_lib_save_LIBS
33000 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33001 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33002 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33007 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33008 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33009 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33010 echo $ECHO_N "(cached) $ECHO_C" >&6
33012 ac_check_lib_save_LIBS
=$LIBS
33014 cat >conftest.
$ac_ext <<_ACEOF
33017 cat confdefs.h
>>conftest.
$ac_ext
33018 cat >>conftest.
$ac_ext <<_ACEOF
33019 /* end confdefs.h. */
33021 /* Override any gcc2 internal prototype to avoid an error. */
33025 /* We use char because int might match the return type of a gcc2
33026 builtin and then its argument prototype would still apply. */
33036 rm -f conftest.
$ac_objext conftest
$ac_exeext
33037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33038 (eval $ac_link) 2>conftest.er1
33040 grep -v '^ *+' conftest.er1
>conftest.err
33042 cat conftest.err
>&5
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); } &&
33045 { ac_try
='test -z "$ac_c_werror_flag"
33046 || test ! -s conftest.err'
33047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33048 (eval $ac_try) 2>&5
33050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33051 (exit $ac_status); }; } &&
33052 { ac_try
='test -s conftest$ac_exeext'
33053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33054 (eval $ac_try) 2>&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); }; }; then
33058 ac_cv_lib_w_wcslen
=yes
33060 echo "$as_me: failed program was:" >&5
33061 sed 's/^/| /' conftest.
$ac_ext >&5
33063 ac_cv_lib_w_wcslen
=no
33065 rm -f conftest.err conftest.
$ac_objext \
33066 conftest
$ac_exeext conftest.
$ac_ext
33067 LIBS
=$ac_check_lib_save_LIBS
33069 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33070 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33071 if test $ac_cv_lib_w_wcslen = yes; then
33081 if test "$WCSLEN_FOUND" = 1; then
33082 cat >>confdefs.h
<<\_ACEOF
33083 #define HAVE_WCSLEN 1
33088 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33089 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33092 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33093 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33094 if test "${ac_cv_type_mbstate_t+set}" = set; then
33095 echo $ECHO_N "(cached) $ECHO_C" >&6
33097 cat >conftest.
$ac_ext <<_ACEOF
33100 cat confdefs.h
>>conftest.
$ac_ext
33101 cat >>conftest.
$ac_ext <<_ACEOF
33102 /* end confdefs.h. */
33108 if ((mbstate_t *) 0)
33110 if (sizeof (mbstate_t))
33116 rm -f conftest.
$ac_objext
33117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33118 (eval $ac_compile) 2>conftest.er1
33120 grep -v '^ *+' conftest.er1
>conftest.err
33122 cat conftest.err
>&5
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); } &&
33125 { ac_try
='test -z "$ac_c_werror_flag"
33126 || test ! -s conftest.err'
33127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33128 (eval $ac_try) 2>&5
33130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131 (exit $ac_status); }; } &&
33132 { ac_try
='test -s conftest.$ac_objext'
33133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33134 (eval $ac_try) 2>&5
33136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33137 (exit $ac_status); }; }; then
33138 ac_cv_type_mbstate_t
=yes
33140 echo "$as_me: failed program was:" >&5
33141 sed 's/^/| /' conftest.
$ac_ext >&5
33143 ac_cv_type_mbstate_t
=no
33145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33147 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33148 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33149 if test $ac_cv_type_mbstate_t = yes; then
33151 cat >>confdefs.h
<<_ACEOF
33152 #define HAVE_MBSTATE_T 1
33156 for ac_func
in wcsrtombs
33158 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33159 echo "$as_me:$LINENO: checking for $ac_func" >&5
33160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33161 if eval "test \"\${$as_ac_var+set}\" = set"; then
33162 echo $ECHO_N "(cached) $ECHO_C" >&6
33164 cat >conftest.
$ac_ext <<_ACEOF
33167 cat confdefs.h
>>conftest.
$ac_ext
33168 cat >>conftest.
$ac_ext <<_ACEOF
33169 /* end confdefs.h. */
33170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33172 #define $ac_func innocuous_$ac_func
33174 /* System header to define __stub macros and hopefully few prototypes,
33175 which can conflict with char $ac_func (); below.
33176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33177 <limits.h> exists even on freestanding compilers. */
33180 # include <limits.h>
33182 # include <assert.h>
33187 /* Override any gcc2 internal prototype to avoid an error. */
33192 /* We use char because int might match the return type of a gcc2
33193 builtin and then its argument prototype would still apply. */
33195 /* The GNU C library defines this for functions which it implements
33196 to always fail with ENOSYS. Some functions are actually named
33197 something starting with __ and the normal name is an alias. */
33198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33201 char (*f) () = $ac_func;
33210 return f != $ac_func;
33215 rm -f conftest.
$ac_objext conftest
$ac_exeext
33216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33217 (eval $ac_link) 2>conftest.er1
33219 grep -v '^ *+' conftest.er1
>conftest.err
33221 cat conftest.err
>&5
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); } &&
33224 { ac_try
='test -z "$ac_c_werror_flag"
33225 || test ! -s conftest.err'
33226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33227 (eval $ac_try) 2>&5
33229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230 (exit $ac_status); }; } &&
33231 { ac_try
='test -s conftest$ac_exeext'
33232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33233 (eval $ac_try) 2>&5
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); }; }; then
33237 eval "$as_ac_var=yes"
33239 echo "$as_me: failed program was:" >&5
33240 sed 's/^/| /' conftest.
$ac_ext >&5
33242 eval "$as_ac_var=no"
33244 rm -f conftest.err conftest.
$ac_objext \
33245 conftest
$ac_exeext conftest.
$ac_ext
33247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33249 if test `eval echo '${'$as_ac_var'}'` = yes; then
33250 cat >>confdefs.h
<<_ACEOF
33251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33260 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33261 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33265 ac_cpp
='$CXXCPP $CPPFLAGS'
33266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33273 for ac_func
in snprintf vsnprintf
33275 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33276 echo "$as_me:$LINENO: checking for $ac_func" >&5
33277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33278 if eval "test \"\${$as_ac_var+set}\" = set"; then
33279 echo $ECHO_N "(cached) $ECHO_C" >&6
33281 cat >conftest.
$ac_ext <<_ACEOF
33284 cat confdefs.h
>>conftest.
$ac_ext
33285 cat >>conftest.
$ac_ext <<_ACEOF
33286 /* end confdefs.h. */
33287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33289 #define $ac_func innocuous_$ac_func
33291 /* System header to define __stub macros and hopefully few prototypes,
33292 which can conflict with char $ac_func (); below.
33293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33294 <limits.h> exists even on freestanding compilers. */
33297 # include <limits.h>
33299 # include <assert.h>
33304 /* Override any gcc2 internal prototype to avoid an error. */
33309 /* We use char because int might match the return type of a gcc2
33310 builtin and then its argument prototype would still apply. */
33312 /* The GNU C library defines this for functions which it implements
33313 to always fail with ENOSYS. Some functions are actually named
33314 something starting with __ and the normal name is an alias. */
33315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33318 char (*f) () = $ac_func;
33327 return f != $ac_func;
33332 rm -f conftest.
$ac_objext conftest
$ac_exeext
33333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33334 (eval $ac_link) 2>conftest.er1
33336 grep -v '^ *+' conftest.er1
>conftest.err
33338 cat conftest.err
>&5
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); } &&
33341 { ac_try
='test -z "$ac_cxx_werror_flag"
33342 || test ! -s conftest.err'
33343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33344 (eval $ac_try) 2>&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); }; } &&
33348 { ac_try
='test -s conftest$ac_exeext'
33349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33350 (eval $ac_try) 2>&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; }; then
33354 eval "$as_ac_var=yes"
33356 echo "$as_me: failed program was:" >&5
33357 sed 's/^/| /' conftest.
$ac_ext >&5
33359 eval "$as_ac_var=no"
33361 rm -f conftest.err conftest.
$ac_objext \
33362 conftest
$ac_exeext conftest.
$ac_ext
33364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33366 if test `eval echo '${'$as_ac_var'}'` = yes; then
33367 cat >>confdefs.h
<<_ACEOF
33368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33375 if test "$ac_cv_func_vsnprintf" = "yes"; then
33376 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33377 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33378 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33379 echo $ECHO_N "(cached) $ECHO_C" >&6
33382 cat >conftest.
$ac_ext <<_ACEOF
33385 cat confdefs.h
>>conftest.
$ac_ext
33386 cat >>conftest.
$ac_ext <<_ACEOF
33387 /* end confdefs.h. */
33390 #include <stdarg.h>
33392 #if __MSL__ >= 0x6000
33394 using namespace std;
33404 vsnprintf(buf, 10u, "%s", ap);
33410 rm -f conftest.
$ac_objext
33411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33412 (eval $ac_compile) 2>conftest.er1
33414 grep -v '^ *+' conftest.er1
>conftest.err
33416 cat conftest.err
>&5
33417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33418 (exit $ac_status); } &&
33419 { ac_try
='test -z "$ac_cxx_werror_flag"
33420 || test ! -s conftest.err'
33421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33422 (eval $ac_try) 2>&5
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; } &&
33426 { ac_try
='test -s conftest.$ac_objext'
33427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33428 (eval $ac_try) 2>&5
33430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33431 (exit $ac_status); }; }; then
33432 wx_cv_func_vsnprintf_decl
=yes
33434 echo "$as_me: failed program was:" >&5
33435 sed 's/^/| /' conftest.
$ac_ext >&5
33437 wx_cv_func_vsnprintf_decl
=no
33440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33444 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33445 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33447 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33448 cat >>confdefs.h
<<\_ACEOF
33449 #define HAVE_VSNPRINTF_DECL 1
33453 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33454 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33455 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33459 cat >conftest.
$ac_ext <<_ACEOF
33462 cat confdefs.h
>>conftest.
$ac_ext
33463 cat >>conftest.
$ac_ext <<_ACEOF
33464 /* end confdefs.h. */
33467 #include <stdarg.h>
33469 #if __MSL__ >= 0x6000
33471 using namespace std;
33481 const char *fmt = "%s";
33482 vsnprintf(buf, 10u, fmt, ap);
33488 rm -f conftest.
$ac_objext
33489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33490 (eval $ac_compile) 2>conftest.er1
33492 grep -v '^ *+' conftest.er1
>conftest.err
33494 cat conftest.err
>&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); } &&
33497 { ac_try
='test -z "$ac_cxx_werror_flag"
33498 || test ! -s conftest.err'
33499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33500 (eval $ac_try) 2>&5
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); }; } &&
33504 { ac_try
='test -s conftest.$ac_objext'
33505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506 (eval $ac_try) 2>&5
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); }; }; then
33510 wx_cv_func_broken_vsnprintf_decl
=no
33512 echo "$as_me: failed program was:" >&5
33513 sed 's/^/| /' conftest.
$ac_ext >&5
33515 wx_cv_func_broken_vsnprintf_decl
=yes
33518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33522 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33523 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33525 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33526 cat >>confdefs.h
<<\_ACEOF
33527 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33534 if test "$ac_cv_func_snprintf" = "yes"; then
33535 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33536 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33537 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33538 echo $ECHO_N "(cached) $ECHO_C" >&6
33541 cat >conftest.
$ac_ext <<_ACEOF
33544 cat confdefs.h
>>conftest.
$ac_ext
33545 cat >>conftest.
$ac_ext <<_ACEOF
33546 /* end confdefs.h. */
33549 #include <stdarg.h>
33551 #if __MSL__ >= 0x6000
33553 using namespace std;
33562 snprintf(buf, 10u, "%s", "wx");
33568 rm -f conftest.
$ac_objext
33569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33570 (eval $ac_compile) 2>conftest.er1
33572 grep -v '^ *+' conftest.er1
>conftest.err
33574 cat conftest.err
>&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); } &&
33577 { ac_try
='test -z "$ac_cxx_werror_flag"
33578 || test ! -s conftest.err'
33579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33580 (eval $ac_try) 2>&5
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); }; } &&
33584 { ac_try
='test -s conftest.$ac_objext'
33585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33586 (eval $ac_try) 2>&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); }; }; then
33590 wx_cv_func_snprintf_decl
=yes
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.
$ac_ext >&5
33595 wx_cv_func_snprintf_decl
=no
33598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33602 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33603 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33605 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33606 cat >>confdefs.h
<<\_ACEOF
33607 #define HAVE_SNPRINTF_DECL 1
33611 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33612 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33613 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33614 echo $ECHO_N "(cached) $ECHO_C" >&6
33617 cat >conftest.
$ac_ext <<_ACEOF
33620 cat confdefs.h
>>conftest.
$ac_ext
33621 cat >>conftest.
$ac_ext <<_ACEOF
33622 /* end confdefs.h. */
33625 #include <stdarg.h>
33627 #if __MSL__ >= 0x6000
33629 using namespace std;
33638 const char *fmt = "%s";
33639 snprintf(buf, 10u, fmt, "wx");
33645 rm -f conftest.
$ac_objext
33646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33647 (eval $ac_compile) 2>conftest.er1
33649 grep -v '^ *+' conftest.er1
>conftest.err
33651 cat conftest.err
>&5
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); } &&
33654 { ac_try
='test -z "$ac_cxx_werror_flag"
33655 || test ! -s conftest.err'
33656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657 (eval $ac_try) 2>&5
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); }; } &&
33661 { ac_try
='test -s conftest.$ac_objext'
33662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33663 (eval $ac_try) 2>&5
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); }; }; then
33667 wx_cv_func_broken_snprintf_decl
=no
33669 echo "$as_me: failed program was:" >&5
33670 sed 's/^/| /' conftest.
$ac_ext >&5
33672 wx_cv_func_broken_snprintf_decl
=yes
33675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33679 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33680 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33682 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33683 cat >>confdefs.h
<<\_ACEOF
33684 #define HAVE_BROKEN_SNPRINTF_DECL 1
33691 if test "$wxUSE_UNICODE" = yes; then
33698 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33700 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33701 echo "$as_me:$LINENO: checking for $ac_func" >&5
33702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33703 if eval "test \"\${$as_ac_var+set}\" = set"; then
33704 echo $ECHO_N "(cached) $ECHO_C" >&6
33706 cat >conftest.
$ac_ext <<_ACEOF
33709 cat confdefs.h
>>conftest.
$ac_ext
33710 cat >>conftest.
$ac_ext <<_ACEOF
33711 /* end confdefs.h. */
33712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33714 #define $ac_func innocuous_$ac_func
33716 /* System header to define __stub macros and hopefully few prototypes,
33717 which can conflict with char $ac_func (); below.
33718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33719 <limits.h> exists even on freestanding compilers. */
33722 # include <limits.h>
33724 # include <assert.h>
33729 /* Override any gcc2 internal prototype to avoid an error. */
33734 /* We use char because int might match the return type of a gcc2
33735 builtin and then its argument prototype would still apply. */
33737 /* The GNU C library defines this for functions which it implements
33738 to always fail with ENOSYS. Some functions are actually named
33739 something starting with __ and the normal name is an alias. */
33740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33743 char (*f) () = $ac_func;
33752 return f != $ac_func;
33757 rm -f conftest.
$ac_objext conftest
$ac_exeext
33758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33759 (eval $ac_link) 2>conftest.er1
33761 grep -v '^ *+' conftest.er1
>conftest.err
33763 cat conftest.err
>&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); } &&
33766 { ac_try
='test -z "$ac_cxx_werror_flag"
33767 || test ! -s conftest.err'
33768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33769 (eval $ac_try) 2>&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); }; } &&
33773 { ac_try
='test -s conftest$ac_exeext'
33774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33775 (eval $ac_try) 2>&5
33777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778 (exit $ac_status); }; }; then
33779 eval "$as_ac_var=yes"
33781 echo "$as_me: failed program was:" >&5
33782 sed 's/^/| /' conftest.
$ac_ext >&5
33784 eval "$as_ac_var=no"
33786 rm -f conftest.err conftest.
$ac_objext \
33787 conftest
$ac_exeext conftest.
$ac_ext
33789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33791 if test `eval echo '${'$as_ac_var'}'` = yes; then
33792 cat >>confdefs.h
<<_ACEOF
33793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33800 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33801 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33802 cat >conftest.
$ac_ext <<_ACEOF
33805 cat confdefs.h
>>conftest.
$ac_ext
33806 cat >>conftest.
$ac_ext <<_ACEOF
33807 /* end confdefs.h. */
33817 rm -f conftest.
$ac_objext
33818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33819 (eval $ac_compile) 2>conftest.er1
33821 grep -v '^ *+' conftest.er1
>conftest.err
33823 cat conftest.err
>&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); } &&
33826 { ac_try
='test -z "$ac_cxx_werror_flag"
33827 || test ! -s conftest.err'
33828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33829 (eval $ac_try) 2>&5
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); }; } &&
33833 { ac_try
='test -s conftest.$ac_objext'
33834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33835 (eval $ac_try) 2>&5
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); }; }; then
33839 echo "$as_me:$LINENO: result: yes" >&5
33840 echo "${ECHO_T}yes" >&6
33841 cat >>confdefs.h
<<\_ACEOF
33842 #define HAVE__VSNWPRINTF 1
33846 echo "$as_me: failed program was:" >&5
33847 sed 's/^/| /' conftest.
$ac_ext >&5
33849 echo "$as_me:$LINENO: result: no" >&5
33850 echo "${ECHO_T}no" >&6
33852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33856 ac_cpp
='$CPP $CPPFLAGS'
33857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33862 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33864 for ac_func
in fnmatch
33866 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33867 echo "$as_me:$LINENO: checking for $ac_func" >&5
33868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33869 if eval "test \"\${$as_ac_var+set}\" = set"; then
33870 echo $ECHO_N "(cached) $ECHO_C" >&6
33872 cat >conftest.
$ac_ext <<_ACEOF
33875 cat confdefs.h
>>conftest.
$ac_ext
33876 cat >>conftest.
$ac_ext <<_ACEOF
33877 /* end confdefs.h. */
33878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33880 #define $ac_func innocuous_$ac_func
33882 /* System header to define __stub macros and hopefully few prototypes,
33883 which can conflict with char $ac_func (); below.
33884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33885 <limits.h> exists even on freestanding compilers. */
33888 # include <limits.h>
33890 # include <assert.h>
33895 /* Override any gcc2 internal prototype to avoid an error. */
33900 /* We use char because int might match the return type of a gcc2
33901 builtin and then its argument prototype would still apply. */
33903 /* The GNU C library defines this for functions which it implements
33904 to always fail with ENOSYS. Some functions are actually named
33905 something starting with __ and the normal name is an alias. */
33906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33909 char (*f) () = $ac_func;
33918 return f != $ac_func;
33923 rm -f conftest.
$ac_objext conftest
$ac_exeext
33924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33925 (eval $ac_link) 2>conftest.er1
33927 grep -v '^ *+' conftest.er1
>conftest.err
33929 cat conftest.err
>&5
33930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33931 (exit $ac_status); } &&
33932 { ac_try
='test -z "$ac_c_werror_flag"
33933 || test ! -s conftest.err'
33934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33935 (eval $ac_try) 2>&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); }; } &&
33939 { ac_try
='test -s conftest$ac_exeext'
33940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33941 (eval $ac_try) 2>&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); }; }; then
33945 eval "$as_ac_var=yes"
33947 echo "$as_me: failed program was:" >&5
33948 sed 's/^/| /' conftest.
$ac_ext >&5
33950 eval "$as_ac_var=no"
33952 rm -f conftest.err conftest.
$ac_objext \
33953 conftest
$ac_exeext conftest.
$ac_ext
33955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33957 if test `eval echo '${'$as_ac_var'}'` = yes; then
33958 cat >>confdefs.h
<<_ACEOF
33959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33967 if test "$wxUSE_FILE" = "yes"; then
33969 for ac_func
in fsync
33971 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33972 echo "$as_me:$LINENO: checking for $ac_func" >&5
33973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33974 if eval "test \"\${$as_ac_var+set}\" = set"; then
33975 echo $ECHO_N "(cached) $ECHO_C" >&6
33977 cat >conftest.
$ac_ext <<_ACEOF
33980 cat confdefs.h
>>conftest.
$ac_ext
33981 cat >>conftest.
$ac_ext <<_ACEOF
33982 /* end confdefs.h. */
33983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33985 #define $ac_func innocuous_$ac_func
33987 /* System header to define __stub macros and hopefully few prototypes,
33988 which can conflict with char $ac_func (); below.
33989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33990 <limits.h> exists even on freestanding compilers. */
33993 # include <limits.h>
33995 # include <assert.h>
34000 /* Override any gcc2 internal prototype to avoid an error. */
34005 /* We use char because int might match the return type of a gcc2
34006 builtin and then its argument prototype would still apply. */
34008 /* The GNU C library defines this for functions which it implements
34009 to always fail with ENOSYS. Some functions are actually named
34010 something starting with __ and the normal name is an alias. */
34011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34014 char (*f) () = $ac_func;
34023 return f != $ac_func;
34028 rm -f conftest.
$ac_objext conftest
$ac_exeext
34029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34030 (eval $ac_link) 2>conftest.er1
34032 grep -v '^ *+' conftest.er1
>conftest.err
34034 cat conftest.err
>&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); } &&
34037 { ac_try
='test -z "$ac_c_werror_flag"
34038 || test ! -s conftest.err'
34039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34040 (eval $ac_try) 2>&5
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); }; } &&
34044 { ac_try
='test -s conftest$ac_exeext'
34045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34046 (eval $ac_try) 2>&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); }; }; then
34050 eval "$as_ac_var=yes"
34052 echo "$as_me: failed program was:" >&5
34053 sed 's/^/| /' conftest.
$ac_ext >&5
34055 eval "$as_ac_var=no"
34057 rm -f conftest.err conftest.
$ac_objext \
34058 conftest
$ac_exeext conftest.
$ac_ext
34060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34062 if test `eval echo '${'$as_ac_var'}'` = yes; then
34063 cat >>confdefs.h
<<_ACEOF
34064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34073 if test "$TOOLKIT" != "MSW"; then
34077 ac_cpp
='$CXXCPP $CPPFLAGS'
34078 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34079 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34080 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34085 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34086 if test "${with_libiconv_prefix+set}" = set; then
34087 withval
="$with_libiconv_prefix"
34089 for dir
in `echo "$withval" | tr : ' '`; do
34090 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34091 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34096 echo "$as_me:$LINENO: checking for iconv" >&5
34097 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34098 if test "${am_cv_func_iconv+set}" = set; then
34099 echo $ECHO_N "(cached) $ECHO_C" >&6
34102 am_cv_func_iconv
="no, consider installing GNU libiconv"
34104 cat >conftest.
$ac_ext <<_ACEOF
34107 cat confdefs.h
>>conftest.
$ac_ext
34108 cat >>conftest.
$ac_ext <<_ACEOF
34109 /* end confdefs.h. */
34110 #include <stdlib.h>
34115 iconv_t cd = iconv_open("","");
34116 iconv(cd,NULL,NULL,NULL,NULL);
34122 rm -f conftest.
$ac_objext conftest
$ac_exeext
34123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34124 (eval $ac_link) 2>conftest.er1
34126 grep -v '^ *+' conftest.er1
>conftest.err
34128 cat conftest.err
>&5
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); } &&
34131 { ac_try
='test -z "$ac_cxx_werror_flag"
34132 || test ! -s conftest.err'
34133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34134 (eval $ac_try) 2>&5
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); }; } &&
34138 { ac_try
='test -s conftest$ac_exeext'
34139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34140 (eval $ac_try) 2>&5
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); }; }; then
34144 am_cv_func_iconv
=yes
34146 echo "$as_me: failed program was:" >&5
34147 sed 's/^/| /' conftest.
$ac_ext >&5
34150 rm -f conftest.err conftest.
$ac_objext \
34151 conftest
$ac_exeext conftest.
$ac_ext
34152 if test "$am_cv_func_iconv" != yes; then
34153 am_save_LIBS
="$LIBS"
34154 LIBS
="$LIBS -liconv"
34155 cat >conftest.
$ac_ext <<_ACEOF
34158 cat confdefs.h
>>conftest.
$ac_ext
34159 cat >>conftest.
$ac_ext <<_ACEOF
34160 /* end confdefs.h. */
34161 #include <stdlib.h>
34166 iconv_t cd = iconv_open("","");
34167 iconv(cd,NULL,NULL,NULL,NULL);
34173 rm -f conftest.
$ac_objext conftest
$ac_exeext
34174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34175 (eval $ac_link) 2>conftest.er1
34177 grep -v '^ *+' conftest.er1
>conftest.err
34179 cat conftest.err
>&5
34180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181 (exit $ac_status); } &&
34182 { ac_try
='test -z "$ac_cxx_werror_flag"
34183 || test ! -s conftest.err'
34184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34185 (eval $ac_try) 2>&5
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); }; } &&
34189 { ac_try
='test -s conftest$ac_exeext'
34190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34191 (eval $ac_try) 2>&5
34193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194 (exit $ac_status); }; }; then
34195 am_cv_lib_iconv
=yes
34196 am_cv_func_iconv
=yes
34198 echo "$as_me: failed program was:" >&5
34199 sed 's/^/| /' conftest.
$ac_ext >&5
34202 rm -f conftest.err conftest.
$ac_objext \
34203 conftest
$ac_exeext conftest.
$ac_ext
34204 LIBS
="$am_save_LIBS"
34208 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34209 echo "${ECHO_T}$am_cv_func_iconv" >&6
34210 if test "$am_cv_func_iconv" = yes; then
34212 cat >>confdefs.h
<<\_ACEOF
34213 #define HAVE_ICONV 1
34216 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34217 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34218 if test "${wx_cv_func_iconv_const+set}" = set; then
34219 echo $ECHO_N "(cached) $ECHO_C" >&6
34221 cat >conftest.
$ac_ext <<_ACEOF
34224 cat confdefs.h
>>conftest.
$ac_ext
34225 cat >>conftest.
$ac_ext <<_ACEOF
34226 /* end confdefs.h. */
34228 #include <stdlib.h>
34234 #if defined(__STDC__) || defined(__cplusplus)
34235 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34248 rm -f conftest.
$ac_objext
34249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34250 (eval $ac_compile) 2>conftest.er1
34252 grep -v '^ *+' conftest.er1
>conftest.err
34254 cat conftest.err
>&5
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); } &&
34257 { ac_try
='test -z "$ac_cxx_werror_flag"
34258 || test ! -s conftest.err'
34259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34260 (eval $ac_try) 2>&5
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); }; } &&
34264 { ac_try
='test -s conftest.$ac_objext'
34265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34266 (eval $ac_try) 2>&5
34268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269 (exit $ac_status); }; }; then
34270 wx_cv_func_iconv_const
="no"
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.
$ac_ext >&5
34275 wx_cv_func_iconv_const
="yes"
34278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34281 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34282 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34285 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34286 iconv_const
="const"
34290 cat >>confdefs.h
<<_ACEOF
34291 #define ICONV_CONST $iconv_const
34296 if test "$am_cv_lib_iconv" = yes; then
34301 LIBS
="$LIBICONV $LIBS"
34303 ac_cpp
='$CPP $CPPFLAGS'
34304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34309 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34311 for ac_func
in sigaction
34313 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34314 echo "$as_me:$LINENO: checking for $ac_func" >&5
34315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34316 if eval "test \"\${$as_ac_var+set}\" = set"; then
34317 echo $ECHO_N "(cached) $ECHO_C" >&6
34319 cat >conftest.
$ac_ext <<_ACEOF
34322 cat confdefs.h
>>conftest.
$ac_ext
34323 cat >>conftest.
$ac_ext <<_ACEOF
34324 /* end confdefs.h. */
34325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34327 #define $ac_func innocuous_$ac_func
34329 /* System header to define __stub macros and hopefully few prototypes,
34330 which can conflict with char $ac_func (); below.
34331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34332 <limits.h> exists even on freestanding compilers. */
34335 # include <limits.h>
34337 # include <assert.h>
34342 /* Override any gcc2 internal prototype to avoid an error. */
34347 /* We use char because int might match the return type of a gcc2
34348 builtin and then its argument prototype would still apply. */
34350 /* The GNU C library defines this for functions which it implements
34351 to always fail with ENOSYS. Some functions are actually named
34352 something starting with __ and the normal name is an alias. */
34353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34356 char (*f) () = $ac_func;
34365 return f != $ac_func;
34370 rm -f conftest.
$ac_objext conftest
$ac_exeext
34371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34372 (eval $ac_link) 2>conftest.er1
34374 grep -v '^ *+' conftest.er1
>conftest.err
34376 cat conftest.err
>&5
34377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34378 (exit $ac_status); } &&
34379 { ac_try
='test -z "$ac_c_werror_flag"
34380 || test ! -s conftest.err'
34381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34382 (eval $ac_try) 2>&5
34384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34385 (exit $ac_status); }; } &&
34386 { ac_try
='test -s conftest$ac_exeext'
34387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34388 (eval $ac_try) 2>&5
34390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34391 (exit $ac_status); }; }; then
34392 eval "$as_ac_var=yes"
34394 echo "$as_me: failed program was:" >&5
34395 sed 's/^/| /' conftest.
$ac_ext >&5
34397 eval "$as_ac_var=no"
34399 rm -f conftest.err conftest.
$ac_objext \
34400 conftest
$ac_exeext conftest.
$ac_ext
34402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34404 if test `eval echo '${'$as_ac_var'}'` = yes; then
34405 cat >>confdefs.h
<<_ACEOF
34406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34413 if test "$ac_cv_func_sigaction" = "no"; then
34414 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34415 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34416 wxUSE_ON_FATAL_EXCEPTION
=no
34419 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34421 ac_cpp
='$CXXCPP $CPPFLAGS'
34422 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34423 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34424 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34427 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34428 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34429 if test "${wx_cv_type_sa_handler+set}" = set; then
34430 echo $ECHO_N "(cached) $ECHO_C" >&6
34433 cat >conftest.
$ac_ext <<_ACEOF
34436 cat confdefs.h
>>conftest.
$ac_ext
34437 cat >>conftest.
$ac_ext <<_ACEOF
34438 /* end confdefs.h. */
34439 #include <signal.h>
34444 extern void testSigHandler(int);
34446 struct sigaction sa;
34447 sa.sa_handler = testSigHandler;
34453 rm -f conftest.
$ac_objext
34454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34455 (eval $ac_compile) 2>conftest.er1
34457 grep -v '^ *+' conftest.er1
>conftest.err
34459 cat conftest.err
>&5
34460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34461 (exit $ac_status); } &&
34462 { ac_try
='test -z "$ac_cxx_werror_flag"
34463 || test ! -s conftest.err'
34464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34465 (eval $ac_try) 2>&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); }; } &&
34469 { ac_try
='test -s conftest.$ac_objext'
34470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34471 (eval $ac_try) 2>&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); }; }; then
34476 wx_cv_type_sa_handler
=int
34479 echo "$as_me: failed program was:" >&5
34480 sed 's/^/| /' conftest.
$ac_ext >&5
34483 wx_cv_type_sa_handler
=void
34486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34489 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34490 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34493 ac_cpp
='$CPP $CPPFLAGS'
34494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34499 cat >>confdefs.h
<<_ACEOF
34500 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34506 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34508 ac_cpp
='$CXXCPP $CPPFLAGS'
34509 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34514 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34515 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34516 if test "${wx_cv_func_backtrace+set}" = set; then
34517 echo $ECHO_N "(cached) $ECHO_C" >&6
34520 cat >conftest.
$ac_ext <<_ACEOF
34523 cat confdefs.h
>>conftest.
$ac_ext
34524 cat >>conftest.
$ac_ext <<_ACEOF
34525 /* end confdefs.h. */
34526 #include <execinfo.h>
34534 backtrace(trace, 1);
34535 messages = backtrace_symbols(trace, 1);
34541 rm -f conftest.
$ac_objext
34542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34543 (eval $ac_compile) 2>conftest.er1
34545 grep -v '^ *+' conftest.er1
>conftest.err
34547 cat conftest.err
>&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } &&
34550 { ac_try
='test -z "$ac_cxx_werror_flag"
34551 || test ! -s conftest.err'
34552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34553 (eval $ac_try) 2>&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); }; } &&
34557 { ac_try
='test -s conftest.$ac_objext'
34558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34559 (eval $ac_try) 2>&5
34561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34562 (exit $ac_status); }; }; then
34563 wx_cv_func_backtrace
=yes
34565 echo "$as_me: failed program was:" >&5
34566 sed 's/^/| /' conftest.
$ac_ext >&5
34568 wx_cv_func_backtrace
=no
34571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34575 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34576 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34579 if test "$wx_cv_func_backtrace" = "no"; then
34580 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34581 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34582 wxUSE_STACKWALKER
=no
34584 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34585 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34586 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34590 cat >conftest.
$ac_ext <<_ACEOF
34593 cat confdefs.h
>>conftest.
$ac_ext
34594 cat >>conftest.
$ac_ext <<_ACEOF
34595 /* end confdefs.h. */
34596 #include <cxxabi.h>
34602 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34608 rm -f conftest.
$ac_objext conftest
$ac_exeext
34609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34610 (eval $ac_link) 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_cxx_werror_flag"
34618 || test ! -s conftest.err'
34619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34620 (eval $ac_try) 2>&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); }; } &&
34624 { ac_try
='test -s conftest$ac_exeext'
34625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34626 (eval $ac_try) 2>&5
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); }; }; then
34630 wx_cv_func_cxa_demangle
=yes
34632 echo "$as_me: failed program was:" >&5
34633 sed 's/^/| /' conftest.
$ac_ext >&5
34635 wx_cv_func_cxa_demangle
=no
34638 rm -f conftest.err conftest.
$ac_objext \
34639 conftest
$ac_exeext conftest.
$ac_ext
34643 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34644 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34646 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34647 cat >>confdefs.h
<<\_ACEOF
34648 #define HAVE_CXA_DEMANGLE 1
34655 ac_cpp
='$CPP $CPPFLAGS'
34656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34662 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34663 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34664 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34665 wxUSE_STACKWALKER
=no
34671 for ac_func
in mkstemp mktemp
34673 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34674 echo "$as_me:$LINENO: checking for $ac_func" >&5
34675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34676 if eval "test \"\${$as_ac_var+set}\" = set"; then
34677 echo $ECHO_N "(cached) $ECHO_C" >&6
34679 cat >conftest.
$ac_ext <<_ACEOF
34682 cat confdefs.h
>>conftest.
$ac_ext
34683 cat >>conftest.
$ac_ext <<_ACEOF
34684 /* end confdefs.h. */
34685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34687 #define $ac_func innocuous_$ac_func
34689 /* System header to define __stub macros and hopefully few prototypes,
34690 which can conflict with char $ac_func (); below.
34691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34692 <limits.h> exists even on freestanding compilers. */
34695 # include <limits.h>
34697 # include <assert.h>
34702 /* Override any gcc2 internal prototype to avoid an error. */
34707 /* We use char because int might match the return type of a gcc2
34708 builtin and then its argument prototype would still apply. */
34710 /* The GNU C library defines this for functions which it implements
34711 to always fail with ENOSYS. Some functions are actually named
34712 something starting with __ and the normal name is an alias. */
34713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34716 char (*f) () = $ac_func;
34725 return f != $ac_func;
34730 rm -f conftest.
$ac_objext conftest
$ac_exeext
34731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34732 (eval $ac_link) 2>conftest.er1
34734 grep -v '^ *+' conftest.er1
>conftest.err
34736 cat conftest.err
>&5
34737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34738 (exit $ac_status); } &&
34739 { ac_try
='test -z "$ac_c_werror_flag"
34740 || test ! -s conftest.err'
34741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34742 (eval $ac_try) 2>&5
34744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34745 (exit $ac_status); }; } &&
34746 { ac_try
='test -s conftest$ac_exeext'
34747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34748 (eval $ac_try) 2>&5
34750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34751 (exit $ac_status); }; }; then
34752 eval "$as_ac_var=yes"
34754 echo "$as_me: failed program was:" >&5
34755 sed 's/^/| /' conftest.
$ac_ext >&5
34757 eval "$as_ac_var=no"
34759 rm -f conftest.err conftest.
$ac_objext \
34760 conftest
$ac_exeext conftest.
$ac_ext
34762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34764 if test `eval echo '${'$as_ac_var'}'` = yes; then
34765 cat >>confdefs.h
<<_ACEOF
34766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34773 echo "$as_me:$LINENO: checking for statfs" >&5
34774 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34775 if test "${wx_cv_func_statfs+set}" = set; then
34776 echo $ECHO_N "(cached) $ECHO_C" >&6
34778 cat >conftest.
$ac_ext <<_ACEOF
34781 cat confdefs.h
>>conftest.
$ac_ext
34782 cat >>conftest.
$ac_ext <<_ACEOF
34783 /* end confdefs.h. */
34785 #if defined(__BSD__)
34786 #include <sys/param.h>
34787 #include <sys/mount.h>
34789 #include <sys/vfs.h>
34807 rm -f conftest.
$ac_objext
34808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34809 (eval $ac_compile) 2>conftest.er1
34811 grep -v '^ *+' conftest.er1
>conftest.err
34813 cat conftest.err
>&5
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); } &&
34816 { ac_try
='test -z "$ac_c_werror_flag"
34817 || test ! -s conftest.err'
34818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34819 (eval $ac_try) 2>&5
34821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34822 (exit $ac_status); }; } &&
34823 { ac_try
='test -s conftest.$ac_objext'
34824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34825 (eval $ac_try) 2>&5
34827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34828 (exit $ac_status); }; }; then
34829 wx_cv_func_statfs
=yes
34831 echo "$as_me: failed program was:" >&5
34832 sed 's/^/| /' conftest.
$ac_ext >&5
34834 wx_cv_func_statfs
=no
34837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34840 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34841 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34843 if test "$wx_cv_func_statfs" = "yes"; then
34845 ac_cpp
='$CXXCPP $CPPFLAGS'
34846 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34847 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34848 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34850 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34851 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34852 if test "${wx_cv_func_statfs_decl+set}" = set; then
34853 echo $ECHO_N "(cached) $ECHO_C" >&6
34855 cat >conftest.
$ac_ext <<_ACEOF
34858 cat confdefs.h
>>conftest.
$ac_ext
34859 cat >>conftest.
$ac_ext <<_ACEOF
34860 /* end confdefs.h. */
34862 #if defined(__BSD__)
34863 #include <sys/param.h>
34864 #include <sys/mount.h>
34866 #include <sys/vfs.h>
34880 rm -f conftest.
$ac_objext
34881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34882 (eval $ac_compile) 2>conftest.er1
34884 grep -v '^ *+' conftest.er1
>conftest.err
34886 cat conftest.err
>&5
34887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888 (exit $ac_status); } &&
34889 { ac_try
='test -z "$ac_cxx_werror_flag"
34890 || test ! -s conftest.err'
34891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892 (eval $ac_try) 2>&5
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); }; } &&
34896 { ac_try
='test -s conftest.$ac_objext'
34897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34898 (eval $ac_try) 2>&5
34900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34901 (exit $ac_status); }; }; then
34902 wx_cv_func_statfs_decl
=yes
34904 echo "$as_me: failed program was:" >&5
34905 sed 's/^/| /' conftest.
$ac_ext >&5
34907 wx_cv_func_statfs_decl
=no
34910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34913 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34914 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34916 ac_cpp
='$CPP $CPPFLAGS'
34917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34922 if test "$wx_cv_func_statfs_decl" = "yes"; then
34923 cat >>confdefs.h
<<\_ACEOF
34924 #define HAVE_STATFS_DECL 1
34929 wx_cv_type_statvfs_t
="struct statfs"
34930 cat >>confdefs.h
<<\_ACEOF
34931 #define HAVE_STATFS 1
34935 echo "$as_me:$LINENO: checking for statvfs" >&5
34936 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34937 if test "${wx_cv_func_statvfs+set}" = set; then
34938 echo $ECHO_N "(cached) $ECHO_C" >&6
34940 cat >conftest.
$ac_ext <<_ACEOF
34943 cat confdefs.h
>>conftest.
$ac_ext
34944 cat >>conftest.
$ac_ext <<_ACEOF
34945 /* end confdefs.h. */
34947 #include <stddef.h>
34948 #include <sys/statvfs.h>
34954 statvfs("/", NULL);
34960 rm -f conftest.
$ac_objext
34961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34962 (eval $ac_compile) 2>conftest.er1
34964 grep -v '^ *+' conftest.er1
>conftest.err
34966 cat conftest.err
>&5
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); } &&
34969 { ac_try
='test -z "$ac_c_werror_flag"
34970 || test ! -s conftest.err'
34971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34972 (eval $ac_try) 2>&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); }; } &&
34976 { ac_try
='test -s conftest.$ac_objext'
34977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34978 (eval $ac_try) 2>&5
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); }; }; then
34982 wx_cv_func_statvfs
=yes
34984 echo "$as_me: failed program was:" >&5
34985 sed 's/^/| /' conftest.
$ac_ext >&5
34987 wx_cv_func_statvfs
=no
34990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34993 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34994 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34996 if test "$wx_cv_func_statvfs" = "yes"; then
34998 ac_cpp
='$CXXCPP $CPPFLAGS'
34999 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35000 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35001 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35004 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35005 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35006 if test "${wx_cv_type_statvfs_t+set}" = set; then
35007 echo $ECHO_N "(cached) $ECHO_C" >&6
35009 cat >conftest.
$ac_ext <<_ACEOF
35012 cat confdefs.h
>>conftest.
$ac_ext
35013 cat >>conftest.
$ac_ext <<_ACEOF
35014 /* end confdefs.h. */
35016 #include <sys/statvfs.h>
35033 rm -f conftest.
$ac_objext
35034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35035 (eval $ac_compile) 2>conftest.er1
35037 grep -v '^ *+' conftest.er1
>conftest.err
35039 cat conftest.err
>&5
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); } &&
35042 { ac_try
='test -z "$ac_cxx_werror_flag"
35043 || test ! -s conftest.err'
35044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35045 (eval $ac_try) 2>&5
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); }; } &&
35049 { ac_try
='test -s conftest.$ac_objext'
35050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35051 (eval $ac_try) 2>&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); }; }; then
35055 wx_cv_type_statvfs_t
=statvfs_t
35057 echo "$as_me: failed program was:" >&5
35058 sed 's/^/| /' conftest.
$ac_ext >&5
35061 cat >conftest.
$ac_ext <<_ACEOF
35064 cat confdefs.h
>>conftest.
$ac_ext
35065 cat >>conftest.
$ac_ext <<_ACEOF
35066 /* end confdefs.h. */
35068 #include <sys/statvfs.h>
35085 rm -f conftest.
$ac_objext
35086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35087 (eval $ac_compile) 2>conftest.er1
35089 grep -v '^ *+' conftest.er1
>conftest.err
35091 cat conftest.err
>&5
35092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35093 (exit $ac_status); } &&
35094 { ac_try
='test -z "$ac_cxx_werror_flag"
35095 || test ! -s conftest.err'
35096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35097 (eval $ac_try) 2>&5
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); }; } &&
35101 { ac_try
='test -s conftest.$ac_objext'
35102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35103 (eval $ac_try) 2>&5
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; }; then
35107 wx_cv_type_statvfs_t
="struct statvfs"
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.
$ac_ext >&5
35112 wx_cv_type_statvfs_t
="unknown"
35115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35122 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35123 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35126 ac_cpp
='$CPP $CPPFLAGS'
35127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35132 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35133 cat >>confdefs.h
<<\_ACEOF
35134 #define HAVE_STATVFS 1
35139 wx_cv_type_statvfs_t
="unknown"
35143 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35144 cat >>confdefs.h
<<_ACEOF
35145 #define WX_STATFS_T $wx_cv_type_statvfs_t
35149 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35150 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35153 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35156 for ac_func
in fcntl flock
35158 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35159 echo "$as_me:$LINENO: checking for $ac_func" >&5
35160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35161 if eval "test \"\${$as_ac_var+set}\" = set"; then
35162 echo $ECHO_N "(cached) $ECHO_C" >&6
35164 cat >conftest.
$ac_ext <<_ACEOF
35167 cat confdefs.h
>>conftest.
$ac_ext
35168 cat >>conftest.
$ac_ext <<_ACEOF
35169 /* end confdefs.h. */
35170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35172 #define $ac_func innocuous_$ac_func
35174 /* System header to define __stub macros and hopefully few prototypes,
35175 which can conflict with char $ac_func (); below.
35176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35177 <limits.h> exists even on freestanding compilers. */
35180 # include <limits.h>
35182 # include <assert.h>
35187 /* Override any gcc2 internal prototype to avoid an error. */
35192 /* We use char because int might match the return type of a gcc2
35193 builtin and then its argument prototype would still apply. */
35195 /* The GNU C library defines this for functions which it implements
35196 to always fail with ENOSYS. Some functions are actually named
35197 something starting with __ and the normal name is an alias. */
35198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35201 char (*f) () = $ac_func;
35210 return f != $ac_func;
35215 rm -f conftest.
$ac_objext conftest
$ac_exeext
35216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35217 (eval $ac_link) 2>conftest.er1
35219 grep -v '^ *+' conftest.er1
>conftest.err
35221 cat conftest.err
>&5
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); } &&
35224 { ac_try
='test -z "$ac_c_werror_flag"
35225 || test ! -s conftest.err'
35226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35227 (eval $ac_try) 2>&5
35229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); }; } &&
35231 { ac_try
='test -s conftest$ac_exeext'
35232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35233 (eval $ac_try) 2>&5
35235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236 (exit $ac_status); }; }; then
35237 eval "$as_ac_var=yes"
35239 echo "$as_me: failed program was:" >&5
35240 sed 's/^/| /' conftest.
$ac_ext >&5
35242 eval "$as_ac_var=no"
35244 rm -f conftest.err conftest.
$ac_objext \
35245 conftest
$ac_exeext conftest.
$ac_ext
35247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35249 if test `eval echo '${'$as_ac_var'}'` = yes; then
35250 cat >>confdefs.h
<<_ACEOF
35251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35258 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35259 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35260 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35261 wxUSE_SNGLINST_CHECKER
=no
35266 for ac_func
in timegm
35268 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35269 echo "$as_me:$LINENO: checking for $ac_func" >&5
35270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35271 if eval "test \"\${$as_ac_var+set}\" = set"; then
35272 echo $ECHO_N "(cached) $ECHO_C" >&6
35274 cat >conftest.
$ac_ext <<_ACEOF
35277 cat confdefs.h
>>conftest.
$ac_ext
35278 cat >>conftest.
$ac_ext <<_ACEOF
35279 /* end confdefs.h. */
35280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35282 #define $ac_func innocuous_$ac_func
35284 /* System header to define __stub macros and hopefully few prototypes,
35285 which can conflict with char $ac_func (); below.
35286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35287 <limits.h> exists even on freestanding compilers. */
35290 # include <limits.h>
35292 # include <assert.h>
35297 /* Override any gcc2 internal prototype to avoid an error. */
35302 /* We use char because int might match the return type of a gcc2
35303 builtin and then its argument prototype would still apply. */
35305 /* The GNU C library defines this for functions which it implements
35306 to always fail with ENOSYS. Some functions are actually named
35307 something starting with __ and the normal name is an alias. */
35308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35311 char (*f) () = $ac_func;
35320 return f != $ac_func;
35325 rm -f conftest.
$ac_objext conftest
$ac_exeext
35326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35327 (eval $ac_link) 2>conftest.er1
35329 grep -v '^ *+' conftest.er1
>conftest.err
35331 cat conftest.err
>&5
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); } &&
35334 { ac_try
='test -z "$ac_c_werror_flag"
35335 || test ! -s conftest.err'
35336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35337 (eval $ac_try) 2>&5
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); }; } &&
35341 { ac_try
='test -s conftest$ac_exeext'
35342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35343 (eval $ac_try) 2>&5
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); }; }; then
35347 eval "$as_ac_var=yes"
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.
$ac_ext >&5
35352 eval "$as_ac_var=no"
35354 rm -f conftest.err conftest.
$ac_objext \
35355 conftest
$ac_exeext conftest.
$ac_ext
35357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35359 if test `eval echo '${'$as_ac_var'}'` = yes; then
35360 cat >>confdefs.h
<<_ACEOF
35361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35370 for ac_func
in putenv setenv
35372 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35373 echo "$as_me:$LINENO: checking for $ac_func" >&5
35374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35375 if eval "test \"\${$as_ac_var+set}\" = set"; then
35376 echo $ECHO_N "(cached) $ECHO_C" >&6
35378 cat >conftest.
$ac_ext <<_ACEOF
35381 cat confdefs.h
>>conftest.
$ac_ext
35382 cat >>conftest.
$ac_ext <<_ACEOF
35383 /* end confdefs.h. */
35384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35386 #define $ac_func innocuous_$ac_func
35388 /* System header to define __stub macros and hopefully few prototypes,
35389 which can conflict with char $ac_func (); below.
35390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35391 <limits.h> exists even on freestanding compilers. */
35394 # include <limits.h>
35396 # include <assert.h>
35401 /* Override any gcc2 internal prototype to avoid an error. */
35406 /* We use char because int might match the return type of a gcc2
35407 builtin and then its argument prototype would still apply. */
35409 /* The GNU C library defines this for functions which it implements
35410 to always fail with ENOSYS. Some functions are actually named
35411 something starting with __ and the normal name is an alias. */
35412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35415 char (*f) () = $ac_func;
35424 return f != $ac_func;
35429 rm -f conftest.
$ac_objext conftest
$ac_exeext
35430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35431 (eval $ac_link) 2>conftest.er1
35433 grep -v '^ *+' conftest.er1
>conftest.err
35435 cat conftest.err
>&5
35436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 (exit $ac_status); } &&
35438 { ac_try
='test -z "$ac_c_werror_flag"
35439 || test ! -s conftest.err'
35440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441 (eval $ac_try) 2>&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; } &&
35445 { ac_try
='test -s conftest$ac_exeext'
35446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35447 (eval $ac_try) 2>&5
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); }; }; then
35451 eval "$as_ac_var=yes"
35453 echo "$as_me: failed program was:" >&5
35454 sed 's/^/| /' conftest.
$ac_ext >&5
35456 eval "$as_ac_var=no"
35458 rm -f conftest.err conftest.
$ac_objext \
35459 conftest
$ac_exeext conftest.
$ac_ext
35461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35463 if test `eval echo '${'$as_ac_var'}'` = yes; then
35464 cat >>confdefs.h
<<_ACEOF
35465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35472 HAVE_SOME_SLEEP_FUNC
=0
35473 if test "$USE_BEOS" = 1; then
35474 cat >>confdefs.h
<<\_ACEOF
35475 #define HAVE_SLEEP 1
35478 HAVE_SOME_SLEEP_FUNC
=1
35481 if test "$USE_DARWIN" = 1; then
35482 cat >>confdefs.h
<<\_ACEOF
35483 #define HAVE_USLEEP 1
35486 HAVE_SOME_SLEEP_FUNC
=1
35489 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35492 for ac_func
in nanosleep
35494 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35495 echo "$as_me:$LINENO: checking for $ac_func" >&5
35496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35497 if eval "test \"\${$as_ac_var+set}\" = set"; then
35498 echo $ECHO_N "(cached) $ECHO_C" >&6
35500 cat >conftest.
$ac_ext <<_ACEOF
35503 cat confdefs.h
>>conftest.
$ac_ext
35504 cat >>conftest.
$ac_ext <<_ACEOF
35505 /* end confdefs.h. */
35506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35508 #define $ac_func innocuous_$ac_func
35510 /* System header to define __stub macros and hopefully few prototypes,
35511 which can conflict with char $ac_func (); below.
35512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35513 <limits.h> exists even on freestanding compilers. */
35516 # include <limits.h>
35518 # include <assert.h>
35523 /* Override any gcc2 internal prototype to avoid an error. */
35528 /* We use char because int might match the return type of a gcc2
35529 builtin and then its argument prototype would still apply. */
35531 /* The GNU C library defines this for functions which it implements
35532 to always fail with ENOSYS. Some functions are actually named
35533 something starting with __ and the normal name is an alias. */
35534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35537 char (*f) () = $ac_func;
35546 return f != $ac_func;
35551 rm -f conftest.
$ac_objext conftest
$ac_exeext
35552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35553 (eval $ac_link) 2>conftest.er1
35555 grep -v '^ *+' conftest.er1
>conftest.err
35557 cat conftest.err
>&5
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 (exit $ac_status); } &&
35560 { ac_try
='test -z "$ac_c_werror_flag"
35561 || test ! -s conftest.err'
35562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563 (eval $ac_try) 2>&5
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); }; } &&
35567 { ac_try
='test -s conftest$ac_exeext'
35568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569 (eval $ac_try) 2>&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); }; }; then
35573 eval "$as_ac_var=yes"
35575 echo "$as_me: failed program was:" >&5
35576 sed 's/^/| /' conftest.
$ac_ext >&5
35578 eval "$as_ac_var=no"
35580 rm -f conftest.err conftest.
$ac_objext \
35581 conftest
$ac_exeext conftest.
$ac_ext
35583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35585 if test `eval echo '${'$as_ac_var'}'` = yes; then
35586 cat >>confdefs.h
<<_ACEOF
35587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35589 cat >>confdefs.h
<<\_ACEOF
35590 #define HAVE_NANOSLEEP 1
35595 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35596 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35597 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35598 echo $ECHO_N "(cached) $ECHO_C" >&6
35600 ac_check_lib_save_LIBS
=$LIBS
35601 LIBS
="-lposix4 $LIBS"
35602 cat >conftest.
$ac_ext <<_ACEOF
35605 cat confdefs.h
>>conftest.
$ac_ext
35606 cat >>conftest.
$ac_ext <<_ACEOF
35607 /* end confdefs.h. */
35609 /* Override any gcc2 internal prototype to avoid an error. */
35613 /* We use char because int might match the return type of a gcc2
35614 builtin and then its argument prototype would still apply. */
35624 rm -f conftest.
$ac_objext conftest
$ac_exeext
35625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35626 (eval $ac_link) 2>conftest.er1
35628 grep -v '^ *+' conftest.er1
>conftest.err
35630 cat conftest.err
>&5
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); } &&
35633 { ac_try
='test -z "$ac_c_werror_flag"
35634 || test ! -s conftest.err'
35635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35636 (eval $ac_try) 2>&5
35638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35639 (exit $ac_status); }; } &&
35640 { ac_try
='test -s conftest$ac_exeext'
35641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35642 (eval $ac_try) 2>&5
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); }; }; then
35646 ac_cv_lib_posix4_nanosleep
=yes
35648 echo "$as_me: failed program was:" >&5
35649 sed 's/^/| /' conftest.
$ac_ext >&5
35651 ac_cv_lib_posix4_nanosleep
=no
35653 rm -f conftest.err conftest.
$ac_objext \
35654 conftest
$ac_exeext conftest.
$ac_ext
35655 LIBS
=$ac_check_lib_save_LIBS
35657 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35658 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35659 if test $ac_cv_lib_posix4_nanosleep = yes; then
35661 cat >>confdefs.h
<<\_ACEOF
35662 #define HAVE_NANOSLEEP 1
35665 POSIX4_LINK
=" -lposix4"
35670 for ac_func
in usleep
35672 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35673 echo "$as_me:$LINENO: checking for $ac_func" >&5
35674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35675 if eval "test \"\${$as_ac_var+set}\" = set"; then
35676 echo $ECHO_N "(cached) $ECHO_C" >&6
35678 cat >conftest.
$ac_ext <<_ACEOF
35681 cat confdefs.h
>>conftest.
$ac_ext
35682 cat >>conftest.
$ac_ext <<_ACEOF
35683 /* end confdefs.h. */
35684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35686 #define $ac_func innocuous_$ac_func
35688 /* System header to define __stub macros and hopefully few prototypes,
35689 which can conflict with char $ac_func (); below.
35690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35691 <limits.h> exists even on freestanding compilers. */
35694 # include <limits.h>
35696 # include <assert.h>
35701 /* Override any gcc2 internal prototype to avoid an error. */
35706 /* We use char because int might match the return type of a gcc2
35707 builtin and then its argument prototype would still apply. */
35709 /* The GNU C library defines this for functions which it implements
35710 to always fail with ENOSYS. Some functions are actually named
35711 something starting with __ and the normal name is an alias. */
35712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35715 char (*f) () = $ac_func;
35724 return f != $ac_func;
35729 rm -f conftest.
$ac_objext conftest
$ac_exeext
35730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35731 (eval $ac_link) 2>conftest.er1
35733 grep -v '^ *+' conftest.er1
>conftest.err
35735 cat conftest.err
>&5
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); } &&
35738 { ac_try
='test -z "$ac_c_werror_flag"
35739 || test ! -s conftest.err'
35740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35741 (eval $ac_try) 2>&5
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); }; } &&
35745 { ac_try
='test -s conftest$ac_exeext'
35746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35747 (eval $ac_try) 2>&5
35749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35750 (exit $ac_status); }; }; then
35751 eval "$as_ac_var=yes"
35753 echo "$as_me: failed program was:" >&5
35754 sed 's/^/| /' conftest.
$ac_ext >&5
35756 eval "$as_ac_var=no"
35758 rm -f conftest.err conftest.
$ac_objext \
35759 conftest
$ac_exeext conftest.
$ac_ext
35761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35763 if test `eval echo '${'$as_ac_var'}'` = yes; then
35764 cat >>confdefs.h
<<_ACEOF
35765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35767 cat >>confdefs.h
<<\_ACEOF
35768 #define HAVE_USLEEP 1
35772 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35773 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35791 for ac_func
in uname gethostname
35793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35794 echo "$as_me:$LINENO: checking for $ac_func" >&5
35795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35796 if eval "test \"\${$as_ac_var+set}\" = set"; then
35797 echo $ECHO_N "(cached) $ECHO_C" >&6
35799 cat >conftest.
$ac_ext <<_ACEOF
35802 cat confdefs.h
>>conftest.
$ac_ext
35803 cat >>conftest.
$ac_ext <<_ACEOF
35804 /* end confdefs.h. */
35805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35807 #define $ac_func innocuous_$ac_func
35809 /* System header to define __stub macros and hopefully few prototypes,
35810 which can conflict with char $ac_func (); below.
35811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35812 <limits.h> exists even on freestanding compilers. */
35815 # include <limits.h>
35817 # include <assert.h>
35822 /* Override any gcc2 internal prototype to avoid an error. */
35827 /* We use char because int might match the return type of a gcc2
35828 builtin and then its argument prototype would still apply. */
35830 /* The GNU C library defines this for functions which it implements
35831 to always fail with ENOSYS. Some functions are actually named
35832 something starting with __ and the normal name is an alias. */
35833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35836 char (*f) () = $ac_func;
35845 return f != $ac_func;
35850 rm -f conftest.
$ac_objext conftest
$ac_exeext
35851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35852 (eval $ac_link) 2>conftest.er1
35854 grep -v '^ *+' conftest.er1
>conftest.err
35856 cat conftest.err
>&5
35857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35858 (exit $ac_status); } &&
35859 { ac_try
='test -z "$ac_c_werror_flag"
35860 || test ! -s conftest.err'
35861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35862 (eval $ac_try) 2>&5
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); }; } &&
35866 { ac_try
='test -s conftest$ac_exeext'
35867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35868 (eval $ac_try) 2>&5
35870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871 (exit $ac_status); }; }; then
35872 eval "$as_ac_var=yes"
35874 echo "$as_me: failed program was:" >&5
35875 sed 's/^/| /' conftest.
$ac_ext >&5
35877 eval "$as_ac_var=no"
35879 rm -f conftest.err conftest.
$ac_objext \
35880 conftest
$ac_exeext conftest.
$ac_ext
35882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35884 if test `eval echo '${'$as_ac_var'}'` = yes; then
35885 cat >>confdefs.h
<<_ACEOF
35886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35894 ac_cpp
='$CXXCPP $CPPFLAGS'
35895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35901 for ac_func
in strtok_r
35903 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35904 echo "$as_me:$LINENO: checking for $ac_func" >&5
35905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35906 if eval "test \"\${$as_ac_var+set}\" = set"; then
35907 echo $ECHO_N "(cached) $ECHO_C" >&6
35909 cat >conftest.
$ac_ext <<_ACEOF
35912 cat confdefs.h
>>conftest.
$ac_ext
35913 cat >>conftest.
$ac_ext <<_ACEOF
35914 /* end confdefs.h. */
35915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35917 #define $ac_func innocuous_$ac_func
35919 /* System header to define __stub macros and hopefully few prototypes,
35920 which can conflict with char $ac_func (); below.
35921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35922 <limits.h> exists even on freestanding compilers. */
35925 # include <limits.h>
35927 # include <assert.h>
35932 /* Override any gcc2 internal prototype to avoid an error. */
35937 /* We use char because int might match the return type of a gcc2
35938 builtin and then its argument prototype would still apply. */
35940 /* The GNU C library defines this for functions which it implements
35941 to always fail with ENOSYS. Some functions are actually named
35942 something starting with __ and the normal name is an alias. */
35943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35946 char (*f) () = $ac_func;
35955 return f != $ac_func;
35960 rm -f conftest.
$ac_objext conftest
$ac_exeext
35961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35962 (eval $ac_link) 2>conftest.er1
35964 grep -v '^ *+' conftest.er1
>conftest.err
35966 cat conftest.err
>&5
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); } &&
35969 { ac_try
='test -z "$ac_cxx_werror_flag"
35970 || test ! -s conftest.err'
35971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35972 (eval $ac_try) 2>&5
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); }; } &&
35976 { ac_try
='test -s conftest$ac_exeext'
35977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35978 (eval $ac_try) 2>&5
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); }; }; then
35982 eval "$as_ac_var=yes"
35984 echo "$as_me: failed program was:" >&5
35985 sed 's/^/| /' conftest.
$ac_ext >&5
35987 eval "$as_ac_var=no"
35989 rm -f conftest.err conftest.
$ac_objext \
35990 conftest
$ac_exeext conftest.
$ac_ext
35992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35994 if test `eval echo '${'$as_ac_var'}'` = yes; then
35995 cat >>confdefs.h
<<_ACEOF
35996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36004 ac_cpp
='$CPP $CPPFLAGS'
36005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36012 for ac_func
in inet_addr
36014 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36015 echo "$as_me:$LINENO: checking for $ac_func" >&5
36016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36017 if eval "test \"\${$as_ac_var+set}\" = set"; then
36018 echo $ECHO_N "(cached) $ECHO_C" >&6
36020 cat >conftest.
$ac_ext <<_ACEOF
36023 cat confdefs.h
>>conftest.
$ac_ext
36024 cat >>conftest.
$ac_ext <<_ACEOF
36025 /* end confdefs.h. */
36026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36028 #define $ac_func innocuous_$ac_func
36030 /* System header to define __stub macros and hopefully few prototypes,
36031 which can conflict with char $ac_func (); below.
36032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36033 <limits.h> exists even on freestanding compilers. */
36036 # include <limits.h>
36038 # include <assert.h>
36043 /* Override any gcc2 internal prototype to avoid an error. */
36048 /* We use char because int might match the return type of a gcc2
36049 builtin and then its argument prototype would still apply. */
36051 /* The GNU C library defines this for functions which it implements
36052 to always fail with ENOSYS. Some functions are actually named
36053 something starting with __ and the normal name is an alias. */
36054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36057 char (*f) () = $ac_func;
36066 return f != $ac_func;
36071 rm -f conftest.
$ac_objext conftest
$ac_exeext
36072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36073 (eval $ac_link) 2>conftest.er1
36075 grep -v '^ *+' conftest.er1
>conftest.err
36077 cat conftest.err
>&5
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); } &&
36080 { ac_try
='test -z "$ac_c_werror_flag"
36081 || test ! -s conftest.err'
36082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36083 (eval $ac_try) 2>&5
36085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36086 (exit $ac_status); }; } &&
36087 { ac_try
='test -s conftest$ac_exeext'
36088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36089 (eval $ac_try) 2>&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); }; }; then
36093 eval "$as_ac_var=yes"
36095 echo "$as_me: failed program was:" >&5
36096 sed 's/^/| /' conftest.
$ac_ext >&5
36098 eval "$as_ac_var=no"
36100 rm -f conftest.err conftest.
$ac_objext \
36101 conftest
$ac_exeext conftest.
$ac_ext
36103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36105 if test `eval echo '${'$as_ac_var'}'` = yes; then
36106 cat >>confdefs.h
<<_ACEOF
36107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36109 cat >>confdefs.h
<<\_ACEOF
36110 #define HAVE_INET_ADDR 1
36115 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36116 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36117 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36118 echo $ECHO_N "(cached) $ECHO_C" >&6
36120 ac_check_lib_save_LIBS
=$LIBS
36122 cat >conftest.
$ac_ext <<_ACEOF
36125 cat confdefs.h
>>conftest.
$ac_ext
36126 cat >>conftest.
$ac_ext <<_ACEOF
36127 /* end confdefs.h. */
36129 /* Override any gcc2 internal prototype to avoid an error. */
36133 /* We use char because int might match the return type of a gcc2
36134 builtin and then its argument prototype would still apply. */
36144 rm -f conftest.
$ac_objext conftest
$ac_exeext
36145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36146 (eval $ac_link) 2>conftest.er1
36148 grep -v '^ *+' conftest.er1
>conftest.err
36150 cat conftest.err
>&5
36151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36152 (exit $ac_status); } &&
36153 { ac_try
='test -z "$ac_c_werror_flag"
36154 || test ! -s conftest.err'
36155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36156 (eval $ac_try) 2>&5
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); }; } &&
36160 { ac_try
='test -s conftest$ac_exeext'
36161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36162 (eval $ac_try) 2>&5
36164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36165 (exit $ac_status); }; }; then
36166 ac_cv_lib_nsl_inet_addr
=yes
36168 echo "$as_me: failed program was:" >&5
36169 sed 's/^/| /' conftest.
$ac_ext >&5
36171 ac_cv_lib_nsl_inet_addr
=no
36173 rm -f conftest.err conftest.
$ac_objext \
36174 conftest
$ac_exeext conftest.
$ac_ext
36175 LIBS
=$ac_check_lib_save_LIBS
36177 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36178 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36179 if test $ac_cv_lib_nsl_inet_addr = yes; then
36183 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36184 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36185 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36186 echo $ECHO_N "(cached) $ECHO_C" >&6
36188 ac_check_lib_save_LIBS
=$LIBS
36189 LIBS
="-lresolv $LIBS"
36190 cat >conftest.
$ac_ext <<_ACEOF
36193 cat confdefs.h
>>conftest.
$ac_ext
36194 cat >>conftest.
$ac_ext <<_ACEOF
36195 /* end confdefs.h. */
36197 /* Override any gcc2 internal prototype to avoid an error. */
36201 /* We use char because int might match the return type of a gcc2
36202 builtin and then its argument prototype would still apply. */
36212 rm -f conftest.
$ac_objext conftest
$ac_exeext
36213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36214 (eval $ac_link) 2>conftest.er1
36216 grep -v '^ *+' conftest.er1
>conftest.err
36218 cat conftest.err
>&5
36219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36220 (exit $ac_status); } &&
36221 { ac_try
='test -z "$ac_c_werror_flag"
36222 || test ! -s conftest.err'
36223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36224 (eval $ac_try) 2>&5
36226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36227 (exit $ac_status); }; } &&
36228 { ac_try
='test -s conftest$ac_exeext'
36229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36230 (eval $ac_try) 2>&5
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); }; }; then
36234 ac_cv_lib_resolv_inet_addr
=yes
36236 echo "$as_me: failed program was:" >&5
36237 sed 's/^/| /' conftest.
$ac_ext >&5
36239 ac_cv_lib_resolv_inet_addr
=no
36241 rm -f conftest.err conftest.
$ac_objext \
36242 conftest
$ac_exeext conftest.
$ac_ext
36243 LIBS
=$ac_check_lib_save_LIBS
36245 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36246 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36247 if test $ac_cv_lib_resolv_inet_addr = yes; then
36251 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36252 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36253 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36256 ac_check_lib_save_LIBS
=$LIBS
36257 LIBS
="-lsocket $LIBS"
36258 cat >conftest.
$ac_ext <<_ACEOF
36261 cat confdefs.h
>>conftest.
$ac_ext
36262 cat >>conftest.
$ac_ext <<_ACEOF
36263 /* end confdefs.h. */
36265 /* Override any gcc2 internal prototype to avoid an error. */
36269 /* We use char because int might match the return type of a gcc2
36270 builtin and then its argument prototype would still apply. */
36280 rm -f conftest.
$ac_objext conftest
$ac_exeext
36281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36282 (eval $ac_link) 2>conftest.er1
36284 grep -v '^ *+' conftest.er1
>conftest.err
36286 cat conftest.err
>&5
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); } &&
36289 { ac_try
='test -z "$ac_c_werror_flag"
36290 || test ! -s conftest.err'
36291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36292 (eval $ac_try) 2>&5
36294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36295 (exit $ac_status); }; } &&
36296 { ac_try
='test -s conftest$ac_exeext'
36297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36298 (eval $ac_try) 2>&5
36300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36301 (exit $ac_status); }; }; then
36302 ac_cv_lib_socket_inet_addr
=yes
36304 echo "$as_me: failed program was:" >&5
36305 sed 's/^/| /' conftest.
$ac_ext >&5
36307 ac_cv_lib_socket_inet_addr
=no
36309 rm -f conftest.err conftest.
$ac_objext \
36310 conftest
$ac_exeext conftest.
$ac_ext
36311 LIBS
=$ac_check_lib_save_LIBS
36313 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36314 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36315 if test $ac_cv_lib_socket_inet_addr = yes; then
36335 for ac_func
in inet_aton
36337 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36338 echo "$as_me:$LINENO: checking for $ac_func" >&5
36339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36340 if eval "test \"\${$as_ac_var+set}\" = set"; then
36341 echo $ECHO_N "(cached) $ECHO_C" >&6
36343 cat >conftest.
$ac_ext <<_ACEOF
36346 cat confdefs.h
>>conftest.
$ac_ext
36347 cat >>conftest.
$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36351 #define $ac_func innocuous_$ac_func
36353 /* System header to define __stub macros and hopefully few prototypes,
36354 which can conflict with char $ac_func (); below.
36355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36356 <limits.h> exists even on freestanding compilers. */
36359 # include <limits.h>
36361 # include <assert.h>
36366 /* Override any gcc2 internal prototype to avoid an error. */
36371 /* We use char because int might match the return type of a gcc2
36372 builtin and then its argument prototype would still apply. */
36374 /* The GNU C library defines this for functions which it implements
36375 to always fail with ENOSYS. Some functions are actually named
36376 something starting with __ and the normal name is an alias. */
36377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36380 char (*f) () = $ac_func;
36389 return f != $ac_func;
36394 rm -f conftest.
$ac_objext conftest
$ac_exeext
36395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36396 (eval $ac_link) 2>conftest.er1
36398 grep -v '^ *+' conftest.er1
>conftest.err
36400 cat conftest.err
>&5
36401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36402 (exit $ac_status); } &&
36403 { ac_try
='test -z "$ac_c_werror_flag"
36404 || test ! -s conftest.err'
36405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36406 (eval $ac_try) 2>&5
36408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 (exit $ac_status); }; } &&
36410 { ac_try
='test -s conftest$ac_exeext'
36411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36412 (eval $ac_try) 2>&5
36414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36415 (exit $ac_status); }; }; then
36416 eval "$as_ac_var=yes"
36418 echo "$as_me: failed program was:" >&5
36419 sed 's/^/| /' conftest.
$ac_ext >&5
36421 eval "$as_ac_var=no"
36423 rm -f conftest.err conftest.
$ac_objext \
36424 conftest
$ac_exeext conftest.
$ac_ext
36426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36428 if test `eval echo '${'$as_ac_var'}'` = yes; then
36429 cat >>confdefs.h
<<_ACEOF
36430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36432 cat >>confdefs.h
<<\_ACEOF
36433 #define HAVE_INET_ATON 1
36438 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36439 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36440 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36441 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36442 echo $ECHO_N "(cached) $ECHO_C" >&6
36444 ac_check_lib_save_LIBS
=$LIBS
36445 LIBS
="-l$INET_LINK $LIBS"
36446 cat >conftest.
$ac_ext <<_ACEOF
36449 cat confdefs.h
>>conftest.
$ac_ext
36450 cat >>conftest.
$ac_ext <<_ACEOF
36451 /* end confdefs.h. */
36453 /* Override any gcc2 internal prototype to avoid an error. */
36457 /* We use char because int might match the return type of a gcc2
36458 builtin and then its argument prototype would still apply. */
36468 rm -f conftest.
$ac_objext conftest
$ac_exeext
36469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36470 (eval $ac_link) 2>conftest.er1
36472 grep -v '^ *+' conftest.er1
>conftest.err
36474 cat conftest.err
>&5
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); } &&
36477 { ac_try
='test -z "$ac_c_werror_flag"
36478 || test ! -s conftest.err'
36479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36480 (eval $ac_try) 2>&5
36482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483 (exit $ac_status); }; } &&
36484 { ac_try
='test -s conftest$ac_exeext'
36485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36486 (eval $ac_try) 2>&5
36488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489 (exit $ac_status); }; }; then
36490 eval "$as_ac_Lib=yes"
36492 echo "$as_me: failed program was:" >&5
36493 sed 's/^/| /' conftest.
$ac_ext >&5
36495 eval "$as_ac_Lib=no"
36497 rm -f conftest.err conftest.
$ac_objext \
36498 conftest
$ac_exeext conftest.
$ac_ext
36499 LIBS
=$ac_check_lib_save_LIBS
36501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36502 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36503 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36504 cat >>confdefs.h
<<\_ACEOF
36505 #define HAVE_INET_ATON 1
36515 if test "x$INET_LINK" != "x"; then
36516 cat >>confdefs.h
<<\_ACEOF
36517 #define HAVE_INET_ADDR 1
36520 INET_LINK
=" -l$INET_LINK"
36528 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36529 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36530 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36533 ac_check_lib_save_LIBS
=$LIBS
36535 cat >conftest.
$ac_ext <<_ACEOF
36538 cat confdefs.h
>>conftest.
$ac_ext
36539 cat >>conftest.
$ac_ext <<_ACEOF
36540 /* end confdefs.h. */
36542 /* Override any gcc2 internal prototype to avoid an error. */
36546 /* We use char because int might match the return type of a gcc2
36547 builtin and then its argument prototype would still apply. */
36557 rm -f conftest.
$ac_objext conftest
$ac_exeext
36558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36559 (eval $ac_link) 2>conftest.er1
36561 grep -v '^ *+' conftest.er1
>conftest.err
36563 cat conftest.err
>&5
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); } &&
36566 { ac_try
='test -z "$ac_c_werror_flag"
36567 || test ! -s conftest.err'
36568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36569 (eval $ac_try) 2>&5
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); }; } &&
36573 { ac_try
='test -s conftest$ac_exeext'
36574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36575 (eval $ac_try) 2>&5
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); }; }; then
36579 ac_cv_lib_esd_esd_close
=yes
36581 echo "$as_me: failed program was:" >&5
36582 sed 's/^/| /' conftest.
$ac_ext >&5
36584 ac_cv_lib_esd_esd_close
=no
36586 rm -f conftest.err conftest.
$ac_objext \
36587 conftest
$ac_exeext conftest.
$ac_ext
36588 LIBS
=$ac_check_lib_save_LIBS
36590 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36591 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36592 if test $ac_cv_lib_esd_esd_close = yes; then
36595 for ac_header
in esd.h
36597 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36599 echo "$as_me:$LINENO: checking for $ac_header" >&5
36600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36602 echo $ECHO_N "(cached) $ECHO_C" >&6
36604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36607 # Is the header compilable?
36608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36610 cat >conftest.
$ac_ext <<_ACEOF
36613 cat confdefs.h
>>conftest.
$ac_ext
36614 cat >>conftest.
$ac_ext <<_ACEOF
36615 /* end confdefs.h. */
36616 $ac_includes_default
36617 #include <$ac_header>
36619 rm -f conftest.
$ac_objext
36620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36621 (eval $ac_compile) 2>conftest.er1
36623 grep -v '^ *+' conftest.er1
>conftest.err
36625 cat conftest.err
>&5
36626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36627 (exit $ac_status); } &&
36628 { ac_try
='test -z "$ac_c_werror_flag"
36629 || test ! -s conftest.err'
36630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36631 (eval $ac_try) 2>&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); }; } &&
36635 { ac_try
='test -s conftest.$ac_objext'
36636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36637 (eval $ac_try) 2>&5
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); }; }; then
36641 ac_header_compiler
=yes
36643 echo "$as_me: failed program was:" >&5
36644 sed 's/^/| /' conftest.
$ac_ext >&5
36646 ac_header_compiler
=no
36648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36650 echo "${ECHO_T}$ac_header_compiler" >&6
36652 # Is the header present?
36653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36655 cat >conftest.
$ac_ext <<_ACEOF
36658 cat confdefs.h
>>conftest.
$ac_ext
36659 cat >>conftest.
$ac_ext <<_ACEOF
36660 /* end confdefs.h. */
36661 #include <$ac_header>
36663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36664 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36666 grep -v '^ *+' conftest.er1
>conftest.err
36668 cat conftest.err
>&5
36669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36670 (exit $ac_status); } >/dev
/null
; then
36671 if test -s conftest.err
; then
36672 ac_cpp_err
=$ac_c_preproc_warn_flag
36673 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36680 if test -z "$ac_cpp_err"; then
36681 ac_header_preproc
=yes
36683 echo "$as_me: failed program was:" >&5
36684 sed 's/^/| /' conftest.
$ac_ext >&5
36686 ac_header_preproc
=no
36688 rm -f conftest.err conftest.
$ac_ext
36689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36690 echo "${ECHO_T}$ac_header_preproc" >&6
36692 # So? What about this header?
36693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36695 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36699 ac_header_preproc
=yes
36702 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36704 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36705 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36706 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36708 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36709 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36712 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36716 ## ----------------------------------------- ##
36717 ## Report this to wx-dev@lists.wxwidgets.org ##
36718 ## ----------------------------------------- ##
36721 sed "s/^/$as_me: WARNING: /" >&2
36724 echo "$as_me:$LINENO: checking for $ac_header" >&5
36725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36727 echo $ECHO_N "(cached) $ECHO_C" >&6
36729 eval "$as_ac_Header=\$ac_header_preproc"
36731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36736 cat >>confdefs.h
<<_ACEOF
36737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36740 EXTRALIBS_ESD
="-lesd"
36751 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36752 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36753 cat >conftest.
$ac_ext <<_ACEOF
36756 cat confdefs.h
>>conftest.
$ac_ext
36757 cat >>conftest.
$ac_ext <<_ACEOF
36758 /* end confdefs.h. */
36760 #include <linux/cdrom.h>
36763 #include <sys/cdio.h>
36769 struct cdrom_tocentry entry, old_entry;
36774 rm -f conftest.
$ac_objext
36775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36776 (eval $ac_compile) 2>conftest.er1
36778 grep -v '^ *+' conftest.er1
>conftest.err
36780 cat conftest.err
>&5
36781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36782 (exit $ac_status); } &&
36783 { ac_try
='test -z "$ac_c_werror_flag"
36784 || test ! -s conftest.err'
36785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36786 (eval $ac_try) 2>&5
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); }; } &&
36790 { ac_try
='test -s conftest.$ac_objext'
36791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36792 (eval $ac_try) 2>&5
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); }; }; then
36796 echo "$as_me:$LINENO: result: yes" >&5
36797 echo "${ECHO_T}yes" >&6
36798 cat >>confdefs.h
<<\_ACEOF
36799 #define HAVE_KNOWN_CDROM_INTERFACE 1
36803 echo "$as_me: failed program was:" >&5
36804 sed 's/^/| /' conftest.
$ac_ext >&5
36806 echo "$as_me:$LINENO: result: no" >&5
36807 echo "${ECHO_T}no" >&6
36809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36812 cat >confcache
<<\_ACEOF
36813 # This file is a shell script that caches the results of configure
36814 # tests run on this system so they can be shared between configure
36815 # scripts and configure runs, see configure's option --config-cache.
36816 # It is not useful on other systems. If it contains results you don't
36817 # want to keep, you may remove or edit it.
36819 # config.status only pays attention to the cache file if you give it
36820 # the --recheck option to rerun configure.
36822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36824 # following values.
36828 # The following way of writing the cache mishandles newlines in values,
36829 # but we know of no workaround that is simple, portable, and efficient.
36830 # So, don't put newlines in cache variables' values.
36831 # Ultrix sh set writes to stderr and can't be redirected directly,
36832 # and sets the high bit in the cache file unless we assign to the vars.
36835 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36837 # `set' does not quote correctly, so add quotes (double-quote
36838 # substitution turns \\\\ into \\, and sed turns \\ into \).
36841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36844 # `set' quotes correctly as required by POSIX, so do not add quotes.
36846 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36853 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36855 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36857 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36858 if test -w $cache_file; then
36859 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36860 cat confcache
>$cache_file
36862 echo "not updating unwritable cache $cache_file"
36868 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36874 if test "$wxUSE_THREADS" = "yes" ; then
36875 if test "$USE_BEOS" = 1; then
36876 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36877 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36882 if test "$wxUSE_THREADS" = "yes" ; then
36885 THREAD_OPTS
="-pthread"
36887 *-*-solaris2* | *-*-sunos4* )
36888 if test "x$GCC" = "xyes"; then
36889 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36891 THREAD_OPTS
="-mt $THREAD_OPTS"
36895 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36897 *-*-darwin* | *-*-cygwin* )
36901 THREAD_OPTS
="pthreads"
36904 if test "x$GCC" = "xyes"; then
36905 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36913 if test "x$GCC" = "xyes"; then
36919 if test "x$GCC" != "xyes"; then
36920 THREAD_OPTS
="-Ethread"
36925 THREAD_OPTS
="$THREAD_OPTS pthread none"
36928 for flag
in $THREAD_OPTS; do
36931 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36932 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36936 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36937 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36938 THREADS_CFLAGS
="$flag"
36942 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36943 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36944 THREADS_LINK
="-l$flag"
36949 save_CFLAGS
="$CFLAGS"
36950 LIBS
="$THREADS_LINK $LIBS"
36951 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
36953 cat >conftest.
$ac_ext <<_ACEOF
36956 cat confdefs.h
>>conftest.
$ac_ext
36957 cat >>conftest.
$ac_ext <<_ACEOF
36958 /* end confdefs.h. */
36959 #include <pthread.h>
36963 pthread_create(0,0,0,0);
36968 rm -f conftest.
$ac_objext conftest
$ac_exeext
36969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36970 (eval $ac_link) 2>conftest.er1
36972 grep -v '^ *+' conftest.er1
>conftest.err
36974 cat conftest.err
>&5
36975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36976 (exit $ac_status); } &&
36977 { ac_try
='test -z "$ac_c_werror_flag"
36978 || test ! -s conftest.err'
36979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36980 (eval $ac_try) 2>&5
36982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983 (exit $ac_status); }; } &&
36984 { ac_try
='test -s conftest$ac_exeext'
36985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36986 (eval $ac_try) 2>&5
36988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36989 (exit $ac_status); }; }; then
36992 echo "$as_me: failed program was:" >&5
36993 sed 's/^/| /' conftest.
$ac_ext >&5
36996 rm -f conftest.err conftest.
$ac_objext \
36997 conftest
$ac_exeext conftest.
$ac_ext
37000 CFLAGS
="$save_CFLAGS"
37002 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37003 echo "${ECHO_T}$THREADS_OK" >&6
37004 if test "x$THREADS_OK" = "xyes"; then
37012 if test "x$THREADS_OK" != "xyes"; then
37014 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37015 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37017 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
37018 LIBS
="$THREADS_LINK $LIBS"
37020 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37021 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37025 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37026 flag
="-D_THREAD_SAFE"
37029 flag
="-D_THREAD_SAFE"
37032 flag
="-D_REENTRANT"
37033 if test "x$GCC" != "xyes"; then
37034 flag
="$flag -D_RWSTD_MULTI_THREAD"
37037 *solaris
* | alpha
*-osf*)
37038 flag
="-D_REENTRANT"
37041 echo "$as_me:$LINENO: result: ${flag}" >&5
37042 echo "${ECHO_T}${flag}" >&6
37043 if test "x$flag" != xno
; then
37044 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
37047 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37051 if test "$wxUSE_THREADS" = "yes" ; then
37053 for ac_func
in thr_setconcurrency
37055 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37056 echo "$as_me:$LINENO: checking for $ac_func" >&5
37057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37058 if eval "test \"\${$as_ac_var+set}\" = set"; then
37059 echo $ECHO_N "(cached) $ECHO_C" >&6
37061 cat >conftest.
$ac_ext <<_ACEOF
37064 cat confdefs.h
>>conftest.
$ac_ext
37065 cat >>conftest.
$ac_ext <<_ACEOF
37066 /* end confdefs.h. */
37067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37069 #define $ac_func innocuous_$ac_func
37071 /* System header to define __stub macros and hopefully few prototypes,
37072 which can conflict with char $ac_func (); below.
37073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37074 <limits.h> exists even on freestanding compilers. */
37077 # include <limits.h>
37079 # include <assert.h>
37084 /* Override any gcc2 internal prototype to avoid an error. */
37089 /* We use char because int might match the return type of a gcc2
37090 builtin and then its argument prototype would still apply. */
37092 /* The GNU C library defines this for functions which it implements
37093 to always fail with ENOSYS. Some functions are actually named
37094 something starting with __ and the normal name is an alias. */
37095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37098 char (*f) () = $ac_func;
37107 return f != $ac_func;
37112 rm -f conftest.
$ac_objext conftest
$ac_exeext
37113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37114 (eval $ac_link) 2>conftest.er1
37116 grep -v '^ *+' conftest.er1
>conftest.err
37118 cat conftest.err
>&5
37119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37120 (exit $ac_status); } &&
37121 { ac_try
='test -z "$ac_c_werror_flag"
37122 || test ! -s conftest.err'
37123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37124 (eval $ac_try) 2>&5
37126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37127 (exit $ac_status); }; } &&
37128 { ac_try
='test -s conftest$ac_exeext'
37129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37130 (eval $ac_try) 2>&5
37132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37133 (exit $ac_status); }; }; then
37134 eval "$as_ac_var=yes"
37136 echo "$as_me: failed program was:" >&5
37137 sed 's/^/| /' conftest.
$ac_ext >&5
37139 eval "$as_ac_var=no"
37141 rm -f conftest.err conftest.
$ac_objext \
37142 conftest
$ac_exeext conftest.
$ac_ext
37144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37146 if test `eval echo '${'$as_ac_var'}'` = yes; then
37147 cat >>confdefs.h
<<_ACEOF
37148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37155 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37156 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37157 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37158 echo $ECHO_N "(cached) $ECHO_C" >&6
37161 cat >conftest.
$ac_ext <<_ACEOF
37164 cat confdefs.h
>>conftest.
$ac_ext
37165 cat >>conftest.
$ac_ext <<_ACEOF
37166 /* end confdefs.h. */
37167 #include <pthread.h>
37168 void ThreadCleanupFunc(void *p);
37175 pthread_cleanup_push(ThreadCleanupFunc, p);
37176 pthread_cleanup_pop(0);
37182 rm -f conftest.
$ac_objext
37183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37184 (eval $ac_compile) 2>conftest.er1
37186 grep -v '^ *+' conftest.er1
>conftest.err
37188 cat conftest.err
>&5
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); } &&
37191 { ac_try
='test -z "$ac_c_werror_flag"
37192 || test ! -s conftest.err'
37193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37194 (eval $ac_try) 2>&5
37196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37197 (exit $ac_status); }; } &&
37198 { ac_try
='test -s conftest.$ac_objext'
37199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37200 (eval $ac_try) 2>&5
37202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203 (exit $ac_status); }; }; then
37205 wx_cv_func_pthread_cleanup
=yes
37208 echo "$as_me: failed program was:" >&5
37209 sed 's/^/| /' conftest.
$ac_ext >&5
37212 wx_cv_func_pthread_cleanup
=no
37216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37219 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37220 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37221 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37222 cat >>confdefs.h
<<\_ACEOF
37223 #define wxHAVE_PTHREAD_CLEANUP 1
37229 for ac_header
in sched.h
37231 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37233 echo "$as_me:$LINENO: checking for $ac_header" >&5
37234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37236 echo $ECHO_N "(cached) $ECHO_C" >&6
37238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37241 # Is the header compilable?
37242 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37243 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37244 cat >conftest.
$ac_ext <<_ACEOF
37247 cat confdefs.h
>>conftest.
$ac_ext
37248 cat >>conftest.
$ac_ext <<_ACEOF
37249 /* end confdefs.h. */
37250 $ac_includes_default
37251 #include <$ac_header>
37253 rm -f conftest.
$ac_objext
37254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37255 (eval $ac_compile) 2>conftest.er1
37257 grep -v '^ *+' conftest.er1
>conftest.err
37259 cat conftest.err
>&5
37260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261 (exit $ac_status); } &&
37262 { ac_try
='test -z "$ac_c_werror_flag"
37263 || test ! -s conftest.err'
37264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37265 (eval $ac_try) 2>&5
37267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268 (exit $ac_status); }; } &&
37269 { ac_try
='test -s conftest.$ac_objext'
37270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37271 (eval $ac_try) 2>&5
37273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274 (exit $ac_status); }; }; then
37275 ac_header_compiler
=yes
37277 echo "$as_me: failed program was:" >&5
37278 sed 's/^/| /' conftest.
$ac_ext >&5
37280 ac_header_compiler
=no
37282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37284 echo "${ECHO_T}$ac_header_compiler" >&6
37286 # Is the header present?
37287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37289 cat >conftest.
$ac_ext <<_ACEOF
37292 cat confdefs.h
>>conftest.
$ac_ext
37293 cat >>conftest.
$ac_ext <<_ACEOF
37294 /* end confdefs.h. */
37295 #include <$ac_header>
37297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37298 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37300 grep -v '^ *+' conftest.er1
>conftest.err
37302 cat conftest.err
>&5
37303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304 (exit $ac_status); } >/dev
/null
; then
37305 if test -s conftest.err
; then
37306 ac_cpp_err
=$ac_c_preproc_warn_flag
37307 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37314 if test -z "$ac_cpp_err"; then
37315 ac_header_preproc
=yes
37317 echo "$as_me: failed program was:" >&5
37318 sed 's/^/| /' conftest.
$ac_ext >&5
37320 ac_header_preproc
=no
37322 rm -f conftest.err conftest.
$ac_ext
37323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37324 echo "${ECHO_T}$ac_header_preproc" >&6
37326 # So? What about this header?
37327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37333 ac_header_preproc
=yes
37336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37350 ## ----------------------------------------- ##
37351 ## Report this to wx-dev@lists.wxwidgets.org ##
37352 ## ----------------------------------------- ##
37355 sed "s/^/$as_me: WARNING: /" >&2
37358 echo "$as_me:$LINENO: checking for $ac_header" >&5
37359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37361 echo $ECHO_N "(cached) $ECHO_C" >&6
37363 eval "$as_ac_Header=\$ac_header_preproc"
37365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37370 cat >>confdefs.h
<<_ACEOF
37371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37378 if test "$ac_cv_header_sched_h" = "yes"; then
37379 echo "$as_me:$LINENO: checking for sched_yield" >&5
37380 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37381 if test "${ac_cv_func_sched_yield+set}" = set; then
37382 echo $ECHO_N "(cached) $ECHO_C" >&6
37384 cat >conftest.
$ac_ext <<_ACEOF
37387 cat confdefs.h
>>conftest.
$ac_ext
37388 cat >>conftest.
$ac_ext <<_ACEOF
37389 /* end confdefs.h. */
37390 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37392 #define sched_yield innocuous_sched_yield
37394 /* System header to define __stub macros and hopefully few prototypes,
37395 which can conflict with char sched_yield (); below.
37396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37397 <limits.h> exists even on freestanding compilers. */
37400 # include <limits.h>
37402 # include <assert.h>
37407 /* Override any gcc2 internal prototype to avoid an error. */
37412 /* We use char because int might match the return type of a gcc2
37413 builtin and then its argument prototype would still apply. */
37414 char sched_yield ();
37415 /* The GNU C library defines this for functions which it implements
37416 to always fail with ENOSYS. Some functions are actually named
37417 something starting with __ and the normal name is an alias. */
37418 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37421 char (*f) () = sched_yield;
37430 return f != sched_yield;
37435 rm -f conftest.
$ac_objext conftest
$ac_exeext
37436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37437 (eval $ac_link) 2>conftest.er1
37439 grep -v '^ *+' conftest.er1
>conftest.err
37441 cat conftest.err
>&5
37442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37443 (exit $ac_status); } &&
37444 { ac_try
='test -z "$ac_c_werror_flag"
37445 || test ! -s conftest.err'
37446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37447 (eval $ac_try) 2>&5
37449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37450 (exit $ac_status); }; } &&
37451 { ac_try
='test -s conftest$ac_exeext'
37452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37453 (eval $ac_try) 2>&5
37455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37456 (exit $ac_status); }; }; then
37457 ac_cv_func_sched_yield
=yes
37459 echo "$as_me: failed program was:" >&5
37460 sed 's/^/| /' conftest.
$ac_ext >&5
37462 ac_cv_func_sched_yield
=no
37464 rm -f conftest.err conftest.
$ac_objext \
37465 conftest
$ac_exeext conftest.
$ac_ext
37467 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37468 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37469 if test $ac_cv_func_sched_yield = yes; then
37470 cat >>confdefs.h
<<\_ACEOF
37471 #define HAVE_SCHED_YIELD 1
37476 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37477 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37478 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37479 echo $ECHO_N "(cached) $ECHO_C" >&6
37481 ac_check_lib_save_LIBS
=$LIBS
37482 LIBS
="-lposix4 $LIBS"
37483 cat >conftest.
$ac_ext <<_ACEOF
37486 cat confdefs.h
>>conftest.
$ac_ext
37487 cat >>conftest.
$ac_ext <<_ACEOF
37488 /* end confdefs.h. */
37490 /* Override any gcc2 internal prototype to avoid an error. */
37494 /* We use char because int might match the return type of a gcc2
37495 builtin and then its argument prototype would still apply. */
37496 char sched_yield ();
37505 rm -f conftest.
$ac_objext conftest
$ac_exeext
37506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37507 (eval $ac_link) 2>conftest.er1
37509 grep -v '^ *+' conftest.er1
>conftest.err
37511 cat conftest.err
>&5
37512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513 (exit $ac_status); } &&
37514 { ac_try
='test -z "$ac_c_werror_flag"
37515 || test ! -s conftest.err'
37516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37517 (eval $ac_try) 2>&5
37519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37520 (exit $ac_status); }; } &&
37521 { ac_try
='test -s conftest$ac_exeext'
37522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37523 (eval $ac_try) 2>&5
37525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37526 (exit $ac_status); }; }; then
37527 ac_cv_lib_posix4_sched_yield
=yes
37529 echo "$as_me: failed program was:" >&5
37530 sed 's/^/| /' conftest.
$ac_ext >&5
37532 ac_cv_lib_posix4_sched_yield
=no
37534 rm -f conftest.err conftest.
$ac_objext \
37535 conftest
$ac_exeext conftest.
$ac_ext
37536 LIBS
=$ac_check_lib_save_LIBS
37538 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37539 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37540 if test $ac_cv_lib_posix4_sched_yield = yes; then
37541 cat >>confdefs.h
<<\_ACEOF
37542 #define HAVE_SCHED_YIELD 1
37544 POSIX4_LINK
=" -lposix4"
37546 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37547 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37558 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37559 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37560 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37561 echo $ECHO_N "(cached) $ECHO_C" >&6
37563 cat >conftest.
$ac_ext <<_ACEOF
37566 cat confdefs.h
>>conftest.
$ac_ext
37567 cat >>conftest.
$ac_ext <<_ACEOF
37568 /* end confdefs.h. */
37569 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37571 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37573 /* System header to define __stub macros and hopefully few prototypes,
37574 which can conflict with char pthread_attr_getschedpolicy (); below.
37575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37576 <limits.h> exists even on freestanding compilers. */
37579 # include <limits.h>
37581 # include <assert.h>
37584 #undef pthread_attr_getschedpolicy
37586 /* Override any gcc2 internal prototype to avoid an error. */
37591 /* We use char because int might match the return type of a gcc2
37592 builtin and then its argument prototype would still apply. */
37593 char pthread_attr_getschedpolicy ();
37594 /* The GNU C library defines this for functions which it implements
37595 to always fail with ENOSYS. Some functions are actually named
37596 something starting with __ and the normal name is an alias. */
37597 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37600 char (*f) () = pthread_attr_getschedpolicy;
37609 return f != pthread_attr_getschedpolicy;
37614 rm -f conftest.
$ac_objext conftest
$ac_exeext
37615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37616 (eval $ac_link) 2>conftest.er1
37618 grep -v '^ *+' conftest.er1
>conftest.err
37620 cat conftest.err
>&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); } &&
37623 { ac_try
='test -z "$ac_c_werror_flag"
37624 || test ! -s conftest.err'
37625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37626 (eval $ac_try) 2>&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); }; } &&
37630 { ac_try
='test -s conftest$ac_exeext'
37631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37632 (eval $ac_try) 2>&5
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); }; }; then
37636 ac_cv_func_pthread_attr_getschedpolicy
=yes
37638 echo "$as_me: failed program was:" >&5
37639 sed 's/^/| /' conftest.
$ac_ext >&5
37641 ac_cv_func_pthread_attr_getschedpolicy
=no
37643 rm -f conftest.err conftest.
$ac_objext \
37644 conftest
$ac_exeext conftest.
$ac_ext
37646 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37647 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37648 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37649 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37650 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37651 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37652 echo $ECHO_N "(cached) $ECHO_C" >&6
37654 cat >conftest.
$ac_ext <<_ACEOF
37657 cat confdefs.h
>>conftest.
$ac_ext
37658 cat >>conftest.
$ac_ext <<_ACEOF
37659 /* end confdefs.h. */
37660 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37662 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37664 /* System header to define __stub macros and hopefully few prototypes,
37665 which can conflict with char pthread_attr_setschedparam (); below.
37666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37667 <limits.h> exists even on freestanding compilers. */
37670 # include <limits.h>
37672 # include <assert.h>
37675 #undef pthread_attr_setschedparam
37677 /* Override any gcc2 internal prototype to avoid an error. */
37682 /* We use char because int might match the return type of a gcc2
37683 builtin and then its argument prototype would still apply. */
37684 char pthread_attr_setschedparam ();
37685 /* The GNU C library defines this for functions which it implements
37686 to always fail with ENOSYS. Some functions are actually named
37687 something starting with __ and the normal name is an alias. */
37688 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37691 char (*f) () = pthread_attr_setschedparam;
37700 return f != pthread_attr_setschedparam;
37705 rm -f conftest.
$ac_objext conftest
$ac_exeext
37706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37707 (eval $ac_link) 2>conftest.er1
37709 grep -v '^ *+' conftest.er1
>conftest.err
37711 cat conftest.err
>&5
37712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713 (exit $ac_status); } &&
37714 { ac_try
='test -z "$ac_c_werror_flag"
37715 || test ! -s conftest.err'
37716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37717 (eval $ac_try) 2>&5
37719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37720 (exit $ac_status); }; } &&
37721 { ac_try
='test -s conftest$ac_exeext'
37722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37723 (eval $ac_try) 2>&5
37725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37726 (exit $ac_status); }; }; then
37727 ac_cv_func_pthread_attr_setschedparam
=yes
37729 echo "$as_me: failed program was:" >&5
37730 sed 's/^/| /' conftest.
$ac_ext >&5
37732 ac_cv_func_pthread_attr_setschedparam
=no
37734 rm -f conftest.err conftest.
$ac_objext \
37735 conftest
$ac_exeext conftest.
$ac_ext
37737 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37738 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37739 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37740 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37741 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37742 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37743 echo $ECHO_N "(cached) $ECHO_C" >&6
37745 cat >conftest.
$ac_ext <<_ACEOF
37748 cat confdefs.h
>>conftest.
$ac_ext
37749 cat >>conftest.
$ac_ext <<_ACEOF
37750 /* end confdefs.h. */
37751 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37753 #define sched_get_priority_max innocuous_sched_get_priority_max
37755 /* System header to define __stub macros and hopefully few prototypes,
37756 which can conflict with char sched_get_priority_max (); below.
37757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37758 <limits.h> exists even on freestanding compilers. */
37761 # include <limits.h>
37763 # include <assert.h>
37766 #undef sched_get_priority_max
37768 /* Override any gcc2 internal prototype to avoid an error. */
37773 /* We use char because int might match the return type of a gcc2
37774 builtin and then its argument prototype would still apply. */
37775 char sched_get_priority_max ();
37776 /* The GNU C library defines this for functions which it implements
37777 to always fail with ENOSYS. Some functions are actually named
37778 something starting with __ and the normal name is an alias. */
37779 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37782 char (*f) () = sched_get_priority_max;
37791 return f != sched_get_priority_max;
37796 rm -f conftest.
$ac_objext conftest
$ac_exeext
37797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37798 (eval $ac_link) 2>conftest.er1
37800 grep -v '^ *+' conftest.er1
>conftest.err
37802 cat conftest.err
>&5
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); } &&
37805 { ac_try
='test -z "$ac_c_werror_flag"
37806 || test ! -s conftest.err'
37807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37808 (eval $ac_try) 2>&5
37810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37811 (exit $ac_status); }; } &&
37812 { ac_try
='test -s conftest$ac_exeext'
37813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37814 (eval $ac_try) 2>&5
37816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37817 (exit $ac_status); }; }; then
37818 ac_cv_func_sched_get_priority_max
=yes
37820 echo "$as_me: failed program was:" >&5
37821 sed 's/^/| /' conftest.
$ac_ext >&5
37823 ac_cv_func_sched_get_priority_max
=no
37825 rm -f conftest.err conftest.
$ac_objext \
37826 conftest
$ac_exeext conftest.
$ac_ext
37828 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37829 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37830 if test $ac_cv_func_sched_get_priority_max = yes; then
37833 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37834 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37835 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37836 echo $ECHO_N "(cached) $ECHO_C" >&6
37838 ac_check_lib_save_LIBS
=$LIBS
37839 LIBS
="-lposix4 $LIBS"
37840 cat >conftest.
$ac_ext <<_ACEOF
37843 cat confdefs.h
>>conftest.
$ac_ext
37844 cat >>conftest.
$ac_ext <<_ACEOF
37845 /* end confdefs.h. */
37847 /* Override any gcc2 internal prototype to avoid an error. */
37851 /* We use char because int might match the return type of a gcc2
37852 builtin and then its argument prototype would still apply. */
37853 char sched_get_priority_max ();
37857 sched_get_priority_max ();
37862 rm -f conftest.
$ac_objext conftest
$ac_exeext
37863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37864 (eval $ac_link) 2>conftest.er1
37866 grep -v '^ *+' conftest.er1
>conftest.err
37868 cat conftest.err
>&5
37869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37870 (exit $ac_status); } &&
37871 { ac_try
='test -z "$ac_c_werror_flag"
37872 || test ! -s conftest.err'
37873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37874 (eval $ac_try) 2>&5
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); }; } &&
37878 { ac_try
='test -s conftest$ac_exeext'
37879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37880 (eval $ac_try) 2>&5
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); }; }; then
37884 ac_cv_lib_posix4_sched_get_priority_max
=yes
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.
$ac_ext >&5
37889 ac_cv_lib_posix4_sched_get_priority_max
=no
37891 rm -f conftest.err conftest.
$ac_objext \
37892 conftest
$ac_exeext conftest.
$ac_ext
37893 LIBS
=$ac_check_lib_save_LIBS
37895 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37896 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37897 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37900 POSIX4_LINK
=" -lposix4"
37914 if test "$HAVE_PRIOR_FUNCS" = 1; then
37915 cat >>confdefs.h
<<\_ACEOF
37916 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37920 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37921 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37924 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37925 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37926 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37927 echo $ECHO_N "(cached) $ECHO_C" >&6
37929 cat >conftest.
$ac_ext <<_ACEOF
37932 cat confdefs.h
>>conftest.
$ac_ext
37933 cat >>conftest.
$ac_ext <<_ACEOF
37934 /* end confdefs.h. */
37935 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37937 #define pthread_cancel innocuous_pthread_cancel
37939 /* System header to define __stub macros and hopefully few prototypes,
37940 which can conflict with char pthread_cancel (); below.
37941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37942 <limits.h> exists even on freestanding compilers. */
37945 # include <limits.h>
37947 # include <assert.h>
37950 #undef pthread_cancel
37952 /* Override any gcc2 internal prototype to avoid an error. */
37957 /* We use char because int might match the return type of a gcc2
37958 builtin and then its argument prototype would still apply. */
37959 char pthread_cancel ();
37960 /* The GNU C library defines this for functions which it implements
37961 to always fail with ENOSYS. Some functions are actually named
37962 something starting with __ and the normal name is an alias. */
37963 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37966 char (*f) () = pthread_cancel;
37975 return f != pthread_cancel;
37980 rm -f conftest.
$ac_objext conftest
$ac_exeext
37981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37982 (eval $ac_link) 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"
37990 || test ! -s conftest.err'
37991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37992 (eval $ac_try) 2>&5
37994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37995 (exit $ac_status); }; } &&
37996 { ac_try
='test -s conftest$ac_exeext'
37997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37998 (eval $ac_try) 2>&5
38000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38001 (exit $ac_status); }; }; then
38002 ac_cv_func_pthread_cancel
=yes
38004 echo "$as_me: failed program was:" >&5
38005 sed 's/^/| /' conftest.
$ac_ext >&5
38007 ac_cv_func_pthread_cancel
=no
38009 rm -f conftest.err conftest.
$ac_objext \
38010 conftest
$ac_exeext conftest.
$ac_ext
38012 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38013 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38014 if test $ac_cv_func_pthread_cancel = yes; then
38015 cat >>confdefs.h
<<\_ACEOF
38016 #define HAVE_PTHREAD_CANCEL 1
38020 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38021 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38025 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38026 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38027 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38028 echo $ECHO_N "(cached) $ECHO_C" >&6
38030 cat >conftest.
$ac_ext <<_ACEOF
38033 cat confdefs.h
>>conftest.
$ac_ext
38034 cat >>conftest.
$ac_ext <<_ACEOF
38035 /* end confdefs.h. */
38036 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38038 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38040 /* System header to define __stub macros and hopefully few prototypes,
38041 which can conflict with char pthread_attr_setstacksize (); below.
38042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38043 <limits.h> exists even on freestanding compilers. */
38046 # include <limits.h>
38048 # include <assert.h>
38051 #undef pthread_attr_setstacksize
38053 /* Override any gcc2 internal prototype to avoid an error. */
38058 /* We use char because int might match the return type of a gcc2
38059 builtin and then its argument prototype would still apply. */
38060 char pthread_attr_setstacksize ();
38061 /* The GNU C library defines this for functions which it implements
38062 to always fail with ENOSYS. Some functions are actually named
38063 something starting with __ and the normal name is an alias. */
38064 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38067 char (*f) () = pthread_attr_setstacksize;
38076 return f != pthread_attr_setstacksize;
38081 rm -f conftest.
$ac_objext conftest
$ac_exeext
38082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38083 (eval $ac_link) 2>conftest.er1
38085 grep -v '^ *+' conftest.er1
>conftest.err
38087 cat conftest.err
>&5
38088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38089 (exit $ac_status); } &&
38090 { ac_try
='test -z "$ac_c_werror_flag"
38091 || test ! -s conftest.err'
38092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38093 (eval $ac_try) 2>&5
38095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38096 (exit $ac_status); }; } &&
38097 { ac_try
='test -s conftest$ac_exeext'
38098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38099 (eval $ac_try) 2>&5
38101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38102 (exit $ac_status); }; }; then
38103 ac_cv_func_pthread_attr_setstacksize
=yes
38105 echo "$as_me: failed program was:" >&5
38106 sed 's/^/| /' conftest.
$ac_ext >&5
38108 ac_cv_func_pthread_attr_setstacksize
=no
38110 rm -f conftest.err conftest.
$ac_objext \
38111 conftest
$ac_exeext conftest.
$ac_ext
38113 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38114 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38115 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38116 cat >>confdefs.h
<<\_ACEOF
38117 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38124 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38125 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38126 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38127 echo $ECHO_N "(cached) $ECHO_C" >&6
38130 cat >conftest.
$ac_ext <<_ACEOF
38133 cat confdefs.h
>>conftest.
$ac_ext
38134 cat >>conftest.
$ac_ext <<_ACEOF
38135 /* end confdefs.h. */
38136 #include <pthread.h>
38141 pthread_mutexattr_t attr;
38142 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38148 rm -f conftest.
$ac_objext
38149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38150 (eval $ac_compile) 2>conftest.er1
38152 grep -v '^ *+' conftest.er1
>conftest.err
38154 cat conftest.err
>&5
38155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38156 (exit $ac_status); } &&
38157 { ac_try
='test -z "$ac_c_werror_flag"
38158 || test ! -s conftest.err'
38159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38160 (eval $ac_try) 2>&5
38162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38163 (exit $ac_status); }; } &&
38164 { ac_try
='test -s conftest.$ac_objext'
38165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38166 (eval $ac_try) 2>&5
38168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38169 (exit $ac_status); }; }; then
38170 wx_cv_type_pthread_mutexattr_t
=yes
38172 echo "$as_me: failed program was:" >&5
38173 sed 's/^/| /' conftest.
$ac_ext >&5
38175 wx_cv_type_pthread_mutexattr_t
=no
38178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38181 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38182 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38184 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38185 cat >>confdefs.h
<<\_ACEOF
38186 #define HAVE_PTHREAD_MUTEXATTR_T 1
38190 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38191 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38192 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38193 echo $ECHO_N "(cached) $ECHO_C" >&6
38196 cat >conftest.
$ac_ext <<_ACEOF
38199 cat confdefs.h
>>conftest.
$ac_ext
38200 cat >>conftest.
$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38202 #include <pthread.h>
38207 pthread_mutexattr_t attr;
38208 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38214 rm -f conftest.
$ac_objext
38215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38216 (eval $ac_compile) 2>conftest.er1
38218 grep -v '^ *+' conftest.er1
>conftest.err
38220 cat conftest.err
>&5
38221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38222 (exit $ac_status); } &&
38223 { ac_try
='test -z "$ac_c_werror_flag"
38224 || test ! -s conftest.err'
38225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38226 (eval $ac_try) 2>&5
38228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38229 (exit $ac_status); }; } &&
38230 { ac_try
='test -s conftest.$ac_objext'
38231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38232 (eval $ac_try) 2>&5
38234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38235 (exit $ac_status); }; }; then
38236 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38238 echo "$as_me: failed program was:" >&5
38239 sed 's/^/| /' conftest.
$ac_ext >&5
38241 wx_cv_func_pthread_mutexattr_settype_decl
=no
38244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38247 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38248 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38249 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38250 cat >>confdefs.h
<<\_ACEOF
38251 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38256 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38257 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38258 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38259 echo $ECHO_N "(cached) $ECHO_C" >&6
38262 cat >conftest.
$ac_ext <<_ACEOF
38265 cat confdefs.h
>>conftest.
$ac_ext
38266 cat >>conftest.
$ac_ext <<_ACEOF
38267 /* end confdefs.h. */
38268 #include <pthread.h>
38273 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38279 rm -f conftest.
$ac_objext
38280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38281 (eval $ac_compile) 2>conftest.er1
38283 grep -v '^ *+' conftest.er1
>conftest.err
38285 cat conftest.err
>&5
38286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38287 (exit $ac_status); } &&
38288 { ac_try
='test -z "$ac_c_werror_flag"
38289 || test ! -s conftest.err'
38290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38291 (eval $ac_try) 2>&5
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); }; } &&
38295 { ac_try
='test -s conftest.$ac_objext'
38296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38297 (eval $ac_try) 2>&5
38299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38300 (exit $ac_status); }; }; then
38302 wx_cv_type_pthread_rec_mutex_init
=yes
38305 echo "$as_me: failed program was:" >&5
38306 sed 's/^/| /' conftest.
$ac_ext >&5
38309 wx_cv_type_pthread_rec_mutex_init
=no
38313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38316 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38317 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38318 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38319 cat >>confdefs.h
<<\_ACEOF
38320 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38324 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38325 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38331 if test "$wxUSE_THREADS" = "yes" ; then
38334 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38335 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38336 if test "${wx_cv_cflags_mthread+set}" = set; then
38337 echo $ECHO_N "(cached) $ECHO_C" >&6
38340 CFLAGS_OLD
="$CFLAGS"
38341 CFLAGS
="-mthreads $CFLAGS"
38342 cat >conftest.
$ac_ext <<_ACEOF
38345 cat confdefs.h
>>conftest.
$ac_ext
38346 cat >>conftest.
$ac_ext <<_ACEOF
38347 /* end confdefs.h. */
38357 rm -f conftest.
$ac_objext
38358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38359 (eval $ac_compile) 2>conftest.er1
38361 grep -v '^ *+' conftest.er1
>conftest.err
38363 cat conftest.err
>&5
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); } &&
38366 { ac_try
='test -z "$ac_c_werror_flag"
38367 || test ! -s conftest.err'
38368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38369 (eval $ac_try) 2>&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); }; } &&
38373 { ac_try
='test -s conftest.$ac_objext'
38374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38375 (eval $ac_try) 2>&5
38377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38378 (exit $ac_status); }; }; then
38379 wx_cv_cflags_mthread
=yes
38381 echo "$as_me: failed program was:" >&5
38382 sed 's/^/| /' conftest.
$ac_ext >&5
38384 wx_cv_cflags_mthread
=no
38387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38391 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38392 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38394 if test "$wx_cv_cflags_mthread" = "yes"; then
38395 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
38396 LDFLAGS
="$LDFLAGS -mthreads"
38398 CFLAGS
="$CFLAGS_OLD"
38402 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38403 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38404 LDFLAGS
="$LDFLAGS -Zmt"
38410 echo "$as_me:$LINENO: checking for localtime_r" >&5
38411 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38412 if test "${ac_cv_func_localtime_r+set}" = set; then
38413 echo $ECHO_N "(cached) $ECHO_C" >&6
38415 cat >conftest.
$ac_ext <<_ACEOF
38418 cat confdefs.h
>>conftest.
$ac_ext
38419 cat >>conftest.
$ac_ext <<_ACEOF
38420 /* end confdefs.h. */
38421 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38423 #define localtime_r innocuous_localtime_r
38425 /* System header to define __stub macros and hopefully few prototypes,
38426 which can conflict with char localtime_r (); below.
38427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38428 <limits.h> exists even on freestanding compilers. */
38431 # include <limits.h>
38433 # include <assert.h>
38438 /* Override any gcc2 internal prototype to avoid an error. */
38443 /* We use char because int might match the return type of a gcc2
38444 builtin and then its argument prototype would still apply. */
38445 char localtime_r ();
38446 /* The GNU C library defines this for functions which it implements
38447 to always fail with ENOSYS. Some functions are actually named
38448 something starting with __ and the normal name is an alias. */
38449 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38452 char (*f) () = localtime_r;
38461 return f != localtime_r;
38466 rm -f conftest.
$ac_objext conftest
$ac_exeext
38467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38468 (eval $ac_link) 2>conftest.er1
38470 grep -v '^ *+' conftest.er1
>conftest.err
38472 cat conftest.err
>&5
38473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38474 (exit $ac_status); } &&
38475 { ac_try
='test -z "$ac_c_werror_flag"
38476 || test ! -s conftest.err'
38477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38478 (eval $ac_try) 2>&5
38480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38481 (exit $ac_status); }; } &&
38482 { ac_try
='test -s conftest$ac_exeext'
38483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38484 (eval $ac_try) 2>&5
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); }; }; then
38488 ac_cv_func_localtime_r
=yes
38490 echo "$as_me: failed program was:" >&5
38491 sed 's/^/| /' conftest.
$ac_ext >&5
38493 ac_cv_func_localtime_r
=no
38495 rm -f conftest.err conftest.
$ac_objext \
38496 conftest
$ac_exeext conftest.
$ac_ext
38498 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38499 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38500 if test $ac_cv_func_localtime_r = yes; then
38501 cat >>confdefs.h
<<\_ACEOF
38502 #define HAVE_LOCALTIME_R 1
38507 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38508 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38509 if test "${ac_cv_func_gmtime_r+set}" = set; then
38510 echo $ECHO_N "(cached) $ECHO_C" >&6
38512 cat >conftest.
$ac_ext <<_ACEOF
38515 cat confdefs.h
>>conftest.
$ac_ext
38516 cat >>conftest.
$ac_ext <<_ACEOF
38517 /* end confdefs.h. */
38518 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38520 #define gmtime_r innocuous_gmtime_r
38522 /* System header to define __stub macros and hopefully few prototypes,
38523 which can conflict with char gmtime_r (); below.
38524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38525 <limits.h> exists even on freestanding compilers. */
38528 # include <limits.h>
38530 # include <assert.h>
38535 /* Override any gcc2 internal prototype to avoid an error. */
38540 /* We use char because int might match the return type of a gcc2
38541 builtin and then its argument prototype would still apply. */
38543 /* The GNU C library defines this for functions which it implements
38544 to always fail with ENOSYS. Some functions are actually named
38545 something starting with __ and the normal name is an alias. */
38546 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38549 char (*f) () = gmtime_r;
38558 return f != gmtime_r;
38563 rm -f conftest.
$ac_objext conftest
$ac_exeext
38564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38565 (eval $ac_link) 2>conftest.er1
38567 grep -v '^ *+' conftest.er1
>conftest.err
38569 cat conftest.err
>&5
38570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38571 (exit $ac_status); } &&
38572 { ac_try
='test -z "$ac_c_werror_flag"
38573 || test ! -s conftest.err'
38574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38575 (eval $ac_try) 2>&5
38577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38578 (exit $ac_status); }; } &&
38579 { ac_try
='test -s conftest$ac_exeext'
38580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38581 (eval $ac_try) 2>&5
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); }; }; then
38585 ac_cv_func_gmtime_r
=yes
38587 echo "$as_me: failed program was:" >&5
38588 sed 's/^/| /' conftest.
$ac_ext >&5
38590 ac_cv_func_gmtime_r
=no
38592 rm -f conftest.err conftest.
$ac_objext \
38593 conftest
$ac_exeext conftest.
$ac_ext
38595 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38596 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38597 if test $ac_cv_func_gmtime_r = yes; then
38598 cat >>confdefs.h
<<\_ACEOF
38599 #define HAVE_GMTIME_R 1
38604 echo "$as_me:$LINENO: checking for readdir_r" >&5
38605 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38606 if test "${ac_cv_func_readdir_r+set}" = set; then
38607 echo $ECHO_N "(cached) $ECHO_C" >&6
38609 cat >conftest.
$ac_ext <<_ACEOF
38612 cat confdefs.h
>>conftest.
$ac_ext
38613 cat >>conftest.
$ac_ext <<_ACEOF
38614 /* end confdefs.h. */
38615 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38617 #define readdir_r innocuous_readdir_r
38619 /* System header to define __stub macros and hopefully few prototypes,
38620 which can conflict with char readdir_r (); below.
38621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38622 <limits.h> exists even on freestanding compilers. */
38625 # include <limits.h>
38627 # include <assert.h>
38632 /* Override any gcc2 internal prototype to avoid an error. */
38637 /* We use char because int might match the return type of a gcc2
38638 builtin and then its argument prototype would still apply. */
38640 /* The GNU C library defines this for functions which it implements
38641 to always fail with ENOSYS. Some functions are actually named
38642 something starting with __ and the normal name is an alias. */
38643 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38646 char (*f) () = readdir_r;
38655 return f != readdir_r;
38660 rm -f conftest.
$ac_objext conftest
$ac_exeext
38661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38662 (eval $ac_link) 2>conftest.er1
38664 grep -v '^ *+' conftest.er1
>conftest.err
38666 cat conftest.err
>&5
38667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668 (exit $ac_status); } &&
38669 { ac_try
='test -z "$ac_c_werror_flag"
38670 || test ! -s conftest.err'
38671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38672 (eval $ac_try) 2>&5
38674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38675 (exit $ac_status); }; } &&
38676 { ac_try
='test -s conftest$ac_exeext'
38677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38678 (eval $ac_try) 2>&5
38680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38681 (exit $ac_status); }; }; then
38682 ac_cv_func_readdir_r
=yes
38684 echo "$as_me: failed program was:" >&5
38685 sed 's/^/| /' conftest.
$ac_ext >&5
38687 ac_cv_func_readdir_r
=no
38689 rm -f conftest.err conftest.
$ac_objext \
38690 conftest
$ac_exeext conftest.
$ac_ext
38692 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38693 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38694 if test $ac_cv_func_readdir_r = yes; then
38695 cat >>confdefs.h
<<\_ACEOF
38696 #define HAVE_READDIR_R 1
38703 ac_cpp
='$CXXCPP $CPPFLAGS'
38704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38711 ac_cpp
='$CPP $CPPFLAGS'
38712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38716 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38717 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38719 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38720 echo $ECHO_N "(cached) $ECHO_C" >&6
38724 ################################################################
38726 ac_cv_func_which_gethostbyname_r
=unknown
38729 # ONE ARGUMENT (sanity check)
38732 # This should fail, as there is no variant of gethostbyname_r() that takes
38733 # a single argument. If it actually compiles, then we can assume that
38734 # netdb.h is not declaring the function, and the compiler is thereby
38735 # assuming an implicit prototype. In which case, we're out of luck.
38737 cat >conftest.
$ac_ext <<_ACEOF
38740 cat confdefs.h
>>conftest.
$ac_ext
38741 cat >>conftest.
$ac_ext <<_ACEOF
38742 /* end confdefs.h. */
38748 char *name = "www.gnu.org";
38749 (void)gethostbyname_r(name) /* ; */
38755 rm -f conftest.
$ac_objext
38756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38757 (eval $ac_compile) 2>conftest.er1
38759 grep -v '^ *+' conftest.er1
>conftest.err
38761 cat conftest.err
>&5
38762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763 (exit $ac_status); } &&
38764 { ac_try
='test -z "$ac_c_werror_flag"
38765 || test ! -s conftest.err'
38766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38767 (eval $ac_try) 2>&5
38769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38770 (exit $ac_status); }; } &&
38771 { ac_try
='test -s conftest.$ac_objext'
38772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38773 (eval $ac_try) 2>&5
38775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38776 (exit $ac_status); }; }; then
38777 ac_cv_func_which_gethostbyname_r
=no
38779 echo "$as_me: failed program was:" >&5
38780 sed 's/^/| /' conftest.
$ac_ext >&5
38783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38790 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38792 cat >conftest.
$ac_ext <<_ACEOF
38795 cat confdefs.h
>>conftest.
$ac_ext
38796 cat >>conftest.
$ac_ext <<_ACEOF
38797 /* end confdefs.h. */
38803 char *name = "www.gnu.org";
38804 struct hostent ret, *retp;
38808 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38814 rm -f conftest.
$ac_objext
38815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38816 (eval $ac_compile) 2>conftest.er1
38818 grep -v '^ *+' conftest.er1
>conftest.err
38820 cat conftest.err
>&5
38821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822 (exit $ac_status); } &&
38823 { ac_try
='test -z "$ac_c_werror_flag"
38824 || test ! -s conftest.err'
38825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38826 (eval $ac_try) 2>&5
38828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38829 (exit $ac_status); }; } &&
38830 { ac_try
='test -s conftest.$ac_objext'
38831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38832 (eval $ac_try) 2>&5
38834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38835 (exit $ac_status); }; }; then
38836 ac_cv_func_which_gethostbyname_r
=six
38838 echo "$as_me: failed program was:" >&5
38839 sed 's/^/| /' conftest.
$ac_ext >&5
38842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38851 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38853 cat >conftest.
$ac_ext <<_ACEOF
38856 cat confdefs.h
>>conftest.
$ac_ext
38857 cat >>conftest.
$ac_ext <<_ACEOF
38858 /* end confdefs.h. */
38864 char *name = "www.gnu.org";
38865 struct hostent ret;
38869 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38875 rm -f conftest.
$ac_objext
38876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38877 (eval $ac_compile) 2>conftest.er1
38879 grep -v '^ *+' conftest.er1
>conftest.err
38881 cat conftest.err
>&5
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); } &&
38884 { ac_try
='test -z "$ac_c_werror_flag"
38885 || test ! -s conftest.err'
38886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38887 (eval $ac_try) 2>&5
38889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38890 (exit $ac_status); }; } &&
38891 { ac_try
='test -s conftest.$ac_objext'
38892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38893 (eval $ac_try) 2>&5
38895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38896 (exit $ac_status); }; }; then
38897 ac_cv_func_which_gethostbyname_r
=five
38899 echo "$as_me: failed program was:" >&5
38900 sed 's/^/| /' conftest.
$ac_ext >&5
38903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38909 # (e.g. AIX, HP-UX, Tru64)
38912 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38914 cat >conftest.
$ac_ext <<_ACEOF
38917 cat confdefs.h
>>conftest.
$ac_ext
38918 cat >>conftest.
$ac_ext <<_ACEOF
38919 /* end confdefs.h. */
38925 char *name = "www.gnu.org";
38926 struct hostent ret;
38927 struct hostent_data data;
38928 (void)gethostbyname_r(name, &ret, &data) /* ; */
38934 rm -f conftest.
$ac_objext
38935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38936 (eval $ac_compile) 2>conftest.er1
38938 grep -v '^ *+' conftest.er1
>conftest.err
38940 cat conftest.err
>&5
38941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38942 (exit $ac_status); } &&
38943 { ac_try
='test -z "$ac_c_werror_flag"
38944 || 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_objext'
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_which_gethostbyname_r
=three
38958 echo "$as_me: failed program was:" >&5
38959 sed 's/^/| /' conftest.
$ac_ext >&5
38962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38966 ################################################################
38971 case "$ac_cv_func_which_gethostbyname_r" in
38973 echo "$as_me:$LINENO: result: three" >&5
38974 echo "${ECHO_T}three" >&6
38975 cat >>confdefs.h
<<\_ACEOF
38976 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
38982 echo "$as_me:$LINENO: result: five" >&5
38983 echo "${ECHO_T}five" >&6
38984 cat >>confdefs.h
<<\_ACEOF
38985 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
38991 echo "$as_me:$LINENO: result: six" >&5
38992 echo "${ECHO_T}six" >&6
38993 cat >>confdefs.h
<<\_ACEOF
38994 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39000 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39001 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39005 echo "$as_me:$LINENO: result: can't tell" >&5
39006 echo "${ECHO_T}can't tell" >&6
39010 { { echo "$as_me:$LINENO: error: internal error" >&5
39011 echo "$as_me: error: internal error" >&2;}
39012 { (exit 1); exit 1; }; }
39017 ac_cpp
='$CXXCPP $CPPFLAGS'
39018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39024 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39025 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39026 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39027 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39028 if test "${ac_cv_func_gethostbyname+set}" = set; then
39029 echo $ECHO_N "(cached) $ECHO_C" >&6
39031 cat >conftest.
$ac_ext <<_ACEOF
39034 cat confdefs.h
>>conftest.
$ac_ext
39035 cat >>conftest.
$ac_ext <<_ACEOF
39036 /* end confdefs.h. */
39037 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39039 #define gethostbyname innocuous_gethostbyname
39041 /* System header to define __stub macros and hopefully few prototypes,
39042 which can conflict with char gethostbyname (); below.
39043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39044 <limits.h> exists even on freestanding compilers. */
39047 # include <limits.h>
39049 # include <assert.h>
39052 #undef gethostbyname
39054 /* Override any gcc2 internal prototype to avoid an error. */
39059 /* We use char because int might match the return type of a gcc2
39060 builtin and then its argument prototype would still apply. */
39061 char gethostbyname ();
39062 /* The GNU C library defines this for functions which it implements
39063 to always fail with ENOSYS. Some functions are actually named
39064 something starting with __ and the normal name is an alias. */
39065 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39068 char (*f) () = gethostbyname;
39077 return f != gethostbyname;
39082 rm -f conftest.
$ac_objext conftest
$ac_exeext
39083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39084 (eval $ac_link) 2>conftest.er1
39086 grep -v '^ *+' conftest.er1
>conftest.err
39088 cat conftest.err
>&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } &&
39091 { ac_try
='test -z "$ac_cxx_werror_flag"
39092 || test ! -s conftest.err'
39093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39094 (eval $ac_try) 2>&5
39096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39097 (exit $ac_status); }; } &&
39098 { ac_try
='test -s conftest$ac_exeext'
39099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39100 (eval $ac_try) 2>&5
39102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39103 (exit $ac_status); }; }; then
39104 ac_cv_func_gethostbyname
=yes
39106 echo "$as_me: failed program was:" >&5
39107 sed 's/^/| /' conftest.
$ac_ext >&5
39109 ac_cv_func_gethostbyname
=no
39111 rm -f conftest.err conftest.
$ac_objext \
39112 conftest
$ac_exeext conftest.
$ac_ext
39114 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39115 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39116 if test $ac_cv_func_gethostbyname = yes; then
39117 cat >>confdefs.h
<<\_ACEOF
39118 #define HAVE_GETHOSTBYNAME 1
39124 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39125 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39126 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39127 echo $ECHO_N "(cached) $ECHO_C" >&6
39129 cat >conftest.
$ac_ext <<_ACEOF
39132 cat confdefs.h
>>conftest.
$ac_ext
39133 cat >>conftest.
$ac_ext <<_ACEOF
39134 /* end confdefs.h. */
39135 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39137 #define getservbyname_r innocuous_getservbyname_r
39139 /* System header to define __stub macros and hopefully few prototypes,
39140 which can conflict with char getservbyname_r (); below.
39141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39142 <limits.h> exists even on freestanding compilers. */
39145 # include <limits.h>
39147 # include <assert.h>
39150 #undef getservbyname_r
39152 /* Override any gcc2 internal prototype to avoid an error. */
39157 /* We use char because int might match the return type of a gcc2
39158 builtin and then its argument prototype would still apply. */
39159 char getservbyname_r ();
39160 /* The GNU C library defines this for functions which it implements
39161 to always fail with ENOSYS. Some functions are actually named
39162 something starting with __ and the normal name is an alias. */
39163 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39166 char (*f) () = getservbyname_r;
39175 return f != getservbyname_r;
39180 rm -f conftest.
$ac_objext conftest
$ac_exeext
39181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39182 (eval $ac_link) 2>conftest.er1
39184 grep -v '^ *+' conftest.er1
>conftest.err
39186 cat conftest.err
>&5
39187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39188 (exit $ac_status); } &&
39189 { ac_try
='test -z "$ac_cxx_werror_flag"
39190 || test ! -s conftest.err'
39191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39192 (eval $ac_try) 2>&5
39194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39195 (exit $ac_status); }; } &&
39196 { ac_try
='test -s conftest$ac_exeext'
39197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39198 (eval $ac_try) 2>&5
39200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39201 (exit $ac_status); }; }; then
39202 ac_cv_func_getservbyname_r
=yes
39204 echo "$as_me: failed program was:" >&5
39205 sed 's/^/| /' conftest.
$ac_ext >&5
39207 ac_cv_func_getservbyname_r
=no
39209 rm -f conftest.err conftest.
$ac_objext \
39210 conftest
$ac_exeext conftest.
$ac_ext
39212 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39213 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39214 if test $ac_cv_func_getservbyname_r = yes; then
39215 cat >conftest.
$ac_ext <<_ACEOF
39218 cat confdefs.h
>>conftest.
$ac_ext
39219 cat >>conftest.
$ac_ext <<_ACEOF
39220 /* end confdefs.h. */
39228 struct servent *se;
39229 struct servent_data data;
39230 (void) getservbyname_r(name, proto, se, &data);
39236 rm -f conftest.
$ac_objext
39237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39238 (eval $ac_compile) 2>conftest.er1
39240 grep -v '^ *+' conftest.er1
>conftest.err
39242 cat conftest.err
>&5
39243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39244 (exit $ac_status); } &&
39245 { ac_try
='test -z "$ac_cxx_werror_flag"
39246 || test ! -s conftest.err'
39247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39248 (eval $ac_try) 2>&5
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); }; } &&
39252 { ac_try
='test -s conftest.$ac_objext'
39253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39254 (eval $ac_try) 2>&5
39256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39257 (exit $ac_status); }; }; then
39258 ac_cv_func_which_getservbyname_r
=four
39260 echo "$as_me: failed program was:" >&5
39261 sed 's/^/| /' conftest.
$ac_ext >&5
39263 cat >conftest.
$ac_ext <<_ACEOF
39266 cat confdefs.h
>>conftest.
$ac_ext
39267 cat >>conftest.
$ac_ext <<_ACEOF
39268 /* end confdefs.h. */
39276 struct servent *se, *res;
39279 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39285 rm -f conftest.
$ac_objext
39286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39287 (eval $ac_compile) 2>conftest.er1
39289 grep -v '^ *+' conftest.er1
>conftest.err
39291 cat conftest.err
>&5
39292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39293 (exit $ac_status); } &&
39294 { ac_try
='test -z "$ac_cxx_werror_flag"
39295 || test ! -s conftest.err'
39296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39297 (eval $ac_try) 2>&5
39299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39300 (exit $ac_status); }; } &&
39301 { ac_try
='test -s conftest.$ac_objext'
39302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39303 (eval $ac_try) 2>&5
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); }; }; then
39307 ac_cv_func_which_getservbyname_r
=six
39309 echo "$as_me: failed program was:" >&5
39310 sed 's/^/| /' conftest.
$ac_ext >&5
39312 cat >conftest.
$ac_ext <<_ACEOF
39315 cat confdefs.h
>>conftest.
$ac_ext
39316 cat >>conftest.
$ac_ext <<_ACEOF
39317 /* end confdefs.h. */
39325 struct servent *se;
39328 (void) getservbyname_r(name, proto, se, buffer, buflen)
39334 rm -f conftest.
$ac_objext
39335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39336 (eval $ac_compile) 2>conftest.er1
39338 grep -v '^ *+' conftest.er1
>conftest.err
39340 cat conftest.err
>&5
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); } &&
39343 { ac_try
='test -z "$ac_cxx_werror_flag"
39344 || test ! -s conftest.err'
39345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39346 (eval $ac_try) 2>&5
39348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39349 (exit $ac_status); }; } &&
39350 { ac_try
='test -s conftest.$ac_objext'
39351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39352 (eval $ac_try) 2>&5
39354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39355 (exit $ac_status); }; }; then
39356 ac_cv_func_which_getservbyname_r
=five
39358 echo "$as_me: failed program was:" >&5
39359 sed 's/^/| /' conftest.
$ac_ext >&5
39361 ac_cv_func_which_getservbyname_r
=no
39364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39372 ac_cv_func_which_getservbyname_r
=no
39376 if test $ac_cv_func_which_getservbyname_r = six
; then
39377 cat >>confdefs.h
<<\_ACEOF
39378 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39381 elif test $ac_cv_func_which_getservbyname_r = five
; then
39382 cat >>confdefs.h
<<\_ACEOF
39383 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39386 elif test $ac_cv_func_which_getservbyname_r = four
; then
39387 cat >>confdefs.h
<<\_ACEOF
39388 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39394 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39395 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39397 for ac_func
in getservbyname
39399 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39400 echo "$as_me:$LINENO: checking for $ac_func" >&5
39401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39402 if eval "test \"\${$as_ac_var+set}\" = set"; then
39403 echo $ECHO_N "(cached) $ECHO_C" >&6
39405 cat >conftest.
$ac_ext <<_ACEOF
39408 cat confdefs.h
>>conftest.
$ac_ext
39409 cat >>conftest.
$ac_ext <<_ACEOF
39410 /* end confdefs.h. */
39411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39413 #define $ac_func innocuous_$ac_func
39415 /* System header to define __stub macros and hopefully few prototypes,
39416 which can conflict with char $ac_func (); below.
39417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39418 <limits.h> exists even on freestanding compilers. */
39421 # include <limits.h>
39423 # include <assert.h>
39428 /* Override any gcc2 internal prototype to avoid an error. */
39433 /* We use char because int might match the return type of a gcc2
39434 builtin and then its argument prototype would still apply. */
39436 /* The GNU C library defines this for functions which it implements
39437 to always fail with ENOSYS. Some functions are actually named
39438 something starting with __ and the normal name is an alias. */
39439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39442 char (*f) () = $ac_func;
39451 return f != $ac_func;
39456 rm -f conftest.
$ac_objext conftest
$ac_exeext
39457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39458 (eval $ac_link) 2>conftest.er1
39460 grep -v '^ *+' conftest.er1
>conftest.err
39462 cat conftest.err
>&5
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); } &&
39465 { ac_try
='test -z "$ac_cxx_werror_flag"
39466 || test ! -s conftest.err'
39467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39468 (eval $ac_try) 2>&5
39470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39471 (exit $ac_status); }; } &&
39472 { ac_try
='test -s conftest$ac_exeext'
39473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39474 (eval $ac_try) 2>&5
39476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39477 (exit $ac_status); }; }; then
39478 eval "$as_ac_var=yes"
39480 echo "$as_me: failed program was:" >&5
39481 sed 's/^/| /' conftest.
$ac_ext >&5
39483 eval "$as_ac_var=no"
39485 rm -f conftest.err conftest.
$ac_objext \
39486 conftest
$ac_exeext conftest.
$ac_ext
39488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39490 if test `eval echo '${'$as_ac_var'}'` = yes; then
39491 cat >>confdefs.h
<<_ACEOF
39492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39494 cat >>confdefs.h
<<\_ACEOF
39495 #define HAVE_GETSERVBYNAME 1
39503 ac_cpp
='$CPP $CPPFLAGS'
39504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39509 if test "$wxUSE_THREADS" = "yes"; then
39510 cat >>confdefs.h
<<\_ACEOF
39511 #define wxUSE_THREADS 1
39515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39517 if test "$ac_cv_func_strtok_r" = "yes"; then
39518 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39519 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39520 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39521 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39522 echo "$as_me:$LINENO: result: yes" >&5
39523 echo "${ECHO_T}yes" >&6
39525 echo "$as_me:$LINENO: result: no" >&5
39526 echo "${ECHO_T}no" >&6
39531 if test "$WXGTK20" = 1 ; then
39532 cat >>confdefs.h
<<_ACEOF
39533 #define __WXGTK20__ $WXGTK20
39539 if test "$WXGTK12" = 1 ; then
39540 cat >>confdefs.h
<<_ACEOF
39541 #define __WXGTK12__ $WXGTK12
39546 if test "$WXGTK127" = 1 ; then
39547 cat >>confdefs.h
<<_ACEOF
39548 #define __WXGTK127__ $WXGTK127
39553 if test "$WXGPE" = 1 ; then
39554 cat >>confdefs.h
<<_ACEOF
39555 #define __WXGPE__ $WXGPE
39561 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39566 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39567 wxUSE_DEBUG_INFO
=yes
39568 if test "$GCC" = yes; then
39569 DEBUG_CFLAGS
="-ggdb"
39573 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39574 cat >>confdefs.h
<<\_ACEOF
39578 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39580 if test "$wxUSE_GTK" = 1 ; then
39581 if test "x$wxGTK_VERSION" = "x1" ; then
39582 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39587 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39588 cat >>confdefs.h
<<\_ACEOF
39589 #define wxUSE_MEMORY_TRACING 1
39592 cat >>confdefs.h
<<\_ACEOF
39593 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39596 cat >>confdefs.h
<<\_ACEOF
39597 #define wxUSE_DEBUG_NEW_ALWAYS 1
39600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
39603 if test "$wxUSE_DMALLOC" = "yes" ; then
39604 DMALLOC_LIBS
="-ldmallocthcxx"
39608 if test "$wxUSE_PROFILE" = "yes" ; then
39609 PROFILE_FLAGS
=" -pg"
39612 if test "$GCC" = "yes" ; then
39613 if test "$wxUSE_NO_RTTI" = "yes" ; then
39614 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
39616 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39617 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
39619 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39620 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
39625 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
39628 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
39634 if test "$wxUSE_OPTIMISE" = "no" ; then
39635 if test "$GCC" = yes ; then
39636 OPTIMISE_CFLAGS
="-O0"
39639 if test "$GCC" = yes ; then
39640 OPTIMISE_CFLAGS
="-O2"
39642 OPTIMISE_CFLAGS
="-O"
39647 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39648 cat >>confdefs.h
<<\_ACEOF
39649 #define WXWIN_COMPATIBILITY_2_4 1
39653 WXWIN_COMPATIBILITY_2_6
="yes"
39656 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39657 cat >>confdefs.h
<<\_ACEOF
39658 #define WXWIN_COMPATIBILITY_2_6 1
39664 if test "$wxUSE_GUI" = "yes"; then
39665 cat >>confdefs.h
<<\_ACEOF
39666 #define wxUSE_GUI 1
39673 if test "$wxUSE_UNIX" = "yes"; then
39674 cat >>confdefs.h
<<\_ACEOF
39675 #define wxUSE_UNIX 1
39681 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39685 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39686 if test "$USE_DARWIN" = 1; then
39688 elif test "$USE_DOS" = 1; then
39692 for ac_func
in dlopen
39694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39695 echo "$as_me:$LINENO: checking for $ac_func" >&5
39696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39697 if eval "test \"\${$as_ac_var+set}\" = set"; then
39698 echo $ECHO_N "(cached) $ECHO_C" >&6
39700 cat >conftest.
$ac_ext <<_ACEOF
39703 cat confdefs.h
>>conftest.
$ac_ext
39704 cat >>conftest.
$ac_ext <<_ACEOF
39705 /* end confdefs.h. */
39706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39708 #define $ac_func innocuous_$ac_func
39710 /* System header to define __stub macros and hopefully few prototypes,
39711 which can conflict with char $ac_func (); below.
39712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39713 <limits.h> exists even on freestanding compilers. */
39716 # include <limits.h>
39718 # include <assert.h>
39723 /* Override any gcc2 internal prototype to avoid an error. */
39728 /* We use char because int might match the return type of a gcc2
39729 builtin and then its argument prototype would still apply. */
39731 /* The GNU C library defines this for functions which it implements
39732 to always fail with ENOSYS. Some functions are actually named
39733 something starting with __ and the normal name is an alias. */
39734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39737 char (*f) () = $ac_func;
39746 return f != $ac_func;
39751 rm -f conftest.
$ac_objext conftest
$ac_exeext
39752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39753 (eval $ac_link) 2>conftest.er1
39755 grep -v '^ *+' conftest.er1
>conftest.err
39757 cat conftest.err
>&5
39758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759 (exit $ac_status); } &&
39760 { ac_try
='test -z "$ac_c_werror_flag"
39761 || test ! -s conftest.err'
39762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39763 (eval $ac_try) 2>&5
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); }; } &&
39767 { ac_try
='test -s conftest$ac_exeext'
39768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39769 (eval $ac_try) 2>&5
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); }; }; then
39773 eval "$as_ac_var=yes"
39775 echo "$as_me: failed program was:" >&5
39776 sed 's/^/| /' conftest.
$ac_ext >&5
39778 eval "$as_ac_var=no"
39780 rm -f conftest.err conftest.
$ac_objext \
39781 conftest
$ac_exeext conftest.
$ac_ext
39783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39785 if test `eval echo '${'$as_ac_var'}'` = yes; then
39786 cat >>confdefs.h
<<_ACEOF
39787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39790 cat >>confdefs.h
<<\_ACEOF
39791 #define HAVE_DLOPEN 1
39798 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39799 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39800 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39801 echo $ECHO_N "(cached) $ECHO_C" >&6
39803 ac_check_lib_save_LIBS
=$LIBS
39805 cat >conftest.
$ac_ext <<_ACEOF
39808 cat confdefs.h
>>conftest.
$ac_ext
39809 cat >>conftest.
$ac_ext <<_ACEOF
39810 /* end confdefs.h. */
39812 /* Override any gcc2 internal prototype to avoid an error. */
39816 /* We use char because int might match the return type of a gcc2
39817 builtin and then its argument prototype would still apply. */
39827 rm -f conftest.
$ac_objext conftest
$ac_exeext
39828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39829 (eval $ac_link) 2>conftest.er1
39831 grep -v '^ *+' conftest.er1
>conftest.err
39833 cat conftest.err
>&5
39834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39835 (exit $ac_status); } &&
39836 { ac_try
='test -z "$ac_c_werror_flag"
39837 || test ! -s conftest.err'
39838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39839 (eval $ac_try) 2>&5
39841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39842 (exit $ac_status); }; } &&
39843 { ac_try
='test -s conftest$ac_exeext'
39844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39845 (eval $ac_try) 2>&5
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); }; }; then
39849 ac_cv_lib_dl_dlopen
=yes
39851 echo "$as_me: failed program was:" >&5
39852 sed 's/^/| /' conftest.
$ac_ext >&5
39854 ac_cv_lib_dl_dlopen
=no
39856 rm -f conftest.err conftest.
$ac_objext \
39857 conftest
$ac_exeext conftest.
$ac_ext
39858 LIBS
=$ac_check_lib_save_LIBS
39860 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39861 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39862 if test $ac_cv_lib_dl_dlopen = yes; then
39864 cat >>confdefs.h
<<\_ACEOF
39865 #define HAVE_DLOPEN 1
39869 DL_LINK
=" -ldl$DL_LINK"
39874 for ac_func
in shl_load
39876 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39877 echo "$as_me:$LINENO: checking for $ac_func" >&5
39878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39879 if eval "test \"\${$as_ac_var+set}\" = set"; then
39880 echo $ECHO_N "(cached) $ECHO_C" >&6
39882 cat >conftest.
$ac_ext <<_ACEOF
39885 cat confdefs.h
>>conftest.
$ac_ext
39886 cat >>conftest.
$ac_ext <<_ACEOF
39887 /* end confdefs.h. */
39888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39890 #define $ac_func innocuous_$ac_func
39892 /* System header to define __stub macros and hopefully few prototypes,
39893 which can conflict with char $ac_func (); below.
39894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39895 <limits.h> exists even on freestanding compilers. */
39898 # include <limits.h>
39900 # include <assert.h>
39905 /* Override any gcc2 internal prototype to avoid an error. */
39910 /* We use char because int might match the return type of a gcc2
39911 builtin and then its argument prototype would still apply. */
39913 /* The GNU C library defines this for functions which it implements
39914 to always fail with ENOSYS. Some functions are actually named
39915 something starting with __ and the normal name is an alias. */
39916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39919 char (*f) () = $ac_func;
39928 return f != $ac_func;
39933 rm -f conftest.
$ac_objext conftest
$ac_exeext
39934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39935 (eval $ac_link) 2>conftest.er1
39937 grep -v '^ *+' conftest.er1
>conftest.err
39939 cat conftest.err
>&5
39940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941 (exit $ac_status); } &&
39942 { ac_try
='test -z "$ac_c_werror_flag"
39943 || test ! -s conftest.err'
39944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39945 (eval $ac_try) 2>&5
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); }; } &&
39949 { ac_try
='test -s conftest$ac_exeext'
39950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39951 (eval $ac_try) 2>&5
39953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39954 (exit $ac_status); }; }; then
39955 eval "$as_ac_var=yes"
39957 echo "$as_me: failed program was:" >&5
39958 sed 's/^/| /' conftest.
$ac_ext >&5
39960 eval "$as_ac_var=no"
39962 rm -f conftest.err conftest.
$ac_objext \
39963 conftest
$ac_exeext conftest.
$ac_ext
39965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39967 if test `eval echo '${'$as_ac_var'}'` = yes; then
39968 cat >>confdefs.h
<<_ACEOF
39969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39972 cat >>confdefs.h
<<\_ACEOF
39973 #define HAVE_SHL_LOAD 1
39980 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
39981 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
39982 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
39983 echo $ECHO_N "(cached) $ECHO_C" >&6
39985 ac_check_lib_save_LIBS
=$LIBS
39986 LIBS
="-lshl_load $LIBS"
39987 cat >conftest.
$ac_ext <<_ACEOF
39990 cat confdefs.h
>>conftest.
$ac_ext
39991 cat >>conftest.
$ac_ext <<_ACEOF
39992 /* end confdefs.h. */
39994 /* Override any gcc2 internal prototype to avoid an error. */
39998 /* We use char because int might match the return type of a gcc2
39999 builtin and then its argument prototype would still apply. */
40009 rm -f conftest.
$ac_objext conftest
$ac_exeext
40010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40011 (eval $ac_link) 2>conftest.er1
40013 grep -v '^ *+' conftest.er1
>conftest.err
40015 cat conftest.err
>&5
40016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40017 (exit $ac_status); } &&
40018 { ac_try
='test -z "$ac_c_werror_flag"
40019 || test ! -s conftest.err'
40020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40021 (eval $ac_try) 2>&5
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); }; } &&
40025 { ac_try
='test -s conftest$ac_exeext'
40026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40027 (eval $ac_try) 2>&5
40029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40030 (exit $ac_status); }; }; then
40031 ac_cv_lib_shl_load_dld
=yes
40033 echo "$as_me: failed program was:" >&5
40034 sed 's/^/| /' conftest.
$ac_ext >&5
40036 ac_cv_lib_shl_load_dld
=no
40038 rm -f conftest.err conftest.
$ac_objext \
40039 conftest
$ac_exeext conftest.
$ac_ext
40040 LIBS
=$ac_check_lib_save_LIBS
40042 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40043 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40044 if test $ac_cv_lib_shl_load_dld = yes; then
40047 DL_LINK
=" -ldld$DL_LINK"
40063 if test "$HAVE_DL_FUNCS" = 1; then
40065 for ac_func
in dlerror
40067 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40068 echo "$as_me:$LINENO: checking for $ac_func" >&5
40069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40070 if eval "test \"\${$as_ac_var+set}\" = set"; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40073 cat >conftest.
$ac_ext <<_ACEOF
40076 cat confdefs.h
>>conftest.
$ac_ext
40077 cat >>conftest.
$ac_ext <<_ACEOF
40078 /* end confdefs.h. */
40079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40081 #define $ac_func innocuous_$ac_func
40083 /* System header to define __stub macros and hopefully few prototypes,
40084 which can conflict with char $ac_func (); below.
40085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40086 <limits.h> exists even on freestanding compilers. */
40089 # include <limits.h>
40091 # include <assert.h>
40096 /* Override any gcc2 internal prototype to avoid an error. */
40101 /* We use char because int might match the return type of a gcc2
40102 builtin and then its argument prototype would still apply. */
40104 /* The GNU C library defines this for functions which it implements
40105 to always fail with ENOSYS. Some functions are actually named
40106 something starting with __ and the normal name is an alias. */
40107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40110 char (*f) () = $ac_func;
40119 return f != $ac_func;
40124 rm -f conftest.
$ac_objext conftest
$ac_exeext
40125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40126 (eval $ac_link) 2>conftest.er1
40128 grep -v '^ *+' conftest.er1
>conftest.err
40130 cat conftest.err
>&5
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); } &&
40133 { ac_try
='test -z "$ac_c_werror_flag"
40134 || test ! -s conftest.err'
40135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40136 (eval $ac_try) 2>&5
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); }; } &&
40140 { ac_try
='test -s conftest$ac_exeext'
40141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40142 (eval $ac_try) 2>&5
40144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40145 (exit $ac_status); }; }; then
40146 eval "$as_ac_var=yes"
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.
$ac_ext >&5
40151 eval "$as_ac_var=no"
40153 rm -f conftest.err conftest.
$ac_objext \
40154 conftest
$ac_exeext conftest.
$ac_ext
40156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40158 if test `eval echo '${'$as_ac_var'}'` = yes; then
40159 cat >>confdefs.h
<<_ACEOF
40160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40162 cat >>confdefs.h
<<\_ACEOF
40163 #define HAVE_DLERROR 1
40168 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40169 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40170 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40171 echo $ECHO_N "(cached) $ECHO_C" >&6
40173 ac_check_lib_save_LIBS
=$LIBS
40175 cat >conftest.
$ac_ext <<_ACEOF
40178 cat confdefs.h
>>conftest.
$ac_ext
40179 cat >>conftest.
$ac_ext <<_ACEOF
40180 /* end confdefs.h. */
40182 /* Override any gcc2 internal prototype to avoid an error. */
40186 /* We use char because int might match the return type of a gcc2
40187 builtin and then its argument prototype would still apply. */
40197 rm -f conftest.
$ac_objext conftest
$ac_exeext
40198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40199 (eval $ac_link) 2>conftest.er1
40201 grep -v '^ *+' conftest.er1
>conftest.err
40203 cat conftest.err
>&5
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); } &&
40206 { ac_try
='test -z "$ac_c_werror_flag"
40207 || test ! -s conftest.err'
40208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40209 (eval $ac_try) 2>&5
40211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40212 (exit $ac_status); }; } &&
40213 { ac_try
='test -s conftest$ac_exeext'
40214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40215 (eval $ac_try) 2>&5
40217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40218 (exit $ac_status); }; }; then
40219 ac_cv_lib_dl_dlerror
=yes
40221 echo "$as_me: failed program was:" >&5
40222 sed 's/^/| /' conftest.
$ac_ext >&5
40224 ac_cv_lib_dl_dlerror
=no
40226 rm -f conftest.err conftest.
$ac_objext \
40227 conftest
$ac_exeext conftest.
$ac_ext
40228 LIBS
=$ac_check_lib_save_LIBS
40230 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40231 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40232 if test $ac_cv_lib_dl_dlerror = yes; then
40233 cat >>confdefs.h
<<\_ACEOF
40234 #define HAVE_DLERROR 1
40247 if test "$HAVE_DL_FUNCS" = 0; then
40248 if test "$HAVE_SHL_FUNCS" = 0; then
40249 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40250 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40251 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40252 wxUSE_DYNAMIC_LOADER
=no
40253 wxUSE_DYNLIB_CLASS
=no
40255 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40256 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40263 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40264 cat >>confdefs.h
<<\_ACEOF
40265 #define wxUSE_DYNAMIC_LOADER 1
40269 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40270 cat >>confdefs.h
<<\_ACEOF
40271 #define wxUSE_DYNLIB_CLASS 1
40278 if test "$wxUSE_PLUGINS" = "yes" ; then
40279 if test "$wxUSE_SHARED" = "no" ; then
40280 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40281 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40284 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40285 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40286 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40289 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40290 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40291 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40294 if test "$wxUSE_PLUGINS" = "yes" ; then
40295 cat >>confdefs.h
<<\_ACEOF
40296 #define wxUSE_PLUGINS 1
40303 if test "$wxUSE_STL" = "yes"; then
40304 cat >>confdefs.h
<<\_ACEOF
40305 #define wxUSE_STL 1
40310 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40311 cat >>confdefs.h
<<\_ACEOF
40312 #define wxUSE_APPLE_IEEE 1
40317 if test "$wxUSE_TIMER" = "yes"; then
40318 cat >>confdefs.h
<<\_ACEOF
40319 #define wxUSE_TIMER 1
40324 if test "$USE_UNIX" = "1" ; then
40325 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40326 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40327 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40328 echo $ECHO_N "(cached) $ECHO_C" >&6
40331 cat >conftest.
$ac_ext <<_ACEOF
40334 cat confdefs.h
>>conftest.
$ac_ext
40335 cat >>conftest.
$ac_ext <<_ACEOF
40336 /* end confdefs.h. */
40338 #include <sys/soundcard.h>
40344 ioctl(0, SNDCTL_DSP_SYNC, 0);
40350 rm -f conftest.
$ac_objext conftest
$ac_exeext
40351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40352 (eval $ac_link) 2>conftest.er1
40354 grep -v '^ *+' conftest.er1
>conftest.err
40356 cat conftest.err
>&5
40357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40358 (exit $ac_status); } &&
40359 { ac_try
='test -z "$ac_c_werror_flag"
40360 || test ! -s conftest.err'
40361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40362 (eval $ac_try) 2>&5
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); }; } &&
40366 { ac_try
='test -s conftest$ac_exeext'
40367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40368 (eval $ac_try) 2>&5
40370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40371 (exit $ac_status); }; }; then
40372 ac_cv_header_sys_soundcard
=yes
40374 echo "$as_me: failed program was:" >&5
40375 sed 's/^/| /' conftest.
$ac_ext >&5
40379 LIBS
="$saveLibs -lossaudio"
40380 cat >conftest.
$ac_ext <<_ACEOF
40383 cat confdefs.h
>>conftest.
$ac_ext
40384 cat >>conftest.
$ac_ext <<_ACEOF
40385 /* end confdefs.h. */
40387 #include <sys/soundcard.h>
40393 ioctl(0, SNDCTL_DSP_SYNC, 0);
40399 rm -f conftest.
$ac_objext conftest
$ac_exeext
40400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40401 (eval $ac_link) 2>conftest.er1
40403 grep -v '^ *+' conftest.er1
>conftest.err
40405 cat conftest.err
>&5
40406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40407 (exit $ac_status); } &&
40408 { ac_try
='test -z "$ac_c_werror_flag"
40409 || test ! -s conftest.err'
40410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40411 (eval $ac_try) 2>&5
40413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40414 (exit $ac_status); }; } &&
40415 { ac_try
='test -s conftest$ac_exeext'
40416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40417 (eval $ac_try) 2>&5
40419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40420 (exit $ac_status); }; }; then
40421 ac_cv_header_sys_soundcard
=yes
40423 echo "$as_me: failed program was:" >&5
40424 sed 's/^/| /' conftest.
$ac_ext >&5
40428 ac_cv_header_sys_soundcard
=no
40432 rm -f conftest.err conftest.
$ac_objext \
40433 conftest
$ac_exeext conftest.
$ac_ext
40437 rm -f conftest.err conftest.
$ac_objext \
40438 conftest
$ac_exeext conftest.
$ac_ext
40441 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40442 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40444 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40445 cat >>confdefs.h
<<\_ACEOF
40446 #define HAVE_SYS_SOUNDCARD_H 1
40450 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40454 if test "$wxUSE_SOUND" = "yes"; then
40455 if test "$USE_UNIX" = "1" ; then
40456 if test "$wxUSE_LIBSDL" != "no"; then
40458 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40459 if test "${with_sdl_prefix+set}" = set; then
40460 withval
="$with_sdl_prefix"
40461 sdl_prefix
="$withval"
40466 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40467 if test "${with_sdl_exec_prefix+set}" = set; then
40468 withval
="$with_sdl_exec_prefix"
40469 sdl_exec_prefix
="$withval"
40473 # Check whether --enable-sdltest or --disable-sdltest was given.
40474 if test "${enable_sdltest+set}" = set; then
40475 enableval
="$enable_sdltest"
40481 if test x
$sdl_exec_prefix != x
; then
40482 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40483 if test x
${SDL_CONFIG+set} != xset
; then
40484 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40487 if test x
$sdl_prefix != x
; then
40488 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40489 if test x
${SDL_CONFIG+set} != xset
; then
40490 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40495 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40496 # Extract the first word of "sdl-config", so it can be a program name with args.
40497 set dummy sdl
-config; ac_word
=$2
40498 echo "$as_me:$LINENO: checking for $ac_word" >&5
40499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40500 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40501 echo $ECHO_N "(cached) $ECHO_C" >&6
40503 case $SDL_CONFIG in
40505 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40509 for as_dir
in $PATH
40512 test -z "$as_dir" && as_dir
=.
40513 for ac_exec_ext
in '' $ac_executable_extensions; do
40514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40515 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40522 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40526 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40528 if test -n "$SDL_CONFIG"; then
40529 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40530 echo "${ECHO_T}$SDL_CONFIG" >&6
40532 echo "$as_me:$LINENO: result: no" >&5
40533 echo "${ECHO_T}no" >&6
40536 min_sdl_version
=1.2.0
40537 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40538 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40540 if test "$SDL_CONFIG" = "no" ; then
40543 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40544 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40546 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40548 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40550 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40552 if test "x$enable_sdltest" = "xyes" ; then
40553 ac_save_CFLAGS
="$CFLAGS"
40554 ac_save_CXXFLAGS
="$CXXFLAGS"
40555 ac_save_LIBS
="$LIBS"
40556 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40557 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40558 LIBS
="$LIBS $SDL_LIBS"
40560 if test "$cross_compiling" = yes; then
40561 echo $ac_n "cross compiling; assumed OK... $ac_c"
40563 cat >conftest.
$ac_ext <<_ACEOF
40566 cat confdefs.h
>>conftest.
$ac_ext
40567 cat >>conftest.
$ac_ext <<_ACEOF
40568 /* end confdefs.h. */
40571 #include <stdlib.h>
40572 #include <string.h>
40576 my_strdup (char *str)
40582 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40583 strcpy (new_str, str);
40591 int main (int argc, char *argv[])
40593 int major, minor, micro;
40596 /* This hangs on some systems (?)
40597 system ("touch conf.sdltest");
40599 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40601 /* HP/UX 9 (%@#!) writes to sscanf strings */
40602 tmp_version = my_strdup("$min_sdl_version");
40603 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40604 printf("%s, bad version string\n", "$min_sdl_version");
40608 if (($sdl_major_version > major) ||
40609 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40610 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40616 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40617 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40618 printf("*** best to upgrade to the required version.\n");
40619 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40620 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40621 printf("*** config.cache before re-running configure\n");
40628 rm -f conftest
$ac_exeext
40629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40630 (eval $ac_link) 2>&5
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
40634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40635 (eval $ac_try) 2>&5
40637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40638 (exit $ac_status); }; }; then
40641 echo "$as_me: program exited with status $ac_status" >&5
40642 echo "$as_me: failed program was:" >&5
40643 sed 's/^/| /' conftest.
$ac_ext >&5
40645 ( exit $ac_status )
40648 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40650 CFLAGS
="$ac_save_CFLAGS"
40651 CXXFLAGS
="$ac_save_CXXFLAGS"
40652 LIBS
="$ac_save_LIBS"
40655 if test "x$no_sdl" = x
; then
40656 echo "$as_me:$LINENO: result: yes" >&5
40657 echo "${ECHO_T}yes" >&6
40659 EXTRALIBS_SDL
="$SDL_LIBS"
40660 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
40661 cat >>confdefs.h
<<\_ACEOF
40662 #define wxUSE_LIBSDL 1
40667 echo "$as_me:$LINENO: result: no" >&5
40668 echo "${ECHO_T}no" >&6
40669 if test "$SDL_CONFIG" = "no" ; then
40670 echo "*** The sdl-config script installed by SDL could not be found"
40671 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40672 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40673 echo "*** full path to sdl-config."
40675 if test -f conf.sdltest
; then
40678 echo "*** Could not run SDL test program, checking why..."
40679 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40680 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40681 LIBS
="$LIBS $SDL_LIBS"
40682 cat >conftest.
$ac_ext <<_ACEOF
40685 cat confdefs.h
>>conftest.
$ac_ext
40686 cat >>conftest.
$ac_ext <<_ACEOF
40687 /* end confdefs.h. */
40692 int main(int argc, char *argv[])
40695 #define main K_and_R_C_main
40705 rm -f conftest.
$ac_objext conftest
$ac_exeext
40706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40707 (eval $ac_link) 2>conftest.er1
40709 grep -v '^ *+' conftest.er1
>conftest.err
40711 cat conftest.err
>&5
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); } &&
40714 { ac_try
='test -z "$ac_c_werror_flag"
40715 || test ! -s conftest.err'
40716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40717 (eval $ac_try) 2>&5
40719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40720 (exit $ac_status); }; } &&
40721 { ac_try
='test -s conftest$ac_exeext'
40722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40723 (eval $ac_try) 2>&5
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); }; }; then
40727 echo "*** The test program compiled, but did not run. This usually means"
40728 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40729 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40730 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40731 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40732 echo "*** is required on your system"
40734 echo "*** If you have an old version installed, it is best to remove it, although"
40735 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40737 echo "$as_me: failed program was:" >&5
40738 sed 's/^/| /' conftest.
$ac_ext >&5
40740 echo "*** The test program failed to compile or link. See the file config.log for the"
40741 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40742 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40743 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40745 rm -f conftest.err conftest.
$ac_objext \
40746 conftest
$ac_exeext conftest.
$ac_ext
40747 CFLAGS
="$ac_save_CFLAGS"
40748 CXXFLAGS
="$ac_save_CXXFLAGS"
40749 LIBS
="$ac_save_LIBS"
40760 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40766 cat >>confdefs.h
<<\_ACEOF
40767 #define wxUSE_SOUND 1
40770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
40773 if test "$WXGTK20" = 1; then
40774 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40775 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40780 if test -z "$PKG_CONFIG"; then
40781 # Extract the first word of "pkg-config", so it can be a program name with args.
40782 set dummy pkg
-config; ac_word
=$2
40783 echo "$as_me:$LINENO: checking for $ac_word" >&5
40784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40785 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40786 echo $ECHO_N "(cached) $ECHO_C" >&6
40788 case $PKG_CONFIG in
40790 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40794 for as_dir
in $PATH
40797 test -z "$as_dir" && as_dir
=.
40798 for ac_exec_ext
in '' $ac_executable_extensions; do
40799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40800 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40807 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40811 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40813 if test -n "$PKG_CONFIG"; then
40814 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40815 echo "${ECHO_T}$PKG_CONFIG" >&6
40817 echo "$as_me:$LINENO: result: no" >&5
40818 echo "${ECHO_T}no" >&6
40823 if test "$PKG_CONFIG" = "no" ; then
40824 echo "*** The pkg-config script could not be found. Make sure it is"
40825 echo "*** in your path, or set the PKG_CONFIG environment variable"
40826 echo "*** to the full path to pkg-config."
40827 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40829 PKG_CONFIG_MIN_VERSION
=0.9.0
40830 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40831 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40832 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40834 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40835 echo "$as_me:$LINENO: result: yes" >&5
40836 echo "${ECHO_T}yes" >&6
40839 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40840 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40841 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40842 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40843 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40845 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40846 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40847 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40848 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40849 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40851 LIBGNOMEPRINTUI_CFLAGS
=""
40852 LIBGNOMEPRINTUI_LIBS
=""
40853 ## If we have a custom action on failure, don't print errors, but
40854 ## do set a variable so people can do so.
40855 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40862 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40863 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40867 if test $succeeded = yes; then
40869 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40870 cat >>confdefs.h
<<\_ACEOF
40871 #define wxUSE_LIBGNOMEPRINT 1
40877 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40878 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40879 wxUSE_LIBGNOMEPRINT
="no"
40888 if test "$WXGTK20" = 1; then
40889 if test "$wxUSE_LIBHILDON" = "yes" ; then
40893 if test -z "$PKG_CONFIG"; then
40894 # Extract the first word of "pkg-config", so it can be a program name with args.
40895 set dummy pkg
-config; ac_word
=$2
40896 echo "$as_me:$LINENO: checking for $ac_word" >&5
40897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40898 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40899 echo $ECHO_N "(cached) $ECHO_C" >&6
40901 case $PKG_CONFIG in
40903 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40907 for as_dir
in $PATH
40910 test -z "$as_dir" && as_dir
=.
40911 for ac_exec_ext
in '' $ac_executable_extensions; do
40912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40913 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40920 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40924 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40926 if test -n "$PKG_CONFIG"; then
40927 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40928 echo "${ECHO_T}$PKG_CONFIG" >&6
40930 echo "$as_me:$LINENO: result: no" >&5
40931 echo "${ECHO_T}no" >&6
40936 if test "$PKG_CONFIG" = "no" ; then
40937 echo "*** The pkg-config script could not be found. Make sure it is"
40938 echo "*** in your path, or set the PKG_CONFIG environment variable"
40939 echo "*** to the full path to pkg-config."
40940 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40942 PKG_CONFIG_MIN_VERSION
=0.9.0
40943 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40944 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
40945 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
40947 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
40948 echo "$as_me:$LINENO: result: yes" >&5
40949 echo "${ECHO_T}yes" >&6
40952 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
40953 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
40954 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
40955 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
40956 echo "${ECHO_T}$HILDON_CFLAGS" >&6
40958 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
40959 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
40960 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
40961 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
40962 echo "${ECHO_T}$HILDON_LIBS" >&6
40966 ## If we have a custom action on failure, don't print errors, but
40967 ## do set a variable so people can do so.
40968 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
40975 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40976 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40980 if test $succeeded = yes; then
40982 EXTRALIBS_HILDON
="$HILDON_LIBS"
40983 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
40984 cat >>confdefs.h
<<\_ACEOF
40985 #define wxUSE_LIBHILDON 1
40991 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
40992 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
40993 wxUSE_LIBHILDON
="no"
41001 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41002 cat >>confdefs.h
<<\_ACEOF
41003 #define wxUSE_CMDLINE_PARSER 1
41008 if test "$wxUSE_STOPWATCH" = "yes"; then
41009 cat >>confdefs.h
<<\_ACEOF
41010 #define wxUSE_STOPWATCH 1
41015 if test "$wxUSE_DATETIME" = "yes"; then
41016 cat >>confdefs.h
<<\_ACEOF
41017 #define wxUSE_DATETIME 1
41022 if test "$wxUSE_FILE" = "yes"; then
41023 cat >>confdefs.h
<<\_ACEOF
41024 #define wxUSE_FILE 1
41029 if test "$wxUSE_FFILE" = "yes"; then
41030 cat >>confdefs.h
<<\_ACEOF
41031 #define wxUSE_FFILE 1
41036 if test "$wxUSE_FILESYSTEM" = "yes"; then
41037 cat >>confdefs.h
<<\_ACEOF
41038 #define wxUSE_FILESYSTEM 1
41043 if test "$wxUSE_FS_ZIP" = "yes"; then
41044 cat >>confdefs.h
<<\_ACEOF
41045 #define wxUSE_FS_ZIP 1
41050 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41051 cat >>confdefs.h
<<\_ACEOF
41052 #define wxUSE_ARCHIVE_STREAMS 1
41057 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41058 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41059 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41060 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41061 elif test "$wxUSE_ZLIB" = "no"; then
41062 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41063 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41065 cat >>confdefs.h
<<\_ACEOF
41066 #define wxUSE_ZIPSTREAM 1
41072 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41073 if test "$USE_UNIX" != 1; then
41074 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41075 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41076 wxUSE_ON_FATAL_EXCEPTION
=no
41078 cat >>confdefs.h
<<\_ACEOF
41079 #define wxUSE_ON_FATAL_EXCEPTION 1
41085 if test "$wxUSE_STACKWALKER" = "yes"; then
41086 cat >>confdefs.h
<<\_ACEOF
41087 #define wxUSE_STACKWALKER 1
41092 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41093 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41094 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41095 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41096 wxUSE_DEBUGREPORT
=no
41098 cat >>confdefs.h
<<\_ACEOF
41099 #define wxUSE_DEBUGREPORT 1
41102 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41108 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41109 cat >>confdefs.h
<<\_ACEOF
41110 #define wxUSE_SNGLINST_CHECKER 1
41115 if test "$wxUSE_BUSYINFO" = "yes"; then
41116 cat >>confdefs.h
<<\_ACEOF
41117 #define wxUSE_BUSYINFO 1
41122 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41123 cat >>confdefs.h
<<\_ACEOF
41124 #define wxUSE_STD_IOSTREAM 1
41129 if test "$wxUSE_STD_STRING" = "yes"; then
41130 cat >>confdefs.h
<<\_ACEOF
41131 #define wxUSE_STD_STRING 1
41136 if test "$wxUSE_STDPATHS" = "yes"; then
41137 cat >>confdefs.h
<<\_ACEOF
41138 #define wxUSE_STDPATHS 1
41143 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41144 cat >>confdefs.h
<<\_ACEOF
41145 #define wxUSE_TEXTBUFFER 1
41150 if test "$wxUSE_TEXTFILE" = "yes"; then
41151 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41152 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41153 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41155 cat >>confdefs.h
<<\_ACEOF
41156 #define wxUSE_TEXTFILE 1
41162 if test "$wxUSE_CONFIG" = "yes" ; then
41163 if test "$wxUSE_TEXTFILE" != "yes"; then
41164 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41165 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41167 cat >>confdefs.h
<<\_ACEOF
41168 #define wxUSE_CONFIG 1
41171 cat >>confdefs.h
<<\_ACEOF
41172 #define wxUSE_CONFIG_NATIVE 1
41175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41179 if test "$wxUSE_INTL" = "yes" ; then
41180 if test "$wxUSE_FILE" != "yes"; then
41181 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41182 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41184 cat >>confdefs.h
<<\_ACEOF
41185 #define wxUSE_INTL 1
41188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41189 GUIDIST
="$GUIDIST INTL_DIST"
41193 if test "$wxUSE_LOG" = "yes"; then
41194 cat >>confdefs.h
<<\_ACEOF
41195 #define wxUSE_LOG 1
41199 if test "$wxUSE_LOGGUI" = "yes"; then
41200 cat >>confdefs.h
<<\_ACEOF
41201 #define wxUSE_LOGGUI 1
41206 if test "$wxUSE_LOGWINDOW" = "yes"; then
41207 cat >>confdefs.h
<<\_ACEOF
41208 #define wxUSE_LOGWINDOW 1
41213 if test "$wxUSE_LOGDIALOG" = "yes"; then
41214 cat >>confdefs.h
<<\_ACEOF
41215 #define wxUSE_LOG_DIALOG 1
41220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41223 if test "$wxUSE_LONGLONG" = "yes"; then
41224 cat >>confdefs.h
<<\_ACEOF
41225 #define wxUSE_LONGLONG 1
41230 if test "$wxUSE_GEOMETRY" = "yes"; then
41231 cat >>confdefs.h
<<\_ACEOF
41232 #define wxUSE_GEOMETRY 1
41237 if test "$wxUSE_STREAMS" = "yes" ; then
41238 cat >>confdefs.h
<<\_ACEOF
41239 #define wxUSE_STREAMS 1
41245 if test "$wxUSE_DATETIME" = "yes"; then
41247 for ac_func
in strptime
41249 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41250 echo "$as_me:$LINENO: checking for $ac_func" >&5
41251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41252 if eval "test \"\${$as_ac_var+set}\" = set"; then
41253 echo $ECHO_N "(cached) $ECHO_C" >&6
41255 cat >conftest.
$ac_ext <<_ACEOF
41258 cat confdefs.h
>>conftest.
$ac_ext
41259 cat >>conftest.
$ac_ext <<_ACEOF
41260 /* end confdefs.h. */
41261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41263 #define $ac_func innocuous_$ac_func
41265 /* System header to define __stub macros and hopefully few prototypes,
41266 which can conflict with char $ac_func (); below.
41267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41268 <limits.h> exists even on freestanding compilers. */
41271 # include <limits.h>
41273 # include <assert.h>
41278 /* Override any gcc2 internal prototype to avoid an error. */
41283 /* We use char because int might match the return type of a gcc2
41284 builtin and then its argument prototype would still apply. */
41286 /* The GNU C library defines this for functions which it implements
41287 to always fail with ENOSYS. Some functions are actually named
41288 something starting with __ and the normal name is an alias. */
41289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41292 char (*f) () = $ac_func;
41301 return f != $ac_func;
41306 rm -f conftest.
$ac_objext conftest
$ac_exeext
41307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41308 (eval $ac_link) 2>conftest.er1
41310 grep -v '^ *+' conftest.er1
>conftest.err
41312 cat conftest.err
>&5
41313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41314 (exit $ac_status); } &&
41315 { ac_try
='test -z "$ac_c_werror_flag"
41316 || test ! -s conftest.err'
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); }; } &&
41322 { ac_try
='test -s conftest$ac_exeext'
41323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41324 (eval $ac_try) 2>&5
41326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41327 (exit $ac_status); }; }; then
41328 eval "$as_ac_var=yes"
41330 echo "$as_me: failed program was:" >&5
41331 sed 's/^/| /' conftest.
$ac_ext >&5
41333 eval "$as_ac_var=no"
41335 rm -f conftest.err conftest.
$ac_objext \
41336 conftest
$ac_exeext conftest.
$ac_ext
41338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41340 if test `eval echo '${'$as_ac_var'}'` = yes; then
41341 cat >>confdefs.h
<<_ACEOF
41342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41348 if test "$ac_cv_func_strptime" = "yes"; then
41349 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41350 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41351 if test "${wx_cv_func_strptime_decl+set}" = set; then
41352 echo $ECHO_N "(cached) $ECHO_C" >&6
41356 ac_cpp
='$CXXCPP $CPPFLAGS'
41357 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41358 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41359 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41361 cat >conftest.
$ac_ext <<_ACEOF
41364 cat confdefs.h
>>conftest.
$ac_ext
41365 cat >>conftest.
$ac_ext <<_ACEOF
41366 /* end confdefs.h. */
41375 strptime("foo", "bar", &t);
41381 rm -f conftest.
$ac_objext
41382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41383 (eval $ac_compile) 2>conftest.er1
41385 grep -v '^ *+' conftest.er1
>conftest.err
41387 cat conftest.err
>&5
41388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41389 (exit $ac_status); } &&
41390 { ac_try
='test -z "$ac_cxx_werror_flag"
41391 || test ! -s conftest.err'
41392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41393 (eval $ac_try) 2>&5
41395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41396 (exit $ac_status); }; } &&
41397 { ac_try
='test -s conftest.$ac_objext'
41398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41399 (eval $ac_try) 2>&5
41401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41402 (exit $ac_status); }; }; then
41403 wx_cv_func_strptime_decl
=yes
41405 echo "$as_me: failed program was:" >&5
41406 sed 's/^/| /' conftest.
$ac_ext >&5
41408 wx_cv_func_strptime_decl
=no
41411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41413 ac_cpp
='$CPP $CPPFLAGS'
41414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41421 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41422 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41424 if test "$wx_cv_func_strptime_decl" = "yes"; then
41425 cat >>confdefs.h
<<\_ACEOF
41426 #define HAVE_STRPTIME_DECL 1
41431 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41432 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41433 if test "${wx_cv_var_timezone+set}" = set; then
41434 echo $ECHO_N "(cached) $ECHO_C" >&6
41437 cat >conftest.
$ac_ext <<_ACEOF
41440 cat confdefs.h
>>conftest.
$ac_ext
41441 cat >>conftest.
$ac_ext <<_ACEOF
41442 /* end confdefs.h. */
41457 rm -f conftest.
$ac_objext
41458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41459 (eval $ac_compile) 2>conftest.er1
41461 grep -v '^ *+' conftest.er1
>conftest.err
41463 cat conftest.err
>&5
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); } &&
41466 { ac_try
='test -z "$ac_c_werror_flag"
41467 || test ! -s conftest.err'
41468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41469 (eval $ac_try) 2>&5
41471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41472 (exit $ac_status); }; } &&
41473 { ac_try
='test -s conftest.$ac_objext'
41474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41475 (eval $ac_try) 2>&5
41477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41478 (exit $ac_status); }; }; then
41480 wx_cv_var_timezone
=timezone
41483 echo "$as_me: failed program was:" >&5
41484 sed 's/^/| /' conftest.
$ac_ext >&5
41487 cat >conftest.
$ac_ext <<_ACEOF
41490 cat confdefs.h
>>conftest.
$ac_ext
41491 cat >>conftest.
$ac_ext <<_ACEOF
41492 /* end confdefs.h. */
41507 rm -f conftest.
$ac_objext
41508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41509 (eval $ac_compile) 2>conftest.er1
41511 grep -v '^ *+' conftest.er1
>conftest.err
41513 cat conftest.err
>&5
41514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515 (exit $ac_status); } &&
41516 { ac_try
='test -z "$ac_c_werror_flag"
41517 || test ! -s conftest.err'
41518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41519 (eval $ac_try) 2>&5
41521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41522 (exit $ac_status); }; } &&
41523 { ac_try
='test -s conftest.$ac_objext'
41524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41525 (eval $ac_try) 2>&5
41527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41528 (exit $ac_status); }; }; then
41530 wx_cv_var_timezone
=_timezone
41533 echo "$as_me: failed program was:" >&5
41534 sed 's/^/| /' conftest.
$ac_ext >&5
41537 cat >conftest.
$ac_ext <<_ACEOF
41540 cat confdefs.h
>>conftest.
$ac_ext
41541 cat >>conftest.
$ac_ext <<_ACEOF
41542 /* end confdefs.h. */
41557 rm -f conftest.
$ac_objext
41558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41559 (eval $ac_compile) 2>conftest.er1
41561 grep -v '^ *+' conftest.er1
>conftest.err
41563 cat conftest.err
>&5
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); } &&
41566 { ac_try
='test -z "$ac_c_werror_flag"
41567 || test ! -s conftest.err'
41568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41569 (eval $ac_try) 2>&5
41571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41572 (exit $ac_status); }; } &&
41573 { ac_try
='test -s conftest.$ac_objext'
41574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41575 (eval $ac_try) 2>&5
41577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41578 (exit $ac_status); }; }; then
41580 wx_cv_var_timezone
=__timezone
41583 echo "$as_me: failed program was:" >&5
41584 sed 's/^/| /' conftest.
$ac_ext >&5
41587 if test "$USE_DOS" = 0 ; then
41588 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41589 echo "$as_me: WARNING: no timezone variable" >&2;}
41594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41606 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41607 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41609 if test "x$wx_cv_var_timezone" != x
; then
41610 cat >>confdefs.h
<<_ACEOF
41611 #define WX_TIMEZONE $wx_cv_var_timezone
41617 for ac_func
in localtime
41619 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41620 echo "$as_me:$LINENO: checking for $ac_func" >&5
41621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41622 if eval "test \"\${$as_ac_var+set}\" = set"; then
41623 echo $ECHO_N "(cached) $ECHO_C" >&6
41625 cat >conftest.
$ac_ext <<_ACEOF
41628 cat confdefs.h
>>conftest.
$ac_ext
41629 cat >>conftest.
$ac_ext <<_ACEOF
41630 /* end confdefs.h. */
41631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41633 #define $ac_func innocuous_$ac_func
41635 /* System header to define __stub macros and hopefully few prototypes,
41636 which can conflict with char $ac_func (); below.
41637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41638 <limits.h> exists even on freestanding compilers. */
41641 # include <limits.h>
41643 # include <assert.h>
41648 /* Override any gcc2 internal prototype to avoid an error. */
41653 /* We use char because int might match the return type of a gcc2
41654 builtin and then its argument prototype would still apply. */
41656 /* The GNU C library defines this for functions which it implements
41657 to always fail with ENOSYS. Some functions are actually named
41658 something starting with __ and the normal name is an alias. */
41659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41662 char (*f) () = $ac_func;
41671 return f != $ac_func;
41676 rm -f conftest.
$ac_objext conftest
$ac_exeext
41677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41678 (eval $ac_link) 2>conftest.er1
41680 grep -v '^ *+' conftest.er1
>conftest.err
41682 cat conftest.err
>&5
41683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41684 (exit $ac_status); } &&
41685 { ac_try
='test -z "$ac_c_werror_flag"
41686 || test ! -s conftest.err'
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); }; } &&
41692 { ac_try
='test -s conftest$ac_exeext'
41693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41694 (eval $ac_try) 2>&5
41696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41697 (exit $ac_status); }; }; then
41698 eval "$as_ac_var=yes"
41700 echo "$as_me: failed program was:" >&5
41701 sed 's/^/| /' conftest.
$ac_ext >&5
41703 eval "$as_ac_var=no"
41705 rm -f conftest.err conftest.
$ac_objext \
41706 conftest
$ac_exeext conftest.
$ac_ext
41708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41710 if test `eval echo '${'$as_ac_var'}'` = yes; then
41711 cat >>confdefs.h
<<_ACEOF
41712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41719 if test "$ac_cv_func_localtime" = "yes"; then
41720 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41721 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41722 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41723 echo $ECHO_N "(cached) $ECHO_C" >&6
41726 cat >conftest.
$ac_ext <<_ACEOF
41729 cat confdefs.h
>>conftest.
$ac_ext
41730 cat >>conftest.
$ac_ext <<_ACEOF
41731 /* end confdefs.h. */
41746 rm -f conftest.
$ac_objext
41747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41748 (eval $ac_compile) 2>conftest.er1
41750 grep -v '^ *+' conftest.er1
>conftest.err
41752 cat conftest.err
>&5
41753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41754 (exit $ac_status); } &&
41755 { ac_try
='test -z "$ac_c_werror_flag"
41756 || test ! -s conftest.err'
41757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41758 (eval $ac_try) 2>&5
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); }; } &&
41762 { ac_try
='test -s conftest.$ac_objext'
41763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41764 (eval $ac_try) 2>&5
41766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41767 (exit $ac_status); }; }; then
41769 wx_cv_struct_tm_has_gmtoff
=yes
41772 echo "$as_me: failed program was:" >&5
41773 sed 's/^/| /' conftest.
$ac_ext >&5
41775 wx_cv_struct_tm_has_gmtoff
=no
41778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41781 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41782 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41785 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41786 cat >>confdefs.h
<<\_ACEOF
41787 #define WX_GMTOFF_IN_TM 1
41794 for ac_func
in gettimeofday ftime
41796 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41797 echo "$as_me:$LINENO: checking for $ac_func" >&5
41798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41799 if eval "test \"\${$as_ac_var+set}\" = set"; then
41800 echo $ECHO_N "(cached) $ECHO_C" >&6
41802 cat >conftest.
$ac_ext <<_ACEOF
41805 cat confdefs.h
>>conftest.
$ac_ext
41806 cat >>conftest.
$ac_ext <<_ACEOF
41807 /* end confdefs.h. */
41808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41810 #define $ac_func innocuous_$ac_func
41812 /* System header to define __stub macros and hopefully few prototypes,
41813 which can conflict with char $ac_func (); below.
41814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41815 <limits.h> exists even on freestanding compilers. */
41818 # include <limits.h>
41820 # include <assert.h>
41825 /* Override any gcc2 internal prototype to avoid an error. */
41830 /* We use char because int might match the return type of a gcc2
41831 builtin and then its argument prototype would still apply. */
41833 /* The GNU C library defines this for functions which it implements
41834 to always fail with ENOSYS. Some functions are actually named
41835 something starting with __ and the normal name is an alias. */
41836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41839 char (*f) () = $ac_func;
41848 return f != $ac_func;
41853 rm -f conftest.
$ac_objext conftest
$ac_exeext
41854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41855 (eval $ac_link) 2>conftest.er1
41857 grep -v '^ *+' conftest.er1
>conftest.err
41859 cat conftest.err
>&5
41860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861 (exit $ac_status); } &&
41862 { ac_try
='test -z "$ac_c_werror_flag"
41863 || test ! -s conftest.err'
41864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41865 (eval $ac_try) 2>&5
41867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41868 (exit $ac_status); }; } &&
41869 { ac_try
='test -s conftest$ac_exeext'
41870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41871 (eval $ac_try) 2>&5
41873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41874 (exit $ac_status); }; }; then
41875 eval "$as_ac_var=yes"
41877 echo "$as_me: failed program was:" >&5
41878 sed 's/^/| /' conftest.
$ac_ext >&5
41880 eval "$as_ac_var=no"
41882 rm -f conftest.err conftest.
$ac_objext \
41883 conftest
$ac_exeext conftest.
$ac_ext
41885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41887 if test `eval echo '${'$as_ac_var'}'` = yes; then
41888 cat >>confdefs.h
<<_ACEOF
41889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41896 if test "$ac_cv_func_gettimeofday" = "yes"; then
41897 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
41898 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
41899 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
41900 echo $ECHO_N "(cached) $ECHO_C" >&6
41904 ac_cpp
='$CXXCPP $CPPFLAGS'
41905 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41906 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41907 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41910 cat >conftest.
$ac_ext <<_ACEOF
41913 cat confdefs.h
>>conftest.
$ac_ext
41914 cat >>conftest.
$ac_ext <<_ACEOF
41915 /* end confdefs.h. */
41917 #include <sys/time.h>
41918 #include <unistd.h>
41925 gettimeofday(&tv, NULL);
41931 rm -f conftest.
$ac_objext
41932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41933 (eval $ac_compile) 2>conftest.er1
41935 grep -v '^ *+' conftest.er1
>conftest.err
41937 cat conftest.err
>&5
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); } &&
41940 { ac_try
='test -z "$ac_cxx_werror_flag"
41941 || test ! -s conftest.err'
41942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41943 (eval $ac_try) 2>&5
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); }; } &&
41947 { ac_try
='test -s conftest.$ac_objext'
41948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41949 (eval $ac_try) 2>&5
41951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41952 (exit $ac_status); }; }; then
41953 wx_cv_func_gettimeofday_has_2_args
=yes
41955 echo "$as_me: failed program was:" >&5
41956 sed 's/^/| /' conftest.
$ac_ext >&5
41958 cat >conftest.
$ac_ext <<_ACEOF
41961 cat confdefs.h
>>conftest.
$ac_ext
41962 cat >>conftest.
$ac_ext <<_ACEOF
41963 /* end confdefs.h. */
41965 #include <sys/time.h>
41966 #include <unistd.h>
41979 rm -f conftest.
$ac_objext
41980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41981 (eval $ac_compile) 2>conftest.er1
41983 grep -v '^ *+' conftest.er1
>conftest.err
41985 cat conftest.err
>&5
41986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41987 (exit $ac_status); } &&
41988 { ac_try
='test -z "$ac_cxx_werror_flag"
41989 || test ! -s conftest.err'
41990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41991 (eval $ac_try) 2>&5
41993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41994 (exit $ac_status); }; } &&
41995 { ac_try
='test -s conftest.$ac_objext'
41996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41997 (eval $ac_try) 2>&5
41999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42000 (exit $ac_status); }; }; then
42001 wx_cv_func_gettimeofday_has_2_args
=no
42003 echo "$as_me: failed program was:" >&5
42004 sed 's/^/| /' conftest.
$ac_ext >&5
42007 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42008 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42009 wx_cv_func_gettimeofday_has_2_args
=unknown
42013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42018 ac_cpp
='$CPP $CPPFLAGS'
42019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42025 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42026 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42028 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42029 cat >>confdefs.h
<<\_ACEOF
42030 #define WX_GETTIMEOFDAY_NO_TZ 1
42036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42040 if test "$wxUSE_SOCKETS" = "yes"; then
42041 if test "$wxUSE_MGL" = "1"; then
42042 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42043 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42048 if test "$wxUSE_SOCKETS" = "yes"; then
42049 if test "$TOOLKIT" != "MSW"; then
42050 echo "$as_me:$LINENO: checking for socket" >&5
42051 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42052 if test "${ac_cv_func_socket+set}" = set; then
42053 echo $ECHO_N "(cached) $ECHO_C" >&6
42055 cat >conftest.
$ac_ext <<_ACEOF
42058 cat confdefs.h
>>conftest.
$ac_ext
42059 cat >>conftest.
$ac_ext <<_ACEOF
42060 /* end confdefs.h. */
42061 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42063 #define socket innocuous_socket
42065 /* System header to define __stub macros and hopefully few prototypes,
42066 which can conflict with char socket (); below.
42067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42068 <limits.h> exists even on freestanding compilers. */
42071 # include <limits.h>
42073 # include <assert.h>
42078 /* Override any gcc2 internal prototype to avoid an error. */
42083 /* We use char because int might match the return type of a gcc2
42084 builtin and then its argument prototype would still apply. */
42086 /* The GNU C library defines this for functions which it implements
42087 to always fail with ENOSYS. Some functions are actually named
42088 something starting with __ and the normal name is an alias. */
42089 #if defined (__stub_socket) || defined (__stub___socket)
42092 char (*f) () = socket;
42101 return f != socket;
42106 rm -f conftest.
$ac_objext conftest
$ac_exeext
42107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42108 (eval $ac_link) 2>conftest.er1
42110 grep -v '^ *+' conftest.er1
>conftest.err
42112 cat conftest.err
>&5
42113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42114 (exit $ac_status); } &&
42115 { ac_try
='test -z "$ac_c_werror_flag"
42116 || test ! -s conftest.err'
42117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42118 (eval $ac_try) 2>&5
42120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42121 (exit $ac_status); }; } &&
42122 { ac_try
='test -s conftest$ac_exeext'
42123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42124 (eval $ac_try) 2>&5
42126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42127 (exit $ac_status); }; }; then
42128 ac_cv_func_socket
=yes
42130 echo "$as_me: failed program was:" >&5
42131 sed 's/^/| /' conftest.
$ac_ext >&5
42133 ac_cv_func_socket
=no
42135 rm -f conftest.err conftest.
$ac_objext \
42136 conftest
$ac_exeext conftest.
$ac_ext
42138 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42139 echo "${ECHO_T}$ac_cv_func_socket" >&6
42140 if test $ac_cv_func_socket = yes; then
42144 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42145 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42146 if test "${ac_cv_lib_socket_socket+set}" = set; then
42147 echo $ECHO_N "(cached) $ECHO_C" >&6
42149 ac_check_lib_save_LIBS
=$LIBS
42150 LIBS
="-lsocket $LIBS"
42151 cat >conftest.
$ac_ext <<_ACEOF
42154 cat confdefs.h
>>conftest.
$ac_ext
42155 cat >>conftest.
$ac_ext <<_ACEOF
42156 /* end confdefs.h. */
42158 /* Override any gcc2 internal prototype to avoid an error. */
42162 /* We use char because int might match the return type of a gcc2
42163 builtin and then its argument prototype would still apply. */
42173 rm -f conftest.
$ac_objext conftest
$ac_exeext
42174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42175 (eval $ac_link) 2>conftest.er1
42177 grep -v '^ *+' conftest.er1
>conftest.err
42179 cat conftest.err
>&5
42180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42181 (exit $ac_status); } &&
42182 { ac_try
='test -z "$ac_c_werror_flag"
42183 || test ! -s conftest.err'
42184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42185 (eval $ac_try) 2>&5
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); }; } &&
42189 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
42195 ac_cv_lib_socket_socket
=yes
42197 echo "$as_me: failed program was:" >&5
42198 sed 's/^/| /' conftest.
$ac_ext >&5
42200 ac_cv_lib_socket_socket
=no
42202 rm -f conftest.err conftest.
$ac_objext \
42203 conftest
$ac_exeext conftest.
$ac_ext
42204 LIBS
=$ac_check_lib_save_LIBS
42206 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42207 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42208 if test $ac_cv_lib_socket_socket = yes; then
42209 if test "$INET_LINK" != " -lsocket"; then
42210 INET_LINK
="$INET_LINK -lsocket"
42214 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42215 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42228 if test "$wxUSE_SOCKETS" = "yes" ; then
42229 if test "$TOOLKIT" != "MSW"; then
42231 ac_cpp
='$CXXCPP $CPPFLAGS'
42232 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42233 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42234 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42236 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42237 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42238 if test "${wx_cv_type_getsockname3+set}" = set; then
42239 echo $ECHO_N "(cached) $ECHO_C" >&6
42242 cat >conftest.
$ac_ext <<_ACEOF
42245 cat confdefs.h
>>conftest.
$ac_ext
42246 cat >>conftest.
$ac_ext <<_ACEOF
42247 /* end confdefs.h. */
42249 #include <sys/types.h>
42250 #include <sys/socket.h>
42257 getsockname(0, 0, &len);
42263 rm -f conftest.
$ac_objext
42264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42265 (eval $ac_compile) 2>conftest.er1
42267 grep -v '^ *+' conftest.er1
>conftest.err
42269 cat conftest.err
>&5
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); } &&
42272 { ac_try
='test -z "$ac_cxx_werror_flag"
42273 || test ! -s conftest.err'
42274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42275 (eval $ac_try) 2>&5
42277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278 (exit $ac_status); }; } &&
42279 { ac_try
='test -s conftest.$ac_objext'
42280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42281 (eval $ac_try) 2>&5
42283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42284 (exit $ac_status); }; }; then
42285 wx_cv_type_getsockname3
=socklen_t
42287 echo "$as_me: failed program was:" >&5
42288 sed 's/^/| /' conftest.
$ac_ext >&5
42291 CXXFLAGS_OLD
="$CXXFLAGS"
42292 if test "$GCC" = yes ; then
42293 CXXFLAGS
="-Werror $CXXFLAGS"
42296 cat >conftest.
$ac_ext <<_ACEOF
42299 cat confdefs.h
>>conftest.
$ac_ext
42300 cat >>conftest.
$ac_ext <<_ACEOF
42301 /* end confdefs.h. */
42303 #include <sys/types.h>
42304 #include <sys/socket.h>
42311 getsockname(0, 0, &len);
42317 rm -f conftest.
$ac_objext
42318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42319 (eval $ac_compile) 2>conftest.er1
42321 grep -v '^ *+' conftest.er1
>conftest.err
42323 cat conftest.err
>&5
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); } &&
42326 { ac_try
='test -z "$ac_cxx_werror_flag"
42327 || test ! -s conftest.err'
42328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42329 (eval $ac_try) 2>&5
42331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42332 (exit $ac_status); }; } &&
42333 { ac_try
='test -s conftest.$ac_objext'
42334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42335 (eval $ac_try) 2>&5
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); }; }; then
42339 wx_cv_type_getsockname3
=size_t
42341 echo "$as_me: failed program was:" >&5
42342 sed 's/^/| /' conftest.
$ac_ext >&5
42344 cat >conftest.
$ac_ext <<_ACEOF
42347 cat confdefs.h
>>conftest.
$ac_ext
42348 cat >>conftest.
$ac_ext <<_ACEOF
42349 /* end confdefs.h. */
42351 #include <sys/types.h>
42352 #include <sys/socket.h>
42359 getsockname(0, 0, &len);
42365 rm -f conftest.
$ac_objext
42366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42367 (eval $ac_compile) 2>conftest.er1
42369 grep -v '^ *+' conftest.er1
>conftest.err
42371 cat conftest.err
>&5
42372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373 (exit $ac_status); } &&
42374 { ac_try
='test -z "$ac_cxx_werror_flag"
42375 || test ! -s conftest.err'
42376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42377 (eval $ac_try) 2>&5
42379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380 (exit $ac_status); }; } &&
42381 { ac_try
='test -s conftest.$ac_objext'
42382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42383 (eval $ac_try) 2>&5
42385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42386 (exit $ac_status); }; }; then
42387 wx_cv_type_getsockname3
=int
42389 echo "$as_me: failed program was:" >&5
42390 sed 's/^/| /' conftest.
$ac_ext >&5
42392 wx_cv_type_getsockname3
=unknown
42395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42400 CXXFLAGS
="$CXXFLAGS_OLD"
42404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42407 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42408 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42410 if test "$wx_cv_type_getsockname3" = "unknown"; then
42412 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42413 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42415 cat >>confdefs.h
<<_ACEOF
42416 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42420 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42421 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42422 if test "${wx_cv_type_getsockopt5+set}" = set; then
42423 echo $ECHO_N "(cached) $ECHO_C" >&6
42426 cat >conftest.
$ac_ext <<_ACEOF
42429 cat confdefs.h
>>conftest.
$ac_ext
42430 cat >>conftest.
$ac_ext <<_ACEOF
42431 /* end confdefs.h. */
42433 #include <sys/types.h>
42434 #include <sys/socket.h>
42441 getsockopt(0, 0, 0, 0, &len);
42447 rm -f conftest.
$ac_objext
42448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42449 (eval $ac_compile) 2>conftest.er1
42451 grep -v '^ *+' conftest.er1
>conftest.err
42453 cat conftest.err
>&5
42454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42455 (exit $ac_status); } &&
42456 { ac_try
='test -z "$ac_cxx_werror_flag"
42457 || test ! -s conftest.err'
42458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42459 (eval $ac_try) 2>&5
42461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42462 (exit $ac_status); }; } &&
42463 { ac_try
='test -s conftest.$ac_objext'
42464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42465 (eval $ac_try) 2>&5
42467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42468 (exit $ac_status); }; }; then
42469 wx_cv_type_getsockopt5
=socklen_t
42471 echo "$as_me: failed program was:" >&5
42472 sed 's/^/| /' conftest.
$ac_ext >&5
42475 CXXFLAGS_OLD
="$CXXFLAGS"
42476 if test "$GCC" = yes ; then
42477 CXXFLAGS
="-Werror $CXXFLAGS"
42480 cat >conftest.
$ac_ext <<_ACEOF
42483 cat confdefs.h
>>conftest.
$ac_ext
42484 cat >>conftest.
$ac_ext <<_ACEOF
42485 /* end confdefs.h. */
42487 #include <sys/types.h>
42488 #include <sys/socket.h>
42495 getsockopt(0, 0, 0, 0, &len);
42501 rm -f conftest.
$ac_objext
42502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42503 (eval $ac_compile) 2>conftest.er1
42505 grep -v '^ *+' conftest.er1
>conftest.err
42507 cat conftest.err
>&5
42508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42509 (exit $ac_status); } &&
42510 { ac_try
='test -z "$ac_cxx_werror_flag"
42511 || test ! -s conftest.err'
42512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42513 (eval $ac_try) 2>&5
42515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42516 (exit $ac_status); }; } &&
42517 { ac_try
='test -s conftest.$ac_objext'
42518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42519 (eval $ac_try) 2>&5
42521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42522 (exit $ac_status); }; }; then
42523 wx_cv_type_getsockopt5
=size_t
42525 echo "$as_me: failed program was:" >&5
42526 sed 's/^/| /' conftest.
$ac_ext >&5
42528 cat >conftest.
$ac_ext <<_ACEOF
42531 cat confdefs.h
>>conftest.
$ac_ext
42532 cat >>conftest.
$ac_ext <<_ACEOF
42533 /* end confdefs.h. */
42535 #include <sys/types.h>
42536 #include <sys/socket.h>
42543 getsockopt(0, 0, 0, 0, &len);
42549 rm -f conftest.
$ac_objext
42550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42551 (eval $ac_compile) 2>conftest.er1
42553 grep -v '^ *+' conftest.er1
>conftest.err
42555 cat conftest.err
>&5
42556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42557 (exit $ac_status); } &&
42558 { ac_try
='test -z "$ac_cxx_werror_flag"
42559 || test ! -s conftest.err'
42560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42561 (eval $ac_try) 2>&5
42563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42564 (exit $ac_status); }; } &&
42565 { ac_try
='test -s conftest.$ac_objext'
42566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42567 (eval $ac_try) 2>&5
42569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42570 (exit $ac_status); }; }; then
42571 wx_cv_type_getsockopt5
=int
42573 echo "$as_me: failed program was:" >&5
42574 sed 's/^/| /' conftest.
$ac_ext >&5
42576 wx_cv_type_getsockopt5
=unknown
42579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42584 CXXFLAGS
="$CXXFLAGS_OLD"
42588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42591 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42592 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42594 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42596 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42597 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42599 cat >>confdefs.h
<<_ACEOF
42600 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42605 ac_cpp
='$CPP $CPPFLAGS'
42606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42613 if test "$wxUSE_SOCKETS" = "yes" ; then
42614 cat >>confdefs.h
<<\_ACEOF
42615 #define wxUSE_SOCKETS 1
42618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
42621 if test "$wxUSE_PROTOCOL" = "yes"; then
42622 if test "$wxUSE_SOCKETS" != "yes"; then
42623 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42624 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42629 if test "$wxUSE_PROTOCOL" = "yes"; then
42630 cat >>confdefs.h
<<\_ACEOF
42631 #define wxUSE_PROTOCOL 1
42635 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42636 cat >>confdefs.h
<<\_ACEOF
42637 #define wxUSE_PROTOCOL_HTTP 1
42641 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42642 cat >>confdefs.h
<<\_ACEOF
42643 #define wxUSE_PROTOCOL_FTP 1
42647 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42648 cat >>confdefs.h
<<\_ACEOF
42649 #define wxUSE_PROTOCOL_FILE 1
42654 if test "$wxUSE_FS_INET" = "yes"; then
42655 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42656 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42661 if test "$wxUSE_URL" = "yes"; then
42662 if test "$wxUSE_PROTOCOL" != "yes"; then
42663 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42664 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42667 if test "$wxUSE_URL" = "yes"; then
42668 cat >>confdefs.h
<<\_ACEOF
42669 #define wxUSE_URL 1
42675 if test "$wxUSE_FS_INET" = "yes"; then
42676 cat >>confdefs.h
<<\_ACEOF
42677 #define wxUSE_FS_INET 1
42683 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42686 if test "$TOOLKIT" = "MSW"; then
42689 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42690 if test "$USE_DARWIN" = 1; then
42691 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42692 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42694 ac_cpp
='$CXXCPP $CPPFLAGS'
42695 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42696 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42697 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42699 cat >conftest.
$ac_ext <<_ACEOF
42702 cat confdefs.h
>>conftest.
$ac_ext
42703 cat >>conftest.
$ac_ext <<_ACEOF
42704 /* end confdefs.h. */
42705 #include <IOKit/hid/IOHIDLib.h>
42709 IOHIDQueueInterface *qi = NULL;
42710 IOHIDCallbackFunction cb = NULL;
42711 qi->setEventCallout(NULL, cb, NULL, NULL);
42716 rm -f conftest.
$ac_objext
42717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42718 (eval $ac_compile) 2>conftest.er1
42720 grep -v '^ *+' conftest.er1
>conftest.err
42722 cat conftest.err
>&5
42723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42724 (exit $ac_status); } &&
42725 { ac_try
='test -z "$ac_cxx_werror_flag"
42726 || test ! -s conftest.err'
42727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42728 (eval $ac_try) 2>&5
42730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42731 (exit $ac_status); }; } &&
42732 { ac_try
='test -s conftest.$ac_objext'
42733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42734 (eval $ac_try) 2>&5
42736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42737 (exit $ac_status); }; }; then
42741 echo "$as_me: failed program was:" >&5
42742 sed 's/^/| /' conftest.
$ac_ext >&5
42745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42747 ac_cpp
='$CPP $CPPFLAGS'
42748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42752 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42753 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42758 for ac_header
in linux
/joystick.h
42760 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42762 echo "$as_me:$LINENO: checking for $ac_header" >&5
42763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42765 echo $ECHO_N "(cached) $ECHO_C" >&6
42767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42770 # Is the header compilable?
42771 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42772 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42773 cat >conftest.
$ac_ext <<_ACEOF
42776 cat confdefs.h
>>conftest.
$ac_ext
42777 cat >>conftest.
$ac_ext <<_ACEOF
42778 /* end confdefs.h. */
42779 $ac_includes_default
42780 #include <$ac_header>
42782 rm -f conftest.
$ac_objext
42783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42784 (eval $ac_compile) 2>conftest.er1
42786 grep -v '^ *+' conftest.er1
>conftest.err
42788 cat conftest.err
>&5
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); } &&
42791 { ac_try
='test -z "$ac_c_werror_flag"
42792 || test ! -s conftest.err'
42793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42794 (eval $ac_try) 2>&5
42796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42797 (exit $ac_status); }; } &&
42798 { ac_try
='test -s conftest.$ac_objext'
42799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42800 (eval $ac_try) 2>&5
42802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42803 (exit $ac_status); }; }; then
42804 ac_header_compiler
=yes
42806 echo "$as_me: failed program was:" >&5
42807 sed 's/^/| /' conftest.
$ac_ext >&5
42809 ac_header_compiler
=no
42811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42812 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42813 echo "${ECHO_T}$ac_header_compiler" >&6
42815 # Is the header present?
42816 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42818 cat >conftest.
$ac_ext <<_ACEOF
42821 cat confdefs.h
>>conftest.
$ac_ext
42822 cat >>conftest.
$ac_ext <<_ACEOF
42823 /* end confdefs.h. */
42824 #include <$ac_header>
42826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42827 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
42829 grep -v '^ *+' conftest.er1
>conftest.err
42831 cat conftest.err
>&5
42832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42833 (exit $ac_status); } >/dev
/null
; then
42834 if test -s conftest.err
; then
42835 ac_cpp_err
=$ac_c_preproc_warn_flag
42836 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
42843 if test -z "$ac_cpp_err"; then
42844 ac_header_preproc
=yes
42846 echo "$as_me: failed program was:" >&5
42847 sed 's/^/| /' conftest.
$ac_ext >&5
42849 ac_header_preproc
=no
42851 rm -f conftest.err conftest.
$ac_ext
42852 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42853 echo "${ECHO_T}$ac_header_preproc" >&6
42855 # So? What about this header?
42856 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42858 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42861 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42862 ac_header_preproc
=yes
42865 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42866 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42867 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42868 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42869 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42870 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42871 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42872 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42875 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42876 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42879 ## ----------------------------------------- ##
42880 ## Report this to wx-dev@lists.wxwidgets.org ##
42881 ## ----------------------------------------- ##
42884 sed "s/^/$as_me: WARNING: /" >&2
42887 echo "$as_me:$LINENO: checking for $ac_header" >&5
42888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42890 echo $ECHO_N "(cached) $ECHO_C" >&6
42892 eval "$as_ac_Header=\$ac_header_preproc"
42894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42899 cat >>confdefs.h
<<_ACEOF
42900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42909 if test "$wxUSE_JOYSTICK" = "yes"; then
42910 cat >>confdefs.h
<<\_ACEOF
42911 #define wxUSE_JOYSTICK 1
42914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
42916 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
42917 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
42923 if test "$wxUSE_FONTMAP" = "yes" ; then
42924 cat >>confdefs.h
<<\_ACEOF
42925 #define wxUSE_FONTMAP 1
42930 if test "$wxUSE_UNICODE" = "yes" ; then
42931 cat >>confdefs.h
<<\_ACEOF
42932 #define wxUSE_UNICODE 1
42936 if test "$USE_WIN32" != 1; then
42937 wxUSE_UNICODE_MSLU
=no
42940 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
42941 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
42942 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
42943 if test "${ac_cv_lib_unicows_main+set}" = set; then
42944 echo $ECHO_N "(cached) $ECHO_C" >&6
42946 ac_check_lib_save_LIBS
=$LIBS
42947 LIBS
="-lunicows $LIBS"
42948 cat >conftest.
$ac_ext <<_ACEOF
42951 cat confdefs.h
>>conftest.
$ac_ext
42952 cat >>conftest.
$ac_ext <<_ACEOF
42953 /* end confdefs.h. */
42964 rm -f conftest.
$ac_objext conftest
$ac_exeext
42965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42966 (eval $ac_link) 2>conftest.er1
42968 grep -v '^ *+' conftest.er1
>conftest.err
42970 cat conftest.err
>&5
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); } &&
42973 { ac_try
='test -z "$ac_c_werror_flag"
42974 || test ! -s conftest.err'
42975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42976 (eval $ac_try) 2>&5
42978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979 (exit $ac_status); }; } &&
42980 { ac_try
='test -s conftest$ac_exeext'
42981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42982 (eval $ac_try) 2>&5
42984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42985 (exit $ac_status); }; }; then
42986 ac_cv_lib_unicows_main
=yes
42988 echo "$as_me: failed program was:" >&5
42989 sed 's/^/| /' conftest.
$ac_ext >&5
42991 ac_cv_lib_unicows_main
=no
42993 rm -f conftest.err conftest.
$ac_objext \
42994 conftest
$ac_exeext conftest.
$ac_ext
42995 LIBS
=$ac_check_lib_save_LIBS
42997 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
42998 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
42999 if test $ac_cv_lib_unicows_main = yes; then
43001 cat >>confdefs.h
<<\_ACEOF
43002 #define wxUSE_UNICODE_MSLU 1
43008 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43009 Applications will only run on Windows NT/2000/XP!" >&5
43010 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43011 Applications will only run on Windows NT/2000/XP!" >&2;}
43012 wxUSE_UNICODE_MSLU
=no
43019 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43020 cat >>confdefs.h
<<\_ACEOF
43021 #define wxUSE_EXPERIMENTAL_PRINTF 1
43027 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43028 cat >>confdefs.h
<<\_ACEOF
43029 #define wxUSE_POSTSCRIPT 1
43034 cat >>confdefs.h
<<\_ACEOF
43035 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43039 cat >>confdefs.h
<<\_ACEOF
43040 #define wxUSE_NORMALIZED_PS_FONTS 1
43045 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43046 cat >>confdefs.h
<<\_ACEOF
43047 #define wxUSE_CONSTRAINTS 1
43050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43053 if test "$wxUSE_MDI" = "yes"; then
43054 cat >>confdefs.h
<<\_ACEOF
43055 #define wxUSE_MDI 1
43059 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43060 cat >>confdefs.h
<<\_ACEOF
43061 #define wxUSE_MDI_ARCHITECTURE 1
43064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43068 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43069 cat >>confdefs.h
<<\_ACEOF
43070 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43074 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43079 if test "$wxUSE_HELP" = "yes"; then
43080 cat >>confdefs.h
<<\_ACEOF
43081 #define wxUSE_HELP 1
43084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43086 if test "$wxUSE_MSW" = 1; then
43087 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43088 cat >>confdefs.h
<<\_ACEOF
43089 #define wxUSE_MS_HTML_HELP 1
43095 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43096 if test "$wxUSE_HTML" = "yes"; then
43097 cat >>confdefs.h
<<\_ACEOF
43098 #define wxUSE_WXHTML_HELP 1
43102 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43103 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43104 wxUSE_WXHTML_HELP
=no
43109 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43110 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43111 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43112 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43114 cat >>confdefs.h
<<\_ACEOF
43115 #define wxUSE_PRINTING_ARCHITECTURE 1
43119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43122 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43123 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43124 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43125 { (exit 1); exit 1; }; }
43129 if test "$wxUSE_METAFILE" = "yes"; then
43130 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43131 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43132 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43138 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43139 -o "$wxUSE_CLIPBOARD" = "yes" \
43140 -o "$wxUSE_OLE" = "yes" \
43141 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43143 for ac_header
in ole2.h
43145 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43147 echo "$as_me:$LINENO: checking for $ac_header" >&5
43148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43150 echo $ECHO_N "(cached) $ECHO_C" >&6
43152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43155 # Is the header compilable?
43156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43158 cat >conftest.
$ac_ext <<_ACEOF
43161 cat confdefs.h
>>conftest.
$ac_ext
43162 cat >>conftest.
$ac_ext <<_ACEOF
43163 /* end confdefs.h. */
43164 $ac_includes_default
43165 #include <$ac_header>
43167 rm -f conftest.
$ac_objext
43168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43169 (eval $ac_compile) 2>conftest.er1
43171 grep -v '^ *+' conftest.er1
>conftest.err
43173 cat conftest.err
>&5
43174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43175 (exit $ac_status); } &&
43176 { ac_try
='test -z "$ac_c_werror_flag"
43177 || test ! -s conftest.err'
43178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43179 (eval $ac_try) 2>&5
43181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43182 (exit $ac_status); }; } &&
43183 { ac_try
='test -s conftest.$ac_objext'
43184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43185 (eval $ac_try) 2>&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); }; }; then
43189 ac_header_compiler
=yes
43191 echo "$as_me: failed program was:" >&5
43192 sed 's/^/| /' conftest.
$ac_ext >&5
43194 ac_header_compiler
=no
43196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43198 echo "${ECHO_T}$ac_header_compiler" >&6
43200 # Is the header present?
43201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43203 cat >conftest.
$ac_ext <<_ACEOF
43206 cat confdefs.h
>>conftest.
$ac_ext
43207 cat >>conftest.
$ac_ext <<_ACEOF
43208 /* end confdefs.h. */
43209 #include <$ac_header>
43211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43212 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43214 grep -v '^ *+' conftest.er1
>conftest.err
43216 cat conftest.err
>&5
43217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43218 (exit $ac_status); } >/dev
/null
; then
43219 if test -s conftest.err
; then
43220 ac_cpp_err
=$ac_c_preproc_warn_flag
43221 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
43228 if test -z "$ac_cpp_err"; then
43229 ac_header_preproc
=yes
43231 echo "$as_me: failed program was:" >&5
43232 sed 's/^/| /' conftest.
$ac_ext >&5
43234 ac_header_preproc
=no
43236 rm -f conftest.err conftest.
$ac_ext
43237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43238 echo "${ECHO_T}$ac_header_preproc" >&6
43240 # So? What about this header?
43241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43247 ac_header_preproc
=yes
43250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43254 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43256 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43257 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43260 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43264 ## ----------------------------------------- ##
43265 ## Report this to wx-dev@lists.wxwidgets.org ##
43266 ## ----------------------------------------- ##
43269 sed "s/^/$as_me: WARNING: /" >&2
43272 echo "$as_me:$LINENO: checking for $ac_header" >&5
43273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43275 echo $ECHO_N "(cached) $ECHO_C" >&6
43277 eval "$as_ac_Header=\$ac_header_preproc"
43279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43284 cat >>confdefs.h
<<_ACEOF
43285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43293 if test "$ac_cv_header_ole2_h" = "yes" ; then
43294 if test "$GCC" = yes ; then
43296 ac_cpp
='$CXXCPP $CPPFLAGS'
43297 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43298 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43299 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43302 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43303 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43304 cat >conftest.
$ac_ext <<_ACEOF
43307 cat confdefs.h
>>conftest.
$ac_ext
43308 cat >>conftest.
$ac_ext <<_ACEOF
43309 /* end confdefs.h. */
43310 #include <windows.h>
43320 rm -f conftest.
$ac_objext
43321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43322 (eval $ac_compile) 2>conftest.er1
43324 grep -v '^ *+' conftest.er1
>conftest.err
43326 cat conftest.err
>&5
43327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43328 (exit $ac_status); } &&
43329 { ac_try
='test -z "$ac_cxx_werror_flag"
43330 || test ! -s conftest.err'
43331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43332 (eval $ac_try) 2>&5
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); }; } &&
43336 { ac_try
='test -s conftest.$ac_objext'
43337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43338 (eval $ac_try) 2>&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); }; }; then
43342 echo "$as_me:$LINENO: result: no" >&5
43343 echo "${ECHO_T}no" >&6
43345 echo "$as_me: failed program was:" >&5
43346 sed 's/^/| /' conftest.
$ac_ext >&5
43348 echo "$as_me:$LINENO: result: yes" >&5
43349 echo "${ECHO_T}yes" >&6
43350 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43354 ac_cpp
='$CPP $CPPFLAGS'
43355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43359 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43360 if test "$wxUSE_OLE" = "yes" ; then
43361 cat >>confdefs.h
<<\_ACEOF
43362 #define wxUSE_OLE 1
43365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43369 if test "$wxUSE_DATAOBJ" = "yes" ; then
43370 cat >>confdefs.h
<<\_ACEOF
43371 #define wxUSE_DATAOBJ 1
43376 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43377 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43380 wxUSE_DRAG_AND_DROP
=no
43385 if test "$wxUSE_METAFILE" = "yes"; then
43386 cat >>confdefs.h
<<\_ACEOF
43387 #define wxUSE_METAFILE 1
43391 cat >>confdefs.h
<<\_ACEOF
43392 #define wxUSE_ENH_METAFILE 1
43398 if test "$wxUSE_IPC" = "yes"; then
43399 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43400 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43401 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43405 if test "$wxUSE_IPC" = "yes"; then
43406 cat >>confdefs.h
<<\_ACEOF
43407 #define wxUSE_IPC 1
43410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43414 if test "$wxUSE_DATAOBJ" = "yes"; then
43415 if test "$wxUSE_MGL" = 1; then
43416 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43417 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43420 cat >>confdefs.h
<<\_ACEOF
43421 #define wxUSE_DATAOBJ 1
43426 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43427 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43429 wxUSE_DRAG_AND_DROP
=no
43432 if test "$wxUSE_CLIPBOARD" = "yes"; then
43433 if test "$wxUSE_MGL" = 1; then
43434 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43435 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43439 if test "$wxUSE_CLIPBOARD" = "yes"; then
43440 cat >>confdefs.h
<<\_ACEOF
43441 #define wxUSE_CLIPBOARD 1
43447 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43448 if test "$wxUSE_GTK" = 1; then
43449 if test "$WXGTK12" != 1; then
43450 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43451 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43452 wxUSE_DRAG_AND_DROP
=no
43456 if test "$wxUSE_MOTIF" = 1; then
43457 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43458 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43459 wxUSE_DRAG_AND_DROP
=no
43462 if test "$wxUSE_X11" = 1; then
43463 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43464 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43465 wxUSE_DRAG_AND_DROP
=no
43468 if test "$wxUSE_MGL" = 1; then
43469 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43470 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43471 wxUSE_DRAG_AND_DROP
=no
43474 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43475 cat >>confdefs.h
<<\_ACEOF
43476 #define wxUSE_DRAG_AND_DROP 1
43483 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43487 if test "$wxUSE_SPLINES" = "yes" ; then
43488 cat >>confdefs.h
<<\_ACEOF
43489 #define wxUSE_SPLINES 1
43494 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43495 cat >>confdefs.h
<<\_ACEOF
43496 #define wxUSE_MOUSEWHEEL 1
43503 if test "$wxUSE_CONTROLS" = "yes"; then
43507 if test "$wxUSE_ACCEL" = "yes"; then
43508 cat >>confdefs.h
<<\_ACEOF
43509 #define wxUSE_ACCEL 1
43515 if test "$wxUSE_BUTTON" = "yes"; then
43516 cat >>confdefs.h
<<\_ACEOF
43517 #define wxUSE_BUTTON 1
43523 if test "$wxUSE_BMPBUTTON" = "yes"; then
43524 cat >>confdefs.h
<<\_ACEOF
43525 #define wxUSE_BMPBUTTON 1
43531 if test "$wxUSE_CALCTRL" = "yes"; then
43532 cat >>confdefs.h
<<\_ACEOF
43533 #define wxUSE_CALENDARCTRL 1
43537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43540 if test "$wxUSE_CARET" = "yes"; then
43541 cat >>confdefs.h
<<\_ACEOF
43542 #define wxUSE_CARET 1
43546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43549 if test "$wxUSE_COMBOBOX" = "yes"; then
43550 cat >>confdefs.h
<<\_ACEOF
43551 #define wxUSE_COMBOBOX 1
43557 if test "$wxUSE_CHOICE" = "yes"; then
43558 cat >>confdefs.h
<<\_ACEOF
43559 #define wxUSE_CHOICE 1
43565 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43566 cat >>confdefs.h
<<\_ACEOF
43567 #define wxUSE_CHOICEBOOK 1
43573 if test "$wxUSE_CHECKBOX" = "yes"; then
43574 cat >>confdefs.h
<<\_ACEOF
43575 #define wxUSE_CHECKBOX 1
43581 if test "$wxUSE_CHECKLST" = "yes"; then
43582 cat >>confdefs.h
<<\_ACEOF
43583 #define wxUSE_CHECKLISTBOX 1
43587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
43590 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43591 cat >>confdefs.h
<<\_ACEOF
43592 #define wxUSE_DATEPICKCTRL 1
43598 if test "$wxUSE_DISPLAY" = "yes"; then
43599 cat >>confdefs.h
<<\_ACEOF
43600 #define wxUSE_DISPLAY 1
43603 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
43606 if test "$wxUSE_GAUGE" = "yes"; then
43607 cat >>confdefs.h
<<\_ACEOF
43608 #define wxUSE_GAUGE 1
43614 if test "$wxUSE_GRID" = "yes"; then
43615 cat >>confdefs.h
<<\_ACEOF
43616 #define wxUSE_GRID 1
43620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
43623 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43624 cat >>confdefs.h
<<\_ACEOF
43625 #define wxUSE_DATAVIEWCTRL 1
43629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
43632 if test "$wxUSE_IMAGLIST" = "yes"; then
43633 cat >>confdefs.h
<<\_ACEOF
43634 #define wxUSE_IMAGLIST 1
43639 if test "$wxUSE_LISTBOOK" = "yes"; then
43640 cat >>confdefs.h
<<\_ACEOF
43641 #define wxUSE_LISTBOOK 1
43647 if test "$wxUSE_LISTBOX" = "yes"; then
43648 cat >>confdefs.h
<<\_ACEOF
43649 #define wxUSE_LISTBOX 1
43653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
43656 if test "$wxUSE_LISTCTRL" = "yes"; then
43657 if test "$wxUSE_IMAGLIST" = "yes"; then
43658 cat >>confdefs.h
<<\_ACEOF
43659 #define wxUSE_LISTCTRL 1
43663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
43665 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43666 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43670 if test "$wxUSE_NOTEBOOK" = "yes"; then
43671 cat >>confdefs.h
<<\_ACEOF
43672 #define wxUSE_NOTEBOOK 1
43676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
43680 if test "$wxUSE_RADIOBOX" = "yes"; then
43681 cat >>confdefs.h
<<\_ACEOF
43682 #define wxUSE_RADIOBOX 1
43688 if test "$wxUSE_RADIOBTN" = "yes"; then
43689 cat >>confdefs.h
<<\_ACEOF
43690 #define wxUSE_RADIOBTN 1
43696 if test "$wxUSE_SASH" = "yes"; then
43697 cat >>confdefs.h
<<\_ACEOF
43698 #define wxUSE_SASH 1
43701 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
43704 if test "$wxUSE_SCROLLBAR" = "yes"; then
43705 cat >>confdefs.h
<<\_ACEOF
43706 #define wxUSE_SCROLLBAR 1
43710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
43713 if test "$wxUSE_SLIDER" = "yes"; then
43714 cat >>confdefs.h
<<\_ACEOF
43715 #define wxUSE_SLIDER 1
43721 if test "$wxUSE_SPINBTN" = "yes"; then
43722 cat >>confdefs.h
<<\_ACEOF
43723 #define wxUSE_SPINBTN 1
43729 if test "$wxUSE_SPINCTRL" = "yes"; then
43730 cat >>confdefs.h
<<\_ACEOF
43731 #define wxUSE_SPINCTRL 1
43737 if test "$wxUSE_SPLITTER" = "yes"; then
43738 cat >>confdefs.h
<<\_ACEOF
43739 #define wxUSE_SPLITTER 1
43742 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
43745 if test "$wxUSE_STATBMP" = "yes"; then
43746 cat >>confdefs.h
<<\_ACEOF
43747 #define wxUSE_STATBMP 1
43753 if test "$wxUSE_STATBOX" = "yes"; then
43754 cat >>confdefs.h
<<\_ACEOF
43755 #define wxUSE_STATBOX 1
43761 if test "$wxUSE_STATTEXT" = "yes"; then
43762 cat >>confdefs.h
<<\_ACEOF
43763 #define wxUSE_STATTEXT 1
43769 if test "$wxUSE_STATLINE" = "yes"; then
43770 cat >>confdefs.h
<<\_ACEOF
43771 #define wxUSE_STATLINE 1
43777 if test "$wxUSE_STATUSBAR" = "yes"; then
43778 cat >>confdefs.h
<<\_ACEOF
43779 #define wxUSE_NATIVE_STATUSBAR 1
43782 cat >>confdefs.h
<<\_ACEOF
43783 #define wxUSE_STATUSBAR 1
43788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
43791 if test "$wxUSE_TABDIALOG" = "yes"; then
43792 cat >>confdefs.h
<<\_ACEOF
43793 #define wxUSE_TAB_DIALOG 1
43798 if test "$wxUSE_TEXTCTRL" = "yes"; then
43799 cat >>confdefs.h
<<\_ACEOF
43800 #define wxUSE_TEXTCTRL 1
43804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
43807 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43808 if test "$wxUSE_COCOA" = 1 ; then
43809 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
43810 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
43813 if test "$wxUSE_UNIVERSAL" = "yes"; then
43814 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
43815 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
43819 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43820 cat >>confdefs.h
<<\_ACEOF
43821 #define wxUSE_TOGGLEBTN 1
43828 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
43829 cat >>confdefs.h
<<\_ACEOF
43830 #define wxUSE_TOOLBAR_SIMPLE 1
43833 wxUSE_TOOLBAR
="yes"
43837 if test "$wxUSE_TOOLBAR" = "yes"; then
43838 cat >>confdefs.h
<<\_ACEOF
43839 #define wxUSE_TOOLBAR 1
43844 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
43845 wxUSE_TOOLBAR_NATIVE
="yes"
43848 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
43849 cat >>confdefs.h
<<\_ACEOF
43850 #define wxUSE_TOOLBAR_NATIVE 1
43856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
43859 if test "$wxUSE_TOOLTIPS" = "yes"; then
43860 if test "$wxUSE_MOTIF" = 1; then
43861 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
43862 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
43864 if test "$wxUSE_UNIVERSAL" = "yes"; then
43865 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
43866 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
43868 cat >>confdefs.h
<<\_ACEOF
43869 #define wxUSE_TOOLTIPS 1
43876 if test "$wxUSE_TREEBOOK" = "yes"; then
43877 cat >>confdefs.h
<<\_ACEOF
43878 #define wxUSE_TREEBOOK 1
43884 if test "$wxUSE_TOOLBOOK" = "yes"; then
43885 cat >>confdefs.h
<<\_ACEOF
43886 #define wxUSE_TOOLBOOK 1
43892 if test "$wxUSE_TREECTRL" = "yes"; then
43893 if test "$wxUSE_IMAGLIST" = "yes"; then
43894 cat >>confdefs.h
<<\_ACEOF
43895 #define wxUSE_TREECTRL 1
43899 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
43901 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
43902 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
43906 if test "$wxUSE_POPUPWIN" = "yes"; then
43907 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43908 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
43909 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
43911 if test "$wxUSE_PM" = 1; then
43912 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
43913 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
43915 cat >>confdefs.h
<<\_ACEOF
43916 #define wxUSE_POPUPWIN 1
43919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
43926 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
43927 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43928 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
43929 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
43931 cat >>confdefs.h
<<\_ACEOF
43932 #define wxUSE_DIALUP_MANAGER 1
43935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
43939 if test "$wxUSE_TIPWINDOW" = "yes"; then
43940 if test "$wxUSE_PM" = 1; then
43941 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
43942 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
43944 cat >>confdefs.h
<<\_ACEOF
43945 #define wxUSE_TIPWINDOW 1
43951 if test "$USES_CONTROLS" = 1; then
43952 cat >>confdefs.h
<<\_ACEOF
43953 #define wxUSE_CONTROLS 1
43959 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
43960 cat >>confdefs.h
<<\_ACEOF
43961 #define wxUSE_ACCESSIBILITY 1
43964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
43967 if test "$wxUSE_DC_CACHEING" = "yes"; then
43968 cat >>confdefs.h
<<\_ACEOF
43969 #define wxUSE_DC_CACHEING 1
43974 if test "$wxUSE_DRAGIMAGE" = "yes"; then
43975 cat >>confdefs.h
<<\_ACEOF
43976 #define wxUSE_DRAGIMAGE 1
43979 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
43982 if test "$wxUSE_EXCEPTIONS" = "yes"; then
43983 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43984 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
43985 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
43987 cat >>confdefs.h
<<\_ACEOF
43988 #define wxUSE_EXCEPTIONS 1
43991 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
43996 if test "$wxUSE_HTML" = "yes"; then
43997 cat >>confdefs.h
<<\_ACEOF
43998 #define wxUSE_HTML 1
44002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44003 if test "$wxUSE_MAC" = 1; then
44004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44007 if test "$wxUSE_WEBKIT" = "yes"; then
44008 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44009 old_CPPFLAGS
="$CPPFLAGS"
44010 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44011 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44012 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44013 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44014 echo $ECHO_N "(cached) $ECHO_C" >&6
44016 cat >conftest.
$ac_ext <<_ACEOF
44019 cat confdefs.h
>>conftest.
$ac_ext
44020 cat >>conftest.
$ac_ext <<_ACEOF
44021 /* end confdefs.h. */
44022 #include <Carbon/Carbon.h>
44024 #include <WebKit/HIWebView.h>
44026 rm -f conftest.
$ac_objext
44027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44028 (eval $ac_compile) 2>conftest.er1
44030 grep -v '^ *+' conftest.er1
>conftest.err
44032 cat conftest.err
>&5
44033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44034 (exit $ac_status); } &&
44035 { ac_try
='test -z "$ac_c_werror_flag"
44036 || test ! -s conftest.err'
44037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44038 (eval $ac_try) 2>&5
44040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44041 (exit $ac_status); }; } &&
44042 { ac_try
='test -s conftest.$ac_objext'
44043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44044 (eval $ac_try) 2>&5
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); }; }; then
44048 ac_cv_header_WebKit_HIWebView_h
=yes
44050 echo "$as_me: failed program was:" >&5
44051 sed 's/^/| /' conftest.
$ac_ext >&5
44053 ac_cv_header_WebKit_HIWebView_h
=no
44055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44057 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44058 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44059 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44061 cat >>confdefs.h
<<\_ACEOF
44062 #define wxUSE_WEBKIT 1
44065 WEBKIT_LINK
="-framework WebKit"
44069 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44070 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44076 CPPFLAGS
="$old_CPPFLAGS"
44077 elif test "$wxUSE_COCOA" = 1; then
44078 cat >>confdefs.h
<<\_ACEOF
44079 #define wxUSE_WEBKIT 1
44088 if test "$wxUSE_XRC" = "yes"; then
44089 if test "$wxUSE_XML" != "yes"; then
44090 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44091 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44094 cat >>confdefs.h
<<\_ACEOF
44095 #define wxUSE_XRC 1
44099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44103 if test "$wxUSE_MENUS" = "yes"; then
44104 cat >>confdefs.h
<<\_ACEOF
44105 #define wxUSE_MENUS 1
44108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44111 if test "$wxUSE_METAFILE" = "yes"; then
44112 cat >>confdefs.h
<<\_ACEOF
44113 #define wxUSE_METAFILE 1
44118 if test "$wxUSE_MIMETYPE" = "yes"; then
44119 cat >>confdefs.h
<<\_ACEOF
44120 #define wxUSE_MIMETYPE 1
44125 if test "$wxUSE_MINIFRAME" = "yes"; then
44126 cat >>confdefs.h
<<\_ACEOF
44127 #define wxUSE_MINIFRAME 1
44130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44133 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44134 cat >>confdefs.h
<<\_ACEOF
44135 #define wxUSE_SYSTEM_OPTIONS 1
44138 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44139 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44140 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44145 if test "$wxUSE_VALIDATORS" = "yes"; then
44146 cat >>confdefs.h
<<\_ACEOF
44147 #define wxUSE_VALIDATORS 1
44150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44153 if test "$wxUSE_PALETTE" = "yes" ; then
44154 cat >>confdefs.h
<<\_ACEOF
44155 #define wxUSE_PALETTE 1
44160 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44161 LIBS
=" -lunicows $LIBS"
44165 if test "$wxUSE_RICHTEXT" = "yes"; then
44166 cat >>confdefs.h
<<\_ACEOF
44167 #define wxUSE_RICHTEXT 1
44171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44175 if test "$wxUSE_IMAGE" = "yes" ; then
44176 cat >>confdefs.h
<<\_ACEOF
44177 #define wxUSE_IMAGE 1
44181 if test "$wxUSE_GIF" = "yes" ; then
44182 cat >>confdefs.h
<<\_ACEOF
44183 #define wxUSE_GIF 1
44188 if test "$wxUSE_PCX" = "yes" ; then
44189 cat >>confdefs.h
<<\_ACEOF
44190 #define wxUSE_PCX 1
44195 if test "$wxUSE_IFF" = "yes" ; then
44196 cat >>confdefs.h
<<\_ACEOF
44197 #define wxUSE_IFF 1
44202 if test "$wxUSE_PNM" = "yes" ; then
44203 cat >>confdefs.h
<<\_ACEOF
44204 #define wxUSE_PNM 1
44209 if test "$wxUSE_XPM" = "yes" ; then
44210 cat >>confdefs.h
<<\_ACEOF
44211 #define wxUSE_XPM 1
44216 if test "$wxUSE_ICO_CUR" = "yes" ; then
44217 cat >>confdefs.h
<<\_ACEOF
44218 #define wxUSE_ICO_CUR 1
44225 if test "$wxUSE_CHOICEDLG" = "yes"; then
44226 cat >>confdefs.h
<<\_ACEOF
44227 #define wxUSE_CHOICEDLG 1
44232 if test "$wxUSE_COLOURDLG" = "yes"; then
44233 cat >>confdefs.h
<<\_ACEOF
44234 #define wxUSE_COLOURDLG 1
44239 if test "$wxUSE_FILEDLG" = "yes"; then
44240 cat >>confdefs.h
<<\_ACEOF
44241 #define wxUSE_FILEDLG 1
44246 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44247 cat >>confdefs.h
<<\_ACEOF
44248 #define wxUSE_FINDREPLDLG 1
44253 if test "$wxUSE_FONTDLG" = "yes"; then
44254 cat >>confdefs.h
<<\_ACEOF
44255 #define wxUSE_FONTDLG 1
44260 if test "$wxUSE_DIRDLG" = "yes"; then
44261 if test "$wxUSE_TREECTRL" != "yes"; then
44262 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44263 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44265 cat >>confdefs.h
<<\_ACEOF
44266 #define wxUSE_DIRDLG 1
44272 if test "$wxUSE_MSGDLG" = "yes"; then
44273 cat >>confdefs.h
<<\_ACEOF
44274 #define wxUSE_MSGDLG 1
44279 if test "$wxUSE_NUMBERDLG" = "yes"; then
44280 cat >>confdefs.h
<<\_ACEOF
44281 #define wxUSE_NUMBERDLG 1
44286 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44287 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44288 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44289 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44291 cat >>confdefs.h
<<\_ACEOF
44292 #define wxUSE_PROGRESSDLG 1
44298 if test "$wxUSE_SPLASH" = "yes"; then
44299 cat >>confdefs.h
<<\_ACEOF
44300 #define wxUSE_SPLASH 1
44303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44306 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44307 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44308 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44309 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44311 cat >>confdefs.h
<<\_ACEOF
44312 #define wxUSE_STARTUP_TIPS 1
44318 if test "$wxUSE_TEXTDLG" = "yes"; then
44319 cat >>confdefs.h
<<\_ACEOF
44320 #define wxUSE_TEXTDLG 1
44325 if test "$wxUSE_WIZARDDLG" = "yes"; then
44326 cat >>confdefs.h
<<\_ACEOF
44327 #define wxUSE_WIZARDDLG 1
44330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44334 if test "$wxUSE_MEDIACTRL" = "yes"; then
44335 if test "$wxUSE_GTK" = 1; then
44336 wxUSE_GSTREAMER
="yes"
44341 if test -z "$PKG_CONFIG"; then
44342 # Extract the first word of "pkg-config", so it can be a program name with args.
44343 set dummy pkg
-config; ac_word
=$2
44344 echo "$as_me:$LINENO: checking for $ac_word" >&5
44345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44346 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44347 echo $ECHO_N "(cached) $ECHO_C" >&6
44349 case $PKG_CONFIG in
44351 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44355 for as_dir
in $PATH
44358 test -z "$as_dir" && as_dir
=.
44359 for ac_exec_ext
in '' $ac_executable_extensions; do
44360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44361 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44368 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44372 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44374 if test -n "$PKG_CONFIG"; then
44375 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44376 echo "${ECHO_T}$PKG_CONFIG" >&6
44378 echo "$as_me:$LINENO: result: no" >&5
44379 echo "${ECHO_T}no" >&6
44384 if test "$PKG_CONFIG" = "no" ; then
44385 echo "*** The pkg-config script could not be found. Make sure it is"
44386 echo "*** in your path, or set the PKG_CONFIG environment variable"
44387 echo "*** to the full path to pkg-config."
44388 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44390 PKG_CONFIG_MIN_VERSION
=0.9.0
44391 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44392 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
44393 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
44395 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
44396 echo "$as_me:$LINENO: result: yes" >&5
44397 echo "${ECHO_T}yes" >&6
44400 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
44401 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
44402 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
44403 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
44404 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
44406 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
44407 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
44408 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
44409 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
44410 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
44412 GSTREAMER_CFLAGS
=""
44414 ## If we have a custom action on failure, don't print errors, but
44415 ## do set a variable so people can do so.
44416 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
44423 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44424 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44428 if test $succeeded = yes; then
44430 CPPFLAGS
="$GSTREAMER_CFLAGS $CPPFLAGS"
44431 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
44435 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
44436 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
44437 wxUSE_GSTREAMER
="no"
44445 if test "x$GST_INSPECT" == "x"; then
44446 # Extract the first word of "gst-inspect", so it can be a program name with args.
44447 set dummy gst
-inspect; ac_word
=$2
44448 echo "$as_me:$LINENO: checking for $ac_word" >&5
44449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44450 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
44451 echo $ECHO_N "(cached) $ECHO_C" >&6
44453 if test -n "$GST_INSPECT"; then
44454 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
44456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44457 for as_dir
in $PATH
44460 test -z "$as_dir" && as_dir
=.
44461 for ac_exec_ext
in '' $ac_executable_extensions; do
44462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44463 ac_cv_prog_GST_INSPECT
="gst-inspect"
44464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44472 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
44473 if test -n "$GST_INSPECT"; then
44474 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
44475 echo "${ECHO_T}$GST_INSPECT" >&6
44477 echo "$as_me:$LINENO: result: no" >&5
44478 echo "${ECHO_T}no" >&6
44483 if test "x$GST_INSPECT" != "x"; then
44484 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
44485 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
44486 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
44487 echo "$as_me:$LINENO: result: found." >&5
44488 echo "${ECHO_T}found." >&6
44491 echo "$as_me:$LINENO: result: not found." >&5
44492 echo "${ECHO_T}not found." >&6
44494 wxUSE_GSTREAMER
="no"
44495 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
44496 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
44502 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
44503 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
44504 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
44505 echo $ECHO_N "(cached) $ECHO_C" >&6
44507 cat >conftest.
$ac_ext <<_ACEOF
44510 cat confdefs.h
>>conftest.
$ac_ext
44511 cat >>conftest.
$ac_ext <<_ACEOF
44512 /* end confdefs.h. */
44513 #include <gst/gst.h>
44515 #include <gst/xoverlay/xoverlay.h>
44517 rm -f conftest.
$ac_objext
44518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44519 (eval $ac_compile) 2>conftest.er1
44521 grep -v '^ *+' conftest.er1
>conftest.err
44523 cat conftest.err
>&5
44524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44525 (exit $ac_status); } &&
44526 { ac_try
='test -z "$ac_c_werror_flag"
44527 || test ! -s conftest.err'
44528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44529 (eval $ac_try) 2>&5
44531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44532 (exit $ac_status); }; } &&
44533 { ac_try
='test -s conftest.$ac_objext'
44534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44535 (eval $ac_try) 2>&5
44537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44538 (exit $ac_status); }; }; then
44539 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
44541 echo "$as_me: failed program was:" >&5
44542 sed 's/^/| /' conftest.
$ac_ext >&5
44544 ac_cv_header_gst_xoverlay_xoverlay_h
=no
44546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44548 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
44549 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
44550 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
44554 wxUSE_GSTREAMER
="no"
44555 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
44556 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
44562 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
44563 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
44566 for ac_dir
in $SEARCH_LIB;
44568 for ac_extension
in a so sl dylib dll.a
; do
44569 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
44570 ac_find_libraries
=$ac_dir
44577 if test "$ac_find_libraries" = "" ; then
44578 echo "$as_me:$LINENO: result: no" >&5
44579 echo "${ECHO_T}no" >&6
44580 wxUSE_GSTREAMER
="no"
44582 echo "$as_me:$LINENO: result: yes" >&5
44583 echo "${ECHO_T}yes" >&6
44586 if test "$wxUSE_GSTREAMER" = "yes"; then
44587 cat >>confdefs.h
<<\_ACEOF
44588 #define wxUSE_GSTREAMER 1
44591 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44592 echo "${ECHO_T}GStreamer detection successful" >&6
44595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
44596 cat >>confdefs.h
<<\_ACEOF
44597 #define wxUSE_MEDIACTRL 1
44603 if test "$cross_compiling" = "yes"; then
44606 OSINFO
=`uname -s -r -m`
44607 OSINFO
="\"$OSINFO\""
44610 cat >>confdefs.h
<<_ACEOF
44611 #define WXWIN_OS_DESCRIPTION $OSINFO
44616 if test "x$prefix" != "xNONE"; then
44619 wxPREFIX
=$ac_default_prefix
44622 cat >>confdefs.h
<<_ACEOF
44623 #define wxINSTALL_PREFIX "$wxPREFIX"
44629 CORE_BASE_LIBS
="net base"
44630 CORE_GUI_LIBS
="adv core"
44632 if test "$wxUSE_XML" = "yes" ; then
44633 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
44635 if test "$wxUSE_ODBC" != "no" ; then
44636 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
44637 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
44639 if test "$wxUSE_HTML" = "yes" ; then
44640 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
44642 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44643 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
44645 if test "$wxUSE_XRC" = "yes" ; then
44646 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
44649 if test "$wxUSE_GUI" != "yes"; then
44659 if test "$wxUSE_MAC" = 1 ; then
44660 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44661 if test "$USE_DARWIN" = 1; then
44662 LDFLAGS
="$LDFLAGS -framework QuickTime"
44664 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
44667 if test "$USE_DARWIN" = 1; then
44668 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44670 LDFLAGS
="$LDFLAGS -lCarbonLib"
44673 if test "$wxUSE_COCOA" = 1 ; then
44674 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
44675 if test "$wxUSE_MEDIACTRL" = "yes"; then
44676 LDFLAGS
="$LDFLAGS -framework QuickTime"
44679 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44680 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44684 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44692 echo "$as_me:$LINENO: checking for $ac_func" >&5
44693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44694 if eval "test \"\${$as_ac_var+set}\" = set"; then
44695 echo $ECHO_N "(cached) $ECHO_C" >&6
44697 cat >conftest.
$ac_ext <<_ACEOF
44700 cat confdefs.h
>>conftest.
$ac_ext
44701 cat >>conftest.
$ac_ext <<_ACEOF
44702 /* end confdefs.h. */
44703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44705 #define $ac_func innocuous_$ac_func
44707 /* System header to define __stub macros and hopefully few prototypes,
44708 which can conflict with char $ac_func (); below.
44709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44710 <limits.h> exists even on freestanding compilers. */
44713 # include <limits.h>
44715 # include <assert.h>
44720 /* Override any gcc2 internal prototype to avoid an error. */
44725 /* We use char because int might match the return type of a gcc2
44726 builtin and then its argument prototype would still apply. */
44728 /* The GNU C library defines this for functions which it implements
44729 to always fail with ENOSYS. Some functions are actually named
44730 something starting with __ and the normal name is an alias. */
44731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44734 char (*f) () = $ac_func;
44743 return f != $ac_func;
44748 rm -f conftest.
$ac_objext conftest
$ac_exeext
44749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44750 (eval $ac_link) 2>conftest.er1
44752 grep -v '^ *+' conftest.er1
>conftest.err
44754 cat conftest.err
>&5
44755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44756 (exit $ac_status); } &&
44757 { ac_try
='test -z "$ac_c_werror_flag"
44758 || test ! -s conftest.err'
44759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44760 (eval $ac_try) 2>&5
44762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44763 (exit $ac_status); }; } &&
44764 { ac_try
='test -s conftest$ac_exeext'
44765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44766 (eval $ac_try) 2>&5
44768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44769 (exit $ac_status); }; }; then
44770 eval "$as_ac_var=yes"
44772 echo "$as_me: failed program was:" >&5
44773 sed 's/^/| /' conftest.
$ac_ext >&5
44775 eval "$as_ac_var=no"
44777 rm -f conftest.err conftest.
$ac_objext \
44778 conftest
$ac_exeext conftest.
$ac_ext
44780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44782 if test `eval echo '${'$as_ac_var'}'` = yes; then
44783 cat >>confdefs.h
<<_ACEOF
44784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44791 for ac_func
in floor
44793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44794 echo "$as_me:$LINENO: checking for $ac_func" >&5
44795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44796 if eval "test \"\${$as_ac_var+set}\" = set"; then
44797 echo $ECHO_N "(cached) $ECHO_C" >&6
44799 cat >conftest.
$ac_ext <<_ACEOF
44802 cat confdefs.h
>>conftest.
$ac_ext
44803 cat >>conftest.
$ac_ext <<_ACEOF
44804 /* end confdefs.h. */
44805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44807 #define $ac_func innocuous_$ac_func
44809 /* System header to define __stub macros and hopefully few prototypes,
44810 which can conflict with char $ac_func (); below.
44811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44812 <limits.h> exists even on freestanding compilers. */
44815 # include <limits.h>
44817 # include <assert.h>
44822 /* Override any gcc2 internal prototype to avoid an error. */
44827 /* We use char because int might match the return type of a gcc2
44828 builtin and then its argument prototype would still apply. */
44830 /* The GNU C library defines this for functions which it implements
44831 to always fail with ENOSYS. Some functions are actually named
44832 something starting with __ and the normal name is an alias. */
44833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44836 char (*f) () = $ac_func;
44845 return f != $ac_func;
44850 rm -f conftest.
$ac_objext conftest
$ac_exeext
44851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44852 (eval $ac_link) 2>conftest.er1
44854 grep -v '^ *+' conftest.er1
>conftest.err
44856 cat conftest.err
>&5
44857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44858 (exit $ac_status); } &&
44859 { ac_try
='test -z "$ac_c_werror_flag"
44860 || test ! -s conftest.err'
44861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44862 (eval $ac_try) 2>&5
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); }; } &&
44866 { ac_try
='test -s conftest$ac_exeext'
44867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44868 (eval $ac_try) 2>&5
44870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871 (exit $ac_status); }; }; then
44872 eval "$as_ac_var=yes"
44874 echo "$as_me: failed program was:" >&5
44875 sed 's/^/| /' conftest.
$ac_ext >&5
44877 eval "$as_ac_var=no"
44879 rm -f conftest.err conftest.
$ac_objext \
44880 conftest
$ac_exeext conftest.
$ac_ext
44882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44884 if test `eval echo '${'$as_ac_var'}'` = yes; then
44885 cat >>confdefs.h
<<_ACEOF
44886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44892 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
44893 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
44894 if test "$have_cos" = 1 -a "$have_floor" = 1; then
44895 echo "$as_me:$LINENO: result: yes" >&5
44896 echo "${ECHO_T}yes" >&6
44898 echo "$as_me:$LINENO: result: no" >&5
44899 echo "${ECHO_T}no" >&6
44901 # use different functions to avoid configure caching
44907 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44908 echo "$as_me:$LINENO: checking for $ac_func" >&5
44909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44910 if eval "test \"\${$as_ac_var+set}\" = set"; then
44911 echo $ECHO_N "(cached) $ECHO_C" >&6
44913 cat >conftest.
$ac_ext <<_ACEOF
44916 cat confdefs.h
>>conftest.
$ac_ext
44917 cat >>conftest.
$ac_ext <<_ACEOF
44918 /* end confdefs.h. */
44919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44921 #define $ac_func innocuous_$ac_func
44923 /* System header to define __stub macros and hopefully few prototypes,
44924 which can conflict with char $ac_func (); below.
44925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44926 <limits.h> exists even on freestanding compilers. */
44929 # include <limits.h>
44931 # include <assert.h>
44936 /* Override any gcc2 internal prototype to avoid an error. */
44941 /* We use char because int might match the return type of a gcc2
44942 builtin and then its argument prototype would still apply. */
44944 /* The GNU C library defines this for functions which it implements
44945 to always fail with ENOSYS. Some functions are actually named
44946 something starting with __ and the normal name is an alias. */
44947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44950 char (*f) () = $ac_func;
44959 return f != $ac_func;
44964 rm -f conftest.
$ac_objext conftest
$ac_exeext
44965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44966 (eval $ac_link) 2>conftest.er1
44968 grep -v '^ *+' conftest.er1
>conftest.err
44970 cat conftest.err
>&5
44971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44972 (exit $ac_status); } &&
44973 { ac_try
='test -z "$ac_c_werror_flag"
44974 || test ! -s conftest.err'
44975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44976 (eval $ac_try) 2>&5
44978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44979 (exit $ac_status); }; } &&
44980 { ac_try
='test -s conftest$ac_exeext'
44981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44982 (eval $ac_try) 2>&5
44984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44985 (exit $ac_status); }; }; then
44986 eval "$as_ac_var=yes"
44988 echo "$as_me: failed program was:" >&5
44989 sed 's/^/| /' conftest.
$ac_ext >&5
44991 eval "$as_ac_var=no"
44993 rm -f conftest.err conftest.
$ac_objext \
44994 conftest
$ac_exeext conftest.
$ac_ext
44996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44998 if test `eval echo '${'$as_ac_var'}'` = yes; then
44999 cat >>confdefs.h
<<_ACEOF
45000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45007 for ac_func
in ceil
45009 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45010 echo "$as_me:$LINENO: checking for $ac_func" >&5
45011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45012 if eval "test \"\${$as_ac_var+set}\" = set"; then
45013 echo $ECHO_N "(cached) $ECHO_C" >&6
45015 cat >conftest.
$ac_ext <<_ACEOF
45018 cat confdefs.h
>>conftest.
$ac_ext
45019 cat >>conftest.
$ac_ext <<_ACEOF
45020 /* end confdefs.h. */
45021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45023 #define $ac_func innocuous_$ac_func
45025 /* System header to define __stub macros and hopefully few prototypes,
45026 which can conflict with char $ac_func (); below.
45027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45028 <limits.h> exists even on freestanding compilers. */
45031 # include <limits.h>
45033 # include <assert.h>
45038 /* Override any gcc2 internal prototype to avoid an error. */
45043 /* We use char because int might match the return type of a gcc2
45044 builtin and then its argument prototype would still apply. */
45046 /* The GNU C library defines this for functions which it implements
45047 to always fail with ENOSYS. Some functions are actually named
45048 something starting with __ and the normal name is an alias. */
45049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45052 char (*f) () = $ac_func;
45061 return f != $ac_func;
45066 rm -f conftest.
$ac_objext conftest
$ac_exeext
45067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45068 (eval $ac_link) 2>conftest.er1
45070 grep -v '^ *+' conftest.er1
>conftest.err
45072 cat conftest.err
>&5
45073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45074 (exit $ac_status); } &&
45075 { ac_try
='test -z "$ac_c_werror_flag"
45076 || test ! -s conftest.err'
45077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45078 (eval $ac_try) 2>&5
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); }; } &&
45082 { ac_try
='test -s conftest$ac_exeext'
45083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45084 (eval $ac_try) 2>&5
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); }; }; then
45088 eval "$as_ac_var=yes"
45090 echo "$as_me: failed program was:" >&5
45091 sed 's/^/| /' conftest.
$ac_ext >&5
45093 eval "$as_ac_var=no"
45095 rm -f conftest.err conftest.
$ac_objext \
45096 conftest
$ac_exeext conftest.
$ac_ext
45098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45100 if test `eval echo '${'$as_ac_var'}'` = yes; then
45101 cat >>confdefs.h
<<_ACEOF
45102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45108 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
45109 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
45110 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
45111 echo "$as_me:$LINENO: result: yes" >&5
45112 echo "${ECHO_T}yes" >&6
45114 echo "$as_me:$LINENO: result: no" >&5
45115 echo "${ECHO_T}no" >&6
45116 # not sure we should warn the user, crash, etc.
45120 if test "$wxUSE_GUI" = "yes"; then
45123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45124 dynamic erase event exec font image minimal mobile \
45125 mobile/wxedit mobile/styles propsize render \
45126 richedit rotate shaped vscroll widgets"
45128 if test "$wxUSE_MONOLITHIC" != "yes"; then
45129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45131 if test "$TOOLKIT" = "MSW"; then
45132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45133 if test "$wxUSE_UNIVERSAL" != "yes"; then
45134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45137 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45141 SAMPLES_SUBDIRS
="console"
45145 if test "x$INTELCC" = "xyes" ; then
45146 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45147 elif test "$GCC" = yes ; then
45148 CWARNINGS
="-Wall -Wundef"
45151 if test "x$INTELCXX" = "xyes" ; then
45152 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45153 elif test "$GXX" = yes ; then
45154 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45158 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45159 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45162 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45163 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45164 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45167 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45168 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45169 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45171 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45174 if test "x$MWCC" = "xyes"; then
45176 CC
="$CC -cwd source -I-"
45177 CXX
="$CXX -cwd source -I-"
45182 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45183 EXTRALIBS_XML
="$EXPAT_LINK"
45184 EXTRALIBS_HTML
="$MSPACK_LINK"
45185 EXTRALIBS_ODBC
="$ODBC_LINK"
45186 if test "$wxUSE_GUI" = "yes"; then
45187 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEPRINT`
45189 if test "$wxUSE_OPENGL" = "yes"; then
45190 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45193 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45195 WXCONFIG_LIBS
="$LIBS"
45197 if test "$wxUSE_REGEX" = "builtin" ; then
45198 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45200 if test "$wxUSE_EXPAT" = "builtin" ; then
45201 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45203 if test "$wxUSE_ODBC" = "builtin" ; then
45204 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45206 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45207 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45209 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45210 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45212 if test "$wxUSE_LIBPNG" = "builtin" ; then
45213 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45215 if test "$wxUSE_ZLIB" = "builtin" ; then
45216 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45219 for i
in $wxconfig_3rdparty ; do
45220 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45224 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45238 if test $wxUSE_MONOLITHIC = "yes" ; then
45244 if test $wxUSE_PLUGINS = "yes" ; then
45250 if test $wxUSE_ODBC != "no" ; then
45256 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45262 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45291 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45302 TOOLKIT_USER
="GTK+"
45303 if test "$WXGTK20" = 1; then
45304 TOOLKIT_USER
="$TOOLKIT_USER 2"
45309 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45313 if test "$wxUSE_WINE" = "yes"; then
45314 BAKEFILE_FORCE_PLATFORM
=win32
45317 if test "$wxUSE_MAC" = 1 ; then
45318 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45319 CXXFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45320 CFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45321 LDFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45324 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45325 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45326 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45332 if test "x$BAKEFILE_HOST" = "x"; then
45333 BAKEFILE_HOST
="${host}"
45336 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45338 if test -n "$ac_tool_prefix"; then
45339 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45340 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45341 echo "$as_me:$LINENO: checking for $ac_word" >&5
45342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45343 if test "${ac_cv_prog_RANLIB+set}" = set; then
45344 echo $ECHO_N "(cached) $ECHO_C" >&6
45346 if test -n "$RANLIB"; then
45347 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45350 for as_dir
in $PATH
45353 test -z "$as_dir" && as_dir
=.
45354 for ac_exec_ext
in '' $ac_executable_extensions; do
45355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45356 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45365 RANLIB
=$ac_cv_prog_RANLIB
45366 if test -n "$RANLIB"; then
45367 echo "$as_me:$LINENO: result: $RANLIB" >&5
45368 echo "${ECHO_T}$RANLIB" >&6
45370 echo "$as_me:$LINENO: result: no" >&5
45371 echo "${ECHO_T}no" >&6
45375 if test -z "$ac_cv_prog_RANLIB"; then
45376 ac_ct_RANLIB
=$RANLIB
45377 # Extract the first word of "ranlib", so it can be a program name with args.
45378 set dummy ranlib
; ac_word
=$2
45379 echo "$as_me:$LINENO: checking for $ac_word" >&5
45380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45381 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45382 echo $ECHO_N "(cached) $ECHO_C" >&6
45384 if test -n "$ac_ct_RANLIB"; then
45385 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45388 for as_dir
in $PATH
45391 test -z "$as_dir" && as_dir
=.
45392 for ac_exec_ext
in '' $ac_executable_extensions; do
45393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45394 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45401 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45404 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45405 if test -n "$ac_ct_RANLIB"; then
45406 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45407 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45409 echo "$as_me:$LINENO: result: no" >&5
45410 echo "${ECHO_T}no" >&6
45413 RANLIB
=$ac_ct_RANLIB
45415 RANLIB
="$ac_cv_prog_RANLIB"
45418 # Find a good install program. We prefer a C program (faster),
45419 # so one script is as good as another. But avoid the broken or
45420 # incompatible versions:
45421 # SysV /etc/install, /usr/sbin/install
45422 # SunOS /usr/etc/install
45423 # IRIX /sbin/install
45425 # AmigaOS /C/install, which installs bootblocks on floppy discs
45426 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45427 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45428 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45429 # OS/2's system install, which has a completely different semantic
45430 # ./install, which can be erroneously created by make from ./install.sh.
45431 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45432 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45433 if test -z "$INSTALL"; then
45434 if test "${ac_cv_path_install+set}" = set; then
45435 echo $ECHO_N "(cached) $ECHO_C" >&6
45437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45438 for as_dir
in $PATH
45441 test -z "$as_dir" && as_dir
=.
45442 # Account for people who put trailing slashes in PATH elements.
45444 .
/ | .
// | /cC
/* | \
45445 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45446 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45449 # OSF1 and SCO ODT 3.0 have their own names for install.
45450 # Don't use installbsd from OSF since it installs stuff as root
45452 for ac_prog
in ginstall scoinst
install; do
45453 for ac_exec_ext
in '' $ac_executable_extensions; do
45454 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45455 if test $ac_prog = install &&
45456 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45457 # AIX install. It has an incompatible calling convention.
45459 elif test $ac_prog = install &&
45460 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45461 # program-specific install script used by HP pwplus--don't use.
45464 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45476 if test "${ac_cv_path_install+set}" = set; then
45477 INSTALL
=$ac_cv_path_install
45479 # As a last resort, use the slow shell script. We don't cache a
45480 # path for INSTALL within a source directory, because that will
45481 # break other packages using the cache if that directory is
45482 # removed, or if the path is relative.
45483 INSTALL
=$ac_install_sh
45486 echo "$as_me:$LINENO: result: $INSTALL" >&5
45487 echo "${ECHO_T}$INSTALL" >&6
45489 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45490 # It thinks the first close brace ends the variable substitution.
45491 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45493 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45495 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45497 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45498 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45500 if test "$LN_S" = "ln -s"; then
45501 echo "$as_me:$LINENO: result: yes" >&5
45502 echo "${ECHO_T}yes" >&6
45504 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45505 echo "${ECHO_T}no, using $LN_S" >&6
45509 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45510 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45511 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45512 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45513 echo $ECHO_N "(cached) $ECHO_C" >&6
45515 cat >conftest.
make <<\_ACEOF
45517 @
echo 'ac_maketemp="$(MAKE)"'
45519 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45520 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45521 if test -n "$ac_maketemp"; then
45522 eval ac_cv_prog_make_
${ac_make}_set
=yes
45524 eval ac_cv_prog_make_
${ac_make}_set
=no
45526 rm -f conftest.
make
45528 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45529 echo "$as_me:$LINENO: result: yes" >&5
45530 echo "${ECHO_T}yes" >&6
45533 echo "$as_me:$LINENO: result: no" >&5
45534 echo "${ECHO_T}no" >&6
45535 SET_MAKE
="MAKE=${MAKE-make}"
45540 if test -n "$ac_tool_prefix"; then
45541 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45542 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45543 echo "$as_me:$LINENO: checking for $ac_word" >&5
45544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45545 if test "${ac_cv_prog_AR+set}" = set; then
45546 echo $ECHO_N "(cached) $ECHO_C" >&6
45548 if test -n "$AR"; then
45549 ac_cv_prog_AR
="$AR" # Let the user override the test.
45551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45552 for as_dir
in $PATH
45555 test -z "$as_dir" && as_dir
=.
45556 for ac_exec_ext
in '' $ac_executable_extensions; do
45557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45558 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45568 if test -n "$AR"; then
45569 echo "$as_me:$LINENO: result: $AR" >&5
45570 echo "${ECHO_T}$AR" >&6
45572 echo "$as_me:$LINENO: result: no" >&5
45573 echo "${ECHO_T}no" >&6
45577 if test -z "$ac_cv_prog_AR"; then
45579 # Extract the first word of "ar", so it can be a program name with args.
45580 set dummy
ar; ac_word
=$2
45581 echo "$as_me:$LINENO: checking for $ac_word" >&5
45582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45583 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45584 echo $ECHO_N "(cached) $ECHO_C" >&6
45586 if test -n "$ac_ct_AR"; then
45587 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45590 for as_dir
in $PATH
45593 test -z "$as_dir" && as_dir
=.
45594 for ac_exec_ext
in '' $ac_executable_extensions; do
45595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45596 ac_cv_prog_ac_ct_AR
="ar"
45597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45603 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45606 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45607 if test -n "$ac_ct_AR"; then
45608 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45609 echo "${ECHO_T}$ac_ct_AR" >&6
45611 echo "$as_me:$LINENO: result: no" >&5
45612 echo "${ECHO_T}no" >&6
45617 AR
="$ac_cv_prog_AR"
45620 if test -n "$ac_tool_prefix"; then
45621 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45622 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45623 echo "$as_me:$LINENO: checking for $ac_word" >&5
45624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45625 if test "${ac_cv_prog_STRIP+set}" = set; then
45626 echo $ECHO_N "(cached) $ECHO_C" >&6
45628 if test -n "$STRIP"; then
45629 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45632 for as_dir
in $PATH
45635 test -z "$as_dir" && as_dir
=.
45636 for ac_exec_ext
in '' $ac_executable_extensions; do
45637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45638 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45647 STRIP
=$ac_cv_prog_STRIP
45648 if test -n "$STRIP"; then
45649 echo "$as_me:$LINENO: result: $STRIP" >&5
45650 echo "${ECHO_T}$STRIP" >&6
45652 echo "$as_me:$LINENO: result: no" >&5
45653 echo "${ECHO_T}no" >&6
45657 if test -z "$ac_cv_prog_STRIP"; then
45659 # Extract the first word of "strip", so it can be a program name with args.
45660 set dummy strip
; ac_word
=$2
45661 echo "$as_me:$LINENO: checking for $ac_word" >&5
45662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45663 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45664 echo $ECHO_N "(cached) $ECHO_C" >&6
45666 if test -n "$ac_ct_STRIP"; then
45667 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45670 for as_dir
in $PATH
45673 test -z "$as_dir" && as_dir
=.
45674 for ac_exec_ext
in '' $ac_executable_extensions; do
45675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45676 ac_cv_prog_ac_ct_STRIP
="strip"
45677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45683 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45686 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45687 if test -n "$ac_ct_STRIP"; then
45688 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45689 echo "${ECHO_T}$ac_ct_STRIP" >&6
45691 echo "$as_me:$LINENO: result: no" >&5
45692 echo "${ECHO_T}no" >&6
45697 STRIP
="$ac_cv_prog_STRIP"
45700 if test -n "$ac_tool_prefix"; then
45701 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45702 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45703 echo "$as_me:$LINENO: checking for $ac_word" >&5
45704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45705 if test "${ac_cv_prog_NM+set}" = set; then
45706 echo $ECHO_N "(cached) $ECHO_C" >&6
45708 if test -n "$NM"; then
45709 ac_cv_prog_NM
="$NM" # Let the user override the test.
45711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45712 for as_dir
in $PATH
45715 test -z "$as_dir" && as_dir
=.
45716 for ac_exec_ext
in '' $ac_executable_extensions; do
45717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45718 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45728 if test -n "$NM"; then
45729 echo "$as_me:$LINENO: result: $NM" >&5
45730 echo "${ECHO_T}$NM" >&6
45732 echo "$as_me:$LINENO: result: no" >&5
45733 echo "${ECHO_T}no" >&6
45737 if test -z "$ac_cv_prog_NM"; then
45739 # Extract the first word of "nm", so it can be a program name with args.
45740 set dummy nm
; ac_word
=$2
45741 echo "$as_me:$LINENO: checking for $ac_word" >&5
45742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45743 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45744 echo $ECHO_N "(cached) $ECHO_C" >&6
45746 if test -n "$ac_ct_NM"; then
45747 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45750 for as_dir
in $PATH
45753 test -z "$as_dir" && as_dir
=.
45754 for ac_exec_ext
in '' $ac_executable_extensions; do
45755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45756 ac_cv_prog_ac_ct_NM
="nm"
45757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45763 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45766 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45767 if test -n "$ac_ct_NM"; then
45768 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45769 echo "${ECHO_T}$ac_ct_NM" >&6
45771 echo "$as_me:$LINENO: result: no" >&5
45772 echo "${ECHO_T}no" >&6
45777 NM
="$ac_cv_prog_NM"
45781 case ${BAKEFILE_HOST} in
45783 INSTALL_DIR
="mkdir -p"
45785 *) INSTALL_DIR
="$INSTALL -d"
45791 case ${BAKEFILE_HOST} in
45792 *-*-cygwin* | *-*-mingw32* )
45793 LDFLAGS_GUI
="-mwindows"
45799 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45800 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45801 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45802 echo $ECHO_N "(cached) $ECHO_C" >&6
45805 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45806 egrep -s GNU
> /dev
/null
); then
45807 bakefile_cv_prog_makeisgnu
="yes"
45809 bakefile_cv_prog_makeisgnu
="no"
45813 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45814 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45816 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45833 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45834 case "${BAKEFILE_HOST}" in
45841 *-pc-os2_emx | *-pc-os2-emx )
45851 powerpc
-apple-macos* )
45860 case "$BAKEFILE_FORCE_PLATFORM" in
45881 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45882 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45883 { (exit 1); exit 1; }; }
45898 # Check whether --enable-omf or --disable-omf was given.
45899 if test "${enable_omf+set}" = set; then
45900 enableval
="$enable_omf"
45901 bk_os2_use_omf
="$enableval"
45904 case "${BAKEFILE_HOST}" in
45906 if test "x$GCC" = "xyes"; then
45907 CFLAGS
="$CFLAGS -fno-common"
45908 CXXFLAGS
="$CXXFLAGS -fno-common"
45910 if test "x$XLCC" = "xyes"; then
45911 CFLAGS
="$CFLAGS -qnocommon"
45912 CXXFLAGS
="$CXXFLAGS -qnocommon"
45916 *-pc-os2_emx | *-pc-os2-emx )
45917 if test "x$bk_os2_use_omf" = "xyes" ; then
45920 LDFLAGS
="-Zomf $LDFLAGS"
45921 CFLAGS
="-Zomf $CFLAGS"
45922 CXXFLAGS
="-Zomf $CXXFLAGS"
45930 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
45936 SO_SUFFIX_MODULE
="so"
45941 DLLPREFIX_MODULE
=""
45945 case "${BAKEFILE_HOST}" in
45948 SO_SUFFIX_MODULE
="sl"
45952 SO_SUFFIX_MODULE
="a"
45956 SO_SUFFIX_MODULE
="dll"
45957 DLLIMP_SUFFIX
="dll.a"
45964 SO_SUFFIX_MODULE
="dll"
45965 DLLIMP_SUFFIX
="dll.a"
45975 *-pc-os2_emx | *-pc-os2-emx )
45977 SO_SUFFIX_MODULE
="dll"
45978 DLLIMP_SUFFIX
=$OS2_LIBEXT
45982 LIBEXT
=".$OS2_LIBEXT"
45987 SO_SUFFIX_MODULE
="bundle"
45991 if test "x$DLLIMP_SUFFIX" = "x" ; then
45992 DLLIMP_SUFFIX
="$SO_SUFFIX"
46007 if test "x$GCC" = "xyes"; then
46011 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46012 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46015 case "${BAKEFILE_HOST}" in
46017 if test "x$GCC" != "xyes"; then
46018 LDFLAGS
="$LDFLAGS -L/usr/lib"
46020 SHARED_LD_CC
="${CC} -b -o"
46021 SHARED_LD_CXX
="${CXX} -b -o"
46027 if test "x$GCC" != "xyes"; then
46028 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46029 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46030 if test "${bakefile_cv_prog_icc+set}" = set; then
46031 echo $ECHO_N "(cached) $ECHO_C" >&6
46034 cat >conftest.
$ac_ext <<_ACEOF
46037 cat confdefs.h
>>conftest.
$ac_ext
46038 cat >>conftest.
$ac_ext <<_ACEOF
46039 /* end confdefs.h. */
46045 #ifndef __INTEL_COMPILER
46053 rm -f conftest.
$ac_objext
46054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46055 (eval $ac_compile) 2>conftest.er1
46057 grep -v '^ *+' conftest.er1
>conftest.err
46059 cat conftest.err
>&5
46060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46061 (exit $ac_status); } &&
46062 { ac_try
='test -z "$ac_c_werror_flag"
46063 || test ! -s conftest.err'
46064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46065 (eval $ac_try) 2>&5
46067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46068 (exit $ac_status); }; } &&
46069 { ac_try
='test -s conftest.$ac_objext'
46070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46071 (eval $ac_try) 2>&5
46073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46074 (exit $ac_status); }; }; then
46075 bakefile_cv_prog_icc
=yes
46077 echo "$as_me: failed program was:" >&5
46078 sed 's/^/| /' conftest.
$ac_ext >&5
46080 bakefile_cv_prog_icc
=no
46083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46086 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46087 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46088 if test "$bakefile_cv_prog_icc" = "yes"; then
46095 if test "x$GCC" != xyes
; then
46096 SHARED_LD_CC
="${CC} -G -o"
46097 SHARED_LD_CXX
="${CXX} -G -o"
46105 cat <<EOF >shared-ld-sh
46107 #-----------------------------------------------------------------------------
46108 #-- Name: distrib/mac/shared-ld-sh
46109 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46110 #-- Author: Gilles Depeyrot
46111 #-- Copyright: (c) 2002 Gilles Depeyrot
46112 #-- Licence: any use permitted
46113 #-----------------------------------------------------------------------------
46118 linking_flag="-dynamiclib"
46119 ldargs="-r -keep_private_externs -nostdlib"
46121 while test ${D}# -gt 0; do
46128 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46129 # collect these options and values
46130 args="${D}{args} ${D}1 ${D}2"
46135 # collect these load args
46136 ldargs="${D}{ldargs} ${D}1"
46139 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46140 # collect these options
46141 args="${D}{args} ${D}1"
46144 -dynamiclib|-bundle)
46145 linking_flag="${D}1"
46149 echo "shared-ld: unhandled option '${D}1'"
46153 *.o | *.a | *.dylib)
46154 # collect object files
46155 objects="${D}{objects} ${D}1"
46159 echo "shared-ld: unhandled argument '${D}1'"
46170 # Link one module containing all the others
46172 if test ${D}{verbose} = 1; then
46173 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46175 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46179 # Link the shared library from the single module created, but only if the
46180 # previous command didn't fail:
46182 if test ${D}{status} = 0; then
46183 if test ${D}{verbose} = 1; then
46184 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46186 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46191 # Remove intermediate module
46193 rm -f master.${D}${D}.o
46198 chmod +x shared
-ld-sh
46200 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46201 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46204 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46205 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46206 if test "${bakefile_cv_gcc31+set}" = set; then
46207 echo $ECHO_N "(cached) $ECHO_C" >&6
46210 cat >conftest.
$ac_ext <<_ACEOF
46213 cat confdefs.h
>>conftest.
$ac_ext
46214 cat >>conftest.
$ac_ext <<_ACEOF
46215 /* end confdefs.h. */
46221 #if (__GNUC__ < 3) || \
46222 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46230 rm -f conftest.
$ac_objext
46231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46232 (eval $ac_compile) 2>conftest.er1
46234 grep -v '^ *+' conftest.er1
>conftest.err
46236 cat conftest.err
>&5
46237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46238 (exit $ac_status); } &&
46239 { ac_try
='test -z "$ac_c_werror_flag"
46240 || test ! -s conftest.err'
46241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46242 (eval $ac_try) 2>&5
46244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46245 (exit $ac_status); }; } &&
46246 { ac_try
='test -s conftest.$ac_objext'
46247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46248 (eval $ac_try) 2>&5
46250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46251 (exit $ac_status); }; }; then
46253 bakefile_cv_gcc31
=yes
46256 echo "$as_me: failed program was:" >&5
46257 sed 's/^/| /' conftest.
$ac_ext >&5
46260 bakefile_cv_gcc31
=no
46264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46267 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46268 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46269 if test "$bakefile_cv_gcc31" = "no"; then
46270 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46271 SHARED_LD_CXX
="$SHARED_LD_CC"
46273 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46274 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46277 if test "x$GCC" == "xyes"; then
46278 PIC_FLAG
="-dynamic -fPIC"
46280 if test "x$XLCC" = "xyes"; then
46281 PIC_FLAG
="-dynamic -DPIC"
46286 if test "x$GCC" = "xyes"; then
46289 case "${BAKEFILE_HOST}" in
46291 LD_EXPFULL
="-Wl,-bexpfull"
46295 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46296 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46298 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46299 set dummy makeC
++SharedLib
; ac_word
=$2
46300 echo "$as_me:$LINENO: checking for $ac_word" >&5
46301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46302 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46303 echo $ECHO_N "(cached) $ECHO_C" >&6
46305 if test -n "$AIX_CXX_LD"; then
46306 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46309 for as_dir
in $PATH
46312 test -z "$as_dir" && as_dir
=.
46313 for ac_exec_ext
in '' $ac_executable_extensions; do
46314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46315 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46322 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46325 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46326 if test -n "$AIX_CXX_LD"; then
46327 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46328 echo "${ECHO_T}$AIX_CXX_LD" >&6
46330 echo "$as_me:$LINENO: result: no" >&5
46331 echo "${ECHO_T}no" >&6
46334 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46335 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46340 SHARED_LD_CC
="${LD} -nostart -o"
46341 SHARED_LD_CXX
="${LD} -nostart -o"
46345 if test "x$GCC" != "xyes"; then
46350 *-*-cygwin* | *-*-mingw32* )
46352 SHARED_LD_CC
="\$(CC) -shared -o"
46353 SHARED_LD_CXX
="\$(CXX) -shared -o"
46357 *-pc-os2_emx | *-pc-os2-emx )
46358 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46359 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46363 cat <<EOF >dllar.sh
46366 # dllar - a tool to build both a .dll and an .a file
46367 # from a set of object (.o) files for EMX/OS2.
46369 # Written by Andrew Zabolotny, bit@freya.etu.ru
46370 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46372 # This script will accept a set of files on the command line.
46373 # All the public symbols from the .o files will be exported into
46374 # a .DEF file, then linker will be run (through gcc) against them to
46375 # build a shared library consisting of all given .o files. All libraries
46376 # (.a) will be first decompressed into component .o files then act as
46377 # described above. You can optionally give a description (-d "description")
46378 # which will be put into .DLL. To see the list of accepted options (as well
46379 # as command-line format) simply run this program without options. The .DLL
46380 # is built to be imported by name (there is no guarantee that new versions
46381 # of the library you build will have same ordinals for same symbols).
46383 # dllar is free software; you can redistribute it and/or modify
46384 # it under the terms of the GNU General Public License as published by
46385 # the Free Software Foundation; either version 2, or (at your option)
46386 # any later version.
46388 # dllar is distributed in the hope that it will be useful,
46389 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46390 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46391 # GNU General Public License for more details.
46393 # You should have received a copy of the GNU General Public License
46394 # along with dllar; see the file COPYING. If not, write to the Free
46395 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46398 # To successfuly run this program you will need:
46399 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46400 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46402 # (used to build the .dll)
46404 # (used to create .def file from .o files)
46406 # (used to create .a file from .def file)
46407 # - GNU text utilites (cat, sort, uniq)
46408 # used to process emxexp output
46409 # - GNU file utilities (mv, rm)
46411 # - lxlite (optional, see flag below)
46412 # (used for general .dll cleanup)
46419 # basnam, variant of basename, which does _not_ remove the path, _iff_
46420 # second argument (suffix to remove) is given
46424 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46427 echo ${D}1 | sed 's/'${D}2'${D}//'
46430 echo "error in basnam ${D}*"
46436 # Cleanup temporary files and output
46439 for i in ${D}inputFiles ; do
46442 rm -rf \`basnam ${D}i !\`
46449 # Kill result in case of failure as there is just to many stupid make/nmake
46450 # things out there which doesn't do this.
46451 if [ ${D}# -eq 0 ]; then
46452 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46456 # Print usage and exit script with rc=1.
46458 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46459 echo ' [-name-mangler-script script.sh]'
46460 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46461 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46462 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46463 echo ' [*.o] [*.a]'
46464 echo '*> "output_file" should have no extension.'
46465 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46466 echo ' The import library name is derived from this and is set to "name".a,'
46467 echo ' unless overridden by -import'
46468 echo '*> "importlib_name" should have no extension.'
46469 echo ' If it has the .o, or .a extension, it is automatically removed.'
46470 echo ' This name is used as the import library name and may be longer and'
46471 echo ' more descriptive than the DLL name which has to follow the old '
46472 echo ' 8.3 convention of FAT.'
46473 echo '*> "script.sh may be given to override the output_file name by a'
46474 echo ' different name. It is mainly useful if the regular make process'
46475 echo ' of some package does not take into account OS/2 restriction of'
46476 echo ' DLL name lengths. It takes the importlib name as input and is'
46477 echo ' supposed to procude a shorter name as output. The script should'
46478 echo ' expect to get importlib_name without extension and should produce'
46479 echo ' a (max.) 8 letter name without extension.'
46480 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46481 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46482 echo ' These flags will be put at the start of GCC command line.'
46483 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46484 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46485 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46486 echo ' If the last character of a symbol is "*", all symbols beginning'
46487 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46488 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46489 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46490 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46491 echo ' C runtime DLLs.'
46492 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46493 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46494 echo ' unchanged to GCC at the end of command line.'
46495 echo '*> If you create a DLL from a library and you do not specify -o,'
46496 echo ' the basename for DLL and import library will be set to library name,'
46497 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46498 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46499 echo ' library will be renamed into gcc_s.a.'
46502 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46503 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46508 # Execute a command.
46509 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46510 # @Uses Whatever CleanUp() uses.
46516 if [ ${D}rcCmd -ne 0 ]; then
46517 echo "command failed, exit code="${D}rcCmd
46532 CFLAGS="-s -Zcrtdll"
46534 EXPORT_BY_ORDINALS=0
46539 case ${D}curDirS in
46543 curDirS=${D}{curDirS}"/"
46546 # Parse commandline
46549 while [ ${D}1 ]; do
46552 EXPORT_BY_ORDINALS=1;
46562 -name-mangler-script)
46583 exclude_symbols=${D}{exclude_symbols}${D}1" "
46587 library_flags=${D}{library_flags}${D}1" "
46606 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46609 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46610 if [ ${D}omfLinking -eq 1 ]; then
46611 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46613 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46618 if [ ${D}libsToLink -ne 0 ]; then
46619 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46621 for file in ${D}1 ; do
46622 if [ -f ${D}file ]; then
46623 inputFiles="${D}{inputFiles} ${D}file"
46627 if [ ${D}found -eq 0 ]; then
46628 echo "ERROR: No file(s) found: "${D}1
46635 done # iterate cmdline words
46638 if [ -z "${D}inputFiles" ]; then
46639 echo "dllar: no input files"
46643 # Now extract all .o files from .a files
46645 for file in ${D}inputFiles ; do
46656 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46661 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46663 if [ ${D}? -ne 0 ]; then
46664 echo "Failed to create subdirectory ./${D}dirname"
46668 # Append '!' to indicate archive
46669 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46670 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46673 for subfile in ${D}dirname/*.o* ; do
46674 if [ -f ${D}subfile ]; then
46676 if [ -s ${D}subfile ]; then
46677 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46678 newInputFiles="${D}newInputFiles ${D}subfile"
46682 if [ ${D}found -eq 0 ]; then
46683 echo "WARNING: there are no files in archive \\'${D}file\\'"
46687 newInputFiles="${D}{newInputFiles} ${D}file"
46691 inputFiles="${D}newInputFiles"
46693 # Output filename(s).
46695 if [ -z ${D}outFile ]; then
46697 set outFile ${D}inputFiles; outFile=${D}2
46700 # If it is an archive, remove the '!' and the '_%' suffixes
46701 case ${D}outFile in
46703 outFile=\`basnam ${D}outFile _%!\`
46708 case ${D}outFile in
46710 outFile=\`basnam ${D}outFile .dll\`
46713 outFile=\`basnam ${D}outFile .DLL\`
46716 outFile=\`basnam ${D}outFile .o\`
46719 outFile=\`basnam ${D}outFile .obj\`
46722 outFile=\`basnam ${D}outFile .a\`
46725 outFile=\`basnam ${D}outFile .lib\`
46730 case ${D}outimpFile in
46732 outimpFile=\`basnam ${D}outimpFile .a\`
46735 outimpFile=\`basnam ${D}outimpFile .lib\`
46740 if [ -z ${D}outimpFile ]; then
46741 outimpFile=${D}outFile
46743 defFile="${D}{outFile}.def"
46744 arcFile="${D}{outimpFile}.a"
46745 arcFile2="${D}{outimpFile}.lib"
46747 #create ${D}dllFile as something matching 8.3 restrictions,
46748 if [ -z ${D}renameScript ] ; then
46749 dllFile="${D}outFile"
46751 dllFile=\`${D}renameScript ${D}outimpFile\`
46754 if [ ${D}do_backup -ne 0 ] ; then
46755 if [ -f ${D}arcFile ] ; then
46756 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46758 if [ -f ${D}arcFile2 ] ; then
46759 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46763 # Extract public symbols from all the object files.
46764 tmpdefFile=${D}{defFile}_%
46765 rm -f ${D}tmpdefFile
46766 for file in ${D}inputFiles ; do
46771 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46776 # Create the def file.
46778 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46779 dllFile="${D}{dllFile}.dll"
46780 if [ ! -z ${D}description ]; then
46781 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46783 echo "EXPORTS" >> ${D}defFile
46785 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46786 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46788 # Checks if the export is ok or not.
46789 for word in ${D}exclude_symbols; do
46790 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46791 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46795 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46796 sed "=" < ${D}tmpdefFile | \\
46800 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46802 ' > ${D}{tmpdefFile}%
46803 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46805 rm -f ${D}{tmpdefFile}%
46807 cat ${D}tmpdefFile >> ${D}defFile
46808 rm -f ${D}tmpdefFile
46810 # Do linking, create implib, and apply lxlite.
46812 for file in ${D}inputFiles ; do
46817 gccCmdl="${D}gccCmdl ${D}file"
46821 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46822 touch "${D}{outFile}.dll"
46824 doCommand "emximp -o ${D}arcFile ${D}defFile"
46825 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46827 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46830 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46832 doCommand "emxomf -s -l ${D}arcFile"
46842 powerpc
-apple-macos* | \
46843 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
46852 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46853 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46854 { (exit 1); exit 1; }; }
46857 if test "x$PIC_FLAG" != "x" ; then
46858 PIC_FLAG
="$PIC_FLAG -DPIC"
46861 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46862 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
46864 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46865 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
46884 case "${BAKEFILE_HOST}" in
46885 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
46886 SONAME_FLAG
="-Wl,-soname,"
46920 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46921 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46924 if test "x$GCC" = "xyes"; then
46926 case "${BAKEFILE_HOST}" in
46928 DEPSFLAG
="-no-cpp-precomp -MMD"
46934 echo "$as_me:$LINENO: result: gcc" >&5
46935 echo "${ECHO_T}gcc" >&6
46936 elif test "x$MWCC" = "xyes"; then
46939 echo "$as_me:$LINENO: result: mwcc" >&5
46940 echo "${ECHO_T}mwcc" >&6
46941 elif test "x$SUNCC" = "xyes"; then
46944 echo "$as_me:$LINENO: result: Sun cc" >&5
46945 echo "${ECHO_T}Sun cc" >&6
46946 elif test "x$SGICC" = "xyes"; then
46949 echo "$as_me:$LINENO: result: SGI cc" >&5
46950 echo "${ECHO_T}SGI cc" >&6
46951 elif test "x$HPCC" = "xyes"; then
46954 echo "$as_me:$LINENO: result: HP cc" >&5
46955 echo "${ECHO_T}HP cc" >&6
46956 elif test "x$COMPAQCC" = "xyes"; then
46959 echo "$as_me:$LINENO: result: Compaq cc" >&5
46960 echo "${ECHO_T}Compaq cc" >&6
46963 echo "$as_me:$LINENO: result: none" >&5
46964 echo "${ECHO_T}none" >&6
46967 if test $DEPS_TRACKING = 1 ; then
46973 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
46974 # script. It is used to track C/C++ files dependencies in portable way.
46976 # Permission is given to use this file in any way.
46978 DEPSMODE=${DEPSMODE}
46980 DEPSFLAG="${DEPSFLAG}"
46982 mkdir -p ${D}DEPSDIR
46984 if test ${D}DEPSMODE = gcc ; then
46985 ${D}* ${D}{DEPSFLAG}
46987 if test ${D}{status} != 0 ; then
46990 # move created file to the location we want it in:
46991 while test ${D}# -gt 0; do
47005 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47006 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47007 if test -f ${D}depfile ; then
47008 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47011 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47012 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47013 if test ! -f ${D}depfile ; then
47014 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47015 depfile="${D}objfile.d"
47017 if test -f ${D}depfile ; then
47018 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47023 elif test ${D}DEPSMODE = mwcc ; then
47024 ${D}* || exit ${D}?
47025 # Run mwcc again with -MM and redirect into the dep file we want
47026 # NOTE: We can't use shift here because we need ${D}* to be valid
47028 for arg in ${D}* ; do
47029 if test "${D}prevarg" = "-o"; then
47042 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47044 elif test ${D}DEPSMODE = unixcc; then
47045 ${D}* || exit ${D}?
47046 # Run compiler again with deps flag and redirect into the dep file.
47047 # It doesn't work if the '-o FILE' option is used, but without it the
47048 # dependency file will contain the wrong name for the object. So it is
47049 # removed from the command line, and the dep file is fixed with sed.
47051 while test ${D}# -gt 0; do
47058 eval arg${D}#=\\${D}1
47059 cmd="${D}cmd \\${D}arg${D}#"
47064 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47078 case ${BAKEFILE_HOST} in
47079 *-*-cygwin* | *-*-mingw32* )
47080 if test -n "$ac_tool_prefix"; then
47081 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47082 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47083 echo "$as_me:$LINENO: checking for $ac_word" >&5
47084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47085 if test "${ac_cv_prog_WINDRES+set}" = set; then
47086 echo $ECHO_N "(cached) $ECHO_C" >&6
47088 if test -n "$WINDRES"; then
47089 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47092 for as_dir
in $PATH
47095 test -z "$as_dir" && as_dir
=.
47096 for ac_exec_ext
in '' $ac_executable_extensions; do
47097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47098 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47107 WINDRES
=$ac_cv_prog_WINDRES
47108 if test -n "$WINDRES"; then
47109 echo "$as_me:$LINENO: result: $WINDRES" >&5
47110 echo "${ECHO_T}$WINDRES" >&6
47112 echo "$as_me:$LINENO: result: no" >&5
47113 echo "${ECHO_T}no" >&6
47117 if test -z "$ac_cv_prog_WINDRES"; then
47118 ac_ct_WINDRES
=$WINDRES
47119 # Extract the first word of "windres", so it can be a program name with args.
47120 set dummy windres
; ac_word
=$2
47121 echo "$as_me:$LINENO: checking for $ac_word" >&5
47122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47123 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47124 echo $ECHO_N "(cached) $ECHO_C" >&6
47126 if test -n "$ac_ct_WINDRES"; then
47127 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47130 for as_dir
in $PATH
47133 test -z "$as_dir" && as_dir
=.
47134 for ac_exec_ext
in '' $ac_executable_extensions; do
47135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47136 ac_cv_prog_ac_ct_WINDRES
="windres"
47137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47145 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47146 if test -n "$ac_ct_WINDRES"; then
47147 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47148 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47150 echo "$as_me:$LINENO: result: no" >&5
47151 echo "${ECHO_T}no" >&6
47154 WINDRES
=$ac_ct_WINDRES
47156 WINDRES
="$ac_cv_prog_WINDRES"
47161 *-*-darwin* | powerpc
-apple-macos* )
47162 # Extract the first word of "Rez", so it can be a program name with args.
47163 set dummy Rez
; ac_word
=$2
47164 echo "$as_me:$LINENO: checking for $ac_word" >&5
47165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47166 if test "${ac_cv_prog_REZ+set}" = set; then
47167 echo $ECHO_N "(cached) $ECHO_C" >&6
47169 if test -n "$REZ"; then
47170 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47173 for as_dir
in $PATH
47176 test -z "$as_dir" && as_dir
=.
47177 for ac_exec_ext
in '' $ac_executable_extensions; do
47178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47179 ac_cv_prog_REZ
="Rez"
47180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47186 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47189 REZ
=$ac_cv_prog_REZ
47190 if test -n "$REZ"; then
47191 echo "$as_me:$LINENO: result: $REZ" >&5
47192 echo "${ECHO_T}$REZ" >&6
47194 echo "$as_me:$LINENO: result: no" >&5
47195 echo "${ECHO_T}no" >&6
47198 # Extract the first word of "SetFile", so it can be a program name with args.
47199 set dummy SetFile
; ac_word
=$2
47200 echo "$as_me:$LINENO: checking for $ac_word" >&5
47201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47202 if test "${ac_cv_prog_SETFILE+set}" = set; then
47203 echo $ECHO_N "(cached) $ECHO_C" >&6
47205 if test -n "$SETFILE"; then
47206 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47209 for as_dir
in $PATH
47212 test -z "$as_dir" && as_dir
=.
47213 for ac_exec_ext
in '' $ac_executable_extensions; do
47214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47215 ac_cv_prog_SETFILE
="SetFile"
47216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47222 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47225 SETFILE
=$ac_cv_prog_SETFILE
47226 if test -n "$SETFILE"; then
47227 echo "$as_me:$LINENO: result: $SETFILE" >&5
47228 echo "${ECHO_T}$SETFILE" >&6
47230 echo "$as_me:$LINENO: result: no" >&5
47231 echo "${ECHO_T}no" >&6
47242 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
47245 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
47249 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47250 if test "${enable_precomp_headers+set}" = set; then
47251 enableval
="$enable_precomp_headers"
47252 bk_use_pch
="$enableval"
47257 case ${BAKEFILE_HOST} in
47263 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47264 if test "x$GCC" = "xyes"; then
47265 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47266 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47267 cat >conftest.
$ac_ext <<_ACEOF
47270 cat confdefs.h
>>conftest.
$ac_ext
47271 cat >>conftest.
$ac_ext <<_ACEOF
47272 /* end confdefs.h. */
47278 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47279 #error "no pch support"
47282 #error "no pch support"
47284 #if (__GNUC__ == 3) && \
47285 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47286 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
47287 #error "no pch support"
47294 rm -f conftest.
$ac_objext
47295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47296 (eval $ac_compile) 2>conftest.er1
47298 grep -v '^ *+' conftest.er1
>conftest.err
47300 cat conftest.err
>&5
47301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47302 (exit $ac_status); } &&
47303 { ac_try
='test -z "$ac_c_werror_flag"
47304 || test ! -s conftest.err'
47305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47306 (eval $ac_try) 2>&5
47308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47309 (exit $ac_status); }; } &&
47310 { ac_try
='test -s conftest.$ac_objext'
47311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47312 (eval $ac_try) 2>&5
47314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47315 (exit $ac_status); }; }; then
47317 echo "$as_me:$LINENO: result: yes" >&5
47318 echo "${ECHO_T}yes" >&6
47322 echo "$as_me: failed program was:" >&5
47323 sed 's/^/| /' conftest.
$ac_ext >&5
47326 echo "$as_me:$LINENO: result: no" >&5
47327 echo "${ECHO_T}no" >&6
47330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47331 if test $GCC_PCH = 1 ; then
47334 cat <<EOF >bk-make-pch
47337 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47338 # script. It is used to generated precompiled headers.
47340 # Permission is given to use this file in any way.
47349 while test ${D}{#} -gt 0; do
47352 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47353 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47354 headerfile="${D}{incdir}/${D}{header}"
47358 compiler="${D}{compiler} ${D}{1}"
47362 if test "x${D}{headerfile}" = "x" ; then
47363 echo "error: can't find header ${D}{header} in include paths" >2
47365 if test -f ${D}{outfile} ; then
47366 rm -f ${D}{outfile}
47368 mkdir -p \`dirname ${D}{outfile}\`
47370 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47372 # can do this because gcc is >= 3.4:
47373 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47378 chmod +x bk
-make-pch
47385 COND_BUILD_DEBUG
="#"
47386 if test "x$BUILD" = "xdebug" ; then
47387 COND_BUILD_DEBUG
=""
47390 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47391 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47392 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47395 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47396 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47397 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47400 COND_BUILD_DEBUG_UNICODE_0
="#"
47401 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47402 COND_BUILD_DEBUG_UNICODE_0
=""
47405 COND_BUILD_DEBUG_UNICODE_1
="#"
47406 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47407 COND_BUILD_DEBUG_UNICODE_1
=""
47410 COND_BUILD_RELEASE
="#"
47411 if test "x$BUILD" = "xrelease" ; then
47412 COND_BUILD_RELEASE
=""
47415 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47416 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47417 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47420 COND_BUILD_RELEASE_UNICODE_0
="#"
47421 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47422 COND_BUILD_RELEASE_UNICODE_0
=""
47425 COND_BUILD_RELEASE_UNICODE_1
="#"
47426 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47427 COND_BUILD_RELEASE_UNICODE_1
=""
47430 COND_DEBUG_FLAG_1
="#"
47431 if test "x$DEBUG_FLAG" = "x1" ; then
47432 COND_DEBUG_FLAG_1
=""
47435 COND_DEBUG_INFO_0
="#"
47436 if test "x$DEBUG_INFO" = "x0" ; then
47437 COND_DEBUG_INFO_0
=""
47440 COND_DEBUG_INFO_1
="#"
47441 if test "x$DEBUG_INFO" = "x1" ; then
47442 COND_DEBUG_INFO_1
=""
47445 COND_DEPS_TRACKING_0
="#"
47446 if test "x$DEPS_TRACKING" = "x0" ; then
47447 COND_DEPS_TRACKING_0
=""
47450 COND_DEPS_TRACKING_1
="#"
47451 if test "x$DEPS_TRACKING" = "x1" ; then
47452 COND_DEPS_TRACKING_1
=""
47456 if test "x$GCC_PCH" = "x1" ; then
47460 COND_MONOLITHIC_0
="#"
47461 if test "x$MONOLITHIC" = "x0" ; then
47462 COND_MONOLITHIC_0
=""
47465 COND_MONOLITHIC_0_SHARED_0
="#"
47466 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47467 COND_MONOLITHIC_0_SHARED_0
=""
47470 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47471 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47472 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47475 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47476 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47477 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47481 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47482 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47487 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47490 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47491 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47492 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47495 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47496 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47497 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47500 COND_MONOLITHIC_0_SHARED_1
="#"
47501 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47502 COND_MONOLITHIC_0_SHARED_1
=""
47505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47507 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47512 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47515 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47517 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47520 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47522 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47525 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47527 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47530 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47531 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47532 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47535 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47536 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47537 COND_MONOLITHIC_0_USE_ODBC_1
=""
47540 COND_MONOLITHIC_1
="#"
47541 if test "x$MONOLITHIC" = "x1" ; then
47542 COND_MONOLITHIC_1
=""
47545 COND_MONOLITHIC_1_SHARED_0
="#"
47546 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47547 COND_MONOLITHIC_1_SHARED_0
=""
47550 COND_MONOLITHIC_1_SHARED_1
="#"
47551 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47552 COND_MONOLITHIC_1_SHARED_1
=""
47555 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47556 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47557 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47560 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47561 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47562 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47565 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47566 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47567 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47570 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47571 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47572 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47575 COND_PLATFORM_MACOSX_1
="#"
47576 if test "x$PLATFORM_MACOSX" = "x1" ; then
47577 COND_PLATFORM_MACOSX_1
=""
47580 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47581 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47582 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47585 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47586 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47587 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47590 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47591 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47592 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47595 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47596 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47597 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47600 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47601 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47602 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47605 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47606 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47607 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47610 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47611 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47612 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47615 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47616 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47617 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47620 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47621 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47622 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47625 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47626 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47627 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47630 COND_PLATFORM_MACOS_1
="#"
47631 if test "x$PLATFORM_MACOS" = "x1" ; then
47632 COND_PLATFORM_MACOS_1
=""
47635 COND_PLATFORM_MAC_1
="#"
47636 if test "x$PLATFORM_MAC" = "x1" ; then
47637 COND_PLATFORM_MAC_1
=""
47640 COND_PLATFORM_MSDOS_1
="#"
47641 if test "x$PLATFORM_MSDOS" = "x1" ; then
47642 COND_PLATFORM_MSDOS_1
=""
47645 COND_PLATFORM_OS2_1
="#"
47646 if test "x$PLATFORM_OS2" = "x1" ; then
47647 COND_PLATFORM_OS2_1
=""
47650 COND_PLATFORM_UNIX_0
="#"
47651 if test "x$PLATFORM_UNIX" = "x0" ; then
47652 COND_PLATFORM_UNIX_0
=""
47655 COND_PLATFORM_UNIX_1
="#"
47656 if test "x$PLATFORM_UNIX" = "x1" ; then
47657 COND_PLATFORM_UNIX_1
=""
47660 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47661 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47662 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47665 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
47666 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47667 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
47670 COND_PLATFORM_WIN32_0
="#"
47671 if test "x$PLATFORM_WIN32" = "x0" ; then
47672 COND_PLATFORM_WIN32_0
=""
47675 COND_PLATFORM_WIN32_1
="#"
47676 if test "x$PLATFORM_WIN32" = "x1" ; then
47677 COND_PLATFORM_WIN32_1
=""
47681 if test "x$SHARED" = "x0" ; then
47685 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
47686 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47687 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
47690 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
47691 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47692 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
47695 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
47696 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47697 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
47700 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
47701 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47702 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
47705 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47706 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47707 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47710 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47711 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47712 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47715 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47716 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47717 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47720 COND_SHARED_0_USE_XRC_1
="#"
47721 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47722 COND_SHARED_0_USE_XRC_1
=""
47725 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
47726 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47727 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
47730 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
47731 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47732 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
47735 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
47736 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47737 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
47740 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
47741 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47742 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
47746 if test "x$SHARED" = "x1" ; then
47750 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
47751 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47752 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
47755 COND_SHARED_1_USE_XRC_1
="#"
47756 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47757 COND_SHARED_1_USE_XRC_1
=""
47761 if test "x$TOOLKIT" = "x" ; then
47765 COND_TOOLKIT_COCOA
="#"
47766 if test "x$TOOLKIT" = "xCOCOA" ; then
47767 COND_TOOLKIT_COCOA
=""
47770 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
47771 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47772 COND_TOOLKIT_COCOA_USE_GUI_1
=""
47775 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
47776 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47777 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
47780 COND_TOOLKIT_GTK
="#"
47781 if test "x$TOOLKIT" = "xGTK" ; then
47782 COND_TOOLKIT_GTK
=""
47785 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
47786 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47787 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
47790 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
47791 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
47792 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
47795 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
47796 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
47797 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
47800 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
47801 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47802 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
47805 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
47806 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
47807 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
47810 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
47811 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47812 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
47815 COND_TOOLKIT_GTK_USE_GUI_1
="#"
47816 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47817 COND_TOOLKIT_GTK_USE_GUI_1
=""
47820 COND_TOOLKIT_MAC
="#"
47821 if test "x$TOOLKIT" = "xMAC" ; then
47822 COND_TOOLKIT_MAC
=""
47825 COND_TOOLKIT_MAC_USE_GUI_1
="#"
47826 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47827 COND_TOOLKIT_MAC_USE_GUI_1
=""
47830 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47831 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47832 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47835 COND_TOOLKIT_MGL
="#"
47836 if test "x$TOOLKIT" = "xMGL" ; then
47837 COND_TOOLKIT_MGL
=""
47840 COND_TOOLKIT_MGL_USE_GUI_1
="#"
47841 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47842 COND_TOOLKIT_MGL_USE_GUI_1
=""
47845 COND_TOOLKIT_MOTIF
="#"
47846 if test "x$TOOLKIT" = "xMOTIF" ; then
47847 COND_TOOLKIT_MOTIF
=""
47850 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
47851 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47852 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
47855 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
47856 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47857 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
47860 COND_TOOLKIT_MSW
="#"
47861 if test "x$TOOLKIT" = "xMSW" ; then
47862 COND_TOOLKIT_MSW
=""
47865 COND_TOOLKIT_MSW_USE_GUI_1
="#"
47866 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47867 COND_TOOLKIT_MSW_USE_GUI_1
=""
47870 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
47871 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47872 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
47875 COND_TOOLKIT_MSW_WXUNIV_0
="#"
47876 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47877 COND_TOOLKIT_MSW_WXUNIV_0
=""
47880 COND_TOOLKIT_PM
="#"
47881 if test "x$TOOLKIT" = "xPM" ; then
47885 COND_TOOLKIT_PM_USE_GUI_1
="#"
47886 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47887 COND_TOOLKIT_PM_USE_GUI_1
=""
47890 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
47891 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47892 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
47895 COND_TOOLKIT_WINCE
="#"
47896 if test "x$TOOLKIT" = "xWINCE" ; then
47897 COND_TOOLKIT_WINCE
=""
47900 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
47901 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47902 COND_TOOLKIT_WINCE_USE_GUI_1
=""
47905 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
47906 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47907 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
47910 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
47911 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47912 COND_TOOLKIT_WINCE_WXUNIV_0
=""
47915 COND_TOOLKIT_X11
="#"
47916 if test "x$TOOLKIT" = "xX11" ; then
47917 COND_TOOLKIT_X11
=""
47920 COND_TOOLKIT_X11_USE_GUI_1
="#"
47921 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47922 COND_TOOLKIT_X11_USE_GUI_1
=""
47926 if test "x$UNICODE" = "x1" ; then
47930 COND_USE_EXCEPTIONS_0
="#"
47931 if test "x$USE_EXCEPTIONS" = "x0" ; then
47932 COND_USE_EXCEPTIONS_0
=""
47935 COND_USE_EXCEPTIONS_1
="#"
47936 if test "x$USE_EXCEPTIONS" = "x1" ; then
47937 COND_USE_EXCEPTIONS_1
=""
47941 if test "x$USE_GUI" = "x0" ; then
47946 if test "x$USE_GUI" = "x1" ; then
47950 COND_USE_GUI_1_WXUNIV_0
="#"
47951 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47952 COND_USE_GUI_1_WXUNIV_0
=""
47955 COND_USE_GUI_1_WXUNIV_1
="#"
47956 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
47957 COND_USE_GUI_1_WXUNIV_1
=""
47960 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47961 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47962 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47965 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47966 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47967 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47970 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47971 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47972 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47975 COND_USE_ODBC_1
="#"
47976 if test "x$USE_ODBC" = "x1" ; then
47980 COND_USE_OPENGL_1
="#"
47981 if test "x$USE_OPENGL" = "x1" ; then
47982 COND_USE_OPENGL_1
=""
47985 COND_USE_PLUGINS_0
="#"
47986 if test "x$USE_PLUGINS" = "x0" ; then
47987 COND_USE_PLUGINS_0
=""
47990 COND_USE_RTTI_0
="#"
47991 if test "x$USE_RTTI" = "x0" ; then
47995 COND_USE_RTTI_1
="#"
47996 if test "x$USE_RTTI" = "x1" ; then
48000 COND_USE_SOSYMLINKS_1
="#"
48001 if test "x$USE_SOSYMLINKS" = "x1" ; then
48002 COND_USE_SOSYMLINKS_1
=""
48005 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48006 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48007 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48010 COND_USE_SOVERLINUX_1
="#"
48011 if test "x$USE_SOVERLINUX" = "x1" ; then
48012 COND_USE_SOVERLINUX_1
=""
48015 COND_USE_SOVERSION_0
="#"
48016 if test "x$USE_SOVERSION" = "x0" ; then
48017 COND_USE_SOVERSION_0
=""
48020 COND_USE_SOVERSOLARIS_1
="#"
48021 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48022 COND_USE_SOVERSOLARIS_1
=""
48025 COND_USE_THREADS_0
="#"
48026 if test "x$USE_THREADS" = "x0" ; then
48027 COND_USE_THREADS_0
=""
48030 COND_USE_THREADS_1
="#"
48031 if test "x$USE_THREADS" = "x1" ; then
48032 COND_USE_THREADS_1
=""
48036 if test "x$USE_XRC" = "x1" ; then
48040 COND_WINDOWS_IMPLIB_1
="#"
48041 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48042 COND_WINDOWS_IMPLIB_1
=""
48045 COND_WITH_PLUGIN_SDL_1
="#"
48046 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48047 COND_WITH_PLUGIN_SDL_1
=""
48051 if test "x$WXUNIV" = "x0" ; then
48056 if test "x$WXUNIV" = "x1" ; then
48060 COND_WXUSE_EXPAT_BUILTIN
="#"
48061 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48062 COND_WXUSE_EXPAT_BUILTIN
=""
48065 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48066 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48067 COND_WXUSE_LIBJPEG_BUILTIN
=""
48070 COND_WXUSE_LIBPNG_BUILTIN
="#"
48071 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48072 COND_WXUSE_LIBPNG_BUILTIN
=""
48075 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48076 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48077 COND_WXUSE_LIBTIFF_BUILTIN
=""
48080 COND_WXUSE_ODBC_BUILTIN
="#"
48081 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48082 COND_WXUSE_ODBC_BUILTIN
=""
48085 COND_WXUSE_REGEX_BUILTIN
="#"
48086 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48087 COND_WXUSE_REGEX_BUILTIN
=""
48090 COND_WXUSE_ZLIB_BUILTIN
="#"
48091 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48092 COND_WXUSE_ZLIB_BUILTIN
=""
48097 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48098 { { 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
48099 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;}
48100 { (exit 1); exit 1; }; }
48103 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48104 { { 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
48105 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;}
48106 { (exit 1); exit 1; }; }
48111 if test "$wxUSE_MAC" = 1 ; then
48112 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48113 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48119 if test "$wxUSE_SHARED" = "yes"; then
48121 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48122 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48125 *-pc-os2_emx | *-pc-os2-emx )
48126 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48127 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48128 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48129 cp -p ${srcdir}/src
/os
2/dllar.sh .
48134 EXE_LINKER
="$CXX -o"
48137 if test "$wxUSE_OMF" = "yes"; then
48139 *-pc-os2_emx | *-pc-os2-emx )
48140 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48141 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48142 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48147 if test $GCC_PCH = 1 ; then
48148 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48151 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48153 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48215 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48216 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48217 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48218 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48219 echo $ECHO_N "(cached) $ECHO_C" >&6
48221 cat >conftest.
make <<\_ACEOF
48223 @
echo 'ac_maketemp="$(MAKE)"'
48225 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48226 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48227 if test -n "$ac_maketemp"; then
48228 eval ac_cv_prog_make_
${ac_make}_set
=yes
48230 eval ac_cv_prog_make_
${ac_make}_set
=no
48232 rm -f conftest.
make
48234 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48235 echo "$as_me:$LINENO: result: yes" >&5
48236 echo "${ECHO_T}yes" >&6
48239 echo "$as_me:$LINENO: result: no" >&5
48240 echo "${ECHO_T}no" >&6
48241 SET_MAKE
="MAKE=${MAKE-make}"
48246 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48249 if test "$USE_WIN32" = 1; then
48250 ac_config_commands
="$ac_config_commands
48256 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48259 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48262 ac_config_files
="$ac_config_files version-script Makefile"
48265 ac_config_commands
="$ac_config_commands wx-config"
48269 if test "$wxWITH_SUBDIRS" != "no"; then
48270 if test "$wxUSE_GUI" = "yes"; then
48271 SUBDIRS
="samples demos utils contrib"
48272 else SUBDIRS
="samples utils"
48277 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48278 if test "${with_cppunit_prefix+set}" = set; then
48279 withval
="$with_cppunit_prefix"
48280 cppunit_config_prefix
="$withval"
48282 cppunit_config_prefix
=""
48285 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48286 if test "${with_cppunit_exec_prefix+set}" = set; then
48287 withval
="$with_cppunit_exec_prefix"
48288 cppunit_config_exec_prefix
="$withval"
48290 cppunit_config_exec_prefix
=""
48293 if test x
$cppunit_config_exec_prefix != x
; then
48294 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48295 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48296 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48299 if test x
$cppunit_config_prefix != x
; then
48300 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48301 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48302 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48306 # Extract the first word of "cppunit-config", so it can be a program name with args.
48307 set dummy cppunit
-config; ac_word
=$2
48308 echo "$as_me:$LINENO: checking for $ac_word" >&5
48309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48310 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48311 echo $ECHO_N "(cached) $ECHO_C" >&6
48313 case $CPPUNIT_CONFIG in
48315 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48319 for as_dir
in $PATH
48322 test -z "$as_dir" && as_dir
=.
48323 for ac_exec_ext
in '' $ac_executable_extensions; do
48324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48325 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48332 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48336 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48338 if test -n "$CPPUNIT_CONFIG"; then
48339 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48340 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48342 echo "$as_me:$LINENO: result: no" >&5
48343 echo "${ECHO_T}no" >&6
48346 cppunit_version_min
=1.8.0
48348 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48349 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48351 if test "$CPPUNIT_CONFIG" = "no" ; then
48354 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48355 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48356 cppunit_version
=`$CPPUNIT_CONFIG --version`
48358 cppunit_major_version
=`echo $cppunit_version | \
48359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48360 cppunit_minor_version
=`echo $cppunit_version | \
48361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48362 cppunit_micro_version
=`echo $cppunit_version | \
48363 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48365 cppunit_major_min
=`echo $cppunit_version_min | \
48366 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48367 cppunit_minor_min
=`echo $cppunit_version_min | \
48368 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48369 cppunit_micro_min
=`echo $cppunit_version_min | \
48370 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48372 cppunit_version_proper
=`expr \
48373 $cppunit_major_version \> $cppunit_major_min \| \
48374 $cppunit_major_version \= $cppunit_major_min \& \
48375 $cppunit_minor_version \> $cppunit_minor_min \| \
48376 $cppunit_major_version \= $cppunit_major_min \& \
48377 $cppunit_minor_version \= $cppunit_minor_min \& \
48378 $cppunit_micro_version \>= $cppunit_micro_min `
48380 if test "$cppunit_version_proper" = "1" ; then
48381 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48382 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48384 echo "$as_me:$LINENO: result: no" >&5
48385 echo "${ECHO_T}no" >&6
48390 if test "x$no_cppunit" = x
; then
48391 SUBDIRS
="$SUBDIRS tests"
48402 for subdir
in `echo $SUBDIRS`; do
48403 if test -d ${srcdir}/${subdir} ; then
48404 if test "$wxUSE_GUI" = "yes"; then
48405 if test ${subdir} = "samples"; then
48406 makefiles
="samples/Makefile.in $makefiles"
48407 for sample
in `echo $SAMPLES_SUBDIRS`; do
48408 if test -d $srcdir/samples
/$sample; then
48409 makefiles
="samples/$sample/Makefile.in $makefiles"
48413 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48414 eval "disabled=\$$disabled_var"
48415 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48416 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48418 else if test ${subdir} = "samples"; then
48419 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48420 elif test ${subdir} = "utils"; then
48422 for util
in HelpGen tex2rtf
; do
48423 if test -d $srcdir/utils
/$util ; then
48424 makefiles
="utils/$util/Makefile.in \
48425 utils/$util/src/Makefile.in \
48429 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48433 for mkin
in $makefiles ; do
48434 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48435 ac_config_files
="$ac_config_files $mk"
48441 cat >confcache
<<\_ACEOF
48442 # This file is a shell script that caches the results of configure
48443 # tests run on this system so they can be shared between configure
48444 # scripts and configure runs, see configure's option --config-cache.
48445 # It is not useful on other systems. If it contains results you don't
48446 # want to keep, you may remove or edit it.
48448 # config.status only pays attention to the cache file if you give it
48449 # the --recheck option to rerun configure.
48451 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48452 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48453 # following values.
48457 # The following way of writing the cache mishandles newlines in values,
48458 # but we know of no workaround that is simple, portable, and efficient.
48459 # So, don't put newlines in cache variables' values.
48460 # Ultrix sh set writes to stderr and can't be redirected directly,
48461 # and sets the high bit in the cache file unless we assign to the vars.
48464 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48466 # `set' does not quote correctly, so add quotes (double-quote
48467 # substitution turns \\\\ into \\, and sed turns \\ into \).
48470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48473 # `set' quotes correctly as required by POSIX, so do not add quotes.
48475 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48482 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48484 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48486 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48487 if test -w $cache_file; then
48488 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48489 cat confcache
>$cache_file
48491 echo "not updating unwritable cache $cache_file"
48496 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48497 # Let make expand exec_prefix.
48498 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48500 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48501 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48502 # trailing colons and then remove the whole line if VPATH becomes empty
48503 # (actually we leave an empty line to preserve line numbers).
48504 if test "x$srcdir" = x.
; then
48505 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48506 s/:*\$(srcdir):*/:/;
48507 s/:*\${srcdir}:*/:/;
48509 s/^\([^=]*=[ ]*\):*/\1/;
48515 DEFS
=-DHAVE_CONFIG_H
48519 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48520 # 1. Remove the extension, and $U if already installed.
48521 ac_i
=`echo "$ac_i" |
48522 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48524 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48525 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48527 LIBOBJS
=$ac_libobjs
48529 LTLIBOBJS
=$ac_ltlibobjs
48533 : ${CONFIG_STATUS=./config.status}
48534 ac_clean_files_save
=$ac_clean_files
48535 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48536 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48537 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48538 cat >$CONFIG_STATUS <<_ACEOF
48540 # Generated by $as_me.
48541 # Run this file to recreate the current configuration.
48542 # Compiler output produced by configure, useful for debugging
48543 # configure, is in config.log if it exists.
48546 ac_cs_recheck=false
48548 SHELL=\${CONFIG_SHELL-$SHELL}
48551 cat >>$CONFIG_STATUS <<\_ACEOF
48552 ## --------------------- ##
48553 ## M4sh Initialization. ##
48554 ## --------------------- ##
48556 # Be Bourne compatible
48557 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48560 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48561 # is contrary to our usage. Disable this feature.
48562 alias -g '${1+"$@"}'='"$@"'
48563 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48566 DUALCASE
=1; export DUALCASE
# for MKS sh
48568 # Support unset when possible.
48569 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48576 # Work around bugs in pre-3.0 UWIN ksh.
48577 $as_unset ENV MAIL MAILPATH
48584 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48585 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48586 LC_TELEPHONE LC_TIME
48588 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48589 eval $as_var=C
; export $as_var
48595 # Required to use basename.
48596 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48602 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48603 as_basename
=basename
48609 # Name of the executable.
48610 as_me
=`$as_basename "$0" ||
48611 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48612 X"$0" : 'X\(//\)$' \| \
48613 X"$0" : 'X\(/\)$' \| \
48614 . : '\(.\)' 2>/dev/null ||
48616 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48617 /^X\/\(\/\/\)$/{ s//\1/; q; }
48618 /^X\/\(\/\).*/{ s//\1/; q; }
48622 # PATH needs CR, and LINENO needs CR and PATH.
48623 # Avoid depending upon Character Ranges.
48624 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48625 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48626 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48627 as_cr_digits
='0123456789'
48628 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48630 # The user is always right.
48631 if test "${PATH_SEPARATOR+set}" != set; then
48632 echo "#! /bin/sh" >conf$$.sh
48633 echo "exit 0" >>conf$$.sh
48635 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48644 as_lineno_1
=$LINENO
48645 as_lineno_2
=$LINENO
48646 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48647 test "x$as_lineno_1" != "x$as_lineno_2" &&
48648 test "x$as_lineno_3" = "x$as_lineno_2" || {
48649 # Find who we are. Look in the path if we contain no path at all
48652 *[\\/]* ) as_myself
=$0 ;;
48653 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48654 for as_dir
in $PATH
48657 test -z "$as_dir" && as_dir
=.
48658 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
48663 # We did not find ourselves, most probably we were run as `sh COMMAND'
48664 # in which case we are not to be found in the path.
48665 if test "x$as_myself" = x
; then
48668 if test ! -f "$as_myself"; then
48669 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48670 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48671 { (exit 1); exit 1; }; }
48673 case $CONFIG_SHELL in
48675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48676 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
48679 test -z "$as_dir" && as_dir
=.
48680 for as_base
in sh bash ksh sh5
; do
48683 if ("$as_dir/$as_base" -c '
48684 as_lineno_1=$LINENO
48685 as_lineno_2=$LINENO
48686 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48687 test "x$as_lineno_1" != "x$as_lineno_2" &&
48688 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
48689 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
48690 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
48691 CONFIG_SHELL
=$as_dir/$as_base
48692 export CONFIG_SHELL
48693 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48701 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48702 # uniformly replaced by the line number. The first 'sed' inserts a
48703 # line-number line before each line; the second 'sed' does the real
48704 # work. The second script uses 'N' to pair each line-number line
48705 # with the numbered line, and appends trailing '-' during
48706 # substitution so that $LINENO is not a special case at line end.
48707 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48708 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48709 sed '=' <$as_myself |
48714 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48717 s,^['$as_cr_digits']*\n,,
48718 ' >$as_me.lineno
&&
48719 chmod +x
$as_me.lineno
||
48720 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48721 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48722 { (exit 1); exit 1; }; }
48724 # Don't try to exec as it changes $[0], causing all sort of problems
48725 # (the dirname of $[0] is not the place where we might find the
48726 # original and so on. Autoconf is especially sensible to this).
48728 # Exit status is that of the last command.
48733 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48734 *c
*,-n*) ECHO_N
= ECHO_C
='
48736 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
48737 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
48740 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48746 rm -f conf$$ conf$$.exe conf$$.
file
48748 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
48749 # We could just check for DJGPP; but this test a) works b) is more generic
48750 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48751 if test -f conf$$.exe
; then
48752 # Don't use ln at all; we don't have any links
48757 elif ln conf$$.
file conf$$
2>/dev
/null
; then
48762 rm -f conf$$ conf$$.exe conf$$.
file
48764 if mkdir -p .
2>/dev
/null
; then
48767 test -d .
/-p && rmdir .
/-p
48771 as_executable_p
="test -f"
48773 # Sed expression to map a string onto a valid CPP name.
48774 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48776 # Sed expression to map a string onto a valid variable name.
48777 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48781 # We need space, tab and new line, in precisely that order.
48791 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48792 # report actual input values of CONFIG_FILES etc. instead of their
48793 # values after options handling. Logging --version etc. is OK.
48797 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48798 ## Running $as_me. ##
48803 This file was extended by wxWidgets $as_me 2.7.0, which was
48804 generated by GNU Autoconf 2.59. Invocation command line was
48806 CONFIG_FILES = $CONFIG_FILES
48807 CONFIG_HEADERS = $CONFIG_HEADERS
48808 CONFIG_LINKS = $CONFIG_LINKS
48809 CONFIG_COMMANDS = $CONFIG_COMMANDS
48813 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48817 # Files that config.status was made for.
48818 if test -n "$ac_config_files"; then
48819 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48822 if test -n "$ac_config_headers"; then
48823 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48826 if test -n "$ac_config_links"; then
48827 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48830 if test -n "$ac_config_commands"; then
48831 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48834 cat >>$CONFIG_STATUS <<\_ACEOF
48837 \`$as_me' instantiates files from templates according to the
48838 current configuration.
48840 Usage: $0 [OPTIONS] [FILE]...
48842 -h, --help print this help, then exit
48843 -V, --version print version number, then exit
48844 -q, --quiet do not print progress messages
48845 -d, --debug don't remove temporary files
48846 --recheck update $as_me by reconfiguring in the same conditions
48847 --file=FILE[:TEMPLATE]
48848 instantiate the configuration file FILE
48849 --header=FILE[:TEMPLATE]
48850 instantiate the configuration header FILE
48852 Configuration files:
48855 Configuration headers:
48858 Configuration commands:
48861 Report bugs to <bug-autoconf@gnu.org>."
48864 cat >>$CONFIG_STATUS <<_ACEOF
48866 wxWidgets config.status 2.7.0
48867 configured by $0, generated by GNU Autoconf 2.59,
48868 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48870 Copyright (C) 2003 Free Software Foundation, Inc.
48871 This config.status script is free software; the Free Software Foundation
48872 gives unlimited permission to copy, distribute and modify it."
48877 cat >>$CONFIG_STATUS <<\_ACEOF
48878 # If no file are specified by the user, then we need to provide default
48879 # value. By we need to know if files were specified by the user.
48885 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
48886 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
48894 *) # This is not an option, so the user has probably given explicit
48897 ac_need_defaults
=false
;;
48901 # Handling of the options.
48903 cat >>$CONFIG_STATUS <<\_ACEOF
48904 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48906 --version | --vers* | -V )
48907 echo "$ac_cs_version"; exit 0 ;;
48909 # Conflict between --help and --header
48910 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48911 Try \`$0 --help' for more information." >&5
48912 echo "$as_me: error: ambiguous option: $1
48913 Try \`$0 --help' for more information." >&2;}
48914 { (exit 1); exit 1; }; };;
48915 --help | --hel | -h )
48916 echo "$ac_cs_usage"; exit 0 ;;
48917 --debug | --d* | -d )
48919 --file | --fil | --fi | --f )
48921 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
48922 ac_need_defaults
=false
;;
48923 --header | --heade | --head | --hea )
48925 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
48926 ac_need_defaults
=false
;;
48927 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48928 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48931 # This is an error.
48932 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48933 Try \`$0 --help' for more information." >&5
48934 echo "$as_me: error: unrecognized option: $1
48935 Try \`$0 --help' for more information." >&2;}
48936 { (exit 1); exit 1; }; } ;;
48938 *) ac_config_targets
="$ac_config_targets $1" ;;
48944 ac_configure_extra_args
=
48946 if $ac_cs_silent; then
48948 ac_configure_extra_args
="$ac_configure_extra_args --silent"
48952 cat >>$CONFIG_STATUS <<_ACEOF
48953 if \$ac_cs_recheck; then
48954 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48955 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48960 cat >>$CONFIG_STATUS <<_ACEOF
48962 # INIT-COMMANDS section.
48967 infile="$srcdir/include/wx/msw/genrcdefs.h"
48968 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
48971 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48972 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48973 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48981 cat >>$CONFIG_STATUS <<\_ACEOF
48982 for ac_config_target
in $ac_config_targets
48984 case "$ac_config_target" in
48985 # Handling of arguments.
48986 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
48987 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
48988 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
48989 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
48990 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
48991 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
48992 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
48993 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
48994 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
48995 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
48996 { (exit 1); exit 1; }; };;
49000 # If the user did not use the arguments to specify the items to instantiate,
49001 # then the envvar interface is used. Set only those that are not.
49002 # We use the long form for the default assignment because of an extremely
49003 # bizarre bug on SunOS 4.1.3.
49004 if $ac_need_defaults; then
49005 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49006 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49007 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49010 # Have a temporary directory for convenience. Make it in the build tree
49011 # simply because there is no reason to put it here, and in addition,
49012 # creating and moving files from /tmp can sometimes cause problems.
49013 # Create a temporary directory, and hook for its removal unless debugging.
49016 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49017 trap '{ (exit 1); exit 1; }' 1 2 13 15
49020 # Create a (secure) tmp directory for tmp files.
49023 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49024 test -n "$tmp" && test -d "$tmp"
49027 tmp
=.
/confstat$$
-$RANDOM
49028 (umask 077 && mkdir $tmp)
49031 echo "$me: cannot create a temporary directory in ." >&2
49032 { (exit 1); exit 1; }
49037 cat >>$CONFIG_STATUS <<_ACEOF
49040 # CONFIG_FILES section.
49043 # No need to generate the scripts if there are no CONFIG_FILES.
49044 # This happens for instance when ./config.status config.h
49045 if test -n "\$CONFIG_FILES"; then
49046 # Protect against being on the right side of a sed subst in config.status.
49047 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49048 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49049 s,@SHELL@,$SHELL,;t t
49050 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49051 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49052 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49053 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49054 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49055 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49056 s,@exec_prefix@,$exec_prefix,;t t
49057 s,@prefix@,$prefix,;t t
49058 s,@program_transform_name@,$program_transform_name,;t t
49059 s,@bindir@,$bindir,;t t
49060 s,@sbindir@,$sbindir,;t t
49061 s,@libexecdir@,$libexecdir,;t t
49062 s,@datadir@,$datadir,;t t
49063 s,@sysconfdir@,$sysconfdir,;t t
49064 s,@sharedstatedir@,$sharedstatedir,;t t
49065 s,@localstatedir@,$localstatedir,;t t
49066 s,@libdir@,$libdir,;t t
49067 s,@includedir@,$includedir,;t t
49068 s,@oldincludedir@,$oldincludedir,;t t
49069 s,@infodir@,$infodir,;t t
49070 s,@mandir@,$mandir,;t t
49071 s,@build_alias@,$build_alias,;t t
49072 s,@host_alias@,$host_alias,;t t
49073 s,@target_alias@,$target_alias,;t t
49074 s,@DEFS@,$DEFS,;t t
49075 s,@ECHO_C@,$ECHO_C,;t t
49076 s,@ECHO_N@,$ECHO_N,;t t
49077 s,@ECHO_T@,$ECHO_T,;t t
49078 s,@LIBS@,$LIBS,;t t
49079 s,@build@,$build,;t t
49080 s,@build_cpu@,$build_cpu,;t t
49081 s,@build_vendor@,$build_vendor,;t t
49082 s,@build_os@,$build_os,;t t
49083 s,@host@,$host,;t t
49084 s,@host_cpu@,$host_cpu,;t t
49085 s,@host_vendor@,$host_vendor,;t t
49086 s,@host_os@,$host_os,;t t
49087 s,@target@,$target,;t t
49088 s,@target_cpu@,$target_cpu,;t t
49089 s,@target_vendor@,$target_vendor,;t t
49090 s,@target_os@,$target_os,;t t
49092 s,@CFLAGS@,$CFLAGS,;t t
49093 s,@LDFLAGS@,$LDFLAGS,;t t
49094 s,@CPPFLAGS@,$CPPFLAGS,;t t
49095 s,@ac_ct_CC@,$ac_ct_CC,;t t
49096 s,@EXEEXT@,$EXEEXT,;t t
49097 s,@OBJEXT@,$OBJEXT,;t t
49099 s,@EGREP@,$EGREP,;t t
49101 s,@CXXFLAGS@,$CXXFLAGS,;t t
49102 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49103 s,@RANLIB@,$RANLIB,;t t
49104 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49106 s,@ac_ct_AR@,$ac_ct_AR,;t t
49107 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49108 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49109 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49110 s,@STRIP@,$STRIP,;t t
49111 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49112 s,@WINDRES@,$WINDRES,;t t
49113 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49114 s,@DLLTOOL@,$DLLTOOL,;t t
49115 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49116 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49117 s,@LN_S@,$LN_S,;t t
49118 s,@CXXCPP@,$CXXCPP,;t t
49119 s,@subdirs@,$subdirs,;t t
49120 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49121 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49122 s,@GTK_LIBS@,$GTK_LIBS,;t t
49123 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49124 s,@X_CFLAGS@,$X_CFLAGS,;t t
49125 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49126 s,@X_LIBS@,$X_LIBS,;t t
49127 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49128 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49129 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49130 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49131 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49132 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49133 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49135 s,@DEREZ@,$DEREZ,;t t
49136 s,@SETFILE@,$SETFILE,;t t
49137 s,@LIBICONV@,$LIBICONV,;t t
49138 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49139 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49140 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49141 s,@SDL_LIBS@,$SDL_LIBS,;t t
49142 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49143 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49144 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49145 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49146 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
49147 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
49148 s,@GST_INSPECT@,$GST_INSPECT,;t t
49149 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49150 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49151 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49152 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49153 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49154 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49155 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49156 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49157 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49158 s,@VENDOR@,$VENDOR,;t t
49159 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49160 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49161 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49162 s,@WXUNIV@,$WXUNIV,;t t
49163 s,@MONOLITHIC@,$MONOLITHIC,;t t
49164 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49165 s,@EXTRALIBS@,$EXTRALIBS,;t t
49166 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49167 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49168 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49169 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49170 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49171 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49172 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49173 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49174 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49175 s,@UNICODE@,$UNICODE,;t t
49176 s,@BUILD@,$BUILD,;t t
49177 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49178 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49179 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49180 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49181 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49182 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49183 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49184 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49185 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49186 s,@SET_MAKE@,$SET_MAKE,;t t
49187 s,@MAKE_SET@,$MAKE_SET,;t t
49189 s,@ac_ct_NM@,$ac_ct_NM,;t t
49190 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49191 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49192 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49193 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49194 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49195 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49196 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49197 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49198 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49199 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49200 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49201 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49202 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49203 s,@LIBPREFIX@,$LIBPREFIX,;t t
49204 s,@LIBEXT@,$LIBEXT,;t t
49205 s,@DLLPREFIX@,$DLLPREFIX,;t t
49206 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49207 s,@dlldir@,$dlldir,;t t
49208 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49209 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49210 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49211 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49212 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49213 s,@PIC_FLAG@,$PIC_FLAG,;t t
49214 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49215 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49216 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49217 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49218 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49219 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49220 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49221 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49222 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49223 s,@GCC_PCH@,$GCC_PCH,;t t
49224 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49225 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49226 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49227 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49228 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49229 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49230 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49231 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49232 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49233 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49234 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49235 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49236 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49237 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49238 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49239 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49240 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49241 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49242 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
49243 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
49244 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
49245 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49246 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49247 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49248 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49249 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
49250 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
49251 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
49252 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49253 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49254 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49255 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49256 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49257 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49258 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49259 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49260 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49261 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49262 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49263 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49264 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49265 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49266 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49267 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49268 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
49269 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49270 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49271 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49272 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49273 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49274 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49275 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49276 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49277 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49278 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49279 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49280 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49281 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49282 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49283 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49284 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49285 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49286 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49287 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49288 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49289 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49290 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49291 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49292 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49293 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49294 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49295 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49296 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49297 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49298 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49299 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49300 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49301 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49302 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49303 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49304 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49305 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49306 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49307 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
49308 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49309 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49310 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49311 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49312 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49313 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49314 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49315 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49316 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49317 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49318 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49319 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49320 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49321 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49322 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49323 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49324 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49325 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49326 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49327 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49328 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49329 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49330 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49331 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49332 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49333 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49334 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49335 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49336 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49337 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49338 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49339 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49340 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49341 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49342 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49343 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49344 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49345 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49346 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49347 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49348 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49349 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49350 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49351 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49352 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49353 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49354 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49355 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49356 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49357 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49358 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49359 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49360 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49361 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49362 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49363 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49364 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49365 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49366 s,@SHARED@,$SHARED,;t t
49367 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49368 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49369 s,@USE_GUI@,$USE_GUI,;t t
49370 s,@AFMINSTALL@,$AFMINSTALL,;t t
49371 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49372 s,@TOOLKIT@,$TOOLKIT,;t t
49373 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49374 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49375 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49376 s,@cross_compiling@,$cross_compiling,;t t
49377 s,@WIDGET_SET@,$WIDGET_SET,;t t
49378 s,@WX_RELEASE@,$WX_RELEASE,;t t
49379 s,@WX_VERSION@,$WX_VERSION,;t t
49380 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49381 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49382 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49383 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49384 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49385 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49386 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49387 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49388 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49389 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49390 s,@EXE_LINKER@,$EXE_LINKER,;t t
49391 s,@GUIDIST@,$GUIDIST,;t t
49392 s,@DISTDIR@,$DISTDIR,;t t
49393 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49394 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49395 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49396 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49397 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49398 s,@RESCOMP@,$RESCOMP,;t t
49399 s,@RESFLAGS@,$RESFLAGS,;t t
49400 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49401 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49402 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49403 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49404 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49405 s,@MACSETFILE@,$MACSETFILE,;t t
49407 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49408 s,@LIBOBJS@,$LIBOBJS,;t t
49409 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49414 cat >>$CONFIG_STATUS <<\_ACEOF
49415 # Split the substitutions into bite-sized pieces for seds with
49416 # small command number limits, like on Digital OSF/1 and HP-UX.
49417 ac_max_sed_lines
=48
49418 ac_sed_frag
=1 # Number of current file.
49419 ac_beg
=1 # First line for current file.
49420 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49423 while $ac_more_lines; do
49424 if test $ac_beg -gt 1; then
49425 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49427 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49429 if test ! -s $tmp/subs.frag
; then
49430 ac_more_lines
=false
49432 # The purpose of the label and of the branching condition is to
49433 # speed up the sed processing (if there are no `@' at all, there
49434 # is no need to browse any of the substitutions).
49435 # These are the two extra sed commands mentioned above.
49437 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49438 if test -z "$ac_sed_cmds"; then
49439 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49441 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49443 ac_sed_frag
=`expr $ac_sed_frag + 1`
49445 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49448 if test -z "$ac_sed_cmds"; then
49451 fi # test -n "$CONFIG_FILES"
49454 cat >>$CONFIG_STATUS <<\_ACEOF
49455 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49456 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49458 - | *:- | *:-:* ) # input from stdin
49460 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49461 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49462 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49463 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49464 * ) ac_file_in
=$ac_file.
in ;;
49467 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49468 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49469 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49470 X"$ac_file" : 'X\(//\)[^/]' \| \
49471 X"$ac_file" : 'X\(//\)$' \| \
49472 X"$ac_file" : 'X\(/\)' \| \
49473 . : '\(.\)' 2>/dev/null ||
49475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49477 /^X\(\/\/\)$/{ s//\1/; q; }
49478 /^X\(\/\).*/{ s//\1/; q; }
49480 { if $as_mkdir_p; then
49485 while test ! -d "$as_dir"; do
49486 as_dirs
="$as_dir $as_dirs"
49487 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49488 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49489 X"$as_dir" : 'X\(//\)[^/]' \| \
49490 X"$as_dir" : 'X\(//\)$' \| \
49491 X"$as_dir" : 'X\(/\)' \| \
49492 . : '\(.\)' 2>/dev/null ||
49494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49495 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49496 /^X\(\/\/\)$/{ s//\1/; q; }
49497 /^X\(\/\).*/{ s//\1/; q; }
49500 test ! -n "$as_dirs" || mkdir $as_dirs
49501 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49502 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49503 { (exit 1); exit 1; }; }; }
49507 if test "$ac_dir" != .
; then
49508 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49509 # A "../" for each directory in $ac_dir_suffix.
49510 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49512 ac_dir_suffix
= ac_top_builddir
=
49516 .
) # No --srcdir option. We are building in place.
49518 if test -z "$ac_top_builddir"; then
49521 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49523 [\\/]* | ?
:[\\/]* ) # Absolute path.
49524 ac_srcdir
=$srcdir$ac_dir_suffix;
49525 ac_top_srcdir
=$srcdir ;;
49526 *) # Relative path.
49527 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49528 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49531 # Do not use `cd foo && pwd` to compute absolute paths, because
49532 # the directories may not exist.
49534 .
) ac_abs_builddir
="$ac_dir";;
49537 .
) ac_abs_builddir
=`pwd`;;
49538 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49539 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49542 case $ac_abs_builddir in
49543 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49545 case ${ac_top_builddir}.
in
49546 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49547 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49548 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49551 case $ac_abs_builddir in
49552 .
) ac_abs_srcdir
=$ac_srcdir;;
49555 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49556 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49557 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49560 case $ac_abs_builddir in
49561 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49563 case $ac_top_srcdir in
49564 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49565 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49566 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49572 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49573 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49576 if test x
"$ac_file" != x
-; then
49577 { echo "$as_me:$LINENO: creating $ac_file" >&5
49578 echo "$as_me: creating $ac_file" >&6;}
49581 # Let's still pretend it is `configure' which instantiates (i.e., don't
49582 # use $as_me), people would be surprised to read:
49583 # /* config.h. Generated by config.status. */
49584 if test x
"$ac_file" = x
-; then
49587 configure_input
="$ac_file. "
49589 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49590 sed 's,.*/,,'` by configure."
49592 # First look for the input files in the build tree, otherwise in the
49594 ac_file_inputs
=`IFS=:
49595 for f in $ac_file_in; do
49597 -) echo $tmp/stdin ;;
49599 # Absolute (can't be DOS-style, as IFS=:)
49600 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49601 echo "$as_me: error: cannot find input file: $f" >&2;}
49602 { (exit 1); exit 1; }; }
49605 if test -f "$f"; then
49608 elif test -f "$srcdir/$f"; then
49613 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49614 echo "$as_me: error: cannot find input file: $f" >&2;}
49615 { (exit 1); exit 1; }; }
49618 done` || { (exit 1); exit 1; }
49620 cat >>$CONFIG_STATUS <<_ACEOF
49624 cat >>$CONFIG_STATUS <<\_ACEOF
49626 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49627 s
,@configure_input@
,$configure_input,;t t
49628 s
,@srcdir@
,$ac_srcdir,;t t
49629 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49630 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49631 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49632 s
,@builddir@
,$ac_builddir,;t t
49633 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49634 s
,@top_builddir@
,$ac_top_builddir,;t t
49635 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49636 s
,@INSTALL@
,$ac_INSTALL,;t t
49637 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49639 if test x"$ac_file" != x-; then
49640 mv $tmp/out $ac_file
49646 # Run the commands associated with the file.
49648 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49649 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49653 cat >>$CONFIG_STATUS <<\_ACEOF
49656 # CONFIG_HEADER section.
49659 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
49660 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49662 # ac_d sets the value in "#define NAME VALUE" lines.
49663 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49664 ac_dB
='[ ].*$,\1#\2'
49667 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49668 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49669 ac_uB
='$,\1#\2define\3'
49673 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
49674 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49676 - | *:- | *:-:* ) # input from stdin
49678 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49679 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49680 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49681 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49682 * ) ac_file_in
=$ac_file.
in ;;
49685 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49686 echo "$as_me: creating $ac_file" >&6;}
49688 # First look for the input files in the build tree, otherwise in the
49690 ac_file_inputs
=`IFS=:
49691 for f in $ac_file_in; do
49693 -) echo $tmp/stdin ;;
49695 # Absolute (can't be DOS-style, as IFS=:)
49696 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49697 echo "$as_me: error: cannot find input file: $f" >&2;}
49698 { (exit 1); exit 1; }; }
49699 # Do quote $f, to prevent DOS paths from being IFS'd.
49702 if test -f "$f"; then
49705 elif test -f "$srcdir/$f"; then
49710 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49711 echo "$as_me: error: cannot find input file: $f" >&2;}
49712 { (exit 1); exit 1; }; }
49715 done` || { (exit 1); exit 1; }
49716 # Remove the trailing spaces.
49717 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49721 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49722 # `conftest.undefs', that substitutes the proper values into
49723 # config.h.in to produce config.h. The first handles `#define'
49724 # templates, and the second `#undef' templates.
49725 # And first: Protect against being on the right side of a sed subst in
49726 # config.status. Protect against being in an unquoted here document
49727 # in config.status.
49728 rm -f conftest.defines conftest.undefs
49729 # Using a here document instead of a string reduces the quoting nightmare.
49730 # Putting comments in sed scripts is not portable.
49732 # `end' is used to avoid that the second main sed command (meant for
49733 # 0-ary CPP macros) applies to n-ary macro definitions.
49734 # See the Autoconf documentation for `clear'.
49735 cat >confdef2sed.
sed <<\_ACEOF
49740 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49742 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49745 # If some macros were called several times there might be several times
49746 # the same #defines, which is useless. Nevertheless, we may not want to
49747 # sort them, since we want the *last* AC-DEFINE to be honored.
49748 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49749 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49750 rm -f confdef2sed.sed
49752 # This sed command replaces #undef with comments. This is necessary, for
49753 # example, in the case of _POSIX_SOURCE, which is predefined and required
49754 # on some systems where configure will not decide to define it.
49755 cat >>conftest.undefs <<\_ACEOF
49756 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49759 # Break up conftest.defines because some shells have a limit on the size
49760 # of here documents, and old seds have small limits too (100 cmds).
49761 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49762 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49763 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49764 echo ' :' >>$CONFIG_STATUS
49765 rm -f conftest.tail
49766 while grep . conftest.defines >/dev/null
49768 # Write a limited-size here document to $tmp/defines.sed.
49769 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49770 # Speed up: don't consider the non `#define' lines.
49771 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49772 # Work around the forget-to-reset-the-flag bug.
49773 echo 't clr' >>$CONFIG_STATUS
49774 echo ': clr' >>$CONFIG_STATUS
49775 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
49777 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49779 mv $tmp/out $tmp/in
49781 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
49782 rm -f conftest.defines
49783 mv conftest.
tail conftest.defines
49785 rm -f conftest.defines
49786 echo ' fi # grep' >>$CONFIG_STATUS
49787 echo >>$CONFIG_STATUS
49789 # Break up conftest.undefs because some shells have a limit on the size
49790 # of here documents, and old seds have small limits too (100 cmds).
49791 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49792 rm -f conftest.
tail
49793 while grep . conftest.undefs
>/dev
/null
49795 # Write a limited-size here document to $tmp/undefs.sed.
49796 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49797 # Speed up: don't consider the non
`#undef'
49798 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49799 # Work around the forget-to-reset-the-flag bug.
49800 echo 't clr' >>$CONFIG_STATUS
49801 echo ': clr' >>$CONFIG_STATUS
49802 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49804 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49806 mv $tmp/out $tmp/in
49808 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49809 rm -f conftest.undefs
49810 mv conftest.tail conftest.undefs
49812 rm -f conftest.undefs
49814 cat >>$CONFIG_STATUS <<\_ACEOF
49815 # Let's still pretend it is `configure
' which instantiates (i.e., don't
49816 # use $as_me), people would be surprised to read:
49817 # /* config.h. Generated by config.status. */
49818 if test x
"$ac_file" = x
-; then
49819 echo "/* Generated by configure. */" >$tmp/config.h
49821 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49823 cat $tmp/in >>$tmp/config.h
49825 if test x
"$ac_file" != x
-; then
49826 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
49827 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49828 echo "$as_me: $ac_file is unchanged" >&6;}
49830 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49831 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49832 X"$ac_file" : 'X\(//\)[^/]' \| \
49833 X"$ac_file" : 'X\(//\)$' \| \
49834 X"$ac_file" : 'X\(/\)' \| \
49835 . : '\(.\)' 2>/dev/null ||
49837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49838 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49839 /^X\(\/\/\)$/{ s//\1/; q; }
49840 /^X\(\/\).*/{ s//\1/; q; }
49842 { if $as_mkdir_p; then
49847 while test ! -d "$as_dir"; do
49848 as_dirs
="$as_dir $as_dirs"
49849 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49851 X"$as_dir" : 'X\(//\)[^/]' \| \
49852 X"$as_dir" : 'X\(//\)$' \| \
49853 X"$as_dir" : 'X\(/\)' \| \
49854 . : '\(.\)' 2>/dev/null ||
49856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49857 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49858 /^X\(\/\/\)$/{ s//\1/; q; }
49859 /^X\(\/\).*/{ s//\1/; q; }
49862 test ! -n "$as_dirs" || mkdir $as_dirs
49863 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49864 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49865 { (exit 1); exit 1; }; }; }
49868 mv $tmp/config.h
$ac_file
49872 rm -f $tmp/config.h
49876 cat >>$CONFIG_STATUS <<\_ACEOF
49879 # CONFIG_COMMANDS section.
49881 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
49882 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
49883 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49884 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
49885 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49886 X"$ac_dest" : 'X\(//\)[^/]' \| \
49887 X"$ac_dest" : 'X\(//\)$' \| \
49888 X"$ac_dest" : 'X\(/\)' \| \
49889 . : '\(.\)' 2>/dev/null ||
49891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49893 /^X\(\/\/\)$/{ s//\1/; q; }
49894 /^X\(\/\).*/{ s//\1/; q; }
49896 { if $as_mkdir_p; then
49901 while test ! -d "$as_dir"; do
49902 as_dirs
="$as_dir $as_dirs"
49903 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49904 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49905 X"$as_dir" : 'X\(//\)[^/]' \| \
49906 X"$as_dir" : 'X\(//\)$' \| \
49907 X"$as_dir" : 'X\(/\)' \| \
49908 . : '\(.\)' 2>/dev/null ||
49910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49912 /^X\(\/\/\)$/{ s//\1/; q; }
49913 /^X\(\/\).*/{ s//\1/; q; }
49916 test ! -n "$as_dirs" || mkdir $as_dirs
49917 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49918 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49919 { (exit 1); exit 1; }; }; }
49923 if test "$ac_dir" != .
; then
49924 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49925 # A "../" for each directory in $ac_dir_suffix.
49926 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49928 ac_dir_suffix
= ac_top_builddir
=
49932 .
) # No --srcdir option. We are building in place.
49934 if test -z "$ac_top_builddir"; then
49937 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49939 [\\/]* | ?
:[\\/]* ) # Absolute path.
49940 ac_srcdir
=$srcdir$ac_dir_suffix;
49941 ac_top_srcdir
=$srcdir ;;
49942 *) # Relative path.
49943 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49944 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49947 # Do not use `cd foo && pwd` to compute absolute paths, because
49948 # the directories may not exist.
49950 .
) ac_abs_builddir
="$ac_dir";;
49953 .
) ac_abs_builddir
=`pwd`;;
49954 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49955 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49958 case $ac_abs_builddir in
49959 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49961 case ${ac_top_builddir}.
in
49962 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49963 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49964 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49967 case $ac_abs_builddir in
49968 .
) ac_abs_srcdir
=$ac_srcdir;;
49971 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49972 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49973 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49976 case $ac_abs_builddir in
49977 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49979 case $ac_top_srcdir in
49980 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49981 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49982 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49987 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49988 echo "$as_me: executing $ac_dest commands" >&6;}
49991 mkdir -p $outdir &&
49992 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
49994 wx
-config ) rm -f wx
-config
49995 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50001 cat >>$CONFIG_STATUS <<\_ACEOF
50003 { (exit 0); exit 0; }
50005 chmod +x
$CONFIG_STATUS
50006 ac_clean_files
=$ac_clean_files_save
50009 # configure is writing to config.log, and then calls config.status.
50010 # config.status does its own redirection, appending to config.log.
50011 # Unfortunately, on DOS this fails, as config.log is still kept open
50012 # by configure, so config.status won't be able to write to it; its
50013 # output is simply discarded. So we exec the FD to /dev/null,
50014 # effectively closing config.log, so it can be properly (re)opened and
50015 # appended to by config.status. When coming back to configure, we
50016 # need to make the FD available again.
50017 if test "$no_create" != yes; then
50019 ac_config_status_args
=
50020 test "$silent" = yes &&
50021 ac_config_status_args
="$ac_config_status_args --quiet"
50023 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50025 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50026 # would make configure fail if this is the last instruction.
50027 $ac_cs_success || { (exit 1); exit 1; }
50031 # CONFIG_SUBDIRS section.
50033 if test "$no_recursion" != yes; then
50035 # Remove --cache-file and --srcdir arguments so they do not pile up.
50036 ac_sub_configure_args
=
50038 for ac_arg
in $ac_configure_args; do
50039 if test -n "$ac_prev"; then
50044 -cache-file | --cache-file | --cache-fil | --cache-fi \
50045 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50046 ac_prev
=cache_file
;;
50047 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50048 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50051 --config-cache | -C)
50053 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50055 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50057 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50059 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50061 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50065 # Always prepend --prefix to ensure using the same prefix
50066 # in subdir configurations.
50067 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50070 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50072 # Do not complain, so a configure script can configure whichever
50073 # parts of a large source tree are present.
50074 test -d $srcdir/$ac_dir || continue
50076 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50077 echo "$as_me: configuring in $ac_dir" >&6;}
50078 { if $as_mkdir_p; then
50083 while test ! -d "$as_dir"; do
50084 as_dirs
="$as_dir $as_dirs"
50085 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50086 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50087 X"$as_dir" : 'X\(//\)[^/]' \| \
50088 X"$as_dir" : 'X\(//\)$' \| \
50089 X"$as_dir" : 'X\(/\)' \| \
50090 . : '\(.\)' 2>/dev/null ||
50092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50093 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50094 /^X\(\/\/\)$/{ s//\1/; q; }
50095 /^X\(\/\).*/{ s//\1/; q; }
50098 test ! -n "$as_dirs" || mkdir $as_dirs
50099 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50100 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50101 { (exit 1); exit 1; }; }; }
50105 if test "$ac_dir" != .
; then
50106 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50107 # A "../" for each directory in $ac_dir_suffix.
50108 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50110 ac_dir_suffix
= ac_top_builddir
=
50114 .
) # No --srcdir option. We are building in place.
50116 if test -z "$ac_top_builddir"; then
50119 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50121 [\\/]* | ?
:[\\/]* ) # Absolute path.
50122 ac_srcdir
=$srcdir$ac_dir_suffix;
50123 ac_top_srcdir
=$srcdir ;;
50124 *) # Relative path.
50125 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50126 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50129 # Do not use `cd foo && pwd` to compute absolute paths, because
50130 # the directories may not exist.
50132 .
) ac_abs_builddir
="$ac_dir";;
50135 .
) ac_abs_builddir
=`pwd`;;
50136 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50137 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50140 case $ac_abs_builddir in
50141 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50143 case ${ac_top_builddir}.
in
50144 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50145 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50146 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50149 case $ac_abs_builddir in
50150 .
) ac_abs_srcdir
=$ac_srcdir;;
50153 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50154 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50155 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50158 case $ac_abs_builddir in
50159 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50161 case $ac_top_srcdir in
50162 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50163 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50164 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50171 # Check for guested configure; otherwise get Cygnus style configure.
50172 if test -f $ac_srcdir/configure.gnu
; then
50173 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50174 elif test -f $ac_srcdir/configure
; then
50175 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50176 elif test -f $ac_srcdir/configure.
in; then
50177 ac_sub_configure
=$ac_configure
50179 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50180 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50184 # The recursion is here.
50185 if test -n "$ac_sub_configure"; then
50186 # Make the cache file name correct relative to the subdirectory.
50187 case $cache_file in
50188 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50189 *) # Relative path.
50190 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50193 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50194 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50195 # The eval makes quoting arguments work.
50196 eval $ac_sub_configure $ac_sub_configure_args \
50197 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50198 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50199 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50200 { (exit 1); exit 1; }; }
50209 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50211 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50212 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50214 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50215 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50216 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50218 echo " What level of wxWidgets compatibility should be enabled?"
50219 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50220 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50222 echo " Which libraries should wxWidgets use?"
50223 echo " jpeg ${wxUSE_LIBJPEG-none}"
50224 echo " png ${wxUSE_LIBPNG-none}"
50225 echo " regex ${wxUSE_REGEX}"
50226 echo " tiff ${wxUSE_LIBTIFF-none}"
50227 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50228 echo " xpm ${wxUSE_LIBXPM-none}"
50230 echo " zlib ${wxUSE_ZLIB}"
50231 echo " odbc ${wxUSE_ODBC}"
50232 echo " expat ${wxUSE_EXPAT}"
50233 echo " libmspack ${wxUSE_LIBMSPACK}"
50234 echo " sdl ${wxUSE_LIBSDL}"
50235 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50236 echo " hildon ${wxUSE_LIBHILDON-none}"