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-treectrl use wxTreeCtrl class
1012 --enable-tipwindow use wxTipWindow class
1013 --enable-popupwin use wxPopUpWindow class
1014 --enable-commondlg use all common dialogs
1015 --enable-choicedlg use wxChoiceDialog
1016 --enable-coldlg use wxColourDialog
1017 --enable-filedlg use wxFileDialog
1018 --enable-finddlg use wxFindReplaceDialog
1019 --enable-fontdlg use wxFontDialog
1020 --enable-dirdlg use wxDirDialog
1021 --enable-msgdlg use wxMessageDialog
1022 --enable-numberdlg use wxNumberEntryDialog
1023 --enable-splash use wxSplashScreen
1024 --enable-textdlg use wxTextDialog
1025 --enable-tipdlg use startup tips
1026 --enable-progressdlg use wxProgressDialog
1027 --enable-wizarddlg use wxWizard
1028 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1029 --enable-miniframe use wxMiniFrame class
1030 --enable-tooltips use wxToolTip class
1031 --enable-splines use spline drawing code
1032 --enable-mousewheel use mousewheel
1033 --enable-validators use wxValidator and derived classes
1034 --enable-busyinfo use wxBusyInfo
1035 --enable-joystick use wxJoystick
1036 --enable-metafiles use wxMetaFile
(Win32 only
)
1037 --enable-dragimage use wxDragImage
1038 --enable-accessibility enable accessibility support
1039 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1040 --enable-palette use wxPalette class
1041 --enable-image use wxImage class
1042 --enable-gif use gif images
(GIF
file format
)
1043 --enable-pcx use pcx images
(PCX
file format
)
1044 --enable-iff use iff images
(IFF
file format
)
1045 --enable-pnm use pnm images
(PNM
file format
)
1046 --enable-xpm use xpm images
(XPM
file format
)
1047 --enable-icocur use Windows ICO and CUR formats
1048 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1049 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1050 --disable-largefile omit support
for large files
1051 --disable-gtktest do not try to compile and run a
test GTK
+ program
1052 --disable-gtktest Do not try to compile and run a
test GTK program
1053 --disable-sdltest Do not try to compile and run a
test SDL program
1054 --enable-omf use OMF object format
(OS
/2)
1055 --disable-precomp-headers
1056 don
't use precompiled headers even if compiler can
1059 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1060 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1061 --without-subdirs don't generate makefiles
for samples
/demos
/...
1062 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1063 --with-motif use Motif
/Lesstif
1064 --with-mac use Mac OS X
1065 --with-cocoa use Cocoa
1066 --with-wine use Wine
1067 --with-msw use MS
-Windows
1068 --with-pm use OS
/2 Presentation Manager
1069 --with-mgl use SciTech MGL
1070 --with-microwin use MicroWindows
1072 --with-libpng use libpng
(PNG image format
)
1073 --with-libjpeg use libjpeg
(JPEG
file format
)
1074 --with-libtiff use libtiff
(TIFF
file format
)
1075 --with-libxpm use libxpm
(XPM
file format
)
1076 --with-libmspack use libmspack
(CHM
help files loading
)
1077 --with-sdl use SDL
for audio on Unix
1078 --with-gnomeprint use GNOME print
for printing under Unix
1079 --with-hildon use Hildon framework
for Nokia
770
1080 --with-opengl use OpenGL
(or Mesa
)
1081 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1082 --with-regex enable support
for wxRegEx class
1083 --with-zlib use zlib
for LZW compression
1084 --with-odbc use the IODBC and wxODBC classes
1085 --with-expat enable XML support using expat parser
1086 --with-flavour=NAME specify a name to identify this build
1087 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1088 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1089 --with-x use the X Window System
1090 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1091 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1092 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1093 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1094 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1096 Some influential environment variables
:
1097 CC C compiler
command
1098 CFLAGS C compiler flags
1099 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1100 nonstandard directory
<lib dir
>
1101 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1102 headers
in a nonstandard directory
<include dir
>
1104 CXX C
++ compiler
command
1105 CXXFLAGS C
++ compiler flags
1106 CXXCPP C
++ preprocessor
1108 Use these variables to override the choices made by
`configure' or to help
1109 it to find libraries and programs with nonstandard names/locations.
1111 Report bugs to <wx-dev@lists.wxwidgets.org>.
1115 if test "$ac_init_help" = "recursive"; then
1116 # If there are subdirs, report their specific --help.
1118 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1119 test -d $ac_dir || continue
1122 if test "$ac_dir" != .; then
1123 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1124 # A "../" for each directory in $ac_dir_suffix.
1125 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1127 ac_dir_suffix= ac_top_builddir=
1131 .) # No --srcdir option. We are building in place.
1133 if test -z "$ac_top_builddir"; then
1136 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1138 [\\/]* | ?:[\\/]* ) # Absolute path.
1139 ac_srcdir=$srcdir$ac_dir_suffix;
1140 ac_top_srcdir=$srcdir ;;
1142 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1143 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1146 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1147 # the directories may not exist.
1149 .) ac_abs_builddir="$ac_dir";;
1152 .) ac_abs_builddir=`pwd`;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1154 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1157 case $ac_abs_builddir in
1158 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1160 case ${ac_top_builddir}. in
1161 .) ac_abs_top_builddir=$ac_abs_builddir;;
1162 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1163 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1166 case $ac_abs_builddir in
1167 .) ac_abs_srcdir=$ac_srcdir;;
1170 .) ac_abs_srcdir=$ac_abs_builddir;;
1171 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1172 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1175 case $ac_abs_builddir in
1176 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1178 case $ac_top_srcdir in
1179 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1180 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1181 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1186 # Check for guested configure; otherwise get Cygnus style configure.
1187 if test -f $ac_srcdir/configure.gnu; then
1189 $SHELL $ac_srcdir/configure.gnu --help=recursive
1190 elif test -f $ac_srcdir/configure; then
1192 $SHELL $ac_srcdir/configure --help=recursive
1193 elif test -f $ac_srcdir/configure.ac ||
1194 test -f $ac_srcdir/configure.in; then
1196 $ac_configure --help
1198 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1204 test -n "$ac_init_help" && exit 0
1205 if $ac_init_version; then
1207 wxWidgets configure 2.7.0
1208 generated by GNU Autoconf 2.59
1210 Copyright (C) 2003 Free Software Foundation, Inc.
1211 This configure script is free software; the Free Software Foundation
1212 gives unlimited permission to copy, distribute and modify it.
1218 This file contains any messages produced by compilers while
1219 running configure, to aid debugging if configure makes a mistake.
1221 It was created by wxWidgets $as_me 2.7.0, which was
1222 generated by GNU Autoconf 2.59. Invocation command line was
1233 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1234 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1235 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1236 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1237 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1239 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1240 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1242 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1243 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1244 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1245 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1246 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1247 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1248 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1256 test -z "$as_dir" && as_dir=.
1257 echo "PATH: $as_dir"
1272 # Keep a trace of the command line.
1273 # Strip out --no-create and --no-recursion so they do not pile up.
1274 # Strip out --silent because we don't want to record it for future runs.
1275 # Also quote any args containing shell meta-characters.
1276 # Make two passes to allow for proper duplicate-argument suppression.
1281 ac_must_keep_next=false
1287 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1288 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1289 | -silent | --silent | --silen | --sile | --sil)
1291 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1292 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1295 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1297 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1298 if test $ac_must_keep_next = true; then
1299 ac_must_keep_next=false # Got value, back to normal.
1302 *=* | --config-cache | -C | -disable-* | --disable-* \
1303 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1304 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1305 | -with-* | --with-* | -without-* | --without-* | --x)
1306 case "$ac_configure_args0 " in
1307 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1310 -* ) ac_must_keep_next=true ;;
1313 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1314 # Get rid of the leading space.
1320 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1321 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1323 # When interrupted or exit'd, cleanup temporary files, and complete
1324 # config.log. We remove comments because anyway the quotes in there
1325 # would cause problems or look ugly.
1326 # WARNING: Be sure not to use single quotes in there, as some shells,
1327 # such as our DU 5.0 friend, will then `close
' the trap.
1328 trap 'exit_status
=$?
1329 # Save into config.log some information that might help in debugging.
1334 ## ---------------- ##
1335 ## Cache variables. ##
1336 ## ---------------- ##
1339 # The following way of writing the cache mishandles newlines in values,
1342 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1345 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1350 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1357 ## ----------------- ##
1358 ## Output variables. ##
1359 ## ----------------- ##
1362 for ac_var
in $ac_subst_vars
1364 eval ac_val
=$
`echo $ac_var`
1365 echo "$ac_var='"'"'$ac_val'"'"'"
1369 if test -n "$ac_subst_files"; then
1376 for ac_var
in $ac_subst_files
1378 eval ac_val
=$
`echo $ac_var`
1379 echo "$ac_var='"'"'$ac_val'"'"'"
1384 if test -s confdefs.h
; then
1391 sed "/^$/d" confdefs.h
| sort
1394 test "$ac_signal" != 0 &&
1395 echo "$as_me: caught signal $ac_signal"
1396 echo "$as_me: exit $exit_status"
1398 rm -f core
*.core
&&
1399 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1402 for ac_signal in 1 2 13 15; do
1403 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1407 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1408 rm -rf conftest* confdefs.h
1409 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1412 # Predefined preprocessor variables.
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_NAME "$PACKAGE_NAME"
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1424 cat >>confdefs.h <<_ACEOF
1425 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1429 cat >>confdefs.h <<_ACEOF
1430 #define PACKAGE_STRING "$PACKAGE_STRING"
1434 cat >>confdefs.h <<_ACEOF
1435 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1439 # Let the site file select an alternate cache file if it wants to.
1440 # Prefer explicitly selected file to automatically selected ones.
1441 if test -z "$CONFIG_SITE"; then
1442 if test "x$prefix" != xNONE; then
1443 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1445 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1448 for ac_site_file in $CONFIG_SITE; do
1449 if test -r "$ac_site_file"; then
1450 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1451 echo "$as_me: loading site script $ac_site_file" >&6;}
1452 sed 's
/^
/| /' "$ac_site_file" >&5
1457 if test -r "$cache_file"; then
1458 # Some versions of bash will fail to source /dev/null (special
1459 # files actually), so we avoid doing that.
1460 if test -f "$cache_file"; then
1461 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1462 echo "$as_me: loading cache $cache_file" >&6;}
1464 [\\/]* | ?:[\\/]* ) . $cache_file;;
1465 *) . ./$cache_file;;
1469 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1470 echo "$as_me: creating cache $cache_file" >&6;}
1474 # Check that the precious variables saved in the cache have kept the same
1476 ac_cache_corrupted=false
1477 for ac_var in `(set) 2>&1 |
1478 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1479 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1480 eval ac_new_set=\$ac_env_${ac_var}_set
1481 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1482 eval ac_new_val="\$ac_env_${ac_var}_value"
1483 case $ac_old_set,$ac_new_set in
1485 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1486 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1487 ac_cache_corrupted=: ;;
1489 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1490 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1491 ac_cache_corrupted=: ;;
1494 if test "x$ac_old_val" != "x$ac_new_val"; then
1495 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1496 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1497 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1498 echo "$as_me: former value: $ac_old_val" >&2;}
1499 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1500 echo "$as_me: current value: $ac_new_val" >&2;}
1501 ac_cache_corrupted=:
1504 # Pass precious variables to config.status.
1505 if test "$ac_new_set" = set; then
1507 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1508 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1509 *) ac_arg=$ac_var=$ac_new_val ;;
1511 case " $ac_configure_args " in
1512 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1513 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1517 if $ac_cache_corrupted; then
1518 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1519 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1520 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1521 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1522 { (exit 1); exit 1; }; }
1526 ac_cpp='$CPP $CPPFLAGS'
1527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1528 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1561 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1562 if test -f $ac_dir/install-sh; then
1564 ac_install_sh="$ac_aux_dir/install-sh -c"
1566 elif test -f $ac_dir/install.sh; then
1568 ac_install_sh="$ac_aux_dir/install.sh -c"
1570 elif test -f $ac_dir/shtool; then
1572 ac_install_sh="$ac_aux_dir/shtool install -c"
1576 if test -z "$ac_aux_dir"; then
1577 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1578 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1579 { (exit 1); exit 1; }; }
1581 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1582 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1583 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1585 # Make sure we can run config.sub.
1586 $ac_config_sub sun4 >/dev/null 2>&1 ||
1587 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1588 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1589 { (exit 1); exit 1; }; }
1591 echo "$as_me:$LINENO: checking build system type" >&5
1592 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1593 if test "${ac_cv_build+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 ac_cv_build_alias=$build_alias
1597 test -z "$ac_cv_build_alias" &&
1598 ac_cv_build_alias=`$ac_config_guess`
1599 test -z "$ac_cv_build_alias" &&
1600 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1601 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1602 { (exit 1); exit 1; }; }
1603 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1604 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1605 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1606 { (exit 1); exit 1; }; }
1609 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1610 echo "${ECHO_T}$ac_cv_build" >&6
1612 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1613 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1614 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1617 echo "$as_me:$LINENO: checking host system type" >&5
1618 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1619 if test "${ac_cv_host+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 ac_cv_host_alias=$host_alias
1623 test -z "$ac_cv_host_alias" &&
1624 ac_cv_host_alias=$ac_cv_build_alias
1625 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1626 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1627 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1628 { (exit 1); exit 1; }; }
1631 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1632 echo "${ECHO_T}$ac_cv_host" >&6
1634 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1635 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1636 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1639 echo "$as_me:$LINENO: checking target system type" >&5
1640 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1641 if test "${ac_cv_target+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1644 ac_cv_target_alias=$target_alias
1645 test "x$ac_cv_target_alias" = "x" &&
1646 ac_cv_target_alias=$ac_cv_host_alias
1647 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1648 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1649 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1650 { (exit 1); exit 1; }; }
1653 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1654 echo "${ECHO_T}$ac_cv_target" >&6
1655 target=$ac_cv_target
1656 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1657 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1658 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1661 # The aliases save the names the user supplied, while $host etc.
1662 # will get canonicalized.
1663 test -n "$target_alias" &&
1664 test "$program_prefix$program_suffix$program_transform_name" = \
1666 program_prefix=${target_alias}-
1670 wx_major_version_number=2
1671 wx_minor_version_number=7
1673 wx_subrelease_number=0
1675 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1676 WX_VERSION=$WX_RELEASE.$wx_release_number
1677 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1679 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1692 USE_BSD= USE_DARWIN= USE_FREEBSD=
1698 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1704 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1706 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1708 DEFAULT_wxUSE_COCOA=0
1712 DEFAULT_wxUSE_MICROWIN=0
1713 DEFAULT_wxUSE_MOTIF=0
1718 DEFAULT_DEFAULT_wxUSE_COCOA=0
1719 DEFAULT_DEFAULT_wxUSE_GTK=0
1720 DEFAULT_DEFAULT_wxUSE_MAC=0
1721 DEFAULT_DEFAULT_wxUSE_MGL=0
1722 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1723 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1724 DEFAULT_DEFAULT_wxUSE_MSW=0
1725 DEFAULT_DEFAULT_wxUSE_PM=0
1726 DEFAULT_DEFAULT_wxUSE_X11=0
1731 SAMPLES_RPATH_POSTLINK=
1733 DEFAULT_STD_FLAG=yes
1738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1741 cat >>confdefs.h <<\_ACEOF
1746 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1750 cat >>confdefs.h <<\_ACEOF
1755 if test "x$TMP" = "xalpha"; then
1757 cat >>confdefs.h <<\_ACEOF
1762 DEFAULT_DEFAULT_wxUSE_GTK=1
1764 *-*-gnu* | *-*-k*bsd*-gnu )
1767 if test "x$TMP" = "xalpha"; then
1769 cat >>confdefs.h <<\_ACEOF
1774 DEFAULT_DEFAULT_wxUSE_GTK=1
1776 *-*-irix5* | *-*-irix6* )
1779 cat >>confdefs.h <<\_ACEOF
1783 cat >>confdefs.h <<\_ACEOF
1787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1793 cat >>confdefs.h <<\_ACEOF
1797 cat >>confdefs.h <<\_ACEOF
1798 #define __SOLARIS__ 1
1801 cat >>confdefs.h <<\_ACEOF
1805 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1806 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1812 cat >>confdefs.h <<\_ACEOF
1816 cat >>confdefs.h <<\_ACEOF
1820 cat >>confdefs.h <<\_ACEOF
1824 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1829 cat >>confdefs.h <<\_ACEOF
1830 #define __FREEBSD__ 1
1833 cat >>confdefs.h <<\_ACEOF
1837 DEFAULT_DEFAULT_wxUSE_GTK=1
1842 cat >>confdefs.h <<\_ACEOF
1843 #define __OPENBSD__ 1
1846 cat >>confdefs.h <<\_ACEOF
1850 DEFAULT_DEFAULT_wxUSE_GTK=1
1855 cat >>confdefs.h <<\_ACEOF
1856 #define __NETBSD__ 1
1859 cat >>confdefs.h <<\_ACEOF
1863 DEFAULT_DEFAULT_wxUSE_GTK=1
1864 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1866 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1871 cat >>confdefs.h <<\_ACEOF
1875 cat >>confdefs.h <<\_ACEOF
1879 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1880 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1885 cat >>confdefs.h <<\_ACEOF
1889 cat >>confdefs.h <<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1898 cat >>confdefs.h <<\_ACEOF
1902 cat >>confdefs.h <<\_ACEOF
1906 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1913 cat >>confdefs.h <<\_ACEOF
1917 cat >>confdefs.h <<\_ACEOF
1921 cat >>confdefs.h <<\_ACEOF
1925 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __UNIXWARE__ 1
1938 *-*-cygwin* | *-*-mingw32* )
1941 DEFAULT_DEFAULT_wxUSE_MSW=1
1948 cat >>confdefs.h <<\_ACEOF
1953 DEFAULT_DEFAULT_wxUSE_MGL=1
1956 *-pc-os2_emx | *-pc-os2-emx )
1957 cat >>confdefs.h <<\_ACEOF
1962 cat >>confdefs.h <<\_ACEOF
1967 DEFAULT_DEFAULT_wxUSE_PM=1
1969 LDFLAGS="$LDFLAGS -Zcrtdll"
1970 ac_executable_extensions=".exe"
1971 export ac_executable_extensions
1975 for ac_dir in $PATH; do
1977 if test -z "$ac_TEMP_PATH"; then
1978 ac_TEMP_PATH="$ac_dir"
1980 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1983 export PATH="$ac_TEMP_PATH"
1992 cat >>confdefs.h <<\_ACEOF
1996 cat >>confdefs.h <<\_ACEOF
1997 #define __DARWIN__ 1
2000 cat >>confdefs.h <<\_ACEOF
2001 #define TARGET_CARBON 1
2004 DEFAULT_DEFAULT_wxUSE_MAC=1
2007 powerpc-apple-macos* )
2009 ac_cv_c_bigendian=yes
2011 DEFAULT_DEFAULT_wxUSE_MAC=1
2017 cat >>confdefs.h <<\_ACEOF
2024 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2025 echo "$as_me: error: unknown system type ${host}." >&2;}
2026 { (exit 1); exit 1; }; }
2032 wx_arg_cache_file="configarg.cache"
2033 echo "loading argument cache $wx_arg_cache_file"
2034 rm -f ${wx_arg_cache_file}.tmp
2035 touch ${wx_arg_cache_file}.tmp
2036 touch ${wx_arg_cache_file}
2040 if test $DEBUG_CONFIGURE = 1; then
2041 DEFAULT_wxUSE_UNIVERSAL=no
2042 DEFAULT_wxUSE_STL=no
2044 DEFAULT_wxUSE_NANOX=no
2046 DEFAULT_wxUSE_THREADS=yes
2048 DEFAULT_wxUSE_SHARED=yes
2049 DEFAULT_wxUSE_OPTIMISE=no
2050 DEFAULT_wxUSE_PROFILE=no
2051 DEFAULT_wxUSE_NO_DEPS=no
2052 DEFAULT_wxUSE_NO_RTTI=no
2053 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2054 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2055 DEFAULT_wxUSE_RPATH=yes
2056 DEFAULT_wxUSE_PERMISSIVE=no
2057 DEFAULT_wxUSE_DEBUG_FLAG=yes
2058 DEFAULT_wxUSE_DEBUG_INFO=yes
2059 DEFAULT_wxUSE_DEBUG_GDB=yes
2060 DEFAULT_wxUSE_MEM_TRACING=no
2061 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2062 DEFAULT_wxUSE_DMALLOC=no
2063 DEFAULT_wxUSE_APPLE_IEEE=no
2065 DEFAULT_wxUSE_EXCEPTIONS=no
2066 DEFAULT_wxUSE_LOG=yes
2067 DEFAULT_wxUSE_LOGWINDOW=no
2068 DEFAULT_wxUSE_LOGGUI=no
2069 DEFAULT_wxUSE_LOGDIALOG=no
2071 DEFAULT_wxUSE_GUI=yes
2072 DEFAULT_wxUSE_CONTROLS=no
2074 DEFAULT_wxUSE_REGEX=no
2075 DEFAULT_wxUSE_XML=no
2076 DEFAULT_wxUSE_EXPAT=no
2077 DEFAULT_wxUSE_ZLIB=no
2078 DEFAULT_wxUSE_LIBPNG=no
2079 DEFAULT_wxUSE_LIBJPEG=no
2080 DEFAULT_wxUSE_LIBTIFF=no
2081 DEFAULT_wxUSE_LIBXPM=no
2082 DEFAULT_wxUSE_LIBMSPACK=no
2083 DEFAULT_wxUSE_LIBSDL=no
2084 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2085 DEFAULT_wxUSE_LIBHILDON=no
2086 DEFAULT_wxUSE_ODBC=no
2087 DEFAULT_wxUSE_OPENGL=no
2089 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2090 DEFAULT_wxUSE_STACKWALKER=no
2091 DEFAULT_wxUSE_DEBUGREPORT=no
2092 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2093 DEFAULT_wxUSE_STD_IOSTREAM=no
2094 DEFAULT_wxUSE_STD_STRING=no
2095 DEFAULT_wxUSE_CMDLINE_PARSER=no
2096 DEFAULT_wxUSE_DATETIME=no
2097 DEFAULT_wxUSE_TIMER=no
2098 DEFAULT_wxUSE_STOPWATCH=no
2099 DEFAULT_wxUSE_FILE=no
2100 DEFAULT_wxUSE_FFILE=no
2101 DEFAULT_wxUSE_STDPATHS=no
2102 DEFAULT_wxUSE_TEXTBUFFER=no
2103 DEFAULT_wxUSE_TEXTFILE=no
2104 DEFAULT_wxUSE_SOUND=no
2105 DEFAULT_wxUSE_MEDIACTRL=no
2106 DEFAULT_wxUSE_INTL=no
2107 DEFAULT_wxUSE_CONFIG=no
2108 DEFAULT_wxUSE_FONTMAP=no
2109 DEFAULT_wxUSE_STREAMS=no
2110 DEFAULT_wxUSE_SOCKETS=no
2111 DEFAULT_wxUSE_OLE=no
2112 DEFAULT_wxUSE_DATAOBJ=no
2113 DEFAULT_wxUSE_DIALUP_MANAGER=no
2114 DEFAULT_wxUSE_JOYSTICK=no
2115 DEFAULT_wxUSE_DYNLIB_CLASS=no
2116 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2117 DEFAULT_wxUSE_LONGLONG=no
2118 DEFAULT_wxUSE_GEOMETRY=no
2120 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2121 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2122 DEFAULT_wxUSE_POSTSCRIPT=no
2124 DEFAULT_wxUSE_CLIPBOARD=no
2125 DEFAULT_wxUSE_TOOLTIPS=no
2126 DEFAULT_wxUSE_DRAG_AND_DROP=no
2127 DEFAULT_wxUSE_DRAGIMAGE=no
2128 DEFAULT_wxUSE_SPLINES=no
2129 DEFAULT_wxUSE_MOUSEWHEEL=no
2131 DEFAULT_wxUSE_MDI=no
2132 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2133 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2134 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2136 DEFAULT_wxUSE_RESOURCES=no
2137 DEFAULT_wxUSE_CONSTRAINTS=no
2138 DEFAULT_wxUSE_IPC=no
2139 DEFAULT_wxUSE_HELP=no
2140 DEFAULT_wxUSE_MS_HTML_HELP=no
2141 DEFAULT_wxUSE_WXHTML_HELP=no
2142 DEFAULT_wxUSE_TREELAYOUT=no
2143 DEFAULT_wxUSE_METAFILE=no
2144 DEFAULT_wxUSE_MIMETYPE=no
2145 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2146 DEFAULT_wxUSE_PROTOCOL=no
2147 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2148 DEFAULT_wxUSE_PROTOCOL_FTP=no
2149 DEFAULT_wxUSE_PROTOCOL_FILE=no
2150 DEFAULT_wxUSE_URL=no
2152 DEFAULT_wxUSE_COMMONDLGS=no
2153 DEFAULT_wxUSE_CHOICEDLG=no
2154 DEFAULT_wxUSE_COLOURDLG=no
2155 DEFAULT_wxUSE_DIRDLG=no
2156 DEFAULT_wxUSE_FILEDLG=no
2157 DEFAULT_wxUSE_FINDREPLDLG=no
2158 DEFAULT_wxUSE_FONTDLG=no
2159 DEFAULT_wxUSE_MSGDLG=no
2160 DEFAULT_wxUSE_NUMBERDLG=no
2161 DEFAULT_wxUSE_TEXTDLG=no
2162 DEFAULT_wxUSE_SPLASH=no
2163 DEFAULT_wxUSE_STARTUP_TIPS=no
2164 DEFAULT_wxUSE_PROGRESSDLG=no
2165 DEFAULT_wxUSE_WIZARDDLG=no
2167 DEFAULT_wxUSE_MENUS=no
2168 DEFAULT_wxUSE_MINIFRAME=no
2169 DEFAULT_wxUSE_HTML=no
2170 DEFAULT_wxUSE_RICHTEXT=no
2171 DEFAULT_wxUSE_XRC=no
2172 DEFAULT_wxUSE_WEBKIT=no
2173 DEFAULT_wxUSE_FILESYSTEM=no
2174 DEFAULT_wxUSE_FS_INET=no
2175 DEFAULT_wxUSE_FS_ZIP=no
2176 DEFAULT_wxUSE_BUSYINFO=no
2177 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2178 DEFAULT_wxUSE_ZIPSTREAM=no
2179 DEFAULT_wxUSE_VALIDATORS=no
2181 DEFAULT_wxUSE_ACCEL=no
2182 DEFAULT_wxUSE_BUTTON=no
2183 DEFAULT_wxUSE_BMPBUTTON=no
2184 DEFAULT_wxUSE_CALCTRL=no
2185 DEFAULT_wxUSE_CARET=no
2186 DEFAULT_wxUSE_CHECKBOX=no
2187 DEFAULT_wxUSE_CHECKLST=no
2188 DEFAULT_wxUSE_CHOICE=no
2189 DEFAULT_wxUSE_CHOICEBOOK=no
2190 DEFAULT_wxUSE_COMBOBOX=no
2191 DEFAULT_wxUSE_DATEPICKCTRL=no
2192 DEFAULT_wxUSE_DISPLAY=no
2193 DEFAULT_wxUSE_GAUGE=no
2194 DEFAULT_wxUSE_GRID=no
2195 DEFAULT_wxUSE_DATAVIEWCTRL=no
2196 DEFAULT_wxUSE_IMAGLIST=no
2197 DEFAULT_wxUSE_LISTBOOK=no
2198 DEFAULT_wxUSE_LISTBOX=no
2199 DEFAULT_wxUSE_LISTCTRL=no
2200 DEFAULT_wxUSE_NOTEBOOK=no
2201 DEFAULT_wxUSE_RADIOBOX=no
2202 DEFAULT_wxUSE_RADIOBTN=no
2203 DEFAULT_wxUSE_SASH=no
2204 DEFAULT_wxUSE_SCROLLBAR=no
2205 DEFAULT_wxUSE_SLIDER=no
2206 DEFAULT_wxUSE_SPINBTN=no
2207 DEFAULT_wxUSE_SPINCTRL=no
2208 DEFAULT_wxUSE_SPLITTER=no
2209 DEFAULT_wxUSE_STATBMP=no
2210 DEFAULT_wxUSE_STATBOX=no
2211 DEFAULT_wxUSE_STATLINE=no
2212 DEFAULT_wxUSE_STATTEXT=no
2213 DEFAULT_wxUSE_STATUSBAR=yes
2214 DEFAULT_wxUSE_TABDIALOG=no
2215 DEFAULT_wxUSE_TEXTCTRL=no
2216 DEFAULT_wxUSE_TOGGLEBTN=no
2217 DEFAULT_wxUSE_TOOLBAR=no
2218 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2219 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2220 DEFAULT_wxUSE_TREEBOOK=no
2221 DEFAULT_wxUSE_TREECTRL=no
2222 DEFAULT_wxUSE_POPUPWIN=no
2223 DEFAULT_wxUSE_TIPWINDOW=no
2225 DEFAULT_wxUSE_UNICODE=no
2226 DEFAULT_wxUSE_UNICODE_MSLU=no
2227 DEFAULT_wxUSE_WCSRTOMBS=no
2229 DEFAULT_wxUSE_PALETTE=no
2230 DEFAULT_wxUSE_IMAGE=no
2231 DEFAULT_wxUSE_GIF=no
2232 DEFAULT_wxUSE_PCX=no
2233 DEFAULT_wxUSE_PNM=no
2234 DEFAULT_wxUSE_IFF=no
2235 DEFAULT_wxUSE_XPM=no
2236 DEFAULT_wxUSE_ICO_CUR=no
2237 DEFAULT_wxUSE_ACCESSIBILITY=no
2239 DEFAULT_wxUSE_MONOLITHIC=no
2240 DEFAULT_wxUSE_PLUGINS=no
2241 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2243 DEFAULT_wxUSE_UNIVERSAL=no
2244 DEFAULT_wxUSE_STL=no
2246 DEFAULT_wxUSE_NANOX=no
2248 DEFAULT_wxUSE_THREADS=yes
2250 DEFAULT_wxUSE_SHARED=yes
2251 DEFAULT_wxUSE_OPTIMISE=yes
2252 DEFAULT_wxUSE_PROFILE=no
2253 DEFAULT_wxUSE_NO_DEPS=no
2254 DEFAULT_wxUSE_NO_RTTI=no
2255 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2256 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2257 DEFAULT_wxUSE_RPATH=yes
2258 DEFAULT_wxUSE_PERMISSIVE=no
2259 DEFAULT_wxUSE_DEBUG_FLAG=no
2260 DEFAULT_wxUSE_DEBUG_INFO=no
2261 DEFAULT_wxUSE_DEBUG_GDB=no
2262 DEFAULT_wxUSE_MEM_TRACING=no
2263 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2264 DEFAULT_wxUSE_DMALLOC=no
2265 DEFAULT_wxUSE_APPLE_IEEE=yes
2267 DEFAULT_wxUSE_EXCEPTIONS=yes
2268 DEFAULT_wxUSE_LOG=yes
2269 DEFAULT_wxUSE_LOGWINDOW=yes
2270 DEFAULT_wxUSE_LOGGUI=yes
2271 DEFAULT_wxUSE_LOGDIALOG=yes
2273 DEFAULT_wxUSE_GUI=yes
2275 DEFAULT_wxUSE_REGEX=yes
2276 DEFAULT_wxUSE_XML=yes
2277 DEFAULT_wxUSE_EXPAT=yes
2278 DEFAULT_wxUSE_ZLIB=yes
2279 DEFAULT_wxUSE_LIBPNG=yes
2280 DEFAULT_wxUSE_LIBJPEG=yes
2281 DEFAULT_wxUSE_LIBTIFF=yes
2282 DEFAULT_wxUSE_LIBXPM=yes
2283 DEFAULT_wxUSE_LIBMSPACK=yes
2284 DEFAULT_wxUSE_LIBSDL=no
2285 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2286 DEFAULT_wxUSE_LIBHILDON=no
2287 DEFAULT_wxUSE_ODBC=no
2288 DEFAULT_wxUSE_OPENGL=no
2290 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2291 DEFAULT_wxUSE_STACKWALKER=yes
2292 DEFAULT_wxUSE_DEBUGREPORT=yes
2293 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2294 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2295 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2296 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2297 DEFAULT_wxUSE_DATETIME=yes
2298 DEFAULT_wxUSE_TIMER=yes
2299 DEFAULT_wxUSE_STOPWATCH=yes
2300 DEFAULT_wxUSE_FILE=yes
2301 DEFAULT_wxUSE_FFILE=yes
2302 DEFAULT_wxUSE_STDPATHS=yes
2303 DEFAULT_wxUSE_TEXTBUFFER=yes
2304 DEFAULT_wxUSE_TEXTFILE=yes
2305 DEFAULT_wxUSE_SOUND=yes
2306 DEFAULT_wxUSE_MEDIACTRL=no
2307 DEFAULT_wxUSE_INTL=yes
2308 DEFAULT_wxUSE_CONFIG=yes
2309 DEFAULT_wxUSE_FONTMAP=yes
2310 DEFAULT_wxUSE_STREAMS=yes
2311 DEFAULT_wxUSE_SOCKETS=yes
2312 DEFAULT_wxUSE_OLE=yes
2313 DEFAULT_wxUSE_DATAOBJ=yes
2314 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2315 DEFAULT_wxUSE_JOYSTICK=yes
2316 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2317 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2318 DEFAULT_wxUSE_LONGLONG=yes
2319 DEFAULT_wxUSE_GEOMETRY=yes
2321 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2322 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2323 DEFAULT_wxUSE_POSTSCRIPT=yes
2325 DEFAULT_wxUSE_CLIPBOARD=yes
2326 DEFAULT_wxUSE_TOOLTIPS=yes
2327 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2328 DEFAULT_wxUSE_DRAGIMAGE=yes
2329 DEFAULT_wxUSE_SPLINES=yes
2330 DEFAULT_wxUSE_MOUSEWHEEL=yes
2332 DEFAULT_wxUSE_MDI=yes
2333 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2334 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2335 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2337 DEFAULT_wxUSE_RESOURCES=no
2338 DEFAULT_wxUSE_CONSTRAINTS=yes
2339 DEFAULT_wxUSE_IPC=yes
2340 DEFAULT_wxUSE_HELP=yes
2341 DEFAULT_wxUSE_MS_HTML_HELP=yes
2342 DEFAULT_wxUSE_WXHTML_HELP=yes
2343 DEFAULT_wxUSE_TREELAYOUT=yes
2344 DEFAULT_wxUSE_METAFILE=yes
2345 DEFAULT_wxUSE_MIMETYPE=yes
2346 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2347 DEFAULT_wxUSE_PROTOCOL=yes
2348 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2349 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2350 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2351 DEFAULT_wxUSE_URL=yes
2353 DEFAULT_wxUSE_COMMONDLGS=yes
2354 DEFAULT_wxUSE_CHOICEDLG=yes
2355 DEFAULT_wxUSE_COLOURDLG=yes
2356 DEFAULT_wxUSE_DIRDLG=yes
2357 DEFAULT_wxUSE_FILEDLG=yes
2358 DEFAULT_wxUSE_FINDREPLDLG=yes
2359 DEFAULT_wxUSE_FONTDLG=yes
2360 DEFAULT_wxUSE_MSGDLG=yes
2361 DEFAULT_wxUSE_NUMBERDLG=yes
2362 DEFAULT_wxUSE_TEXTDLG=yes
2363 DEFAULT_wxUSE_SPLASH=yes
2364 DEFAULT_wxUSE_STARTUP_TIPS=yes
2365 DEFAULT_wxUSE_PROGRESSDLG=yes
2366 DEFAULT_wxUSE_WIZARDDLG=yes
2368 DEFAULT_wxUSE_MENUS=yes
2369 DEFAULT_wxUSE_MINIFRAME=yes
2370 DEFAULT_wxUSE_HTML=yes
2371 DEFAULT_wxUSE_RICHTEXT=yes
2372 DEFAULT_wxUSE_XRC=yes
2373 DEFAULT_wxUSE_WEBKIT=yes
2374 DEFAULT_wxUSE_FILESYSTEM=yes
2375 DEFAULT_wxUSE_FS_INET=yes
2376 DEFAULT_wxUSE_FS_ZIP=yes
2377 DEFAULT_wxUSE_BUSYINFO=yes
2378 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2379 DEFAULT_wxUSE_ZIPSTREAM=yes
2380 DEFAULT_wxUSE_VALIDATORS=yes
2382 DEFAULT_wxUSE_ACCEL=yes
2383 DEFAULT_wxUSE_BUTTON=yes
2384 DEFAULT_wxUSE_BMPBUTTON=yes
2385 DEFAULT_wxUSE_CALCTRL=yes
2386 DEFAULT_wxUSE_CARET=yes
2387 DEFAULT_wxUSE_CHECKBOX=yes
2388 DEFAULT_wxUSE_CHECKLST=yes
2389 DEFAULT_wxUSE_CHOICE=yes
2390 DEFAULT_wxUSE_CHOICEBOOK=yes
2391 DEFAULT_wxUSE_COMBOBOX=yes
2392 DEFAULT_wxUSE_DATEPICKCTRL=yes
2393 DEFAULT_wxUSE_DISPLAY=yes
2394 DEFAULT_wxUSE_GAUGE=yes
2395 DEFAULT_wxUSE_GRID=yes
2396 DEFAULT_wxUSE_DATAVIEWCTRL=no
2397 DEFAULT_wxUSE_IMAGLIST=yes
2398 DEFAULT_wxUSE_LISTBOOK=yes
2399 DEFAULT_wxUSE_LISTBOX=yes
2400 DEFAULT_wxUSE_LISTCTRL=yes
2401 DEFAULT_wxUSE_NOTEBOOK=yes
2402 DEFAULT_wxUSE_RADIOBOX=yes
2403 DEFAULT_wxUSE_RADIOBTN=yes
2404 DEFAULT_wxUSE_SASH=yes
2405 DEFAULT_wxUSE_SCROLLBAR=yes
2406 DEFAULT_wxUSE_SLIDER=yes
2407 DEFAULT_wxUSE_SPINBTN=yes
2408 DEFAULT_wxUSE_SPINCTRL=yes
2409 DEFAULT_wxUSE_SPLITTER=yes
2410 DEFAULT_wxUSE_STATBMP=yes
2411 DEFAULT_wxUSE_STATBOX=yes
2412 DEFAULT_wxUSE_STATLINE=yes
2413 DEFAULT_wxUSE_STATTEXT=yes
2414 DEFAULT_wxUSE_STATUSBAR=yes
2415 DEFAULT_wxUSE_TABDIALOG=no
2416 DEFAULT_wxUSE_TEXTCTRL=yes
2417 DEFAULT_wxUSE_TOGGLEBTN=yes
2418 DEFAULT_wxUSE_TOOLBAR=yes
2419 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2420 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2421 DEFAULT_wxUSE_TREEBOOK=yes
2422 DEFAULT_wxUSE_TREECTRL=yes
2423 DEFAULT_wxUSE_POPUPWIN=yes
2424 DEFAULT_wxUSE_TIPWINDOW=yes
2426 DEFAULT_wxUSE_UNICODE=no
2427 DEFAULT_wxUSE_UNICODE_MSLU=yes
2428 DEFAULT_wxUSE_WCSRTOMBS=no
2430 DEFAULT_wxUSE_PALETTE=yes
2431 DEFAULT_wxUSE_IMAGE=yes
2432 DEFAULT_wxUSE_GIF=yes
2433 DEFAULT_wxUSE_PCX=yes
2434 DEFAULT_wxUSE_IFF=no
2435 DEFAULT_wxUSE_PNM=yes
2436 DEFAULT_wxUSE_XPM=yes
2437 DEFAULT_wxUSE_ICO_CUR=yes
2438 DEFAULT_wxUSE_ACCESSIBILITY=no
2440 DEFAULT_wxUSE_MONOLITHIC=no
2441 DEFAULT_wxUSE_PLUGINS=no
2442 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2444 DEFAULT_wxUSE_GTK2=yes
2450 for toolkit in `echo $ALL_TOOLKITS`; do
2451 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2452 if test "x$LINE" != "x" ; then
2453 has_toolkit_in_cache=1
2454 eval "DEFAULT_$LINE"
2455 eval "CACHE_$toolkit=1"
2457 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2458 if test "x$LINE" != "x" ; then
2459 eval "DEFAULT_$LINE"
2467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2468 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2470 # Check whether --enable-gui or --disable-gui was given.
2471 if test "${enable_gui+set}" = set; then
2472 enableval="$enable_gui"
2474 if test "$enableval" = yes; then
2475 ac_cv_use_gui='wxUSE_GUI
=yes'
2477 ac_cv_use_gui='wxUSE_GUI
=no
'
2482 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2483 if test "x$LINE" != x ; then
2484 eval "DEFAULT_$LINE"
2489 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2493 eval "$ac_cv_use_gui"
2494 if test "$no_cache" != 1; then
2495 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2498 if test "$wxUSE_GUI" = yes; then
2499 echo "$as_me:$LINENO: result: yes" >&5
2500 echo "${ECHO_T}yes" >&6
2502 echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6
2508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2509 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2511 # Check whether --enable-monolithic or --disable-monolithic was given.
2512 if test "${enable_monolithic+set}" = set; then
2513 enableval="$enable_monolithic"
2515 if test "$enableval" = yes; then
2516 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2518 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2523 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2524 if test "x$LINE" != x ; then
2525 eval "DEFAULT_$LINE"
2530 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2534 eval "$ac_cv_use_monolithic"
2535 if test "$no_cache" != 1; then
2536 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2539 if test "$wxUSE_MONOLITHIC" = yes; then
2540 echo "$as_me:$LINENO: result: yes" >&5
2541 echo "${ECHO_T}yes" >&6
2543 echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6
2549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2550 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2552 # Check whether --enable-plugins or --disable-plugins was given.
2553 if test "${enable_plugins+set}" = set; then
2554 enableval="$enable_plugins"
2556 if test "$enableval" = yes; then
2557 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2559 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2564 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2565 if test "x$LINE" != x ; then
2566 eval "DEFAULT_$LINE"
2571 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2575 eval "$ac_cv_use_plugins"
2576 if test "$no_cache" != 1; then
2577 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2580 if test "$wxUSE_PLUGINS" = yes; then
2581 echo "$as_me:$LINENO: result: yes" >&5
2582 echo "${ECHO_T}yes" >&6
2584 echo "$as_me:$LINENO: result: no" >&5
2585 echo "${ECHO_T}no" >&6
2590 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2591 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2594 # Check whether --with-subdirs or --without-subdirs was given.
2595 if test "${with_subdirs+set}" = set; then
2596 withval="$with_subdirs"
2598 if test "$withval" = yes; then
2599 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2601 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2606 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x ; then
2608 eval "DEFAULT_$LINE"
2613 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2617 eval "$ac_cv_use_subdirs"
2618 if test "$no_cache" != 1; then
2619 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2622 if test "$wxWITH_SUBDIRS" = yes; then
2623 echo "$as_me:$LINENO: result: yes" >&5
2624 echo "${ECHO_T}yes" >&6
2626 echo "$as_me:$LINENO: result: no" >&5
2627 echo "${ECHO_T}no" >&6
2631 if test "$wxUSE_GUI" = "yes"; then
2635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2636 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2638 # Check whether --enable-universal or --disable-universal was given.
2639 if test "${enable_universal+set}" = set; then
2640 enableval="$enable_universal"
2642 if test "$enableval" = yes; then
2643 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2645 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2650 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2651 if test "x$LINE" != x ; then
2652 eval "DEFAULT_$LINE"
2657 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2661 eval "$ac_cv_use_universal"
2662 if test "$no_cache" != 1; then
2663 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2666 if test "$wxUSE_UNIVERSAL" = yes; then
2667 echo "$as_me:$LINENO: result: yes" >&5
2668 echo "${ECHO_T}yes" >&6
2670 echo "$as_me:$LINENO: result: no" >&5
2671 echo "${ECHO_T}no" >&6
2675 # Check whether --with-gtk or --without-gtk was given.
2676 if test "${with_gtk+set}" = set; then
2678 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2681 # Check whether --with-motif or --without-motif was given.
2682 if test "${with_motif+set}" = set; then
2683 withval="$with_motif"
2684 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2687 # Check whether --with-mac or --without-mac was given.
2688 if test "${with_mac+set}" = set; then
2690 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2693 # Check whether --with-cocoa or --without-cocoa was given.
2694 if test "${with_cocoa+set}" = set; then
2695 withval="$with_cocoa"
2696 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2699 # Check whether --with-wine or --without-wine was given.
2700 if test "${with_wine+set}" = set; then
2701 withval="$with_wine"
2702 wxUSE_WINE="$withval" CACHE_WINE=1
2705 # Check whether --with-msw or --without-msw was given.
2706 if test "${with_msw+set}" = set; then
2708 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2711 # Check whether --with-pm or --without-pm was given.
2712 if test "${with_pm+set}" = set; then
2714 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2717 # Check whether --with-mgl or --without-mgl was given.
2718 if test "${with_mgl+set}" = set; then
2720 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2723 # Check whether --with-microwin or --without-microwin was given.
2724 if test "${with_microwin+set}" = set; then
2725 withval="$with_microwin"
2726 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2729 # Check whether --with-x11 or --without-x11 was given.
2730 if test "${with_x11+set}" = set; then
2732 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2737 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2739 # Check whether --enable-nanox or --disable-nanox was given.
2740 if test "${enable_nanox+set}" = set; then
2741 enableval="$enable_nanox"
2743 if test "$enableval" = yes; then
2744 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2746 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2751 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x ; then
2753 eval "DEFAULT_$LINE"
2758 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2762 eval "$ac_cv_use_nanox"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2767 if test "$wxUSE_NANOX" = yes; then
2768 echo "$as_me:$LINENO: result: yes" >&5
2769 echo "${ECHO_T}yes" >&6
2771 echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2776 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2777 if test "${enable_gtk2+set}" = set; then
2778 enableval="$enable_gtk2"
2779 wxUSE_GTK2="$enableval"
2783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2784 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2786 # Check whether --enable-gpe or --disable-gpe was given.
2787 if test "${enable_gpe+set}" = set; then
2788 enableval="$enable_gpe"
2790 if test "$enableval" = yes; then
2791 ac_cv_use_gpe='wxUSE_GPE
=yes'
2793 ac_cv_use_gpe='wxUSE_GPE
=no
'
2798 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2799 if test "x$LINE" != x ; then
2800 eval "DEFAULT_$LINE"
2805 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
2809 eval "$ac_cv_use_gpe"
2810 if test "$no_cache" != 1; then
2811 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2814 if test "$wxUSE_GPE" = yes; then
2815 echo "$as_me:$LINENO: result: yes" >&5
2816 echo "${ECHO_T}yes" >&6
2818 echo "$as_me:$LINENO: result: no" >&5
2819 echo "${ECHO_T}no" >&6
2824 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2825 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2828 # Check whether --with-libpng or --without-libpng was given.
2829 if test "${with_libpng+set}" = set; then
2830 withval="$with_libpng"
2832 if test "$withval" = yes; then
2833 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2834 elif test "$withval" = no; then
2835 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2836 elif test "$withval" = sys; then
2837 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2838 elif test "$withval" = builtin; then
2839 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2841 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2842 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2843 { (exit 1); exit 1; }; }
2848 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2849 if test "x$LINE" != x ; then
2850 eval "DEFAULT_$LINE"
2855 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2859 eval "$ac_cv_use_libpng"
2860 if test "$no_cache" != 1; then
2861 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2864 if test "$wxUSE_LIBPNG" = yes; then
2865 echo "$as_me:$LINENO: result: yes" >&5
2866 echo "${ECHO_T}yes" >&6
2867 elif test "$wxUSE_LIBPNG" = no; then
2868 echo "$as_me:$LINENO: result: no" >&5
2869 echo "${ECHO_T}no" >&6
2870 elif test "$wxUSE_LIBPNG" = sys; then
2871 echo "$as_me:$LINENO: result: system version" >&5
2872 echo "${ECHO_T}system version" >&6
2873 elif test "$wxUSE_LIBPNG" = builtin; then
2874 echo "$as_me:$LINENO: result: builtin version" >&5
2875 echo "${ECHO_T}builtin version" >&6
2877 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2878 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2879 { (exit 1); exit 1; }; }
2883 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2884 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2887 # Check whether --with-libjpeg or --without-libjpeg was given.
2888 if test "${with_libjpeg+set}" = set; then
2889 withval="$with_libjpeg"
2891 if test "$withval" = yes; then
2892 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2893 elif test "$withval" = no; then
2894 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2895 elif test "$withval" = sys; then
2896 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2897 elif test "$withval" = builtin; then
2898 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2900 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2901 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2902 { (exit 1); exit 1; }; }
2907 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2908 if test "x$LINE" != x ; then
2909 eval "DEFAULT_$LINE"
2914 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2918 eval "$ac_cv_use_libjpeg"
2919 if test "$no_cache" != 1; then
2920 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2923 if test "$wxUSE_LIBJPEG" = yes; then
2924 echo "$as_me:$LINENO: result: yes" >&5
2925 echo "${ECHO_T}yes" >&6
2926 elif test "$wxUSE_LIBJPEG" = no; then
2927 echo "$as_me:$LINENO: result: no" >&5
2928 echo "${ECHO_T}no" >&6
2929 elif test "$wxUSE_LIBJPEG" = sys; then
2930 echo "$as_me:$LINENO: result: system version" >&5
2931 echo "${ECHO_T}system version" >&6
2932 elif test "$wxUSE_LIBJPEG" = builtin; then
2933 echo "$as_me:$LINENO: result: builtin version" >&5
2934 echo "${ECHO_T}builtin version" >&6
2936 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2937 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2938 { (exit 1); exit 1; }; }
2942 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2943 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2946 # Check whether --with-libtiff or --without-libtiff was given.
2947 if test "${with_libtiff+set}" = set; then
2948 withval="$with_libtiff"
2950 if test "$withval" = yes; then
2951 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2952 elif test "$withval" = no; then
2953 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2954 elif test "$withval" = sys; then
2955 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2956 elif test "$withval" = builtin; then
2957 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2959 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2960 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2961 { (exit 1); exit 1; }; }
2966 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2967 if test "x$LINE" != x ; then
2968 eval "DEFAULT_$LINE"
2973 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2977 eval "$ac_cv_use_libtiff"
2978 if test "$no_cache" != 1; then
2979 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2982 if test "$wxUSE_LIBTIFF" = yes; then
2983 echo "$as_me:$LINENO: result: yes" >&5
2984 echo "${ECHO_T}yes" >&6
2985 elif test "$wxUSE_LIBTIFF" = no; then
2986 echo "$as_me:$LINENO: result: no" >&5
2987 echo "${ECHO_T}no" >&6
2988 elif test "$wxUSE_LIBTIFF" = sys; then
2989 echo "$as_me:$LINENO: result: system version" >&5
2990 echo "${ECHO_T}system version" >&6
2991 elif test "$wxUSE_LIBTIFF" = builtin; then
2992 echo "$as_me:$LINENO: result: builtin version" >&5
2993 echo "${ECHO_T}builtin version" >&6
2995 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2996 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2997 { (exit 1); exit 1; }; }
3001 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3002 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3005 # Check whether --with-libxpm or --without-libxpm was given.
3006 if test "${with_libxpm+set}" = set; then
3007 withval="$with_libxpm"
3009 if test "$withval" = yes; then
3010 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
3011 elif test "$withval" = no; then
3012 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3013 elif test "$withval" = sys; then
3014 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3015 elif test "$withval" = builtin; then
3016 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3018 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3019 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3020 { (exit 1); exit 1; }; }
3025 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3026 if test "x$LINE" != x ; then
3027 eval "DEFAULT_$LINE"
3032 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3036 eval "$ac_cv_use_libxpm"
3037 if test "$no_cache" != 1; then
3038 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3041 if test "$wxUSE_LIBXPM" = yes; then
3042 echo "$as_me:$LINENO: result: yes" >&5
3043 echo "${ECHO_T}yes" >&6
3044 elif test "$wxUSE_LIBXPM" = no; then
3045 echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6
3047 elif test "$wxUSE_LIBXPM" = sys; then
3048 echo "$as_me:$LINENO: result: system version" >&5
3049 echo "${ECHO_T}system version" >&6
3050 elif test "$wxUSE_LIBXPM" = builtin; then
3051 echo "$as_me:$LINENO: result: builtin version" >&5
3052 echo "${ECHO_T}builtin version" >&6
3054 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3055 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3056 { (exit 1); exit 1; }; }
3061 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3062 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3065 # Check whether --with-libmspack or --without-libmspack was given.
3066 if test "${with_libmspack+set}" = set; then
3067 withval="$with_libmspack"
3069 if test "$withval" = yes; then
3070 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3072 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3077 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x ; then
3079 eval "DEFAULT_$LINE"
3084 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3088 eval "$ac_cv_use_libmspack"
3089 if test "$no_cache" != 1; then
3090 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3093 if test "$wxUSE_LIBMSPACK" = yes; then
3094 echo "$as_me:$LINENO: result: yes" >&5
3095 echo "${ECHO_T}yes" >&6
3097 echo "$as_me:$LINENO: result: no" >&5
3098 echo "${ECHO_T}no" >&6
3103 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3104 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3107 # Check whether --with-sdl or --without-sdl was given.
3108 if test "${with_sdl+set}" = set; then
3111 if test "$withval" = yes; then
3112 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3114 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3119 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x ; then
3121 eval "DEFAULT_$LINE"
3126 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3130 eval "$ac_cv_use_sdl"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3135 if test "$wxUSE_LIBSDL" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3145 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3146 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3149 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3150 if test "${with_gnomeprint+set}" = set; then
3151 withval="$with_gnomeprint"
3153 if test "$withval" = yes; then
3154 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3156 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3161 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3162 if test "x$LINE" != x ; then
3163 eval "DEFAULT_$LINE"
3168 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3172 eval "$ac_cv_use_gnomeprint"
3173 if test "$no_cache" != 1; then
3174 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3177 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3178 echo "$as_me:$LINENO: result: yes" >&5
3179 echo "${ECHO_T}yes" >&6
3181 echo "$as_me:$LINENO: result: no" >&5
3182 echo "${ECHO_T}no" >&6
3187 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3188 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3191 # Check whether --with-hildon or --without-hildon was given.
3192 if test "${with_hildon+set}" = set; then
3193 withval="$with_hildon"
3195 if test "$withval" = yes; then
3196 ac_cv_use_hildon='wxUSE_LIBHILDON
=yes'
3198 ac_cv_use_hildon='wxUSE_LIBHILDON
=no
'
3203 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3204 if test "x$LINE" != x ; then
3205 eval "DEFAULT_$LINE"
3210 ac_cv_use_hildon='wxUSE_LIBHILDON
='$DEFAULT_wxUSE_LIBHILDON
3214 eval "$ac_cv_use_hildon"
3215 if test "$no_cache" != 1; then
3216 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3219 if test "$wxUSE_LIBHILDON" = yes; then
3220 echo "$as_me:$LINENO: result: yes" >&5
3221 echo "${ECHO_T}yes" >&6
3223 echo "$as_me:$LINENO: result: no" >&5
3224 echo "${ECHO_T}no" >&6
3229 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3230 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3233 # Check whether --with-opengl or --without-opengl was given.
3234 if test "${with_opengl+set}" = set; then
3235 withval="$with_opengl"
3237 if test "$withval" = yes; then
3238 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3240 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3245 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x ; then
3247 eval "DEFAULT_$LINE"
3252 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3256 eval "$ac_cv_use_opengl"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3261 if test "$wxUSE_OPENGL" = yes; then
3262 echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3274 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3275 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3278 # Check whether --with-dmalloc or --without-dmalloc was given.
3279 if test "${with_dmalloc+set}" = set; then
3280 withval="$with_dmalloc"
3282 if test "$withval" = yes; then
3283 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3285 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3290 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x ; then
3292 eval "DEFAULT_$LINE"
3297 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3301 eval "$ac_cv_use_dmalloc"
3302 if test "$no_cache" != 1; then
3303 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3306 if test "$wxUSE_DMALLOC" = yes; then
3307 echo "$as_me:$LINENO: result: yes" >&5
3308 echo "${ECHO_T}yes" >&6
3310 echo "$as_me:$LINENO: result: no" >&5
3311 echo "${ECHO_T}no" >&6
3315 echo "$as_me:$LINENO: checking for --with-regex" >&5
3316 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3319 # Check whether --with-regex or --without-regex was given.
3320 if test "${with_regex+set}" = set; then
3321 withval="$with_regex"
3323 if test "$withval" = yes; then
3324 ac_cv_use_regex='wxUSE_REGEX
=yes'
3325 elif test "$withval" = no; then
3326 ac_cv_use_regex='wxUSE_REGEX
=no
'
3327 elif test "$withval" = sys; then
3328 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3329 elif test "$withval" = builtin; then
3330 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3332 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3333 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3334 { (exit 1); exit 1; }; }
3339 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3340 if test "x$LINE" != x ; then
3341 eval "DEFAULT_$LINE"
3346 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3350 eval "$ac_cv_use_regex"
3351 if test "$no_cache" != 1; then
3352 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3355 if test "$wxUSE_REGEX" = yes; then
3356 echo "$as_me:$LINENO: result: yes" >&5
3357 echo "${ECHO_T}yes" >&6
3358 elif test "$wxUSE_REGEX" = no; then
3359 echo "$as_me:$LINENO: result: no" >&5
3360 echo "${ECHO_T}no" >&6
3361 elif test "$wxUSE_REGEX" = sys; then
3362 echo "$as_me:$LINENO: result: system version" >&5
3363 echo "${ECHO_T}system version" >&6
3364 elif test "$wxUSE_REGEX" = builtin; then
3365 echo "$as_me:$LINENO: result: builtin version" >&5
3366 echo "${ECHO_T}builtin version" >&6
3368 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3369 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3370 { (exit 1); exit 1; }; }
3374 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3375 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3378 # Check whether --with-zlib or --without-zlib was given.
3379 if test "${with_zlib+set}" = set; then
3380 withval="$with_zlib"
3382 if test "$withval" = yes; then
3383 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3384 elif test "$withval" = no; then
3385 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3386 elif test "$withval" = sys; then
3387 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3388 elif test "$withval" = builtin; then
3389 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3391 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3392 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3393 { (exit 1); exit 1; }; }
3398 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3399 if test "x$LINE" != x ; then
3400 eval "DEFAULT_$LINE"
3405 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3409 eval "$ac_cv_use_zlib"
3410 if test "$no_cache" != 1; then
3411 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3414 if test "$wxUSE_ZLIB" = yes; then
3415 echo "$as_me:$LINENO: result: yes" >&5
3416 echo "${ECHO_T}yes" >&6
3417 elif test "$wxUSE_ZLIB" = no; then
3418 echo "$as_me:$LINENO: result: no" >&5
3419 echo "${ECHO_T}no" >&6
3420 elif test "$wxUSE_ZLIB" = sys; then
3421 echo "$as_me:$LINENO: result: system version" >&5
3422 echo "${ECHO_T}system version" >&6
3423 elif test "$wxUSE_ZLIB" = builtin; then
3424 echo "$as_me:$LINENO: result: builtin version" >&5
3425 echo "${ECHO_T}builtin version" >&6
3427 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3428 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3429 { (exit 1); exit 1; }; }
3433 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3434 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3437 # Check whether --with-odbc or --without-odbc was given.
3438 if test "${with_odbc+set}" = set; then
3439 withval="$with_odbc"
3441 if test "$withval" = yes; then
3442 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3443 elif test "$withval" = no; then
3444 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3445 elif test "$withval" = sys; then
3446 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3447 elif test "$withval" = builtin; then
3448 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3450 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3451 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3452 { (exit 1); exit 1; }; }
3457 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3458 if test "x$LINE" != x ; then
3459 eval "DEFAULT_$LINE"
3464 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3468 eval "$ac_cv_use_odbc"
3469 if test "$no_cache" != 1; then
3470 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3473 if test "$wxUSE_ODBC" = yes; then
3474 echo "$as_me:$LINENO: result: yes" >&5
3475 echo "${ECHO_T}yes" >&6
3476 elif test "$wxUSE_ODBC" = no; then
3477 echo "$as_me:$LINENO: result: no" >&5
3478 echo "${ECHO_T}no" >&6
3479 elif test "$wxUSE_ODBC" = sys; then
3480 echo "$as_me:$LINENO: result: system version" >&5
3481 echo "${ECHO_T}system version" >&6
3482 elif test "$wxUSE_ODBC" = builtin; then
3483 echo "$as_me:$LINENO: result: builtin version" >&5
3484 echo "${ECHO_T}builtin version" >&6
3486 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3487 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3488 { (exit 1); exit 1; }; }
3492 echo "$as_me:$LINENO: checking for --with-expat" >&5
3493 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3496 # Check whether --with-expat or --without-expat was given.
3497 if test "${with_expat+set}" = set; then
3498 withval="$with_expat"
3500 if test "$withval" = yes; then
3501 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3502 elif test "$withval" = no; then
3503 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3504 elif test "$withval" = sys; then
3505 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3506 elif test "$withval" = builtin; then
3507 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3509 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3510 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3511 { (exit 1); exit 1; }; }
3516 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x ; then
3518 eval "DEFAULT_$LINE"
3523 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3527 eval "$ac_cv_use_expat"
3528 if test "$no_cache" != 1; then
3529 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3532 if test "$wxUSE_EXPAT" = yes; then
3533 echo "$as_me:$LINENO: result: yes" >&5
3534 echo "${ECHO_T}yes" >&6
3535 elif test "$wxUSE_EXPAT" = no; then
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3538 elif test "$wxUSE_EXPAT" = sys; then
3539 echo "$as_me:$LINENO: result: system version" >&5
3540 echo "${ECHO_T}system version" >&6
3541 elif test "$wxUSE_EXPAT" = builtin; then
3542 echo "$as_me:$LINENO: result: builtin version" >&5
3543 echo "${ECHO_T}builtin version" >&6
3545 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3546 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3547 { (exit 1); exit 1; }; }
3554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3555 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3557 # Check whether --enable-shared or --disable-shared was given.
3558 if test "${enable_shared+set}" = set; then
3559 enableval="$enable_shared"
3561 if test "$enableval" = yes; then
3562 ac_cv_use_shared='wxUSE_SHARED
=yes'
3564 ac_cv_use_shared='wxUSE_SHARED
=no
'
3569 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3570 if test "x$LINE" != x ; then
3571 eval "DEFAULT_$LINE"
3576 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3580 eval "$ac_cv_use_shared"
3581 if test "$no_cache" != 1; then
3582 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3585 if test "$wxUSE_SHARED" = yes; then
3586 echo "$as_me:$LINENO: result: yes" >&5
3587 echo "${ECHO_T}yes" >&6
3589 echo "$as_me:$LINENO: result: no" >&5
3590 echo "${ECHO_T}no" >&6
3595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3596 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3598 # Check whether --enable-optimise or --disable-optimise was given.
3599 if test "${enable_optimise+set}" = set; then
3600 enableval="$enable_optimise"
3602 if test "$enableval" = yes; then
3603 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3605 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3610 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3611 if test "x$LINE" != x ; then
3612 eval "DEFAULT_$LINE"
3617 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3621 eval "$ac_cv_use_optimise"
3622 if test "$no_cache" != 1; then
3623 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3626 if test "$wxUSE_OPTIMISE" = yes; then
3627 echo "$as_me:$LINENO: result: yes" >&5
3628 echo "${ECHO_T}yes" >&6
3630 echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6
3636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3637 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3639 # Check whether --enable-debug or --disable-debug was given.
3640 if test "${enable_debug+set}" = set; then
3641 enableval="$enable_debug"
3643 if test "$enableval" = yes; then
3644 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3646 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3651 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3652 if test "x$LINE" != x ; then
3653 eval "DEFAULT_$LINE"
3658 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3662 eval "$ac_cv_use_debug"
3663 if test "$no_cache" != 1; then
3664 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3667 if test "$wxUSE_DEBUG" = yes; then
3668 echo "$as_me:$LINENO: result: yes" >&5
3669 echo "${ECHO_T}yes" >&6
3671 echo "$as_me:$LINENO: result: no" >&5
3672 echo "${ECHO_T}no" >&6
3677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3678 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3680 # Check whether --enable-stl or --disable-stl was given.
3681 if test "${enable_stl+set}" = set; then
3682 enableval="$enable_stl"
3684 if test "$enableval" = yes; then
3685 ac_cv_use_stl='wxUSE_STL
=yes'
3687 ac_cv_use_stl='wxUSE_STL
=no
'
3692 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3693 if test "x$LINE" != x ; then
3694 eval "DEFAULT_$LINE"
3699 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3703 eval "$ac_cv_use_stl"
3704 if test "$no_cache" != 1; then
3705 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3708 if test "$wxUSE_STL" = yes; then
3709 echo "$as_me:$LINENO: result: yes" >&5
3710 echo "${ECHO_T}yes" >&6
3712 echo "$as_me:$LINENO: result: no" >&5
3713 echo "${ECHO_T}no" >&6
3716 if test "$USE_OS2" = "1"; then
3717 DEFAULT_wxUSE_OMF=no
3720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3721 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3723 # Check whether --enable-omf or --disable-omf was given.
3724 if test "${enable_omf+set}" = set; then
3725 enableval="$enable_omf"
3727 if test "$enableval" = yes; then
3728 ac_cv_use_omf='wxUSE_OMF
=yes'
3730 ac_cv_use_omf='wxUSE_OMF
=no
'
3735 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3736 if test "x$LINE" != x ; then
3737 eval "DEFAULT_$LINE"
3742 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3746 eval "$ac_cv_use_omf"
3747 if test "$no_cache" != 1; then
3748 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3751 if test "$wxUSE_OMF" = yes; then
3752 echo "$as_me:$LINENO: result: yes" >&5
3753 echo "${ECHO_T}yes" >&6
3755 echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6
3761 if test "$wxUSE_DEBUG" = "yes"; then
3762 DEFAULT_wxUSE_DEBUG_FLAG=yes
3763 DEFAULT_wxUSE_DEBUG_INFO=yes
3765 elif test "$wxUSE_DEBUG" = "no"; then
3766 DEFAULT_wxUSE_DEBUG_FLAG=no
3767 DEFAULT_wxUSE_DEBUG_INFO=no
3773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3774 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3776 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3777 if test "${enable_debug_flag+set}" = set; then
3778 enableval="$enable_debug_flag"
3780 if test "$enableval" = yes; then
3781 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3783 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3788 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3789 if test "x$LINE" != x ; then
3790 eval "DEFAULT_$LINE"
3795 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3799 eval "$ac_cv_use_debug_flag"
3800 if test "$no_cache" != 1; then
3801 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3804 if test "$wxUSE_DEBUG_FLAG" = yes; then
3805 echo "$as_me:$LINENO: result: yes" >&5
3806 echo "${ECHO_T}yes" >&6
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3815 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3817 # Check whether --enable-debug_info or --disable-debug_info was given.
3818 if test "${enable_debug_info+set}" = set; then
3819 enableval="$enable_debug_info"
3821 if test "$enableval" = yes; then
3822 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3824 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3829 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3830 if test "x$LINE" != x ; then
3831 eval "DEFAULT_$LINE"
3836 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3840 eval "$ac_cv_use_debug_info"
3841 if test "$no_cache" != 1; then
3842 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3845 if test "$wxUSE_DEBUG_INFO" = yes; then
3846 echo "$as_me:$LINENO: result: yes" >&5
3847 echo "${ECHO_T}yes" >&6
3849 echo "$as_me:$LINENO: result: no" >&5
3850 echo "${ECHO_T}no" >&6
3855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3856 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3858 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3859 if test "${enable_debug_gdb+set}" = set; then
3860 enableval="$enable_debug_gdb"
3862 if test "$enableval" = yes; then
3863 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3865 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3870 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3871 if test "x$LINE" != x ; then
3872 eval "DEFAULT_$LINE"
3877 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3881 eval "$ac_cv_use_debug_gdb"
3882 if test "$no_cache" != 1; then
3883 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3886 if test "$wxUSE_DEBUG_GDB" = yes; then
3887 echo "$as_me:$LINENO: result: yes" >&5
3888 echo "${ECHO_T}yes" >&6
3890 echo "$as_me:$LINENO: result: no" >&5
3891 echo "${ECHO_T}no" >&6
3896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3897 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3899 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3900 if test "${enable_debug_cntxt+set}" = set; then
3901 enableval="$enable_debug_cntxt"
3903 if test "$enableval" = yes; then
3904 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3906 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3911 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x ; then
3913 eval "DEFAULT_$LINE"
3918 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3922 eval "$ac_cv_use_debug_cntxt"
3923 if test "$no_cache" != 1; then
3924 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3927 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3928 echo "$as_me:$LINENO: result: yes" >&5
3929 echo "${ECHO_T}yes" >&6
3931 echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6
3937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3938 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3940 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3941 if test "${enable_mem_tracing+set}" = set; then
3942 enableval="$enable_mem_tracing"
3944 if test "$enableval" = yes; then
3945 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3947 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3952 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3953 if test "x$LINE" != x ; then
3954 eval "DEFAULT_$LINE"
3959 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3963 eval "$ac_cv_use_mem_tracing"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3968 if test "$wxUSE_MEM_TRACING" = yes; then
3969 echo "$as_me:$LINENO: result: yes" >&5
3970 echo "${ECHO_T}yes" >&6
3972 echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3979 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3981 # Check whether --enable-profile or --disable-profile was given.
3982 if test "${enable_profile+set}" = set; then
3983 enableval="$enable_profile"
3985 if test "$enableval" = yes; then
3986 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3988 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3993 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x ; then
3995 eval "DEFAULT_$LINE"
4000 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
4004 eval "$ac_cv_use_profile"
4005 if test "$no_cache" != 1; then
4006 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4009 if test "$wxUSE_PROFILE" = yes; then
4010 echo "$as_me:$LINENO: result: yes" >&5
4011 echo "${ECHO_T}yes" >&6
4013 echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4020 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4022 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4023 if test "${enable_no_rtti+set}" = set; then
4024 enableval="$enable_no_rtti"
4026 if test "$enableval" = yes; then
4027 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
4029 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
4034 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4035 if test "x$LINE" != x ; then
4036 eval "DEFAULT_$LINE"
4041 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
4045 eval "$ac_cv_use_no_rtti"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4050 if test "$wxUSE_NO_RTTI" = yes; then
4051 echo "$as_me:$LINENO: result: yes" >&5
4052 echo "${ECHO_T}yes" >&6
4054 echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6
4060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4061 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4063 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4064 if test "${enable_no_exceptions+set}" = set; then
4065 enableval="$enable_no_exceptions"
4067 if test "$enableval" = yes; then
4068 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4070 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4075 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4076 if test "x$LINE" != x ; then
4077 eval "DEFAULT_$LINE"
4082 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4086 eval "$ac_cv_use_no_exceptions"
4087 if test "$no_cache" != 1; then
4088 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4091 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4092 echo "$as_me:$LINENO: result: yes" >&5
4093 echo "${ECHO_T}yes" >&6
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4102 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4104 # Check whether --enable-permissive or --disable-permissive was given.
4105 if test "${enable_permissive+set}" = set; then
4106 enableval="$enable_permissive"
4108 if test "$enableval" = yes; then
4109 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4111 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4116 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4117 if test "x$LINE" != x ; then
4118 eval "DEFAULT_$LINE"
4123 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4127 eval "$ac_cv_use_permissive"
4128 if test "$no_cache" != 1; then
4129 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4132 if test "$wxUSE_PERMISSIVE" = yes; then
4133 echo "$as_me:$LINENO: result: yes" >&5
4134 echo "${ECHO_T}yes" >&6
4136 echo "$as_me:$LINENO: result: no" >&5
4137 echo "${ECHO_T}no" >&6
4142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4143 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4145 # Check whether --enable-no_deps or --disable-no_deps was given.
4146 if test "${enable_no_deps+set}" = set; then
4147 enableval="$enable_no_deps"
4149 if test "$enableval" = yes; then
4150 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4152 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4157 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4158 if test "x$LINE" != x ; then
4159 eval "DEFAULT_$LINE"
4164 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4168 eval "$ac_cv_use_no_deps"
4169 if test "$no_cache" != 1; then
4170 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4173 if test "$wxUSE_NO_DEPS" = yes; then
4174 echo "$as_me:$LINENO: result: yes" >&5
4175 echo "${ECHO_T}yes" >&6
4177 echo "$as_me:$LINENO: result: no" >&5
4178 echo "${ECHO_T}no" >&6
4183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4184 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4186 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4187 if test "${enable_universal_binary+set}" = set; then
4188 enableval="$enable_universal_binary"
4190 if test "$enableval" = yes; then
4191 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
=yes'
4193 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
=no
'
4198 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4199 if test "x$LINE" != x ; then
4200 eval "DEFAULT_$LINE"
4205 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4209 eval "$ac_cv_use_universal_binary"
4210 if test "$no_cache" != 1; then
4211 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4214 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4215 echo "$as_me:$LINENO: result: yes" >&5
4216 echo "${ECHO_T}yes" >&6
4218 echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6
4225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4228 # Check whether --enable-compat24 or --disable-compat24 was given.
4229 if test "${enable_compat24+set}" = set; then
4230 enableval="$enable_compat24"
4232 if test "$enableval" = yes; then
4233 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4235 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4240 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4241 if test "x$LINE" != x ; then
4242 eval "DEFAULT_$LINE"
4247 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4251 eval "$ac_cv_use_compat24"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4256 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4257 echo "$as_me:$LINENO: result: yes" >&5
4258 echo "${ECHO_T}yes" >&6
4260 echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6
4265 enablestring=disable
4266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4267 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4269 # Check whether --enable-compat26 or --disable-compat26 was given.
4270 if test "${enable_compat26+set}" = set; then
4271 enableval="$enable_compat26"
4273 if test "$enableval" = yes; then
4274 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4276 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4281 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4282 if test "x$LINE" != x ; then
4283 eval "DEFAULT_$LINE"
4288 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4292 eval "$ac_cv_use_compat26"
4293 if test "$no_cache" != 1; then
4294 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4297 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4298 echo "$as_me:$LINENO: result: yes" >&5
4299 echo "${ECHO_T}yes" >&6
4301 echo "$as_me:$LINENO: result: no" >&5
4302 echo "${ECHO_T}no" >&6
4308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4309 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4311 # Check whether --enable-rpath or --disable-rpath was given.
4312 if test "${enable_rpath+set}" = set; then
4313 enableval="$enable_rpath"
4315 if test "$enableval" = yes; then
4316 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4318 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4323 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x ; then
4325 eval "DEFAULT_$LINE"
4330 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4334 eval "$ac_cv_use_rpath"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4339 if test "$wxUSE_RPATH" = yes; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4353 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4355 # Check whether --enable-intl or --disable-intl was given.
4356 if test "${enable_intl+set}" = set; then
4357 enableval="$enable_intl"
4359 if test "$enableval" = yes; then
4360 ac_cv_use_intl='wxUSE_INTL
=yes'
4362 ac_cv_use_intl='wxUSE_INTL
=no
'
4367 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x ; then
4369 eval "DEFAULT_$LINE"
4374 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4378 eval "$ac_cv_use_intl"
4379 if test "$no_cache" != 1; then
4380 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4383 if test "$wxUSE_INTL" = yes; then
4384 echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4394 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4396 # Check whether --enable-config or --disable-config was given.
4397 if test "${enable_config+set}" = set; then
4398 enableval="$enable_config"
4400 if test "$enableval" = yes; then
4401 ac_cv_use_config='wxUSE_CONFIG
=yes'
4403 ac_cv_use_config='wxUSE_CONFIG
=no
'
4408 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4409 if test "x$LINE" != x ; then
4410 eval "DEFAULT_$LINE"
4415 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4419 eval "$ac_cv_use_config"
4420 if test "$no_cache" != 1; then
4421 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4424 if test "$wxUSE_CONFIG" = yes; then
4425 echo "$as_me:$LINENO: result: yes" >&5
4426 echo "${ECHO_T}yes" >&6
4428 echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6
4435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4436 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4438 # Check whether --enable-protocols or --disable-protocols was given.
4439 if test "${enable_protocols+set}" = set; then
4440 enableval="$enable_protocols"
4442 if test "$enableval" = yes; then
4443 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4445 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4450 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x ; then
4452 eval "DEFAULT_$LINE"
4457 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4461 eval "$ac_cv_use_protocols"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4466 if test "$wxUSE_PROTOCOL" = yes; then
4467 echo "$as_me:$LINENO: result: yes" >&5
4468 echo "${ECHO_T}yes" >&6
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4477 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4479 # Check whether --enable-ftp or --disable-ftp was given.
4480 if test "${enable_ftp+set}" = set; then
4481 enableval="$enable_ftp"
4483 if test "$enableval" = yes; then
4484 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4486 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4491 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x ; then
4493 eval "DEFAULT_$LINE"
4498 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4502 eval "$ac_cv_use_ftp"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4507 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4508 echo "$as_me:$LINENO: result: yes" >&5
4509 echo "${ECHO_T}yes" >&6
4511 echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6
4517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4518 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4520 # Check whether --enable-http or --disable-http was given.
4521 if test "${enable_http+set}" = set; then
4522 enableval="$enable_http"
4524 if test "$enableval" = yes; then
4525 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4527 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4532 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4533 if test "x$LINE" != x ; then
4534 eval "DEFAULT_$LINE"
4539 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4543 eval "$ac_cv_use_http"
4544 if test "$no_cache" != 1; then
4545 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4548 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4549 echo "$as_me:$LINENO: result: yes" >&5
4550 echo "${ECHO_T}yes" >&6
4552 echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4559 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4561 # Check whether --enable-fileproto or --disable-fileproto was given.
4562 if test "${enable_fileproto+set}" = set; then
4563 enableval="$enable_fileproto"
4565 if test "$enableval" = yes; then
4566 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4568 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4573 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4574 if test "x$LINE" != x ; then
4575 eval "DEFAULT_$LINE"
4580 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4584 eval "$ac_cv_use_fileproto"
4585 if test "$no_cache" != 1; then
4586 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4589 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4590 echo "$as_me:$LINENO: result: yes" >&5
4591 echo "${ECHO_T}yes" >&6
4593 echo "$as_me:$LINENO: result: no" >&5
4594 echo "${ECHO_T}no" >&6
4599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4602 # Check whether --enable-sockets or --disable-sockets was given.
4603 if test "${enable_sockets+set}" = set; then
4604 enableval="$enable_sockets"
4606 if test "$enableval" = yes; then
4607 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4609 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4614 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x ; then
4616 eval "DEFAULT_$LINE"
4621 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4625 eval "$ac_cv_use_sockets"
4626 if test "$no_cache" != 1; then
4627 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4630 if test "$wxUSE_SOCKETS" = yes; then
4631 echo "$as_me:$LINENO: result: yes" >&5
4632 echo "${ECHO_T}yes" >&6
4634 echo "$as_me:$LINENO: result: no" >&5
4635 echo "${ECHO_T}no" >&6
4640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4641 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4643 # Check whether --enable-ole or --disable-ole was given.
4644 if test "${enable_ole+set}" = set; then
4645 enableval="$enable_ole"
4647 if test "$enableval" = yes; then
4648 ac_cv_use_ole='wxUSE_OLE
=yes'
4650 ac_cv_use_ole='wxUSE_OLE
=no
'
4655 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4656 if test "x$LINE" != x ; then
4657 eval "DEFAULT_$LINE"
4662 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4666 eval "$ac_cv_use_ole"
4667 if test "$no_cache" != 1; then
4668 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4671 if test "$wxUSE_OLE" = yes; then
4672 echo "$as_me:$LINENO: result: yes" >&5
4673 echo "${ECHO_T}yes" >&6
4675 echo "$as_me:$LINENO: result: no" >&5
4676 echo "${ECHO_T}no" >&6
4681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4682 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4684 # Check whether --enable-dataobj or --disable-dataobj was given.
4685 if test "${enable_dataobj+set}" = set; then
4686 enableval="$enable_dataobj"
4688 if test "$enableval" = yes; then
4689 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4691 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4696 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4697 if test "x$LINE" != x ; then
4698 eval "DEFAULT_$LINE"
4703 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4707 eval "$ac_cv_use_dataobj"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4712 if test "$wxUSE_DATAOBJ" = yes; then
4713 echo "$as_me:$LINENO: result: yes" >&5
4714 echo "${ECHO_T}yes" >&6
4716 echo "$as_me:$LINENO: result: no" >&5
4717 echo "${ECHO_T}no" >&6
4723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4726 # Check whether --enable-ipc or --disable-ipc was given.
4727 if test "${enable_ipc+set}" = set; then
4728 enableval="$enable_ipc"
4730 if test "$enableval" = yes; then
4731 ac_cv_use_ipc='wxUSE_IPC
=yes'
4733 ac_cv_use_ipc='wxUSE_IPC
=no
'
4738 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x ; then
4740 eval "DEFAULT_$LINE"
4745 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4749 eval "$ac_cv_use_ipc"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4754 if test "$wxUSE_IPC" = yes; then
4755 echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6
4758 echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6
4765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4766 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4768 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4769 if test "${enable_apple_ieee+set}" = set; then
4770 enableval="$enable_apple_ieee"
4772 if test "$enableval" = yes; then
4773 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4775 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4780 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4781 if test "x$LINE" != x ; then
4782 eval "DEFAULT_$LINE"
4787 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4791 eval "$ac_cv_use_apple_ieee"
4792 if test "$no_cache" != 1; then
4793 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4796 if test "$wxUSE_APPLE_IEEE" = yes; then
4797 echo "$as_me:$LINENO: result: yes" >&5
4798 echo "${ECHO_T}yes" >&6
4800 echo "$as_me:$LINENO: result: no" >&5
4801 echo "${ECHO_T}no" >&6
4806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4807 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4809 # Check whether --enable-arcstream or --disable-arcstream was given.
4810 if test "${enable_arcstream+set}" = set; then
4811 enableval="$enable_arcstream"
4813 if test "$enableval" = yes; then
4814 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
4816 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
4821 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4822 if test "x$LINE" != x ; then
4823 eval "DEFAULT_$LINE"
4828 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4832 eval "$ac_cv_use_arcstream"
4833 if test "$no_cache" != 1; then
4834 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4837 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4838 echo "$as_me:$LINENO: result: yes" >&5
4839 echo "${ECHO_T}yes" >&6
4841 echo "$as_me:$LINENO: result: no" >&5
4842 echo "${ECHO_T}no" >&6
4847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4850 # Check whether --enable-backtrace or --disable-backtrace was given.
4851 if test "${enable_backtrace+set}" = set; then
4852 enableval="$enable_backtrace"
4854 if test "$enableval" = yes; then
4855 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
4857 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
4862 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4863 if test "x$LINE" != x ; then
4864 eval "DEFAULT_$LINE"
4869 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
4873 eval "$ac_cv_use_backtrace"
4874 if test "$no_cache" != 1; then
4875 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4878 if test "$wxUSE_STACKWALKER" = yes; then
4879 echo "$as_me:$LINENO: result: yes" >&5
4880 echo "${ECHO_T}yes" >&6
4882 echo "$as_me:$LINENO: result: no" >&5
4883 echo "${ECHO_T}no" >&6
4888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4891 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4892 if test "${enable_catch_segvs+set}" = set; then
4893 enableval="$enable_catch_segvs"
4895 if test "$enableval" = yes; then
4896 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4898 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4903 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4904 if test "x$LINE" != x ; then
4905 eval "DEFAULT_$LINE"
4910 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4914 eval "$ac_cv_use_catch_segvs"
4915 if test "$no_cache" != 1; then
4916 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4919 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4920 echo "$as_me:$LINENO: result: yes" >&5
4921 echo "${ECHO_T}yes" >&6
4923 echo "$as_me:$LINENO: result: no" >&5
4924 echo "${ECHO_T}no" >&6
4929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4930 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4932 # Check whether --enable-cmdline or --disable-cmdline was given.
4933 if test "${enable_cmdline+set}" = set; then
4934 enableval="$enable_cmdline"
4936 if test "$enableval" = yes; then
4937 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4939 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4944 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4945 if test "x$LINE" != x ; then
4946 eval "DEFAULT_$LINE"
4951 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4955 eval "$ac_cv_use_cmdline"
4956 if test "$no_cache" != 1; then
4957 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4960 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4961 echo "$as_me:$LINENO: result: yes" >&5
4962 echo "${ECHO_T}yes" >&6
4964 echo "$as_me:$LINENO: result: no" >&5
4965 echo "${ECHO_T}no" >&6
4970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4971 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4973 # Check whether --enable-datetime or --disable-datetime was given.
4974 if test "${enable_datetime+set}" = set; then
4975 enableval="$enable_datetime"
4977 if test "$enableval" = yes; then
4978 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4980 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4985 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4986 if test "x$LINE" != x ; then
4987 eval "DEFAULT_$LINE"
4992 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4996 eval "$ac_cv_use_datetime"
4997 if test "$no_cache" != 1; then
4998 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5001 if test "$wxUSE_DATETIME" = yes; then
5002 echo "$as_me:$LINENO: result: yes" >&5
5003 echo "${ECHO_T}yes" >&6
5005 echo "$as_me:$LINENO: result: no" >&5
5006 echo "${ECHO_T}no" >&6
5011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5012 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5014 # Check whether --enable-debugreport or --disable-debugreport was given.
5015 if test "${enable_debugreport+set}" = set; then
5016 enableval="$enable_debugreport"
5018 if test "$enableval" = yes; then
5019 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
5021 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
5026 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5027 if test "x$LINE" != x ; then
5028 eval "DEFAULT_$LINE"
5033 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
5037 eval "$ac_cv_use_debugreport"
5038 if test "$no_cache" != 1; then
5039 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5042 if test "$wxUSE_DEBUGREPORT" = yes; then
5043 echo "$as_me:$LINENO: result: yes" >&5
5044 echo "${ECHO_T}yes" >&6
5046 echo "$as_me:$LINENO: result: no" >&5
5047 echo "${ECHO_T}no" >&6
5052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5055 # Check whether --enable-dialupman or --disable-dialupman was given.
5056 if test "${enable_dialupman+set}" = set; then
5057 enableval="$enable_dialupman"
5059 if test "$enableval" = yes; then
5060 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
5062 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
5067 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5068 if test "x$LINE" != x ; then
5069 eval "DEFAULT_$LINE"
5074 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
5078 eval "$ac_cv_use_dialupman"
5079 if test "$no_cache" != 1; then
5080 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5083 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5084 echo "$as_me:$LINENO: result: yes" >&5
5085 echo "${ECHO_T}yes" >&6
5087 echo "$as_me:$LINENO: result: no" >&5
5088 echo "${ECHO_T}no" >&6
5093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5094 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5096 # Check whether --enable-dynlib or --disable-dynlib was given.
5097 if test "${enable_dynlib+set}" = set; then
5098 enableval="$enable_dynlib"
5100 if test "$enableval" = yes; then
5101 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5103 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5108 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5109 if test "x$LINE" != x ; then
5110 eval "DEFAULT_$LINE"
5115 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5119 eval "$ac_cv_use_dynlib"
5120 if test "$no_cache" != 1; then
5121 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5124 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5125 echo "$as_me:$LINENO: result: yes" >&5
5126 echo "${ECHO_T}yes" >&6
5128 echo "$as_me:$LINENO: result: no" >&5
5129 echo "${ECHO_T}no" >&6
5134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5135 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5137 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5138 if test "${enable_dynamicloader+set}" = set; then
5139 enableval="$enable_dynamicloader"
5141 if test "$enableval" = yes; then
5142 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5144 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5149 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5150 if test "x$LINE" != x ; then
5151 eval "DEFAULT_$LINE"
5156 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5160 eval "$ac_cv_use_dynamicloader"
5161 if test "$no_cache" != 1; then
5162 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5165 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5166 echo "$as_me:$LINENO: result: yes" >&5
5167 echo "${ECHO_T}yes" >&6
5169 echo "$as_me:$LINENO: result: no" >&5
5170 echo "${ECHO_T}no" >&6
5175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5178 # Check whether --enable-exceptions or --disable-exceptions was given.
5179 if test "${enable_exceptions+set}" = set; then
5180 enableval="$enable_exceptions"
5182 if test "$enableval" = yes; then
5183 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5185 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5190 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x ; then
5192 eval "DEFAULT_$LINE"
5197 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5201 eval "$ac_cv_use_exceptions"
5202 if test "$no_cache" != 1; then
5203 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5206 if test "$wxUSE_EXCEPTIONS" = yes; then
5207 echo "$as_me:$LINENO: result: yes" >&5
5208 echo "${ECHO_T}yes" >&6
5210 echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5217 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5219 # Check whether --enable-ffile or --disable-ffile was given.
5220 if test "${enable_ffile+set}" = set; then
5221 enableval="$enable_ffile"
5223 if test "$enableval" = yes; then
5224 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5226 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5231 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x ; then
5233 eval "DEFAULT_$LINE"
5238 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5242 eval "$ac_cv_use_ffile"
5243 if test "$no_cache" != 1; then
5244 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5247 if test "$wxUSE_FFILE" = yes; then
5248 echo "$as_me:$LINENO: result: yes" >&5
5249 echo "${ECHO_T}yes" >&6
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5260 # Check whether --enable-file or --disable-file was given.
5261 if test "${enable_file+set}" = set; then
5262 enableval="$enable_file"
5264 if test "$enableval" = yes; then
5265 ac_cv_use_file='wxUSE_FILE
=yes'
5267 ac_cv_use_file='wxUSE_FILE
=no
'
5272 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5273 if test "x$LINE" != x ; then
5274 eval "DEFAULT_$LINE"
5279 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5283 eval "$ac_cv_use_file"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5288 if test "$wxUSE_FILE" = yes; then
5289 echo "$as_me:$LINENO: result: yes" >&5
5290 echo "${ECHO_T}yes" >&6
5292 echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6
5298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5301 # Check whether --enable-filesystem or --disable-filesystem was given.
5302 if test "${enable_filesystem+set}" = set; then
5303 enableval="$enable_filesystem"
5305 if test "$enableval" = yes; then
5306 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5308 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5313 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x ; then
5315 eval "DEFAULT_$LINE"
5320 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5324 eval "$ac_cv_use_filesystem"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5329 if test "$wxUSE_FILESYSTEM" = yes; then
5330 echo "$as_me:$LINENO: result: yes" >&5
5331 echo "${ECHO_T}yes" >&6
5333 echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6
5339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5342 # Check whether --enable-fontmap or --disable-fontmap was given.
5343 if test "${enable_fontmap+set}" = set; then
5344 enableval="$enable_fontmap"
5346 if test "$enableval" = yes; then
5347 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5349 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5354 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x ; then
5356 eval "DEFAULT_$LINE"
5361 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5365 eval "$ac_cv_use_fontmap"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5370 if test "$wxUSE_FONTMAP" = yes; then
5371 echo "$as_me:$LINENO: result: yes" >&5
5372 echo "${ECHO_T}yes" >&6
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5381 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5383 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5384 if test "${enable_fs_inet+set}" = set; then
5385 enableval="$enable_fs_inet"
5387 if test "$enableval" = yes; then
5388 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5390 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5395 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5396 if test "x$LINE" != x ; then
5397 eval "DEFAULT_$LINE"
5402 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5406 eval "$ac_cv_use_fs_inet"
5407 if test "$no_cache" != 1; then
5408 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5411 if test "$wxUSE_FS_INET" = yes; then
5412 echo "$as_me:$LINENO: result: yes" >&5
5413 echo "${ECHO_T}yes" >&6
5415 echo "$as_me:$LINENO: result: no" >&5
5416 echo "${ECHO_T}no" >&6
5421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5422 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5424 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5425 if test "${enable_fs_zip+set}" = set; then
5426 enableval="$enable_fs_zip"
5428 if test "$enableval" = yes; then
5429 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5431 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5436 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5437 if test "x$LINE" != x ; then
5438 eval "DEFAULT_$LINE"
5443 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5447 eval "$ac_cv_use_fs_zip"
5448 if test "$no_cache" != 1; then
5449 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5452 if test "$wxUSE_FS_ZIP" = yes; then
5453 echo "$as_me:$LINENO: result: yes" >&5
5454 echo "${ECHO_T}yes" >&6
5456 echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6
5462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5463 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5465 # Check whether --enable-geometry or --disable-geometry was given.
5466 if test "${enable_geometry+set}" = set; then
5467 enableval="$enable_geometry"
5469 if test "$enableval" = yes; then
5470 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5472 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5477 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5478 if test "x$LINE" != x ; then
5479 eval "DEFAULT_$LINE"
5484 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5488 eval "$ac_cv_use_geometry"
5489 if test "$no_cache" != 1; then
5490 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5493 if test "$wxUSE_GEOMETRY" = yes; then
5494 echo "$as_me:$LINENO: result: yes" >&5
5495 echo "${ECHO_T}yes" >&6
5497 echo "$as_me:$LINENO: result: no" >&5
5498 echo "${ECHO_T}no" >&6
5503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5504 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5506 # Check whether --enable-log or --disable-log was given.
5507 if test "${enable_log+set}" = set; then
5508 enableval="$enable_log"
5510 if test "$enableval" = yes; then
5511 ac_cv_use_log='wxUSE_LOG
=yes'
5513 ac_cv_use_log='wxUSE_LOG
=no
'
5518 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5519 if test "x$LINE" != x ; then
5520 eval "DEFAULT_$LINE"
5525 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5529 eval "$ac_cv_use_log"
5530 if test "$no_cache" != 1; then
5531 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5534 if test "$wxUSE_LOG" = yes; then
5535 echo "$as_me:$LINENO: result: yes" >&5
5536 echo "${ECHO_T}yes" >&6
5538 echo "$as_me:$LINENO: result: no" >&5
5539 echo "${ECHO_T}no" >&6
5544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5547 # Check whether --enable-longlong or --disable-longlong was given.
5548 if test "${enable_longlong+set}" = set; then
5549 enableval="$enable_longlong"
5551 if test "$enableval" = yes; then
5552 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5554 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5559 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5560 if test "x$LINE" != x ; then
5561 eval "DEFAULT_$LINE"
5566 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5570 eval "$ac_cv_use_longlong"
5571 if test "$no_cache" != 1; then
5572 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5575 if test "$wxUSE_LONGLONG" = yes; then
5576 echo "$as_me:$LINENO: result: yes" >&5
5577 echo "${ECHO_T}yes" >&6
5579 echo "$as_me:$LINENO: result: no" >&5
5580 echo "${ECHO_T}no" >&6
5585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5586 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5588 # Check whether --enable-mimetype or --disable-mimetype was given.
5589 if test "${enable_mimetype+set}" = set; then
5590 enableval="$enable_mimetype"
5592 if test "$enableval" = yes; then
5593 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5595 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5600 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5601 if test "x$LINE" != x ; then
5602 eval "DEFAULT_$LINE"
5607 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5611 eval "$ac_cv_use_mimetype"
5612 if test "$no_cache" != 1; then
5613 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5616 if test "$wxUSE_MIMETYPE" = yes; then
5617 echo "$as_me:$LINENO: result: yes" >&5
5618 echo "${ECHO_T}yes" >&6
5620 echo "$as_me:$LINENO: result: no" >&5
5621 echo "${ECHO_T}no" >&6
5626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5629 # Check whether --enable-mslu or --disable-mslu was given.
5630 if test "${enable_mslu+set}" = set; then
5631 enableval="$enable_mslu"
5633 if test "$enableval" = yes; then
5634 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5636 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5641 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5642 if test "x$LINE" != x ; then
5643 eval "DEFAULT_$LINE"
5648 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5652 eval "$ac_cv_use_mslu"
5653 if test "$no_cache" != 1; then
5654 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5657 if test "$wxUSE_UNICODE_MSLU" = yes; then
5658 echo "$as_me:$LINENO: result: yes" >&5
5659 echo "${ECHO_T}yes" >&6
5661 echo "$as_me:$LINENO: result: no" >&5
5662 echo "${ECHO_T}no" >&6
5667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5668 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5670 # Check whether --enable-snglinst or --disable-snglinst was given.
5671 if test "${enable_snglinst+set}" = set; then
5672 enableval="$enable_snglinst"
5674 if test "$enableval" = yes; then
5675 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5677 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5682 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5683 if test "x$LINE" != x ; then
5684 eval "DEFAULT_$LINE"
5689 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5693 eval "$ac_cv_use_snglinst"
5694 if test "$no_cache" != 1; then
5695 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5698 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5699 echo "$as_me:$LINENO: result: yes" >&5
5700 echo "${ECHO_T}yes" >&6
5702 echo "$as_me:$LINENO: result: no" >&5
5703 echo "${ECHO_T}no" >&6
5708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5711 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5712 if test "${enable_std_iostreams+set}" = set; then
5713 enableval="$enable_std_iostreams"
5715 if test "$enableval" = yes; then
5716 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5718 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5723 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5724 if test "x$LINE" != x ; then
5725 eval "DEFAULT_$LINE"
5730 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5734 eval "$ac_cv_use_std_iostreams"
5735 if test "$no_cache" != 1; then
5736 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5739 if test "$wxUSE_STD_IOSTREAM" = yes; then
5740 echo "$as_me:$LINENO: result: yes" >&5
5741 echo "${ECHO_T}yes" >&6
5743 echo "$as_me:$LINENO: result: no" >&5
5744 echo "${ECHO_T}no" >&6
5749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5750 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5752 # Check whether --enable-std_string or --disable-std_string was given.
5753 if test "${enable_std_string+set}" = set; then
5754 enableval="$enable_std_string"
5756 if test "$enableval" = yes; then
5757 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
5759 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
5764 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5765 if test "x$LINE" != x ; then
5766 eval "DEFAULT_$LINE"
5771 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
5775 eval "$ac_cv_use_std_string"
5776 if test "$no_cache" != 1; then
5777 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5780 if test "$wxUSE_STD_STRING" = yes; then
5781 echo "$as_me:$LINENO: result: yes" >&5
5782 echo "${ECHO_T}yes" >&6
5784 echo "$as_me:$LINENO: result: no" >&5
5785 echo "${ECHO_T}no" >&6
5790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5791 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5793 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5794 if test "${enable_stdpaths+set}" = set; then
5795 enableval="$enable_stdpaths"
5797 if test "$enableval" = yes; then
5798 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
5800 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
5805 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5806 if test "x$LINE" != x ; then
5807 eval "DEFAULT_$LINE"
5812 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
5816 eval "$ac_cv_use_stdpaths"
5817 if test "$no_cache" != 1; then
5818 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5821 if test "$wxUSE_STDPATHS" = yes; then
5822 echo "$as_me:$LINENO: result: yes" >&5
5823 echo "${ECHO_T}yes" >&6
5825 echo "$as_me:$LINENO: result: no" >&5
5826 echo "${ECHO_T}no" >&6
5831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5832 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5834 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5835 if test "${enable_stopwatch+set}" = set; then
5836 enableval="$enable_stopwatch"
5838 if test "$enableval" = yes; then
5839 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5841 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5846 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5847 if test "x$LINE" != x ; then
5848 eval "DEFAULT_$LINE"
5853 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5857 eval "$ac_cv_use_stopwatch"
5858 if test "$no_cache" != 1; then
5859 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5862 if test "$wxUSE_STOPWATCH" = yes; then
5863 echo "$as_me:$LINENO: result: yes" >&5
5864 echo "${ECHO_T}yes" >&6
5866 echo "$as_me:$LINENO: result: no" >&5
5867 echo "${ECHO_T}no" >&6
5872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5873 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5875 # Check whether --enable-streams or --disable-streams was given.
5876 if test "${enable_streams+set}" = set; then
5877 enableval="$enable_streams"
5879 if test "$enableval" = yes; then
5880 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5882 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5887 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5888 if test "x$LINE" != x ; then
5889 eval "DEFAULT_$LINE"
5894 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5898 eval "$ac_cv_use_streams"
5899 if test "$no_cache" != 1; then
5900 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5903 if test "$wxUSE_STREAMS" = yes; then
5904 echo "$as_me:$LINENO: result: yes" >&5
5905 echo "${ECHO_T}yes" >&6
5907 echo "$as_me:$LINENO: result: no" >&5
5908 echo "${ECHO_T}no" >&6
5913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5914 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5916 # Check whether --enable-system_options or --disable-system_options was given.
5917 if test "${enable_system_options+set}" = set; then
5918 enableval="$enable_system_options"
5920 if test "$enableval" = yes; then
5921 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5923 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5928 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5929 if test "x$LINE" != x ; then
5930 eval "DEFAULT_$LINE"
5935 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5939 eval "$ac_cv_use_system_options"
5940 if test "$no_cache" != 1; then
5941 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5944 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5945 echo "$as_me:$LINENO: result: yes" >&5
5946 echo "${ECHO_T}yes" >&6
5948 echo "$as_me:$LINENO: result: no" >&5
5949 echo "${ECHO_T}no" >&6
5954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5955 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5957 # Check whether --enable-textbuf or --disable-textbuf was given.
5958 if test "${enable_textbuf+set}" = set; then
5959 enableval="$enable_textbuf"
5961 if test "$enableval" = yes; then
5962 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5964 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5969 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5970 if test "x$LINE" != x ; then
5971 eval "DEFAULT_$LINE"
5976 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5980 eval "$ac_cv_use_textbuf"
5981 if test "$no_cache" != 1; then
5982 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5985 if test "$wxUSE_TEXTBUFFER" = yes; then
5986 echo "$as_me:$LINENO: result: yes" >&5
5987 echo "${ECHO_T}yes" >&6
5989 echo "$as_me:$LINENO: result: no" >&5
5990 echo "${ECHO_T}no" >&6
5995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5996 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5998 # Check whether --enable-textfile or --disable-textfile was given.
5999 if test "${enable_textfile+set}" = set; then
6000 enableval="$enable_textfile"
6002 if test "$enableval" = yes; then
6003 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
6005 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
6010 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6011 if test "x$LINE" != x ; then
6012 eval "DEFAULT_$LINE"
6017 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
6021 eval "$ac_cv_use_textfile"
6022 if test "$no_cache" != 1; then
6023 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6026 if test "$wxUSE_TEXTFILE" = yes; then
6027 echo "$as_me:$LINENO: result: yes" >&5
6028 echo "${ECHO_T}yes" >&6
6030 echo "$as_me:$LINENO: result: no" >&5
6031 echo "${ECHO_T}no" >&6
6036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6037 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6039 # Check whether --enable-timer or --disable-timer was given.
6040 if test "${enable_timer+set}" = set; then
6041 enableval="$enable_timer"
6043 if test "$enableval" = yes; then
6044 ac_cv_use_timer='wxUSE_TIMER
=yes'
6046 ac_cv_use_timer='wxUSE_TIMER
=no
'
6051 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6052 if test "x$LINE" != x ; then
6053 eval "DEFAULT_$LINE"
6058 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
6062 eval "$ac_cv_use_timer"
6063 if test "$no_cache" != 1; then
6064 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6067 if test "$wxUSE_TIMER" = yes; then
6068 echo "$as_me:$LINENO: result: yes" >&5
6069 echo "${ECHO_T}yes" >&6
6071 echo "$as_me:$LINENO: result: no" >&5
6072 echo "${ECHO_T}no" >&6
6077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6078 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6080 # Check whether --enable-unicode or --disable-unicode was given.
6081 if test "${enable_unicode+set}" = set; then
6082 enableval="$enable_unicode"
6084 if test "$enableval" = yes; then
6085 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
6087 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
6092 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6093 if test "x$LINE" != x ; then
6094 eval "DEFAULT_$LINE"
6099 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6103 eval "$ac_cv_use_unicode"
6104 if test "$no_cache" != 1; then
6105 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6108 if test "$wxUSE_UNICODE" = yes; then
6109 echo "$as_me:$LINENO: result: yes" >&5
6110 echo "${ECHO_T}yes" >&6
6112 echo "$as_me:$LINENO: result: no" >&5
6113 echo "${ECHO_T}no" >&6
6118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6119 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6121 # Check whether --enable-sound or --disable-sound was given.
6122 if test "${enable_sound+set}" = set; then
6123 enableval="$enable_sound"
6125 if test "$enableval" = yes; then
6126 ac_cv_use_sound='wxUSE_SOUND
=yes'
6128 ac_cv_use_sound='wxUSE_SOUND
=no
'
6133 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6140 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6144 eval "$ac_cv_use_sound"
6145 if test "$no_cache" != 1; then
6146 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6149 if test "$wxUSE_SOUND" = yes; then
6150 echo "$as_me:$LINENO: result: yes" >&5
6151 echo "${ECHO_T}yes" >&6
6153 echo "$as_me:$LINENO: result: no" >&5
6154 echo "${ECHO_T}no" >&6
6159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6160 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6162 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6163 if test "${enable_mediactrl+set}" = set; then
6164 enableval="$enable_mediactrl"
6166 if test "$enableval" = yes; then
6167 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6169 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6174 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6175 if test "x$LINE" != x ; then
6176 eval "DEFAULT_$LINE"
6181 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6185 eval "$ac_cv_use_mediactrl"
6186 if test "$no_cache" != 1; then
6187 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6190 if test "$wxUSE_MEDIACTRL" = yes; then
6191 echo "$as_me:$LINENO: result: yes" >&5
6192 echo "${ECHO_T}yes" >&6
6194 echo "$as_me:$LINENO: result: no" >&5
6195 echo "${ECHO_T}no" >&6
6200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6201 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6203 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6204 if test "${enable_wxprintfv+set}" = set; then
6205 enableval="$enable_wxprintfv"
6207 if test "$enableval" = yes; then
6208 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
6210 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
6215 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6216 if test "x$LINE" != x ; then
6217 eval "DEFAULT_$LINE"
6222 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6226 eval "$ac_cv_use_wxprintfv"
6227 if test "$no_cache" != 1; then
6228 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6231 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6232 echo "$as_me:$LINENO: result: yes" >&5
6233 echo "${ECHO_T}yes" >&6
6235 echo "$as_me:$LINENO: result: no" >&5
6236 echo "${ECHO_T}no" >&6
6241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6244 # Check whether --enable-zipstream or --disable-zipstream was given.
6245 if test "${enable_zipstream+set}" = set; then
6246 enableval="$enable_zipstream"
6248 if test "$enableval" = yes; then
6249 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6251 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6256 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6263 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6267 eval "$ac_cv_use_zipstream"
6268 if test "$no_cache" != 1; then
6269 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6272 if test "$wxUSE_ZIPSTREAM" = yes; then
6273 echo "$as_me:$LINENO: result: yes" >&5
6274 echo "${ECHO_T}yes" >&6
6276 echo "$as_me:$LINENO: result: no" >&5
6277 echo "${ECHO_T}no" >&6
6283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6284 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6286 # Check whether --enable-url or --disable-url was given.
6287 if test "${enable_url+set}" = set; then
6288 enableval="$enable_url"
6290 if test "$enableval" = yes; then
6291 ac_cv_use_url='wxUSE_URL
=yes'
6293 ac_cv_use_url='wxUSE_URL
=no
'
6298 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6299 if test "x$LINE" != x ; then
6300 eval "DEFAULT_$LINE"
6305 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6309 eval "$ac_cv_use_url"
6310 if test "$no_cache" != 1; then
6311 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6314 if test "$wxUSE_URL" = yes; then
6315 echo "$as_me:$LINENO: result: yes" >&5
6316 echo "${ECHO_T}yes" >&6
6318 echo "$as_me:$LINENO: result: no" >&5
6319 echo "${ECHO_T}no" >&6
6324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6325 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6327 # Check whether --enable-protocol or --disable-protocol was given.
6328 if test "${enable_protocol+set}" = set; then
6329 enableval="$enable_protocol"
6331 if test "$enableval" = yes; then
6332 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6334 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6339 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6340 if test "x$LINE" != x ; then
6341 eval "DEFAULT_$LINE"
6346 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6350 eval "$ac_cv_use_protocol"
6351 if test "$no_cache" != 1; then
6352 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6355 if test "$wxUSE_PROTOCOL" = yes; then
6356 echo "$as_me:$LINENO: result: yes" >&5
6357 echo "${ECHO_T}yes" >&6
6359 echo "$as_me:$LINENO: result: no" >&5
6360 echo "${ECHO_T}no" >&6
6365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6368 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6369 if test "${enable_protocol_http+set}" = set; then
6370 enableval="$enable_protocol_http"
6372 if test "$enableval" = yes; then
6373 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6375 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6380 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6381 if test "x$LINE" != x ; then
6382 eval "DEFAULT_$LINE"
6387 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6391 eval "$ac_cv_use_protocol_http"
6392 if test "$no_cache" != 1; then
6393 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6396 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6397 echo "$as_me:$LINENO: result: yes" >&5
6398 echo "${ECHO_T}yes" >&6
6400 echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6
6406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6407 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6409 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6410 if test "${enable_protocol_ftp+set}" = set; then
6411 enableval="$enable_protocol_ftp"
6413 if test "$enableval" = yes; then
6414 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6416 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6421 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6422 if test "x$LINE" != x ; then
6423 eval "DEFAULT_$LINE"
6428 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6432 eval "$ac_cv_use_protocol_ftp"
6433 if test "$no_cache" != 1; then
6434 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6437 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6438 echo "$as_me:$LINENO: result: yes" >&5
6439 echo "${ECHO_T}yes" >&6
6441 echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6
6447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6448 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6450 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6451 if test "${enable_protocol_file+set}" = set; then
6452 enableval="$enable_protocol_file"
6454 if test "$enableval" = yes; then
6455 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6457 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6462 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6463 if test "x$LINE" != x ; then
6464 eval "DEFAULT_$LINE"
6469 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6473 eval "$ac_cv_use_protocol_file"
6474 if test "$no_cache" != 1; then
6475 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6478 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6479 echo "$as_me:$LINENO: result: yes" >&5
6480 echo "${ECHO_T}yes" >&6
6482 echo "$as_me:$LINENO: result: no" >&5
6483 echo "${ECHO_T}no" >&6
6491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6492 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6494 # Check whether --enable-threads or --disable-threads was given.
6495 if test "${enable_threads+set}" = set; then
6496 enableval="$enable_threads"
6498 if test "$enableval" = yes; then
6499 ac_cv_use_threads='wxUSE_THREADS
=yes'
6501 ac_cv_use_threads='wxUSE_THREADS
=no
'
6506 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6507 if test "x$LINE" != x ; then
6508 eval "DEFAULT_$LINE"
6513 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6517 eval "$ac_cv_use_threads"
6518 if test "$no_cache" != 1; then
6519 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6522 if test "$wxUSE_THREADS" = yes; then
6523 echo "$as_me:$LINENO: result: yes" >&5
6524 echo "${ECHO_T}yes" >&6
6526 echo "$as_me:$LINENO: result: no" >&5
6527 echo "${ECHO_T}no" >&6
6531 if test "$wxUSE_GUI" = "yes"; then
6536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6537 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6539 # Check whether --enable-docview or --disable-docview was given.
6540 if test "${enable_docview+set}" = set; then
6541 enableval="$enable_docview"
6543 if test "$enableval" = yes; then
6544 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6546 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6551 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6552 if test "x$LINE" != x ; then
6553 eval "DEFAULT_$LINE"
6558 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6562 eval "$ac_cv_use_docview"
6563 if test "$no_cache" != 1; then
6564 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6567 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6568 echo "$as_me:$LINENO: result: yes" >&5
6569 echo "${ECHO_T}yes" >&6
6571 echo "$as_me:$LINENO: result: no" >&5
6572 echo "${ECHO_T}no" >&6
6577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6578 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6580 # Check whether --enable-help or --disable-help was given.
6581 if test "${enable_help+set}" = set; then
6582 enableval="$enable_help"
6584 if test "$enableval" = yes; then
6585 ac_cv_use_help='wxUSE_HELP
=yes'
6587 ac_cv_use_help='wxUSE_HELP
=no
'
6592 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6593 if test "x$LINE" != x ; then
6594 eval "DEFAULT_$LINE"
6599 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
6603 eval "$ac_cv_use_help"
6604 if test "$no_cache" != 1; then
6605 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6608 if test "$wxUSE_HELP" = yes; then
6609 echo "$as_me:$LINENO: result: yes" >&5
6610 echo "${ECHO_T}yes" >&6
6612 echo "$as_me:$LINENO: result: no" >&5
6613 echo "${ECHO_T}no" >&6
6618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6619 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6621 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6622 if test "${enable_mshtmlhelp+set}" = set; then
6623 enableval="$enable_mshtmlhelp"
6625 if test "$enableval" = yes; then
6626 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
6628 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
6633 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6634 if test "x$LINE" != x ; then
6635 eval "DEFAULT_$LINE"
6640 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
6644 eval "$ac_cv_use_mshtmlhelp"
6645 if test "$no_cache" != 1; then
6646 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6649 if test "$wxUSE_MS_HTML_HELP" = yes; then
6650 echo "$as_me:$LINENO: result: yes" >&5
6651 echo "${ECHO_T}yes" >&6
6653 echo "$as_me:$LINENO: result: no" >&5
6654 echo "${ECHO_T}no" >&6
6659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6660 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6662 # Check whether --enable-html or --disable-html was given.
6663 if test "${enable_html+set}" = set; then
6664 enableval="$enable_html"
6666 if test "$enableval" = yes; then
6667 ac_cv_use_html='wxUSE_HTML
=yes'
6669 ac_cv_use_html='wxUSE_HTML
=no
'
6674 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6675 if test "x$LINE" != x ; then
6676 eval "DEFAULT_$LINE"
6681 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6685 eval "$ac_cv_use_html"
6686 if test "$no_cache" != 1; then
6687 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6690 if test "$wxUSE_HTML" = yes; then
6691 echo "$as_me:$LINENO: result: yes" >&5
6692 echo "${ECHO_T}yes" >&6
6694 echo "$as_me:$LINENO: result: no" >&5
6695 echo "${ECHO_T}no" >&6
6700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6701 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6703 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6704 if test "${enable_htmlhelp+set}" = set; then
6705 enableval="$enable_htmlhelp"
6707 if test "$enableval" = yes; then
6708 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6710 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6715 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6716 if test "x$LINE" != x ; then
6717 eval "DEFAULT_$LINE"
6722 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6726 eval "$ac_cv_use_htmlhelp"
6727 if test "$no_cache" != 1; then
6728 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6731 if test "$wxUSE_WXHTML_HELP" = yes; then
6732 echo "$as_me:$LINENO: result: yes" >&5
6733 echo "${ECHO_T}yes" >&6
6735 echo "$as_me:$LINENO: result: no" >&5
6736 echo "${ECHO_T}no" >&6
6741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6742 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6744 # Check whether --enable-xrc or --disable-xrc was given.
6745 if test "${enable_xrc+set}" = set; then
6746 enableval="$enable_xrc"
6748 if test "$enableval" = yes; then
6749 ac_cv_use_xrc='wxUSE_XRC
=yes'
6751 ac_cv_use_xrc='wxUSE_XRC
=no
'
6756 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6757 if test "x$LINE" != x ; then
6758 eval "DEFAULT_$LINE"
6763 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
6767 eval "$ac_cv_use_xrc"
6768 if test "$no_cache" != 1; then
6769 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6772 if test "$wxUSE_XRC" = yes; then
6773 echo "$as_me:$LINENO: result: yes" >&5
6774 echo "${ECHO_T}yes" >&6
6776 echo "$as_me:$LINENO: result: no" >&5
6777 echo "${ECHO_T}no" >&6
6782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6783 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6785 # Check whether --enable-constraints or --disable-constraints was given.
6786 if test "${enable_constraints+set}" = set; then
6787 enableval="$enable_constraints"
6789 if test "$enableval" = yes; then
6790 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6792 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6797 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6798 if test "x$LINE" != x ; then
6799 eval "DEFAULT_$LINE"
6804 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6808 eval "$ac_cv_use_constraints"
6809 if test "$no_cache" != 1; then
6810 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6813 if test "$wxUSE_CONSTRAINTS" = yes; then
6814 echo "$as_me:$LINENO: result: yes" >&5
6815 echo "${ECHO_T}yes" >&6
6817 echo "$as_me:$LINENO: result: no" >&5
6818 echo "${ECHO_T}no" >&6
6823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6824 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6826 # Check whether --enable-printarch or --disable-printarch was given.
6827 if test "${enable_printarch+set}" = set; then
6828 enableval="$enable_printarch"
6830 if test "$enableval" = yes; then
6831 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6833 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6838 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6839 if test "x$LINE" != x ; then
6840 eval "DEFAULT_$LINE"
6845 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6849 eval "$ac_cv_use_printarch"
6850 if test "$no_cache" != 1; then
6851 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6854 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6855 echo "$as_me:$LINENO: result: yes" >&5
6856 echo "${ECHO_T}yes" >&6
6858 echo "$as_me:$LINENO: result: no" >&5
6859 echo "${ECHO_T}no" >&6
6864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6865 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6867 # Check whether --enable-mdi or --disable-mdi was given.
6868 if test "${enable_mdi+set}" = set; then
6869 enableval="$enable_mdi"
6871 if test "$enableval" = yes; then
6872 ac_cv_use_mdi='wxUSE_MDI
=yes'
6874 ac_cv_use_mdi='wxUSE_MDI
=no
'
6879 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6880 if test "x$LINE" != x ; then
6881 eval "DEFAULT_$LINE"
6886 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
6890 eval "$ac_cv_use_mdi"
6891 if test "$no_cache" != 1; then
6892 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6895 if test "$wxUSE_MDI" = yes; then
6896 echo "$as_me:$LINENO: result: yes" >&5
6897 echo "${ECHO_T}yes" >&6
6899 echo "$as_me:$LINENO: result: no" >&5
6900 echo "${ECHO_T}no" >&6
6905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6906 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6908 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6909 if test "${enable_mdidoc+set}" = set; then
6910 enableval="$enable_mdidoc"
6912 if test "$enableval" = yes; then
6913 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
6915 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
6920 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6921 if test "x$LINE" != x ; then
6922 eval "DEFAULT_$LINE"
6927 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6931 eval "$ac_cv_use_mdidoc"
6932 if test "$no_cache" != 1; then
6933 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6936 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6937 echo "$as_me:$LINENO: result: yes" >&5
6938 echo "${ECHO_T}yes" >&6
6940 echo "$as_me:$LINENO: result: no" >&5
6941 echo "${ECHO_T}no" >&6
6946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6947 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6949 # Check whether --enable-loggui or --disable-loggui was given.
6950 if test "${enable_loggui+set}" = set; then
6951 enableval="$enable_loggui"
6953 if test "$enableval" = yes; then
6954 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6956 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6961 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6962 if test "x$LINE" != x ; then
6963 eval "DEFAULT_$LINE"
6968 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6972 eval "$ac_cv_use_loggui"
6973 if test "$no_cache" != 1; then
6974 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6977 if test "$wxUSE_LOGGUI" = yes; then
6978 echo "$as_me:$LINENO: result: yes" >&5
6979 echo "${ECHO_T}yes" >&6
6981 echo "$as_me:$LINENO: result: no" >&5
6982 echo "${ECHO_T}no" >&6
6987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6988 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6990 # Check whether --enable-logwin or --disable-logwin was given.
6991 if test "${enable_logwin+set}" = set; then
6992 enableval="$enable_logwin"
6994 if test "$enableval" = yes; then
6995 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6997 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
7002 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7003 if test "x$LINE" != x ; then
7004 eval "DEFAULT_$LINE"
7009 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
7013 eval "$ac_cv_use_logwin"
7014 if test "$no_cache" != 1; then
7015 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7018 if test "$wxUSE_LOGWINDOW" = yes; then
7019 echo "$as_me:$LINENO: result: yes" >&5
7020 echo "${ECHO_T}yes" >&6
7022 echo "$as_me:$LINENO: result: no" >&5
7023 echo "${ECHO_T}no" >&6
7028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7029 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7031 # Check whether --enable-logdialog or --disable-logdialog was given.
7032 if test "${enable_logdialog+set}" = set; then
7033 enableval="$enable_logdialog"
7035 if test "$enableval" = yes; then
7036 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
7038 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
7043 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7044 if test "x$LINE" != x ; then
7045 eval "DEFAULT_$LINE"
7050 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
7054 eval "$ac_cv_use_logdialog"
7055 if test "$no_cache" != 1; then
7056 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7059 if test "$wxUSE_LOGDIALOG" = yes; then
7060 echo "$as_me:$LINENO: result: yes" >&5
7061 echo "${ECHO_T}yes" >&6
7063 echo "$as_me:$LINENO: result: no" >&5
7064 echo "${ECHO_T}no" >&6
7069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7070 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7072 # Check whether --enable-webkit or --disable-webkit was given.
7073 if test "${enable_webkit+set}" = set; then
7074 enableval="$enable_webkit"
7076 if test "$enableval" = yes; then
7077 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
7079 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
7084 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7085 if test "x$LINE" != x ; then
7086 eval "DEFAULT_$LINE"
7091 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
7095 eval "$ac_cv_use_webkit"
7096 if test "$no_cache" != 1; then
7097 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7100 if test "$wxUSE_WEBKIT" = yes; then
7101 echo "$as_me:$LINENO: result: yes" >&5
7102 echo "${ECHO_T}yes" >&6
7104 echo "$as_me:$LINENO: result: no" >&5
7105 echo "${ECHO_T}no" >&6
7110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7111 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7113 # Check whether --enable-html or --disable-html was given.
7114 if test "${enable_html+set}" = set; then
7115 enableval="$enable_html"
7117 if test "$enableval" = yes; then
7118 ac_cv_use_html='wxUSE_RICHTEXT
=yes'
7120 ac_cv_use_html='wxUSE_RICHTEXT
=no
'
7125 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7126 if test "x$LINE" != x ; then
7127 eval "DEFAULT_$LINE"
7132 ac_cv_use_html='wxUSE_RICHTEXT
='$DEFAULT_wxUSE_RICHTEXT
7136 eval "$ac_cv_use_html"
7137 if test "$no_cache" != 1; then
7138 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7141 if test "$wxUSE_RICHTEXT" = yes; then
7142 echo "$as_me:$LINENO: result: yes" >&5
7143 echo "${ECHO_T}yes" >&6
7145 echo "$as_me:$LINENO: result: no" >&5
7146 echo "${ECHO_T}no" >&6
7152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7153 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7155 # Check whether --enable-postscript or --disable-postscript was given.
7156 if test "${enable_postscript+set}" = set; then
7157 enableval="$enable_postscript"
7159 if test "$enableval" = yes; then
7160 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7162 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7167 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x ; then
7169 eval "DEFAULT_$LINE"
7174 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7178 eval "$ac_cv_use_postscript"
7179 if test "$no_cache" != 1; then
7180 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7183 if test "$wxUSE_POSTSCRIPT" = yes; then
7184 echo "$as_me:$LINENO: result: yes" >&5
7185 echo "${ECHO_T}yes" >&6
7187 echo "$as_me:$LINENO: result: no" >&5
7188 echo "${ECHO_T}no" >&6
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7199 # Check whether --enable-prologio or --disable-prologio was given.
7200 if test "${enable_prologio+set}" = set; then
7201 enableval="$enable_prologio"
7203 if test "$enableval" = yes; then
7204 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7206 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7211 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7218 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7222 eval "$ac_cv_use_prologio"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7227 if test "$wxUSE_PROLOGIO" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7240 # Check whether --enable-resources or --disable-resources was given.
7241 if test "${enable_resources+set}" = set; then
7242 enableval="$enable_resources"
7244 if test "$enableval" = yes; then
7245 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7247 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7252 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x ; then
7254 eval "DEFAULT_$LINE"
7259 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7263 eval "$ac_cv_use_resources"
7264 if test "$no_cache" != 1; then
7265 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7268 if test "$wxUSE_RESOURCES" = yes; then
7269 echo "$as_me:$LINENO: result: yes" >&5
7270 echo "${ECHO_T}yes" >&6
7272 echo "$as_me:$LINENO: result: no" >&5
7273 echo "${ECHO_T}no" >&6
7280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7281 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7283 # Check whether --enable-clipboard or --disable-clipboard was given.
7284 if test "${enable_clipboard+set}" = set; then
7285 enableval="$enable_clipboard"
7287 if test "$enableval" = yes; then
7288 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7290 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7295 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7296 if test "x$LINE" != x ; then
7297 eval "DEFAULT_$LINE"
7302 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7306 eval "$ac_cv_use_clipboard"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7311 if test "$wxUSE_CLIPBOARD" = yes; then
7312 echo "$as_me:$LINENO: result: yes" >&5
7313 echo "${ECHO_T}yes" >&6
7315 echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6
7321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7324 # Check whether --enable-dnd or --disable-dnd was given.
7325 if test "${enable_dnd+set}" = set; then
7326 enableval="$enable_dnd"
7328 if test "$enableval" = yes; then
7329 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7331 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7336 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x ; then
7338 eval "DEFAULT_$LINE"
7343 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7347 eval "$ac_cv_use_dnd"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7352 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7353 echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6
7356 echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6
7362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7365 # Check whether --enable-metafile or --disable-metafile was given.
7366 if test "${enable_metafile+set}" = set; then
7367 enableval="$enable_metafile"
7369 if test "$enableval" = yes; then
7370 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7372 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7377 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7378 if test "x$LINE" != x ; then
7379 eval "DEFAULT_$LINE"
7384 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7388 eval "$ac_cv_use_metafile"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7393 if test "$wxUSE_METAFILE" = yes; then
7394 echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6
7397 echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6
7406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7407 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7409 # Check whether --enable-controls or --disable-controls was given.
7410 if test "${enable_controls+set}" = set; then
7411 enableval="$enable_controls"
7413 if test "$enableval" = yes; then
7414 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7416 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7421 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7422 if test "x$LINE" != x ; then
7423 eval "DEFAULT_$LINE"
7428 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7432 eval "$ac_cv_use_controls"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7437 if test "$wxUSE_CONTROLS" = yes; then
7438 echo "$as_me:$LINENO: result: yes" >&5
7439 echo "${ECHO_T}yes" >&6
7441 echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6
7446 if test "$wxUSE_CONTROLS" = "yes"; then
7447 DEFAULT_wxUSE_ACCEL=yes
7448 DEFAULT_wxUSE_BMPBUTTON=yes
7449 DEFAULT_wxUSE_BUTTON=yes
7450 DEFAULT_wxUSE_CALCTRL=yes
7451 DEFAULT_wxUSE_CARET=yes
7452 DEFAULT_wxUSE_COMBOBOX=yes
7453 DEFAULT_wxUSE_CHECKBOX=yes
7454 DEFAULT_wxUSE_CHECKLISTBOX=yes
7455 DEFAULT_wxUSE_CHOICE=yes
7456 DEFAULT_wxUSE_CHOICEBOOK=yes
7457 DEFAULT_wxUSE_DATEPICKCTRL=yes
7458 DEFAULT_wxUSE_GAUGE=yes
7459 DEFAULT_wxUSE_GRID=yes
7460 DEFAULT_wxUSE_DATAVIEWCTRL=no
7461 DEFAULT_wxUSE_IMAGLIST=yes
7462 DEFAULT_wxUSE_LISTBOOK=yes
7463 DEFAULT_wxUSE_LISTBOX=yes
7464 DEFAULT_wxUSE_LISTCTRL=yes
7465 DEFAULT_wxUSE_NOTEBOOK=yes
7466 DEFAULT_wxUSE_RADIOBOX=yes
7467 DEFAULT_wxUSE_RADIOBTN=yes
7468 DEFAULT_wxUSE_SASH=yes
7469 DEFAULT_wxUSE_SCROLLBAR=yes
7470 DEFAULT_wxUSE_SLIDER=yes
7471 DEFAULT_wxUSE_SPINBTN=yes
7472 DEFAULT_wxUSE_SPINCTRL=yes
7473 DEFAULT_wxUSE_SPLITTER=yes
7474 DEFAULT_wxUSE_STATBMP=yes
7475 DEFAULT_wxUSE_STATBOX=yes
7476 DEFAULT_wxUSE_STATLINE=yes
7477 DEFAULT_wxUSE_STATUSBAR=yes
7478 DEFAULT_wxUSE_TAB_DIALOG=yes
7479 DEFAULT_wxUSE_TOGGLEBTN=yes
7480 DEFAULT_wxUSE_TOOLBAR=yes
7481 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7482 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7483 DEFAULT_wxUSE_TOOLTIPS=yes
7484 DEFAULT_wxUSE_TREEBOOK=yes
7485 DEFAULT_wxUSE_TREECTRL=yes
7486 DEFAULT_wxUSE_POPUPWIN=yes
7487 DEFAULT_wxUSE_TIPWINDOW=yes
7488 elif test "$wxUSE_CONTROLS" = "no"; then
7489 DEFAULT_wxUSE_ACCEL=no
7490 DEFAULT_wxUSE_BMPBUTTON=no
7491 DEFAULT_wxUSE_BUTTON=no
7492 DEFAULT_wxUSE_CALCTRL=no
7493 DEFAULT_wxUSE_CARET=no
7494 DEFAULT_wxUSE_COMBOBOX=no
7495 DEFAULT_wxUSE_CHECKBOX=no
7496 DEFAULT_wxUSE_CHECKLISTBOX=no
7497 DEFAULT_wxUSE_CHOICE=no
7498 DEFAULT_wxUSE_CHOICEBOOK=no
7499 DEFAULT_wxUSE_DATEPICKCTRL=no
7500 DEFAULT_wxUSE_GAUGE=no
7501 DEFAULT_wxUSE_GRID=no
7502 DEFAULT_wxUSE_DATAVIEWCTRL=no
7503 DEFAULT_wxUSE_IMAGLIST=no
7504 DEFAULT_wxUSE_LISTBOOK=no
7505 DEFAULT_wxUSE_LISTBOX=no
7506 DEFAULT_wxUSE_LISTCTRL=no
7507 DEFAULT_wxUSE_NOTEBOOK=no
7508 DEFAULT_wxUSE_RADIOBOX=no
7509 DEFAULT_wxUSE_RADIOBTN=no
7510 DEFAULT_wxUSE_SASH=no
7511 DEFAULT_wxUSE_SCROLLBAR=no
7512 DEFAULT_wxUSE_SLIDER=no
7513 DEFAULT_wxUSE_SPINBTN=no
7514 DEFAULT_wxUSE_SPINCTRL=no
7515 DEFAULT_wxUSE_SPLITTER=no
7516 DEFAULT_wxUSE_STATBMP=no
7517 DEFAULT_wxUSE_STATBOX=no
7518 DEFAULT_wxUSE_STATLINE=no
7519 DEFAULT_wxUSE_STATUSBAR=no
7520 DEFAULT_wxUSE_TAB_DIALOG=no
7521 DEFAULT_wxUSE_TOGGLEBTN=no
7522 DEFAULT_wxUSE_TOOLBAR=no
7523 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7524 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7525 DEFAULT_wxUSE_TOOLTIPS=no
7526 DEFAULT_wxUSE_TREEBOOK=no
7527 DEFAULT_wxUSE_TREECTRL=no
7528 DEFAULT_wxUSE_POPUPWIN=no
7529 DEFAULT_wxUSE_TIPWINDOW=no
7534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7535 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7537 # Check whether --enable-accel or --disable-accel was given.
7538 if test "${enable_accel+set}" = set; then
7539 enableval="$enable_accel"
7541 if test "$enableval" = yes; then
7542 ac_cv_use_accel='wxUSE_ACCEL
=yes'
7544 ac_cv_use_accel='wxUSE_ACCEL
=no
'
7549 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7550 if test "x$LINE" != x ; then
7551 eval "DEFAULT_$LINE"
7556 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
7560 eval "$ac_cv_use_accel"
7561 if test "$no_cache" != 1; then
7562 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7565 if test "$wxUSE_ACCEL" = yes; then
7566 echo "$as_me:$LINENO: result: yes" >&5
7567 echo "${ECHO_T}yes" >&6
7569 echo "$as_me:$LINENO: result: no" >&5
7570 echo "${ECHO_T}no" >&6
7575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7576 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7578 # Check whether --enable-button or --disable-button was given.
7579 if test "${enable_button+set}" = set; then
7580 enableval="$enable_button"
7582 if test "$enableval" = yes; then
7583 ac_cv_use_button='wxUSE_BUTTON
=yes'
7585 ac_cv_use_button='wxUSE_BUTTON
=no
'
7590 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7591 if test "x$LINE" != x ; then
7592 eval "DEFAULT_$LINE"
7597 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
7601 eval "$ac_cv_use_button"
7602 if test "$no_cache" != 1; then
7603 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7606 if test "$wxUSE_BUTTON" = yes; then
7607 echo "$as_me:$LINENO: result: yes" >&5
7608 echo "${ECHO_T}yes" >&6
7610 echo "$as_me:$LINENO: result: no" >&5
7611 echo "${ECHO_T}no" >&6
7616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7617 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7619 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7620 if test "${enable_bmpbutton+set}" = set; then
7621 enableval="$enable_bmpbutton"
7623 if test "$enableval" = yes; then
7624 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
7626 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
7631 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7632 if test "x$LINE" != x ; then
7633 eval "DEFAULT_$LINE"
7638 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
7642 eval "$ac_cv_use_bmpbutton"
7643 if test "$no_cache" != 1; then
7644 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7647 if test "$wxUSE_BMPBUTTON" = yes; then
7648 echo "$as_me:$LINENO: result: yes" >&5
7649 echo "${ECHO_T}yes" >&6
7651 echo "$as_me:$LINENO: result: no" >&5
7652 echo "${ECHO_T}no" >&6
7657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7658 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7660 # Check whether --enable-calendar or --disable-calendar was given.
7661 if test "${enable_calendar+set}" = set; then
7662 enableval="$enable_calendar"
7664 if test "$enableval" = yes; then
7665 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
7667 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
7672 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7673 if test "x$LINE" != x ; then
7674 eval "DEFAULT_$LINE"
7679 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
7683 eval "$ac_cv_use_calendar"
7684 if test "$no_cache" != 1; then
7685 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7688 if test "$wxUSE_CALCTRL" = yes; then
7689 echo "$as_me:$LINENO: result: yes" >&5
7690 echo "${ECHO_T}yes" >&6
7692 echo "$as_me:$LINENO: result: no" >&5
7693 echo "${ECHO_T}no" >&6
7698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7699 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7701 # Check whether --enable-caret or --disable-caret was given.
7702 if test "${enable_caret+set}" = set; then
7703 enableval="$enable_caret"
7705 if test "$enableval" = yes; then
7706 ac_cv_use_caret='wxUSE_CARET
=yes'
7708 ac_cv_use_caret='wxUSE_CARET
=no
'
7713 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7714 if test "x$LINE" != x ; then
7715 eval "DEFAULT_$LINE"
7720 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
7724 eval "$ac_cv_use_caret"
7725 if test "$no_cache" != 1; then
7726 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7729 if test "$wxUSE_CARET" = yes; then
7730 echo "$as_me:$LINENO: result: yes" >&5
7731 echo "${ECHO_T}yes" >&6
7733 echo "$as_me:$LINENO: result: no" >&5
7734 echo "${ECHO_T}no" >&6
7739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7740 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7742 # Check whether --enable-checkbox or --disable-checkbox was given.
7743 if test "${enable_checkbox+set}" = set; then
7744 enableval="$enable_checkbox"
7746 if test "$enableval" = yes; then
7747 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
7749 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
7754 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7755 if test "x$LINE" != x ; then
7756 eval "DEFAULT_$LINE"
7761 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
7765 eval "$ac_cv_use_checkbox"
7766 if test "$no_cache" != 1; then
7767 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7770 if test "$wxUSE_CHECKBOX" = yes; then
7771 echo "$as_me:$LINENO: result: yes" >&5
7772 echo "${ECHO_T}yes" >&6
7774 echo "$as_me:$LINENO: result: no" >&5
7775 echo "${ECHO_T}no" >&6
7780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7781 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7783 # Check whether --enable-checklst or --disable-checklst was given.
7784 if test "${enable_checklst+set}" = set; then
7785 enableval="$enable_checklst"
7787 if test "$enableval" = yes; then
7788 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7790 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7795 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7796 if test "x$LINE" != x ; then
7797 eval "DEFAULT_$LINE"
7802 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7806 eval "$ac_cv_use_checklst"
7807 if test "$no_cache" != 1; then
7808 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7811 if test "$wxUSE_CHECKLST" = yes; then
7812 echo "$as_me:$LINENO: result: yes" >&5
7813 echo "${ECHO_T}yes" >&6
7815 echo "$as_me:$LINENO: result: no" >&5
7816 echo "${ECHO_T}no" >&6
7821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7824 # Check whether --enable-choice or --disable-choice was given.
7825 if test "${enable_choice+set}" = set; then
7826 enableval="$enable_choice"
7828 if test "$enableval" = yes; then
7829 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7831 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7836 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7837 if test "x$LINE" != x ; then
7838 eval "DEFAULT_$LINE"
7843 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7847 eval "$ac_cv_use_choice"
7848 if test "$no_cache" != 1; then
7849 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7852 if test "$wxUSE_CHOICE" = yes; then
7853 echo "$as_me:$LINENO: result: yes" >&5
7854 echo "${ECHO_T}yes" >&6
7856 echo "$as_me:$LINENO: result: no" >&5
7857 echo "${ECHO_T}no" >&6
7862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7865 # Check whether --enable-choicebook or --disable-choicebook was given.
7866 if test "${enable_choicebook+set}" = set; then
7867 enableval="$enable_choicebook"
7869 if test "$enableval" = yes; then
7870 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
7872 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
7877 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7878 if test "x$LINE" != x ; then
7879 eval "DEFAULT_$LINE"
7884 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
7888 eval "$ac_cv_use_choicebook"
7889 if test "$no_cache" != 1; then
7890 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7893 if test "$wxUSE_CHOICEBOOK" = yes; then
7894 echo "$as_me:$LINENO: result: yes" >&5
7895 echo "${ECHO_T}yes" >&6
7897 echo "$as_me:$LINENO: result: no" >&5
7898 echo "${ECHO_T}no" >&6
7903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7906 # Check whether --enable-combobox or --disable-combobox was given.
7907 if test "${enable_combobox+set}" = set; then
7908 enableval="$enable_combobox"
7910 if test "$enableval" = yes; then
7911 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7913 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7918 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7919 if test "x$LINE" != x ; then
7920 eval "DEFAULT_$LINE"
7925 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7929 eval "$ac_cv_use_combobox"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7934 if test "$wxUSE_COMBOBOX" = yes; then
7935 echo "$as_me:$LINENO: result: yes" >&5
7936 echo "${ECHO_T}yes" >&6
7938 echo "$as_me:$LINENO: result: no" >&5
7939 echo "${ECHO_T}no" >&6
7944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7947 # Check whether --enable-datepick or --disable-datepick was given.
7948 if test "${enable_datepick+set}" = set; then
7949 enableval="$enable_datepick"
7951 if test "$enableval" = yes; then
7952 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
7954 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
7959 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7960 if test "x$LINE" != x ; then
7961 eval "DEFAULT_$LINE"
7966 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
7970 eval "$ac_cv_use_datepick"
7971 if test "$no_cache" != 1; then
7972 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7975 if test "$wxUSE_DATEPICKCTRL" = yes; then
7976 echo "$as_me:$LINENO: result: yes" >&5
7977 echo "${ECHO_T}yes" >&6
7979 echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6
7985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7986 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7988 # Check whether --enable-display or --disable-display was given.
7989 if test "${enable_display+set}" = set; then
7990 enableval="$enable_display"
7992 if test "$enableval" = yes; then
7993 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7995 ac_cv_use_display='wxUSE_DISPLAY
=no
'
8000 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8001 if test "x$LINE" != x ; then
8002 eval "DEFAULT_$LINE"
8007 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
8011 eval "$ac_cv_use_display"
8012 if test "$no_cache" != 1; then
8013 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8016 if test "$wxUSE_DISPLAY" = yes; then
8017 echo "$as_me:$LINENO: result: yes" >&5
8018 echo "${ECHO_T}yes" >&6
8020 echo "$as_me:$LINENO: result: no" >&5
8021 echo "${ECHO_T}no" >&6
8026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8027 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8029 # Check whether --enable-gauge or --disable-gauge was given.
8030 if test "${enable_gauge+set}" = set; then
8031 enableval="$enable_gauge"
8033 if test "$enableval" = yes; then
8034 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
8036 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
8041 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8042 if test "x$LINE" != x ; then
8043 eval "DEFAULT_$LINE"
8048 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
8052 eval "$ac_cv_use_gauge"
8053 if test "$no_cache" != 1; then
8054 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8057 if test "$wxUSE_GAUGE" = yes; then
8058 echo "$as_me:$LINENO: result: yes" >&5
8059 echo "${ECHO_T}yes" >&6
8061 echo "$as_me:$LINENO: result: no" >&5
8062 echo "${ECHO_T}no" >&6
8067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8068 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8070 # Check whether --enable-grid or --disable-grid was given.
8071 if test "${enable_grid+set}" = set; then
8072 enableval="$enable_grid"
8074 if test "$enableval" = yes; then
8075 ac_cv_use_grid='wxUSE_GRID
=yes'
8077 ac_cv_use_grid='wxUSE_GRID
=no
'
8082 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8083 if test "x$LINE" != x ; then
8084 eval "DEFAULT_$LINE"
8089 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
8093 eval "$ac_cv_use_grid"
8094 if test "$no_cache" != 1; then
8095 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8098 if test "$wxUSE_GRID" = yes; then
8099 echo "$as_me:$LINENO: result: yes" >&5
8100 echo "${ECHO_T}yes" >&6
8102 echo "$as_me:$LINENO: result: no" >&5
8103 echo "${ECHO_T}no" >&6
8108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8111 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8112 if test "${enable_dataviewctrl+set}" = set; then
8113 enableval="$enable_dataviewctrl"
8115 if test "$enableval" = yes; then
8116 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
8118 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
8123 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8124 if test "x$LINE" != x ; then
8125 eval "DEFAULT_$LINE"
8130 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
='$DEFAULT_wxUSE_DATAVIEWCTRL
8134 eval "$ac_cv_use_dataviewctrl"
8135 if test "$no_cache" != 1; then
8136 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8139 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8140 echo "$as_me:$LINENO: result: yes" >&5
8141 echo "${ECHO_T}yes" >&6
8143 echo "$as_me:$LINENO: result: no" >&5
8144 echo "${ECHO_T}no" >&6
8149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8152 # Check whether --enable-imaglist or --disable-imaglist was given.
8153 if test "${enable_imaglist+set}" = set; then
8154 enableval="$enable_imaglist"
8156 if test "$enableval" = yes; then
8157 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
8159 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
8164 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8165 if test "x$LINE" != x ; then
8166 eval "DEFAULT_$LINE"
8171 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
8175 eval "$ac_cv_use_imaglist"
8176 if test "$no_cache" != 1; then
8177 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8180 if test "$wxUSE_IMAGLIST" = yes; then
8181 echo "$as_me:$LINENO: result: yes" >&5
8182 echo "${ECHO_T}yes" >&6
8184 echo "$as_me:$LINENO: result: no" >&5
8185 echo "${ECHO_T}no" >&6
8190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8193 # Check whether --enable-listbook or --disable-listbook was given.
8194 if test "${enable_listbook+set}" = set; then
8195 enableval="$enable_listbook"
8197 if test "$enableval" = yes; then
8198 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
8200 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
8205 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8206 if test "x$LINE" != x ; then
8207 eval "DEFAULT_$LINE"
8212 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
8216 eval "$ac_cv_use_listbook"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8221 if test "$wxUSE_LISTBOOK" = yes; then
8222 echo "$as_me:$LINENO: result: yes" >&5
8223 echo "${ECHO_T}yes" >&6
8225 echo "$as_me:$LINENO: result: no" >&5
8226 echo "${ECHO_T}no" >&6
8231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8234 # Check whether --enable-listbox or --disable-listbox was given.
8235 if test "${enable_listbox+set}" = set; then
8236 enableval="$enable_listbox"
8238 if test "$enableval" = yes; then
8239 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
8241 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
8246 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8247 if test "x$LINE" != x ; then
8248 eval "DEFAULT_$LINE"
8253 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
8257 eval "$ac_cv_use_listbox"
8258 if test "$no_cache" != 1; then
8259 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8262 if test "$wxUSE_LISTBOX" = yes; then
8263 echo "$as_me:$LINENO: result: yes" >&5
8264 echo "${ECHO_T}yes" >&6
8266 echo "$as_me:$LINENO: result: no" >&5
8267 echo "${ECHO_T}no" >&6
8272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8273 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8275 # Check whether --enable-listctrl or --disable-listctrl was given.
8276 if test "${enable_listctrl+set}" = set; then
8277 enableval="$enable_listctrl"
8279 if test "$enableval" = yes; then
8280 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
8282 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
8287 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8288 if test "x$LINE" != x ; then
8289 eval "DEFAULT_$LINE"
8294 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
8298 eval "$ac_cv_use_listctrl"
8299 if test "$no_cache" != 1; then
8300 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8303 if test "$wxUSE_LISTCTRL" = yes; then
8304 echo "$as_me:$LINENO: result: yes" >&5
8305 echo "${ECHO_T}yes" >&6
8307 echo "$as_me:$LINENO: result: no" >&5
8308 echo "${ECHO_T}no" >&6
8313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8316 # Check whether --enable-notebook or --disable-notebook was given.
8317 if test "${enable_notebook+set}" = set; then
8318 enableval="$enable_notebook"
8320 if test "$enableval" = yes; then
8321 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
8323 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
8328 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8329 if test "x$LINE" != x ; then
8330 eval "DEFAULT_$LINE"
8335 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
8339 eval "$ac_cv_use_notebook"
8340 if test "$no_cache" != 1; then
8341 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8344 if test "$wxUSE_NOTEBOOK" = yes; then
8345 echo "$as_me:$LINENO: result: yes" >&5
8346 echo "${ECHO_T}yes" >&6
8348 echo "$as_me:$LINENO: result: no" >&5
8349 echo "${ECHO_T}no" >&6
8354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8355 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8357 # Check whether --enable-radiobox or --disable-radiobox was given.
8358 if test "${enable_radiobox+set}" = set; then
8359 enableval="$enable_radiobox"
8361 if test "$enableval" = yes; then
8362 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
8364 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
8369 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8370 if test "x$LINE" != x ; then
8371 eval "DEFAULT_$LINE"
8376 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
8380 eval "$ac_cv_use_radiobox"
8381 if test "$no_cache" != 1; then
8382 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8385 if test "$wxUSE_RADIOBOX" = yes; then
8386 echo "$as_me:$LINENO: result: yes" >&5
8387 echo "${ECHO_T}yes" >&6
8389 echo "$as_me:$LINENO: result: no" >&5
8390 echo "${ECHO_T}no" >&6
8395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8398 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8399 if test "${enable_radiobtn+set}" = set; then
8400 enableval="$enable_radiobtn"
8402 if test "$enableval" = yes; then
8403 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
8405 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
8410 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8411 if test "x$LINE" != x ; then
8412 eval "DEFAULT_$LINE"
8417 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
8421 eval "$ac_cv_use_radiobtn"
8422 if test "$no_cache" != 1; then
8423 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8426 if test "$wxUSE_RADIOBTN" = yes; then
8427 echo "$as_me:$LINENO: result: yes" >&5
8428 echo "${ECHO_T}yes" >&6
8430 echo "$as_me:$LINENO: result: no" >&5
8431 echo "${ECHO_T}no" >&6
8436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8437 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8439 # Check whether --enable-sash or --disable-sash was given.
8440 if test "${enable_sash+set}" = set; then
8441 enableval="$enable_sash"
8443 if test "$enableval" = yes; then
8444 ac_cv_use_sash='wxUSE_SASH
=yes'
8446 ac_cv_use_sash='wxUSE_SASH
=no
'
8451 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8452 if test "x$LINE" != x ; then
8453 eval "DEFAULT_$LINE"
8458 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
8462 eval "$ac_cv_use_sash"
8463 if test "$no_cache" != 1; then
8464 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8467 if test "$wxUSE_SASH" = yes; then
8468 echo "$as_me:$LINENO: result: yes" >&5
8469 echo "${ECHO_T}yes" >&6
8471 echo "$as_me:$LINENO: result: no" >&5
8472 echo "${ECHO_T}no" >&6
8477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8480 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8481 if test "${enable_scrollbar+set}" = set; then
8482 enableval="$enable_scrollbar"
8484 if test "$enableval" = yes; then
8485 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
8487 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
8492 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8493 if test "x$LINE" != x ; then
8494 eval "DEFAULT_$LINE"
8499 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
8503 eval "$ac_cv_use_scrollbar"
8504 if test "$no_cache" != 1; then
8505 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8508 if test "$wxUSE_SCROLLBAR" = yes; then
8509 echo "$as_me:$LINENO: result: yes" >&5
8510 echo "${ECHO_T}yes" >&6
8512 echo "$as_me:$LINENO: result: no" >&5
8513 echo "${ECHO_T}no" >&6
8518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8521 # Check whether --enable-slider or --disable-slider was given.
8522 if test "${enable_slider+set}" = set; then
8523 enableval="$enable_slider"
8525 if test "$enableval" = yes; then
8526 ac_cv_use_slider='wxUSE_SLIDER
=yes'
8528 ac_cv_use_slider='wxUSE_SLIDER
=no
'
8533 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8534 if test "x$LINE" != x ; then
8535 eval "DEFAULT_$LINE"
8540 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
8544 eval "$ac_cv_use_slider"
8545 if test "$no_cache" != 1; then
8546 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8549 if test "$wxUSE_SLIDER" = yes; then
8550 echo "$as_me:$LINENO: result: yes" >&5
8551 echo "${ECHO_T}yes" >&6
8553 echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6
8559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8560 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8562 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8563 if test "${enable_spinbtn+set}" = set; then
8564 enableval="$enable_spinbtn"
8566 if test "$enableval" = yes; then
8567 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
8569 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
8574 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8575 if test "x$LINE" != x ; then
8576 eval "DEFAULT_$LINE"
8581 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
8585 eval "$ac_cv_use_spinbtn"
8586 if test "$no_cache" != 1; then
8587 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8590 if test "$wxUSE_SPINBTN" = yes; then
8591 echo "$as_me:$LINENO: result: yes" >&5
8592 echo "${ECHO_T}yes" >&6
8594 echo "$as_me:$LINENO: result: no" >&5
8595 echo "${ECHO_T}no" >&6
8600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8601 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8603 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8604 if test "${enable_spinctrl+set}" = set; then
8605 enableval="$enable_spinctrl"
8607 if test "$enableval" = yes; then
8608 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
8610 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
8615 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8616 if test "x$LINE" != x ; then
8617 eval "DEFAULT_$LINE"
8622 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
8626 eval "$ac_cv_use_spinctrl"
8627 if test "$no_cache" != 1; then
8628 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8631 if test "$wxUSE_SPINCTRL" = yes; then
8632 echo "$as_me:$LINENO: result: yes" >&5
8633 echo "${ECHO_T}yes" >&6
8635 echo "$as_me:$LINENO: result: no" >&5
8636 echo "${ECHO_T}no" >&6
8641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8642 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8644 # Check whether --enable-splitter or --disable-splitter was given.
8645 if test "${enable_splitter+set}" = set; then
8646 enableval="$enable_splitter"
8648 if test "$enableval" = yes; then
8649 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
8651 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
8656 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8657 if test "x$LINE" != x ; then
8658 eval "DEFAULT_$LINE"
8663 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
8667 eval "$ac_cv_use_splitter"
8668 if test "$no_cache" != 1; then
8669 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8672 if test "$wxUSE_SPLITTER" = yes; then
8673 echo "$as_me:$LINENO: result: yes" >&5
8674 echo "${ECHO_T}yes" >&6
8676 echo "$as_me:$LINENO: result: no" >&5
8677 echo "${ECHO_T}no" >&6
8682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8683 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8685 # Check whether --enable-statbmp or --disable-statbmp was given.
8686 if test "${enable_statbmp+set}" = set; then
8687 enableval="$enable_statbmp"
8689 if test "$enableval" = yes; then
8690 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
8692 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
8697 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8698 if test "x$LINE" != x ; then
8699 eval "DEFAULT_$LINE"
8704 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
8708 eval "$ac_cv_use_statbmp"
8709 if test "$no_cache" != 1; then
8710 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8713 if test "$wxUSE_STATBMP" = yes; then
8714 echo "$as_me:$LINENO: result: yes" >&5
8715 echo "${ECHO_T}yes" >&6
8717 echo "$as_me:$LINENO: result: no" >&5
8718 echo "${ECHO_T}no" >&6
8723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8724 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8726 # Check whether --enable-statbox or --disable-statbox was given.
8727 if test "${enable_statbox+set}" = set; then
8728 enableval="$enable_statbox"
8730 if test "$enableval" = yes; then
8731 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
8733 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
8738 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8739 if test "x$LINE" != x ; then
8740 eval "DEFAULT_$LINE"
8745 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
8749 eval "$ac_cv_use_statbox"
8750 if test "$no_cache" != 1; then
8751 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8754 if test "$wxUSE_STATBOX" = yes; then
8755 echo "$as_me:$LINENO: result: yes" >&5
8756 echo "${ECHO_T}yes" >&6
8758 echo "$as_me:$LINENO: result: no" >&5
8759 echo "${ECHO_T}no" >&6
8764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8765 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8767 # Check whether --enable-statline or --disable-statline was given.
8768 if test "${enable_statline+set}" = set; then
8769 enableval="$enable_statline"
8771 if test "$enableval" = yes; then
8772 ac_cv_use_statline='wxUSE_STATLINE
=yes'
8774 ac_cv_use_statline='wxUSE_STATLINE
=no
'
8779 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8780 if test "x$LINE" != x ; then
8781 eval "DEFAULT_$LINE"
8786 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
8790 eval "$ac_cv_use_statline"
8791 if test "$no_cache" != 1; then
8792 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8795 if test "$wxUSE_STATLINE" = yes; then
8796 echo "$as_me:$LINENO: result: yes" >&5
8797 echo "${ECHO_T}yes" >&6
8799 echo "$as_me:$LINENO: result: no" >&5
8800 echo "${ECHO_T}no" >&6
8805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8806 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8808 # Check whether --enable-stattext or --disable-stattext was given.
8809 if test "${enable_stattext+set}" = set; then
8810 enableval="$enable_stattext"
8812 if test "$enableval" = yes; then
8813 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
8815 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
8820 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8821 if test "x$LINE" != x ; then
8822 eval "DEFAULT_$LINE"
8827 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
8831 eval "$ac_cv_use_stattext"
8832 if test "$no_cache" != 1; then
8833 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8836 if test "$wxUSE_STATTEXT" = yes; then
8837 echo "$as_me:$LINENO: result: yes" >&5
8838 echo "${ECHO_T}yes" >&6
8840 echo "$as_me:$LINENO: result: no" >&5
8841 echo "${ECHO_T}no" >&6
8846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8847 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8849 # Check whether --enable-statusbar or --disable-statusbar was given.
8850 if test "${enable_statusbar+set}" = set; then
8851 enableval="$enable_statusbar"
8853 if test "$enableval" = yes; then
8854 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
8856 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
8861 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8862 if test "x$LINE" != x ; then
8863 eval "DEFAULT_$LINE"
8868 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
8872 eval "$ac_cv_use_statusbar"
8873 if test "$no_cache" != 1; then
8874 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8877 if test "$wxUSE_STATUSBAR" = yes; then
8878 echo "$as_me:$LINENO: result: yes" >&5
8879 echo "${ECHO_T}yes" >&6
8881 echo "$as_me:$LINENO: result: no" >&5
8882 echo "${ECHO_T}no" >&6
8887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8888 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8890 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8891 if test "${enable_tabdialog+set}" = set; then
8892 enableval="$enable_tabdialog"
8894 if test "$enableval" = yes; then
8895 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
8897 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
8902 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8903 if test "x$LINE" != x ; then
8904 eval "DEFAULT_$LINE"
8909 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8913 eval "$ac_cv_use_tabdialog"
8914 if test "$no_cache" != 1; then
8915 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8918 if test "$wxUSE_TABDIALOG" = yes; then
8919 echo "$as_me:$LINENO: result: yes" >&5
8920 echo "${ECHO_T}yes" >&6
8922 echo "$as_me:$LINENO: result: no" >&5
8923 echo "${ECHO_T}no" >&6
8928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8929 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8931 # Check whether --enable-textctrl or --disable-textctrl was given.
8932 if test "${enable_textctrl+set}" = set; then
8933 enableval="$enable_textctrl"
8935 if test "$enableval" = yes; then
8936 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8938 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8943 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8944 if test "x$LINE" != x ; then
8945 eval "DEFAULT_$LINE"
8950 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8954 eval "$ac_cv_use_textctrl"
8955 if test "$no_cache" != 1; then
8956 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8959 if test "$wxUSE_TEXTCTRL" = yes; then
8960 echo "$as_me:$LINENO: result: yes" >&5
8961 echo "${ECHO_T}yes" >&6
8963 echo "$as_me:$LINENO: result: no" >&5
8964 echo "${ECHO_T}no" >&6
8969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8970 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8972 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8973 if test "${enable_togglebtn+set}" = set; then
8974 enableval="$enable_togglebtn"
8976 if test "$enableval" = yes; then
8977 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8979 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8984 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8985 if test "x$LINE" != x ; then
8986 eval "DEFAULT_$LINE"
8991 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8995 eval "$ac_cv_use_togglebtn"
8996 if test "$no_cache" != 1; then
8997 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9000 if test "$wxUSE_TOGGLEBTN" = yes; then
9001 echo "$as_me:$LINENO: result: yes" >&5
9002 echo "${ECHO_T}yes" >&6
9004 echo "$as_me:$LINENO: result: no" >&5
9005 echo "${ECHO_T}no" >&6
9010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9011 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9013 # Check whether --enable-toolbar or --disable-toolbar was given.
9014 if test "${enable_toolbar+set}" = set; then
9015 enableval="$enable_toolbar"
9017 if test "$enableval" = yes; then
9018 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
9020 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
9025 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9026 if test "x$LINE" != x ; then
9027 eval "DEFAULT_$LINE"
9032 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
9036 eval "$ac_cv_use_toolbar"
9037 if test "$no_cache" != 1; then
9038 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9041 if test "$wxUSE_TOOLBAR" = yes; then
9042 echo "$as_me:$LINENO: result: yes" >&5
9043 echo "${ECHO_T}yes" >&6
9045 echo "$as_me:$LINENO: result: no" >&5
9046 echo "${ECHO_T}no" >&6
9051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9052 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9054 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9055 if test "${enable_tbarnative+set}" = set; then
9056 enableval="$enable_tbarnative"
9058 if test "$enableval" = yes; then
9059 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
9061 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
9066 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9067 if test "x$LINE" != x ; then
9068 eval "DEFAULT_$LINE"
9073 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9077 eval "$ac_cv_use_tbarnative"
9078 if test "$no_cache" != 1; then
9079 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9082 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9083 echo "$as_me:$LINENO: result: yes" >&5
9084 echo "${ECHO_T}yes" >&6
9086 echo "$as_me:$LINENO: result: no" >&5
9087 echo "${ECHO_T}no" >&6
9092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9095 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9096 if test "${enable_tbarsmpl+set}" = set; then
9097 enableval="$enable_tbarsmpl"
9099 if test "$enableval" = yes; then
9100 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
9102 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
9107 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9108 if test "x$LINE" != x ; then
9109 eval "DEFAULT_$LINE"
9114 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9118 eval "$ac_cv_use_tbarsmpl"
9119 if test "$no_cache" != 1; then
9120 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9123 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9124 echo "$as_me:$LINENO: result: yes" >&5
9125 echo "${ECHO_T}yes" >&6
9127 echo "$as_me:$LINENO: result: no" >&5
9128 echo "${ECHO_T}no" >&6
9133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9134 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9136 # Check whether --enable-treebook or --disable-treebook was given.
9137 if test "${enable_treebook+set}" = set; then
9138 enableval="$enable_treebook"
9140 if test "$enableval" = yes; then
9141 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
9143 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
9148 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9149 if test "x$LINE" != x ; then
9150 eval "DEFAULT_$LINE"
9155 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
9159 eval "$ac_cv_use_treebook"
9160 if test "$no_cache" != 1; then
9161 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9164 if test "$wxUSE_TREEBOOK" = yes; then
9165 echo "$as_me:$LINENO: result: yes" >&5
9166 echo "${ECHO_T}yes" >&6
9168 echo "$as_me:$LINENO: result: no" >&5
9169 echo "${ECHO_T}no" >&6
9174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9175 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9177 # Check whether --enable-treectrl or --disable-treectrl was given.
9178 if test "${enable_treectrl+set}" = set; then
9179 enableval="$enable_treectrl"
9181 if test "$enableval" = yes; then
9182 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
9184 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
9189 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9190 if test "x$LINE" != x ; then
9191 eval "DEFAULT_$LINE"
9196 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
9200 eval "$ac_cv_use_treectrl"
9201 if test "$no_cache" != 1; then
9202 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9205 if test "$wxUSE_TREECTRL" = yes; then
9206 echo "$as_me:$LINENO: result: yes" >&5
9207 echo "${ECHO_T}yes" >&6
9209 echo "$as_me:$LINENO: result: no" >&5
9210 echo "${ECHO_T}no" >&6
9215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9216 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9218 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9219 if test "${enable_tipwindow+set}" = set; then
9220 enableval="$enable_tipwindow"
9222 if test "$enableval" = yes; then
9223 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
9225 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
9230 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9231 if test "x$LINE" != x ; then
9232 eval "DEFAULT_$LINE"
9237 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
9241 eval "$ac_cv_use_tipwindow"
9242 if test "$no_cache" != 1; then
9243 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9246 if test "$wxUSE_TIPWINDOW" = yes; then
9247 echo "$as_me:$LINENO: result: yes" >&5
9248 echo "${ECHO_T}yes" >&6
9250 echo "$as_me:$LINENO: result: no" >&5
9251 echo "${ECHO_T}no" >&6
9256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9257 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9259 # Check whether --enable-popupwin or --disable-popupwin was given.
9260 if test "${enable_popupwin+set}" = set; then
9261 enableval="$enable_popupwin"
9263 if test "$enableval" = yes; then
9264 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
9266 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
9271 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9272 if test "x$LINE" != x ; then
9273 eval "DEFAULT_$LINE"
9278 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
9282 eval "$ac_cv_use_popupwin"
9283 if test "$no_cache" != 1; then
9284 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9287 if test "$wxUSE_POPUPWIN" = yes; then
9288 echo "$as_me:$LINENO: result: yes" >&5
9289 echo "${ECHO_T}yes" >&6
9291 echo "$as_me:$LINENO: result: no" >&5
9292 echo "${ECHO_T}no" >&6
9299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9300 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9302 # Check whether --enable-commondlg or --disable-commondlg was given.
9303 if test "${enable_commondlg+set}" = set; then
9304 enableval="$enable_commondlg"
9306 if test "$enableval" = yes; then
9307 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
9309 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
9314 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9315 if test "x$LINE" != x ; then
9316 eval "DEFAULT_$LINE"
9321 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
9325 eval "$ac_cv_use_commondlg"
9326 if test "$no_cache" != 1; then
9327 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9330 if test "$wxUSE_COMMONDLGS" = yes; then
9331 echo "$as_me:$LINENO: result: yes" >&5
9332 echo "${ECHO_T}yes" >&6
9334 echo "$as_me:$LINENO: result: no" >&5
9335 echo "${ECHO_T}no" >&6
9340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9341 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9343 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9344 if test "${enable_choicedlg+set}" = set; then
9345 enableval="$enable_choicedlg"
9347 if test "$enableval" = yes; then
9348 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
9350 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
9355 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9356 if test "x$LINE" != x ; then
9357 eval "DEFAULT_$LINE"
9362 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
9366 eval "$ac_cv_use_choicedlg"
9367 if test "$no_cache" != 1; then
9368 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9371 if test "$wxUSE_CHOICEDLG" = yes; then
9372 echo "$as_me:$LINENO: result: yes" >&5
9373 echo "${ECHO_T}yes" >&6
9375 echo "$as_me:$LINENO: result: no" >&5
9376 echo "${ECHO_T}no" >&6
9381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9382 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9384 # Check whether --enable-coldlg or --disable-coldlg was given.
9385 if test "${enable_coldlg+set}" = set; then
9386 enableval="$enable_coldlg"
9388 if test "$enableval" = yes; then
9389 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
9391 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
9396 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9397 if test "x$LINE" != x ; then
9398 eval "DEFAULT_$LINE"
9403 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
9407 eval "$ac_cv_use_coldlg"
9408 if test "$no_cache" != 1; then
9409 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9412 if test "$wxUSE_COLOURDLG" = yes; then
9413 echo "$as_me:$LINENO: result: yes" >&5
9414 echo "${ECHO_T}yes" >&6
9416 echo "$as_me:$LINENO: result: no" >&5
9417 echo "${ECHO_T}no" >&6
9422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9423 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9425 # Check whether --enable-filedlg or --disable-filedlg was given.
9426 if test "${enable_filedlg+set}" = set; then
9427 enableval="$enable_filedlg"
9429 if test "$enableval" = yes; then
9430 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
9432 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
9437 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9438 if test "x$LINE" != x ; then
9439 eval "DEFAULT_$LINE"
9444 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
9448 eval "$ac_cv_use_filedlg"
9449 if test "$no_cache" != 1; then
9450 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9453 if test "$wxUSE_FILEDLG" = yes; then
9454 echo "$as_me:$LINENO: result: yes" >&5
9455 echo "${ECHO_T}yes" >&6
9457 echo "$as_me:$LINENO: result: no" >&5
9458 echo "${ECHO_T}no" >&6
9463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9466 # Check whether --enable-finddlg or --disable-finddlg was given.
9467 if test "${enable_finddlg+set}" = set; then
9468 enableval="$enable_finddlg"
9470 if test "$enableval" = yes; then
9471 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
9473 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
9478 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9479 if test "x$LINE" != x ; then
9480 eval "DEFAULT_$LINE"
9485 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
9489 eval "$ac_cv_use_finddlg"
9490 if test "$no_cache" != 1; then
9491 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9494 if test "$wxUSE_FINDREPLDLG" = yes; then
9495 echo "$as_me:$LINENO: result: yes" >&5
9496 echo "${ECHO_T}yes" >&6
9498 echo "$as_me:$LINENO: result: no" >&5
9499 echo "${ECHO_T}no" >&6
9504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9505 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9507 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9508 if test "${enable_fontdlg+set}" = set; then
9509 enableval="$enable_fontdlg"
9511 if test "$enableval" = yes; then
9512 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
9514 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
9519 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9520 if test "x$LINE" != x ; then
9521 eval "DEFAULT_$LINE"
9526 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
9530 eval "$ac_cv_use_fontdlg"
9531 if test "$no_cache" != 1; then
9532 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9535 if test "$wxUSE_FONTDLG" = yes; then
9536 echo "$as_me:$LINENO: result: yes" >&5
9537 echo "${ECHO_T}yes" >&6
9539 echo "$as_me:$LINENO: result: no" >&5
9540 echo "${ECHO_T}no" >&6
9545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9546 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9548 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9549 if test "${enable_dirdlg+set}" = set; then
9550 enableval="$enable_dirdlg"
9552 if test "$enableval" = yes; then
9553 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
9555 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
9560 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9561 if test "x$LINE" != x ; then
9562 eval "DEFAULT_$LINE"
9567 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
9571 eval "$ac_cv_use_dirdlg"
9572 if test "$no_cache" != 1; then
9573 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9576 if test "$wxUSE_DIRDLG" = yes; then
9577 echo "$as_me:$LINENO: result: yes" >&5
9578 echo "${ECHO_T}yes" >&6
9580 echo "$as_me:$LINENO: result: no" >&5
9581 echo "${ECHO_T}no" >&6
9586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9587 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9589 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9590 if test "${enable_msgdlg+set}" = set; then
9591 enableval="$enable_msgdlg"
9593 if test "$enableval" = yes; then
9594 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
9596 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
9601 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9602 if test "x$LINE" != x ; then
9603 eval "DEFAULT_$LINE"
9608 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
9612 eval "$ac_cv_use_msgdlg"
9613 if test "$no_cache" != 1; then
9614 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9617 if test "$wxUSE_MSGDLG" = yes; then
9618 echo "$as_me:$LINENO: result: yes" >&5
9619 echo "${ECHO_T}yes" >&6
9621 echo "$as_me:$LINENO: result: no" >&5
9622 echo "${ECHO_T}no" >&6
9627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9628 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9630 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9631 if test "${enable_numberdlg+set}" = set; then
9632 enableval="$enable_numberdlg"
9634 if test "$enableval" = yes; then
9635 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
9637 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
9642 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9643 if test "x$LINE" != x ; then
9644 eval "DEFAULT_$LINE"
9649 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
9653 eval "$ac_cv_use_numberdlg"
9654 if test "$no_cache" != 1; then
9655 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9658 if test "$wxUSE_NUMBERDLG" = yes; then
9659 echo "$as_me:$LINENO: result: yes" >&5
9660 echo "${ECHO_T}yes" >&6
9662 echo "$as_me:$LINENO: result: no" >&5
9663 echo "${ECHO_T}no" >&6
9668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9669 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9671 # Check whether --enable-splash or --disable-splash was given.
9672 if test "${enable_splash+set}" = set; then
9673 enableval="$enable_splash"
9675 if test "$enableval" = yes; then
9676 ac_cv_use_splash='wxUSE_SPLASH
=yes'
9678 ac_cv_use_splash='wxUSE_SPLASH
=no
'
9683 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9684 if test "x$LINE" != x ; then
9685 eval "DEFAULT_$LINE"
9690 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
9694 eval "$ac_cv_use_splash"
9695 if test "$no_cache" != 1; then
9696 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9699 if test "$wxUSE_SPLASH" = yes; then
9700 echo "$as_me:$LINENO: result: yes" >&5
9701 echo "${ECHO_T}yes" >&6
9703 echo "$as_me:$LINENO: result: no" >&5
9704 echo "${ECHO_T}no" >&6
9709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9710 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9712 # Check whether --enable-textdlg or --disable-textdlg was given.
9713 if test "${enable_textdlg+set}" = set; then
9714 enableval="$enable_textdlg"
9716 if test "$enableval" = yes; then
9717 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
9719 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
9724 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9725 if test "x$LINE" != x ; then
9726 eval "DEFAULT_$LINE"
9731 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
9735 eval "$ac_cv_use_textdlg"
9736 if test "$no_cache" != 1; then
9737 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9740 if test "$wxUSE_TEXTDLG" = yes; then
9741 echo "$as_me:$LINENO: result: yes" >&5
9742 echo "${ECHO_T}yes" >&6
9744 echo "$as_me:$LINENO: result: no" >&5
9745 echo "${ECHO_T}no" >&6
9750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9751 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9753 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9754 if test "${enable_tipdlg+set}" = set; then
9755 enableval="$enable_tipdlg"
9757 if test "$enableval" = yes; then
9758 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
9760 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
9765 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9766 if test "x$LINE" != x ; then
9767 eval "DEFAULT_$LINE"
9772 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
9776 eval "$ac_cv_use_tipdlg"
9777 if test "$no_cache" != 1; then
9778 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9781 if test "$wxUSE_STARTUP_TIPS" = yes; then
9782 echo "$as_me:$LINENO: result: yes" >&5
9783 echo "${ECHO_T}yes" >&6
9785 echo "$as_me:$LINENO: result: no" >&5
9786 echo "${ECHO_T}no" >&6
9791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9792 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9794 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9795 if test "${enable_progressdlg+set}" = set; then
9796 enableval="$enable_progressdlg"
9798 if test "$enableval" = yes; then
9799 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
9801 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
9806 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9807 if test "x$LINE" != x ; then
9808 eval "DEFAULT_$LINE"
9813 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
9817 eval "$ac_cv_use_progressdlg"
9818 if test "$no_cache" != 1; then
9819 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9822 if test "$wxUSE_PROGRESSDLG" = yes; then
9823 echo "$as_me:$LINENO: result: yes" >&5
9824 echo "${ECHO_T}yes" >&6
9826 echo "$as_me:$LINENO: result: no" >&5
9827 echo "${ECHO_T}no" >&6
9832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9833 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9835 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9836 if test "${enable_wizarddlg+set}" = set; then
9837 enableval="$enable_wizarddlg"
9839 if test "$enableval" = yes; then
9840 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
9842 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
9847 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9848 if test "x$LINE" != x ; then
9849 eval "DEFAULT_$LINE"
9854 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
9858 eval "$ac_cv_use_wizarddlg"
9859 if test "$no_cache" != 1; then
9860 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9863 if test "$wxUSE_WIZARDDLG" = yes; then
9864 echo "$as_me:$LINENO: result: yes" >&5
9865 echo "${ECHO_T}yes" >&6
9867 echo "$as_me:$LINENO: result: no" >&5
9868 echo "${ECHO_T}no" >&6
9875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9878 # Check whether --enable-menus or --disable-menus was given.
9879 if test "${enable_menus+set}" = set; then
9880 enableval="$enable_menus"
9882 if test "$enableval" = yes; then
9883 ac_cv_use_menus='wxUSE_MENUS
=yes'
9885 ac_cv_use_menus='wxUSE_MENUS
=no
'
9890 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9891 if test "x$LINE" != x ; then
9892 eval "DEFAULT_$LINE"
9897 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
9901 eval "$ac_cv_use_menus"
9902 if test "$no_cache" != 1; then
9903 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9906 if test "$wxUSE_MENUS" = yes; then
9907 echo "$as_me:$LINENO: result: yes" >&5
9908 echo "${ECHO_T}yes" >&6
9910 echo "$as_me:$LINENO: result: no" >&5
9911 echo "${ECHO_T}no" >&6
9916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9919 # Check whether --enable-miniframe or --disable-miniframe was given.
9920 if test "${enable_miniframe+set}" = set; then
9921 enableval="$enable_miniframe"
9923 if test "$enableval" = yes; then
9924 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
9926 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
9931 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x ; then
9933 eval "DEFAULT_$LINE"
9938 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
9942 eval "$ac_cv_use_miniframe"
9943 if test "$no_cache" != 1; then
9944 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9947 if test "$wxUSE_MINIFRAME" = yes; then
9948 echo "$as_me:$LINENO: result: yes" >&5
9949 echo "${ECHO_T}yes" >&6
9951 echo "$as_me:$LINENO: result: no" >&5
9952 echo "${ECHO_T}no" >&6
9957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9960 # Check whether --enable-tooltips or --disable-tooltips was given.
9961 if test "${enable_tooltips+set}" = set; then
9962 enableval="$enable_tooltips"
9964 if test "$enableval" = yes; then
9965 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
9967 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
9972 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x ; then
9974 eval "DEFAULT_$LINE"
9979 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9983 eval "$ac_cv_use_tooltips"
9984 if test "$no_cache" != 1; then
9985 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9988 if test "$wxUSE_TOOLTIPS" = yes; then
9989 echo "$as_me:$LINENO: result: yes" >&5
9990 echo "${ECHO_T}yes" >&6
9992 echo "$as_me:$LINENO: result: no" >&5
9993 echo "${ECHO_T}no" >&6
9998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9999 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10001 # Check whether --enable-splines or --disable-splines was given.
10002 if test "${enable_splines+set}" = set; then
10003 enableval="$enable_splines"
10005 if test "$enableval" = yes; then
10006 ac_cv_use_splines='wxUSE_SPLINES
=yes'
10008 ac_cv_use_splines='wxUSE_SPLINES
=no
'
10013 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10014 if test "x$LINE" != x ; then
10015 eval "DEFAULT_$LINE"
10020 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
10024 eval "$ac_cv_use_splines"
10025 if test "$no_cache" != 1; then
10026 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10029 if test "$wxUSE_SPLINES" = yes; then
10030 echo "$as_me:$LINENO: result: yes" >&5
10031 echo "${ECHO_T}yes" >&6
10033 echo "$as_me:$LINENO: result: no" >&5
10034 echo "${ECHO_T}no" >&6
10039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10040 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10042 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10043 if test "${enable_mousewheel+set}" = set; then
10044 enableval="$enable_mousewheel"
10046 if test "$enableval" = yes; then
10047 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
10049 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
10054 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10055 if test "x$LINE" != x ; then
10056 eval "DEFAULT_$LINE"
10061 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
10065 eval "$ac_cv_use_mousewheel"
10066 if test "$no_cache" != 1; then
10067 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10070 if test "$wxUSE_MOUSEWHEEL" = yes; then
10071 echo "$as_me:$LINENO: result: yes" >&5
10072 echo "${ECHO_T}yes" >&6
10074 echo "$as_me:$LINENO: result: no" >&5
10075 echo "${ECHO_T}no" >&6
10080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10081 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10083 # Check whether --enable-validators or --disable-validators was given.
10084 if test "${enable_validators+set}" = set; then
10085 enableval="$enable_validators"
10087 if test "$enableval" = yes; then
10088 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
10090 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
10095 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10096 if test "x$LINE" != x ; then
10097 eval "DEFAULT_$LINE"
10102 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
10106 eval "$ac_cv_use_validators"
10107 if test "$no_cache" != 1; then
10108 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10111 if test "$wxUSE_VALIDATORS" = yes; then
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10122 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10124 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10125 if test "${enable_busyinfo+set}" = set; then
10126 enableval="$enable_busyinfo"
10128 if test "$enableval" = yes; then
10129 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
10131 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
10136 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10137 if test "x$LINE" != x ; then
10138 eval "DEFAULT_$LINE"
10143 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
10147 eval "$ac_cv_use_busyinfo"
10148 if test "$no_cache" != 1; then
10149 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10152 if test "$wxUSE_BUSYINFO" = yes; then
10153 echo "$as_me:$LINENO: result: yes" >&5
10154 echo "${ECHO_T}yes" >&6
10156 echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6
10162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10165 # Check whether --enable-joystick or --disable-joystick was given.
10166 if test "${enable_joystick+set}" = set; then
10167 enableval="$enable_joystick"
10169 if test "$enableval" = yes; then
10170 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
10172 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
10177 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10178 if test "x$LINE" != x ; then
10179 eval "DEFAULT_$LINE"
10184 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
10188 eval "$ac_cv_use_joystick"
10189 if test "$no_cache" != 1; then
10190 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10193 if test "$wxUSE_JOYSTICK" = yes; then
10194 echo "$as_me:$LINENO: result: yes" >&5
10195 echo "${ECHO_T}yes" >&6
10197 echo "$as_me:$LINENO: result: no" >&5
10198 echo "${ECHO_T}no" >&6
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10206 # Check whether --enable-metafile or --disable-metafile was given.
10207 if test "${enable_metafile+set}" = set; then
10208 enableval="$enable_metafile"
10210 if test "$enableval" = yes; then
10211 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
10213 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
10218 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x ; then
10220 eval "DEFAULT_$LINE"
10225 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
10229 eval "$ac_cv_use_metafile"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10234 if test "$wxUSE_METAFILE" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10245 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10247 # Check whether --enable-dragimage or --disable-dragimage was given.
10248 if test "${enable_dragimage+set}" = set; then
10249 enableval="$enable_dragimage"
10251 if test "$enableval" = yes; then
10252 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
10254 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
10259 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10260 if test "x$LINE" != x ; then
10261 eval "DEFAULT_$LINE"
10266 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
10270 eval "$ac_cv_use_dragimage"
10271 if test "$no_cache" != 1; then
10272 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10275 if test "$wxUSE_DRAGIMAGE" = yes; then
10276 echo "$as_me:$LINENO: result: yes" >&5
10277 echo "${ECHO_T}yes" >&6
10279 echo "$as_me:$LINENO: result: no" >&5
10280 echo "${ECHO_T}no" >&6
10285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10288 # Check whether --enable-accessibility or --disable-accessibility was given.
10289 if test "${enable_accessibility+set}" = set; then
10290 enableval="$enable_accessibility"
10292 if test "$enableval" = yes; then
10293 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
10295 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
10300 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10301 if test "x$LINE" != x ; then
10302 eval "DEFAULT_$LINE"
10307 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
10311 eval "$ac_cv_use_accessibility"
10312 if test "$no_cache" != 1; then
10313 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10316 if test "$wxUSE_ACCESSIBILITY" = yes; then
10317 echo "$as_me:$LINENO: result: yes" >&5
10318 echo "${ECHO_T}yes" >&6
10320 echo "$as_me:$LINENO: result: no" >&5
10321 echo "${ECHO_T}no" >&6
10325 if test "$wxUSE_MSW" = "1"; then
10328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10331 # Check whether --enable-dccache or --disable-dccache was given.
10332 if test "${enable_dccache+set}" = set; then
10333 enableval="$enable_dccache"
10335 if test "$enableval" = yes; then
10336 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
10338 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
10343 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x ; then
10345 eval "DEFAULT_$LINE"
10350 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
10354 eval "$ac_cv_use_dccache"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10359 if test "$wxUSE_DC_CACHEING" = yes; then
10360 echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6
10363 echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6
10372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10375 # Check whether --enable-palette or --disable-palette was given.
10376 if test "${enable_palette+set}" = set; then
10377 enableval="$enable_palette"
10379 if test "$enableval" = yes; then
10380 ac_cv_use_palette='wxUSE_PALETTE
=yes'
10382 ac_cv_use_palette='wxUSE_PALETTE
=no
'
10387 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10388 if test "x$LINE" != x ; then
10389 eval "DEFAULT_$LINE"
10394 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
10398 eval "$ac_cv_use_palette"
10399 if test "$no_cache" != 1; then
10400 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10403 if test "$wxUSE_PALETTE" = yes; then
10404 echo "$as_me:$LINENO: result: yes" >&5
10405 echo "${ECHO_T}yes" >&6
10407 echo "$as_me:$LINENO: result: no" >&5
10408 echo "${ECHO_T}no" >&6
10413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10416 # Check whether --enable-image or --disable-image was given.
10417 if test "${enable_image+set}" = set; then
10418 enableval="$enable_image"
10420 if test "$enableval" = yes; then
10421 ac_cv_use_image='wxUSE_IMAGE
=yes'
10423 ac_cv_use_image='wxUSE_IMAGE
=no
'
10428 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10429 if test "x$LINE" != x ; then
10430 eval "DEFAULT_$LINE"
10435 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
10439 eval "$ac_cv_use_image"
10440 if test "$no_cache" != 1; then
10441 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10444 if test "$wxUSE_IMAGE" = yes; then
10445 echo "$as_me:$LINENO: result: yes" >&5
10446 echo "${ECHO_T}yes" >&6
10448 echo "$as_me:$LINENO: result: no" >&5
10449 echo "${ECHO_T}no" >&6
10454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10457 # Check whether --enable-gif or --disable-gif was given.
10458 if test "${enable_gif+set}" = set; then
10459 enableval="$enable_gif"
10461 if test "$enableval" = yes; then
10462 ac_cv_use_gif='wxUSE_GIF
=yes'
10464 ac_cv_use_gif='wxUSE_GIF
=no
'
10469 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10470 if test "x$LINE" != x ; then
10471 eval "DEFAULT_$LINE"
10476 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
10480 eval "$ac_cv_use_gif"
10481 if test "$no_cache" != 1; then
10482 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10485 if test "$wxUSE_GIF" = yes; then
10486 echo "$as_me:$LINENO: result: yes" >&5
10487 echo "${ECHO_T}yes" >&6
10489 echo "$as_me:$LINENO: result: no" >&5
10490 echo "${ECHO_T}no" >&6
10495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10496 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10498 # Check whether --enable-pcx or --disable-pcx was given.
10499 if test "${enable_pcx+set}" = set; then
10500 enableval="$enable_pcx"
10502 if test "$enableval" = yes; then
10503 ac_cv_use_pcx='wxUSE_PCX
=yes'
10505 ac_cv_use_pcx='wxUSE_PCX
=no
'
10510 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10511 if test "x$LINE" != x ; then
10512 eval "DEFAULT_$LINE"
10517 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
10521 eval "$ac_cv_use_pcx"
10522 if test "$no_cache" != 1; then
10523 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10526 if test "$wxUSE_PCX" = yes; then
10527 echo "$as_me:$LINENO: result: yes" >&5
10528 echo "${ECHO_T}yes" >&6
10530 echo "$as_me:$LINENO: result: no" >&5
10531 echo "${ECHO_T}no" >&6
10536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10537 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10539 # Check whether --enable-iff or --disable-iff was given.
10540 if test "${enable_iff+set}" = set; then
10541 enableval="$enable_iff"
10543 if test "$enableval" = yes; then
10544 ac_cv_use_iff='wxUSE_IFF
=yes'
10546 ac_cv_use_iff='wxUSE_IFF
=no
'
10551 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10552 if test "x$LINE" != x ; then
10553 eval "DEFAULT_$LINE"
10558 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
10562 eval "$ac_cv_use_iff"
10563 if test "$no_cache" != 1; then
10564 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10567 if test "$wxUSE_IFF" = yes; then
10568 echo "$as_me:$LINENO: result: yes" >&5
10569 echo "${ECHO_T}yes" >&6
10571 echo "$as_me:$LINENO: result: no" >&5
10572 echo "${ECHO_T}no" >&6
10577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10578 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10580 # Check whether --enable-pnm or --disable-pnm was given.
10581 if test "${enable_pnm+set}" = set; then
10582 enableval="$enable_pnm"
10584 if test "$enableval" = yes; then
10585 ac_cv_use_pnm='wxUSE_PNM
=yes'
10587 ac_cv_use_pnm='wxUSE_PNM
=no
'
10592 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10593 if test "x$LINE" != x ; then
10594 eval "DEFAULT_$LINE"
10599 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
10603 eval "$ac_cv_use_pnm"
10604 if test "$no_cache" != 1; then
10605 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10608 if test "$wxUSE_PNM" = yes; then
10609 echo "$as_me:$LINENO: result: yes" >&5
10610 echo "${ECHO_T}yes" >&6
10612 echo "$as_me:$LINENO: result: no" >&5
10613 echo "${ECHO_T}no" >&6
10618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10621 # Check whether --enable-xpm or --disable-xpm was given.
10622 if test "${enable_xpm+set}" = set; then
10623 enableval="$enable_xpm"
10625 if test "$enableval" = yes; then
10626 ac_cv_use_xpm='wxUSE_XPM
=yes'
10628 ac_cv_use_xpm='wxUSE_XPM
=no
'
10633 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10634 if test "x$LINE" != x ; then
10635 eval "DEFAULT_$LINE"
10640 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
10644 eval "$ac_cv_use_xpm"
10645 if test "$no_cache" != 1; then
10646 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10649 if test "$wxUSE_XPM" = yes; then
10650 echo "$as_me:$LINENO: result: yes" >&5
10651 echo "${ECHO_T}yes" >&6
10653 echo "$as_me:$LINENO: result: no" >&5
10654 echo "${ECHO_T}no" >&6
10659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10660 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10662 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10663 if test "${enable_ico_cur+set}" = set; then
10664 enableval="$enable_ico_cur"
10666 if test "$enableval" = yes; then
10667 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
10669 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
10674 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10675 if test "x$LINE" != x ; then
10676 eval "DEFAULT_$LINE"
10681 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
10685 eval "$ac_cv_use_ico_cur"
10686 if test "$no_cache" != 1; then
10687 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10690 if test "$wxUSE_ICO_CUR" = yes; then
10691 echo "$as_me:$LINENO: result: yes" >&5
10692 echo "${ECHO_T}yes" >&6
10694 echo "$as_me:$LINENO: result: no" >&5
10695 echo "${ECHO_T}no" >&6
10703 # Check whether --with-flavour or --without-flavour was given.
10704 if test "${with_flavour+set}" = set; then
10705 withval="$with_flavour"
10706 WX_FLAVOUR="$withval"
10712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10713 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10715 # Check whether --enable-official_build or --disable-official_build was given.
10716 if test "${enable_official_build+set}" = set; then
10717 enableval="$enable_official_build"
10719 if test "$enableval" = yes; then
10720 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
10722 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
10727 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10728 if test "x$LINE" != x ; then
10729 eval "DEFAULT_$LINE"
10734 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
10738 eval "$ac_cv_use_official_build"
10739 if test "$no_cache" != 1; then
10740 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10743 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10744 echo "$as_me:$LINENO: result: yes" >&5
10745 echo "${ECHO_T}yes" >&6
10747 echo "$as_me:$LINENO: result: no" >&5
10748 echo "${ECHO_T}no" >&6
10751 # Check whether --enable-vendor or --disable-vendor was given.
10752 if test "${enable_vendor+set}" = set; then
10753 enableval="$enable_vendor"
10754 VENDOR="$enableval"
10756 if test "x$VENDOR" = "x"; then
10763 echo "saving argument cache $wx_arg_cache_file"
10764 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10768 echo "$as_me:$LINENO: checking for toolkit" >&5
10769 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10771 # In Wine, we need to default to MSW, not GTK or MOTIF
10772 if test "$wxUSE_WINE" = "yes"; then
10773 DEFAULT_DEFAULT_wxUSE_GTK=0
10774 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10775 DEFAULT_DEFAULT_wxUSE_MSW=1
10780 if test "$wxUSE_GUI" = "yes"; then
10782 if test "$USE_BEOS" = 1; then
10783 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10784 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10785 { (exit 1); exit 1; }; }
10788 if test "$TOOLKIT_GIVEN" = 1; then
10789 for toolkit in `echo $ALL_TOOLKITS`; do
10791 eval "value=\$${var}"
10792 if test "x$value" = "xno"; then
10794 elif test "x$value" != "x"; then
10798 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10799 eval "wx${toolkit}_VERSION=$value"
10803 for toolkit in `echo $ALL_TOOLKITS`; do
10804 if test "$has_toolkit_in_cache" != 1; then
10805 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10807 var=DEFAULT_wxUSE_$toolkit
10809 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10810 if test "x$version" != "x"; then
10811 eval "wx${toolkit}_VERSION=$version"
10814 eval "wxUSE_$toolkit=\$${var}"
10818 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10819 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10820 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10823 *-pc-os2_emx | *-pc-os2-emx )
10824 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10827 case "$NUM_TOOLKITS" in
10831 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10832 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10833 { (exit 1); exit 1; }; }
10836 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10837 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10838 { (exit 1); exit 1; }; }
10841 # to be removed when --disable-gtk2 isn't needed
10842 if test "x$wxUSE_GTK2" = "xyes"; then
10844 elif test "x$wxUSE_GTK2" = "xno"; then
10848 for toolkit
in `echo $ALL_TOOLKITS`; do
10850 eval "value=\$${var}"
10851 if test "x$value" != x
; then
10852 cache_var
=CACHE_
$toolkit
10853 eval "cache=\$${cache_var}"
10854 if test "$cache" = 1; then
10855 echo "$var=$value" >> ${wx_arg_cache_file}
10856 eval "version=\$wx${toolkit}_VERSION"
10857 if test "x$version" != "x"; then
10858 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10861 if test "$value" = 1; then
10862 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10863 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10864 echo "${ECHO_T}$toolkit_echo" >&6
10869 if test "x$host_alias" != "x"; then
10870 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10871 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10873 echo "$as_me:$LINENO: result: base only" >&5
10874 echo "${ECHO_T}base only" >&6
10879 doesnt_want_win32
=0
10882 if test "$wxUSE_MSW" = 1 ; then
10884 BAKEFILE_FORCE_PLATFORM
=win32
10886 doesnt_want_win32
=1
10894 if test "$wxUSE_WINE" = "yes"; then
10898 LDFLAGS_GUI
="-mwindows"
10901 if test "$wants_win32" = 1 ; then
10904 cat >>confdefs.h
<<\_ACEOF
10905 #define __WIN32__ 1
10908 cat >>confdefs.h
<<\_ACEOF
10909 #define __WIN95__ 1
10912 cat >>confdefs.h
<<\_ACEOF
10913 #define __WINDOWS__ 1
10916 cat >>confdefs.h
<<\_ACEOF
10917 #define __GNUWIN32__ 1
10920 cat >>confdefs.h
<<\_ACEOF
10924 cat >>confdefs.h
<<\_ACEOF
10925 #define WINVER 0x0400
10929 if test "$doesnt_want_win32" = 1 ; then
10934 if test "$USE_UNIX" = 1 ; then
10936 cat >>confdefs.h
<<\_ACEOF
10943 cat >confcache
<<\_ACEOF
10944 # This file is a shell script that caches the results of configure
10945 # tests run on this system so they can be shared between configure
10946 # scripts and configure runs, see configure's option --config-cache.
10947 # It is not useful on other systems. If it contains results you don't
10948 # want to keep, you may remove or edit it.
10950 # config.status only pays attention to the cache file if you give it
10951 # the --recheck option to rerun configure.
10953 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10954 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10955 # following values.
10959 # The following way of writing the cache mishandles newlines in values,
10960 # but we know of no workaround that is simple, portable, and efficient.
10961 # So, don't put newlines in cache variables' values.
10962 # Ultrix sh set writes to stderr and can't be redirected directly,
10963 # and sets the high bit in the cache file unless we assign to the vars.
10966 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10968 # `set' does not quote correctly, so add quotes (double-quote
10969 # substitution turns \\\\ into \\, and sed turns \\ into \).
10972 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10975 # `set' quotes correctly as required by POSIX, so do not add quotes.
10977 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10984 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10986 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10988 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10989 if test -w $cache_file; then
10990 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10991 cat confcache
>$cache_file
10993 echo "not updating unwritable cache $cache_file"
11003 ac_cpp
='$CPP $CPPFLAGS'
11004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11007 if test -n "$ac_tool_prefix"; then
11008 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11009 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11010 echo "$as_me:$LINENO: checking for $ac_word" >&5
11011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11012 if test "${ac_cv_prog_CC+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11015 if test -n "$CC"; then
11016 ac_cv_prog_CC
="$CC" # Let the user override the test.
11018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11019 for as_dir
in $PATH
11022 test -z "$as_dir" && as_dir
=.
11023 for ac_exec_ext
in '' $ac_executable_extensions; do
11024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11025 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11035 if test -n "$CC"; then
11036 echo "$as_me:$LINENO: result: $CC" >&5
11037 echo "${ECHO_T}$CC" >&6
11039 echo "$as_me:$LINENO: result: no" >&5
11040 echo "${ECHO_T}no" >&6
11044 if test -z "$ac_cv_prog_CC"; then
11046 # Extract the first word of "gcc", so it can be a program name with args.
11047 set dummy gcc
; ac_word
=$2
11048 echo "$as_me:$LINENO: checking for $ac_word" >&5
11049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11050 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11053 if test -n "$ac_ct_CC"; then
11054 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11057 for as_dir
in $PATH
11060 test -z "$as_dir" && as_dir
=.
11061 for ac_exec_ext
in '' $ac_executable_extensions; do
11062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11063 ac_cv_prog_ac_ct_CC
="gcc"
11064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11072 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11073 if test -n "$ac_ct_CC"; then
11074 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11075 echo "${ECHO_T}$ac_ct_CC" >&6
11077 echo "$as_me:$LINENO: result: no" >&5
11078 echo "${ECHO_T}no" >&6
11083 CC
="$ac_cv_prog_CC"
11086 if test -z "$CC"; then
11087 if test -n "$ac_tool_prefix"; then
11088 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11089 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11090 echo "$as_me:$LINENO: checking for $ac_word" >&5
11091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11092 if test "${ac_cv_prog_CC+set}" = set; then
11093 echo $ECHO_N "(cached) $ECHO_C" >&6
11095 if test -n "$CC"; then
11096 ac_cv_prog_CC
="$CC" # Let the user override the test.
11098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11099 for as_dir
in $PATH
11102 test -z "$as_dir" && as_dir
=.
11103 for ac_exec_ext
in '' $ac_executable_extensions; do
11104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11105 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11115 if test -n "$CC"; then
11116 echo "$as_me:$LINENO: result: $CC" >&5
11117 echo "${ECHO_T}$CC" >&6
11119 echo "$as_me:$LINENO: result: no" >&5
11120 echo "${ECHO_T}no" >&6
11124 if test -z "$ac_cv_prog_CC"; then
11126 # Extract the first word of "cc", so it can be a program name with args.
11127 set dummy cc
; ac_word
=$2
11128 echo "$as_me:$LINENO: checking for $ac_word" >&5
11129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11130 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11131 echo $ECHO_N "(cached) $ECHO_C" >&6
11133 if test -n "$ac_ct_CC"; then
11134 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11137 for as_dir
in $PATH
11140 test -z "$as_dir" && as_dir
=.
11141 for ac_exec_ext
in '' $ac_executable_extensions; do
11142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11143 ac_cv_prog_ac_ct_CC
="cc"
11144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11152 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11153 if test -n "$ac_ct_CC"; then
11154 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11155 echo "${ECHO_T}$ac_ct_CC" >&6
11157 echo "$as_me:$LINENO: result: no" >&5
11158 echo "${ECHO_T}no" >&6
11163 CC
="$ac_cv_prog_CC"
11167 if test -z "$CC"; then
11168 # Extract the first word of "cc", so it can be a program name with args.
11169 set dummy cc
; ac_word
=$2
11170 echo "$as_me:$LINENO: checking for $ac_word" >&5
11171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11172 if test "${ac_cv_prog_CC+set}" = set; then
11173 echo $ECHO_N "(cached) $ECHO_C" >&6
11175 if test -n "$CC"; then
11176 ac_cv_prog_CC
="$CC" # Let the user override the test.
11178 ac_prog_rejected
=no
11179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11180 for as_dir
in $PATH
11183 test -z "$as_dir" && as_dir
=.
11184 for ac_exec_ext
in '' $ac_executable_extensions; do
11185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11186 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11187 ac_prog_rejected
=yes
11191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11197 if test $ac_prog_rejected = yes; then
11198 # We found a bogon in the path, so make sure we never use it.
11199 set dummy
$ac_cv_prog_CC
11201 if test $# != 0; then
11202 # We chose a different compiler from the bogus one.
11203 # However, it has the same basename, so the bogon will be chosen
11204 # first if we set CC to just the basename; use the full file name.
11206 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11212 if test -n "$CC"; then
11213 echo "$as_me:$LINENO: result: $CC" >&5
11214 echo "${ECHO_T}$CC" >&6
11216 echo "$as_me:$LINENO: result: no" >&5
11217 echo "${ECHO_T}no" >&6
11221 if test -z "$CC"; then
11222 if test -n "$ac_tool_prefix"; then
11225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11226 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11227 echo "$as_me:$LINENO: checking for $ac_word" >&5
11228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11229 if test "${ac_cv_prog_CC+set}" = set; then
11230 echo $ECHO_N "(cached) $ECHO_C" >&6
11232 if test -n "$CC"; then
11233 ac_cv_prog_CC
="$CC" # Let the user override the test.
11235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11236 for as_dir
in $PATH
11239 test -z "$as_dir" && as_dir
=.
11240 for ac_exec_ext
in '' $ac_executable_extensions; do
11241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11242 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11252 if test -n "$CC"; then
11253 echo "$as_me:$LINENO: result: $CC" >&5
11254 echo "${ECHO_T}$CC" >&6
11256 echo "$as_me:$LINENO: result: no" >&5
11257 echo "${ECHO_T}no" >&6
11260 test -n "$CC" && break
11263 if test -z "$CC"; then
11267 # Extract the first word of "$ac_prog", so it can be a program name with args.
11268 set dummy
$ac_prog; ac_word
=$2
11269 echo "$as_me:$LINENO: checking for $ac_word" >&5
11270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11271 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11274 if test -n "$ac_ct_CC"; then
11275 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11278 for as_dir
in $PATH
11281 test -z "$as_dir" && as_dir
=.
11282 for ac_exec_ext
in '' $ac_executable_extensions; do
11283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11284 ac_cv_prog_ac_ct_CC
="$ac_prog"
11285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11293 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11294 if test -n "$ac_ct_CC"; then
11295 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11296 echo "${ECHO_T}$ac_ct_CC" >&6
11298 echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6
11302 test -n "$ac_ct_CC" && break
11311 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11312 See \`config.log' for more details." >&5
11313 echo "$as_me: error: no acceptable C compiler found in \$PATH
11314 See \`config.log' for more details." >&2;}
11315 { (exit 1); exit 1; }; }
11317 # Provide some information about the compiler.
11318 echo "$as_me:$LINENO:" \
11319 "checking for C compiler version" >&5
11320 ac_compiler
=`set X $ac_compile; echo $2`
11321 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11322 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); }
11326 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11327 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); }
11331 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11332 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }
11337 cat >conftest.
$ac_ext <<_ACEOF
11340 cat confdefs.h
>>conftest.
$ac_ext
11341 cat >>conftest.
$ac_ext <<_ACEOF
11342 /* end confdefs.h. */
11352 ac_clean_files_save
=$ac_clean_files
11353 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11354 # Try to create an executable without -o first, disregard a.out.
11355 # It will help us diagnose broken compilers, and finding out an intuition
11357 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11358 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11359 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11360 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11361 (eval $ac_link_default) 2>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; then
11365 # Find the output, starting from the most likely. This scheme is
11366 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11369 # Be careful to initialize this variable, since it used to be cached.
11370 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11372 # b.out is created by i960 compilers.
11373 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11375 test -f "$ac_file" || continue
11377 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11380 # This is the source file.
11383 # We found the default executable, but exeext='' is most
11387 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11388 # FIXME: I believe we export ac_cv_exeext for Libtool,
11389 # but it would be cool to find out if it's true. Does anybody
11390 # maintain Libtool? --akim.
11391 export ac_cv_exeext
11398 echo "$as_me: failed program was:" >&5
11399 sed 's/^/| /' conftest.
$ac_ext >&5
11401 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11402 See \`config.log' for more details." >&5
11403 echo "$as_me: error: C compiler cannot create executables
11404 See \`config.log' for more details." >&2;}
11405 { (exit 77); exit 77; }; }
11408 ac_exeext
=$ac_cv_exeext
11409 echo "$as_me:$LINENO: result: $ac_file" >&5
11410 echo "${ECHO_T}$ac_file" >&6
11412 # Check the compiler produces executables we can run. If not, either
11413 # the compiler is broken, or we cross compile.
11414 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11415 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11416 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11417 # If not cross compiling, check that we can run a simple program.
11418 if test "$cross_compiling" != yes; then
11419 if { ac_try
='./$ac_file'
11420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11421 (eval $ac_try) 2>&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); }; }; then
11427 if test "$cross_compiling" = maybe
; then
11428 cross_compiling
=yes
11430 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11431 If you meant to cross compile, use \`--host'.
11432 See \`config.log' for more details." >&5
11433 echo "$as_me: error: cannot run C compiled programs.
11434 If you meant to cross compile, use \`--host'.
11435 See \`config.log' for more details." >&2;}
11436 { (exit 1); exit 1; }; }
11440 echo "$as_me:$LINENO: result: yes" >&5
11441 echo "${ECHO_T}yes" >&6
11443 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11444 ac_clean_files
=$ac_clean_files_save
11445 # Check the compiler produces executables we can run. If not, either
11446 # the compiler is broken, or we cross compile.
11447 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11448 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11449 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11450 echo "${ECHO_T}$cross_compiling" >&6
11452 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11453 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11455 (eval $ac_link) 2>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; then
11459 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11460 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11461 # work properly (i.e., refer to `conftest.exe'), while it won't with
11463 for ac_file
in conftest.exe conftest conftest.
*; do
11464 test -f "$ac_file" || continue
11466 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11467 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11468 export ac_cv_exeext
11474 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11475 See \`config.log' for more details." >&5
11476 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11477 See \`config.log' for more details." >&2;}
11478 { (exit 1); exit 1; }; }
11481 rm -f conftest
$ac_cv_exeext
11482 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11483 echo "${ECHO_T}$ac_cv_exeext" >&6
11485 rm -f conftest.
$ac_ext
11486 EXEEXT
=$ac_cv_exeext
11488 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11489 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11490 if test "${ac_cv_objext+set}" = set; then
11491 echo $ECHO_N "(cached) $ECHO_C" >&6
11493 cat >conftest.
$ac_ext <<_ACEOF
11496 cat confdefs.h
>>conftest.
$ac_ext
11497 cat >>conftest.
$ac_ext <<_ACEOF
11498 /* end confdefs.h. */
11508 rm -f conftest.o conftest.obj
11509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11510 (eval $ac_compile) 2>&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); }; then
11514 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11516 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11517 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11522 echo "$as_me: failed program was:" >&5
11523 sed 's/^/| /' conftest.
$ac_ext >&5
11525 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11526 See \`config.log' for more details." >&5
11527 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11528 See \`config.log' for more details." >&2;}
11529 { (exit 1); exit 1; }; }
11532 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11534 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11535 echo "${ECHO_T}$ac_cv_objext" >&6
11536 OBJEXT
=$ac_cv_objext
11538 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11539 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11540 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11541 echo $ECHO_N "(cached) $ECHO_C" >&6
11543 cat >conftest.
$ac_ext <<_ACEOF
11546 cat confdefs.h
>>conftest.
$ac_ext
11547 cat >>conftest.
$ac_ext <<_ACEOF
11548 /* end confdefs.h. */
11561 rm -f conftest.
$ac_objext
11562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11563 (eval $ac_compile) 2>conftest.er1
11565 grep -v '^ *+' conftest.er1
>conftest.err
11567 cat conftest.err
>&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); } &&
11570 { ac_try
='test -z "$ac_c_werror_flag"
11571 || test ! -s conftest.err'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573 (eval $ac_try) 2>&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; } &&
11577 { ac_try
='test -s conftest.$ac_objext'
11578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11579 (eval $ac_try) 2>&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); }; }; then
11583 ac_compiler_gnu
=yes
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.
$ac_ext >&5
11590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11591 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11594 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11595 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11596 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11597 ac_test_CFLAGS
=${CFLAGS+set}
11598 ac_save_CFLAGS
=$CFLAGS
11600 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11601 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11602 if test "${ac_cv_prog_cc_g+set}" = set; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11605 cat >conftest.
$ac_ext <<_ACEOF
11608 cat confdefs.h
>>conftest.
$ac_ext
11609 cat >>conftest.
$ac_ext <<_ACEOF
11610 /* end confdefs.h. */
11620 rm -f conftest.
$ac_objext
11621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11622 (eval $ac_compile) 2>conftest.er1
11624 grep -v '^ *+' conftest.er1
>conftest.err
11626 cat conftest.err
>&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } &&
11629 { ac_try
='test -z "$ac_c_werror_flag"
11630 || test ! -s conftest.err'
11631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11632 (eval $ac_try) 2>&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); }; } &&
11636 { ac_try
='test -s conftest.$ac_objext'
11637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11638 (eval $ac_try) 2>&5
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); }; }; then
11642 ac_cv_prog_cc_g
=yes
11644 echo "$as_me: failed program was:" >&5
11645 sed 's/^/| /' conftest.
$ac_ext >&5
11649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11651 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11652 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11653 if test "$ac_test_CFLAGS" = set; then
11654 CFLAGS
=$ac_save_CFLAGS
11655 elif test $ac_cv_prog_cc_g = yes; then
11656 if test "$GCC" = yes; then
11662 if test "$GCC" = yes; then
11668 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11669 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11670 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11671 echo $ECHO_N "(cached) $ECHO_C" >&6
11673 ac_cv_prog_cc_stdc
=no
11675 cat >conftest.
$ac_ext <<_ACEOF
11678 cat confdefs.h
>>conftest.
$ac_ext
11679 cat >>conftest.
$ac_ext <<_ACEOF
11680 /* end confdefs.h. */
11681 #include <stdarg.h>
11683 #include <sys/types.h>
11684 #include <sys/stat.h>
11685 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11686 struct buf { int x; };
11687 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11688 static char *e (p, i)
11694 static char *f (char * (*g) (char **, int), char **p, ...)
11699 s = g (p, va_arg (v,int));
11704 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11705 function prototypes and stuff, but not '\xHH' hex character constants.
11706 These don't provoke an error unfortunately, instead are silently treated
11707 as 'x'. The following induces an error, until -std1 is added to get
11708 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11709 array size at least. It's necessary to write '\x00'==0 to get something
11710 that's true only with -std1. */
11711 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11713 int test (int i, double x);
11714 struct s1 {int (*f) (int a);};
11715 struct s2 {int (*f) (double a);};
11716 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11722 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11727 # Don't try gcc -ansi; that turns off useful extensions and
11728 # breaks some systems' header files.
11729 # AIX -qlanglvl=ansi
11730 # Ultrix and OSF/1 -std1
11731 # HP-UX 10.20 and later -Ae
11732 # HP-UX older versions -Aa -D_HPUX_SOURCE
11733 # SVR4 -Xc -D__EXTENSIONS__
11734 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11736 CC
="$ac_save_CC $ac_arg"
11737 rm -f conftest.
$ac_objext
11738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11739 (eval $ac_compile) 2>conftest.er1
11741 grep -v '^ *+' conftest.er1
>conftest.err
11743 cat conftest.err
>&5
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); } &&
11746 { ac_try
='test -z "$ac_c_werror_flag"
11747 || test ! -s conftest.err'
11748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11749 (eval $ac_try) 2>&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); }; } &&
11753 { ac_try
='test -s conftest.$ac_objext'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; }; then
11759 ac_cv_prog_cc_stdc
=$ac_arg
11762 echo "$as_me: failed program was:" >&5
11763 sed 's/^/| /' conftest.
$ac_ext >&5
11766 rm -f conftest.err conftest.
$ac_objext
11768 rm -f conftest.
$ac_ext conftest.
$ac_objext
11773 case "x$ac_cv_prog_cc_stdc" in
11775 echo "$as_me:$LINENO: result: none needed" >&5
11776 echo "${ECHO_T}none needed" >&6 ;;
11778 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11779 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11780 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11783 # Some people use a C++ compiler to compile C. Since we use `exit',
11784 # in C++ we need to declare it. In case someone uses the same compiler
11785 # for both compiling C and C++ we need to have the C++ compiler decide
11786 # the declaration of exit, since it's the most demanding environment.
11787 cat >conftest.
$ac_ext <<_ACEOF
11788 #ifndef __cplusplus
11792 rm -f conftest.
$ac_objext
11793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11794 (eval $ac_compile) 2>conftest.er1
11796 grep -v '^ *+' conftest.er1
>conftest.err
11798 cat conftest.err
>&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); } &&
11801 { ac_try
='test -z "$ac_c_werror_flag"
11802 || test ! -s conftest.err'
11803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); }; } &&
11808 { ac_try
='test -s conftest.$ac_objext'
11809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11810 (eval $ac_try) 2>&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); }; }; then
11814 for ac_declaration
in \
11816 'extern "C" void std::exit (int) throw (); using std::exit;' \
11817 'extern "C" void std::exit (int); using std::exit;' \
11818 'extern "C" void exit (int) throw ();' \
11819 'extern "C" void exit (int);' \
11822 cat >conftest.
$ac_ext <<_ACEOF
11825 cat confdefs.h
>>conftest.
$ac_ext
11826 cat >>conftest.
$ac_ext <<_ACEOF
11827 /* end confdefs.h. */
11829 #include <stdlib.h>
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
11862 echo "$as_me: failed program was:" >&5
11863 sed 's/^/| /' conftest.
$ac_ext >&5
11867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11868 cat >conftest.
$ac_ext <<_ACEOF
11871 cat confdefs.h
>>conftest.
$ac_ext
11872 cat >>conftest.
$ac_ext <<_ACEOF
11873 /* end confdefs.h. */
11883 rm -f conftest.
$ac_objext
11884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11885 (eval $ac_compile) 2>conftest.er1
11887 grep -v '^ *+' conftest.er1
>conftest.err
11889 cat conftest.err
>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); } &&
11892 { ac_try
='test -z "$ac_c_werror_flag"
11893 || test ! -s conftest.err'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; } &&
11899 { ac_try
='test -s conftest.$ac_objext'
11900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11901 (eval $ac_try) 2>&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); }; }; then
11907 echo "$as_me: failed program was:" >&5
11908 sed 's/^/| /' conftest.
$ac_ext >&5
11911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11914 if test -n "$ac_declaration"; then
11915 echo '#ifdef __cplusplus' >>confdefs.h
11916 echo $ac_declaration >>confdefs.h
11917 echo '#endif' >>confdefs.h
11921 echo "$as_me: failed program was:" >&5
11922 sed 's/^/| /' conftest.
$ac_ext >&5
11925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11927 ac_cpp
='$CPP $CPPFLAGS'
11928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11935 ac_cpp
='$CPP $CPPFLAGS'
11936 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11937 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11938 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11940 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11941 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11942 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 cat >conftest.
$ac_ext <<_ACEOF
11948 cat confdefs.h
>>conftest.
$ac_ext
11949 cat >>conftest.
$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11956 #ifndef __INTEL_COMPILER
11964 rm -f conftest.
$ac_objext
11965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11966 (eval $ac_compile) 2>conftest.er1
11968 grep -v '^ *+' conftest.er1
>conftest.err
11970 cat conftest.err
>&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); } &&
11973 { ac_try
='test -z "$ac_c_werror_flag"
11974 || test ! -s conftest.err'
11975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976 (eval $ac_try) 2>&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }; } &&
11980 { ac_try
='test -s conftest.$ac_objext'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
11988 echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.
$ac_ext >&5
11991 bakefile_cv_c_compiler___INTEL_COMPILER
=no
11994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11998 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11999 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12001 ac_cpp
='$CPP $CPPFLAGS'
12002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12006 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12013 if test "x$GCC" != "xyes"; then
12014 if test "xCC" = "xC"; then
12015 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12016 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12017 if test "${bakefile_cv_c_exto+set}" = set; then
12018 echo $ECHO_N "(cached) $ECHO_C" >&6
12020 cat >conftest.
$ac_ext <<_ACEOF
12023 cat confdefs.h
>>conftest.
$ac_ext
12024 cat >>conftest.
$ac_ext <<_ACEOF
12025 /* end confdefs.h. */
12035 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12037 (eval $ac_compile) 2>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); }; then
12041 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12043 conftest.
$ac_ext.o
)
12044 bakefile_cv_c_exto
="-ext o"
12051 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12052 See \`config.log' for more details." >&5
12053 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12054 See \`config.log' for more details." >&2;}
12055 { (exit 1); exit 1; }; }
12059 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12062 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12063 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12064 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12065 if test "c" = "c"; then
12066 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12068 if test "c" = "cxx"; then
12069 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12073 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12074 unset ac_cv_prog_cc_g
12075 ac_test_CFLAGS
=${CFLAGS+set}
12076 ac_save_CFLAGS
=$CFLAGS
12078 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12079 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12080 if test "${ac_cv_prog_cc_g+set}" = set; then
12081 echo $ECHO_N "(cached) $ECHO_C" >&6
12083 cat >conftest.
$ac_ext <<_ACEOF
12086 cat confdefs.h
>>conftest.
$ac_ext
12087 cat >>conftest.
$ac_ext <<_ACEOF
12088 /* end confdefs.h. */
12098 rm -f conftest.
$ac_objext
12099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12100 (eval $ac_compile) 2>conftest.er1
12102 grep -v '^ *+' conftest.er1
>conftest.err
12104 cat conftest.err
>&5
12105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106 (exit $ac_status); } &&
12107 { ac_try
='test -z "$ac_c_werror_flag"
12108 || test ! -s conftest.err'
12109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12110 (eval $ac_try) 2>&5
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); }; } &&
12114 { ac_try
='test -s conftest.$ac_objext'
12115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12116 (eval $ac_try) 2>&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); }; }; then
12120 ac_cv_prog_cc_g
=yes
12122 echo "$as_me: failed program was:" >&5
12123 sed 's/^/| /' conftest.
$ac_ext >&5
12127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12129 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12130 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12131 if test "$ac_test_CFLAGS" = set; then
12132 CFLAGS
=$ac_save_CFLAGS
12133 elif test $ac_cv_prog_cc_g = yes; then
12134 if test "$GCC" = yes; then
12140 if test "$GCC" = yes; then
12152 ac_cpp
='$CPP $CPPFLAGS'
12153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12157 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12158 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12159 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12160 echo $ECHO_N "(cached) $ECHO_C" >&6
12162 cat >conftest.
$ac_ext <<_ACEOF
12165 cat confdefs.h
>>conftest.
$ac_ext
12166 cat >>conftest.
$ac_ext <<_ACEOF
12167 /* end confdefs.h. */
12180 rm -f conftest.
$ac_objext
12181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12182 (eval $ac_compile) 2>conftest.er1
12184 grep -v '^ *+' conftest.er1
>conftest.err
12186 cat conftest.err
>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } &&
12189 { ac_try
='test -z "$ac_c_werror_flag"
12190 || test ! -s conftest.err'
12191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12192 (eval $ac_try) 2>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); }; } &&
12196 { ac_try
='test -s conftest.$ac_objext'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; }; then
12202 bakefile_compiler_xlc
=yes
12204 echo "$as_me: failed program was:" >&5
12205 sed 's/^/| /' conftest.
$ac_ext >&5
12207 bakefile_compiler_xlc
=no
12209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12210 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12213 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12214 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12216 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12218 ac_cpp
='$CPP $CPPFLAGS'
12219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12228 ac_cpp
='$CPP $CPPFLAGS'
12229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12233 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12234 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12235 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 cat >conftest.
$ac_ext <<_ACEOF
12241 cat confdefs.h
>>conftest.
$ac_ext
12242 cat >>conftest.
$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12256 rm -f conftest.
$ac_objext
12257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12258 (eval $ac_compile) 2>conftest.er1
12260 grep -v '^ *+' conftest.er1
>conftest.err
12262 cat conftest.err
>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); } &&
12265 { ac_try
='test -z "$ac_c_werror_flag"
12266 || test ! -s conftest.err'
12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12268 (eval $ac_try) 2>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; } &&
12272 { ac_try
='test -s conftest.$ac_objext'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; }; then
12278 bakefile_compiler_mwerks
=yes
12280 echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.
$ac_ext >&5
12283 bakefile_compiler_mwerks
=no
12285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12286 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12289 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12290 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12292 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12294 ac_cpp
='$CPP $CPPFLAGS'
12295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12301 ac_cpp
='$CPP $CPPFLAGS'
12302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12306 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12307 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12308 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12309 echo $ECHO_N "(cached) $ECHO_C" >&6
12311 cat >conftest.
$ac_ext <<_ACEOF
12314 cat confdefs.h
>>conftest.
$ac_ext
12315 cat >>conftest.
$ac_ext <<_ACEOF
12316 /* end confdefs.h. */
12329 rm -f conftest.
$ac_objext
12330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12331 (eval $ac_compile) 2>conftest.er1
12333 grep -v '^ *+' conftest.er1
>conftest.err
12335 cat conftest.err
>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } &&
12338 { ac_try
='test -z "$ac_c_werror_flag"
12339 || test ! -s conftest.err'
12340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12341 (eval $ac_try) 2>&5
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); }; } &&
12345 { ac_try
='test -s conftest.$ac_objext'
12346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12347 (eval $ac_try) 2>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); }; }; then
12351 bakefile_compiler_xlc
=yes
12353 echo "$as_me: failed program was:" >&5
12354 sed 's/^/| /' conftest.
$ac_ext >&5
12356 bakefile_compiler_xlc
=no
12358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12359 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12362 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12363 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12365 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12367 ac_cpp
='$CPP $CPPFLAGS'
12368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12379 ac_cpp
='$CPP $CPPFLAGS'
12380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12384 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12385 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12386 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12389 cat >conftest.
$ac_ext <<_ACEOF
12392 cat confdefs.h
>>conftest.
$ac_ext
12393 cat >>conftest.
$ac_ext <<_ACEOF
12394 /* end confdefs.h. */
12400 #ifndef _SGI_COMPILER_VERSION
12408 rm -f conftest.
$ac_objext
12409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12410 (eval $ac_compile) 2>conftest.er1
12412 grep -v '^ *+' conftest.er1
>conftest.err
12414 cat conftest.err
>&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); } &&
12417 { ac_try
='test -z "$ac_c_werror_flag"
12418 || test ! -s conftest.err'
12419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12420 (eval $ac_try) 2>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; } &&
12424 { ac_try
='test -s conftest.$ac_objext'
12425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12426 (eval $ac_try) 2>&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); }; }; then
12430 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12432 echo "$as_me: failed program was:" >&5
12433 sed 's/^/| /' conftest.
$ac_ext >&5
12435 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12442 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12443 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12445 ac_cpp
='$CPP $CPPFLAGS'
12446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12450 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12463 ac_cpp
='$CPP $CPPFLAGS'
12464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12468 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12469 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12470 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12471 echo $ECHO_N "(cached) $ECHO_C" >&6
12473 cat >conftest.
$ac_ext <<_ACEOF
12476 cat confdefs.h
>>conftest.
$ac_ext
12477 cat >>conftest.
$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12492 rm -f conftest.
$ac_objext
12493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12494 (eval $ac_compile) 2>conftest.er1
12496 grep -v '^ *+' conftest.er1
>conftest.err
12498 cat conftest.err
>&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); } &&
12501 { ac_try
='test -z "$ac_c_werror_flag"
12502 || test ! -s conftest.err'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; } &&
12508 { ac_try
='test -s conftest.$ac_objext'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12514 bakefile_cv_c_compiler___HP_cc
=yes
12516 echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.
$ac_ext >&5
12519 bakefile_cv_c_compiler___HP_cc
=no
12522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12526 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12527 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12529 ac_cpp
='$CPP $CPPFLAGS'
12530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12534 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12547 ac_cpp
='$CPP $CPPFLAGS'
12548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12552 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12553 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12554 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12555 echo $ECHO_N "(cached) $ECHO_C" >&6
12557 cat >conftest.
$ac_ext <<_ACEOF
12560 cat confdefs.h
>>conftest.
$ac_ext
12561 cat >>conftest.
$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12576 rm -f conftest.
$ac_objext
12577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12578 (eval $ac_compile) 2>conftest.er1
12580 grep -v '^ *+' conftest.er1
>conftest.err
12582 cat conftest.err
>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } &&
12585 { ac_try
='test -z "$ac_c_werror_flag"
12586 || test ! -s conftest.err'
12587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12588 (eval $ac_try) 2>&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); }; } &&
12592 { ac_try
='test -s conftest.$ac_objext'
12593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12594 (eval $ac_try) 2>&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); }; }; then
12598 bakefile_cv_c_compiler___DECC
=yes
12600 echo "$as_me: failed program was:" >&5
12601 sed 's/^/| /' conftest.
$ac_ext >&5
12603 bakefile_cv_c_compiler___DECC
=no
12606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12610 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12611 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12613 ac_cpp
='$CPP $CPPFLAGS'
12614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12618 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12631 ac_cpp
='$CPP $CPPFLAGS'
12632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12636 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12637 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12638 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12641 cat >conftest.
$ac_ext <<_ACEOF
12644 cat confdefs.h
>>conftest.
$ac_ext
12645 cat >>conftest.
$ac_ext <<_ACEOF
12646 /* end confdefs.h. */
12660 rm -f conftest.
$ac_objext
12661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12662 (eval $ac_compile) 2>conftest.er1
12664 grep -v '^ *+' conftest.er1
>conftest.err
12666 cat conftest.err
>&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } &&
12669 { ac_try
='test -z "$ac_c_werror_flag"
12670 || test ! -s conftest.err'
12671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); }; } &&
12676 { ac_try
='test -s conftest.$ac_objext'
12677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678 (eval $ac_try) 2>&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); }; }; then
12682 bakefile_cv_c_compiler___SUNPRO_C
=yes
12684 echo "$as_me: failed program was:" >&5
12685 sed 's/^/| /' conftest.
$ac_ext >&5
12687 bakefile_cv_c_compiler___SUNPRO_C
=no
12690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12694 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12695 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12697 ac_cpp
='$CPP $CPPFLAGS'
12698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12702 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12716 ac_cpp
='$CPP $CPPFLAGS'
12717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12720 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12721 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12722 # On Suns, sometimes $CPP names a directory.
12723 if test -n "$CPP" && test -d "$CPP"; then
12726 if test -z "$CPP"; then
12727 if test "${ac_cv_prog_CPP+set}" = set; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12730 # Double quotes because CPP needs to be expanded
12731 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12733 ac_preproc_ok
=false
12734 for ac_c_preproc_warn_flag
in '' yes
12736 # Use a header file that comes with gcc, so configuring glibc
12737 # with a fresh cross-compiler works.
12738 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12739 # <limits.h> exists even on freestanding compilers.
12740 # On the NeXT, cc -E runs the code through the compiler's parser,
12741 # not just through cpp. "Syntax error" is here to catch this case.
12742 cat >conftest.
$ac_ext <<_ACEOF
12745 cat confdefs.h
>>conftest.
$ac_ext
12746 cat >>conftest.
$ac_ext <<_ACEOF
12747 /* end confdefs.h. */
12749 # include <limits.h>
12751 # include <assert.h>
12755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12756 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12758 grep -v '^ *+' conftest.er1
>conftest.err
12760 cat conftest.err
>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } >/dev
/null
; then
12763 if test -s conftest.err
; then
12764 ac_cpp_err
=$ac_c_preproc_warn_flag
12765 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12772 if test -z "$ac_cpp_err"; then
12775 echo "$as_me: failed program was:" >&5
12776 sed 's/^/| /' conftest.
$ac_ext >&5
12778 # Broken: fails on valid input.
12781 rm -f conftest.err conftest.
$ac_ext
12783 # OK, works on sane cases. Now check whether non-existent headers
12784 # can be detected and how.
12785 cat >conftest.
$ac_ext <<_ACEOF
12788 cat confdefs.h
>>conftest.
$ac_ext
12789 cat >>conftest.
$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12791 #include <ac_nonexistent.h>
12793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12794 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12796 grep -v '^ *+' conftest.er1
>conftest.err
12798 cat conftest.err
>&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); } >/dev
/null
; then
12801 if test -s conftest.err
; then
12802 ac_cpp_err
=$ac_c_preproc_warn_flag
12803 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12810 if test -z "$ac_cpp_err"; then
12811 # Broken: success on invalid input.
12814 echo "$as_me: failed program was:" >&5
12815 sed 's/^/| /' conftest.
$ac_ext >&5
12817 # Passes both tests.
12821 rm -f conftest.err conftest.
$ac_ext
12824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12825 rm -f conftest.err conftest.
$ac_ext
12826 if $ac_preproc_ok; then
12831 ac_cv_prog_CPP
=$CPP
12834 CPP
=$ac_cv_prog_CPP
12836 ac_cv_prog_CPP
=$CPP
12838 echo "$as_me:$LINENO: result: $CPP" >&5
12839 echo "${ECHO_T}$CPP" >&6
12840 ac_preproc_ok
=false
12841 for ac_c_preproc_warn_flag
in '' yes
12843 # Use a header file that comes with gcc, so configuring glibc
12844 # with a fresh cross-compiler works.
12845 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12846 # <limits.h> exists even on freestanding compilers.
12847 # On the NeXT, cc -E runs the code through the compiler's parser,
12848 # not just through cpp. "Syntax error" is here to catch this case.
12849 cat >conftest.
$ac_ext <<_ACEOF
12852 cat confdefs.h
>>conftest.
$ac_ext
12853 cat >>conftest.
$ac_ext <<_ACEOF
12854 /* end confdefs.h. */
12856 # include <limits.h>
12858 # include <assert.h>
12862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12863 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12865 grep -v '^ *+' conftest.er1
>conftest.err
12867 cat conftest.err
>&5
12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 (exit $ac_status); } >/dev
/null
; then
12870 if test -s conftest.err
; then
12871 ac_cpp_err
=$ac_c_preproc_warn_flag
12872 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12879 if test -z "$ac_cpp_err"; then
12882 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.
$ac_ext >&5
12885 # Broken: fails on valid input.
12888 rm -f conftest.err conftest.
$ac_ext
12890 # OK, works on sane cases. Now check whether non-existent headers
12891 # can be detected and how.
12892 cat >conftest.
$ac_ext <<_ACEOF
12895 cat confdefs.h
>>conftest.
$ac_ext
12896 cat >>conftest.
$ac_ext <<_ACEOF
12897 /* end confdefs.h. */
12898 #include <ac_nonexistent.h>
12900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12901 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12903 grep -v '^ *+' conftest.er1
>conftest.err
12905 cat conftest.err
>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); } >/dev
/null
; then
12908 if test -s conftest.err
; then
12909 ac_cpp_err
=$ac_c_preproc_warn_flag
12910 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12917 if test -z "$ac_cpp_err"; then
12918 # Broken: success on invalid input.
12921 echo "$as_me: failed program was:" >&5
12922 sed 's/^/| /' conftest.
$ac_ext >&5
12924 # Passes both tests.
12928 rm -f conftest.err conftest.
$ac_ext
12931 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12932 rm -f conftest.err conftest.
$ac_ext
12933 if $ac_preproc_ok; then
12936 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12937 See \`config.log' for more details." >&5
12938 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12939 See \`config.log' for more details." >&2;}
12940 { (exit 1); exit 1; }; }
12944 ac_cpp
='$CPP $CPPFLAGS'
12945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12950 echo "$as_me:$LINENO: checking for egrep" >&5
12951 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12952 if test "${ac_cv_prog_egrep+set}" = set; then
12953 echo $ECHO_N "(cached) $ECHO_C" >&6
12955 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12956 then ac_cv_prog_egrep
='grep -E'
12957 else ac_cv_prog_egrep
='egrep'
12960 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12961 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12962 EGREP
=$ac_cv_prog_egrep
12965 if test $ac_cv_c_compiler_gnu = yes; then
12966 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12967 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12968 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12969 echo $ECHO_N "(cached) $ECHO_C" >&6
12971 ac_pattern
="Autoconf.*'x'"
12972 cat >conftest.
$ac_ext <<_ACEOF
12975 cat confdefs.h
>>conftest.
$ac_ext
12976 cat >>conftest.
$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12982 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12983 ac_cv_prog_gcc_traditional
=yes
12985 ac_cv_prog_gcc_traditional
=no
12990 if test $ac_cv_prog_gcc_traditional = no
; then
12991 cat >conftest.
$ac_ext <<_ACEOF
12994 cat confdefs.h
>>conftest.
$ac_ext
12995 cat >>conftest.
$ac_ext <<_ACEOF
12996 /* end confdefs.h. */
12997 #include <termio.h>
13000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13001 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13002 ac_cv_prog_gcc_traditional
=yes
13008 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13009 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13010 if test $ac_cv_prog_gcc_traditional = yes; then
13011 CC
="$CC -traditional"
13019 ac_cpp
='$CXXCPP $CPPFLAGS'
13020 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13021 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13022 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13025 CXXFLAGS
=${CXXFLAGS:=}
13030 ac_cpp
='$CXXCPP $CPPFLAGS'
13031 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13032 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13033 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13034 if test -n "$ac_tool_prefix"; then
13035 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13037 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13038 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13039 echo "$as_me:$LINENO: checking for $ac_word" >&5
13040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13041 if test "${ac_cv_prog_CXX+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 if test -n "$CXX"; then
13045 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13048 for as_dir
in $PATH
13051 test -z "$as_dir" && as_dir
=.
13052 for ac_exec_ext
in '' $ac_executable_extensions; do
13053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13054 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13063 CXX
=$ac_cv_prog_CXX
13064 if test -n "$CXX"; then
13065 echo "$as_me:$LINENO: result: $CXX" >&5
13066 echo "${ECHO_T}$CXX" >&6
13068 echo "$as_me:$LINENO: result: no" >&5
13069 echo "${ECHO_T}no" >&6
13072 test -n "$CXX" && break
13075 if test -z "$CXX"; then
13077 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13079 # Extract the first word of "$ac_prog", so it can be a program name with args.
13080 set dummy
$ac_prog; ac_word
=$2
13081 echo "$as_me:$LINENO: checking for $ac_word" >&5
13082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13083 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13084 echo $ECHO_N "(cached) $ECHO_C" >&6
13086 if test -n "$ac_ct_CXX"; then
13087 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13090 for as_dir
in $PATH
13093 test -z "$as_dir" && as_dir
=.
13094 for ac_exec_ext
in '' $ac_executable_extensions; do
13095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13096 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13105 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13106 if test -n "$ac_ct_CXX"; then
13107 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13108 echo "${ECHO_T}$ac_ct_CXX" >&6
13110 echo "$as_me:$LINENO: result: no" >&5
13111 echo "${ECHO_T}no" >&6
13114 test -n "$ac_ct_CXX" && break
13116 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13122 # Provide some information about the compiler.
13123 echo "$as_me:$LINENO:" \
13124 "checking for C++ compiler version" >&5
13125 ac_compiler
=`set X $ac_compile; echo $2`
13126 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13127 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); }
13131 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13132 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); }
13136 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13137 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); }
13142 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13143 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13144 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13145 echo $ECHO_N "(cached) $ECHO_C" >&6
13147 cat >conftest.
$ac_ext <<_ACEOF
13150 cat confdefs.h
>>conftest.
$ac_ext
13151 cat >>conftest.
$ac_ext <<_ACEOF
13152 /* end confdefs.h. */
13165 rm -f conftest.
$ac_objext
13166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13167 (eval $ac_compile) 2>conftest.er1
13169 grep -v '^ *+' conftest.er1
>conftest.err
13171 cat conftest.err
>&5
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); } &&
13174 { ac_try
='test -z "$ac_cxx_werror_flag"
13175 || test ! -s conftest.err'
13176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13177 (eval $ac_try) 2>&5
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; } &&
13181 { ac_try
='test -s conftest.$ac_objext'
13182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13183 (eval $ac_try) 2>&5
13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 (exit $ac_status); }; }; then
13187 ac_compiler_gnu
=yes
13189 echo "$as_me: failed program was:" >&5
13190 sed 's/^/| /' conftest.
$ac_ext >&5
13194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13195 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13198 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13199 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13200 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13201 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13202 ac_save_CXXFLAGS
=$CXXFLAGS
13204 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13205 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13206 if test "${ac_cv_prog_cxx_g+set}" = set; then
13207 echo $ECHO_N "(cached) $ECHO_C" >&6
13209 cat >conftest.
$ac_ext <<_ACEOF
13212 cat confdefs.h
>>conftest.
$ac_ext
13213 cat >>conftest.
$ac_ext <<_ACEOF
13214 /* end confdefs.h. */
13224 rm -f conftest.
$ac_objext
13225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13226 (eval $ac_compile) 2>conftest.er1
13228 grep -v '^ *+' conftest.er1
>conftest.err
13230 cat conftest.err
>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); } &&
13233 { ac_try
='test -z "$ac_cxx_werror_flag"
13234 || test ! -s conftest.err'
13235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13236 (eval $ac_try) 2>&5
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); }; } &&
13240 { ac_try
='test -s conftest.$ac_objext'
13241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13242 (eval $ac_try) 2>&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); }; }; then
13246 ac_cv_prog_cxx_g
=yes
13248 echo "$as_me: failed program was:" >&5
13249 sed 's/^/| /' conftest.
$ac_ext >&5
13251 ac_cv_prog_cxx_g
=no
13253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13255 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13256 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13257 if test "$ac_test_CXXFLAGS" = set; then
13258 CXXFLAGS
=$ac_save_CXXFLAGS
13259 elif test $ac_cv_prog_cxx_g = yes; then
13260 if test "$GXX" = yes; then
13266 if test "$GXX" = yes; then
13272 for ac_declaration
in \
13274 'extern "C" void std::exit (int) throw (); using std::exit;' \
13275 'extern "C" void std::exit (int); using std::exit;' \
13276 'extern "C" void exit (int) throw ();' \
13277 'extern "C" void exit (int);' \
13280 cat >conftest.
$ac_ext <<_ACEOF
13283 cat confdefs.h
>>conftest.
$ac_ext
13284 cat >>conftest.
$ac_ext <<_ACEOF
13285 /* end confdefs.h. */
13287 #include <stdlib.h>
13296 rm -f conftest.
$ac_objext
13297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13298 (eval $ac_compile) 2>conftest.er1
13300 grep -v '^ *+' conftest.er1
>conftest.err
13302 cat conftest.err
>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } &&
13305 { ac_try
='test -z "$ac_cxx_werror_flag"
13306 || test ! -s conftest.err'
13307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13308 (eval $ac_try) 2>&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); }; } &&
13312 { ac_try
='test -s conftest.$ac_objext'
13313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13314 (eval $ac_try) 2>&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; }; then
13320 echo "$as_me: failed program was:" >&5
13321 sed 's/^/| /' conftest.
$ac_ext >&5
13325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13326 cat >conftest.
$ac_ext <<_ACEOF
13329 cat confdefs.h
>>conftest.
$ac_ext
13330 cat >>conftest.
$ac_ext <<_ACEOF
13331 /* end confdefs.h. */
13341 rm -f conftest.
$ac_objext
13342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13343 (eval $ac_compile) 2>conftest.er1
13345 grep -v '^ *+' conftest.er1
>conftest.err
13347 cat conftest.err
>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } &&
13350 { ac_try
='test -z "$ac_cxx_werror_flag"
13351 || test ! -s conftest.err'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; } &&
13357 { ac_try
='test -s conftest.$ac_objext'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; }; then
13365 echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.
$ac_ext >&5
13369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13372 if test -n "$ac_declaration"; then
13373 echo '#ifdef __cplusplus' >>confdefs.h
13374 echo $ac_declaration >>confdefs.h
13375 echo '#endif' >>confdefs.h
13379 ac_cpp
='$CXXCPP $CPPFLAGS'
13380 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13381 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13382 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13387 ac_cpp
='$CXXCPP $CPPFLAGS'
13388 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13389 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13390 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13392 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13393 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13394 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13395 echo $ECHO_N "(cached) $ECHO_C" >&6
13397 cat >conftest.
$ac_ext <<_ACEOF
13400 cat confdefs.h
>>conftest.
$ac_ext
13401 cat >>conftest.
$ac_ext <<_ACEOF
13402 /* end confdefs.h. */
13408 #ifndef __INTEL_COMPILER
13416 rm -f conftest.
$ac_objext
13417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13418 (eval $ac_compile) 2>conftest.er1
13420 grep -v '^ *+' conftest.er1
>conftest.err
13422 cat conftest.err
>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); } &&
13425 { ac_try
='test -z "$ac_cxx_werror_flag"
13426 || test ! -s conftest.err'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; } &&
13432 { ac_try
='test -s conftest.$ac_objext'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; }; then
13438 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.
$ac_ext >&5
13443 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13450 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13451 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13453 ac_cpp
='$CXXCPP $CPPFLAGS'
13454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13458 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13465 if test "x$GCXX" != "xyes"; then
13466 if test "xCXX" = "xC"; then
13467 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13468 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13469 if test "${bakefile_cv_cxx_exto+set}" = set; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13472 cat >conftest.
$ac_ext <<_ACEOF
13475 cat confdefs.h
>>conftest.
$ac_ext
13476 cat >>conftest.
$ac_ext <<_ACEOF
13477 /* end confdefs.h. */
13487 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13489 (eval $ac_compile) 2>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; then
13493 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13495 conftest.
$ac_ext.o
)
13496 bakefile_cv_cxx_exto
="-ext o"
13503 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13504 See \`config.log' for more details." >&5
13505 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13506 See \`config.log' for more details." >&2;}
13507 { (exit 1); exit 1; }; }
13511 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13514 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13515 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13516 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13517 if test "cxx" = "c"; then
13518 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13520 if test "cxx" = "cxx"; then
13521 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13525 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13526 unset ac_cv_prog_cc_g
13527 ac_test_CFLAGS
=${CFLAGS+set}
13528 ac_save_CFLAGS
=$CFLAGS
13530 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13531 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13532 if test "${ac_cv_prog_cc_g+set}" = set; then
13533 echo $ECHO_N "(cached) $ECHO_C" >&6
13535 cat >conftest.
$ac_ext <<_ACEOF
13538 cat confdefs.h
>>conftest.
$ac_ext
13539 cat >>conftest.
$ac_ext <<_ACEOF
13540 /* end confdefs.h. */
13550 rm -f conftest.
$ac_objext
13551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13552 (eval $ac_compile) 2>conftest.er1
13554 grep -v '^ *+' conftest.er1
>conftest.err
13556 cat conftest.err
>&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } &&
13559 { ac_try
='test -z "$ac_cxx_werror_flag"
13560 || test ! -s conftest.err'
13561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13562 (eval $ac_try) 2>&5
13564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); }; } &&
13566 { ac_try
='test -s conftest.$ac_objext'
13567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13568 (eval $ac_try) 2>&5
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); }; }; then
13572 ac_cv_prog_cc_g
=yes
13574 echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.
$ac_ext >&5
13579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13581 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13582 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13583 if test "$ac_test_CFLAGS" = set; then
13584 CFLAGS
=$ac_save_CFLAGS
13585 elif test $ac_cv_prog_cc_g = yes; then
13586 if test "$GCC" = yes; then
13592 if test "$GCC" = yes; then
13604 ac_cpp
='$CXXCPP $CPPFLAGS'
13605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13609 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13610 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13611 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13612 echo $ECHO_N "(cached) $ECHO_C" >&6
13614 cat >conftest.
$ac_ext <<_ACEOF
13617 cat confdefs.h
>>conftest.
$ac_ext
13618 cat >>conftest.
$ac_ext <<_ACEOF
13619 /* end confdefs.h. */
13632 rm -f conftest.
$ac_objext
13633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13634 (eval $ac_compile) 2>conftest.er1
13636 grep -v '^ *+' conftest.er1
>conftest.err
13638 cat conftest.err
>&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } &&
13641 { ac_try
='test -z "$ac_cxx_werror_flag"
13642 || test ! -s conftest.err'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; } &&
13648 { ac_try
='test -s conftest.$ac_objext'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; }; then
13654 bakefile_compiler_xlc
=yes
13656 echo "$as_me: failed program was:" >&5
13657 sed 's/^/| /' conftest.
$ac_ext >&5
13659 bakefile_compiler_xlc
=no
13661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13662 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13665 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13666 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13668 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13670 ac_cpp
='$CXXCPP $CPPFLAGS'
13671 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13672 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13673 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13680 ac_cpp
='$CXXCPP $CPPFLAGS'
13681 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13682 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13683 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13685 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13686 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13687 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13688 echo $ECHO_N "(cached) $ECHO_C" >&6
13690 cat >conftest.
$ac_ext <<_ACEOF
13693 cat confdefs.h
>>conftest.
$ac_ext
13694 cat >>conftest.
$ac_ext <<_ACEOF
13695 /* end confdefs.h. */
13708 rm -f conftest.
$ac_objext
13709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13710 (eval $ac_compile) 2>conftest.er1
13712 grep -v '^ *+' conftest.er1
>conftest.err
13714 cat conftest.err
>&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); } &&
13717 { ac_try
='test -z "$ac_cxx_werror_flag"
13718 || test ! -s conftest.err'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; } &&
13724 { ac_try
='test -s conftest.$ac_objext'
13725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726 (eval $ac_try) 2>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; }; then
13730 bakefile_compiler_mwerks
=yes
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.
$ac_ext >&5
13735 bakefile_compiler_mwerks
=no
13737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13738 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13741 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13742 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13744 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13746 ac_cpp
='$CXXCPP $CPPFLAGS'
13747 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13748 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13749 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13753 ac_cpp
='$CXXCPP $CPPFLAGS'
13754 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13755 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13756 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13758 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13759 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13760 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13761 echo $ECHO_N "(cached) $ECHO_C" >&6
13763 cat >conftest.
$ac_ext <<_ACEOF
13766 cat confdefs.h
>>conftest.
$ac_ext
13767 cat >>conftest.
$ac_ext <<_ACEOF
13768 /* end confdefs.h. */
13781 rm -f conftest.
$ac_objext
13782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13783 (eval $ac_compile) 2>conftest.er1
13785 grep -v '^ *+' conftest.er1
>conftest.err
13787 cat conftest.err
>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); } &&
13790 { ac_try
='test -z "$ac_cxx_werror_flag"
13791 || test ! -s conftest.err'
13792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13793 (eval $ac_try) 2>&5
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); }; } &&
13797 { ac_try
='test -s conftest.$ac_objext'
13798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13799 (eval $ac_try) 2>&5
13801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802 (exit $ac_status); }; }; then
13803 bakefile_compiler_xlc
=yes
13805 echo "$as_me: failed program was:" >&5
13806 sed 's/^/| /' conftest.
$ac_ext >&5
13808 bakefile_compiler_xlc
=no
13810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13811 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13814 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13815 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13817 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13819 ac_cpp
='$CXXCPP $CPPFLAGS'
13820 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13821 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13822 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13831 ac_cpp
='$CXXCPP $CPPFLAGS'
13832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13836 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13837 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13838 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13839 echo $ECHO_N "(cached) $ECHO_C" >&6
13841 cat >conftest.
$ac_ext <<_ACEOF
13844 cat confdefs.h
>>conftest.
$ac_ext
13845 cat >>conftest.
$ac_ext <<_ACEOF
13846 /* end confdefs.h. */
13852 #ifndef _SGI_COMPILER_VERSION
13860 rm -f conftest.
$ac_objext
13861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13862 (eval $ac_compile) 2>conftest.er1
13864 grep -v '^ *+' conftest.er1
>conftest.err
13866 cat conftest.err
>&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); } &&
13869 { ac_try
='test -z "$ac_cxx_werror_flag"
13870 || test ! -s conftest.err'
13871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13872 (eval $ac_try) 2>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; } &&
13876 { ac_try
='test -s conftest.$ac_objext'
13877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878 (eval $ac_try) 2>&5
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); }; }; then
13882 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13884 echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.
$ac_ext >&5
13887 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13894 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13895 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13897 ac_cpp
='$CXXCPP $CPPFLAGS'
13898 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13899 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13900 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13902 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13915 ac_cpp
='$CXXCPP $CPPFLAGS'
13916 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13917 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13918 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13920 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13921 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13922 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13923 echo $ECHO_N "(cached) $ECHO_C" >&6
13925 cat >conftest.
$ac_ext <<_ACEOF
13928 cat confdefs.h
>>conftest.
$ac_ext
13929 cat >>conftest.
$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13944 rm -f conftest.
$ac_objext
13945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13946 (eval $ac_compile) 2>conftest.er1
13948 grep -v '^ *+' conftest.er1
>conftest.err
13950 cat conftest.err
>&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); } &&
13953 { ac_try
='test -z "$ac_cxx_werror_flag"
13954 || test ! -s conftest.err'
13955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13956 (eval $ac_try) 2>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); }; } &&
13960 { ac_try
='test -s conftest.$ac_objext'
13961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 (eval $ac_try) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; }; then
13966 bakefile_cv_cxx_compiler___HP_aCC
=yes
13968 echo "$as_me: failed program was:" >&5
13969 sed 's/^/| /' conftest.
$ac_ext >&5
13971 bakefile_cv_cxx_compiler___HP_aCC
=no
13974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13978 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13979 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13981 ac_cpp
='$CXXCPP $CPPFLAGS'
13982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13986 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13999 ac_cpp
='$CXXCPP $CPPFLAGS'
14000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14004 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14005 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14006 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14007 echo $ECHO_N "(cached) $ECHO_C" >&6
14009 cat >conftest.
$ac_ext <<_ACEOF
14012 cat confdefs.h
>>conftest.
$ac_ext
14013 cat >>conftest.
$ac_ext <<_ACEOF
14014 /* end confdefs.h. */
14028 rm -f conftest.
$ac_objext
14029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14030 (eval $ac_compile) 2>conftest.er1
14032 grep -v '^ *+' conftest.er1
>conftest.err
14034 cat conftest.err
>&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } &&
14037 { ac_try
='test -z "$ac_cxx_werror_flag"
14038 || test ! -s conftest.err'
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 (eval $ac_try) 2>&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; } &&
14044 { ac_try
='test -s conftest.$ac_objext'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; }; then
14050 bakefile_cv_cxx_compiler___DECCXX
=yes
14052 echo "$as_me: failed program was:" >&5
14053 sed 's/^/| /' conftest.
$ac_ext >&5
14055 bakefile_cv_cxx_compiler___DECCXX
=no
14058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14062 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14063 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14065 ac_cpp
='$CXXCPP $CPPFLAGS'
14066 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14067 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14068 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14070 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14083 ac_cpp
='$CXXCPP $CPPFLAGS'
14084 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14085 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14086 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14088 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14089 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14090 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14091 echo $ECHO_N "(cached) $ECHO_C" >&6
14093 cat >conftest.
$ac_ext <<_ACEOF
14096 cat confdefs.h
>>conftest.
$ac_ext
14097 cat >>conftest.
$ac_ext <<_ACEOF
14098 /* end confdefs.h. */
14104 #ifndef __SUNPRO_CC
14112 rm -f conftest.
$ac_objext
14113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14114 (eval $ac_compile) 2>conftest.er1
14116 grep -v '^ *+' conftest.er1
>conftest.err
14118 cat conftest.err
>&5
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); } &&
14121 { ac_try
='test -z "$ac_cxx_werror_flag"
14122 || test ! -s conftest.err'
14123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14124 (eval $ac_try) 2>&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }; } &&
14128 { ac_try
='test -s conftest.$ac_objext'
14129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14130 (eval $ac_try) 2>&5
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); }; }; then
14134 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14136 echo "$as_me: failed program was:" >&5
14137 sed 's/^/| /' conftest.
$ac_ext >&5
14139 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14146 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14147 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14149 ac_cpp
='$CXXCPP $CPPFLAGS'
14150 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14151 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14152 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14154 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14168 ac_cpp
='$CPP $CPPFLAGS'
14169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14174 if test -n "$ac_tool_prefix"; then
14175 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14176 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14177 echo "$as_me:$LINENO: checking for $ac_word" >&5
14178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14179 if test "${ac_cv_prog_RANLIB+set}" = set; then
14180 echo $ECHO_N "(cached) $ECHO_C" >&6
14182 if test -n "$RANLIB"; then
14183 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14186 for as_dir
in $PATH
14189 test -z "$as_dir" && as_dir
=.
14190 for ac_exec_ext
in '' $ac_executable_extensions; do
14191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14192 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14201 RANLIB
=$ac_cv_prog_RANLIB
14202 if test -n "$RANLIB"; then
14203 echo "$as_me:$LINENO: result: $RANLIB" >&5
14204 echo "${ECHO_T}$RANLIB" >&6
14206 echo "$as_me:$LINENO: result: no" >&5
14207 echo "${ECHO_T}no" >&6
14211 if test -z "$ac_cv_prog_RANLIB"; then
14212 ac_ct_RANLIB
=$RANLIB
14213 # Extract the first word of "ranlib", so it can be a program name with args.
14214 set dummy ranlib
; ac_word
=$2
14215 echo "$as_me:$LINENO: checking for $ac_word" >&5
14216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14217 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 if test -n "$ac_ct_RANLIB"; then
14221 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14224 for as_dir
in $PATH
14227 test -z "$as_dir" && as_dir
=.
14228 for ac_exec_ext
in '' $ac_executable_extensions; do
14229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14230 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14237 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14240 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14241 if test -n "$ac_ct_RANLIB"; then
14242 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14243 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14245 echo "$as_me:$LINENO: result: no" >&5
14246 echo "${ECHO_T}no" >&6
14249 RANLIB
=$ac_ct_RANLIB
14251 RANLIB
="$ac_cv_prog_RANLIB"
14255 if test -n "$ac_tool_prefix"; then
14256 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14257 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14258 echo "$as_me:$LINENO: checking for $ac_word" >&5
14259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14260 if test "${ac_cv_prog_AR+set}" = set; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 if test -n "$AR"; then
14264 ac_cv_prog_AR
="$AR" # Let the user override the test.
14266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14267 for as_dir
in $PATH
14270 test -z "$as_dir" && as_dir
=.
14271 for ac_exec_ext
in '' $ac_executable_extensions; do
14272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14273 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14283 if test -n "$AR"; then
14284 echo "$as_me:$LINENO: result: $AR" >&5
14285 echo "${ECHO_T}$AR" >&6
14287 echo "$as_me:$LINENO: result: no" >&5
14288 echo "${ECHO_T}no" >&6
14292 if test -z "$ac_cv_prog_AR"; then
14294 # Extract the first word of "ar", so it can be a program name with args.
14295 set dummy
ar; ac_word
=$2
14296 echo "$as_me:$LINENO: checking for $ac_word" >&5
14297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14298 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14299 echo $ECHO_N "(cached) $ECHO_C" >&6
14301 if test -n "$ac_ct_AR"; then
14302 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14305 for as_dir
in $PATH
14308 test -z "$as_dir" && as_dir
=.
14309 for ac_exec_ext
in '' $ac_executable_extensions; do
14310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14311 ac_cv_prog_ac_ct_AR
="ar"
14312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14320 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14321 if test -n "$ac_ct_AR"; then
14322 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14323 echo "${ECHO_T}$ac_ct_AR" >&6
14325 echo "$as_me:$LINENO: result: no" >&5
14326 echo "${ECHO_T}no" >&6
14331 AR
="$ac_cv_prog_AR"
14334 if test "x$AR" = "x" ; then
14335 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14336 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14337 { (exit 1); exit 1; }; }
14340 # Find a good install program. We prefer a C program (faster),
14341 # so one script is as good as another. But avoid the broken or
14342 # incompatible versions:
14343 # SysV /etc/install, /usr/sbin/install
14344 # SunOS /usr/etc/install
14345 # IRIX /sbin/install
14347 # AmigaOS /C/install, which installs bootblocks on floppy discs
14348 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14349 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14350 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14351 # OS/2's system install, which has a completely different semantic
14352 # ./install, which can be erroneously created by make from ./install.sh.
14353 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14354 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14355 if test -z "$INSTALL"; then
14356 if test "${ac_cv_path_install+set}" = set; then
14357 echo $ECHO_N "(cached) $ECHO_C" >&6
14359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14360 for as_dir
in $PATH
14363 test -z "$as_dir" && as_dir
=.
14364 # Account for people who put trailing slashes in PATH elements.
14366 .
/ | .
// | /cC
/* | \
14367 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14368 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14371 # OSF1 and SCO ODT 3.0 have their own names for install.
14372 # Don't use installbsd from OSF since it installs stuff as root
14374 for ac_prog
in ginstall scoinst
install; do
14375 for ac_exec_ext
in '' $ac_executable_extensions; do
14376 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14377 if test $ac_prog = install &&
14378 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14379 # AIX install. It has an incompatible calling convention.
14381 elif test $ac_prog = install &&
14382 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14383 # program-specific install script used by HP pwplus--don't use.
14386 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14398 if test "${ac_cv_path_install+set}" = set; then
14399 INSTALL
=$ac_cv_path_install
14401 # As a last resort, use the slow shell script. We don't cache a
14402 # path for INSTALL within a source directory, because that will
14403 # break other packages using the cache if that directory is
14404 # removed, or if the path is relative.
14405 INSTALL
=$ac_install_sh
14408 echo "$as_me:$LINENO: result: $INSTALL" >&5
14409 echo "${ECHO_T}$INSTALL" >&6
14411 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14412 # It thinks the first close brace ends the variable substitution.
14413 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14415 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14417 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14423 ?
:* ) # Drive letter, considered as absolute.
14426 INSTALL
=`pwd`/${INSTALL} ;;
14433 INSTALL_PROGRAM
="cp -fp"
14434 INSTALL_DATA
="cp -fp"
14440 if test -n "$ac_tool_prefix"; then
14441 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14442 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14443 echo "$as_me:$LINENO: checking for $ac_word" >&5
14444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14445 if test "${ac_cv_prog_STRIP+set}" = set; then
14446 echo $ECHO_N "(cached) $ECHO_C" >&6
14448 if test -n "$STRIP"; then
14449 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14452 for as_dir
in $PATH
14455 test -z "$as_dir" && as_dir
=.
14456 for ac_exec_ext
in '' $ac_executable_extensions; do
14457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14458 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14467 STRIP
=$ac_cv_prog_STRIP
14468 if test -n "$STRIP"; then
14469 echo "$as_me:$LINENO: result: $STRIP" >&5
14470 echo "${ECHO_T}$STRIP" >&6
14472 echo "$as_me:$LINENO: result: no" >&5
14473 echo "${ECHO_T}no" >&6
14477 if test -z "$ac_cv_prog_STRIP"; then
14479 # Extract the first word of "strip", so it can be a program name with args.
14480 set dummy strip
; ac_word
=$2
14481 echo "$as_me:$LINENO: checking for $ac_word" >&5
14482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14483 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14484 echo $ECHO_N "(cached) $ECHO_C" >&6
14486 if test -n "$ac_ct_STRIP"; then
14487 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14490 for as_dir
in $PATH
14493 test -z "$as_dir" && as_dir
=.
14494 for ac_exec_ext
in '' $ac_executable_extensions; do
14495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14496 ac_cv_prog_ac_ct_STRIP
="strip"
14497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14503 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14506 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14507 if test -n "$ac_ct_STRIP"; then
14508 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14509 echo "${ECHO_T}$ac_ct_STRIP" >&6
14511 echo "$as_me:$LINENO: result: no" >&5
14512 echo "${ECHO_T}no" >&6
14517 STRIP
="$ac_cv_prog_STRIP"
14521 if test "$wxUSE_WINE" = "yes"; then
14522 if test -n "$ac_tool_prefix"; then
14523 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14524 set dummy
${ac_tool_prefix}wrc
; 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_WINDRES+set}" = set; then
14528 echo $ECHO_N "(cached) $ECHO_C" >&6
14530 if test -n "$WINDRES"; then
14531 ac_cv_prog_WINDRES
="$WINDRES" # 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_WINDRES
="${ac_tool_prefix}wrc"
14541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14549 WINDRES
=$ac_cv_prog_WINDRES
14550 if test -n "$WINDRES"; then
14551 echo "$as_me:$LINENO: result: $WINDRES" >&5
14552 echo "${ECHO_T}$WINDRES" >&6
14554 echo "$as_me:$LINENO: result: no" >&5
14555 echo "${ECHO_T}no" >&6
14559 if test -z "$ac_cv_prog_WINDRES"; then
14560 ac_ct_WINDRES
=$WINDRES
14561 # Extract the first word of "wrc", so it can be a program name with args.
14562 set dummy wrc
; ac_word
=$2
14563 echo "$as_me:$LINENO: checking for $ac_word" >&5
14564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14565 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14566 echo $ECHO_N "(cached) $ECHO_C" >&6
14568 if test -n "$ac_ct_WINDRES"; then
14569 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14572 for as_dir
in $PATH
14575 test -z "$as_dir" && as_dir
=.
14576 for ac_exec_ext
in '' $ac_executable_extensions; do
14577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14578 ac_cv_prog_ac_ct_WINDRES
="wrc"
14579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14587 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14588 if test -n "$ac_ct_WINDRES"; then
14589 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14590 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14592 echo "$as_me:$LINENO: result: no" >&5
14593 echo "${ECHO_T}no" >&6
14596 WINDRES
=$ac_ct_WINDRES
14598 WINDRES
="$ac_cv_prog_WINDRES"
14604 *-*-cygwin* | *-*-mingw32* )
14605 if test -n "$ac_tool_prefix"; then
14606 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14607 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14608 echo "$as_me:$LINENO: checking for $ac_word" >&5
14609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14610 if test "${ac_cv_prog_WINDRES+set}" = set; then
14611 echo $ECHO_N "(cached) $ECHO_C" >&6
14613 if test -n "$WINDRES"; then
14614 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14617 for as_dir
in $PATH
14620 test -z "$as_dir" && as_dir
=.
14621 for ac_exec_ext
in '' $ac_executable_extensions; do
14622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14623 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
14624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14632 WINDRES
=$ac_cv_prog_WINDRES
14633 if test -n "$WINDRES"; then
14634 echo "$as_me:$LINENO: result: $WINDRES" >&5
14635 echo "${ECHO_T}$WINDRES" >&6
14637 echo "$as_me:$LINENO: result: no" >&5
14638 echo "${ECHO_T}no" >&6
14642 if test -z "$ac_cv_prog_WINDRES"; then
14643 ac_ct_WINDRES
=$WINDRES
14644 # Extract the first word of "windres", so it can be a program name with args.
14645 set dummy windres
; ac_word
=$2
14646 echo "$as_me:$LINENO: checking for $ac_word" >&5
14647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14648 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14649 echo $ECHO_N "(cached) $ECHO_C" >&6
14651 if test -n "$ac_ct_WINDRES"; then
14652 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14655 for as_dir
in $PATH
14658 test -z "$as_dir" && as_dir
=.
14659 for ac_exec_ext
in '' $ac_executable_extensions; do
14660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14661 ac_cv_prog_ac_ct_WINDRES
="windres"
14662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14670 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14671 if test -n "$ac_ct_WINDRES"; then
14672 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14673 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14675 echo "$as_me:$LINENO: result: no" >&5
14676 echo "${ECHO_T}no" >&6
14679 WINDRES
=$ac_ct_WINDRES
14681 WINDRES
="$ac_cv_prog_WINDRES"
14685 if test -n "$ac_tool_prefix"; then
14686 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14687 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14688 echo "$as_me:$LINENO: checking for $ac_word" >&5
14689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14690 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14691 echo $ECHO_N "(cached) $ECHO_C" >&6
14693 if test -n "$DLLTOOL"; then
14694 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14697 for as_dir
in $PATH
14700 test -z "$as_dir" && as_dir
=.
14701 for ac_exec_ext
in '' $ac_executable_extensions; do
14702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14703 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14712 DLLTOOL
=$ac_cv_prog_DLLTOOL
14713 if test -n "$DLLTOOL"; then
14714 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14715 echo "${ECHO_T}$DLLTOOL" >&6
14717 echo "$as_me:$LINENO: result: no" >&5
14718 echo "${ECHO_T}no" >&6
14722 if test -z "$ac_cv_prog_DLLTOOL"; then
14723 ac_ct_DLLTOOL
=$DLLTOOL
14724 # Extract the first word of "dlltool", so it can be a program name with args.
14725 set dummy dlltool
; ac_word
=$2
14726 echo "$as_me:$LINENO: checking for $ac_word" >&5
14727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14728 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14729 echo $ECHO_N "(cached) $ECHO_C" >&6
14731 if test -n "$ac_ct_DLLTOOL"; then
14732 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14735 for as_dir
in $PATH
14738 test -z "$as_dir" && as_dir
=.
14739 for ac_exec_ext
in '' $ac_executable_extensions; do
14740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14741 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14750 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14751 if test -n "$ac_ct_DLLTOOL"; then
14752 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14753 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14755 echo "$as_me:$LINENO: result: no" >&5
14756 echo "${ECHO_T}no" >&6
14759 DLLTOOL
=$ac_ct_DLLTOOL
14761 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14768 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14769 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14770 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14775 egrep -s GNU
> /dev
/null
); then
14776 wx_cv_prog_makeisgnu
="yes"
14778 wx_cv_prog_makeisgnu
="no"
14782 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14783 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14785 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14793 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14794 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14795 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14796 if test "${wx_cv_prog_makevpath+set}" = set; then
14797 echo $ECHO_N "(cached) $ECHO_C" >&6
14800 cat - << EOF > confMake
14806 if test ! -d sub
; then
14809 echo dummy
> sub
/file
14810 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14812 rm -f sub
/file check final_file confMake
14814 if test "$RESULT" = 0; then
14815 wx_cv_prog_makevpath
="yes"
14817 wx_cv_prog_makevpath
="no"
14821 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14822 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14824 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14825 { { echo "$as_me:$LINENO: error:
14826 You need a make-utility that is able to use the variable
14828 If your version of make does not support VPATH correctly,
14829 please install GNU-make (possibly as gmake), and start
14830 configure with the following command:
14831 export MAKE=gmake; ./configure for sh-type shells
14832 setenv MAKE gmake; ./configure for csh-type shells
14833 Also please do remember to use gmake in this case every time
14834 you are trying to compile.
14836 echo "$as_me: error:
14837 You need a make-utility that is able to use the variable
14839 If your version of make does not support VPATH correctly,
14840 please install GNU-make (possibly as gmake), and start
14841 configure with the following command:
14842 export MAKE=gmake; ./configure for sh-type shells
14843 setenv MAKE gmake; ./configure for csh-type shells
14844 Also please do remember to use gmake in this case every time
14845 you are trying to compile.
14847 { (exit 1); exit 1; }; }
14849 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14850 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14852 if test "$LN_S" = "ln -s"; then
14853 echo "$as_me:$LINENO: result: yes" >&5
14854 echo "${ECHO_T}yes" >&6
14856 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14857 echo "${ECHO_T}no, using $LN_S" >&6
14863 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14864 CXXFLAGS
="-qunique $CXXFLAGS"
14868 powerpc
-*-darwin* )
14869 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14870 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14871 cat >conftest.
$ac_ext <<_ACEOF
14874 cat confdefs.h
>>conftest.
$ac_ext
14875 cat >>conftest.
$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14881 #ifndef __POWERPC__
14882 choke me for lack of PowerPC
14889 rm -f conftest.
$ac_objext
14890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14891 (eval $ac_compile) 2>conftest.er1
14893 grep -v '^ *+' conftest.er1
>conftest.err
14895 cat conftest.err
>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } &&
14898 { ac_try
='test -z "$ac_c_werror_flag"
14899 || test ! -s conftest.err'
14900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901 (eval $ac_try) 2>&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); }; } &&
14905 { ac_try
='test -s conftest.$ac_objext'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; }; then
14911 echo "$as_me:$LINENO: result: yes" >&5
14912 echo "${ECHO_T}yes" >&6
14914 echo "$as_me: failed program was:" >&5
14915 sed 's/^/| /' conftest.
$ac_ext >&5
14917 echo "$as_me:$LINENO: result: no" >&5
14918 echo "${ECHO_T}no" >&6
14919 cat >>confdefs.h
<<\_ACEOF
14920 #define __POWERPC__ 1
14925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14931 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14932 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14933 cat >conftest.
$ac_ext <<_ACEOF
14936 cat confdefs.h
>>conftest.
$ac_ext
14937 cat >>conftest.
$ac_ext <<_ACEOF
14938 /* end confdefs.h. */
14939 #include <CoreFoundation/CFBase.h>
14949 rm -f conftest.
$ac_objext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14951 (eval $ac_compile) 2>conftest.er1
14953 grep -v '^ *+' conftest.er1
>conftest.err
14955 cat conftest.err
>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try
='test -z "$ac_c_werror_flag"
14959 || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try
='test -s conftest.$ac_objext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14971 echo "$as_me:$LINENO: result: yes" >&5
14972 echo "${ECHO_T}yes" >&6
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.
$ac_ext >&5
14977 echo "$as_me:$LINENO: result: no" >&5
14978 echo "${ECHO_T}no" >&6
14979 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14980 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14981 cat >conftest.
$ac_ext <<_ACEOF
14984 cat confdefs.h
>>conftest.
$ac_ext
14985 cat >>conftest.
$ac_ext <<_ACEOF
14986 /* end confdefs.h. */
14987 #define __CF_USE_FRAMEWORK_INCLUDES__
14988 #include <CoreFoundation/CFBase.h>
14998 rm -f conftest.
$ac_objext
14999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15000 (eval $ac_compile) 2>conftest.er1
15002 grep -v '^ *+' conftest.er1
>conftest.err
15004 cat conftest.err
>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } &&
15007 { ac_try
='test -z "$ac_c_werror_flag"
15008 || test ! -s conftest.err'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; } &&
15014 { ac_try
='test -s conftest.$ac_objext'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; }; then
15020 echo "$as_me:$LINENO: result: yes" >&5
15021 echo "${ECHO_T}yes" >&6
15022 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15024 echo "$as_me: failed program was:" >&5
15025 sed 's/^/| /' conftest.
$ac_ext >&5
15027 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15028 See \`config.log' for more details." >&5
15029 echo "$as_me: error: no. CoreFoundation not available.
15030 See \`config.log' for more details." >&2;}
15031 { (exit 1); exit 1; }; }
15034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15043 *-pc-os2_emx | *-pc-os2-emx )
15044 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15045 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15046 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15047 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15048 echo $ECHO_N "(cached) $ECHO_C" >&6
15050 ac_check_lib_save_LIBS
=$LIBS
15051 LIBS
="-lcExt $LIBS"
15052 cat >conftest.
$ac_ext <<_ACEOF
15055 cat confdefs.h
>>conftest.
$ac_ext
15056 cat >>conftest.
$ac_ext <<_ACEOF
15057 /* end confdefs.h. */
15059 /* Override any gcc2 internal prototype to avoid an error. */
15063 /* We use char because int might match the return type of a gcc2
15064 builtin and then its argument prototype would still apply. */
15074 rm -f conftest.
$ac_objext conftest
$ac_exeext
15075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15076 (eval $ac_link) 2>conftest.er1
15078 grep -v '^ *+' conftest.er1
>conftest.err
15080 cat conftest.err
>&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); } &&
15083 { ac_try
='test -z "$ac_c_werror_flag"
15084 || test ! -s conftest.err'
15085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15086 (eval $ac_try) 2>&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); }; } &&
15090 { ac_try
='test -s conftest$ac_exeext'
15091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15092 (eval $ac_try) 2>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); }; }; then
15096 ac_cv_lib_cExt_drand48
=yes
15098 echo "$as_me: failed program was:" >&5
15099 sed 's/^/| /' conftest.
$ac_ext >&5
15101 ac_cv_lib_cExt_drand48
=no
15103 rm -f conftest.err conftest.
$ac_objext \
15104 conftest
$ac_exeext conftest.
$ac_ext
15105 LIBS
=$ac_check_lib_save_LIBS
15107 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15108 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15109 if test $ac_cv_lib_cExt_drand48 = yes; then
15110 LIBS
="$LIBS -lcExt"
15114 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15116 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15117 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15118 if test "${wx_cv_gccversion+set}" = set; then
15119 echo $ECHO_N "(cached) $ECHO_C" >&6
15122 if test "$cross_compiling" = yes; then
15123 wx_cv_gccversion
="EMX2"
15126 cat >conftest.
$ac_ext <<_ACEOF
15129 cat confdefs.h
>>conftest.
$ac_ext
15130 cat >>conftest.
$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15137 FILE *f=fopen("conftestval", "w");
15142 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15144 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15154 rm -f conftest
$ac_exeext
15155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15156 (eval $ac_link) 2>&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15161 (eval $ac_try) 2>&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); }; }; then
15165 wx_cv_gccversion
=`cat conftestval`
15167 echo "$as_me: program exited with status $ac_status" >&5
15168 echo "$as_me: failed program was:" >&5
15169 sed 's/^/| /' conftest.
$ac_ext >&5
15171 ( exit $ac_status )
15172 wx_cv_gccversion
="EMX2"
15174 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15178 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15179 echo "${ECHO_T}$wx_cv_gccversion" >&6
15180 if test "$wx_cv_gccversion" = "EMX2"; then
15181 LIBS
="$LIBS -lstdcpp"
15182 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15184 if test "$wx_cv_gccversion" = "EMX3"; then
15185 LIBS
="$LIBS -lstdcxx -lgcc"
15186 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15188 LIBS
="$LIBS -lstdc++"
15191 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15192 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15193 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15203 ac_cpp
='$CXXCPP $CPPFLAGS'
15204 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15205 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15206 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15209 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15210 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15211 if test "${ac_cv_string_strcasecmp+set}" = set; then
15212 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 cat >conftest.
$ac_ext <<_ACEOF
15218 cat confdefs.h
>>conftest.
$ac_ext
15219 cat >>conftest.
$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15222 #include <string.h>
15228 strcasecmp("foo", "bar");
15234 rm -f conftest.
$ac_objext conftest
$ac_exeext
15235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15236 (eval $ac_link) 2>conftest.er1
15238 grep -v '^ *+' conftest.er1
>conftest.err
15240 cat conftest.err
>&5
15241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242 (exit $ac_status); } &&
15243 { ac_try
='test -z "$ac_cxx_werror_flag"
15244 || test ! -s conftest.err'
15245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15246 (eval $ac_try) 2>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); }; } &&
15250 { ac_try
='test -s conftest$ac_exeext'
15251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15252 (eval $ac_try) 2>&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); }; }; then
15256 ac_cv_string_strcasecmp
=yes
15258 echo "$as_me: failed program was:" >&5
15259 sed 's/^/| /' conftest.
$ac_ext >&5
15261 ac_cv_string_strcasecmp
=no
15264 rm -f conftest.err conftest.
$ac_objext \
15265 conftest
$ac_exeext conftest.
$ac_ext
15268 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15269 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15271 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15272 cat >>confdefs.h
<<\_ACEOF
15273 #define HAVE_STRCASECMP_IN_STRING_H 1
15277 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15278 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15279 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15280 echo $ECHO_N "(cached) $ECHO_C" >&6
15283 cat >conftest.
$ac_ext <<_ACEOF
15286 cat confdefs.h
>>conftest.
$ac_ext
15287 cat >>conftest.
$ac_ext <<_ACEOF
15288 /* end confdefs.h. */
15290 #include <strings.h>
15296 strcasecmp("foo", "bar");
15302 rm -f conftest.
$ac_objext conftest
$ac_exeext
15303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15304 (eval $ac_link) 2>conftest.er1
15306 grep -v '^ *+' conftest.er1
>conftest.err
15308 cat conftest.err
>&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } &&
15311 { ac_try
='test -z "$ac_cxx_werror_flag"
15312 || test ! -s conftest.err'
15313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15314 (eval $ac_try) 2>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); }; } &&
15318 { ac_try
='test -s conftest$ac_exeext'
15319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15320 (eval $ac_try) 2>&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); }; }; then
15324 ac_cv_strings_strcasecmp
=yes
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.
$ac_ext >&5
15329 ac_cv_strings_strcasecmp
=no
15332 rm -f conftest.err conftest.
$ac_objext \
15333 conftest
$ac_exeext conftest.
$ac_ext
15336 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15337 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15339 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15340 cat >>confdefs.h
<<\_ACEOF
15341 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15345 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15346 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15347 { (exit 1); exit 1; }; }
15352 ac_cpp
='$CPP $CPPFLAGS'
15353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15361 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15362 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15363 if test "${ac_cv_header_stdc+set}" = set; then
15364 echo $ECHO_N "(cached) $ECHO_C" >&6
15366 cat >conftest.
$ac_ext <<_ACEOF
15369 cat confdefs.h
>>conftest.
$ac_ext
15370 cat >>conftest.
$ac_ext <<_ACEOF
15371 /* end confdefs.h. */
15372 #include <stdlib.h>
15373 #include <stdarg.h>
15374 #include <string.h>
15385 rm -f conftest.
$ac_objext
15386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15387 (eval $ac_compile) 2>conftest.er1
15389 grep -v '^ *+' conftest.er1
>conftest.err
15391 cat conftest.err
>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } &&
15394 { ac_try
='test -z "$ac_c_werror_flag"
15395 || test ! -s conftest.err'
15396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15397 (eval $ac_try) 2>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; } &&
15401 { ac_try
='test -s conftest.$ac_objext'
15402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15403 (eval $ac_try) 2>&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); }; }; then
15407 ac_cv_header_stdc
=yes
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.
$ac_ext >&5
15412 ac_cv_header_stdc
=no
15414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15416 if test $ac_cv_header_stdc = yes; then
15417 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15418 cat >conftest.
$ac_ext <<_ACEOF
15421 cat confdefs.h
>>conftest.
$ac_ext
15422 cat >>conftest.
$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424 #include <string.h>
15427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15428 $EGREP "memchr" >/dev
/null
2>&1; then
15431 ac_cv_header_stdc
=no
15437 if test $ac_cv_header_stdc = yes; then
15438 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15439 cat >conftest.
$ac_ext <<_ACEOF
15442 cat confdefs.h
>>conftest.
$ac_ext
15443 cat >>conftest.
$ac_ext <<_ACEOF
15444 /* end confdefs.h. */
15445 #include <stdlib.h>
15448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15449 $EGREP "free" >/dev
/null
2>&1; then
15452 ac_cv_header_stdc
=no
15458 if test $ac_cv_header_stdc = yes; then
15459 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15460 if test "$cross_compiling" = yes; then
15463 cat >conftest.
$ac_ext <<_ACEOF
15466 cat confdefs.h
>>conftest.
$ac_ext
15467 cat >>conftest.
$ac_ext <<_ACEOF
15468 /* end confdefs.h. */
15470 #if ((' ' & 0x0FF) == 0x020)
15471 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15472 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15474 # define ISLOWER(c) \
15475 (('a' <= (c) && (c) <= 'i') \
15476 || ('j' <= (c) && (c) <= 'r') \
15477 || ('s' <= (c) && (c) <= 'z'))
15478 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15481 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15486 for (i = 0; i < 256; i++)
15487 if (XOR (islower (i), ISLOWER (i))
15488 || toupper (i) != TOUPPER (i))
15493 rm -f conftest
$ac_exeext
15494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15495 (eval $ac_link) 2>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15500 (eval $ac_try) 2>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; }; then
15506 echo "$as_me: program exited with status $ac_status" >&5
15507 echo "$as_me: failed program was:" >&5
15508 sed 's/^/| /' conftest.
$ac_ext >&5
15510 ( exit $ac_status )
15511 ac_cv_header_stdc
=no
15513 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15517 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15518 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15519 if test $ac_cv_header_stdc = yes; then
15521 cat >>confdefs.h
<<\_ACEOF
15522 #define STDC_HEADERS 1
15527 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15537 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15538 inttypes.h stdint.h unistd.h
15540 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15541 echo "$as_me:$LINENO: checking for $ac_header" >&5
15542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15544 echo $ECHO_N "(cached) $ECHO_C" >&6
15546 cat >conftest.
$ac_ext <<_ACEOF
15549 cat confdefs.h
>>conftest.
$ac_ext
15550 cat >>conftest.
$ac_ext <<_ACEOF
15551 /* end confdefs.h. */
15552 $ac_includes_default
15554 #include <$ac_header>
15556 rm -f conftest.
$ac_objext
15557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15558 (eval $ac_compile) 2>conftest.er1
15560 grep -v '^ *+' conftest.er1
>conftest.err
15562 cat conftest.err
>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } &&
15565 { ac_try
='test -z "$ac_c_werror_flag"
15566 || test ! -s conftest.err'
15567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568 (eval $ac_try) 2>&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); }; } &&
15572 { ac_try
='test -s conftest.$ac_objext'
15573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15574 (eval $ac_try) 2>&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); }; }; then
15578 eval "$as_ac_Header=yes"
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.
$ac_ext >&5
15583 eval "$as_ac_Header=no"
15585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15590 cat >>confdefs.h
<<_ACEOF
15591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15600 for ac_header
in stdlib.h
15602 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15604 echo "$as_me:$LINENO: checking for $ac_header" >&5
15605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15607 echo $ECHO_N "(cached) $ECHO_C" >&6
15609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15612 # Is the header compilable?
15613 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15615 cat >conftest.
$ac_ext <<_ACEOF
15618 cat confdefs.h
>>conftest.
$ac_ext
15619 cat >>conftest.
$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621 $ac_includes_default
15622 #include <$ac_header>
15624 rm -f conftest.
$ac_objext
15625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15626 (eval $ac_compile) 2>conftest.er1
15628 grep -v '^ *+' conftest.er1
>conftest.err
15630 cat conftest.err
>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } &&
15633 { ac_try
='test -z "$ac_c_werror_flag"
15634 || test ! -s conftest.err'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; } &&
15640 { ac_try
='test -s conftest.$ac_objext'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; }; then
15646 ac_header_compiler
=yes
15648 echo "$as_me: failed program was:" >&5
15649 sed 's/^/| /' conftest.
$ac_ext >&5
15651 ac_header_compiler
=no
15653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15655 echo "${ECHO_T}$ac_header_compiler" >&6
15657 # Is the header present?
15658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15660 cat >conftest.
$ac_ext <<_ACEOF
15663 cat confdefs.h
>>conftest.
$ac_ext
15664 cat >>conftest.
$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15666 #include <$ac_header>
15668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15669 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15671 grep -v '^ *+' conftest.er1
>conftest.err
15673 cat conftest.err
>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } >/dev
/null
; then
15676 if test -s conftest.err
; then
15677 ac_cpp_err
=$ac_c_preproc_warn_flag
15678 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15685 if test -z "$ac_cpp_err"; then
15686 ac_header_preproc
=yes
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.
$ac_ext >&5
15691 ac_header_preproc
=no
15693 rm -f conftest.err conftest.
$ac_ext
15694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15695 echo "${ECHO_T}$ac_header_preproc" >&6
15697 # So? What about this header?
15698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15703 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15704 ac_header_preproc
=yes
15707 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15709 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15710 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15711 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15712 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15713 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15714 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15717 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15718 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15721 ## ----------------------------------------- ##
15722 ## Report this to wx-dev@lists.wxwidgets.org ##
15723 ## ----------------------------------------- ##
15726 sed "s/^/$as_me: WARNING: /" >&2
15729 echo "$as_me:$LINENO: checking for $ac_header" >&5
15730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15732 echo $ECHO_N "(cached) $ECHO_C" >&6
15734 eval "$as_ac_Header=\$ac_header_preproc"
15736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15741 cat >>confdefs.h
<<_ACEOF
15742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15750 for ac_header
in malloc.h
15752 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15754 echo "$as_me:$LINENO: checking for $ac_header" >&5
15755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15757 echo $ECHO_N "(cached) $ECHO_C" >&6
15759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15762 # Is the header compilable?
15763 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15764 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15765 cat >conftest.
$ac_ext <<_ACEOF
15768 cat confdefs.h
>>conftest.
$ac_ext
15769 cat >>conftest.
$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 $ac_includes_default
15772 #include <$ac_header>
15774 rm -f conftest.
$ac_objext
15775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15776 (eval $ac_compile) 2>conftest.er1
15778 grep -v '^ *+' conftest.er1
>conftest.err
15780 cat conftest.err
>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } &&
15783 { ac_try
='test -z "$ac_c_werror_flag"
15784 || test ! -s conftest.err'
15785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15786 (eval $ac_try) 2>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }; } &&
15790 { ac_try
='test -s conftest.$ac_objext'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; }; then
15796 ac_header_compiler
=yes
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.
$ac_ext >&5
15801 ac_header_compiler
=no
15803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15805 echo "${ECHO_T}$ac_header_compiler" >&6
15807 # Is the header present?
15808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15810 cat >conftest.
$ac_ext <<_ACEOF
15813 cat confdefs.h
>>conftest.
$ac_ext
15814 cat >>conftest.
$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816 #include <$ac_header>
15818 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15819 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15821 grep -v '^ *+' conftest.er1
>conftest.err
15823 cat conftest.err
>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } >/dev
/null
; then
15826 if test -s conftest.err
; then
15827 ac_cpp_err
=$ac_c_preproc_warn_flag
15828 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15835 if test -z "$ac_cpp_err"; then
15836 ac_header_preproc
=yes
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.
$ac_ext >&5
15841 ac_header_preproc
=no
15843 rm -f conftest.err conftest.
$ac_ext
15844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15845 echo "${ECHO_T}$ac_header_preproc" >&6
15847 # So? What about this header?
15848 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15850 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15853 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15854 ac_header_preproc
=yes
15857 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15858 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15859 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15860 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15861 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15862 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15863 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15864 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15866 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15867 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15868 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15871 ## ----------------------------------------- ##
15872 ## Report this to wx-dev@lists.wxwidgets.org ##
15873 ## ----------------------------------------- ##
15876 sed "s/^/$as_me: WARNING: /" >&2
15879 echo "$as_me:$LINENO: checking for $ac_header" >&5
15880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15882 echo $ECHO_N "(cached) $ECHO_C" >&6
15884 eval "$as_ac_Header=\$ac_header_preproc"
15886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15890 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15891 cat >>confdefs.h
<<_ACEOF
15892 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15900 for ac_header
in unistd.h
15902 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15904 echo "$as_me:$LINENO: checking for $ac_header" >&5
15905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15907 echo $ECHO_N "(cached) $ECHO_C" >&6
15909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15912 # Is the header compilable?
15913 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15914 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15915 cat >conftest.
$ac_ext <<_ACEOF
15918 cat confdefs.h
>>conftest.
$ac_ext
15919 cat >>conftest.
$ac_ext <<_ACEOF
15920 /* end confdefs.h. */
15921 $ac_includes_default
15922 #include <$ac_header>
15924 rm -f conftest.
$ac_objext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15926 (eval $ac_compile) 2>conftest.er1
15928 grep -v '^ *+' conftest.er1
>conftest.err
15930 cat conftest.err
>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try
='test -z "$ac_c_werror_flag"
15934 || test ! -s conftest.err'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; } &&
15940 { ac_try
='test -s conftest.$ac_objext'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; }; then
15946 ac_header_compiler
=yes
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.
$ac_ext >&5
15951 ac_header_compiler
=no
15953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15955 echo "${ECHO_T}$ac_header_compiler" >&6
15957 # Is the header present?
15958 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15959 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15960 cat >conftest.
$ac_ext <<_ACEOF
15963 cat confdefs.h
>>conftest.
$ac_ext
15964 cat >>conftest.
$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966 #include <$ac_header>
15968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15969 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15971 grep -v '^ *+' conftest.er1
>conftest.err
15973 cat conftest.err
>&5
15974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975 (exit $ac_status); } >/dev
/null
; then
15976 if test -s conftest.err
; then
15977 ac_cpp_err
=$ac_c_preproc_warn_flag
15978 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15985 if test -z "$ac_cpp_err"; then
15986 ac_header_preproc
=yes
15988 echo "$as_me: failed program was:" >&5
15989 sed 's/^/| /' conftest.
$ac_ext >&5
15991 ac_header_preproc
=no
15993 rm -f conftest.err conftest.
$ac_ext
15994 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15995 echo "${ECHO_T}$ac_header_preproc" >&6
15997 # So? What about this header?
15998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16000 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16001 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16003 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16004 ac_header_preproc
=yes
16007 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16008 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16009 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16010 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16011 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16012 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16013 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16014 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16016 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16017 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16018 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16021 ## ----------------------------------------- ##
16022 ## Report this to wx-dev@lists.wxwidgets.org ##
16023 ## ----------------------------------------- ##
16026 sed "s/^/$as_me: WARNING: /" >&2
16029 echo "$as_me:$LINENO: checking for $ac_header" >&5
16030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16032 echo $ECHO_N "(cached) $ECHO_C" >&6
16034 eval "$as_ac_Header=\$ac_header_preproc"
16036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16041 cat >>confdefs.h
<<_ACEOF
16042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16050 for ac_header
in wchar.h
16052 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16054 echo "$as_me:$LINENO: checking for $ac_header" >&5
16055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16057 echo $ECHO_N "(cached) $ECHO_C" >&6
16059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16062 # Is the header compilable?
16063 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16064 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16065 cat >conftest.
$ac_ext <<_ACEOF
16068 cat confdefs.h
>>conftest.
$ac_ext
16069 cat >>conftest.
$ac_ext <<_ACEOF
16070 /* end confdefs.h. */
16071 $ac_includes_default
16072 #include <$ac_header>
16074 rm -f conftest.
$ac_objext
16075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16076 (eval $ac_compile) 2>conftest.er1
16078 grep -v '^ *+' conftest.er1
>conftest.err
16080 cat conftest.err
>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } &&
16083 { ac_try
='test -z "$ac_c_werror_flag"
16084 || test ! -s conftest.err'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; } &&
16090 { ac_try
='test -s conftest.$ac_objext'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16096 ac_header_compiler
=yes
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.
$ac_ext >&5
16101 ac_header_compiler
=no
16103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16105 echo "${ECHO_T}$ac_header_compiler" >&6
16107 # Is the header present?
16108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16110 cat >conftest.
$ac_ext <<_ACEOF
16113 cat confdefs.h
>>conftest.
$ac_ext
16114 cat >>conftest.
$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116 #include <$ac_header>
16118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16121 grep -v '^ *+' conftest.er1
>conftest.err
16123 cat conftest.err
>&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); } >/dev
/null
; then
16126 if test -s conftest.err
; then
16127 ac_cpp_err
=$ac_c_preproc_warn_flag
16128 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16135 if test -z "$ac_cpp_err"; then
16136 ac_header_preproc
=yes
16138 echo "$as_me: failed program was:" >&5
16139 sed 's/^/| /' conftest.
$ac_ext >&5
16141 ac_header_preproc
=no
16143 rm -f conftest.err conftest.
$ac_ext
16144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16145 echo "${ECHO_T}$ac_header_preproc" >&6
16147 # So? What about this header?
16148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16150 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16153 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16154 ac_header_preproc
=yes
16157 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16158 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16159 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16160 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16161 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16162 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16163 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16164 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16167 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16168 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16171 ## ----------------------------------------- ##
16172 ## Report this to wx-dev@lists.wxwidgets.org ##
16173 ## ----------------------------------------- ##
16176 sed "s/^/$as_me: WARNING: /" >&2
16179 echo "$as_me:$LINENO: checking for $ac_header" >&5
16180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16182 echo $ECHO_N "(cached) $ECHO_C" >&6
16184 eval "$as_ac_Header=\$ac_header_preproc"
16186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16191 cat >>confdefs.h
<<_ACEOF
16192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16200 if test "$ac_cv_header_wchar_h" != "yes"; then
16202 for ac_header
in wcstr.h
16204 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16206 echo "$as_me:$LINENO: checking for $ac_header" >&5
16207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16214 # Is the header compilable?
16215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16217 cat >conftest.
$ac_ext <<_ACEOF
16220 cat confdefs.h
>>conftest.
$ac_ext
16221 cat >>conftest.
$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 $ac_includes_default
16224 #include <$ac_header>
16226 rm -f conftest.
$ac_objext
16227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16228 (eval $ac_compile) 2>conftest.er1
16230 grep -v '^ *+' conftest.er1
>conftest.err
16232 cat conftest.err
>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); } &&
16235 { ac_try
='test -z "$ac_c_werror_flag"
16236 || test ! -s conftest.err'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; } &&
16242 { ac_try
='test -s conftest.$ac_objext'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; }; then
16248 ac_header_compiler
=yes
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.
$ac_ext >&5
16253 ac_header_compiler
=no
16255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16257 echo "${ECHO_T}$ac_header_compiler" >&6
16259 # Is the header present?
16260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16262 cat >conftest.
$ac_ext <<_ACEOF
16265 cat confdefs.h
>>conftest.
$ac_ext
16266 cat >>conftest.
$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16268 #include <$ac_header>
16270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16273 grep -v '^ *+' conftest.er1
>conftest.err
16275 cat conftest.err
>&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } >/dev
/null
; then
16278 if test -s conftest.err
; then
16279 ac_cpp_err
=$ac_c_preproc_warn_flag
16280 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16287 if test -z "$ac_cpp_err"; then
16288 ac_header_preproc
=yes
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.
$ac_ext >&5
16293 ac_header_preproc
=no
16295 rm -f conftest.err conftest.
$ac_ext
16296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16297 echo "${ECHO_T}$ac_header_preproc" >&6
16299 # So? What about this header?
16300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16306 ac_header_preproc
=yes
16309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16323 ## ----------------------------------------- ##
16324 ## Report this to wx-dev@lists.wxwidgets.org ##
16325 ## ----------------------------------------- ##
16328 sed "s/^/$as_me: WARNING: /" >&2
16331 echo "$as_me:$LINENO: checking for $ac_header" >&5
16332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16334 echo $ECHO_N "(cached) $ECHO_C" >&6
16336 eval "$as_ac_Header=\$ac_header_preproc"
16338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16343 cat >>confdefs.h
<<_ACEOF
16344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16354 for ac_header
in fnmatch.h
16356 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16358 echo "$as_me:$LINENO: checking for $ac_header" >&5
16359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16361 echo $ECHO_N "(cached) $ECHO_C" >&6
16363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16366 # Is the header compilable?
16367 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16368 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16369 cat >conftest.
$ac_ext <<_ACEOF
16372 cat confdefs.h
>>conftest.
$ac_ext
16373 cat >>conftest.
$ac_ext <<_ACEOF
16374 /* end confdefs.h. */
16375 $ac_includes_default
16376 #include <$ac_header>
16378 rm -f conftest.
$ac_objext
16379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16380 (eval $ac_compile) 2>conftest.er1
16382 grep -v '^ *+' conftest.er1
>conftest.err
16384 cat conftest.err
>&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try
='test -z "$ac_c_werror_flag"
16388 || test ! -s conftest.err'
16389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16390 (eval $ac_try) 2>&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; } &&
16394 { ac_try
='test -s conftest.$ac_objext'
16395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16396 (eval $ac_try) 2>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); }; }; then
16400 ac_header_compiler
=yes
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.
$ac_ext >&5
16405 ac_header_compiler
=no
16407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16409 echo "${ECHO_T}$ac_header_compiler" >&6
16411 # Is the header present?
16412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16414 cat >conftest.
$ac_ext <<_ACEOF
16417 cat confdefs.h
>>conftest.
$ac_ext
16418 cat >>conftest.
$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16420 #include <$ac_header>
16422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16423 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16425 grep -v '^ *+' conftest.er1
>conftest.err
16427 cat conftest.err
>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } >/dev
/null
; then
16430 if test -s conftest.err
; then
16431 ac_cpp_err
=$ac_c_preproc_warn_flag
16432 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16439 if test -z "$ac_cpp_err"; then
16440 ac_header_preproc
=yes
16442 echo "$as_me: failed program was:" >&5
16443 sed 's/^/| /' conftest.
$ac_ext >&5
16445 ac_header_preproc
=no
16447 rm -f conftest.err conftest.
$ac_ext
16448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16449 echo "${ECHO_T}$ac_header_preproc" >&6
16451 # So? What about this header?
16452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16458 ac_header_preproc
=yes
16461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16465 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16467 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16475 ## ----------------------------------------- ##
16476 ## Report this to wx-dev@lists.wxwidgets.org ##
16477 ## ----------------------------------------- ##
16480 sed "s/^/$as_me: WARNING: /" >&2
16483 echo "$as_me:$LINENO: checking for $ac_header" >&5
16484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16486 echo $ECHO_N "(cached) $ECHO_C" >&6
16488 eval "$as_ac_Header=\$ac_header_preproc"
16490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16495 cat >>confdefs.h
<<_ACEOF
16496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16505 for ac_header
in langinfo.h
16507 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16509 echo "$as_me:$LINENO: checking for $ac_header" >&5
16510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16512 echo $ECHO_N "(cached) $ECHO_C" >&6
16514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16517 # Is the header compilable?
16518 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16520 cat >conftest.
$ac_ext <<_ACEOF
16523 cat confdefs.h
>>conftest.
$ac_ext
16524 cat >>conftest.
$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16526 $ac_includes_default
16527 #include <$ac_header>
16529 rm -f conftest.
$ac_objext
16530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16531 (eval $ac_compile) 2>conftest.er1
16533 grep -v '^ *+' conftest.er1
>conftest.err
16535 cat conftest.err
>&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); } &&
16538 { ac_try
='test -z "$ac_c_werror_flag"
16539 || test ! -s conftest.err'
16540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16541 (eval $ac_try) 2>&5
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); }; } &&
16545 { ac_try
='test -s conftest.$ac_objext'
16546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16547 (eval $ac_try) 2>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); }; }; then
16551 ac_header_compiler
=yes
16553 echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.
$ac_ext >&5
16556 ac_header_compiler
=no
16558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16560 echo "${ECHO_T}$ac_header_compiler" >&6
16562 # Is the header present?
16563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16565 cat >conftest.
$ac_ext <<_ACEOF
16568 cat confdefs.h
>>conftest.
$ac_ext
16569 cat >>conftest.
$ac_ext <<_ACEOF
16570 /* end confdefs.h. */
16571 #include <$ac_header>
16573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16574 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16576 grep -v '^ *+' conftest.er1
>conftest.err
16578 cat conftest.err
>&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); } >/dev
/null
; then
16581 if test -s conftest.err
; then
16582 ac_cpp_err
=$ac_c_preproc_warn_flag
16583 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16590 if test -z "$ac_cpp_err"; then
16591 ac_header_preproc
=yes
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.
$ac_ext >&5
16596 ac_header_preproc
=no
16598 rm -f conftest.err conftest.
$ac_ext
16599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16600 echo "${ECHO_T}$ac_header_preproc" >&6
16602 # So? What about this header?
16603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16609 ac_header_preproc
=yes
16612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16626 ## ----------------------------------------- ##
16627 ## Report this to wx-dev@lists.wxwidgets.org ##
16628 ## ----------------------------------------- ##
16631 sed "s/^/$as_me: WARNING: /" >&2
16634 echo "$as_me:$LINENO: checking for $ac_header" >&5
16635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16637 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 eval "$as_ac_Header=\$ac_header_preproc"
16641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16646 cat >>confdefs.h
<<_ACEOF
16647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16656 *-pc-os2_emx | *-pc-os2-emx )
16657 if test $ac_cv_header_langinfo_h = "yes" \
16658 -a \
( "$wx_cv_gccversion" = "EMX2" \
16659 -o "$wx_cv_gccversion" = "EMX3" \
16660 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16661 LIBS
="$LIBS -lintl"
16667 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16668 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16669 if test "${ac_cv_c_const+set}" = set; then
16670 echo $ECHO_N "(cached) $ECHO_C" >&6
16672 cat >conftest.
$ac_ext <<_ACEOF
16675 cat confdefs.h
>>conftest.
$ac_ext
16676 cat >>conftest.
$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16682 /* FIXME: Include the comments suggested by Paul. */
16683 #ifndef __cplusplus
16684 /* Ultrix mips cc rejects this. */
16685 typedef int charset[2];
16687 /* SunOS 4.1.1 cc rejects this. */
16688 char const *const *ccp;
16690 /* NEC SVR4.0.2 mips cc rejects this. */
16691 struct point {int x, y;};
16692 static struct point const zero = {0,0};
16693 /* AIX XL C 1.02.0.0 rejects this.
16694 It does not let you subtract one const X* pointer from another in
16695 an arm of an if-expression whose if-part is not a constant
16697 const char *g = "string";
16698 ccp = &g + (g ? g-g : 0);
16699 /* HPUX 7.0 cc rejects these. */
16702 ccp = (char const *const *) p;
16703 { /* SCO 3.2v4 cc rejects this. */
16705 char const *s = 0 ? (char *) 0 : (char const *) 0;
16709 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16710 int x[] = {25, 17};
16711 const int *foo = &x[0];
16714 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16715 typedef const int *iptr;
16719 { /* AIX XL C 1.02.0.0 rejects this saying
16720 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16721 struct s { int j; const int *ap[3]; };
16722 struct s *b; b->j = 5;
16724 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16725 const int foo = 10;
16733 rm -f conftest.
$ac_objext
16734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16735 (eval $ac_compile) 2>conftest.er1
16737 grep -v '^ *+' conftest.er1
>conftest.err
16739 cat conftest.err
>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); } &&
16742 { ac_try
='test -z "$ac_c_werror_flag"
16743 || test ! -s conftest.err'
16744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16745 (eval $ac_try) 2>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); }; } &&
16749 { ac_try
='test -s conftest.$ac_objext'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; }; then
16757 echo "$as_me: failed program was:" >&5
16758 sed 's/^/| /' conftest.
$ac_ext >&5
16762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16764 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16765 echo "${ECHO_T}$ac_cv_c_const" >&6
16766 if test $ac_cv_c_const = no
; then
16768 cat >>confdefs.h
<<\_ACEOF
16774 echo "$as_me:$LINENO: checking for inline" >&5
16775 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16776 if test "${ac_cv_c_inline+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16780 for ac_kw
in inline __inline__ __inline
; do
16781 cat >conftest.
$ac_ext <<_ACEOF
16784 cat confdefs.h
>>conftest.
$ac_ext
16785 cat >>conftest.
$ac_ext <<_ACEOF
16786 /* end confdefs.h. */
16787 #ifndef __cplusplus
16789 static $ac_kw foo_t static_foo () {return 0; }
16790 $ac_kw foo_t foo () {return 0; }
16794 rm -f conftest.
$ac_objext
16795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16796 (eval $ac_compile) 2>conftest.er1
16798 grep -v '^ *+' conftest.er1
>conftest.err
16800 cat conftest.err
>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } &&
16803 { ac_try
='test -z "$ac_c_werror_flag"
16804 || test ! -s conftest.err'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; } &&
16810 { ac_try
='test -s conftest.$ac_objext'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; }; then
16816 ac_cv_c_inline
=$ac_kw; break
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.
$ac_ext >&5
16822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16826 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16827 echo "${ECHO_T}$ac_cv_c_inline" >&6
16830 case $ac_cv_c_inline in
16833 case $ac_cv_c_inline in
16835 *) ac_val
=$ac_cv_c_inline;;
16837 cat >>confdefs.h
<<_ACEOF
16838 #ifndef __cplusplus
16839 #define inline $ac_val
16846 echo "$as_me:$LINENO: checking for char" >&5
16847 echo $ECHO_N "checking for char... $ECHO_C" >&6
16848 if test "${ac_cv_type_char+set}" = set; then
16849 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 cat >conftest.
$ac_ext <<_ACEOF
16854 cat confdefs.h
>>conftest.
$ac_ext
16855 cat >>conftest.
$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16857 $ac_includes_default
16869 rm -f conftest.
$ac_objext
16870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16871 (eval $ac_compile) 2>conftest.er1
16873 grep -v '^ *+' conftest.er1
>conftest.err
16875 cat conftest.err
>&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } &&
16878 { ac_try
='test -z "$ac_c_werror_flag"
16879 || test ! -s conftest.err'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; } &&
16885 { ac_try
='test -s conftest.$ac_objext'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; }; then
16891 ac_cv_type_char
=yes
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.
$ac_ext >&5
16898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16900 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16901 echo "${ECHO_T}$ac_cv_type_char" >&6
16903 echo "$as_me:$LINENO: checking size of char" >&5
16904 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16905 if test "${ac_cv_sizeof_char+set}" = set; then
16906 echo $ECHO_N "(cached) $ECHO_C" >&6
16908 if test "$ac_cv_type_char" = yes; then
16909 # The cast to unsigned long works around a bug in the HP C Compiler
16910 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16911 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16912 # This bug is HP SR number 8606223364.
16913 if test "$cross_compiling" = yes; then
16914 # Depending upon the size, compute the lo and hi bounds.
16915 cat >conftest.
$ac_ext <<_ACEOF
16918 cat confdefs.h
>>conftest.
$ac_ext
16919 cat >>conftest.
$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16921 $ac_includes_default
16925 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16932 rm -f conftest.
$ac_objext
16933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16934 (eval $ac_compile) 2>conftest.er1
16936 grep -v '^ *+' conftest.er1
>conftest.err
16938 cat conftest.err
>&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } &&
16941 { ac_try
='test -z "$ac_c_werror_flag"
16942 || test ! -s conftest.err'
16943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; } &&
16948 { ac_try
='test -s conftest.$ac_objext'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; }; then
16956 cat >conftest.
$ac_ext <<_ACEOF
16959 cat confdefs.h
>>conftest.
$ac_ext
16960 cat >>conftest.
$ac_ext <<_ACEOF
16961 /* end confdefs.h. */
16962 $ac_includes_default
16966 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16973 rm -f conftest.
$ac_objext
16974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16975 (eval $ac_compile) 2>conftest.er1
16977 grep -v '^ *+' conftest.er1
>conftest.err
16979 cat conftest.err
>&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } &&
16982 { ac_try
='test -z "$ac_c_werror_flag"
16983 || test ! -s conftest.err'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; } &&
16989 { ac_try
='test -s conftest.$ac_objext'
16990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16991 (eval $ac_try) 2>&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); }; }; then
16995 ac_hi
=$ac_mid; break
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.
$ac_ext >&5
17000 ac_lo
=`expr $ac_mid + 1`
17001 if test $ac_lo -le $ac_mid; then
17005 ac_mid
=`expr 2 '*' $ac_mid + 1`
17007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.
$ac_ext >&5
17013 cat >conftest.
$ac_ext <<_ACEOF
17016 cat confdefs.h
>>conftest.
$ac_ext
17017 cat >>conftest.
$ac_ext <<_ACEOF
17018 /* end confdefs.h. */
17019 $ac_includes_default
17023 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17030 rm -f conftest.
$ac_objext
17031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17032 (eval $ac_compile) 2>conftest.er1
17034 grep -v '^ *+' conftest.er1
>conftest.err
17036 cat conftest.err
>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); } &&
17039 { ac_try
='test -z "$ac_c_werror_flag"
17040 || test ! -s conftest.err'
17041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17042 (eval $ac_try) 2>&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); }; } &&
17046 { ac_try
='test -s conftest.$ac_objext'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; }; then
17054 cat >conftest.
$ac_ext <<_ACEOF
17057 cat confdefs.h
>>conftest.
$ac_ext
17058 cat >>conftest.
$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17060 $ac_includes_default
17064 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17071 rm -f conftest.
$ac_objext
17072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17073 (eval $ac_compile) 2>conftest.er1
17075 grep -v '^ *+' conftest.er1
>conftest.err
17077 cat conftest.err
>&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } &&
17080 { ac_try
='test -z "$ac_c_werror_flag"
17081 || test ! -s conftest.err'
17082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17083 (eval $ac_try) 2>&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); }; } &&
17087 { ac_try
='test -s conftest.$ac_objext'
17088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17089 (eval $ac_try) 2>&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); }; }; then
17093 ac_lo
=$ac_mid; break
17095 echo "$as_me: failed program was:" >&5
17096 sed 's/^/| /' conftest.
$ac_ext >&5
17098 ac_hi
=`expr '(' $ac_mid ')' - 1`
17099 if test $ac_mid -le $ac_hi; then
17103 ac_mid
=`expr 2 '*' $ac_mid`
17105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.
$ac_ext >&5
17113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17116 # Binary search between lo and hi bounds.
17117 while test "x$ac_lo" != "x$ac_hi"; do
17118 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17119 cat >conftest.
$ac_ext <<_ACEOF
17122 cat confdefs.h
>>conftest.
$ac_ext
17123 cat >>conftest.
$ac_ext <<_ACEOF
17124 /* end confdefs.h. */
17125 $ac_includes_default
17129 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17136 rm -f conftest.
$ac_objext
17137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17138 (eval $ac_compile) 2>conftest.er1
17140 grep -v '^ *+' conftest.er1
>conftest.err
17142 cat conftest.err
>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } &&
17145 { ac_try
='test -z "$ac_c_werror_flag"
17146 || test ! -s conftest.err'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; } &&
17152 { ac_try
='test -s conftest.$ac_objext'
17153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17154 (eval $ac_try) 2>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); }; }; then
17160 echo "$as_me: failed program was:" >&5
17161 sed 's/^/| /' conftest.
$ac_ext >&5
17163 ac_lo
=`expr '(' $ac_mid ')' + 1`
17165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17168 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17169 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17170 See \`config.log' for more details." >&5
17171 echo "$as_me: error: cannot compute sizeof (char), 77
17172 See \`config.log' for more details." >&2;}
17173 { (exit 1); exit 1; }; } ;;
17176 if test "$cross_compiling" = yes; then
17177 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17178 See \`config.log' for more details." >&5
17179 echo "$as_me: error: cannot run test program while cross compiling
17180 See \`config.log' for more details." >&2;}
17181 { (exit 1); exit 1; }; }
17183 cat >conftest.
$ac_ext <<_ACEOF
17186 cat confdefs.h
>>conftest.
$ac_ext
17187 cat >>conftest.
$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 $ac_includes_default
17190 long longval () { return (long) (sizeof (char)); }
17191 unsigned long ulongval () { return (long) (sizeof (char)); }
17193 #include <stdlib.h>
17198 FILE *f = fopen ("conftest.val", "w");
17201 if (((long) (sizeof (char))) < 0)
17203 long i = longval ();
17204 if (i != ((long) (sizeof (char))))
17206 fprintf (f, "%ld\n", i);
17210 unsigned long i = ulongval ();
17211 if (i != ((long) (sizeof (char))))
17213 fprintf (f, "%lu\n", i);
17215 exit (ferror (f) || fclose (f) != 0);
17221 rm -f conftest
$ac_exeext
17222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17223 (eval $ac_link) 2>&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; }; then
17232 ac_cv_sizeof_char
=`cat conftest.val`
17234 echo "$as_me: program exited with status $ac_status" >&5
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.
$ac_ext >&5
17238 ( exit $ac_status )
17239 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17240 See \`config.log' for more details." >&5
17241 echo "$as_me: error: cannot compute sizeof (char), 77
17242 See \`config.log' for more details." >&2;}
17243 { (exit 1); exit 1; }; }
17245 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17250 ac_cv_sizeof_char
=0
17253 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17254 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17255 cat >>confdefs.h
<<_ACEOF
17256 #define SIZEOF_CHAR $ac_cv_sizeof_char
17260 echo "$as_me:$LINENO: checking for short" >&5
17261 echo $ECHO_N "checking for short... $ECHO_C" >&6
17262 if test "${ac_cv_type_short+set}" = set; then
17263 echo $ECHO_N "(cached) $ECHO_C" >&6
17265 cat >conftest.
$ac_ext <<_ACEOF
17268 cat confdefs.h
>>conftest.
$ac_ext
17269 cat >>conftest.
$ac_ext <<_ACEOF
17270 /* end confdefs.h. */
17271 $ac_includes_default
17277 if (sizeof (short))
17283 rm -f conftest.
$ac_objext
17284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17285 (eval $ac_compile) 2>conftest.er1
17287 grep -v '^ *+' conftest.er1
>conftest.err
17289 cat conftest.err
>&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); } &&
17292 { ac_try
='test -z "$ac_c_werror_flag"
17293 || test ! -s conftest.err'
17294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17295 (eval $ac_try) 2>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); }; } &&
17299 { ac_try
='test -s conftest.$ac_objext'
17300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301 (eval $ac_try) 2>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); }; }; then
17305 ac_cv_type_short
=yes
17307 echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.
$ac_ext >&5
17310 ac_cv_type_short
=no
17312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17314 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17315 echo "${ECHO_T}$ac_cv_type_short" >&6
17317 echo "$as_me:$LINENO: checking size of short" >&5
17318 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17319 if test "${ac_cv_sizeof_short+set}" = set; then
17320 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 if test "$ac_cv_type_short" = yes; then
17323 # The cast to unsigned long works around a bug in the HP C Compiler
17324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17326 # This bug is HP SR number 8606223364.
17327 if test "$cross_compiling" = yes; then
17328 # Depending upon the size, compute the lo and hi bounds.
17329 cat >conftest.
$ac_ext <<_ACEOF
17332 cat confdefs.h
>>conftest.
$ac_ext
17333 cat >>conftest.
$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17335 $ac_includes_default
17339 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17346 rm -f conftest.
$ac_objext
17347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17348 (eval $ac_compile) 2>conftest.er1
17350 grep -v '^ *+' conftest.er1
>conftest.err
17352 cat conftest.err
>&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } &&
17355 { ac_try
='test -z "$ac_c_werror_flag"
17356 || test ! -s conftest.err'
17357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358 (eval $ac_try) 2>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; } &&
17362 { ac_try
='test -s conftest.$ac_objext'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; }; then
17370 cat >conftest.
$ac_ext <<_ACEOF
17373 cat confdefs.h
>>conftest.
$ac_ext
17374 cat >>conftest.
$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376 $ac_includes_default
17380 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17387 rm -f conftest.
$ac_objext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17389 (eval $ac_compile) 2>conftest.er1
17391 grep -v '^ *+' conftest.er1
>conftest.err
17393 cat conftest.err
>&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try
='test -z "$ac_c_werror_flag"
17397 || test ! -s conftest.err'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; } &&
17403 { ac_try
='test -s conftest.$ac_objext'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; }; then
17409 ac_hi
=$ac_mid; break
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.
$ac_ext >&5
17414 ac_lo
=`expr $ac_mid + 1`
17415 if test $ac_lo -le $ac_mid; then
17419 ac_mid
=`expr 2 '*' $ac_mid + 1`
17421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17424 echo "$as_me: failed program was:" >&5
17425 sed 's/^/| /' conftest.
$ac_ext >&5
17427 cat >conftest.
$ac_ext <<_ACEOF
17430 cat confdefs.h
>>conftest.
$ac_ext
17431 cat >>conftest.
$ac_ext <<_ACEOF
17432 /* end confdefs.h. */
17433 $ac_includes_default
17437 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17444 rm -f conftest.
$ac_objext
17445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17446 (eval $ac_compile) 2>conftest.er1
17448 grep -v '^ *+' conftest.er1
>conftest.err
17450 cat conftest.err
>&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } &&
17453 { ac_try
='test -z "$ac_c_werror_flag"
17454 || test ! -s conftest.err'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; } &&
17460 { ac_try
='test -s conftest.$ac_objext'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; }; then
17468 cat >conftest.
$ac_ext <<_ACEOF
17471 cat confdefs.h
>>conftest.
$ac_ext
17472 cat >>conftest.
$ac_ext <<_ACEOF
17473 /* end confdefs.h. */
17474 $ac_includes_default
17478 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17485 rm -f conftest.
$ac_objext
17486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17487 (eval $ac_compile) 2>conftest.er1
17489 grep -v '^ *+' conftest.er1
>conftest.err
17491 cat conftest.err
>&5
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); } &&
17494 { ac_try
='test -z "$ac_c_werror_flag"
17495 || test ! -s conftest.err'
17496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17497 (eval $ac_try) 2>&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); }; } &&
17501 { ac_try
='test -s conftest.$ac_objext'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; }; then
17507 ac_lo
=$ac_mid; break
17509 echo "$as_me: failed program was:" >&5
17510 sed 's/^/| /' conftest.
$ac_ext >&5
17512 ac_hi
=`expr '(' $ac_mid ')' - 1`
17513 if test $ac_mid -le $ac_hi; then
17517 ac_mid
=`expr 2 '*' $ac_mid`
17519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.
$ac_ext >&5
17527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17530 # Binary search between lo and hi bounds.
17531 while test "x$ac_lo" != "x$ac_hi"; do
17532 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17533 cat >conftest.
$ac_ext <<_ACEOF
17536 cat confdefs.h
>>conftest.
$ac_ext
17537 cat >>conftest.
$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17539 $ac_includes_default
17543 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17550 rm -f conftest.
$ac_objext
17551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17552 (eval $ac_compile) 2>conftest.er1
17554 grep -v '^ *+' conftest.er1
>conftest.err
17556 cat conftest.err
>&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); } &&
17559 { ac_try
='test -z "$ac_c_werror_flag"
17560 || test ! -s conftest.err'
17561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17562 (eval $ac_try) 2>&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; } &&
17566 { ac_try
='test -s conftest.$ac_objext'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; }; then
17574 echo "$as_me: failed program was:" >&5
17575 sed 's/^/| /' conftest.
$ac_ext >&5
17577 ac_lo
=`expr '(' $ac_mid ')' + 1`
17579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17582 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17583 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17584 See \`config.log' for more details." >&5
17585 echo "$as_me: error: cannot compute sizeof (short), 77
17586 See \`config.log' for more details." >&2;}
17587 { (exit 1); exit 1; }; } ;;
17590 if test "$cross_compiling" = yes; then
17591 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17592 See \`config.log' for more details." >&5
17593 echo "$as_me: error: cannot run test program while cross compiling
17594 See \`config.log' for more details." >&2;}
17595 { (exit 1); exit 1; }; }
17597 cat >conftest.
$ac_ext <<_ACEOF
17600 cat confdefs.h
>>conftest.
$ac_ext
17601 cat >>conftest.
$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17603 $ac_includes_default
17604 long longval () { return (long) (sizeof (short)); }
17605 unsigned long ulongval () { return (long) (sizeof (short)); }
17607 #include <stdlib.h>
17612 FILE *f = fopen ("conftest.val", "w");
17615 if (((long) (sizeof (short))) < 0)
17617 long i = longval ();
17618 if (i != ((long) (sizeof (short))))
17620 fprintf (f, "%ld\n", i);
17624 unsigned long i = ulongval ();
17625 if (i != ((long) (sizeof (short))))
17627 fprintf (f, "%lu\n", i);
17629 exit (ferror (f) || fclose (f) != 0);
17635 rm -f conftest
$ac_exeext
17636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17637 (eval $ac_link) 2>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; }; then
17646 ac_cv_sizeof_short
=`cat conftest.val`
17648 echo "$as_me: program exited with status $ac_status" >&5
17649 echo "$as_me: failed program was:" >&5
17650 sed 's/^/| /' conftest.
$ac_ext >&5
17652 ( exit $ac_status )
17653 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17654 See \`config.log' for more details." >&5
17655 echo "$as_me: error: cannot compute sizeof (short), 77
17656 See \`config.log' for more details." >&2;}
17657 { (exit 1); exit 1; }; }
17659 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17664 ac_cv_sizeof_short
=0
17667 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17668 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17669 cat >>confdefs.h
<<_ACEOF
17670 #define SIZEOF_SHORT $ac_cv_sizeof_short
17674 echo "$as_me:$LINENO: checking for void *" >&5
17675 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17676 if test "${ac_cv_type_void_p+set}" = set; then
17677 echo $ECHO_N "(cached) $ECHO_C" >&6
17679 cat >conftest.
$ac_ext <<_ACEOF
17682 cat confdefs.h
>>conftest.
$ac_ext
17683 cat >>conftest.
$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 $ac_includes_default
17691 if (sizeof (void *))
17697 rm -f conftest.
$ac_objext
17698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17699 (eval $ac_compile) 2>conftest.er1
17701 grep -v '^ *+' conftest.er1
>conftest.err
17703 cat conftest.err
>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); } &&
17706 { ac_try
='test -z "$ac_c_werror_flag"
17707 || test ! -s conftest.err'
17708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17709 (eval $ac_try) 2>&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); }; } &&
17713 { ac_try
='test -s conftest.$ac_objext'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; }; then
17719 ac_cv_type_void_p
=yes
17721 echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.
$ac_ext >&5
17724 ac_cv_type_void_p
=no
17726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17728 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17729 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17731 echo "$as_me:$LINENO: checking size of void *" >&5
17732 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17733 if test "${ac_cv_sizeof_void_p+set}" = set; then
17734 echo $ECHO_N "(cached) $ECHO_C" >&6
17736 if test "$ac_cv_type_void_p" = yes; then
17737 # The cast to unsigned long works around a bug in the HP C Compiler
17738 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17739 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17740 # This bug is HP SR number 8606223364.
17741 if test "$cross_compiling" = yes; then
17742 # Depending upon the size, compute the lo and hi bounds.
17743 cat >conftest.
$ac_ext <<_ACEOF
17746 cat confdefs.h
>>conftest.
$ac_ext
17747 cat >>conftest.
$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17749 $ac_includes_default
17753 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17760 rm -f conftest.
$ac_objext
17761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17762 (eval $ac_compile) 2>conftest.er1
17764 grep -v '^ *+' conftest.er1
>conftest.err
17766 cat conftest.err
>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } &&
17769 { ac_try
='test -z "$ac_c_werror_flag"
17770 || test ! -s conftest.err'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; } &&
17776 { ac_try
='test -s conftest.$ac_objext'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; }; then
17784 cat >conftest.
$ac_ext <<_ACEOF
17787 cat confdefs.h
>>conftest.
$ac_ext
17788 cat >>conftest.
$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 $ac_includes_default
17794 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17801 rm -f conftest.
$ac_objext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>conftest.er1
17805 grep -v '^ *+' conftest.er1
>conftest.err
17807 cat conftest.err
>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } &&
17810 { ac_try
='test -z "$ac_c_werror_flag"
17811 || test ! -s conftest.err'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; } &&
17817 { ac_try
='test -s conftest.$ac_objext'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; }; then
17823 ac_hi
=$ac_mid; break
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.
$ac_ext >&5
17828 ac_lo
=`expr $ac_mid + 1`
17829 if test $ac_lo -le $ac_mid; then
17833 ac_mid
=`expr 2 '*' $ac_mid + 1`
17835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.
$ac_ext >&5
17841 cat >conftest.
$ac_ext <<_ACEOF
17844 cat confdefs.h
>>conftest.
$ac_ext
17845 cat >>conftest.
$ac_ext <<_ACEOF
17846 /* end confdefs.h. */
17847 $ac_includes_default
17851 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17858 rm -f conftest.
$ac_objext
17859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17860 (eval $ac_compile) 2>conftest.er1
17862 grep -v '^ *+' conftest.er1
>conftest.err
17864 cat conftest.err
>&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } &&
17867 { ac_try
='test -z "$ac_c_werror_flag"
17868 || test ! -s conftest.err'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; } &&
17874 { ac_try
='test -s conftest.$ac_objext'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; }; then
17882 cat >conftest.
$ac_ext <<_ACEOF
17885 cat confdefs.h
>>conftest.
$ac_ext
17886 cat >>conftest.
$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17892 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17899 rm -f conftest.
$ac_objext
17900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17901 (eval $ac_compile) 2>conftest.er1
17903 grep -v '^ *+' conftest.er1
>conftest.err
17905 cat conftest.err
>&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } &&
17908 { ac_try
='test -z "$ac_c_werror_flag"
17909 || test ! -s conftest.err'
17910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911 (eval $ac_try) 2>&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; } &&
17915 { ac_try
='test -s conftest.$ac_objext'
17916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917 (eval $ac_try) 2>&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; }; then
17921 ac_lo
=$ac_mid; break
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.
$ac_ext >&5
17926 ac_hi
=`expr '(' $ac_mid ')' - 1`
17927 if test $ac_mid -le $ac_hi; then
17931 ac_mid
=`expr 2 '*' $ac_mid`
17933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.
$ac_ext >&5
17941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17944 # Binary search between lo and hi bounds.
17945 while test "x$ac_lo" != "x$ac_hi"; do
17946 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17947 cat >conftest.
$ac_ext <<_ACEOF
17950 cat confdefs.h
>>conftest.
$ac_ext
17951 cat >>conftest.
$ac_ext <<_ACEOF
17952 /* end confdefs.h. */
17953 $ac_includes_default
17957 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17964 rm -f conftest.
$ac_objext
17965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17966 (eval $ac_compile) 2>conftest.er1
17968 grep -v '^ *+' conftest.er1
>conftest.err
17970 cat conftest.err
>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); } &&
17973 { ac_try
='test -z "$ac_c_werror_flag"
17974 || test ! -s conftest.err'
17975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17976 (eval $ac_try) 2>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); }; } &&
17980 { ac_try
='test -s conftest.$ac_objext'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; }; then
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.
$ac_ext >&5
17991 ac_lo
=`expr '(' $ac_mid ')' + 1`
17993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17996 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17997 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17998 See \`config.log' for more details." >&5
17999 echo "$as_me: error: cannot compute sizeof (void *), 77
18000 See \`config.log' for more details." >&2;}
18001 { (exit 1); exit 1; }; } ;;
18004 if test "$cross_compiling" = yes; then
18005 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18006 See \`config.log' for more details." >&5
18007 echo "$as_me: error: cannot run test program while cross compiling
18008 See \`config.log' for more details." >&2;}
18009 { (exit 1); exit 1; }; }
18011 cat >conftest.
$ac_ext <<_ACEOF
18014 cat confdefs.h
>>conftest.
$ac_ext
18015 cat >>conftest.
$ac_ext <<_ACEOF
18016 /* end confdefs.h. */
18017 $ac_includes_default
18018 long longval () { return (long) (sizeof (void *)); }
18019 unsigned long ulongval () { return (long) (sizeof (void *)); }
18021 #include <stdlib.h>
18026 FILE *f = fopen ("conftest.val", "w");
18029 if (((long) (sizeof (void *))) < 0)
18031 long i = longval ();
18032 if (i != ((long) (sizeof (void *))))
18034 fprintf (f, "%ld\n", i);
18038 unsigned long i = ulongval ();
18039 if (i != ((long) (sizeof (void *))))
18041 fprintf (f, "%lu\n", i);
18043 exit (ferror (f) || fclose (f) != 0);
18049 rm -f conftest
$ac_exeext
18050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18051 (eval $ac_link) 2>&5
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; }; then
18060 ac_cv_sizeof_void_p
=`cat conftest.val`
18062 echo "$as_me: program exited with status $ac_status" >&5
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.
$ac_ext >&5
18066 ( exit $ac_status )
18067 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18068 See \`config.log' for more details." >&5
18069 echo "$as_me: error: cannot compute sizeof (void *), 77
18070 See \`config.log' for more details." >&2;}
18071 { (exit 1); exit 1; }; }
18073 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18078 ac_cv_sizeof_void_p
=0
18081 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18082 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18083 cat >>confdefs.h
<<_ACEOF
18084 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18088 echo "$as_me:$LINENO: checking for int" >&5
18089 echo $ECHO_N "checking for int... $ECHO_C" >&6
18090 if test "${ac_cv_type_int+set}" = set; then
18091 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 cat >conftest.
$ac_ext <<_ACEOF
18096 cat confdefs.h
>>conftest.
$ac_ext
18097 cat >>conftest.
$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099 $ac_includes_default
18111 rm -f conftest.
$ac_objext
18112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18113 (eval $ac_compile) 2>conftest.er1
18115 grep -v '^ *+' conftest.er1
>conftest.err
18117 cat conftest.err
>&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); } &&
18120 { ac_try
='test -z "$ac_c_werror_flag"
18121 || test ! -s conftest.err'
18122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18123 (eval $ac_try) 2>&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); }; } &&
18127 { ac_try
='test -s conftest.$ac_objext'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; }; then
18135 echo "$as_me: failed program was:" >&5
18136 sed 's/^/| /' conftest.
$ac_ext >&5
18140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18142 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18143 echo "${ECHO_T}$ac_cv_type_int" >&6
18145 echo "$as_me:$LINENO: checking size of int" >&5
18146 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18147 if test "${ac_cv_sizeof_int+set}" = set; then
18148 echo $ECHO_N "(cached) $ECHO_C" >&6
18150 if test "$ac_cv_type_int" = yes; then
18151 # The cast to unsigned long works around a bug in the HP C Compiler
18152 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18153 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18154 # This bug is HP SR number 8606223364.
18155 if test "$cross_compiling" = yes; then
18156 # Depending upon the size, compute the lo and hi bounds.
18157 cat >conftest.
$ac_ext <<_ACEOF
18160 cat confdefs.h
>>conftest.
$ac_ext
18161 cat >>conftest.
$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 $ac_includes_default
18167 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18174 rm -f conftest.
$ac_objext
18175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18176 (eval $ac_compile) 2>conftest.er1
18178 grep -v '^ *+' conftest.er1
>conftest.err
18180 cat conftest.err
>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } &&
18183 { ac_try
='test -z "$ac_c_werror_flag"
18184 || test ! -s conftest.err'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; } &&
18190 { ac_try
='test -s conftest.$ac_objext'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; }; then
18198 cat >conftest.
$ac_ext <<_ACEOF
18201 cat confdefs.h
>>conftest.
$ac_ext
18202 cat >>conftest.
$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 $ac_includes_default
18208 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18215 rm -f conftest.
$ac_objext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18217 (eval $ac_compile) 2>conftest.er1
18219 grep -v '^ *+' conftest.er1
>conftest.err
18221 cat conftest.err
>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } &&
18224 { ac_try
='test -z "$ac_c_werror_flag"
18225 || test ! -s conftest.err'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; } &&
18231 { ac_try
='test -s conftest.$ac_objext'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; }; then
18237 ac_hi
=$ac_mid; break
18239 echo "$as_me: failed program was:" >&5
18240 sed 's/^/| /' conftest.
$ac_ext >&5
18242 ac_lo
=`expr $ac_mid + 1`
18243 if test $ac_lo -le $ac_mid; then
18247 ac_mid
=`expr 2 '*' $ac_mid + 1`
18249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.
$ac_ext >&5
18255 cat >conftest.
$ac_ext <<_ACEOF
18258 cat confdefs.h
>>conftest.
$ac_ext
18259 cat >>conftest.
$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18261 $ac_includes_default
18265 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18272 rm -f conftest.
$ac_objext
18273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18274 (eval $ac_compile) 2>conftest.er1
18276 grep -v '^ *+' conftest.er1
>conftest.err
18278 cat conftest.err
>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try
='test -z "$ac_c_werror_flag"
18282 || test ! -s conftest.err'
18283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284 (eval $ac_try) 2>&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; } &&
18288 { ac_try
='test -s conftest.$ac_objext'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; }; then
18296 cat >conftest.
$ac_ext <<_ACEOF
18299 cat confdefs.h
>>conftest.
$ac_ext
18300 cat >>conftest.
$ac_ext <<_ACEOF
18301 /* end confdefs.h. */
18302 $ac_includes_default
18306 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18313 rm -f conftest.
$ac_objext
18314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18315 (eval $ac_compile) 2>conftest.er1
18317 grep -v '^ *+' conftest.er1
>conftest.err
18319 cat conftest.err
>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } &&
18322 { ac_try
='test -z "$ac_c_werror_flag"
18323 || test ! -s conftest.err'
18324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18325 (eval $ac_try) 2>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }; } &&
18329 { ac_try
='test -s conftest.$ac_objext'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; }; then
18335 ac_lo
=$ac_mid; break
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.
$ac_ext >&5
18340 ac_hi
=`expr '(' $ac_mid ')' - 1`
18341 if test $ac_mid -le $ac_hi; then
18345 ac_mid
=`expr 2 '*' $ac_mid`
18347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18350 echo "$as_me: failed program was:" >&5
18351 sed 's/^/| /' conftest.
$ac_ext >&5
18355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18358 # Binary search between lo and hi bounds.
18359 while test "x$ac_lo" != "x$ac_hi"; do
18360 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18361 cat >conftest.
$ac_ext <<_ACEOF
18364 cat confdefs.h
>>conftest.
$ac_ext
18365 cat >>conftest.
$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 $ac_includes_default
18371 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18378 rm -f conftest.
$ac_objext
18379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18380 (eval $ac_compile) 2>conftest.er1
18382 grep -v '^ *+' conftest.er1
>conftest.err
18384 cat conftest.err
>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } &&
18387 { ac_try
='test -z "$ac_c_werror_flag"
18388 || test ! -s conftest.err'
18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390 (eval $ac_try) 2>&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }; } &&
18394 { ac_try
='test -s conftest.$ac_objext'
18395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18396 (eval $ac_try) 2>&5
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); }; }; then
18402 echo "$as_me: failed program was:" >&5
18403 sed 's/^/| /' conftest.
$ac_ext >&5
18405 ac_lo
=`expr '(' $ac_mid ')' + 1`
18407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18410 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18411 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18412 See \`config.log' for more details." >&5
18413 echo "$as_me: error: cannot compute sizeof (int), 77
18414 See \`config.log' for more details." >&2;}
18415 { (exit 1); exit 1; }; } ;;
18418 if test "$cross_compiling" = yes; then
18419 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18420 See \`config.log' for more details." >&5
18421 echo "$as_me: error: cannot run test program while cross compiling
18422 See \`config.log' for more details." >&2;}
18423 { (exit 1); exit 1; }; }
18425 cat >conftest.
$ac_ext <<_ACEOF
18428 cat confdefs.h
>>conftest.
$ac_ext
18429 cat >>conftest.
$ac_ext <<_ACEOF
18430 /* end confdefs.h. */
18431 $ac_includes_default
18432 long longval () { return (long) (sizeof (int)); }
18433 unsigned long ulongval () { return (long) (sizeof (int)); }
18435 #include <stdlib.h>
18440 FILE *f = fopen ("conftest.val", "w");
18443 if (((long) (sizeof (int))) < 0)
18445 long i = longval ();
18446 if (i != ((long) (sizeof (int))))
18448 fprintf (f, "%ld\n", i);
18452 unsigned long i = ulongval ();
18453 if (i != ((long) (sizeof (int))))
18455 fprintf (f, "%lu\n", i);
18457 exit (ferror (f) || fclose (f) != 0);
18463 rm -f conftest
$ac_exeext
18464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18465 (eval $ac_link) 2>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18470 (eval $ac_try) 2>&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); }; }; then
18474 ac_cv_sizeof_int
=`cat conftest.val`
18476 echo "$as_me: program exited with status $ac_status" >&5
18477 echo "$as_me: failed program was:" >&5
18478 sed 's/^/| /' conftest.
$ac_ext >&5
18480 ( exit $ac_status )
18481 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18482 See \`config.log' for more details." >&5
18483 echo "$as_me: error: cannot compute sizeof (int), 77
18484 See \`config.log' for more details." >&2;}
18485 { (exit 1); exit 1; }; }
18487 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18495 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18496 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18497 cat >>confdefs.h
<<_ACEOF
18498 #define SIZEOF_INT $ac_cv_sizeof_int
18502 echo "$as_me:$LINENO: checking for long" >&5
18503 echo $ECHO_N "checking for long... $ECHO_C" >&6
18504 if test "${ac_cv_type_long+set}" = set; then
18505 echo $ECHO_N "(cached) $ECHO_C" >&6
18507 cat >conftest.
$ac_ext <<_ACEOF
18510 cat confdefs.h
>>conftest.
$ac_ext
18511 cat >>conftest.
$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18513 $ac_includes_default
18525 rm -f conftest.
$ac_objext
18526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18527 (eval $ac_compile) 2>conftest.er1
18529 grep -v '^ *+' conftest.er1
>conftest.err
18531 cat conftest.err
>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } &&
18534 { ac_try
='test -z "$ac_c_werror_flag"
18535 || test ! -s conftest.err'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; } &&
18541 { ac_try
='test -s conftest.$ac_objext'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; }; then
18547 ac_cv_type_long
=yes
18549 echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.
$ac_ext >&5
18554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18556 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18557 echo "${ECHO_T}$ac_cv_type_long" >&6
18559 echo "$as_me:$LINENO: checking size of long" >&5
18560 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18561 if test "${ac_cv_sizeof_long+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 if test "$ac_cv_type_long" = yes; then
18565 # The cast to unsigned long works around a bug in the HP C Compiler
18566 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18567 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18568 # This bug is HP SR number 8606223364.
18569 if test "$cross_compiling" = yes; then
18570 # Depending upon the size, compute the lo and hi bounds.
18571 cat >conftest.
$ac_ext <<_ACEOF
18574 cat confdefs.h
>>conftest.
$ac_ext
18575 cat >>conftest.
$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 $ac_includes_default
18581 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18588 rm -f conftest.
$ac_objext
18589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18590 (eval $ac_compile) 2>conftest.er1
18592 grep -v '^ *+' conftest.er1
>conftest.err
18594 cat conftest.err
>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } &&
18597 { ac_try
='test -z "$ac_c_werror_flag"
18598 || test ! -s conftest.err'
18599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18600 (eval $ac_try) 2>&5
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); }; } &&
18604 { ac_try
='test -s conftest.$ac_objext'
18605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606 (eval $ac_try) 2>&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); }; }; then
18612 cat >conftest.
$ac_ext <<_ACEOF
18615 cat confdefs.h
>>conftest.
$ac_ext
18616 cat >>conftest.
$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18618 $ac_includes_default
18622 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18629 rm -f conftest.
$ac_objext
18630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18631 (eval $ac_compile) 2>conftest.er1
18633 grep -v '^ *+' conftest.er1
>conftest.err
18635 cat conftest.err
>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } &&
18638 { ac_try
='test -z "$ac_c_werror_flag"
18639 || test ! -s conftest.err'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; } &&
18645 { ac_try
='test -s conftest.$ac_objext'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; }; then
18651 ac_hi
=$ac_mid; break
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.
$ac_ext >&5
18656 ac_lo
=`expr $ac_mid + 1`
18657 if test $ac_lo -le $ac_mid; then
18661 ac_mid
=`expr 2 '*' $ac_mid + 1`
18663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18666 echo "$as_me: failed program was:" >&5
18667 sed 's/^/| /' conftest.
$ac_ext >&5
18669 cat >conftest.
$ac_ext <<_ACEOF
18672 cat confdefs.h
>>conftest.
$ac_ext
18673 cat >>conftest.
$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675 $ac_includes_default
18679 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18686 rm -f conftest.
$ac_objext
18687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18688 (eval $ac_compile) 2>conftest.er1
18690 grep -v '^ *+' conftest.er1
>conftest.err
18692 cat conftest.err
>&5
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); } &&
18695 { ac_try
='test -z "$ac_c_werror_flag"
18696 || test ! -s conftest.err'
18697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18698 (eval $ac_try) 2>&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); }; } &&
18702 { ac_try
='test -s conftest.$ac_objext'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; }; then
18710 cat >conftest.
$ac_ext <<_ACEOF
18713 cat confdefs.h
>>conftest.
$ac_ext
18714 cat >>conftest.
$ac_ext <<_ACEOF
18715 /* end confdefs.h. */
18716 $ac_includes_default
18720 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18727 rm -f conftest.
$ac_objext
18728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18729 (eval $ac_compile) 2>conftest.er1
18731 grep -v '^ *+' conftest.er1
>conftest.err
18733 cat conftest.err
>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); } &&
18736 { ac_try
='test -z "$ac_c_werror_flag"
18737 || test ! -s conftest.err'
18738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18739 (eval $ac_try) 2>&5
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); }; } &&
18743 { ac_try
='test -s conftest.$ac_objext'
18744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18745 (eval $ac_try) 2>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); }; }; then
18749 ac_lo
=$ac_mid; break
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.
$ac_ext >&5
18754 ac_hi
=`expr '(' $ac_mid ')' - 1`
18755 if test $ac_mid -le $ac_hi; then
18759 ac_mid
=`expr 2 '*' $ac_mid`
18761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.
$ac_ext >&5
18769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18772 # Binary search between lo and hi bounds.
18773 while test "x$ac_lo" != "x$ac_hi"; do
18774 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18775 cat >conftest.
$ac_ext <<_ACEOF
18778 cat confdefs.h
>>conftest.
$ac_ext
18779 cat >>conftest.
$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 $ac_includes_default
18785 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18792 rm -f conftest.
$ac_objext
18793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18794 (eval $ac_compile) 2>conftest.er1
18796 grep -v '^ *+' conftest.er1
>conftest.err
18798 cat conftest.err
>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } &&
18801 { ac_try
='test -z "$ac_c_werror_flag"
18802 || test ! -s conftest.err'
18803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804 (eval $ac_try) 2>&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); }; } &&
18808 { ac_try
='test -s conftest.$ac_objext'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; }; then
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.
$ac_ext >&5
18819 ac_lo
=`expr '(' $ac_mid ')' + 1`
18821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18824 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18825 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18826 See \`config.log' for more details." >&5
18827 echo "$as_me: error: cannot compute sizeof (long), 77
18828 See \`config.log' for more details." >&2;}
18829 { (exit 1); exit 1; }; } ;;
18832 if test "$cross_compiling" = yes; then
18833 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18834 See \`config.log' for more details." >&5
18835 echo "$as_me: error: cannot run test program while cross compiling
18836 See \`config.log' for more details." >&2;}
18837 { (exit 1); exit 1; }; }
18839 cat >conftest.
$ac_ext <<_ACEOF
18842 cat confdefs.h
>>conftest.
$ac_ext
18843 cat >>conftest.
$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 $ac_includes_default
18846 long longval () { return (long) (sizeof (long)); }
18847 unsigned long ulongval () { return (long) (sizeof (long)); }
18849 #include <stdlib.h>
18854 FILE *f = fopen ("conftest.val", "w");
18857 if (((long) (sizeof (long))) < 0)
18859 long i = longval ();
18860 if (i != ((long) (sizeof (long))))
18862 fprintf (f, "%ld\n", i);
18866 unsigned long i = ulongval ();
18867 if (i != ((long) (sizeof (long))))
18869 fprintf (f, "%lu\n", i);
18871 exit (ferror (f) || fclose (f) != 0);
18877 rm -f conftest
$ac_exeext
18878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18879 (eval $ac_link) 2>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; }; then
18888 ac_cv_sizeof_long
=`cat conftest.val`
18890 echo "$as_me: program exited with status $ac_status" >&5
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.
$ac_ext >&5
18894 ( exit $ac_status )
18895 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18896 See \`config.log' for more details." >&5
18897 echo "$as_me: error: cannot compute sizeof (long), 77
18898 See \`config.log' for more details." >&2;}
18899 { (exit 1); exit 1; }; }
18901 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18906 ac_cv_sizeof_long
=0
18909 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18910 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18911 cat >>confdefs.h
<<_ACEOF
18912 #define SIZEOF_LONG $ac_cv_sizeof_long
18916 echo "$as_me:$LINENO: checking for size_t" >&5
18917 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18918 if test "${ac_cv_type_size_t+set}" = set; then
18919 echo $ECHO_N "(cached) $ECHO_C" >&6
18921 cat >conftest.
$ac_ext <<_ACEOF
18924 cat confdefs.h
>>conftest.
$ac_ext
18925 cat >>conftest.
$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 $ac_includes_default
18933 if (sizeof (size_t))
18939 rm -f conftest.
$ac_objext
18940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18941 (eval $ac_compile) 2>conftest.er1
18943 grep -v '^ *+' conftest.er1
>conftest.err
18945 cat conftest.err
>&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); } &&
18948 { ac_try
='test -z "$ac_c_werror_flag"
18949 || test ! -s conftest.err'
18950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951 (eval $ac_try) 2>&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); }; } &&
18955 { ac_try
='test -s conftest.$ac_objext'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; }; then
18961 ac_cv_type_size_t
=yes
18963 echo "$as_me: failed program was:" >&5
18964 sed 's/^/| /' conftest.
$ac_ext >&5
18966 ac_cv_type_size_t
=no
18968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18970 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18971 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18973 echo "$as_me:$LINENO: checking size of size_t" >&5
18974 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18975 if test "${ac_cv_sizeof_size_t+set}" = set; then
18976 echo $ECHO_N "(cached) $ECHO_C" >&6
18978 if test "$ac_cv_type_size_t" = yes; then
18979 # The cast to unsigned long works around a bug in the HP C Compiler
18980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18982 # This bug is HP SR number 8606223364.
18983 if test "$cross_compiling" = yes; then
18984 # Depending upon the size, compute the lo and hi bounds.
18985 cat >conftest.
$ac_ext <<_ACEOF
18988 cat confdefs.h
>>conftest.
$ac_ext
18989 cat >>conftest.
$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 $ac_includes_default
18995 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19002 rm -f conftest.
$ac_objext
19003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19004 (eval $ac_compile) 2>conftest.er1
19006 grep -v '^ *+' conftest.er1
>conftest.err
19008 cat conftest.err
>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); } &&
19011 { ac_try
='test -z "$ac_c_werror_flag"
19012 || test ! -s conftest.err'
19013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19014 (eval $ac_try) 2>&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); }; } &&
19018 { ac_try
='test -s conftest.$ac_objext'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; }; then
19026 cat >conftest.
$ac_ext <<_ACEOF
19029 cat confdefs.h
>>conftest.
$ac_ext
19030 cat >>conftest.
$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 $ac_includes_default
19036 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19043 rm -f conftest.
$ac_objext
19044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19045 (eval $ac_compile) 2>conftest.er1
19047 grep -v '^ *+' conftest.er1
>conftest.err
19049 cat conftest.err
>&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); } &&
19052 { ac_try
='test -z "$ac_c_werror_flag"
19053 || test ! -s conftest.err'
19054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19055 (eval $ac_try) 2>&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); }; } &&
19059 { ac_try
='test -s conftest.$ac_objext'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; }; then
19065 ac_hi
=$ac_mid; break
19067 echo "$as_me: failed program was:" >&5
19068 sed 's/^/| /' conftest.
$ac_ext >&5
19070 ac_lo
=`expr $ac_mid + 1`
19071 if test $ac_lo -le $ac_mid; then
19075 ac_mid
=`expr 2 '*' $ac_mid + 1`
19077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.
$ac_ext >&5
19083 cat >conftest.
$ac_ext <<_ACEOF
19086 cat confdefs.h
>>conftest.
$ac_ext
19087 cat >>conftest.
$ac_ext <<_ACEOF
19088 /* end confdefs.h. */
19089 $ac_includes_default
19093 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19100 rm -f conftest.
$ac_objext
19101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19102 (eval $ac_compile) 2>conftest.er1
19104 grep -v '^ *+' conftest.er1
>conftest.err
19106 cat conftest.err
>&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); } &&
19109 { ac_try
='test -z "$ac_c_werror_flag"
19110 || test ! -s conftest.err'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; } &&
19116 { ac_try
='test -s conftest.$ac_objext'
19117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118 (eval $ac_try) 2>&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); }; }; then
19124 cat >conftest.
$ac_ext <<_ACEOF
19127 cat confdefs.h
>>conftest.
$ac_ext
19128 cat >>conftest.
$ac_ext <<_ACEOF
19129 /* end confdefs.h. */
19130 $ac_includes_default
19134 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19141 rm -f conftest.
$ac_objext
19142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19143 (eval $ac_compile) 2>conftest.er1
19145 grep -v '^ *+' conftest.er1
>conftest.err
19147 cat conftest.err
>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } &&
19150 { ac_try
='test -z "$ac_c_werror_flag"
19151 || test ! -s conftest.err'
19152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19153 (eval $ac_try) 2>&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }; } &&
19157 { ac_try
='test -s conftest.$ac_objext'
19158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19159 (eval $ac_try) 2>&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; }; then
19163 ac_lo
=$ac_mid; break
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.
$ac_ext >&5
19168 ac_hi
=`expr '(' $ac_mid ')' - 1`
19169 if test $ac_mid -le $ac_hi; then
19173 ac_mid
=`expr 2 '*' $ac_mid`
19175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.
$ac_ext >&5
19183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19186 # Binary search between lo and hi bounds.
19187 while test "x$ac_lo" != "x$ac_hi"; do
19188 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19189 cat >conftest.
$ac_ext <<_ACEOF
19192 cat confdefs.h
>>conftest.
$ac_ext
19193 cat >>conftest.
$ac_ext <<_ACEOF
19194 /* end confdefs.h. */
19195 $ac_includes_default
19199 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19206 rm -f conftest.
$ac_objext
19207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19208 (eval $ac_compile) 2>conftest.er1
19210 grep -v '^ *+' conftest.er1
>conftest.err
19212 cat conftest.err
>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); } &&
19215 { ac_try
='test -z "$ac_c_werror_flag"
19216 || test ! -s conftest.err'
19217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19218 (eval $ac_try) 2>&5
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); }; } &&
19222 { ac_try
='test -s conftest.$ac_objext'
19223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19224 (eval $ac_try) 2>&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); }; }; then
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.
$ac_ext >&5
19233 ac_lo
=`expr '(' $ac_mid ')' + 1`
19235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19238 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19239 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19240 See \`config.log' for more details." >&5
19241 echo "$as_me: error: cannot compute sizeof (size_t), 77
19242 See \`config.log' for more details." >&2;}
19243 { (exit 1); exit 1; }; } ;;
19246 if test "$cross_compiling" = yes; then
19247 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19248 See \`config.log' for more details." >&5
19249 echo "$as_me: error: cannot run test program while cross compiling
19250 See \`config.log' for more details." >&2;}
19251 { (exit 1); exit 1; }; }
19253 cat >conftest.
$ac_ext <<_ACEOF
19256 cat confdefs.h
>>conftest.
$ac_ext
19257 cat >>conftest.
$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 $ac_includes_default
19260 long longval () { return (long) (sizeof (size_t)); }
19261 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19263 #include <stdlib.h>
19268 FILE *f = fopen ("conftest.val", "w");
19271 if (((long) (sizeof (size_t))) < 0)
19273 long i = longval ();
19274 if (i != ((long) (sizeof (size_t))))
19276 fprintf (f, "%ld\n", i);
19280 unsigned long i = ulongval ();
19281 if (i != ((long) (sizeof (size_t))))
19283 fprintf (f, "%lu\n", i);
19285 exit (ferror (f) || fclose (f) != 0);
19291 rm -f conftest
$ac_exeext
19292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19293 (eval $ac_link) 2>&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; }; then
19302 ac_cv_sizeof_size_t
=`cat conftest.val`
19304 echo "$as_me: program exited with status $ac_status" >&5
19305 echo "$as_me: failed program was:" >&5
19306 sed 's/^/| /' conftest.
$ac_ext >&5
19308 ( exit $ac_status )
19309 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19310 See \`config.log' for more details." >&5
19311 echo "$as_me: error: cannot compute sizeof (size_t), 77
19312 See \`config.log' for more details." >&2;}
19313 { (exit 1); exit 1; }; }
19315 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19320 ac_cv_sizeof_size_t
=0
19323 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19324 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19325 cat >>confdefs.h
<<_ACEOF
19326 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19333 echo "$as_me:$LINENO: checking for long long" >&5
19334 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19335 if test "${ac_cv_type_long_long+set}" = set; then
19336 echo $ECHO_N "(cached) $ECHO_C" >&6
19338 cat >conftest.
$ac_ext <<_ACEOF
19341 cat confdefs.h
>>conftest.
$ac_ext
19342 cat >>conftest.
$ac_ext <<_ACEOF
19343 /* end confdefs.h. */
19344 $ac_includes_default
19348 if ((long long *) 0)
19350 if (sizeof (long long))
19356 rm -f conftest.
$ac_objext
19357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19358 (eval $ac_compile) 2>conftest.er1
19360 grep -v '^ *+' conftest.er1
>conftest.err
19362 cat conftest.err
>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); } &&
19365 { ac_try
='test -z "$ac_c_werror_flag"
19366 || test ! -s conftest.err'
19367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19368 (eval $ac_try) 2>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); }; } &&
19372 { ac_try
='test -s conftest.$ac_objext'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; }; then
19378 ac_cv_type_long_long
=yes
19380 echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.
$ac_ext >&5
19383 ac_cv_type_long_long
=no
19385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19387 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19388 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19390 echo "$as_me:$LINENO: checking size of long long" >&5
19391 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19392 if test "${ac_cv_sizeof_long_long+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 if test "$ac_cv_type_long_long" = yes; then
19396 # The cast to unsigned long works around a bug in the HP C Compiler
19397 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19398 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19399 # This bug is HP SR number 8606223364.
19400 if test "$cross_compiling" = yes; then
19401 # Depending upon the size, compute the lo and hi bounds.
19402 cat >conftest.
$ac_ext <<_ACEOF
19405 cat confdefs.h
>>conftest.
$ac_ext
19406 cat >>conftest.
$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 $ac_includes_default
19412 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19419 rm -f conftest.
$ac_objext
19420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19421 (eval $ac_compile) 2>conftest.er1
19423 grep -v '^ *+' conftest.er1
>conftest.err
19425 cat conftest.err
>&5
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); } &&
19428 { ac_try
='test -z "$ac_c_werror_flag"
19429 || test ! -s conftest.err'
19430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19431 (eval $ac_try) 2>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); }; } &&
19435 { ac_try
='test -s conftest.$ac_objext'
19436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19437 (eval $ac_try) 2>&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); }; }; then
19443 cat >conftest.
$ac_ext <<_ACEOF
19446 cat confdefs.h
>>conftest.
$ac_ext
19447 cat >>conftest.
$ac_ext <<_ACEOF
19448 /* end confdefs.h. */
19449 $ac_includes_default
19453 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19460 rm -f conftest.
$ac_objext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>conftest.er1
19464 grep -v '^ *+' conftest.er1
>conftest.err
19466 cat conftest.err
>&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try
='test -z "$ac_c_werror_flag"
19470 || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try
='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_hi
=$ac_mid; break
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ac_lo
=`expr $ac_mid + 1`
19488 if test $ac_lo -le $ac_mid; then
19492 ac_mid
=`expr 2 '*' $ac_mid + 1`
19494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.
$ac_ext >&5
19500 cat >conftest.
$ac_ext <<_ACEOF
19503 cat confdefs.h
>>conftest.
$ac_ext
19504 cat >>conftest.
$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 $ac_includes_default
19510 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19517 rm -f conftest.
$ac_objext
19518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19519 (eval $ac_compile) 2>conftest.er1
19521 grep -v '^ *+' conftest.er1
>conftest.err
19523 cat conftest.err
>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try
='test -z "$ac_c_werror_flag"
19527 || test ! -s conftest.err'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; } &&
19533 { ac_try
='test -s conftest.$ac_objext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19541 cat >conftest.
$ac_ext <<_ACEOF
19544 cat confdefs.h
>>conftest.
$ac_ext
19545 cat >>conftest.
$ac_ext <<_ACEOF
19546 /* end confdefs.h. */
19547 $ac_includes_default
19551 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19558 rm -f conftest.
$ac_objext
19559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19560 (eval $ac_compile) 2>conftest.er1
19562 grep -v '^ *+' conftest.er1
>conftest.err
19564 cat conftest.err
>&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } &&
19567 { ac_try
='test -z "$ac_c_werror_flag"
19568 || test ! -s conftest.err'
19569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19570 (eval $ac_try) 2>&5
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); }; } &&
19574 { ac_try
='test -s conftest.$ac_objext'
19575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19576 (eval $ac_try) 2>&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); }; }; then
19580 ac_lo
=$ac_mid; break
19582 echo "$as_me: failed program was:" >&5
19583 sed 's/^/| /' conftest.
$ac_ext >&5
19585 ac_hi
=`expr '(' $ac_mid ')' - 1`
19586 if test $ac_mid -le $ac_hi; then
19590 ac_mid
=`expr 2 '*' $ac_mid`
19592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.
$ac_ext >&5
19600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19603 # Binary search between lo and hi bounds.
19604 while test "x$ac_lo" != "x$ac_hi"; do
19605 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19606 cat >conftest.
$ac_ext <<_ACEOF
19609 cat confdefs.h
>>conftest.
$ac_ext
19610 cat >>conftest.
$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 $ac_includes_default
19616 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19623 rm -f conftest.
$ac_objext
19624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19625 (eval $ac_compile) 2>conftest.er1
19627 grep -v '^ *+' conftest.er1
>conftest.err
19629 cat conftest.err
>&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } &&
19632 { ac_try
='test -z "$ac_c_werror_flag"
19633 || test ! -s conftest.err'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; } &&
19639 { ac_try
='test -s conftest.$ac_objext'
19640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19641 (eval $ac_try) 2>&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); }; }; then
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.
$ac_ext >&5
19650 ac_lo
=`expr '(' $ac_mid ')' + 1`
19652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19655 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19656 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19657 See \`config.log' for more details." >&5
19658 echo "$as_me: error: cannot compute sizeof (long long), 77
19659 See \`config.log' for more details." >&2;}
19660 { (exit 1); exit 1; }; } ;;
19663 if test "$cross_compiling" = yes; then
19664 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19665 See \`config.log' for more details." >&5
19666 echo "$as_me: error: cannot run test program while cross compiling
19667 See \`config.log' for more details." >&2;}
19668 { (exit 1); exit 1; }; }
19670 cat >conftest.
$ac_ext <<_ACEOF
19673 cat confdefs.h
>>conftest.
$ac_ext
19674 cat >>conftest.
$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 $ac_includes_default
19677 long longval () { return (long) (sizeof (long long)); }
19678 unsigned long ulongval () { return (long) (sizeof (long long)); }
19680 #include <stdlib.h>
19685 FILE *f = fopen ("conftest.val", "w");
19688 if (((long) (sizeof (long long))) < 0)
19690 long i = longval ();
19691 if (i != ((long) (sizeof (long long))))
19693 fprintf (f, "%ld\n", i);
19697 unsigned long i = ulongval ();
19698 if (i != ((long) (sizeof (long long))))
19700 fprintf (f, "%lu\n", i);
19702 exit (ferror (f) || fclose (f) != 0);
19708 rm -f conftest
$ac_exeext
19709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19710 (eval $ac_link) 2>&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715 (eval $ac_try) 2>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 ac_cv_sizeof_long_long
=`cat conftest.val`
19721 echo "$as_me: program exited with status $ac_status" >&5
19722 echo "$as_me: failed program was:" >&5
19723 sed 's/^/| /' conftest.
$ac_ext >&5
19725 ( exit $ac_status )
19726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19727 See \`config.log' for more details." >&5
19728 echo "$as_me: error: cannot compute sizeof (long long), 77
19729 See \`config.log' for more details." >&2;}
19730 { (exit 1); exit 1; }; }
19732 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19737 ac_cv_sizeof_long_long
=0
19740 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19741 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19742 cat >>confdefs.h
<<_ACEOF
19743 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19749 echo "$as_me:$LINENO: checking for long long" >&5
19750 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19751 if test "${ac_cv_type_long_long+set}" = set; then
19752 echo $ECHO_N "(cached) $ECHO_C" >&6
19754 cat >conftest.
$ac_ext <<_ACEOF
19757 cat confdefs.h
>>conftest.
$ac_ext
19758 cat >>conftest.
$ac_ext <<_ACEOF
19759 /* end confdefs.h. */
19760 $ac_includes_default
19764 if ((long long *) 0)
19766 if (sizeof (long long))
19772 rm -f conftest.
$ac_objext
19773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19774 (eval $ac_compile) 2>conftest.er1
19776 grep -v '^ *+' conftest.er1
>conftest.err
19778 cat conftest.err
>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); } &&
19781 { ac_try
='test -z "$ac_c_werror_flag"
19782 || test ! -s conftest.err'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; } &&
19788 { ac_try
='test -s conftest.$ac_objext'
19789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19790 (eval $ac_try) 2>&5
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; }; then
19794 ac_cv_type_long_long
=yes
19796 echo "$as_me: failed program was:" >&5
19797 sed 's/^/| /' conftest.
$ac_ext >&5
19799 ac_cv_type_long_long
=no
19801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19803 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19804 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19806 echo "$as_me:$LINENO: checking size of long long" >&5
19807 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19808 if test "${ac_cv_sizeof_long_long+set}" = set; then
19809 echo $ECHO_N "(cached) $ECHO_C" >&6
19811 if test "$ac_cv_type_long_long" = yes; then
19812 # The cast to unsigned long works around a bug in the HP C Compiler
19813 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19814 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19815 # This bug is HP SR number 8606223364.
19816 if test "$cross_compiling" = yes; then
19817 # Depending upon the size, compute the lo and hi bounds.
19818 cat >conftest.
$ac_ext <<_ACEOF
19821 cat confdefs.h
>>conftest.
$ac_ext
19822 cat >>conftest.
$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 $ac_includes_default
19828 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19835 rm -f conftest.
$ac_objext
19836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19837 (eval $ac_compile) 2>conftest.er1
19839 grep -v '^ *+' conftest.er1
>conftest.err
19841 cat conftest.err
>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } &&
19844 { ac_try
='test -z "$ac_c_werror_flag"
19845 || test ! -s conftest.err'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try
='test -s conftest.$ac_objext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19859 cat >conftest.
$ac_ext <<_ACEOF
19862 cat confdefs.h
>>conftest.
$ac_ext
19863 cat >>conftest.
$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 $ac_includes_default
19869 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19876 rm -f conftest.
$ac_objext
19877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19878 (eval $ac_compile) 2>conftest.er1
19880 grep -v '^ *+' conftest.er1
>conftest.err
19882 cat conftest.err
>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } &&
19885 { ac_try
='test -z "$ac_c_werror_flag"
19886 || test ! -s conftest.err'
19887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888 (eval $ac_try) 2>&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); }; } &&
19892 { ac_try
='test -s conftest.$ac_objext'
19893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19894 (eval $ac_try) 2>&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); }; }; then
19898 ac_hi
=$ac_mid; break
19900 echo "$as_me: failed program was:" >&5
19901 sed 's/^/| /' conftest.
$ac_ext >&5
19903 ac_lo
=`expr $ac_mid + 1`
19904 if test $ac_lo -le $ac_mid; then
19908 ac_mid
=`expr 2 '*' $ac_mid + 1`
19910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19913 echo "$as_me: failed program was:" >&5
19914 sed 's/^/| /' conftest.
$ac_ext >&5
19916 cat >conftest.
$ac_ext <<_ACEOF
19919 cat confdefs.h
>>conftest.
$ac_ext
19920 cat >>conftest.
$ac_ext <<_ACEOF
19921 /* end confdefs.h. */
19922 $ac_includes_default
19926 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19933 rm -f conftest.
$ac_objext
19934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19935 (eval $ac_compile) 2>conftest.er1
19937 grep -v '^ *+' conftest.er1
>conftest.err
19939 cat conftest.err
>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); } &&
19942 { ac_try
='test -z "$ac_c_werror_flag"
19943 || test ! -s conftest.err'
19944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19945 (eval $ac_try) 2>&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); }; } &&
19949 { ac_try
='test -s conftest.$ac_objext'
19950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19951 (eval $ac_try) 2>&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; }; then
19957 cat >conftest.
$ac_ext <<_ACEOF
19960 cat confdefs.h
>>conftest.
$ac_ext
19961 cat >>conftest.
$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19963 $ac_includes_default
19967 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19974 rm -f conftest.
$ac_objext
19975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19976 (eval $ac_compile) 2>conftest.er1
19978 grep -v '^ *+' conftest.er1
>conftest.err
19980 cat conftest.err
>&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); } &&
19983 { ac_try
='test -z "$ac_c_werror_flag"
19984 || test ! -s conftest.err'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; } &&
19990 { ac_try
='test -s conftest.$ac_objext'
19991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19992 (eval $ac_try) 2>&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); }; }; then
19996 ac_lo
=$ac_mid; break
19998 echo "$as_me: failed program was:" >&5
19999 sed 's/^/| /' conftest.
$ac_ext >&5
20001 ac_hi
=`expr '(' $ac_mid ')' - 1`
20002 if test $ac_mid -le $ac_hi; then
20006 ac_mid
=`expr 2 '*' $ac_mid`
20008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20011 echo "$as_me: failed program was:" >&5
20012 sed 's/^/| /' conftest.
$ac_ext >&5
20016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20019 # Binary search between lo and hi bounds.
20020 while test "x$ac_lo" != "x$ac_hi"; do
20021 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20022 cat >conftest.
$ac_ext <<_ACEOF
20025 cat confdefs.h
>>conftest.
$ac_ext
20026 cat >>conftest.
$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 $ac_includes_default
20032 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20039 rm -f conftest.
$ac_objext
20040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20041 (eval $ac_compile) 2>conftest.er1
20043 grep -v '^ *+' conftest.er1
>conftest.err
20045 cat conftest.err
>&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } &&
20048 { ac_try
='test -z "$ac_c_werror_flag"
20049 || test ! -s conftest.err'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; } &&
20055 { ac_try
='test -s conftest.$ac_objext'
20056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057 (eval $ac_try) 2>&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); }; }; then
20063 echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.
$ac_ext >&5
20066 ac_lo
=`expr '(' $ac_mid ')' + 1`
20068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20071 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20072 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20073 See \`config.log' for more details." >&5
20074 echo "$as_me: error: cannot compute sizeof (long long), 77
20075 See \`config.log' for more details." >&2;}
20076 { (exit 1); exit 1; }; } ;;
20079 if test "$cross_compiling" = yes; then
20080 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20081 See \`config.log' for more details." >&5
20082 echo "$as_me: error: cannot run test program while cross compiling
20083 See \`config.log' for more details." >&2;}
20084 { (exit 1); exit 1; }; }
20086 cat >conftest.
$ac_ext <<_ACEOF
20089 cat confdefs.h
>>conftest.
$ac_ext
20090 cat >>conftest.
$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20093 long longval () { return (long) (sizeof (long long)); }
20094 unsigned long ulongval () { return (long) (sizeof (long long)); }
20096 #include <stdlib.h>
20101 FILE *f = fopen ("conftest.val", "w");
20104 if (((long) (sizeof (long long))) < 0)
20106 long i = longval ();
20107 if (i != ((long) (sizeof (long long))))
20109 fprintf (f, "%ld\n", i);
20113 unsigned long i = ulongval ();
20114 if (i != ((long) (sizeof (long long))))
20116 fprintf (f, "%lu\n", i);
20118 exit (ferror (f) || fclose (f) != 0);
20124 rm -f conftest
$ac_exeext
20125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20126 (eval $ac_link) 2>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; }; then
20135 ac_cv_sizeof_long_long
=`cat conftest.val`
20137 echo "$as_me: program exited with status $ac_status" >&5
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.
$ac_ext >&5
20141 ( exit $ac_status )
20142 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20143 See \`config.log' for more details." >&5
20144 echo "$as_me: error: cannot compute sizeof (long long), 77
20145 See \`config.log' for more details." >&2;}
20146 { (exit 1); exit 1; }; }
20148 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20153 ac_cv_sizeof_long_long
=0
20156 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20157 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20158 cat >>confdefs.h
<<_ACEOF
20159 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20163 if test "$ac_cv_sizeof_long_long" != "0"; then
20164 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20168 echo "$as_me:$LINENO: checking for long long" >&5
20169 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20170 if test "${ac_cv_type_long_long+set}" = set; then
20171 echo $ECHO_N "(cached) $ECHO_C" >&6
20173 cat >conftest.
$ac_ext <<_ACEOF
20176 cat confdefs.h
>>conftest.
$ac_ext
20177 cat >>conftest.
$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20183 if ((long long *) 0)
20185 if (sizeof (long long))
20191 rm -f conftest.
$ac_objext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20193 (eval $ac_compile) 2>conftest.er1
20195 grep -v '^ *+' conftest.er1
>conftest.err
20197 cat conftest.err
>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } &&
20200 { ac_try
='test -z "$ac_c_werror_flag"
20201 || test ! -s conftest.err'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; } &&
20207 { ac_try
='test -s conftest.$ac_objext'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_type_long_long
=yes
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.
$ac_ext >&5
20218 ac_cv_type_long_long
=no
20220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20222 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20223 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20225 echo "$as_me:$LINENO: checking size of long long" >&5
20226 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20227 if test "${ac_cv_sizeof_long_long+set}" = set; then
20228 echo $ECHO_N "(cached) $ECHO_C" >&6
20230 if test "$ac_cv_type_long_long" = yes; then
20231 # The cast to unsigned long works around a bug in the HP C Compiler
20232 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20233 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20234 # This bug is HP SR number 8606223364.
20235 if test "$cross_compiling" = yes; then
20236 # Depending upon the size, compute the lo and hi bounds.
20237 cat >conftest.
$ac_ext <<_ACEOF
20240 cat confdefs.h
>>conftest.
$ac_ext
20241 cat >>conftest.
$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 $ac_includes_default
20247 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20254 rm -f conftest.
$ac_objext
20255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20256 (eval $ac_compile) 2>conftest.er1
20258 grep -v '^ *+' conftest.er1
>conftest.err
20260 cat conftest.err
>&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); } &&
20263 { ac_try
='test -z "$ac_c_werror_flag"
20264 || test ! -s conftest.err'
20265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20266 (eval $ac_try) 2>&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); }; } &&
20270 { ac_try
='test -s conftest.$ac_objext'
20271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20272 (eval $ac_try) 2>&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); }; }; then
20278 cat >conftest.
$ac_ext <<_ACEOF
20281 cat confdefs.h
>>conftest.
$ac_ext
20282 cat >>conftest.
$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 $ac_includes_default
20288 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20295 rm -f conftest.
$ac_objext
20296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20297 (eval $ac_compile) 2>conftest.er1
20299 grep -v '^ *+' conftest.er1
>conftest.err
20301 cat conftest.err
>&5
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); } &&
20304 { ac_try
='test -z "$ac_c_werror_flag"
20305 || test ! -s conftest.err'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; } &&
20311 { ac_try
='test -s conftest.$ac_objext'
20312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20313 (eval $ac_try) 2>&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); }; }; then
20317 ac_hi
=$ac_mid; break
20319 echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.
$ac_ext >&5
20322 ac_lo
=`expr $ac_mid + 1`
20323 if test $ac_lo -le $ac_mid; then
20327 ac_mid
=`expr 2 '*' $ac_mid + 1`
20329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.
$ac_ext >&5
20335 cat >conftest.
$ac_ext <<_ACEOF
20338 cat confdefs.h
>>conftest.
$ac_ext
20339 cat >>conftest.
$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20341 $ac_includes_default
20345 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20352 rm -f conftest.
$ac_objext
20353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20354 (eval $ac_compile) 2>conftest.er1
20356 grep -v '^ *+' conftest.er1
>conftest.err
20358 cat conftest.err
>&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); } &&
20361 { ac_try
='test -z "$ac_c_werror_flag"
20362 || test ! -s conftest.err'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; } &&
20368 { ac_try
='test -s conftest.$ac_objext'
20369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370 (eval $ac_try) 2>&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20376 cat >conftest.
$ac_ext <<_ACEOF
20379 cat confdefs.h
>>conftest.
$ac_ext
20380 cat >>conftest.
$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 $ac_includes_default
20386 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20393 rm -f conftest.
$ac_objext
20394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20395 (eval $ac_compile) 2>conftest.er1
20397 grep -v '^ *+' conftest.er1
>conftest.err
20399 cat conftest.err
>&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } &&
20402 { ac_try
='test -z "$ac_c_werror_flag"
20403 || test ! -s conftest.err'
20404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405 (eval $ac_try) 2>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; } &&
20409 { ac_try
='test -s conftest.$ac_objext'
20410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411 (eval $ac_try) 2>&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); }; }; then
20415 ac_lo
=$ac_mid; break
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.
$ac_ext >&5
20420 ac_hi
=`expr '(' $ac_mid ')' - 1`
20421 if test $ac_mid -le $ac_hi; then
20425 ac_mid
=`expr 2 '*' $ac_mid`
20427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20430 echo "$as_me: failed program was:" >&5
20431 sed 's/^/| /' conftest.
$ac_ext >&5
20435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20438 # Binary search between lo and hi bounds.
20439 while test "x$ac_lo" != "x$ac_hi"; do
20440 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20441 cat >conftest.
$ac_ext <<_ACEOF
20444 cat confdefs.h
>>conftest.
$ac_ext
20445 cat >>conftest.
$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20451 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20458 rm -f conftest.
$ac_objext
20459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20460 (eval $ac_compile) 2>conftest.er1
20462 grep -v '^ *+' conftest.er1
>conftest.err
20464 cat conftest.err
>&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); } &&
20467 { ac_try
='test -z "$ac_c_werror_flag"
20468 || test ! -s conftest.err'
20469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470 (eval $ac_try) 2>&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); }; } &&
20474 { ac_try
='test -s conftest.$ac_objext'
20475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20476 (eval $ac_try) 2>&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); }; }; then
20482 echo "$as_me: failed program was:" >&5
20483 sed 's/^/| /' conftest.
$ac_ext >&5
20485 ac_lo
=`expr '(' $ac_mid ')' + 1`
20487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20490 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20491 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20492 See \`config.log' for more details." >&5
20493 echo "$as_me: error: cannot compute sizeof (long long), 77
20494 See \`config.log' for more details." >&2;}
20495 { (exit 1); exit 1; }; } ;;
20498 if test "$cross_compiling" = yes; then
20499 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20500 See \`config.log' for more details." >&5
20501 echo "$as_me: error: cannot run test program while cross compiling
20502 See \`config.log' for more details." >&2;}
20503 { (exit 1); exit 1; }; }
20505 cat >conftest.
$ac_ext <<_ACEOF
20508 cat confdefs.h
>>conftest.
$ac_ext
20509 cat >>conftest.
$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20511 $ac_includes_default
20512 long longval () { return (long) (sizeof (long long)); }
20513 unsigned long ulongval () { return (long) (sizeof (long long)); }
20515 #include <stdlib.h>
20520 FILE *f = fopen ("conftest.val", "w");
20523 if (((long) (sizeof (long long))) < 0)
20525 long i = longval ();
20526 if (i != ((long) (sizeof (long long))))
20528 fprintf (f, "%ld\n", i);
20532 unsigned long i = ulongval ();
20533 if (i != ((long) (sizeof (long long))))
20535 fprintf (f, "%lu\n", i);
20537 exit (ferror (f) || fclose (f) != 0);
20543 rm -f conftest
$ac_exeext
20544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20545 (eval $ac_link) 2>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 ac_cv_sizeof_long_long
=`cat conftest.val`
20556 echo "$as_me: program exited with status $ac_status" >&5
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.
$ac_ext >&5
20560 ( exit $ac_status )
20561 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20562 See \`config.log' for more details." >&5
20563 echo "$as_me: error: cannot compute sizeof (long long), 77
20564 See \`config.log' for more details." >&2;}
20565 { (exit 1); exit 1; }; }
20567 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20572 ac_cv_sizeof_long_long
=0
20575 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20576 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20577 cat >>confdefs.h
<<_ACEOF
20578 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20584 echo "$as_me:$LINENO: checking for wchar_t" >&5
20585 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20586 if test "${ac_cv_type_wchar_t+set}" = set; then
20587 echo $ECHO_N "(cached) $ECHO_C" >&6
20589 cat >conftest.
$ac_ext <<_ACEOF
20592 cat confdefs.h
>>conftest.
$ac_ext
20593 cat >>conftest.
$ac_ext <<_ACEOF
20594 /* end confdefs.h. */
20596 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20597 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20598 # error "fake wchar_t"
20600 #ifdef HAVE_WCHAR_H
20602 # include <stddef.h>
20604 # include <wchar.h>
20606 #ifdef HAVE_STDLIB_H
20607 # include <stdlib.h>
20618 if (sizeof (wchar_t))
20624 rm -f conftest.
$ac_objext
20625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20626 (eval $ac_compile) 2>conftest.er1
20628 grep -v '^ *+' conftest.er1
>conftest.err
20630 cat conftest.err
>&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } &&
20633 { ac_try
='test -z "$ac_c_werror_flag"
20634 || test ! -s conftest.err'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; } &&
20640 { ac_try
='test -s conftest.$ac_objext'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; }; then
20646 ac_cv_type_wchar_t
=yes
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.
$ac_ext >&5
20651 ac_cv_type_wchar_t
=no
20653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20655 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20656 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20658 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20659 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20660 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20663 if test "$ac_cv_type_wchar_t" = yes; then
20664 # The cast to unsigned long works around a bug in the HP C Compiler
20665 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20666 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20667 # This bug is HP SR number 8606223364.
20668 if test "$cross_compiling" = yes; then
20669 # Depending upon the size, compute the lo and hi bounds.
20670 cat >conftest.
$ac_ext <<_ACEOF
20673 cat confdefs.h
>>conftest.
$ac_ext
20674 cat >>conftest.
$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20677 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20678 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20679 # error "fake wchar_t"
20681 #ifdef HAVE_WCHAR_H
20683 # include <stddef.h>
20685 # include <wchar.h>
20687 #ifdef HAVE_STDLIB_H
20688 # include <stdlib.h>
20697 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20704 rm -f conftest.
$ac_objext
20705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20706 (eval $ac_compile) 2>conftest.er1
20708 grep -v '^ *+' conftest.er1
>conftest.err
20710 cat conftest.err
>&5
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); } &&
20713 { ac_try
='test -z "$ac_c_werror_flag"
20714 || test ! -s conftest.err'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; } &&
20720 { ac_try
='test -s conftest.$ac_objext'
20721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20722 (eval $ac_try) 2>&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); }; }; then
20728 cat >conftest.
$ac_ext <<_ACEOF
20731 cat confdefs.h
>>conftest.
$ac_ext
20732 cat >>conftest.
$ac_ext <<_ACEOF
20733 /* end confdefs.h. */
20735 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20736 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20737 # error "fake wchar_t"
20739 #ifdef HAVE_WCHAR_H
20741 # include <stddef.h>
20743 # include <wchar.h>
20745 #ifdef HAVE_STDLIB_H
20746 # include <stdlib.h>
20755 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20762 rm -f conftest.
$ac_objext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20764 (eval $ac_compile) 2>conftest.er1
20766 grep -v '^ *+' conftest.er1
>conftest.err
20768 cat conftest.err
>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } &&
20771 { ac_try
='test -z "$ac_c_werror_flag"
20772 || test ! -s conftest.err'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try
='test -s conftest.$ac_objext'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20784 ac_hi
=$ac_mid; break
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.
$ac_ext >&5
20789 ac_lo
=`expr $ac_mid + 1`
20790 if test $ac_lo -le $ac_mid; then
20794 ac_mid
=`expr 2 '*' $ac_mid + 1`
20796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20799 echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.
$ac_ext >&5
20802 cat >conftest.
$ac_ext <<_ACEOF
20805 cat confdefs.h
>>conftest.
$ac_ext
20806 cat >>conftest.
$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20809 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20810 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20811 # error "fake wchar_t"
20813 #ifdef HAVE_WCHAR_H
20815 # include <stddef.h>
20817 # include <wchar.h>
20819 #ifdef HAVE_STDLIB_H
20820 # include <stdlib.h>
20829 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20836 rm -f conftest.
$ac_objext
20837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20838 (eval $ac_compile) 2>conftest.er1
20840 grep -v '^ *+' conftest.er1
>conftest.err
20842 cat conftest.err
>&5
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); } &&
20845 { ac_try
='test -z "$ac_c_werror_flag"
20846 || test ! -s conftest.err'
20847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20848 (eval $ac_try) 2>&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); }; } &&
20852 { ac_try
='test -s conftest.$ac_objext'
20853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854 (eval $ac_try) 2>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; }; then
20860 cat >conftest.
$ac_ext <<_ACEOF
20863 cat confdefs.h
>>conftest.
$ac_ext
20864 cat >>conftest.
$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20867 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20868 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20869 # error "fake wchar_t"
20871 #ifdef HAVE_WCHAR_H
20873 # include <stddef.h>
20875 # include <wchar.h>
20877 #ifdef HAVE_STDLIB_H
20878 # include <stdlib.h>
20887 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20894 rm -f conftest.
$ac_objext
20895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20896 (eval $ac_compile) 2>conftest.er1
20898 grep -v '^ *+' conftest.er1
>conftest.err
20900 cat conftest.err
>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } &&
20903 { ac_try
='test -z "$ac_c_werror_flag"
20904 || test ! -s conftest.err'
20905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20906 (eval $ac_try) 2>&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); }; } &&
20910 { ac_try
='test -s conftest.$ac_objext'
20911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20912 (eval $ac_try) 2>&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); }; }; then
20916 ac_lo
=$ac_mid; break
20918 echo "$as_me: failed program was:" >&5
20919 sed 's/^/| /' conftest.
$ac_ext >&5
20921 ac_hi
=`expr '(' $ac_mid ')' - 1`
20922 if test $ac_mid -le $ac_hi; then
20926 ac_mid
=`expr 2 '*' $ac_mid`
20928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.
$ac_ext >&5
20936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20939 # Binary search between lo and hi bounds.
20940 while test "x$ac_lo" != "x$ac_hi"; do
20941 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20942 cat >conftest.
$ac_ext <<_ACEOF
20945 cat confdefs.h
>>conftest.
$ac_ext
20946 cat >>conftest.
$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20949 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20950 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20951 # error "fake wchar_t"
20953 #ifdef HAVE_WCHAR_H
20955 # include <stddef.h>
20957 # include <wchar.h>
20959 #ifdef HAVE_STDLIB_H
20960 # include <stdlib.h>
20969 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20976 rm -f conftest.
$ac_objext
20977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20978 (eval $ac_compile) 2>conftest.er1
20980 grep -v '^ *+' conftest.er1
>conftest.err
20982 cat conftest.err
>&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); } &&
20985 { ac_try
='test -z "$ac_c_werror_flag"
20986 || test ! -s conftest.err'
20987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20988 (eval $ac_try) 2>&5
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); }; } &&
20992 { ac_try
='test -s conftest.$ac_objext'
20993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20994 (eval $ac_try) 2>&5
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); }; }; then
21000 echo "$as_me: failed program was:" >&5
21001 sed 's/^/| /' conftest.
$ac_ext >&5
21003 ac_lo
=`expr '(' $ac_mid ')' + 1`
21005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21008 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21009 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21010 See \`config.log' for more details." >&5
21011 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21012 See \`config.log' for more details." >&2;}
21013 { (exit 1); exit 1; }; } ;;
21016 if test "$cross_compiling" = yes; then
21017 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21018 See \`config.log' for more details." >&5
21019 echo "$as_me: error: cannot run test program while cross compiling
21020 See \`config.log' for more details." >&2;}
21021 { (exit 1); exit 1; }; }
21023 cat >conftest.
$ac_ext <<_ACEOF
21026 cat confdefs.h
>>conftest.
$ac_ext
21027 cat >>conftest.
$ac_ext <<_ACEOF
21028 /* end confdefs.h. */
21030 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21031 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21032 # error "fake wchar_t"
21034 #ifdef HAVE_WCHAR_H
21036 # include <stddef.h>
21038 # include <wchar.h>
21040 #ifdef HAVE_STDLIB_H
21041 # include <stdlib.h>
21047 long longval () { return (long) (sizeof (wchar_t)); }
21048 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21050 #include <stdlib.h>
21055 FILE *f = fopen ("conftest.val", "w");
21058 if (((long) (sizeof (wchar_t))) < 0)
21060 long i = longval ();
21061 if (i != ((long) (sizeof (wchar_t))))
21063 fprintf (f, "%ld\n", i);
21067 unsigned long i = ulongval ();
21068 if (i != ((long) (sizeof (wchar_t))))
21070 fprintf (f, "%lu\n", i);
21072 exit (ferror (f) || fclose (f) != 0);
21078 rm -f conftest
$ac_exeext
21079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21080 (eval $ac_link) 2>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085 (eval $ac_try) 2>&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); }; }; then
21089 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21091 echo "$as_me: program exited with status $ac_status" >&5
21092 echo "$as_me: failed program was:" >&5
21093 sed 's/^/| /' conftest.
$ac_ext >&5
21095 ( exit $ac_status )
21096 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21097 See \`config.log' for more details." >&5
21098 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21099 See \`config.log' for more details." >&2;}
21100 { (exit 1); exit 1; }; }
21102 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21107 ac_cv_sizeof_wchar_t
=0
21110 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21111 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21112 cat >>confdefs.h
<<_ACEOF
21113 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21117 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21123 echo "$as_me:$LINENO: checking for va_copy" >&5
21124 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21125 if test "${wx_cv_func_va_copy+set}" = set; then
21126 echo $ECHO_N "(cached) $ECHO_C" >&6
21129 cat >conftest.
$ac_ext <<_ACEOF
21131 #include <stdarg.h>
21132 void foo(char *f, ...)
21146 rm -f conftest.
$ac_objext conftest
$ac_exeext
21147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21148 (eval $ac_link) 2>conftest.er1
21150 grep -v '^ *+' conftest.er1
>conftest.err
21152 cat conftest.err
>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); } &&
21155 { ac_try
='test -z "$ac_c_werror_flag"
21156 || test ! -s conftest.err'
21157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21158 (eval $ac_try) 2>&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); }; } &&
21162 { ac_try
='test -s conftest$ac_exeext'
21163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21164 (eval $ac_try) 2>&5
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167 (exit $ac_status); }; }; then
21168 wx_cv_func_va_copy
=yes
21170 echo "$as_me: failed program was:" >&5
21171 sed 's/^/| /' conftest.
$ac_ext >&5
21173 wx_cv_func_va_copy
=no
21176 rm -f conftest.err conftest.
$ac_objext \
21177 conftest
$ac_exeext conftest.
$ac_ext
21181 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21182 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21184 if test $wx_cv_func_va_copy = "yes"; then
21185 cat >>confdefs.h
<<\_ACEOF
21186 #define HAVE_VA_COPY 1
21190 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21191 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21192 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21193 echo $ECHO_N "(cached) $ECHO_C" >&6
21196 if test "$cross_compiling" = yes; then
21197 wx_cv_type_va_list_lvalue
=yes
21200 cat >conftest.
$ac_ext <<_ACEOF
21202 #include <stdarg.h>
21203 int foo(char *f, ...)
21208 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21216 return foo("hi", 17);
21219 rm -f conftest
$ac_exeext
21220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21221 (eval $ac_link) 2>&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21226 (eval $ac_try) 2>&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); }; }; then
21230 wx_cv_type_va_list_lvalue
=yes
21232 echo "$as_me: program exited with status $ac_status" >&5
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.
$ac_ext >&5
21236 ( exit $ac_status )
21237 wx_cv_type_va_list_lvalue
=no
21239 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21244 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21245 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21247 if test $wx_cv_type_va_list_lvalue != "yes"; then
21248 cat >>confdefs.h
<<\_ACEOF
21249 #define VA_LIST_IS_ARRAY 1
21255 # Check whether --enable-largefile or --disable-largefile was given.
21256 if test "${enable_largefile+set}" = set; then
21257 enableval
="$enable_largefile"
21260 if test "$enable_largefile" != no
; then
21263 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21264 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21265 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21266 echo $ECHO_N "(cached) $ECHO_C" >&6
21269 cat >conftest.
$ac_ext <<_ACEOF
21272 cat confdefs.h
>>conftest.
$ac_ext
21273 cat >>conftest.
$ac_ext <<_ACEOF
21274 /* end confdefs.h. */
21275 #define _FILE_OFFSET_BITS 64
21276 #include <sys/types.h>
21281 unsigned int field: sizeof(off_t) == 8;
21288 rm -f conftest.
$ac_objext
21289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21290 (eval $ac_compile) 2>conftest.er1
21292 grep -v '^ *+' conftest.er1
>conftest.err
21294 cat conftest.err
>&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); } &&
21297 { ac_try
='test -z "$ac_c_werror_flag"
21298 || test ! -s conftest.err'
21299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21300 (eval $ac_try) 2>&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); }; } &&
21304 { ac_try
='test -s conftest.$ac_objext'
21305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21306 (eval $ac_try) 2>&5
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); }; }; then
21310 ac_cv_sys_file_offset_bits
=64
21312 echo "$as_me: failed program was:" >&5
21313 sed 's/^/| /' conftest.
$ac_ext >&5
21315 ac_cv_sys_file_offset_bits
=no
21317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21321 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21322 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21324 if test "$ac_cv_sys_file_offset_bits" != no
; then
21326 cat >>confdefs.h
<<_ACEOF
21327 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21332 if test "x$wx_largefile" != "xyes"; then
21334 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21335 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21336 if test "${ac_cv_sys_large_files+set}" = set; then
21337 echo $ECHO_N "(cached) $ECHO_C" >&6
21340 cat >conftest.
$ac_ext <<_ACEOF
21343 cat confdefs.h
>>conftest.
$ac_ext
21344 cat >>conftest.
$ac_ext <<_ACEOF
21345 /* end confdefs.h. */
21346 #define _LARGE_FILES 1
21347 #include <sys/types.h>
21352 unsigned int field: sizeof(off_t) == 8;
21359 rm -f conftest.
$ac_objext
21360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21361 (eval $ac_compile) 2>conftest.er1
21363 grep -v '^ *+' conftest.er1
>conftest.err
21365 cat conftest.err
>&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } &&
21368 { ac_try
='test -z "$ac_c_werror_flag"
21369 || test ! -s conftest.err'
21370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21371 (eval $ac_try) 2>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); }; } &&
21375 { ac_try
='test -s conftest.$ac_objext'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 ac_cv_sys_large_files
=1
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.
$ac_ext >&5
21386 ac_cv_sys_large_files
=no
21388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21392 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21393 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21395 if test "$ac_cv_sys_large_files" != no
; then
21397 cat >>confdefs.h
<<_ACEOF
21398 #define _LARGE_FILES $ac_cv_sys_large_files
21405 echo "$as_me:$LINENO: checking if large file support is available" >&5
21406 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21407 if test "x$wx_largefile" = "xyes"; then
21408 cat >>confdefs.h
<<\_ACEOF
21409 #define HAVE_LARGEFILE_SUPPORT 1
21413 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21414 echo "${ECHO_T}$wx_largefile" >&6
21418 if test "x$wx_largefile" = "xyes"; then
21419 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21420 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21422 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21423 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21424 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21425 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21426 echo $ECHO_N "(cached) $ECHO_C" >&6
21432 ac_cpp
='$CXXCPP $CPPFLAGS'
21433 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21434 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21435 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21437 cat >conftest.
$ac_ext <<_ACEOF
21440 cat confdefs.h
>>conftest.
$ac_ext
21441 cat >>conftest.
$ac_ext <<_ACEOF
21442 /* end confdefs.h. */
21448 #ifndef __STDC_EXT__
21456 rm -f conftest.
$ac_objext
21457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21458 (eval $ac_compile) 2>conftest.er1
21460 grep -v '^ *+' conftest.er1
>conftest.err
21462 cat conftest.err
>&5
21463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21464 (exit $ac_status); } &&
21465 { ac_try
='test -z "$ac_cxx_werror_flag"
21466 || test ! -s conftest.err'
21467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21468 (eval $ac_try) 2>&5
21470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21471 (exit $ac_status); }; } &&
21472 { ac_try
='test -s conftest.$ac_objext'
21473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21474 (eval $ac_try) 2>&5
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); }; }; then
21478 wx_cv_STDC_EXT_required
=no
21480 echo "$as_me: failed program was:" >&5
21481 sed 's/^/| /' conftest.
$ac_ext >&5
21483 wx_cv_STDC_EXT_required
=yes
21486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21488 ac_cpp
='$CPP $CPPFLAGS'
21489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21496 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21497 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21498 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21499 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21503 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21505 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21506 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21507 if test "${ac_cv_sys_largefile_source+set}" = set; then
21508 echo $ECHO_N "(cached) $ECHO_C" >&6
21511 ac_cv_sys_largefile_source
=no
21512 cat >conftest.
$ac_ext <<_ACEOF
21515 cat confdefs.h
>>conftest.
$ac_ext
21516 cat >>conftest.
$ac_ext <<_ACEOF
21517 /* end confdefs.h. */
21527 rm -f conftest.
$ac_objext
21528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21529 (eval $ac_compile) 2>conftest.er1
21531 grep -v '^ *+' conftest.er1
>conftest.err
21533 cat conftest.err
>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); } &&
21536 { ac_try
='test -z "$ac_c_werror_flag"
21537 || test ! -s conftest.err'
21538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21539 (eval $ac_try) 2>&5
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); }; } &&
21543 { ac_try
='test -s conftest.$ac_objext'
21544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21545 (eval $ac_try) 2>&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); }; }; then
21551 echo "$as_me: failed program was:" >&5
21552 sed 's/^/| /' conftest.
$ac_ext >&5
21555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21556 cat >conftest.
$ac_ext <<_ACEOF
21559 cat confdefs.h
>>conftest.
$ac_ext
21560 cat >>conftest.
$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21562 #define _LARGEFILE_SOURCE 1
21572 rm -f conftest.
$ac_objext
21573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21574 (eval $ac_compile) 2>conftest.er1
21576 grep -v '^ *+' conftest.er1
>conftest.err
21578 cat conftest.err
>&5
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); } &&
21581 { ac_try
='test -z "$ac_c_werror_flag"
21582 || test ! -s conftest.err'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; } &&
21588 { ac_try
='test -s conftest.$ac_objext'
21589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21590 (eval $ac_try) 2>&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); }; }; then
21594 ac_cv_sys_largefile_source
=1; break
21596 echo "$as_me: failed program was:" >&5
21597 sed 's/^/| /' conftest.
$ac_ext >&5
21600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21604 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21605 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21606 if test "$ac_cv_sys_largefile_source" != no
; then
21608 cat >>confdefs.h
<<_ACEOF
21609 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21615 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21616 # in glibc 2.1.3, but that breaks too many other things.
21617 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21618 echo "$as_me:$LINENO: checking for fseeko" >&5
21619 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21620 if test "${ac_cv_func_fseeko+set}" = set; then
21621 echo $ECHO_N "(cached) $ECHO_C" >&6
21623 cat >conftest.
$ac_ext <<_ACEOF
21626 cat confdefs.h
>>conftest.
$ac_ext
21627 cat >>conftest.
$ac_ext <<_ACEOF
21628 /* end confdefs.h. */
21633 return fseeko && fseeko (stdin, 0, 0);
21638 rm -f conftest.
$ac_objext conftest
$ac_exeext
21639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21640 (eval $ac_link) 2>conftest.er1
21642 grep -v '^ *+' conftest.er1
>conftest.err
21644 cat conftest.err
>&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); } &&
21647 { ac_try
='test -z "$ac_c_werror_flag"
21648 || test ! -s conftest.err'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; } &&
21654 { ac_try
='test -s conftest$ac_exeext'
21655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656 (eval $ac_try) 2>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; }; then
21660 ac_cv_func_fseeko
=yes
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.
$ac_ext >&5
21665 ac_cv_func_fseeko
=no
21667 rm -f conftest.err conftest.
$ac_objext \
21668 conftest
$ac_exeext conftest.
$ac_ext
21670 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21671 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21672 if test $ac_cv_func_fseeko = yes; then
21674 cat >>confdefs.h
<<\_ACEOF
21675 #define HAVE_FSEEKO 1
21680 if test "$ac_cv_sys_largefile_source" != no
; then
21681 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21685 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21686 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21687 if test "${ac_cv_c_bigendian+set}" = set; then
21688 echo $ECHO_N "(cached) $ECHO_C" >&6
21690 ac_cv_c_bigendian
=unknown
21691 # See if sys/param.h defines the BYTE_ORDER macro.
21692 cat >conftest.
$ac_ext <<_ACEOF
21695 cat confdefs.h
>>conftest.
$ac_ext
21696 cat >>conftest.
$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 #include <sys/types.h>
21699 #include <sys/param.h>
21704 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21705 bogus endian macros
21711 rm -f conftest.
$ac_objext
21712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21713 (eval $ac_compile) 2>conftest.er1
21715 grep -v '^ *+' conftest.er1
>conftest.err
21717 cat conftest.err
>&5
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); } &&
21720 { ac_try
='test -z "$ac_c_werror_flag"
21721 || test ! -s conftest.err'
21722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21723 (eval $ac_try) 2>&5
21725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726 (exit $ac_status); }; } &&
21727 { ac_try
='test -s conftest.$ac_objext'
21728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21729 (eval $ac_try) 2>&5
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); }; }; then
21733 # It does; now see whether it defined to BIG_ENDIAN or not.
21734 cat >conftest.
$ac_ext <<_ACEOF
21737 cat confdefs.h
>>conftest.
$ac_ext
21738 cat >>conftest.
$ac_ext <<_ACEOF
21739 /* end confdefs.h. */
21740 #include <sys/types.h>
21741 #include <sys/param.h>
21746 #if BYTE_ORDER != BIG_ENDIAN
21753 rm -f conftest.
$ac_objext
21754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21755 (eval $ac_compile) 2>conftest.er1
21757 grep -v '^ *+' conftest.er1
>conftest.err
21759 cat conftest.err
>&5
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); } &&
21762 { ac_try
='test -z "$ac_c_werror_flag"
21763 || test ! -s conftest.err'
21764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21765 (eval $ac_try) 2>&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); }; } &&
21769 { ac_try
='test -s conftest.$ac_objext'
21770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21771 (eval $ac_try) 2>&5
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); }; }; then
21775 ac_cv_c_bigendian
=yes
21777 echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.
$ac_ext >&5
21780 ac_cv_c_bigendian
=no
21782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.
$ac_ext >&5
21788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21789 if test $ac_cv_c_bigendian = unknown
; then
21790 if test "$cross_compiling" = yes; then
21791 ac_cv_c_bigendian
=unknown
21793 cat >conftest.
$ac_ext <<_ACEOF
21796 cat confdefs.h
>>conftest.
$ac_ext
21797 cat >>conftest.
$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21800 /* Are we little or big endian? From Harbison&Steele. */
21804 char c[sizeof (long)];
21807 exit (u.c[sizeof (long) - 1] == 1);
21810 rm -f conftest
$ac_exeext
21811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21812 (eval $ac_link) 2>&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21817 (eval $ac_try) 2>&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); }; }; then
21821 ac_cv_c_bigendian
=no
21823 echo "$as_me: program exited with status $ac_status" >&5
21824 echo "$as_me: failed program was:" >&5
21825 sed 's/^/| /' conftest.
$ac_ext >&5
21827 ( exit $ac_status )
21828 ac_cv_c_bigendian
=yes
21830 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21834 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21835 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21836 if test $ac_cv_c_bigendian = unknown
; then
21837 { 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
21838 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;}
21840 if test $ac_cv_c_bigendian = yes; then
21841 cat >>confdefs.h
<<\_ACEOF
21842 #define WORDS_BIGENDIAN 1
21849 ac_cpp
='$CXXCPP $CPPFLAGS'
21850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21853 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21854 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21855 if test -z "$CXXCPP"; then
21856 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21857 echo $ECHO_N "(cached) $ECHO_C" >&6
21859 # Double quotes because CXXCPP needs to be expanded
21860 for CXXCPP
in "$CXX -E" "/lib/cpp"
21862 ac_preproc_ok
=false
21863 for ac_cxx_preproc_warn_flag
in '' yes
21865 # Use a header file that comes with gcc, so configuring glibc
21866 # with a fresh cross-compiler works.
21867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21868 # <limits.h> exists even on freestanding compilers.
21869 # On the NeXT, cc -E runs the code through the compiler's parser,
21870 # not just through cpp. "Syntax error" is here to catch this case.
21871 cat >conftest.
$ac_ext <<_ACEOF
21874 cat confdefs.h
>>conftest.
$ac_ext
21875 cat >>conftest.
$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21878 # include <limits.h>
21880 # include <assert.h>
21884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21885 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21887 grep -v '^ *+' conftest.er1
>conftest.err
21889 cat conftest.err
>&5
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21891 (exit $ac_status); } >/dev
/null
; then
21892 if test -s conftest.err
; then
21893 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21894 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21901 if test -z "$ac_cpp_err"; then
21904 echo "$as_me: failed program was:" >&5
21905 sed 's/^/| /' conftest.
$ac_ext >&5
21907 # Broken: fails on valid input.
21910 rm -f conftest.err conftest.
$ac_ext
21912 # OK, works on sane cases. Now check whether non-existent headers
21913 # can be detected and how.
21914 cat >conftest.
$ac_ext <<_ACEOF
21917 cat confdefs.h
>>conftest.
$ac_ext
21918 cat >>conftest.
$ac_ext <<_ACEOF
21919 /* end confdefs.h. */
21920 #include <ac_nonexistent.h>
21922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21923 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21925 grep -v '^ *+' conftest.er1
>conftest.err
21927 cat conftest.err
>&5
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); } >/dev
/null
; then
21930 if test -s conftest.err
; then
21931 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21932 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21939 if test -z "$ac_cpp_err"; then
21940 # Broken: success on invalid input.
21943 echo "$as_me: failed program was:" >&5
21944 sed 's/^/| /' conftest.
$ac_ext >&5
21946 # Passes both tests.
21950 rm -f conftest.err conftest.
$ac_ext
21953 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21954 rm -f conftest.err conftest.
$ac_ext
21955 if $ac_preproc_ok; then
21960 ac_cv_prog_CXXCPP
=$CXXCPP
21963 CXXCPP
=$ac_cv_prog_CXXCPP
21965 ac_cv_prog_CXXCPP
=$CXXCPP
21967 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21968 echo "${ECHO_T}$CXXCPP" >&6
21969 ac_preproc_ok
=false
21970 for ac_cxx_preproc_warn_flag
in '' yes
21972 # Use a header file that comes with gcc, so configuring glibc
21973 # with a fresh cross-compiler works.
21974 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21975 # <limits.h> exists even on freestanding compilers.
21976 # On the NeXT, cc -E runs the code through the compiler's parser,
21977 # not just through cpp. "Syntax error" is here to catch this case.
21978 cat >conftest.
$ac_ext <<_ACEOF
21981 cat confdefs.h
>>conftest.
$ac_ext
21982 cat >>conftest.
$ac_ext <<_ACEOF
21983 /* end confdefs.h. */
21985 # include <limits.h>
21987 # include <assert.h>
21991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21992 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21994 grep -v '^ *+' conftest.er1
>conftest.err
21996 cat conftest.err
>&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); } >/dev
/null
; then
21999 if test -s conftest.err
; then
22000 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22001 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22008 if test -z "$ac_cpp_err"; then
22011 echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.
$ac_ext >&5
22014 # Broken: fails on valid input.
22017 rm -f conftest.err conftest.
$ac_ext
22019 # OK, works on sane cases. Now check whether non-existent headers
22020 # can be detected and how.
22021 cat >conftest.
$ac_ext <<_ACEOF
22024 cat confdefs.h
>>conftest.
$ac_ext
22025 cat >>conftest.
$ac_ext <<_ACEOF
22026 /* end confdefs.h. */
22027 #include <ac_nonexistent.h>
22029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22030 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22032 grep -v '^ *+' conftest.er1
>conftest.err
22034 cat conftest.err
>&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); } >/dev
/null
; then
22037 if test -s conftest.err
; then
22038 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22039 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22046 if test -z "$ac_cpp_err"; then
22047 # Broken: success on invalid input.
22050 echo "$as_me: failed program was:" >&5
22051 sed 's/^/| /' conftest.
$ac_ext >&5
22053 # Passes both tests.
22057 rm -f conftest.err conftest.
$ac_ext
22060 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22061 rm -f conftest.err conftest.
$ac_ext
22062 if $ac_preproc_ok; then
22065 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22066 See \`config.log' for more details." >&5
22067 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22068 See \`config.log' for more details." >&2;}
22069 { (exit 1); exit 1; }; }
22073 ac_cpp
='$CXXCPP $CPPFLAGS'
22074 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22075 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22076 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22083 ac_cpp
='$CXXCPP $CPPFLAGS'
22084 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22085 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22086 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22090 for ac_header
in iostream
22092 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22094 echo "$as_me:$LINENO: checking for $ac_header" >&5
22095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22097 echo $ECHO_N "(cached) $ECHO_C" >&6
22099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22102 # Is the header compilable?
22103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22105 cat >conftest.
$ac_ext <<_ACEOF
22108 cat confdefs.h
>>conftest.
$ac_ext
22109 cat >>conftest.
$ac_ext <<_ACEOF
22110 /* end confdefs.h. */
22111 $ac_includes_default
22112 #include <$ac_header>
22114 rm -f conftest.
$ac_objext
22115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22116 (eval $ac_compile) 2>conftest.er1
22118 grep -v '^ *+' conftest.er1
>conftest.err
22120 cat conftest.err
>&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); } &&
22123 { ac_try
='test -z "$ac_cxx_werror_flag"
22124 || test ! -s conftest.err'
22125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22126 (eval $ac_try) 2>&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); }; } &&
22130 { ac_try
='test -s conftest.$ac_objext'
22131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22132 (eval $ac_try) 2>&5
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); }; }; then
22136 ac_header_compiler
=yes
22138 echo "$as_me: failed program was:" >&5
22139 sed 's/^/| /' conftest.
$ac_ext >&5
22141 ac_header_compiler
=no
22143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22144 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22145 echo "${ECHO_T}$ac_header_compiler" >&6
22147 # Is the header present?
22148 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22149 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22150 cat >conftest.
$ac_ext <<_ACEOF
22153 cat confdefs.h
>>conftest.
$ac_ext
22154 cat >>conftest.
$ac_ext <<_ACEOF
22155 /* end confdefs.h. */
22156 #include <$ac_header>
22158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22161 grep -v '^ *+' conftest.er1
>conftest.err
22163 cat conftest.err
>&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); } >/dev
/null
; then
22166 if test -s conftest.err
; then
22167 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22168 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22175 if test -z "$ac_cpp_err"; then
22176 ac_header_preproc
=yes
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.
$ac_ext >&5
22181 ac_header_preproc
=no
22183 rm -f conftest.err conftest.
$ac_ext
22184 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22185 echo "${ECHO_T}$ac_header_preproc" >&6
22187 # So? What about this header?
22188 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22190 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22191 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22193 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22194 ac_header_preproc
=yes
22197 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22198 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22199 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22200 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22201 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22202 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22203 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22204 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22207 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22208 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22211 ## ----------------------------------------- ##
22212 ## Report this to wx-dev@lists.wxwidgets.org ##
22213 ## ----------------------------------------- ##
22216 sed "s/^/$as_me: WARNING: /" >&2
22219 echo "$as_me:$LINENO: checking for $ac_header" >&5
22220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22222 echo $ECHO_N "(cached) $ECHO_C" >&6
22224 eval "$as_ac_Header=\$ac_header_preproc"
22226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22231 cat >>confdefs.h
<<_ACEOF
22232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22240 if test "$ac_cv_header_iostream" = "yes" ; then
22243 cat >>confdefs.h
<<\_ACEOF
22244 #define wxUSE_IOSTREAMH 1
22250 ac_cpp
='$CPP $CPPFLAGS'
22251 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22252 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22253 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22258 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22259 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22260 if test "${wx_cv_cpp_bool+set}" = set; then
22261 echo $ECHO_N "(cached) $ECHO_C" >&6
22267 ac_cpp
='$CXXCPP $CPPFLAGS'
22268 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22269 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22270 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22273 cat >conftest.
$ac_ext <<_ACEOF
22276 cat confdefs.h
>>conftest.
$ac_ext
22277 cat >>conftest.
$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22293 rm -f conftest.
$ac_objext
22294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22295 (eval $ac_compile) 2>conftest.er1
22297 grep -v '^ *+' conftest.er1
>conftest.err
22299 cat conftest.err
>&5
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); } &&
22302 { ac_try
='test -z "$ac_cxx_werror_flag"
22303 || test ! -s conftest.err'
22304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22305 (eval $ac_try) 2>&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); }; } &&
22309 { ac_try
='test -s conftest.$ac_objext'
22310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22311 (eval $ac_try) 2>&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); }; }; then
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.
$ac_ext >&5
22327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22330 ac_cpp
='$CPP $CPPFLAGS'
22331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22337 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22338 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22340 if test "$wx_cv_cpp_bool" = "yes"; then
22341 cat >>confdefs.h
<<\_ACEOF
22342 #define HAVE_BOOL 1
22349 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22350 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22351 if test "${wx_cv_explicit+set}" = set; then
22352 echo $ECHO_N "(cached) $ECHO_C" >&6
22358 ac_cpp
='$CXXCPP $CPPFLAGS'
22359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22364 cat >conftest.
$ac_ext <<_ACEOF
22367 cat confdefs.h
>>conftest.
$ac_ext
22368 cat >>conftest.
$ac_ext <<_ACEOF
22369 /* end confdefs.h. */
22371 class Foo { public: explicit Foo(int) {} };
22383 rm -f conftest.
$ac_objext
22384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22385 (eval $ac_compile) 2>conftest.er1
22387 grep -v '^ *+' conftest.er1
>conftest.err
22389 cat conftest.err
>&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); } &&
22392 { ac_try
='test -z "$ac_cxx_werror_flag"
22393 || test ! -s conftest.err'
22394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395 (eval $ac_try) 2>&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; } &&
22399 { ac_try
='test -s conftest.$ac_objext'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; }; then
22406 cat >conftest.
$ac_ext <<_ACEOF
22409 cat confdefs.h
>>conftest.
$ac_ext
22410 cat >>conftest.
$ac_ext <<_ACEOF
22411 /* end confdefs.h. */
22413 class Foo { public: explicit Foo(int) {} };
22414 static void TakeFoo(const Foo& foo) { }
22427 rm -f conftest.
$ac_objext
22428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22429 (eval $ac_compile) 2>conftest.er1
22431 grep -v '^ *+' conftest.er1
>conftest.err
22433 cat conftest.err
>&5
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); } &&
22436 { ac_try
='test -z "$ac_cxx_werror_flag"
22437 || test ! -s conftest.err'
22438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22439 (eval $ac_try) 2>&5
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); }; } &&
22443 { ac_try
='test -s conftest.$ac_objext'
22444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22445 (eval $ac_try) 2>&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); }; }; then
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.
$ac_ext >&5
22457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22460 echo "$as_me: failed program was:" >&5
22461 sed 's/^/| /' conftest.
$ac_ext >&5
22466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22469 ac_cpp
='$CPP $CPPFLAGS'
22470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22476 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22477 echo "${ECHO_T}$wx_cv_explicit" >&6
22479 if test "$wx_cv_explicit" = "yes"; then
22480 cat >>confdefs.h
<<\_ACEOF
22481 #define HAVE_EXPLICIT 1
22487 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22488 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22489 if test "${ac_cv_cxx_const_cast+set}" = set; then
22490 echo $ECHO_N "(cached) $ECHO_C" >&6
22495 ac_cpp
='$CXXCPP $CPPFLAGS'
22496 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22497 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22498 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22500 cat >conftest.
$ac_ext <<_ACEOF
22503 cat confdefs.h
>>conftest.
$ac_ext
22504 cat >>conftest.
$ac_ext <<_ACEOF
22505 /* end confdefs.h. */
22510 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22515 rm -f conftest.
$ac_objext
22516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22517 (eval $ac_compile) 2>conftest.er1
22519 grep -v '^ *+' conftest.er1
>conftest.err
22521 cat conftest.err
>&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } &&
22524 { ac_try
='test -z "$ac_cxx_werror_flag"
22525 || test ! -s conftest.err'
22526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22527 (eval $ac_try) 2>&5
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); }; } &&
22531 { ac_try
='test -s conftest.$ac_objext'
22532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22533 (eval $ac_try) 2>&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); }; }; then
22537 ac_cv_cxx_const_cast
=yes
22539 echo "$as_me: failed program was:" >&5
22540 sed 's/^/| /' conftest.
$ac_ext >&5
22542 ac_cv_cxx_const_cast
=no
22544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22546 ac_cpp
='$CPP $CPPFLAGS'
22547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22553 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22554 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22555 if test "$ac_cv_cxx_const_cast" = yes; then
22557 cat >>confdefs.h
<<\_ACEOF
22558 #define HAVE_CONST_CAST
22563 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22564 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22565 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22566 echo $ECHO_N "(cached) $ECHO_C" >&6
22571 ac_cpp
='$CXXCPP $CPPFLAGS'
22572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22576 cat >conftest.
$ac_ext <<_ACEOF
22579 cat confdefs.h
>>conftest.
$ac_ext
22580 cat >>conftest.
$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 #include <typeinfo>
22583 class Base { public : Base () {} virtual void f () = 0;};
22584 class Derived : public Base { public : Derived () {} virtual void f () {} };
22585 class Unrelated { public : Unrelated () {} };
22586 int g (Unrelated&) { return 0; }
22591 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22596 rm -f conftest.
$ac_objext
22597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22598 (eval $ac_compile) 2>conftest.er1
22600 grep -v '^ *+' conftest.er1
>conftest.err
22602 cat conftest.err
>&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); } &&
22605 { ac_try
='test -z "$ac_cxx_werror_flag"
22606 || test ! -s conftest.err'
22607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22608 (eval $ac_try) 2>&5
22610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611 (exit $ac_status); }; } &&
22612 { ac_try
='test -s conftest.$ac_objext'
22613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614 (eval $ac_try) 2>&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); }; }; then
22618 ac_cv_cxx_reinterpret_cast
=yes
22620 echo "$as_me: failed program was:" >&5
22621 sed 's/^/| /' conftest.
$ac_ext >&5
22623 ac_cv_cxx_reinterpret_cast
=no
22625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22627 ac_cpp
='$CPP $CPPFLAGS'
22628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22634 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22635 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22636 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22638 cat >>confdefs.h
<<\_ACEOF
22639 #define HAVE_REINTERPRET_CAST
22644 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22645 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22646 if test "${ac_cv_cxx_static_cast+set}" = set; then
22647 echo $ECHO_N "(cached) $ECHO_C" >&6
22652 ac_cpp
='$CXXCPP $CPPFLAGS'
22653 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22654 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22655 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22657 cat >conftest.
$ac_ext <<_ACEOF
22660 cat confdefs.h
>>conftest.
$ac_ext
22661 cat >>conftest.
$ac_ext <<_ACEOF
22662 /* end confdefs.h. */
22663 #include <typeinfo>
22664 class Base { public : Base () {} virtual void f () = 0; };
22665 class Derived : public Base { public : Derived () {} virtual void f () {} };
22666 int g (Derived&) { return 0; }
22671 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22676 rm -f conftest.
$ac_objext
22677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22678 (eval $ac_compile) 2>conftest.er1
22680 grep -v '^ *+' conftest.er1
>conftest.err
22682 cat conftest.err
>&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } &&
22685 { ac_try
='test -z "$ac_cxx_werror_flag"
22686 || test ! -s conftest.err'
22687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22688 (eval $ac_try) 2>&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); }; } &&
22692 { ac_try
='test -s conftest.$ac_objext'
22693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22694 (eval $ac_try) 2>&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); }; }; then
22698 ac_cv_cxx_static_cast
=yes
22700 echo "$as_me: failed program was:" >&5
22701 sed 's/^/| /' conftest.
$ac_ext >&5
22703 ac_cv_cxx_static_cast
=no
22705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22707 ac_cpp
='$CPP $CPPFLAGS'
22708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22714 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22715 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22716 if test "$ac_cv_cxx_static_cast" = yes; then
22718 cat >>confdefs.h
<<\_ACEOF
22719 #define HAVE_STATIC_CAST
22725 if test "x$SUNCXX" = xyes
; then
22726 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22729 if test "x$SUNCC" = xyes
; then
22730 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22733 if test "x$SGICC" = "xyes"; then
22734 CFLAGS
="-woff 3970 $CFLAGS"
22736 if test "x$SGICXX" = "xyes"; then
22737 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22740 if test "x$HPCC" = "xyes"; then
22741 CFLAGS
="+W 2011,2450 $CFLAGS"
22743 if test "x$HPCXX" = "xyes"; then
22744 CXXFLAGS
="+W 2340 $CXXFLAGS"
22747 if test "x$COMPAQCXX" = "xyes"; then
22748 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22751 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22753 ac_cpp
='$CXXCPP $CPPFLAGS'
22754 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22755 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22756 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22759 if test "$wxUSE_UNICODE" = "yes"; then
22760 std_string
="std::wstring"
22761 char_type
="wchar_t"
22763 std_string
="std::string"
22767 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22768 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22769 cat >conftest.
$ac_ext <<_ACEOF
22772 cat confdefs.h
>>conftest.
$ac_ext
22773 cat >>conftest.
$ac_ext <<_ACEOF
22774 /* end confdefs.h. */
22784 rm -f conftest.
$ac_objext
22785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22786 (eval $ac_compile) 2>conftest.er1
22788 grep -v '^ *+' conftest.er1
>conftest.err
22790 cat conftest.err
>&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); } &&
22793 { ac_try
='test -z "$ac_cxx_werror_flag"
22794 || test ! -s conftest.err'
22795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22796 (eval $ac_try) 2>&5
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); }; } &&
22800 { ac_try
='test -s conftest.$ac_objext'
22801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22802 (eval $ac_try) 2>&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); }; }; then
22806 echo "$as_me:$LINENO: result: yes" >&5
22807 echo "${ECHO_T}yes" >&6
22808 cat >>confdefs.h
<<\_ACEOF
22809 #define HAVE_STD_WSTRING 1
22813 echo "$as_me: failed program was:" >&5
22814 sed 's/^/| /' conftest.
$ac_ext >&5
22816 echo "$as_me:$LINENO: result: no" >&5
22817 echo "${ECHO_T}no" >&6
22818 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22819 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22820 cat >conftest.
$ac_ext <<_ACEOF
22823 cat confdefs.h
>>conftest.
$ac_ext
22824 cat >>conftest.
$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22827 #ifdef HAVE_WCHAR_H
22829 # include <stddef.h>
22831 # include <wchar.h>
22833 #ifdef HAVE_STDLIB_H
22834 # include <stdlib.h>
22842 std::basic_string<$char_type> foo;
22843 const $char_type* dummy = foo.c_str();
22848 rm -f conftest.
$ac_objext
22849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22850 (eval $ac_compile) 2>conftest.er1
22852 grep -v '^ *+' conftest.er1
>conftest.err
22854 cat conftest.err
>&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); } &&
22857 { ac_try
='test -z "$ac_cxx_werror_flag"
22858 || test ! -s conftest.err'
22859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22860 (eval $ac_try) 2>&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); }; } &&
22864 { ac_try
='test -s conftest.$ac_objext'
22865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22866 (eval $ac_try) 2>&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); }; }; then
22870 echo "$as_me:$LINENO: result: yes" >&5
22871 echo "${ECHO_T}yes" >&6
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.
$ac_ext >&5
22876 echo "$as_me:$LINENO: result: no" >&5
22877 echo "${ECHO_T}no" >&6
22878 if test "$wxUSE_STL" = "yes"; then
22879 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22880 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22881 { (exit 1); exit 1; }; }
22882 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22883 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22884 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22885 { (exit 1); exit 1; }; }
22887 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22888 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22889 wxUSE_STD_STRING
=no
22894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22900 ac_cpp
='$CPP $CPPFLAGS'
22901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22907 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22909 ac_cpp
='$CXXCPP $CPPFLAGS'
22910 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22915 echo "$as_me:$LINENO: checking for std::istream" >&5
22916 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22917 if test "${ac_cv_type_std__istream+set}" = set; then
22918 echo $ECHO_N "(cached) $ECHO_C" >&6
22920 cat >conftest.
$ac_ext <<_ACEOF
22923 cat confdefs.h
>>conftest.
$ac_ext
22924 cat >>conftest.
$ac_ext <<_ACEOF
22925 /* end confdefs.h. */
22926 #include <iostream>
22931 if ((std::istream *) 0)
22933 if (sizeof (std::istream))
22939 rm -f conftest.
$ac_objext
22940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22941 (eval $ac_compile) 2>conftest.er1
22943 grep -v '^ *+' conftest.er1
>conftest.err
22945 cat conftest.err
>&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); } &&
22948 { ac_try
='test -z "$ac_cxx_werror_flag"
22949 || test ! -s conftest.err'
22950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951 (eval $ac_try) 2>&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); }; } &&
22955 { ac_try
='test -s conftest.$ac_objext'
22956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22957 (eval $ac_try) 2>&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); }; }; then
22961 ac_cv_type_std__istream
=yes
22963 echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.
$ac_ext >&5
22966 ac_cv_type_std__istream
=no
22968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22970 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22971 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22972 if test $ac_cv_type_std__istream = yes; then
22974 cat >>confdefs.h
<<_ACEOF
22975 #define HAVE_STD__ISTREAM 1
22980 wxUSE_STD_IOSTREAM
=no
22982 echo "$as_me:$LINENO: checking for std::ostream" >&5
22983 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22984 if test "${ac_cv_type_std__ostream+set}" = set; then
22985 echo $ECHO_N "(cached) $ECHO_C" >&6
22987 cat >conftest.
$ac_ext <<_ACEOF
22990 cat confdefs.h
>>conftest.
$ac_ext
22991 cat >>conftest.
$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22993 #include <iostream>
22998 if ((std::ostream *) 0)
23000 if (sizeof (std::ostream))
23006 rm -f conftest.
$ac_objext
23007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23008 (eval $ac_compile) 2>conftest.er1
23010 grep -v '^ *+' conftest.er1
>conftest.err
23012 cat conftest.err
>&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } &&
23015 { ac_try
='test -z "$ac_cxx_werror_flag"
23016 || test ! -s conftest.err'
23017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23018 (eval $ac_try) 2>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; } &&
23022 { ac_try
='test -s conftest.$ac_objext'
23023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23024 (eval $ac_try) 2>&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); }; }; then
23028 ac_cv_type_std__ostream
=yes
23030 echo "$as_me: failed program was:" >&5
23031 sed 's/^/| /' conftest.
$ac_ext >&5
23033 ac_cv_type_std__ostream
=no
23035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23037 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23038 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23039 if test $ac_cv_type_std__ostream = yes; then
23041 cat >>confdefs.h
<<_ACEOF
23042 #define HAVE_STD__OSTREAM 1
23047 wxUSE_STD_IOSTREAM
=no
23051 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23052 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23053 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23054 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23055 { (exit 1); exit 1; }; }
23057 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23058 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23063 ac_cpp
='$CPP $CPPFLAGS'
23064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23070 if test "$wxUSE_STL" = "yes"; then
23072 ac_cpp
='$CXXCPP $CPPFLAGS'
23073 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23074 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23075 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23078 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23079 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23080 cat >conftest.
$ac_ext <<_ACEOF
23083 cat confdefs.h
>>conftest.
$ac_ext
23084 cat >>conftest.
$ac_ext <<_ACEOF
23085 /* end confdefs.h. */
23087 #include <functional>
23088 #include <algorithm>
23094 std::vector<int> moo;
23095 std::list<int> foo;
23096 std::vector<int>::iterator it =
23097 std::find_if(moo.begin(), moo.end(),
23098 std::bind2nd(std::less<int>(), 3));
23103 rm -f conftest.
$ac_objext
23104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23105 (eval $ac_compile) 2>conftest.er1
23107 grep -v '^ *+' conftest.er1
>conftest.err
23109 cat conftest.err
>&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); } &&
23112 { ac_try
='test -z "$ac_cxx_werror_flag"
23113 || test ! -s conftest.err'
23114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23115 (eval $ac_try) 2>&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); }; } &&
23119 { ac_try
='test -s conftest.$ac_objext'
23120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23121 (eval $ac_try) 2>&5
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); }; }; then
23125 echo "$as_me:$LINENO: result: yes" >&5
23126 echo "${ECHO_T}yes" >&6
23128 echo "$as_me: failed program was:" >&5
23129 sed 's/^/| /' conftest.
$ac_ext >&5
23131 echo "$as_me:$LINENO: result: no" >&5
23132 echo "${ECHO_T}no" >&6
23133 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23134 echo "$as_me: error: Basic STL functionality missing" >&2;}
23135 { (exit 1); exit 1; }; }
23137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23139 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23140 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23141 cat >conftest.
$ac_ext <<_ACEOF
23144 cat confdefs.h
>>conftest.
$ac_ext
23145 cat >>conftest.
$ac_ext <<_ACEOF
23146 /* end confdefs.h. */
23151 std::string foo, bar;
23153 foo.compare(1, 1, bar);
23154 foo.compare(1, 1, bar, 1, 1);
23156 foo.compare(1, 1, "");
23157 foo.compare(1, 1, "", 2);
23162 rm -f conftest.
$ac_objext
23163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23164 (eval $ac_compile) 2>conftest.er1
23166 grep -v '^ *+' conftest.er1
>conftest.err
23168 cat conftest.err
>&5
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); } &&
23171 { ac_try
='test -z "$ac_cxx_werror_flag"
23172 || test ! -s conftest.err'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; } &&
23178 { ac_try
='test -s conftest.$ac_objext'
23179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23180 (eval $ac_try) 2>&5
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); }; }; then
23184 echo "$as_me:$LINENO: result: yes" >&5
23185 echo "${ECHO_T}yes" >&6
23186 cat >>confdefs.h
<<\_ACEOF
23187 #define HAVE_STD_STRING_COMPARE 1
23191 echo "$as_me: failed program was:" >&5
23192 sed 's/^/| /' conftest.
$ac_ext >&5
23194 echo "$as_me:$LINENO: result: no" >&5
23195 echo "${ECHO_T}no" >&6
23197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23199 if test "${ac_cv_header_hash_map+set}" = set; then
23200 echo "$as_me:$LINENO: checking for hash_map" >&5
23201 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23202 if test "${ac_cv_header_hash_map+set}" = set; then
23203 echo $ECHO_N "(cached) $ECHO_C" >&6
23205 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23206 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23208 # Is the header compilable?
23209 echo "$as_me:$LINENO: checking hash_map usability" >&5
23210 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23211 cat >conftest.
$ac_ext <<_ACEOF
23214 cat confdefs.h
>>conftest.
$ac_ext
23215 cat >>conftest.
$ac_ext <<_ACEOF
23216 /* end confdefs.h. */
23217 $ac_includes_default
23218 #include <hash_map>
23220 rm -f conftest.
$ac_objext
23221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23222 (eval $ac_compile) 2>conftest.er1
23224 grep -v '^ *+' conftest.er1
>conftest.err
23226 cat conftest.err
>&5
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); } &&
23229 { ac_try
='test -z "$ac_cxx_werror_flag"
23230 || test ! -s conftest.err'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; } &&
23236 { ac_try
='test -s conftest.$ac_objext'
23237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238 (eval $ac_try) 2>&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; }; then
23242 ac_header_compiler
=yes
23244 echo "$as_me: failed program was:" >&5
23245 sed 's/^/| /' conftest.
$ac_ext >&5
23247 ac_header_compiler
=no
23249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23250 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23251 echo "${ECHO_T}$ac_header_compiler" >&6
23253 # Is the header present?
23254 echo "$as_me:$LINENO: checking hash_map presence" >&5
23255 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23256 cat >conftest.
$ac_ext <<_ACEOF
23259 cat confdefs.h
>>conftest.
$ac_ext
23260 cat >>conftest.
$ac_ext <<_ACEOF
23261 /* end confdefs.h. */
23262 #include <hash_map>
23264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23265 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23267 grep -v '^ *+' conftest.er1
>conftest.err
23269 cat conftest.err
>&5
23270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23271 (exit $ac_status); } >/dev
/null
; then
23272 if test -s conftest.err
; then
23273 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23274 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23281 if test -z "$ac_cpp_err"; then
23282 ac_header_preproc
=yes
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.
$ac_ext >&5
23287 ac_header_preproc
=no
23289 rm -f conftest.err conftest.
$ac_ext
23290 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23291 echo "${ECHO_T}$ac_header_preproc" >&6
23293 # So? What about this header?
23294 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23296 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23297 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23298 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23299 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23300 ac_header_preproc
=yes
23303 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23304 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23305 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23306 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23307 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23308 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23309 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23310 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23311 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23312 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23313 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23314 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23317 ## ----------------------------------------- ##
23318 ## Report this to wx-dev@lists.wxwidgets.org ##
23319 ## ----------------------------------------- ##
23322 sed "s/^/$as_me: WARNING: /" >&2
23325 echo "$as_me:$LINENO: checking for hash_map" >&5
23326 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23327 if test "${ac_cv_header_hash_map+set}" = set; then
23328 echo $ECHO_N "(cached) $ECHO_C" >&6
23330 ac_cv_header_hash_map
=$ac_header_preproc
23332 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23333 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23336 if test $ac_cv_header_hash_map = yes; then
23337 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23338 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23339 cat >conftest.
$ac_ext <<_ACEOF
23342 cat confdefs.h
>>conftest.
$ac_ext
23343 cat >>conftest.
$ac_ext <<_ACEOF
23344 /* end confdefs.h. */
23345 #include <hash_map>
23346 #include <hash_set>
23350 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23351 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23356 rm -f conftest.
$ac_objext
23357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23358 (eval $ac_compile) 2>conftest.er1
23360 grep -v '^ *+' conftest.er1
>conftest.err
23362 cat conftest.err
>&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); } &&
23365 { ac_try
='test -z "$ac_cxx_werror_flag"
23366 || test ! -s conftest.err'
23367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23368 (eval $ac_try) 2>&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); }; } &&
23372 { ac_try
='test -s conftest.$ac_objext'
23373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23374 (eval $ac_try) 2>&5
23376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377 (exit $ac_status); }; }; then
23378 echo "$as_me:$LINENO: result: yes" >&5
23379 echo "${ECHO_T}yes" >&6
23380 cat >>confdefs.h
<<\_ACEOF
23381 #define HAVE_HASH_MAP 1
23384 cat >>confdefs.h
<<\_ACEOF
23385 #define HAVE_STD_HASH_MAP 1
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.
$ac_ext >&5
23392 echo "$as_me:$LINENO: result: no" >&5
23393 echo "${ECHO_T}no" >&6
23395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23401 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23402 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23403 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23404 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23405 echo $ECHO_N "(cached) $ECHO_C" >&6
23407 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23408 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23410 # Is the header compilable?
23411 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23412 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23413 cat >conftest.
$ac_ext <<_ACEOF
23416 cat confdefs.h
>>conftest.
$ac_ext
23417 cat >>conftest.
$ac_ext <<_ACEOF
23418 /* end confdefs.h. */
23419 $ac_includes_default
23420 #include <ext/hash_map>
23422 rm -f conftest.
$ac_objext
23423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23424 (eval $ac_compile) 2>conftest.er1
23426 grep -v '^ *+' conftest.er1
>conftest.err
23428 cat conftest.err
>&5
23429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430 (exit $ac_status); } &&
23431 { ac_try
='test -z "$ac_cxx_werror_flag"
23432 || test ! -s conftest.err'
23433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23434 (eval $ac_try) 2>&5
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); }; } &&
23438 { ac_try
='test -s conftest.$ac_objext'
23439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440 (eval $ac_try) 2>&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); }; }; then
23444 ac_header_compiler
=yes
23446 echo "$as_me: failed program was:" >&5
23447 sed 's/^/| /' conftest.
$ac_ext >&5
23449 ac_header_compiler
=no
23451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23452 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23453 echo "${ECHO_T}$ac_header_compiler" >&6
23455 # Is the header present?
23456 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23457 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23458 cat >conftest.
$ac_ext <<_ACEOF
23461 cat confdefs.h
>>conftest.
$ac_ext
23462 cat >>conftest.
$ac_ext <<_ACEOF
23463 /* end confdefs.h. */
23464 #include <ext/hash_map>
23466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23467 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23469 grep -v '^ *+' conftest.er1
>conftest.err
23471 cat conftest.err
>&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); } >/dev
/null
; then
23474 if test -s conftest.err
; then
23475 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23476 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23483 if test -z "$ac_cpp_err"; then
23484 ac_header_preproc
=yes
23486 echo "$as_me: failed program was:" >&5
23487 sed 's/^/| /' conftest.
$ac_ext >&5
23489 ac_header_preproc
=no
23491 rm -f conftest.err conftest.
$ac_ext
23492 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23493 echo "${ECHO_T}$ac_header_preproc" >&6
23495 # So? What about this header?
23496 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23498 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23499 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23500 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23501 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23502 ac_header_preproc
=yes
23505 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23506 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23507 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23508 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23509 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23510 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23511 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23512 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23513 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23514 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23515 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23516 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23519 ## ----------------------------------------- ##
23520 ## Report this to wx-dev@lists.wxwidgets.org ##
23521 ## ----------------------------------------- ##
23524 sed "s/^/$as_me: WARNING: /" >&2
23527 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23528 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23529 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23530 echo $ECHO_N "(cached) $ECHO_C" >&6
23532 ac_cv_header_ext_hash_map
=$ac_header_preproc
23534 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23535 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23538 if test $ac_cv_header_ext_hash_map = yes; then
23539 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23540 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23541 cat >conftest.
$ac_ext <<_ACEOF
23544 cat confdefs.h
>>conftest.
$ac_ext
23545 cat >>conftest.
$ac_ext <<_ACEOF
23546 /* end confdefs.h. */
23547 #include <ext/hash_map>
23548 #include <ext/hash_set>
23552 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23553 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23558 rm -f conftest.
$ac_objext
23559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23560 (eval $ac_compile) 2>conftest.er1
23562 grep -v '^ *+' conftest.er1
>conftest.err
23564 cat conftest.err
>&5
23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); } &&
23567 { ac_try
='test -z "$ac_cxx_werror_flag"
23568 || test ! -s conftest.err'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; } &&
23574 { ac_try
='test -s conftest.$ac_objext'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; }; then
23580 echo "$as_me:$LINENO: result: yes" >&5
23581 echo "${ECHO_T}yes" >&6
23582 cat >>confdefs.h
<<\_ACEOF
23583 #define HAVE_EXT_HASH_MAP 1
23586 cat >>confdefs.h
<<\_ACEOF
23587 #define HAVE_GNU_CXX_HASH_MAP 1
23591 echo "$as_me: failed program was:" >&5
23592 sed 's/^/| /' conftest.
$ac_ext >&5
23594 echo "$as_me:$LINENO: result: no" >&5
23595 echo "${ECHO_T}no" >&6
23597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23604 ac_cpp
='$CPP $CPPFLAGS'
23605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23613 /usr/local/include \
23615 /usr/Motif-2.1/include \
23616 /usr/Motif-1.2/include \
23617 /usr/include/Motif1.2 \
23620 /usr/openwin/include \
23624 /usr/X11R6/include \
23625 /usr/X11R6.4/include \
23626 /usr/X11R5/include \
23627 /usr/X11R4/include \
23629 /usr/include/X11R6 \
23630 /usr/include/X11R5 \
23631 /usr/include/X11R4 \
23633 /usr/local/X11R6/include \
23634 /usr/local/X11R5/include \
23635 /usr/local/X11R4/include \
23637 /usr/local/include/X11R6 \
23638 /usr/local/include/X11R5 \
23639 /usr/local/include/X11R4 \
23643 /usr/local/X11/include \
23644 /usr/local/include/X11 \
23646 /usr/XFree86/include/X11 \
23649 /usr/openwin/share/include"
23651 echo "$as_me:$LINENO: checking for libraries directory" >&5
23652 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23656 if test "${wx_cv_std_libpath+set}" = set; then
23657 echo $ECHO_N "(cached) $ECHO_C" >&6
23660 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23661 for e
in a so sl dylib dll.a
; do
23663 if test -f $libc; then
23666 cat >conftest.
$ac_ext <<_ACEOF
23667 int main() { return 0; }
23669 rm -f conftest.
$ac_objext conftest
$ac_exeext
23670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23671 (eval $ac_link) 2>conftest.er1
23673 grep -v '^ *+' conftest.er1
>conftest.err
23675 cat conftest.err
>&5
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); } &&
23678 { ac_try
='test -z "$ac_c_werror_flag"
23679 || test ! -s conftest.err'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; } &&
23685 { ac_try
='test -s conftest$ac_exeext'
23686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23687 (eval $ac_try) 2>&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); }; }; then
23691 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23693 echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.
$ac_ext >&5
23697 rm -f conftest.err conftest.
$ac_objext \
23698 conftest
$ac_exeext conftest.
$ac_ext
23700 if test "x$wx_cv_std_libpath" != "x"; then
23706 if test "x$wx_cv_std_libpath" = "x"; then
23707 wx_cv_std_libpath
="lib"
23716 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23717 wx_cv_std_libpath
="lib/64"
23719 wx_cv_std_libpath
="lib"
23724 if test "$ac_cv_sizeof_void_p" = 8 -a \
23725 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23726 wx_cv_std_libpath
="lib64"
23728 wx_cv_std_libpath
="lib"
23733 wx_cv_std_libpath
="lib";
23737 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23738 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23740 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23742 if test "$build" != "$host" -a "$GCC" = yes; then
23743 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23744 cross_root
=`dirname $cross_root`
23745 cross_root
=`dirname $cross_root`
23747 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23748 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23749 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23751 if test -z "$PKG_CONFIG_PATH"; then
23752 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23753 export PKG_CONFIG_PATH
23756 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23759 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23761 if test -f "$ac_dir/X11/Intrinsic.h"; then
23762 ac_find_includes
=$ac_dir
23767 x_includes
=$ac_find_includes
23769 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23772 for ac_dir
in $SEARCH_LIB;
23774 for ac_extension
in a so sl dylib dll.a
; do
23775 if test -f "$ac_dir/libXt.$ac_extension"; then
23776 ac_find_libraries
=$ac_dir
23782 x_libraries
=$ac_find_libraries
23788 cat >confcache
<<\_ACEOF
23789 # This file is a shell script that caches the results of configure
23790 # tests run on this system so they can be shared between configure
23791 # scripts and configure runs, see configure's option --config-cache.
23792 # It is not useful on other systems. If it contains results you don't
23793 # want to keep, you may remove or edit it.
23795 # config.status only pays attention to the cache file if you give it
23796 # the --recheck option to rerun configure.
23798 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23799 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23800 # following values.
23804 # The following way of writing the cache mishandles newlines in values,
23805 # but we know of no workaround that is simple, portable, and efficient.
23806 # So, don't put newlines in cache variables' values.
23807 # Ultrix sh set writes to stderr and can't be redirected directly,
23808 # and sets the high bit in the cache file unless we assign to the vars.
23811 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23813 # `set' does not quote correctly, so add quotes (double-quote
23814 # substitution turns \\\\ into \\, and sed turns \\ into \).
23817 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23820 # `set' quotes correctly as required by POSIX, so do not add quotes.
23822 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23829 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23831 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23833 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23834 if test -w $cache_file; then
23835 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23836 cat confcache
>$cache_file
23838 echo "not updating unwritable cache $cache_file"
23843 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23844 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23845 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23846 if test "${wx_cv_lib_glibc21+set}" = set; then
23847 echo $ECHO_N "(cached) $ECHO_C" >&6
23850 cat >conftest.
$ac_ext <<_ACEOF
23853 cat confdefs.h
>>conftest.
$ac_ext
23854 cat >>conftest.
$ac_ext <<_ACEOF
23855 /* end confdefs.h. */
23856 #include <features.h>
23861 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23869 rm -f conftest.
$ac_objext
23870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23871 (eval $ac_compile) 2>conftest.er1
23873 grep -v '^ *+' conftest.er1
>conftest.err
23875 cat conftest.err
>&5
23876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23877 (exit $ac_status); } &&
23878 { ac_try
='test -z "$ac_c_werror_flag"
23879 || test ! -s conftest.err'
23880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23881 (eval $ac_try) 2>&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); }; } &&
23885 { ac_try
='test -s conftest.$ac_objext'
23886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; }; then
23892 wx_cv_lib_glibc21
=yes
23895 echo "$as_me: failed program was:" >&5
23896 sed 's/^/| /' conftest.
$ac_ext >&5
23899 wx_cv_lib_glibc21
=no
23903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23906 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23907 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23908 if test "$wx_cv_lib_glibc21" = "yes"; then
23909 cat >>confdefs.h
<<\_ACEOF
23910 #define wxHAVE_GLIBC2 1
23916 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23917 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23918 cat >>confdefs.h
<<\_ACEOF
23919 #define _GNU_SOURCE 1
23927 if test "$wxUSE_REGEX" != "no"; then
23928 cat >>confdefs.h
<<\_ACEOF
23929 #define wxUSE_REGEX 1
23933 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23934 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23935 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23936 wxUSE_REGEX
=builtin
23939 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23940 if test "${ac_cv_header_regex_h+set}" = set; then
23941 echo "$as_me:$LINENO: checking for regex.h" >&5
23942 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23943 if test "${ac_cv_header_regex_h+set}" = set; then
23944 echo $ECHO_N "(cached) $ECHO_C" >&6
23946 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23947 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23949 # Is the header compilable?
23950 echo "$as_me:$LINENO: checking regex.h usability" >&5
23951 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23952 cat >conftest.
$ac_ext <<_ACEOF
23955 cat confdefs.h
>>conftest.
$ac_ext
23956 cat >>conftest.
$ac_ext <<_ACEOF
23957 /* end confdefs.h. */
23958 $ac_includes_default
23961 rm -f conftest.
$ac_objext
23962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23963 (eval $ac_compile) 2>conftest.er1
23965 grep -v '^ *+' conftest.er1
>conftest.err
23967 cat conftest.err
>&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); } &&
23970 { ac_try
='test -z "$ac_c_werror_flag"
23971 || test ! -s conftest.err'
23972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23973 (eval $ac_try) 2>&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); }; } &&
23977 { ac_try
='test -s conftest.$ac_objext'
23978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23979 (eval $ac_try) 2>&5
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); }; }; then
23983 ac_header_compiler
=yes
23985 echo "$as_me: failed program was:" >&5
23986 sed 's/^/| /' conftest.
$ac_ext >&5
23988 ac_header_compiler
=no
23990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23992 echo "${ECHO_T}$ac_header_compiler" >&6
23994 # Is the header present?
23995 echo "$as_me:$LINENO: checking regex.h presence" >&5
23996 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23997 cat >conftest.
$ac_ext <<_ACEOF
24000 cat confdefs.h
>>conftest.
$ac_ext
24001 cat >>conftest.
$ac_ext <<_ACEOF
24002 /* end confdefs.h. */
24005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24008 grep -v '^ *+' conftest.er1
>conftest.err
24010 cat conftest.err
>&5
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); } >/dev
/null
; then
24013 if test -s conftest.err
; then
24014 ac_cpp_err
=$ac_c_preproc_warn_flag
24015 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24022 if test -z "$ac_cpp_err"; then
24023 ac_header_preproc
=yes
24025 echo "$as_me: failed program was:" >&5
24026 sed 's/^/| /' conftest.
$ac_ext >&5
24028 ac_header_preproc
=no
24030 rm -f conftest.err conftest.
$ac_ext
24031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24032 echo "${ECHO_T}$ac_header_preproc" >&6
24034 # So? What about this header?
24035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24037 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24038 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24039 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24040 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24041 ac_header_preproc
=yes
24044 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24045 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24046 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24047 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24048 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24049 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24050 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24051 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24052 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24053 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24054 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24055 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24058 ## ----------------------------------------- ##
24059 ## Report this to wx-dev@lists.wxwidgets.org ##
24060 ## ----------------------------------------- ##
24063 sed "s/^/$as_me: WARNING: /" >&2
24066 echo "$as_me:$LINENO: checking for regex.h" >&5
24067 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24068 if test "${ac_cv_header_regex_h+set}" = set; then
24069 echo $ECHO_N "(cached) $ECHO_C" >&6
24071 ac_cv_header_regex_h
=$ac_header_preproc
24073 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24074 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24077 if test $ac_cv_header_regex_h = yes; then
24080 for ac_func
in regcomp re_search
24082 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24083 echo "$as_me:$LINENO: checking for $ac_func" >&5
24084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24085 if eval "test \"\${$as_ac_var+set}\" = set"; then
24086 echo $ECHO_N "(cached) $ECHO_C" >&6
24088 cat >conftest.
$ac_ext <<_ACEOF
24091 cat confdefs.h
>>conftest.
$ac_ext
24092 cat >>conftest.
$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24096 #define $ac_func innocuous_$ac_func
24098 /* System header to define __stub macros and hopefully few prototypes,
24099 which can conflict with char $ac_func (); below.
24100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24101 <limits.h> exists even on freestanding compilers. */
24104 # include <limits.h>
24106 # include <assert.h>
24111 /* Override any gcc2 internal prototype to avoid an error. */
24116 /* We use char because int might match the return type of a gcc2
24117 builtin and then its argument prototype would still apply. */
24119 /* The GNU C library defines this for functions which it implements
24120 to always fail with ENOSYS. Some functions are actually named
24121 something starting with __ and the normal name is an alias. */
24122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24125 char (*f) () = $ac_func;
24134 return f != $ac_func;
24139 rm -f conftest.
$ac_objext conftest
$ac_exeext
24140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24141 (eval $ac_link) 2>conftest.er1
24143 grep -v '^ *+' conftest.er1
>conftest.err
24145 cat conftest.err
>&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } &&
24148 { ac_try
='test -z "$ac_c_werror_flag"
24149 || test ! -s conftest.err'
24150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24151 (eval $ac_try) 2>&5
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); }; } &&
24155 { ac_try
='test -s conftest$ac_exeext'
24156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24157 (eval $ac_try) 2>&5
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); }; }; then
24161 eval "$as_ac_var=yes"
24163 echo "$as_me: failed program was:" >&5
24164 sed 's/^/| /' conftest.
$ac_ext >&5
24166 eval "$as_ac_var=no"
24168 rm -f conftest.err conftest.
$ac_objext \
24169 conftest
$ac_exeext conftest.
$ac_ext
24171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24173 if test `eval echo '${'$as_ac_var'}'` = yes; then
24174 cat >>confdefs.h
<<_ACEOF
24175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24185 if test "x$ac_cv_func_regcomp" != "xyes"; then
24186 if test "$wxUSE_REGEX" = "sys" ; then
24187 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24188 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24189 { (exit 1); exit 1; }; }
24191 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24192 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24193 wxUSE_REGEX
=builtin
24197 cat >>confdefs.h
<<\_ACEOF
24198 #define WX_NO_REGEX_ADVANCED 1
24207 if test "$wxUSE_ZLIB" != "no" ; then
24208 cat >>confdefs.h
<<\_ACEOF
24209 #define wxUSE_ZLIB 1
24213 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24214 if test "$USE_DARWIN" = 1; then
24215 system_zlib_h_ok
="yes"
24217 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24218 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24219 if test "${ac_cv_header_zlib_h+set}" = set; then
24220 echo $ECHO_N "(cached) $ECHO_C" >&6
24222 if test "$cross_compiling" = yes; then
24223 unset ac_cv_header_zlib_h
24226 cat >conftest.
$ac_ext <<_ACEOF
24229 cat confdefs.h
>>conftest.
$ac_ext
24230 cat >>conftest.
$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24238 FILE *f=fopen("conftestval", "w");
24241 ZLIB_VERSION[0] == '1' &&
24242 (ZLIB_VERSION[2] > '1' ||
24243 (ZLIB_VERSION[2] == '1' &&
24244 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24249 rm -f conftest
$ac_exeext
24250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24251 (eval $ac_link) 2>&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24256 (eval $ac_try) 2>&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); }; }; then
24260 ac_cv_header_zlib_h
=`cat conftestval`
24262 echo "$as_me: program exited with status $ac_status" >&5
24263 echo "$as_me: failed program was:" >&5
24264 sed 's/^/| /' conftest.
$ac_ext >&5
24266 ( exit $ac_status )
24267 ac_cv_header_zlib_h
=no
24269 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24273 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24274 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24275 if test "${ac_cv_header_zlib_h+set}" = set; then
24276 echo "$as_me:$LINENO: checking for zlib.h" >&5
24277 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24278 if test "${ac_cv_header_zlib_h+set}" = set; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24281 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24282 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24284 # Is the header compilable?
24285 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24286 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24287 cat >conftest.
$ac_ext <<_ACEOF
24290 cat confdefs.h
>>conftest.
$ac_ext
24291 cat >>conftest.
$ac_ext <<_ACEOF
24292 /* end confdefs.h. */
24293 $ac_includes_default
24296 rm -f conftest.
$ac_objext
24297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24298 (eval $ac_compile) 2>conftest.er1
24300 grep -v '^ *+' conftest.er1
>conftest.err
24302 cat conftest.err
>&5
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); } &&
24305 { ac_try
='test -z "$ac_c_werror_flag"
24306 || test ! -s conftest.err'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; } &&
24312 { ac_try
='test -s conftest.$ac_objext'
24313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24314 (eval $ac_try) 2>&5
24316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317 (exit $ac_status); }; }; then
24318 ac_header_compiler
=yes
24320 echo "$as_me: failed program was:" >&5
24321 sed 's/^/| /' conftest.
$ac_ext >&5
24323 ac_header_compiler
=no
24325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24327 echo "${ECHO_T}$ac_header_compiler" >&6
24329 # Is the header present?
24330 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24331 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24332 cat >conftest.
$ac_ext <<_ACEOF
24335 cat confdefs.h
>>conftest.
$ac_ext
24336 cat >>conftest.
$ac_ext <<_ACEOF
24337 /* end confdefs.h. */
24340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24341 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24343 grep -v '^ *+' conftest.er1
>conftest.err
24345 cat conftest.err
>&5
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); } >/dev
/null
; then
24348 if test -s conftest.err
; then
24349 ac_cpp_err
=$ac_c_preproc_warn_flag
24350 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24357 if test -z "$ac_cpp_err"; then
24358 ac_header_preproc
=yes
24360 echo "$as_me: failed program was:" >&5
24361 sed 's/^/| /' conftest.
$ac_ext >&5
24363 ac_header_preproc
=no
24365 rm -f conftest.err conftest.
$ac_ext
24366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24367 echo "${ECHO_T}$ac_header_preproc" >&6
24369 # So? What about this header?
24370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24372 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24373 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24374 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24375 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24376 ac_header_preproc
=yes
24379 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24380 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24381 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24382 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24383 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24384 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24385 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24386 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24387 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24388 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24389 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24390 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24393 ## ----------------------------------------- ##
24394 ## Report this to wx-dev@lists.wxwidgets.org ##
24395 ## ----------------------------------------- ##
24398 sed "s/^/$as_me: WARNING: /" >&2
24401 echo "$as_me:$LINENO: checking for zlib.h" >&5
24402 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24403 if test "${ac_cv_header_zlib_h+set}" = set; then
24404 echo $ECHO_N "(cached) $ECHO_C" >&6
24406 ac_cv_header_zlib_h
=$ac_header_preproc
24408 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24409 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24415 system_zlib_h_ok
=$ac_cv_header_zlib_h
24418 if test "$system_zlib_h_ok" = "yes"; then
24419 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24420 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24421 if test "${ac_cv_lib_z_deflate+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 ac_check_lib_save_LIBS
=$LIBS
24426 cat >conftest.
$ac_ext <<_ACEOF
24429 cat confdefs.h
>>conftest.
$ac_ext
24430 cat >>conftest.
$ac_ext <<_ACEOF
24431 /* end confdefs.h. */
24433 /* Override any gcc2 internal prototype to avoid an error. */
24437 /* We use char because int might match the return type of a gcc2
24438 builtin and then its argument prototype would still apply. */
24448 rm -f conftest.
$ac_objext conftest
$ac_exeext
24449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24450 (eval $ac_link) 2>conftest.er1
24452 grep -v '^ *+' conftest.er1
>conftest.err
24454 cat conftest.err
>&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } &&
24457 { ac_try
='test -z "$ac_c_werror_flag"
24458 || test ! -s conftest.err'
24459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24460 (eval $ac_try) 2>&5
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); }; } &&
24464 { ac_try
='test -s conftest$ac_exeext'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; }; then
24470 ac_cv_lib_z_deflate
=yes
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.
$ac_ext >&5
24475 ac_cv_lib_z_deflate
=no
24477 rm -f conftest.err conftest.
$ac_objext \
24478 conftest
$ac_exeext conftest.
$ac_ext
24479 LIBS
=$ac_check_lib_save_LIBS
24481 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24482 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24483 if test $ac_cv_lib_z_deflate = yes; then
24489 if test "x$ZLIB_LINK" = "x" ; then
24490 if test "$wxUSE_ZLIB" = "sys" ; then
24491 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24492 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24493 { (exit 1); exit 1; }; }
24495 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24496 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24507 if test "$wxUSE_LIBPNG" != "no" ; then
24508 cat >>confdefs.h
<<\_ACEOF
24509 #define wxUSE_LIBPNG 1
24513 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24514 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24515 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24519 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24520 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24521 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24522 wxUSE_LIBPNG
=builtin
24525 if test "$wxUSE_MGL" != 1 ; then
24526 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24527 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24528 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24529 if test "${ac_cv_header_png_h+set}" = set; then
24530 echo $ECHO_N "(cached) $ECHO_C" >&6
24532 if test "$cross_compiling" = yes; then
24533 unset ac_cv_header_png_h
24536 cat >conftest.
$ac_ext <<_ACEOF
24539 cat confdefs.h
>>conftest.
$ac_ext
24540 cat >>conftest.
$ac_ext <<_ACEOF
24541 /* end confdefs.h. */
24548 FILE *f=fopen("conftestval", "w");
24551 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24556 rm -f conftest
$ac_exeext
24557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24558 (eval $ac_link) 2>&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24563 (eval $ac_try) 2>&5
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); }; }; then
24567 ac_cv_header_png_h
=`cat conftestval`
24569 echo "$as_me: program exited with status $ac_status" >&5
24570 echo "$as_me: failed program was:" >&5
24571 sed 's/^/| /' conftest.
$ac_ext >&5
24573 ( exit $ac_status )
24574 ac_cv_header_png_h
=no
24576 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24580 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24581 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24582 if test "${ac_cv_header_png_h+set}" = set; then
24583 echo "$as_me:$LINENO: checking for png.h" >&5
24584 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24585 if test "${ac_cv_header_png_h+set}" = set; then
24586 echo $ECHO_N "(cached) $ECHO_C" >&6
24588 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24589 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24591 # Is the header compilable?
24592 echo "$as_me:$LINENO: checking png.h usability" >&5
24593 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24594 cat >conftest.
$ac_ext <<_ACEOF
24597 cat confdefs.h
>>conftest.
$ac_ext
24598 cat >>conftest.
$ac_ext <<_ACEOF
24599 /* end confdefs.h. */
24600 $ac_includes_default
24603 rm -f conftest.
$ac_objext
24604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24605 (eval $ac_compile) 2>conftest.er1
24607 grep -v '^ *+' conftest.er1
>conftest.err
24609 cat conftest.err
>&5
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); } &&
24612 { ac_try
='test -z "$ac_c_werror_flag"
24613 || test ! -s conftest.err'
24614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24615 (eval $ac_try) 2>&5
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); }; } &&
24619 { ac_try
='test -s conftest.$ac_objext'
24620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621 (eval $ac_try) 2>&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); }; }; then
24625 ac_header_compiler
=yes
24627 echo "$as_me: failed program was:" >&5
24628 sed 's/^/| /' conftest.
$ac_ext >&5
24630 ac_header_compiler
=no
24632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24634 echo "${ECHO_T}$ac_header_compiler" >&6
24636 # Is the header present?
24637 echo "$as_me:$LINENO: checking png.h presence" >&5
24638 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24639 cat >conftest.
$ac_ext <<_ACEOF
24642 cat confdefs.h
>>conftest.
$ac_ext
24643 cat >>conftest.
$ac_ext <<_ACEOF
24644 /* end confdefs.h. */
24647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24648 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24650 grep -v '^ *+' conftest.er1
>conftest.err
24652 cat conftest.err
>&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } >/dev
/null
; then
24655 if test -s conftest.err
; then
24656 ac_cpp_err
=$ac_c_preproc_warn_flag
24657 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24664 if test -z "$ac_cpp_err"; then
24665 ac_header_preproc
=yes
24667 echo "$as_me: failed program was:" >&5
24668 sed 's/^/| /' conftest.
$ac_ext >&5
24670 ac_header_preproc
=no
24672 rm -f conftest.err conftest.
$ac_ext
24673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24674 echo "${ECHO_T}$ac_header_preproc" >&6
24676 # So? What about this header?
24677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24679 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24680 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24681 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24682 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24683 ac_header_preproc
=yes
24686 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24687 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24688 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24689 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24690 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24691 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24692 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24693 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24694 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24695 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24696 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24697 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24700 ## ----------------------------------------- ##
24701 ## Report this to wx-dev@lists.wxwidgets.org ##
24702 ## ----------------------------------------- ##
24705 sed "s/^/$as_me: WARNING: /" >&2
24708 echo "$as_me:$LINENO: checking for png.h" >&5
24709 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24710 if test "${ac_cv_header_png_h+set}" = set; then
24711 echo $ECHO_N "(cached) $ECHO_C" >&6
24713 ac_cv_header_png_h
=$ac_header_preproc
24715 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24716 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24722 if test "$ac_cv_header_png_h" = "yes"; then
24723 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24724 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24725 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24726 echo $ECHO_N "(cached) $ECHO_C" >&6
24728 ac_check_lib_save_LIBS
=$LIBS
24729 LIBS
="-lpng -lz -lm $LIBS"
24730 cat >conftest.
$ac_ext <<_ACEOF
24733 cat confdefs.h
>>conftest.
$ac_ext
24734 cat >>conftest.
$ac_ext <<_ACEOF
24735 /* end confdefs.h. */
24737 /* Override any gcc2 internal prototype to avoid an error. */
24741 /* We use char because int might match the return type of a gcc2
24742 builtin and then its argument prototype would still apply. */
24743 char png_check_sig ();
24752 rm -f conftest.
$ac_objext conftest
$ac_exeext
24753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24754 (eval $ac_link) 2>conftest.er1
24756 grep -v '^ *+' conftest.er1
>conftest.err
24758 cat conftest.err
>&5
24759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24760 (exit $ac_status); } &&
24761 { ac_try
='test -z "$ac_c_werror_flag"
24762 || test ! -s conftest.err'
24763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24764 (eval $ac_try) 2>&5
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); }; } &&
24768 { ac_try
='test -s conftest$ac_exeext'
24769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24770 (eval $ac_try) 2>&5
24772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24773 (exit $ac_status); }; }; then
24774 ac_cv_lib_png_png_check_sig
=yes
24776 echo "$as_me: failed program was:" >&5
24777 sed 's/^/| /' conftest.
$ac_ext >&5
24779 ac_cv_lib_png_png_check_sig
=no
24781 rm -f conftest.err conftest.
$ac_objext \
24782 conftest
$ac_exeext conftest.
$ac_ext
24783 LIBS
=$ac_check_lib_save_LIBS
24785 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24786 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24787 if test $ac_cv_lib_png_png_check_sig = yes; then
24788 PNG_LINK
=" -lpng -lz"
24793 if test "x$PNG_LINK" = "x" ; then
24794 if test "$wxUSE_LIBPNG" = "sys" ; then
24795 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24796 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24797 { (exit 1); exit 1; }; }
24799 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24800 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24801 wxUSE_LIBPNG
=builtin
24809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24814 if test "$wxUSE_LIBJPEG" != "no" ; then
24815 cat >>confdefs.h
<<\_ACEOF
24816 #define wxUSE_LIBJPEG 1
24820 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24821 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24822 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24826 if test "$wxUSE_MGL" != 1 ; then
24827 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24828 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24829 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24830 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24831 echo $ECHO_N "(cached) $ECHO_C" >&6
24833 cat >conftest.
$ac_ext <<_ACEOF
24836 cat confdefs.h
>>conftest.
$ac_ext
24837 cat >>conftest.
$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24840 #undef HAVE_STDLIB_H
24842 #include <jpeglib.h>
24853 rm -f conftest.
$ac_objext
24854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24855 (eval $ac_compile) 2>conftest.er1
24857 grep -v '^ *+' conftest.er1
>conftest.err
24859 cat conftest.err
>&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } &&
24862 { ac_try
='test -z "$ac_c_werror_flag"
24863 || test ! -s conftest.err'
24864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24865 (eval $ac_try) 2>&5
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); }; } &&
24869 { ac_try
='test -s conftest.$ac_objext'
24870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24871 (eval $ac_try) 2>&5
24873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874 (exit $ac_status); }; }; then
24875 ac_cv_header_jpeglib_h
=yes
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.
$ac_ext >&5
24880 ac_cv_header_jpeglib_h
=no
24883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24887 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24888 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24890 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24891 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24892 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24893 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24894 echo $ECHO_N "(cached) $ECHO_C" >&6
24896 ac_check_lib_save_LIBS
=$LIBS
24897 LIBS
="-ljpeg $LIBS"
24898 cat >conftest.
$ac_ext <<_ACEOF
24901 cat confdefs.h
>>conftest.
$ac_ext
24902 cat >>conftest.
$ac_ext <<_ACEOF
24903 /* end confdefs.h. */
24905 /* Override any gcc2 internal prototype to avoid an error. */
24909 /* We use char because int might match the return type of a gcc2
24910 builtin and then its argument prototype would still apply. */
24911 char jpeg_read_header ();
24915 jpeg_read_header ();
24920 rm -f conftest.
$ac_objext conftest
$ac_exeext
24921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24922 (eval $ac_link) 2>conftest.er1
24924 grep -v '^ *+' conftest.er1
>conftest.err
24926 cat conftest.err
>&5
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); } &&
24929 { ac_try
='test -z "$ac_c_werror_flag"
24930 || test ! -s conftest.err'
24931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24932 (eval $ac_try) 2>&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); }; } &&
24936 { ac_try
='test -s conftest$ac_exeext'
24937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938 (eval $ac_try) 2>&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); }; }; then
24942 ac_cv_lib_jpeg_jpeg_read_header
=yes
24944 echo "$as_me: failed program was:" >&5
24945 sed 's/^/| /' conftest.
$ac_ext >&5
24947 ac_cv_lib_jpeg_jpeg_read_header
=no
24949 rm -f conftest.err conftest.
$ac_objext \
24950 conftest
$ac_exeext conftest.
$ac_ext
24951 LIBS
=$ac_check_lib_save_LIBS
24953 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24954 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24955 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24956 JPEG_LINK
=" -ljpeg"
24961 if test "x$JPEG_LINK" = "x" ; then
24962 if test "$wxUSE_LIBJPEG" = "sys" ; then
24963 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24964 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24965 { (exit 1); exit 1; }; }
24967 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24968 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24969 wxUSE_LIBJPEG
=builtin
24980 TIFF_PREREQ_LINKS
=-lm
24981 if test "$wxUSE_LIBTIFF" != "no" ; then
24982 cat >>confdefs.h
<<\_ACEOF
24983 #define wxUSE_LIBTIFF 1
24987 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24988 if test "$wxUSE_LIBJPEG" = "sys"; then
24989 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24991 if test "$wxUSE_ZLIB" = "sys"; then
24992 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24994 if test "${ac_cv_header_tiffio_h+set}" = set; then
24995 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24996 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24997 if test "${ac_cv_header_tiffio_h+set}" = set; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
25000 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25001 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25003 # Is the header compilable?
25004 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25005 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25006 cat >conftest.
$ac_ext <<_ACEOF
25009 cat confdefs.h
>>conftest.
$ac_ext
25010 cat >>conftest.
$ac_ext <<_ACEOF
25011 /* end confdefs.h. */
25012 $ac_includes_default
25013 #include <tiffio.h>
25015 rm -f conftest.
$ac_objext
25016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25017 (eval $ac_compile) 2>conftest.er1
25019 grep -v '^ *+' conftest.er1
>conftest.err
25021 cat conftest.err
>&5
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); } &&
25024 { ac_try
='test -z "$ac_c_werror_flag"
25025 || test ! -s conftest.err'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; } &&
25031 { ac_try
='test -s conftest.$ac_objext'
25032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25033 (eval $ac_try) 2>&5
25035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036 (exit $ac_status); }; }; then
25037 ac_header_compiler
=yes
25039 echo "$as_me: failed program was:" >&5
25040 sed 's/^/| /' conftest.
$ac_ext >&5
25042 ac_header_compiler
=no
25044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25046 echo "${ECHO_T}$ac_header_compiler" >&6
25048 # Is the header present?
25049 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25050 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25051 cat >conftest.
$ac_ext <<_ACEOF
25054 cat confdefs.h
>>conftest.
$ac_ext
25055 cat >>conftest.
$ac_ext <<_ACEOF
25056 /* end confdefs.h. */
25057 #include <tiffio.h>
25059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25062 grep -v '^ *+' conftest.er1
>conftest.err
25064 cat conftest.err
>&5
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); } >/dev
/null
; then
25067 if test -s conftest.err
; then
25068 ac_cpp_err
=$ac_c_preproc_warn_flag
25069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25076 if test -z "$ac_cpp_err"; then
25077 ac_header_preproc
=yes
25079 echo "$as_me: failed program was:" >&5
25080 sed 's/^/| /' conftest.
$ac_ext >&5
25082 ac_header_preproc
=no
25084 rm -f conftest.err conftest.
$ac_ext
25085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25086 echo "${ECHO_T}$ac_header_preproc" >&6
25088 # So? What about this header?
25089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25091 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25092 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25093 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25094 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25095 ac_header_preproc
=yes
25098 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25099 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25100 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25101 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25102 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25103 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25104 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25105 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25106 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25107 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25108 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25109 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25112 ## ----------------------------------------- ##
25113 ## Report this to wx-dev@lists.wxwidgets.org ##
25114 ## ----------------------------------------- ##
25117 sed "s/^/$as_me: WARNING: /" >&2
25120 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25121 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25122 if test "${ac_cv_header_tiffio_h+set}" = set; then
25123 echo $ECHO_N "(cached) $ECHO_C" >&6
25125 ac_cv_header_tiffio_h
=$ac_header_preproc
25127 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25128 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25131 if test $ac_cv_header_tiffio_h = yes; then
25133 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25134 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25135 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25136 echo $ECHO_N "(cached) $ECHO_C" >&6
25138 ac_check_lib_save_LIBS
=$LIBS
25139 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25140 cat >conftest.
$ac_ext <<_ACEOF
25143 cat confdefs.h
>>conftest.
$ac_ext
25144 cat >>conftest.
$ac_ext <<_ACEOF
25145 /* end confdefs.h. */
25147 /* Override any gcc2 internal prototype to avoid an error. */
25151 /* We use char because int might match the return type of a gcc2
25152 builtin and then its argument prototype would still apply. */
25162 rm -f conftest.
$ac_objext conftest
$ac_exeext
25163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25164 (eval $ac_link) 2>conftest.er1
25166 grep -v '^ *+' conftest.er1
>conftest.err
25168 cat conftest.err
>&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); } &&
25171 { ac_try
='test -z "$ac_c_werror_flag"
25172 || test ! -s conftest.err'
25173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25174 (eval $ac_try) 2>&5
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); }; } &&
25178 { ac_try
='test -s conftest$ac_exeext'
25179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25180 (eval $ac_try) 2>&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); }; }; then
25184 ac_cv_lib_tiff_TIFFError
=yes
25186 echo "$as_me: failed program was:" >&5
25187 sed 's/^/| /' conftest.
$ac_ext >&5
25189 ac_cv_lib_tiff_TIFFError
=no
25191 rm -f conftest.err conftest.
$ac_objext \
25192 conftest
$ac_exeext conftest.
$ac_ext
25193 LIBS
=$ac_check_lib_save_LIBS
25195 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25196 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25197 if test $ac_cv_lib_tiff_TIFFError = yes; then
25198 TIFF_LINK
=" -ltiff"
25207 if test "x$TIFF_LINK" = "x" ; then
25208 if test "$wxUSE_LIBTIFF" = "sys" ; then
25209 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25210 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25211 { (exit 1); exit 1; }; }
25213 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25214 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25215 wxUSE_LIBTIFF
=builtin
25224 if test "$wxUSE_WCHAR_T" != "yes"; then
25225 if test "$wxUSE_EXPAT" != "no"; then
25226 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25227 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25230 if test "$wxUSE_XML" != "no"; then
25231 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25232 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25237 if test "$wxUSE_EXPAT" != "no"; then
25239 cat >>confdefs.h
<<\_ACEOF
25240 #define wxUSE_EXPAT 1
25243 cat >>confdefs.h
<<\_ACEOF
25244 #define wxUSE_XML 1
25248 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25249 if test "${ac_cv_header_expat_h+set}" = set; then
25250 echo "$as_me:$LINENO: checking for expat.h" >&5
25251 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25252 if test "${ac_cv_header_expat_h+set}" = set; then
25253 echo $ECHO_N "(cached) $ECHO_C" >&6
25255 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25256 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25258 # Is the header compilable?
25259 echo "$as_me:$LINENO: checking expat.h usability" >&5
25260 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25261 cat >conftest.
$ac_ext <<_ACEOF
25264 cat confdefs.h
>>conftest.
$ac_ext
25265 cat >>conftest.
$ac_ext <<_ACEOF
25266 /* end confdefs.h. */
25267 $ac_includes_default
25270 rm -f conftest.
$ac_objext
25271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25272 (eval $ac_compile) 2>conftest.er1
25274 grep -v '^ *+' conftest.er1
>conftest.err
25276 cat conftest.err
>&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); } &&
25279 { ac_try
='test -z "$ac_c_werror_flag"
25280 || test ! -s conftest.err'
25281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25282 (eval $ac_try) 2>&5
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); }; } &&
25286 { ac_try
='test -s conftest.$ac_objext'
25287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25288 (eval $ac_try) 2>&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); }; }; then
25292 ac_header_compiler
=yes
25294 echo "$as_me: failed program was:" >&5
25295 sed 's/^/| /' conftest.
$ac_ext >&5
25297 ac_header_compiler
=no
25299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25301 echo "${ECHO_T}$ac_header_compiler" >&6
25303 # Is the header present?
25304 echo "$as_me:$LINENO: checking expat.h presence" >&5
25305 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25306 cat >conftest.
$ac_ext <<_ACEOF
25309 cat confdefs.h
>>conftest.
$ac_ext
25310 cat >>conftest.
$ac_ext <<_ACEOF
25311 /* end confdefs.h. */
25314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25315 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25317 grep -v '^ *+' conftest.er1
>conftest.err
25319 cat conftest.err
>&5
25320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321 (exit $ac_status); } >/dev
/null
; then
25322 if test -s conftest.err
; then
25323 ac_cpp_err
=$ac_c_preproc_warn_flag
25324 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25331 if test -z "$ac_cpp_err"; then
25332 ac_header_preproc
=yes
25334 echo "$as_me: failed program was:" >&5
25335 sed 's/^/| /' conftest.
$ac_ext >&5
25337 ac_header_preproc
=no
25339 rm -f conftest.err conftest.
$ac_ext
25340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25341 echo "${ECHO_T}$ac_header_preproc" >&6
25343 # So? What about this header?
25344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25346 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25347 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25348 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25349 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25350 ac_header_preproc
=yes
25353 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25354 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25355 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25356 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25357 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25358 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25359 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25360 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25361 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25362 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25363 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25364 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25367 ## ----------------------------------------- ##
25368 ## Report this to wx-dev@lists.wxwidgets.org ##
25369 ## ----------------------------------------- ##
25372 sed "s/^/$as_me: WARNING: /" >&2
25375 echo "$as_me:$LINENO: checking for expat.h" >&5
25376 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25377 if test "${ac_cv_header_expat_h+set}" = set; then
25378 echo $ECHO_N "(cached) $ECHO_C" >&6
25380 ac_cv_header_expat_h
=$ac_header_preproc
25382 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25383 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25386 if test $ac_cv_header_expat_h = yes; then
25391 if test "x$found_expat_h" = "x1"; then
25392 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25393 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25394 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25395 echo $ECHO_N "(cached) $ECHO_C" >&6
25401 ac_cpp
='$CXXCPP $CPPFLAGS'
25402 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25403 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25404 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25406 cat >conftest.
$ac_ext <<_ACEOF
25409 cat confdefs.h
>>conftest.
$ac_ext
25410 cat >>conftest.
$ac_ext <<_ACEOF
25411 /* end confdefs.h. */
25421 rm -f conftest.
$ac_objext
25422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25423 (eval $ac_compile) 2>conftest.er1
25425 grep -v '^ *+' conftest.er1
>conftest.err
25427 cat conftest.err
>&5
25428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25429 (exit $ac_status); } &&
25430 { ac_try
='test -z "$ac_cxx_werror_flag"
25431 || test ! -s conftest.err'
25432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25433 (eval $ac_try) 2>&5
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); }; } &&
25437 { ac_try
='test -s conftest.$ac_objext'
25438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25439 (eval $ac_try) 2>&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); }; }; then
25443 wx_cv_expat_is_not_broken
=yes
25445 echo "$as_me: failed program was:" >&5
25446 sed 's/^/| /' conftest.
$ac_ext >&5
25448 wx_cv_expat_is_not_broken
=no
25451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25453 ac_cpp
='$CPP $CPPFLAGS'
25454 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25455 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25456 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25461 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25462 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25463 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25464 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25465 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25466 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25467 echo $ECHO_N "(cached) $ECHO_C" >&6
25469 ac_check_lib_save_LIBS
=$LIBS
25470 LIBS
="-lexpat $LIBS"
25471 cat >conftest.
$ac_ext <<_ACEOF
25474 cat confdefs.h
>>conftest.
$ac_ext
25475 cat >>conftest.
$ac_ext <<_ACEOF
25476 /* end confdefs.h. */
25478 /* Override any gcc2 internal prototype to avoid an error. */
25482 /* We use char because int might match the return type of a gcc2
25483 builtin and then its argument prototype would still apply. */
25484 char XML_ParserCreate ();
25488 XML_ParserCreate ();
25493 rm -f conftest.
$ac_objext conftest
$ac_exeext
25494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25495 (eval $ac_link) 2>conftest.er1
25497 grep -v '^ *+' conftest.er1
>conftest.err
25499 cat conftest.err
>&5
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); } &&
25502 { ac_try
='test -z "$ac_c_werror_flag"
25503 || test ! -s conftest.err'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; } &&
25509 { ac_try
='test -s conftest$ac_exeext'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; }; then
25515 ac_cv_lib_expat_XML_ParserCreate
=yes
25517 echo "$as_me: failed program was:" >&5
25518 sed 's/^/| /' conftest.
$ac_ext >&5
25520 ac_cv_lib_expat_XML_ParserCreate
=no
25522 rm -f conftest.err conftest.
$ac_objext \
25523 conftest
$ac_exeext conftest.
$ac_ext
25524 LIBS
=$ac_check_lib_save_LIBS
25526 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25527 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25528 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25529 EXPAT_LINK
=" -lexpat"
25534 if test "x$EXPAT_LINK" = "x" ; then
25535 if test "$wxUSE_EXPAT" = "sys" ; then
25536 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25537 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25538 { (exit 1); exit 1; }; }
25540 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25541 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25542 wxUSE_EXPAT
=builtin
25548 if test "$wxUSE_EXPAT" = "builtin" ; then
25551 subdirs
="$subdirs src/expat"
25558 if test "$wxUSE_LIBMSPACK" != "no"; then
25559 if test "${ac_cv_header_mspack_h+set}" = set; then
25560 echo "$as_me:$LINENO: checking for mspack.h" >&5
25561 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25562 if test "${ac_cv_header_mspack_h+set}" = set; then
25563 echo $ECHO_N "(cached) $ECHO_C" >&6
25565 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25566 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25568 # Is the header compilable?
25569 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25570 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25571 cat >conftest.
$ac_ext <<_ACEOF
25574 cat confdefs.h
>>conftest.
$ac_ext
25575 cat >>conftest.
$ac_ext <<_ACEOF
25576 /* end confdefs.h. */
25577 $ac_includes_default
25578 #include <mspack.h>
25580 rm -f conftest.
$ac_objext
25581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25582 (eval $ac_compile) 2>conftest.er1
25584 grep -v '^ *+' conftest.er1
>conftest.err
25586 cat conftest.err
>&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); } &&
25589 { ac_try
='test -z "$ac_c_werror_flag"
25590 || test ! -s conftest.err'
25591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25592 (eval $ac_try) 2>&5
25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595 (exit $ac_status); }; } &&
25596 { ac_try
='test -s conftest.$ac_objext'
25597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25598 (eval $ac_try) 2>&5
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); }; }; then
25602 ac_header_compiler
=yes
25604 echo "$as_me: failed program was:" >&5
25605 sed 's/^/| /' conftest.
$ac_ext >&5
25607 ac_header_compiler
=no
25609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25611 echo "${ECHO_T}$ac_header_compiler" >&6
25613 # Is the header present?
25614 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25615 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25616 cat >conftest.
$ac_ext <<_ACEOF
25619 cat confdefs.h
>>conftest.
$ac_ext
25620 cat >>conftest.
$ac_ext <<_ACEOF
25621 /* end confdefs.h. */
25622 #include <mspack.h>
25624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25625 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25627 grep -v '^ *+' conftest.er1
>conftest.err
25629 cat conftest.err
>&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); } >/dev
/null
; then
25632 if test -s conftest.err
; then
25633 ac_cpp_err
=$ac_c_preproc_warn_flag
25634 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25641 if test -z "$ac_cpp_err"; then
25642 ac_header_preproc
=yes
25644 echo "$as_me: failed program was:" >&5
25645 sed 's/^/| /' conftest.
$ac_ext >&5
25647 ac_header_preproc
=no
25649 rm -f conftest.err conftest.
$ac_ext
25650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25651 echo "${ECHO_T}$ac_header_preproc" >&6
25653 # So? What about this header?
25654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25656 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25657 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25658 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25659 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25660 ac_header_preproc
=yes
25663 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25664 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25665 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25666 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25667 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25668 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25669 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25670 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25671 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25672 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25673 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25674 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25677 ## ----------------------------------------- ##
25678 ## Report this to wx-dev@lists.wxwidgets.org ##
25679 ## ----------------------------------------- ##
25682 sed "s/^/$as_me: WARNING: /" >&2
25685 echo "$as_me:$LINENO: checking for mspack.h" >&5
25686 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25687 if test "${ac_cv_header_mspack_h+set}" = set; then
25688 echo $ECHO_N "(cached) $ECHO_C" >&6
25690 ac_cv_header_mspack_h
=$ac_header_preproc
25692 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25693 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25696 if test $ac_cv_header_mspack_h = yes; then
25701 if test "x$found_mspack_h" = "x1"; then
25702 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25703 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25704 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25707 ac_check_lib_save_LIBS
=$LIBS
25708 LIBS
="-lmspack $LIBS"
25709 cat >conftest.
$ac_ext <<_ACEOF
25712 cat confdefs.h
>>conftest.
$ac_ext
25713 cat >>conftest.
$ac_ext <<_ACEOF
25714 /* end confdefs.h. */
25716 /* Override any gcc2 internal prototype to avoid an error. */
25720 /* We use char because int might match the return type of a gcc2
25721 builtin and then its argument prototype would still apply. */
25722 char mspack_create_chm_decompressor ();
25726 mspack_create_chm_decompressor ();
25731 rm -f conftest.
$ac_objext conftest
$ac_exeext
25732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25733 (eval $ac_link) 2>conftest.er1
25735 grep -v '^ *+' conftest.er1
>conftest.err
25737 cat conftest.err
>&5
25738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25739 (exit $ac_status); } &&
25740 { ac_try
='test -z "$ac_c_werror_flag"
25741 || test ! -s conftest.err'
25742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25743 (eval $ac_try) 2>&5
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); }; } &&
25747 { ac_try
='test -s conftest$ac_exeext'
25748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25749 (eval $ac_try) 2>&5
25751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); }; }; then
25753 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25755 echo "$as_me: failed program was:" >&5
25756 sed 's/^/| /' conftest.
$ac_ext >&5
25758 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25760 rm -f conftest.err conftest.
$ac_objext \
25761 conftest
$ac_exeext conftest.
$ac_ext
25762 LIBS
=$ac_check_lib_save_LIBS
25764 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25765 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25766 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25767 MSPACK_LINK
=" -lmspack"
25771 if test "x$MSPACK_LINK" = "x" ; then
25776 if test "$wxUSE_LIBMSPACK" != "no"; then
25777 cat >>confdefs.h
<<\_ACEOF
25778 #define wxUSE_LIBMSPACK 1
25792 if test "$USE_WIN32" = 1 ; then
25794 for ac_header
in w32api.h
25796 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25798 echo "$as_me:$LINENO: checking for $ac_header" >&5
25799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25801 echo $ECHO_N "(cached) $ECHO_C" >&6
25803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25806 # Is the header compilable?
25807 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25808 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25809 cat >conftest.
$ac_ext <<_ACEOF
25812 cat confdefs.h
>>conftest.
$ac_ext
25813 cat >>conftest.
$ac_ext <<_ACEOF
25814 /* end confdefs.h. */
25815 $ac_includes_default
25816 #include <$ac_header>
25818 rm -f conftest.
$ac_objext
25819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25820 (eval $ac_compile) 2>conftest.er1
25822 grep -v '^ *+' conftest.er1
>conftest.err
25824 cat conftest.err
>&5
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); } &&
25827 { ac_try
='test -z "$ac_c_werror_flag"
25828 || test ! -s conftest.err'
25829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25830 (eval $ac_try) 2>&5
25832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25833 (exit $ac_status); }; } &&
25834 { ac_try
='test -s conftest.$ac_objext'
25835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25836 (eval $ac_try) 2>&5
25838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839 (exit $ac_status); }; }; then
25840 ac_header_compiler
=yes
25842 echo "$as_me: failed program was:" >&5
25843 sed 's/^/| /' conftest.
$ac_ext >&5
25845 ac_header_compiler
=no
25847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25849 echo "${ECHO_T}$ac_header_compiler" >&6
25851 # Is the header present?
25852 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25853 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25854 cat >conftest.
$ac_ext <<_ACEOF
25857 cat confdefs.h
>>conftest.
$ac_ext
25858 cat >>conftest.
$ac_ext <<_ACEOF
25859 /* end confdefs.h. */
25860 #include <$ac_header>
25862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25863 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25865 grep -v '^ *+' conftest.er1
>conftest.err
25867 cat conftest.err
>&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); } >/dev
/null
; then
25870 if test -s conftest.err
; then
25871 ac_cpp_err
=$ac_c_preproc_warn_flag
25872 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25879 if test -z "$ac_cpp_err"; then
25880 ac_header_preproc
=yes
25882 echo "$as_me: failed program was:" >&5
25883 sed 's/^/| /' conftest.
$ac_ext >&5
25885 ac_header_preproc
=no
25887 rm -f conftest.err conftest.
$ac_ext
25888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25889 echo "${ECHO_T}$ac_header_preproc" >&6
25891 # So? What about this header?
25892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25894 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25895 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25897 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25898 ac_header_preproc
=yes
25901 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25902 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25903 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25904 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25905 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25906 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25907 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25908 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25910 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25911 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25912 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25915 ## ----------------------------------------- ##
25916 ## Report this to wx-dev@lists.wxwidgets.org ##
25917 ## ----------------------------------------- ##
25920 sed "s/^/$as_me: WARNING: /" >&2
25923 echo "$as_me:$LINENO: checking for $ac_header" >&5
25924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25926 echo $ECHO_N "(cached) $ECHO_C" >&6
25928 eval "$as_ac_Header=\$ac_header_preproc"
25930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25934 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25935 cat >>confdefs.h
<<_ACEOF
25936 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25943 if test "${ac_cv_header_windows_h+set}" = set; then
25944 echo "$as_me:$LINENO: checking for windows.h" >&5
25945 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25946 if test "${ac_cv_header_windows_h+set}" = set; then
25947 echo $ECHO_N "(cached) $ECHO_C" >&6
25949 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25950 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25952 # Is the header compilable?
25953 echo "$as_me:$LINENO: checking windows.h usability" >&5
25954 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25955 cat >conftest.
$ac_ext <<_ACEOF
25958 cat confdefs.h
>>conftest.
$ac_ext
25959 cat >>conftest.
$ac_ext <<_ACEOF
25960 /* end confdefs.h. */
25961 $ac_includes_default
25962 #include <windows.h>
25964 rm -f conftest.
$ac_objext
25965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25966 (eval $ac_compile) 2>conftest.er1
25968 grep -v '^ *+' conftest.er1
>conftest.err
25970 cat conftest.err
>&5
25971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25972 (exit $ac_status); } &&
25973 { ac_try
='test -z "$ac_c_werror_flag"
25974 || test ! -s conftest.err'
25975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25976 (eval $ac_try) 2>&5
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); }; } &&
25980 { ac_try
='test -s conftest.$ac_objext'
25981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25982 (eval $ac_try) 2>&5
25984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25985 (exit $ac_status); }; }; then
25986 ac_header_compiler
=yes
25988 echo "$as_me: failed program was:" >&5
25989 sed 's/^/| /' conftest.
$ac_ext >&5
25991 ac_header_compiler
=no
25993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25995 echo "${ECHO_T}$ac_header_compiler" >&6
25997 # Is the header present?
25998 echo "$as_me:$LINENO: checking windows.h presence" >&5
25999 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26000 cat >conftest.
$ac_ext <<_ACEOF
26003 cat confdefs.h
>>conftest.
$ac_ext
26004 cat >>conftest.
$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006 #include <windows.h>
26008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26011 grep -v '^ *+' conftest.er1
>conftest.err
26013 cat conftest.err
>&5
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); } >/dev
/null
; then
26016 if test -s conftest.err
; then
26017 ac_cpp_err
=$ac_c_preproc_warn_flag
26018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26025 if test -z "$ac_cpp_err"; then
26026 ac_header_preproc
=yes
26028 echo "$as_me: failed program was:" >&5
26029 sed 's/^/| /' conftest.
$ac_ext >&5
26031 ac_header_preproc
=no
26033 rm -f conftest.err conftest.
$ac_ext
26034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26035 echo "${ECHO_T}$ac_header_preproc" >&6
26037 # So? What about this header?
26038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26040 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26041 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26042 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26043 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26044 ac_header_preproc
=yes
26047 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26048 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26049 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26050 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26051 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26052 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26053 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26054 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26055 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26056 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26057 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26058 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26061 ## ----------------------------------------- ##
26062 ## Report this to wx-dev@lists.wxwidgets.org ##
26063 ## ----------------------------------------- ##
26066 sed "s/^/$as_me: WARNING: /" >&2
26069 echo "$as_me:$LINENO: checking for windows.h" >&5
26070 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26071 if test "${ac_cv_header_windows_h+set}" = set; then
26072 echo $ECHO_N "(cached) $ECHO_C" >&6
26074 ac_cv_header_windows_h
=$ac_header_preproc
26076 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26077 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26080 if test $ac_cv_header_windows_h = yes; then
26084 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26085 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26086 { (exit 1); exit 1; }; }
26092 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26094 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26095 LIBS
="$LIBS -loleacc"
26100 LIBS
="$LIBS -lkernel32 -luser32"
26103 if test "$wxUSE_ODBC" = "sys" ; then
26106 if test "$wxUSE_ODBC" = "yes" ; then
26107 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26108 cat >>confdefs.h
<<\_ACEOF
26109 #define wxUSE_ODBC 1
26114 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26115 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26117 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26119 WIN32INSTALL
=win32install
26122 if test "$wxUSE_GUI" = "yes"; then
26132 if test "$wxUSE_COCOA" = 1 ; then
26133 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26134 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26135 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26136 wxUSE_PRINTING_ARCHITECTURE
=no
26138 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26139 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26140 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26141 wxUSE_DRAG_AND_DROP
=no
26143 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26144 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26145 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26150 if test "$wxUSE_MSW" = 1 ; then
26156 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26160 if test "$wxUSE_GTK" = 1; then
26161 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26162 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26164 gtk_version_cached
=1
26165 if test "${wx_cv_lib_gtk+set}" = set; then
26166 echo $ECHO_N "(cached) $ECHO_C" >&6
26169 gtk_version_cached
=0
26170 echo "$as_me:$LINENO: result: " >&5
26171 echo "${ECHO_T}" >&6
26174 if test "$wxUSE_THREADS" = "yes"; then
26175 GTK_MODULES
=gthread
26179 if test "x$wxGTK_VERSION" != "x1"
26183 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26188 # Check whether --enable-gtktest or --disable-gtktest was given.
26189 if test "${enable_gtktest+set}" = set; then
26190 enableval
="$enable_gtktest"
26196 pkg_config_args
=gtk
+-2.0
26197 for module
in .
$GTK_MODULES
26201 pkg_config_args
="$pkg_config_args gthread-2.0"
26208 # Extract the first word of "pkg-config", so it can be a program name with args.
26209 set dummy pkg
-config; ac_word
=$2
26210 echo "$as_me:$LINENO: checking for $ac_word" >&5
26211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26212 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26213 echo $ECHO_N "(cached) $ECHO_C" >&6
26215 case $PKG_CONFIG in
26217 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26221 for as_dir
in $PATH
26224 test -z "$as_dir" && as_dir
=.
26225 for ac_exec_ext
in '' $ac_executable_extensions; do
26226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26227 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26234 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26238 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26240 if test -n "$PKG_CONFIG"; then
26241 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26242 echo "${ECHO_T}$PKG_CONFIG" >&6
26244 echo "$as_me:$LINENO: result: no" >&5
26245 echo "${ECHO_T}no" >&6
26249 if test x
$PKG_CONFIG != xno
; then
26250 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26253 echo "*** pkg-config too old; version 0.7 or better required."
26261 min_gtk_version
=2.0.0
26262 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26263 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26265 if test x
$PKG_CONFIG != xno
; then
26266 ## don't try to run the test against uninstalled libtool libs
26267 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26268 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26272 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26279 if test x
"$no_gtk" = x
; then
26280 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26281 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26282 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26283 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26284 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26285 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26286 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26288 if test "x$enable_gtktest" = "xyes" ; then
26289 ac_save_CFLAGS
="$CFLAGS"
26290 ac_save_LIBS
="$LIBS"
26291 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26292 LIBS
="$GTK_LIBS $LIBS"
26294 if test "$cross_compiling" = yes; then
26295 echo $ac_n "cross compiling; assumed OK... $ac_c"
26297 cat >conftest.
$ac_ext <<_ACEOF
26300 cat confdefs.h
>>conftest.
$ac_ext
26301 cat >>conftest.
$ac_ext <<_ACEOF
26302 /* end confdefs.h. */
26304 #include <gtk/gtk.h>
26306 #include <stdlib.h>
26311 int major, minor, micro;
26314 system ("touch conf.gtktest");
26316 /* HP/UX 9 (%@#!) writes to sscanf strings */
26317 tmp_version = g_strdup("$min_gtk_version");
26318 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26319 printf("%s, bad version string\n", "$min_gtk_version");
26323 if ((gtk_major_version != $gtk_config_major_version) ||
26324 (gtk_minor_version != $gtk_config_minor_version) ||
26325 (gtk_micro_version != $gtk_config_micro_version))
26327 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26328 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26329 gtk_major_version, gtk_minor_version, gtk_micro_version);
26330 printf ("*** was found! If pkg-config was correct, then it is best\n");
26331 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26332 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26333 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26334 printf("*** required on your system.\n");
26335 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26336 printf("*** to point to the correct configuration files\n");
26338 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26339 (gtk_minor_version != GTK_MINOR_VERSION) ||
26340 (gtk_micro_version != GTK_MICRO_VERSION))
26342 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26343 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26344 printf("*** library (version %d.%d.%d)\n",
26345 gtk_major_version, gtk_minor_version, gtk_micro_version);
26349 if ((gtk_major_version > major) ||
26350 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26351 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26357 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26358 gtk_major_version, gtk_minor_version, gtk_micro_version);
26359 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26360 major, minor, micro);
26361 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26363 printf("*** If you have already installed a sufficiently new version, this error\n");
26364 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26365 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26366 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26367 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26368 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26369 printf("*** so that the correct libraries are found at run-time))\n");
26376 rm -f conftest
$ac_exeext
26377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26378 (eval $ac_link) 2>&5
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26383 (eval $ac_try) 2>&5
26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386 (exit $ac_status); }; }; then
26389 echo "$as_me: program exited with status $ac_status" >&5
26390 echo "$as_me: failed program was:" >&5
26391 sed 's/^/| /' conftest.
$ac_ext >&5
26393 ( exit $ac_status )
26396 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26398 CFLAGS
="$ac_save_CFLAGS"
26399 LIBS
="$ac_save_LIBS"
26402 if test "x$no_gtk" = x
; then
26403 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26404 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26407 echo "$as_me:$LINENO: result: no" >&5
26408 echo "${ECHO_T}no" >&6
26409 if test "$PKG_CONFIG" = "no" ; then
26410 echo "*** A new enough version of pkg-config was not found."
26411 echo "*** See http://pkgconfig.sourceforge.net"
26413 if test -f conf.gtktest
; then
26416 echo "*** Could not run GTK+ test program, checking why..."
26417 ac_save_CFLAGS
="$CFLAGS"
26418 ac_save_LIBS
="$LIBS"
26419 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26420 LIBS
="$LIBS $GTK_LIBS"
26421 cat >conftest.
$ac_ext <<_ACEOF
26424 cat confdefs.h
>>conftest.
$ac_ext
26425 cat >>conftest.
$ac_ext <<_ACEOF
26426 /* end confdefs.h. */
26428 #include <gtk/gtk.h>
26434 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26439 rm -f conftest.
$ac_objext conftest
$ac_exeext
26440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26441 (eval $ac_link) 2>conftest.er1
26443 grep -v '^ *+' conftest.er1
>conftest.err
26445 cat conftest.err
>&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); } &&
26448 { ac_try
='test -z "$ac_c_werror_flag"
26449 || test ! -s conftest.err'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; } &&
26455 { ac_try
='test -s conftest$ac_exeext'
26456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26457 (eval $ac_try) 2>&5
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); }; }; then
26461 echo "*** The test program compiled, but did not run. This usually means"
26462 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26463 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26464 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26465 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26466 echo "*** is required on your system"
26468 echo "*** If you have an old version installed, it is best to remove it, although"
26469 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26471 echo "$as_me: failed program was:" >&5
26472 sed 's/^/| /' conftest.
$ac_ext >&5
26474 echo "*** The test program failed to compile or link. See the file config.log for the"
26475 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26477 rm -f conftest.err conftest.
$ac_objext \
26478 conftest
$ac_exeext conftest.
$ac_ext
26479 CFLAGS
="$ac_save_CFLAGS"
26480 LIBS
="$ac_save_LIBS"
26494 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26495 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26496 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26498 if test "$wxUSE_SHARED" != "yes"; then
26499 GTK_LIBS
="$GTK_LIBS -lX11"
26504 if test -z "$wx_cv_lib_gtk"; then
26505 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26507 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26508 if test "${with_gtk_prefix+set}" = set; then
26509 withval
="$with_gtk_prefix"
26510 gtk_config_prefix
="$withval"
26512 gtk_config_prefix
=""
26515 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26516 if test "${with_gtk_exec_prefix+set}" = set; then
26517 withval
="$with_gtk_exec_prefix"
26518 gtk_config_exec_prefix
="$withval"
26520 gtk_config_exec_prefix
=""
26522 # Check whether --enable-gtktest or --disable-gtktest was given.
26523 if test "${enable_gtktest+set}" = set; then
26524 enableval
="$enable_gtktest"
26530 for module
in .
$GTK_MODULES
26534 gtk_config_args
="$gtk_config_args gthread"
26539 if test x
$gtk_config_exec_prefix != x
; then
26540 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26541 if test x
${GTK_CONFIG+set} != xset
; then
26542 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26545 if test x
$gtk_config_prefix != x
; then
26546 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26547 if test x
${GTK_CONFIG+set} != xset
; then
26548 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26552 # Extract the first word of "gtk-config", so it can be a program name with args.
26553 set dummy gtk
-config; ac_word
=$2
26554 echo "$as_me:$LINENO: checking for $ac_word" >&5
26555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26556 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26557 echo $ECHO_N "(cached) $ECHO_C" >&6
26559 case $GTK_CONFIG in
26561 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26565 for as_dir
in $PATH
26568 test -z "$as_dir" && as_dir
=.
26569 for ac_exec_ext
in '' $ac_executable_extensions; do
26570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26571 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26578 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26582 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26584 if test -n "$GTK_CONFIG"; then
26585 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26586 echo "${ECHO_T}$GTK_CONFIG" >&6
26588 echo "$as_me:$LINENO: result: no" >&5
26589 echo "${ECHO_T}no" >&6
26592 min_gtk_version
=1.2.7
26593 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26594 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26596 if test "$GTK_CONFIG" = "no" ; then
26599 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26600 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26601 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26603 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26605 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26607 if test "x$enable_gtktest" = "xyes" ; then
26608 ac_save_CFLAGS
="$CFLAGS"
26609 ac_save_LIBS
="$LIBS"
26610 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26611 LIBS
="$GTK_LIBS $LIBS"
26613 if test "$cross_compiling" = yes; then
26614 echo $ac_n "cross compiling; assumed OK... $ac_c"
26616 cat >conftest.
$ac_ext <<_ACEOF
26619 cat confdefs.h
>>conftest.
$ac_ext
26620 cat >>conftest.
$ac_ext <<_ACEOF
26621 /* end confdefs.h. */
26623 #include <gtk/gtk.h>
26625 #include <stdlib.h>
26630 int major, minor, micro;
26633 system ("touch conf.gtktest");
26635 /* HP/UX 9 (%@#!) writes to sscanf strings */
26636 tmp_version = g_strdup("$min_gtk_version");
26637 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26638 printf("%s, bad version string\n", "$min_gtk_version");
26642 if ((gtk_major_version != $gtk_config_major_version) ||
26643 (gtk_minor_version != $gtk_config_minor_version) ||
26644 (gtk_micro_version != $gtk_config_micro_version))
26646 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26647 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26648 gtk_major_version, gtk_minor_version, gtk_micro_version);
26649 printf ("*** was found! If gtk-config was correct, then it is best\n");
26650 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26651 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26652 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26653 printf("*** required on your system.\n");
26654 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26655 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26656 printf("*** before re-running configure\n");
26658 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26659 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26660 (gtk_minor_version != GTK_MINOR_VERSION) ||
26661 (gtk_micro_version != GTK_MICRO_VERSION))
26663 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26664 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26665 printf("*** library (version %d.%d.%d)\n",
26666 gtk_major_version, gtk_minor_version, gtk_micro_version);
26668 #endif /* defined (GTK_MAJOR_VERSION) ... */
26671 if ((gtk_major_version > major) ||
26672 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26673 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26679 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26680 gtk_major_version, gtk_minor_version, gtk_micro_version);
26681 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26682 major, minor, micro);
26683 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26685 printf("*** If you have already installed a sufficiently new version, this error\n");
26686 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26687 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26688 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26689 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26690 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26691 printf("*** so that the correct libraries are found at run-time))\n");
26698 rm -f conftest
$ac_exeext
26699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26700 (eval $ac_link) 2>&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26705 (eval $ac_try) 2>&5
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); }; }; then
26711 echo "$as_me: program exited with status $ac_status" >&5
26712 echo "$as_me: failed program was:" >&5
26713 sed 's/^/| /' conftest.
$ac_ext >&5
26715 ( exit $ac_status )
26718 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26720 CFLAGS
="$ac_save_CFLAGS"
26721 LIBS
="$ac_save_LIBS"
26724 if test "x$no_gtk" = x
; then
26725 echo "$as_me:$LINENO: result: yes" >&5
26726 echo "${ECHO_T}yes" >&6
26727 wx_cv_lib_gtk
=1.2.7
26729 echo "$as_me:$LINENO: result: no" >&5
26730 echo "${ECHO_T}no" >&6
26731 if test "$GTK_CONFIG" = "no" ; then
26732 echo "*** The gtk-config script installed by GTK could not be found"
26733 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26734 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26735 echo "*** full path to gtk-config."
26737 if test -f conf.gtktest
; then
26740 echo "*** Could not run GTK test program, checking why..."
26741 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26742 LIBS
="$LIBS $GTK_LIBS"
26743 cat >conftest.
$ac_ext <<_ACEOF
26746 cat confdefs.h
>>conftest.
$ac_ext
26747 cat >>conftest.
$ac_ext <<_ACEOF
26748 /* end confdefs.h. */
26750 #include <gtk/gtk.h>
26756 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26761 rm -f conftest.
$ac_objext conftest
$ac_exeext
26762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26763 (eval $ac_link) 2>conftest.er1
26765 grep -v '^ *+' conftest.er1
>conftest.err
26767 cat conftest.err
>&5
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); } &&
26770 { ac_try
='test -z "$ac_c_werror_flag"
26771 || test ! -s conftest.err'
26772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26773 (eval $ac_try) 2>&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); }; } &&
26777 { ac_try
='test -s conftest$ac_exeext'
26778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26779 (eval $ac_try) 2>&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); }; }; then
26783 echo "*** The test program compiled, but did not run. This usually means"
26784 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26785 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26786 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26787 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26788 echo "*** is required on your system"
26790 echo "*** If you have an old version installed, it is best to remove it, although"
26791 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26793 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26794 echo "*** came with the system with the command"
26796 echo "*** rpm --erase --nodeps gtk gtk-devel"
26798 echo "$as_me: failed program was:" >&5
26799 sed 's/^/| /' conftest.
$ac_ext >&5
26801 echo "*** The test program failed to compile or link. See the file config.log for the"
26802 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26803 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26804 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26806 rm -f conftest.err conftest.
$ac_objext \
26807 conftest
$ac_exeext conftest.
$ac_ext
26808 CFLAGS
="$ac_save_CFLAGS"
26809 LIBS
="$ac_save_LIBS"
26821 if test -z "$wx_cv_lib_gtk"; then
26823 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26824 if test "${with_gtk_prefix+set}" = set; then
26825 withval
="$with_gtk_prefix"
26826 gtk_config_prefix
="$withval"
26828 gtk_config_prefix
=""
26831 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26832 if test "${with_gtk_exec_prefix+set}" = set; then
26833 withval
="$with_gtk_exec_prefix"
26834 gtk_config_exec_prefix
="$withval"
26836 gtk_config_exec_prefix
=""
26838 # Check whether --enable-gtktest or --disable-gtktest was given.
26839 if test "${enable_gtktest+set}" = set; then
26840 enableval
="$enable_gtktest"
26846 for module
in .
$GTK_MODULES
26850 gtk_config_args
="$gtk_config_args gthread"
26855 if test x
$gtk_config_exec_prefix != x
; then
26856 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26857 if test x
${GTK_CONFIG+set} != xset
; then
26858 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26861 if test x
$gtk_config_prefix != x
; then
26862 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26863 if test x
${GTK_CONFIG+set} != xset
; then
26864 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26868 # Extract the first word of "gtk-config", so it can be a program name with args.
26869 set dummy gtk
-config; ac_word
=$2
26870 echo "$as_me:$LINENO: checking for $ac_word" >&5
26871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26872 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26873 echo $ECHO_N "(cached) $ECHO_C" >&6
26875 case $GTK_CONFIG in
26877 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26881 for as_dir
in $PATH
26884 test -z "$as_dir" && as_dir
=.
26885 for ac_exec_ext
in '' $ac_executable_extensions; do
26886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26887 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26894 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26898 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26900 if test -n "$GTK_CONFIG"; then
26901 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26902 echo "${ECHO_T}$GTK_CONFIG" >&6
26904 echo "$as_me:$LINENO: result: no" >&5
26905 echo "${ECHO_T}no" >&6
26908 min_gtk_version
=1.2.3
26909 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26910 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26912 if test "$GTK_CONFIG" = "no" ; then
26915 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26916 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26917 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26919 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26921 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26923 if test "x$enable_gtktest" = "xyes" ; then
26924 ac_save_CFLAGS
="$CFLAGS"
26925 ac_save_LIBS
="$LIBS"
26926 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26927 LIBS
="$GTK_LIBS $LIBS"
26929 if test "$cross_compiling" = yes; then
26930 echo $ac_n "cross compiling; assumed OK... $ac_c"
26932 cat >conftest.
$ac_ext <<_ACEOF
26935 cat confdefs.h
>>conftest.
$ac_ext
26936 cat >>conftest.
$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26939 #include <gtk/gtk.h>
26941 #include <stdlib.h>
26946 int major, minor, micro;
26949 system ("touch conf.gtktest");
26951 /* HP/UX 9 (%@#!) writes to sscanf strings */
26952 tmp_version = g_strdup("$min_gtk_version");
26953 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26954 printf("%s, bad version string\n", "$min_gtk_version");
26958 if ((gtk_major_version != $gtk_config_major_version) ||
26959 (gtk_minor_version != $gtk_config_minor_version) ||
26960 (gtk_micro_version != $gtk_config_micro_version))
26962 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26963 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26964 gtk_major_version, gtk_minor_version, gtk_micro_version);
26965 printf ("*** was found! If gtk-config was correct, then it is best\n");
26966 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26967 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26968 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26969 printf("*** required on your system.\n");
26970 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26971 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26972 printf("*** before re-running configure\n");
26974 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26975 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26976 (gtk_minor_version != GTK_MINOR_VERSION) ||
26977 (gtk_micro_version != GTK_MICRO_VERSION))
26979 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26980 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26981 printf("*** library (version %d.%d.%d)\n",
26982 gtk_major_version, gtk_minor_version, gtk_micro_version);
26984 #endif /* defined (GTK_MAJOR_VERSION) ... */
26987 if ((gtk_major_version > major) ||
26988 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26989 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26995 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26996 gtk_major_version, gtk_minor_version, gtk_micro_version);
26997 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26998 major, minor, micro);
26999 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27001 printf("*** If you have already installed a sufficiently new version, this error\n");
27002 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27003 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27004 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27005 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27006 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27007 printf("*** so that the correct libraries are found at run-time))\n");
27014 rm -f conftest
$ac_exeext
27015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27016 (eval $ac_link) 2>&5
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27021 (eval $ac_try) 2>&5
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); }; }; then
27027 echo "$as_me: program exited with status $ac_status" >&5
27028 echo "$as_me: failed program was:" >&5
27029 sed 's/^/| /' conftest.
$ac_ext >&5
27031 ( exit $ac_status )
27034 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27036 CFLAGS
="$ac_save_CFLAGS"
27037 LIBS
="$ac_save_LIBS"
27040 if test "x$no_gtk" = x
; then
27041 echo "$as_me:$LINENO: result: yes" >&5
27042 echo "${ECHO_T}yes" >&6
27043 wx_cv_lib_gtk
=1.2.3
27045 echo "$as_me:$LINENO: result: no" >&5
27046 echo "${ECHO_T}no" >&6
27047 if test "$GTK_CONFIG" = "no" ; then
27048 echo "*** The gtk-config script installed by GTK could not be found"
27049 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27050 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27051 echo "*** full path to gtk-config."
27053 if test -f conf.gtktest
; then
27056 echo "*** Could not run GTK test program, checking why..."
27057 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27058 LIBS
="$LIBS $GTK_LIBS"
27059 cat >conftest.
$ac_ext <<_ACEOF
27062 cat confdefs.h
>>conftest.
$ac_ext
27063 cat >>conftest.
$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27066 #include <gtk/gtk.h>
27072 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27077 rm -f conftest.
$ac_objext conftest
$ac_exeext
27078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27079 (eval $ac_link) 2>conftest.er1
27081 grep -v '^ *+' conftest.er1
>conftest.err
27083 cat conftest.err
>&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); } &&
27086 { ac_try
='test -z "$ac_c_werror_flag"
27087 || test ! -s conftest.err'
27088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27089 (eval $ac_try) 2>&5
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); }; } &&
27093 { ac_try
='test -s conftest$ac_exeext'
27094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27095 (eval $ac_try) 2>&5
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); }; }; then
27099 echo "*** The test program compiled, but did not run. This usually means"
27100 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27101 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27102 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27103 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27104 echo "*** is required on your system"
27106 echo "*** If you have an old version installed, it is best to remove it, although"
27107 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27109 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27110 echo "*** came with the system with the command"
27112 echo "*** rpm --erase --nodeps gtk gtk-devel"
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.
$ac_ext >&5
27117 echo "*** The test program failed to compile or link. See the file config.log for the"
27118 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27119 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27120 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27122 rm -f conftest.err conftest.
$ac_objext \
27123 conftest
$ac_exeext conftest.
$ac_ext
27124 CFLAGS
="$ac_save_CFLAGS"
27125 LIBS
="$ac_save_LIBS"
27140 if test -z "$wx_cv_lib_gtk"; then
27143 wx_cv_cflags_gtk
=$GTK_CFLAGS
27144 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27151 if test "$gtk_version_cached" = 1; then
27152 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27153 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27156 case "$wx_cv_lib_gtk" in
27165 *) { { echo "$as_me:$LINENO: error:
27166 The development files for GTK+ were not found. For GTK+ 2, please
27167 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27168 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27169 and that the version is 1.2.3 or above. Also check that the
27170 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27171 --libs' are in the LD_LIBRARY_PATH or equivalent.
27173 echo "$as_me: error:
27174 The development files for GTK+ were not found. For GTK+ 2, please
27175 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27176 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27177 and that the version is 1.2.3 or above. Also check that the
27178 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27179 --libs' are in the LD_LIBRARY_PATH or equivalent.
27181 { (exit 1); exit 1; }; }
27185 if test "$WXGTK20" = 1; then
27186 save_CFLAGS
="$CFLAGS"
27188 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27189 LIBS
="$LIBS $wx_cv_libs_gtk"
27191 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27192 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27193 cat >conftest.
$ac_ext <<_ACEOF
27196 cat confdefs.h
>>conftest.
$ac_ext
27197 cat >>conftest.
$ac_ext <<_ACEOF
27198 /* end confdefs.h. */
27200 #include <gtk/gtk.h>
27206 void *f = gtk_icon_size_lookup;
27212 rm -f conftest.
$ac_objext
27213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27214 (eval $ac_compile) 2>conftest.er1
27216 grep -v '^ *+' conftest.er1
>conftest.err
27218 cat conftest.err
>&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } &&
27221 { ac_try
='test -z "$ac_c_werror_flag"
27222 || test ! -s conftest.err'
27223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27224 (eval $ac_try) 2>&5
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); }; } &&
27228 { ac_try
='test -s conftest.$ac_objext'
27229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27230 (eval $ac_try) 2>&5
27232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233 (exit $ac_status); }; }; then
27235 echo "$as_me:$LINENO: result: no" >&5
27236 echo "${ECHO_T}no" >&6
27239 echo "$as_me: failed program was:" >&5
27240 sed 's/^/| /' conftest.
$ac_ext >&5
27243 cat >>confdefs.h
<<\_ACEOF
27244 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27247 echo "$as_me:$LINENO: result: yes" >&5
27248 echo "${ECHO_T}yes" >&6
27251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27253 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27254 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27255 cat >conftest.
$ac_ext <<_ACEOF
27258 cat confdefs.h
>>conftest.
$ac_ext
27259 cat >>conftest.
$ac_ext <<_ACEOF
27260 /* end confdefs.h. */
27262 #include <gtk/gtk.h>
27268 #if !GTK_CHECK_VERSION(2,4,0)
27276 rm -f conftest.
$ac_objext
27277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27278 (eval $ac_compile) 2>conftest.er1
27280 grep -v '^ *+' conftest.er1
>conftest.err
27282 cat conftest.err
>&5
27283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27284 (exit $ac_status); } &&
27285 { ac_try
='test -z "$ac_c_werror_flag"
27286 || test ! -s conftest.err'
27287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27288 (eval $ac_try) 2>&5
27290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27291 (exit $ac_status); }; } &&
27292 { ac_try
='test -s conftest.$ac_objext'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; }; then
27299 cat >>confdefs.h
<<\_ACEOF
27300 #define __WXGTK24__ 1
27303 echo "$as_me:$LINENO: result: yes" >&5
27304 echo "${ECHO_T}yes" >&6
27307 echo "$as_me: failed program was:" >&5
27308 sed 's/^/| /' conftest.
$ac_ext >&5
27311 echo "$as_me:$LINENO: result: no" >&5
27312 echo "${ECHO_T}no" >&6
27315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27317 CFLAGS
="$save_CFLAGS"
27320 if test "$wxUSE_UNICODE" = "yes"; then
27321 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27322 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27327 if test "$USE_DARWIN" != 1; then
27329 for ac_func
in poll
27331 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27332 echo "$as_me:$LINENO: checking for $ac_func" >&5
27333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27334 if eval "test \"\${$as_ac_var+set}\" = set"; then
27335 echo $ECHO_N "(cached) $ECHO_C" >&6
27337 cat >conftest.
$ac_ext <<_ACEOF
27340 cat confdefs.h
>>conftest.
$ac_ext
27341 cat >>conftest.
$ac_ext <<_ACEOF
27342 /* end confdefs.h. */
27343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27345 #define $ac_func innocuous_$ac_func
27347 /* System header to define __stub macros and hopefully few prototypes,
27348 which can conflict with char $ac_func (); below.
27349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27350 <limits.h> exists even on freestanding compilers. */
27353 # include <limits.h>
27355 # include <assert.h>
27360 /* Override any gcc2 internal prototype to avoid an error. */
27365 /* We use char because int might match the return type of a gcc2
27366 builtin and then its argument prototype would still apply. */
27368 /* The GNU C library defines this for functions which it implements
27369 to always fail with ENOSYS. Some functions are actually named
27370 something starting with __ and the normal name is an alias. */
27371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27374 char (*f) () = $ac_func;
27383 return f != $ac_func;
27388 rm -f conftest.
$ac_objext conftest
$ac_exeext
27389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27390 (eval $ac_link) 2>conftest.er1
27392 grep -v '^ *+' conftest.er1
>conftest.err
27394 cat conftest.err
>&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } &&
27397 { ac_try
='test -z "$ac_c_werror_flag"
27398 || test ! -s conftest.err'
27399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27400 (eval $ac_try) 2>&5
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); }; } &&
27404 { ac_try
='test -s conftest$ac_exeext'
27405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406 (eval $ac_try) 2>&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); }; }; then
27410 eval "$as_ac_var=yes"
27412 echo "$as_me: failed program was:" >&5
27413 sed 's/^/| /' conftest.
$ac_ext >&5
27415 eval "$as_ac_var=no"
27417 rm -f conftest.err conftest.
$ac_objext \
27418 conftest
$ac_exeext conftest.
$ac_ext
27420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27422 if test `eval echo '${'$as_ac_var'}'` = yes; then
27423 cat >>confdefs.h
<<_ACEOF
27424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27432 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27433 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27435 AFMINSTALL
=afminstall
27439 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27440 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27441 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27442 echo $ECHO_N "(cached) $ECHO_C" >&6
27444 ac_check_lib_save_LIBS
=$LIBS
27446 cat >conftest.
$ac_ext <<_ACEOF
27449 cat confdefs.h
>>conftest.
$ac_ext
27450 cat >>conftest.
$ac_ext <<_ACEOF
27451 /* end confdefs.h. */
27453 /* Override any gcc2 internal prototype to avoid an error. */
27457 /* We use char because int might match the return type of a gcc2
27458 builtin and then its argument prototype would still apply. */
27459 char gdk_im_open ();
27468 rm -f conftest.
$ac_objext conftest
$ac_exeext
27469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27470 (eval $ac_link) 2>conftest.er1
27472 grep -v '^ *+' conftest.er1
>conftest.err
27474 cat conftest.err
>&5
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); } &&
27477 { ac_try
='test -z "$ac_c_werror_flag"
27478 || test ! -s conftest.err'
27479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27480 (eval $ac_try) 2>&5
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); }; } &&
27484 { ac_try
='test -s conftest$ac_exeext'
27485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27486 (eval $ac_try) 2>&5
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); }; }; then
27490 ac_cv_lib_gdk_gdk_im_open
=yes
27492 echo "$as_me: failed program was:" >&5
27493 sed 's/^/| /' conftest.
$ac_ext >&5
27495 ac_cv_lib_gdk_gdk_im_open
=no
27497 rm -f conftest.err conftest.
$ac_objext \
27498 conftest
$ac_exeext conftest.
$ac_ext
27499 LIBS
=$ac_check_lib_save_LIBS
27501 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27502 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27503 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27504 cat >>confdefs.h
<<\_ACEOF
27512 if test "$wxUSE_GPE" = "yes"; then
27513 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27514 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27517 for ac_dir
in $SEARCH_LIB;
27519 for ac_extension
in a so sl dylib dll.a
; do
27520 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27521 ac_find_libraries
=$ac_dir
27527 if test "$ac_find_libraries" != "" ; then
27529 if test "$ac_find_libraries" = "default location"; then
27532 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27534 if test $result = 0; then
27537 ac_path_to_link
=" -L$ac_find_libraries"
27541 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27543 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27544 echo "${ECHO_T}found in $ac_find_libraries" >&6
27546 echo "$as_me:$LINENO: result: not found" >&5
27547 echo "${ECHO_T}not found" >&6
27553 if test "$wxUSE_MGL" = 1; then
27554 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27555 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27556 if test "x$MGL_ROOT" = x
; then
27557 echo "$as_me:$LINENO: result: not found" >&5
27558 echo "${ECHO_T}not found" >&6
27559 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27560 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27561 { (exit 1); exit 1; }; }
27563 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27564 echo "${ECHO_T}$MGL_ROOT" >&6
27567 echo "$as_me:$LINENO: checking for libmgl location" >&5
27568 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27571 if test "x$wxUSE_SHARED" = xyes
; then
27572 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27574 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27578 mgl_os_candidates
="dos32/dj2"
27581 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27582 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27583 { (exit 1); exit 1; }; }
27589 for mgl_os_i
in $mgl_os_candidates ; do
27590 if test "x$mgl_os" = x
; then
27591 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27592 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27593 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27598 if test "x$mgl_lib_type" = x
; then
27599 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27600 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27601 mgl_lib_type
=release
27608 if test "x$mgl_os" = x
; then
27609 echo "$as_me:$LINENO: result: not found" >&5
27610 echo "${ECHO_T}not found" >&6
27611 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27612 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27613 { (exit 1); exit 1; }; }
27615 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27616 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27618 wxUSE_UNIVERSAL
="yes"
27620 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27621 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27623 AFMINSTALL
=afminstall
27628 if test "$wxUSE_MICROWIN" = 1; then
27629 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27630 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27631 if test "x$MICROWINDOWS" = x
; then
27632 echo "$as_me:$LINENO: result: not found" >&5
27633 echo "${ECHO_T}not found" >&6
27634 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27635 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27636 { (exit 1); exit 1; }; }
27638 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27639 echo "${ECHO_T}$MICROWINDOWS" >&6
27642 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27643 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27644 echo "${ECHO_T}MicroWindows' libraries found." >&6
27646 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27647 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27648 { (exit 1); exit 1; }; }
27651 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27652 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27654 wxUSE_UNIVERSAL
="yes"
27656 AFMINSTALL
=afminstall
27658 GUIDIST
=MICROWIN_DIST
27660 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27663 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27664 echo "$as_me:$LINENO: checking for X" >&5
27665 echo $ECHO_N "checking for X... $ECHO_C" >&6
27668 # Check whether --with-x or --without-x was given.
27669 if test "${with_x+set}" = set; then
27673 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27674 if test "x$with_x" = xno
; then
27675 # The user explicitly disabled X.
27678 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27679 # Both variables are already set.
27682 if test "${ac_cv_have_x+set}" = set; then
27683 echo $ECHO_N "(cached) $ECHO_C" >&6
27685 # One or both of the vars are not set, and there is no cached value.
27686 ac_x_includes
=no ac_x_libraries
=no
27687 rm -fr conftest.dir
27688 if mkdir conftest.dir
; then
27690 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27691 cat >Imakefile
<<'_ACEOF'
27693 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27695 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27696 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27697 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27698 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27699 for ac_extension
in a so sl
; do
27700 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27701 test -f $ac_im_libdir/libX11.
$ac_extension; then
27702 ac_im_usrlibdir
=$ac_im_libdir; break
27705 # Screen out bogus values from the imake configuration. They are
27706 # bogus both because they are the default anyway, and because
27707 # using them would break gcc on systems where it needs fixed includes.
27708 case $ac_im_incroot in
27710 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27712 case $ac_im_usrlibdir in
27713 /usr
/lib
| /lib
) ;;
27714 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27718 rm -fr conftest.dir
27721 # Standard set of common directories for X headers.
27722 # Check X11 before X11Rn because it is often a symlink to the current release.
27734 /usr/local/X11/include
27735 /usr/local/X11R6/include
27736 /usr/local/X11R5/include
27737 /usr/local/X11R4/include
27739 /usr/local/include/X11
27740 /usr/local/include/X11R6
27741 /usr/local/include/X11R5
27742 /usr/local/include/X11R4
27746 /usr/XFree86/include/X11
27750 /usr/unsupported/include
27751 /usr/athena/include
27752 /usr/local/x11r5/include
27753 /usr/lpp/Xamples/include
27755 /usr/openwin/include
27756 /usr/openwin/share/include'
27758 if test "$ac_x_includes" = no
; then
27759 # Guess where to find include files, by looking for Intrinsic.h.
27760 # First, try using that file with no special directory specified.
27761 cat >conftest.
$ac_ext <<_ACEOF
27764 cat confdefs.h
>>conftest.
$ac_ext
27765 cat >>conftest.
$ac_ext <<_ACEOF
27766 /* end confdefs.h. */
27767 #include <X11/Intrinsic.h>
27769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27770 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27772 grep -v '^ *+' conftest.er1
>conftest.err
27774 cat conftest.err
>&5
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); } >/dev
/null
; then
27777 if test -s conftest.err
; then
27778 ac_cpp_err
=$ac_c_preproc_warn_flag
27779 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27786 if test -z "$ac_cpp_err"; then
27787 # We can compile using X headers with no special include directory.
27790 echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.
$ac_ext >&5
27793 for ac_dir
in $ac_x_header_dirs; do
27794 if test -r "$ac_dir/X11/Intrinsic.h"; then
27795 ac_x_includes
=$ac_dir
27800 rm -f conftest.err conftest.
$ac_ext
27801 fi # $ac_x_includes = no
27803 if test "$ac_x_libraries" = no
; then
27804 # Check for the libraries.
27805 # See if we find them without any special options.
27806 # Don't add to $LIBS permanently.
27809 cat >conftest.
$ac_ext <<_ACEOF
27812 cat confdefs.h
>>conftest.
$ac_ext
27813 cat >>conftest.
$ac_ext <<_ACEOF
27814 /* end confdefs.h. */
27815 #include <X11/Intrinsic.h>
27824 rm -f conftest.
$ac_objext conftest
$ac_exeext
27825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27826 (eval $ac_link) 2>conftest.er1
27828 grep -v '^ *+' conftest.er1
>conftest.err
27830 cat conftest.err
>&5
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); } &&
27833 { ac_try
='test -z "$ac_c_werror_flag"
27834 || test ! -s conftest.err'
27835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27836 (eval $ac_try) 2>&5
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); }; } &&
27840 { ac_try
='test -s conftest$ac_exeext'
27841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27842 (eval $ac_try) 2>&5
27844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 (exit $ac_status); }; }; then
27847 # We can link X programs with no special library path.
27850 echo "$as_me: failed program was:" >&5
27851 sed 's/^/| /' conftest.
$ac_ext >&5
27854 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27856 # Don't even attempt the hair of trying to link an X program!
27857 for ac_extension
in a so sl
; do
27858 if test -r $ac_dir/libXt.
$ac_extension; then
27859 ac_x_libraries
=$ac_dir
27865 rm -f conftest.err conftest.
$ac_objext \
27866 conftest
$ac_exeext conftest.
$ac_ext
27867 fi # $ac_x_libraries = no
27869 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
27870 # Didn't find X anywhere. Cache the known absence of X.
27871 ac_cv_have_x
="have_x=no"
27873 # Record where we found X for the cache.
27874 ac_cv_have_x
="have_x=yes \
27875 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27880 eval "$ac_cv_have_x"
27883 if test "$have_x" != yes; then
27884 echo "$as_me:$LINENO: result: $have_x" >&5
27885 echo "${ECHO_T}$have_x" >&6
27888 # If each of the values was on the command line, it overrides each guess.
27889 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27890 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27891 # Update the cache value to reflect the command line values.
27892 ac_cv_have_x
="have_x=yes \
27893 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27894 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
27895 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
27898 if test "$no_x" = yes; then
27899 # Not all programs may use this symbol, but it does not hurt to define it.
27901 cat >>confdefs.h
<<\_ACEOF
27902 #define X_DISPLAY_MISSING 1
27905 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
27907 if test -n "$x_includes"; then
27908 X_CFLAGS
="$X_CFLAGS -I$x_includes"
27911 # It would also be nice to do this for all -L options, not just this one.
27912 if test -n "$x_libraries"; then
27913 X_LIBS
="$X_LIBS -L$x_libraries"
27914 # For Solaris; some versions of Sun CC require a space after -R and
27915 # others require no space. Words are not sufficient . . . .
27916 case `(uname -sr) 2>/dev/null` in
27918 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27919 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27920 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
27921 cat >conftest.
$ac_ext <<_ACEOF
27924 cat confdefs.h
>>conftest.
$ac_ext
27925 cat >>conftest.
$ac_ext <<_ACEOF
27926 /* end confdefs.h. */
27936 rm -f conftest.
$ac_objext conftest
$ac_exeext
27937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27938 (eval $ac_link) 2>conftest.er1
27940 grep -v '^ *+' conftest.er1
>conftest.err
27942 cat conftest.err
>&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); } &&
27945 { ac_try
='test -z "$ac_c_werror_flag"
27946 || test ! -s conftest.err'
27947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27948 (eval $ac_try) 2>&5
27950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27951 (exit $ac_status); }; } &&
27952 { ac_try
='test -s conftest$ac_exeext'
27953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27954 (eval $ac_try) 2>&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); }; }; then
27960 echo "$as_me: failed program was:" >&5
27961 sed 's/^/| /' conftest.
$ac_ext >&5
27965 rm -f conftest.err conftest.
$ac_objext \
27966 conftest
$ac_exeext conftest.
$ac_ext
27967 if test $ac_R_nospace = yes; then
27968 echo "$as_me:$LINENO: result: no" >&5
27969 echo "${ECHO_T}no" >&6
27970 X_LIBS
="$X_LIBS -R$x_libraries"
27972 LIBS
="$ac_xsave_LIBS -R $x_libraries"
27973 cat >conftest.
$ac_ext <<_ACEOF
27976 cat confdefs.h
>>conftest.
$ac_ext
27977 cat >>conftest.
$ac_ext <<_ACEOF
27978 /* end confdefs.h. */
27988 rm -f conftest.
$ac_objext conftest
$ac_exeext
27989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27990 (eval $ac_link) 2>conftest.er1
27992 grep -v '^ *+' conftest.er1
>conftest.err
27994 cat conftest.err
>&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); } &&
27997 { ac_try
='test -z "$ac_c_werror_flag"
27998 || test ! -s conftest.err'
27999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28000 (eval $ac_try) 2>&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); }; } &&
28004 { ac_try
='test -s conftest$ac_exeext'
28005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28006 (eval $ac_try) 2>&5
28008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28009 (exit $ac_status); }; }; then
28012 echo "$as_me: failed program was:" >&5
28013 sed 's/^/| /' conftest.
$ac_ext >&5
28017 rm -f conftest.err conftest.
$ac_objext \
28018 conftest
$ac_exeext conftest.
$ac_ext
28019 if test $ac_R_space = yes; then
28020 echo "$as_me:$LINENO: result: yes" >&5
28021 echo "${ECHO_T}yes" >&6
28022 X_LIBS
="$X_LIBS -R $x_libraries"
28024 echo "$as_me:$LINENO: result: neither works" >&5
28025 echo "${ECHO_T}neither works" >&6
28028 LIBS
=$ac_xsave_LIBS
28032 # Check for system-dependent libraries X programs must link with.
28033 # Do this before checking for the system-independent R6 libraries
28034 # (-lICE), since we may need -lsocket or whatever for X linking.
28036 if test "$ISC" = yes; then
28037 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28039 # Martyn Johnson says this is needed for Ultrix, if the X
28040 # libraries were built with DECnet support. And Karl Berry says
28041 # the Alpha needs dnet_stub (dnet does not exist).
28042 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28043 cat >conftest.
$ac_ext <<_ACEOF
28046 cat confdefs.h
>>conftest.
$ac_ext
28047 cat >>conftest.
$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28050 /* Override any gcc2 internal prototype to avoid an error. */
28054 /* We use char because int might match the return type of a gcc2
28055 builtin and then its argument prototype would still apply. */
28056 char XOpenDisplay ();
28065 rm -f conftest.
$ac_objext conftest
$ac_exeext
28066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28067 (eval $ac_link) 2>conftest.er1
28069 grep -v '^ *+' conftest.er1
>conftest.err
28071 cat conftest.err
>&5
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); } &&
28074 { ac_try
='test -z "$ac_c_werror_flag"
28075 || test ! -s conftest.err'
28076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28077 (eval $ac_try) 2>&5
28079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28080 (exit $ac_status); }; } &&
28081 { ac_try
='test -s conftest$ac_exeext'
28082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28083 (eval $ac_try) 2>&5
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); }; }; then
28089 echo "$as_me: failed program was:" >&5
28090 sed 's/^/| /' conftest.
$ac_ext >&5
28092 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28093 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28094 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28095 echo $ECHO_N "(cached) $ECHO_C" >&6
28097 ac_check_lib_save_LIBS
=$LIBS
28098 LIBS
="-ldnet $LIBS"
28099 cat >conftest.
$ac_ext <<_ACEOF
28102 cat confdefs.h
>>conftest.
$ac_ext
28103 cat >>conftest.
$ac_ext <<_ACEOF
28104 /* end confdefs.h. */
28106 /* Override any gcc2 internal prototype to avoid an error. */
28110 /* We use char because int might match the return type of a gcc2
28111 builtin and then its argument prototype would still apply. */
28121 rm -f conftest.
$ac_objext conftest
$ac_exeext
28122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28123 (eval $ac_link) 2>conftest.er1
28125 grep -v '^ *+' conftest.er1
>conftest.err
28127 cat conftest.err
>&5
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); } &&
28130 { ac_try
='test -z "$ac_c_werror_flag"
28131 || test ! -s conftest.err'
28132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28133 (eval $ac_try) 2>&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); }; } &&
28137 { ac_try
='test -s conftest$ac_exeext'
28138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28139 (eval $ac_try) 2>&5
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); }; }; then
28143 ac_cv_lib_dnet_dnet_ntoa
=yes
28145 echo "$as_me: failed program was:" >&5
28146 sed 's/^/| /' conftest.
$ac_ext >&5
28148 ac_cv_lib_dnet_dnet_ntoa
=no
28150 rm -f conftest.err conftest.
$ac_objext \
28151 conftest
$ac_exeext conftest.
$ac_ext
28152 LIBS
=$ac_check_lib_save_LIBS
28154 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28155 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28156 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28157 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28160 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28161 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28162 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28163 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28164 echo $ECHO_N "(cached) $ECHO_C" >&6
28166 ac_check_lib_save_LIBS
=$LIBS
28167 LIBS
="-ldnet_stub $LIBS"
28168 cat >conftest.
$ac_ext <<_ACEOF
28171 cat confdefs.h
>>conftest.
$ac_ext
28172 cat >>conftest.
$ac_ext <<_ACEOF
28173 /* end confdefs.h. */
28175 /* Override any gcc2 internal prototype to avoid an error. */
28179 /* We use char because int might match the return type of a gcc2
28180 builtin and then its argument prototype would still apply. */
28190 rm -f conftest.
$ac_objext conftest
$ac_exeext
28191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28192 (eval $ac_link) 2>conftest.er1
28194 grep -v '^ *+' conftest.er1
>conftest.err
28196 cat conftest.err
>&5
28197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28198 (exit $ac_status); } &&
28199 { ac_try
='test -z "$ac_c_werror_flag"
28200 || test ! -s conftest.err'
28201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28202 (eval $ac_try) 2>&5
28204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 (exit $ac_status); }; } &&
28206 { ac_try
='test -s conftest$ac_exeext'
28207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28208 (eval $ac_try) 2>&5
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); }; }; then
28212 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28214 echo "$as_me: failed program was:" >&5
28215 sed 's/^/| /' conftest.
$ac_ext >&5
28217 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28219 rm -f conftest.err conftest.
$ac_objext \
28220 conftest
$ac_exeext conftest.
$ac_ext
28221 LIBS
=$ac_check_lib_save_LIBS
28223 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28224 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28225 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28226 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28231 rm -f conftest.err conftest.
$ac_objext \
28232 conftest
$ac_exeext conftest.
$ac_ext
28233 LIBS
="$ac_xsave_LIBS"
28235 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28236 # to get the SysV transport functions.
28237 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28239 # The nsl library prevents programs from opening the X display
28240 # on Irix 5.2, according to T.E. Dickey.
28241 # The functions gethostbyname, getservbyname, and inet_addr are
28242 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28243 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28244 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28245 if test "${ac_cv_func_gethostbyname+set}" = set; then
28246 echo $ECHO_N "(cached) $ECHO_C" >&6
28248 cat >conftest.
$ac_ext <<_ACEOF
28251 cat confdefs.h
>>conftest.
$ac_ext
28252 cat >>conftest.
$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28254 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28256 #define gethostbyname innocuous_gethostbyname
28258 /* System header to define __stub macros and hopefully few prototypes,
28259 which can conflict with char gethostbyname (); below.
28260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28261 <limits.h> exists even on freestanding compilers. */
28264 # include <limits.h>
28266 # include <assert.h>
28269 #undef gethostbyname
28271 /* Override any gcc2 internal prototype to avoid an error. */
28276 /* We use char because int might match the return type of a gcc2
28277 builtin and then its argument prototype would still apply. */
28278 char gethostbyname ();
28279 /* The GNU C library defines this for functions which it implements
28280 to always fail with ENOSYS. Some functions are actually named
28281 something starting with __ and the normal name is an alias. */
28282 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28285 char (*f) () = gethostbyname;
28294 return f != gethostbyname;
28299 rm -f conftest.
$ac_objext conftest
$ac_exeext
28300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28301 (eval $ac_link) 2>conftest.er1
28303 grep -v '^ *+' conftest.er1
>conftest.err
28305 cat conftest.err
>&5
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); } &&
28308 { ac_try
='test -z "$ac_c_werror_flag"
28309 || test ! -s conftest.err'
28310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28311 (eval $ac_try) 2>&5
28313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28314 (exit $ac_status); }; } &&
28315 { ac_try
='test -s conftest$ac_exeext'
28316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28317 (eval $ac_try) 2>&5
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); }; }; then
28321 ac_cv_func_gethostbyname
=yes
28323 echo "$as_me: failed program was:" >&5
28324 sed 's/^/| /' conftest.
$ac_ext >&5
28326 ac_cv_func_gethostbyname
=no
28328 rm -f conftest.err conftest.
$ac_objext \
28329 conftest
$ac_exeext conftest.
$ac_ext
28331 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28332 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28334 if test $ac_cv_func_gethostbyname = no
; then
28335 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28336 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28337 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28338 echo $ECHO_N "(cached) $ECHO_C" >&6
28340 ac_check_lib_save_LIBS
=$LIBS
28342 cat >conftest.
$ac_ext <<_ACEOF
28345 cat confdefs.h
>>conftest.
$ac_ext
28346 cat >>conftest.
$ac_ext <<_ACEOF
28347 /* end confdefs.h. */
28349 /* Override any gcc2 internal prototype to avoid an error. */
28353 /* We use char because int might match the return type of a gcc2
28354 builtin and then its argument prototype would still apply. */
28355 char gethostbyname ();
28364 rm -f conftest.
$ac_objext conftest
$ac_exeext
28365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28366 (eval $ac_link) 2>conftest.er1
28368 grep -v '^ *+' conftest.er1
>conftest.err
28370 cat conftest.err
>&5
28371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372 (exit $ac_status); } &&
28373 { ac_try
='test -z "$ac_c_werror_flag"
28374 || test ! -s conftest.err'
28375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28376 (eval $ac_try) 2>&5
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); }; } &&
28380 { ac_try
='test -s conftest$ac_exeext'
28381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28382 (eval $ac_try) 2>&5
28384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28385 (exit $ac_status); }; }; then
28386 ac_cv_lib_nsl_gethostbyname
=yes
28388 echo "$as_me: failed program was:" >&5
28389 sed 's/^/| /' conftest.
$ac_ext >&5
28391 ac_cv_lib_nsl_gethostbyname
=no
28393 rm -f conftest.err conftest.
$ac_objext \
28394 conftest
$ac_exeext conftest.
$ac_ext
28395 LIBS
=$ac_check_lib_save_LIBS
28397 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28398 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28399 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28400 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28403 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28404 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28405 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28406 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28407 echo $ECHO_N "(cached) $ECHO_C" >&6
28409 ac_check_lib_save_LIBS
=$LIBS
28411 cat >conftest.
$ac_ext <<_ACEOF
28414 cat confdefs.h
>>conftest.
$ac_ext
28415 cat >>conftest.
$ac_ext <<_ACEOF
28416 /* end confdefs.h. */
28418 /* Override any gcc2 internal prototype to avoid an error. */
28422 /* We use char because int might match the return type of a gcc2
28423 builtin and then its argument prototype would still apply. */
28424 char gethostbyname ();
28433 rm -f conftest.
$ac_objext conftest
$ac_exeext
28434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28435 (eval $ac_link) 2>conftest.er1
28437 grep -v '^ *+' conftest.er1
>conftest.err
28439 cat conftest.err
>&5
28440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28441 (exit $ac_status); } &&
28442 { ac_try
='test -z "$ac_c_werror_flag"
28443 || test ! -s conftest.err'
28444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28445 (eval $ac_try) 2>&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); }; } &&
28449 { ac_try
='test -s conftest$ac_exeext'
28450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28451 (eval $ac_try) 2>&5
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); }; }; then
28455 ac_cv_lib_bsd_gethostbyname
=yes
28457 echo "$as_me: failed program was:" >&5
28458 sed 's/^/| /' conftest.
$ac_ext >&5
28460 ac_cv_lib_bsd_gethostbyname
=no
28462 rm -f conftest.err conftest.
$ac_objext \
28463 conftest
$ac_exeext conftest.
$ac_ext
28464 LIBS
=$ac_check_lib_save_LIBS
28466 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28467 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28468 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28469 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28475 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28476 # socket/setsockopt and other routines are undefined under SCO ODT
28477 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28478 # on later versions), says Simon Leinen: it contains gethostby*
28479 # variants that don't use the name server (or something). -lsocket
28480 # must be given before -lnsl if both are needed. We assume that
28481 # if connect needs -lnsl, so does gethostbyname.
28482 echo "$as_me:$LINENO: checking for connect" >&5
28483 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28484 if test "${ac_cv_func_connect+set}" = set; then
28485 echo $ECHO_N "(cached) $ECHO_C" >&6
28487 cat >conftest.
$ac_ext <<_ACEOF
28490 cat confdefs.h
>>conftest.
$ac_ext
28491 cat >>conftest.
$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28493 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28495 #define connect innocuous_connect
28497 /* System header to define __stub macros and hopefully few prototypes,
28498 which can conflict with char connect (); below.
28499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28500 <limits.h> exists even on freestanding compilers. */
28503 # include <limits.h>
28505 # include <assert.h>
28510 /* Override any gcc2 internal prototype to avoid an error. */
28515 /* We use char because int might match the return type of a gcc2
28516 builtin and then its argument prototype would still apply. */
28518 /* The GNU C library defines this for functions which it implements
28519 to always fail with ENOSYS. Some functions are actually named
28520 something starting with __ and the normal name is an alias. */
28521 #if defined (__stub_connect) || defined (__stub___connect)
28524 char (*f) () = connect;
28533 return f != connect;
28538 rm -f conftest.
$ac_objext conftest
$ac_exeext
28539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28540 (eval $ac_link) 2>conftest.er1
28542 grep -v '^ *+' conftest.er1
>conftest.err
28544 cat conftest.err
>&5
28545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28546 (exit $ac_status); } &&
28547 { ac_try
='test -z "$ac_c_werror_flag"
28548 || test ! -s conftest.err'
28549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28550 (eval $ac_try) 2>&5
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); }; } &&
28554 { ac_try
='test -s conftest$ac_exeext'
28555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28556 (eval $ac_try) 2>&5
28558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28559 (exit $ac_status); }; }; then
28560 ac_cv_func_connect
=yes
28562 echo "$as_me: failed program was:" >&5
28563 sed 's/^/| /' conftest.
$ac_ext >&5
28565 ac_cv_func_connect
=no
28567 rm -f conftest.err conftest.
$ac_objext \
28568 conftest
$ac_exeext conftest.
$ac_ext
28570 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28571 echo "${ECHO_T}$ac_cv_func_connect" >&6
28573 if test $ac_cv_func_connect = no
; then
28574 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28575 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28576 if test "${ac_cv_lib_socket_connect+set}" = set; then
28577 echo $ECHO_N "(cached) $ECHO_C" >&6
28579 ac_check_lib_save_LIBS
=$LIBS
28580 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28581 cat >conftest.
$ac_ext <<_ACEOF
28584 cat confdefs.h
>>conftest.
$ac_ext
28585 cat >>conftest.
$ac_ext <<_ACEOF
28586 /* end confdefs.h. */
28588 /* Override any gcc2 internal prototype to avoid an error. */
28592 /* We use char because int might match the return type of a gcc2
28593 builtin and then its argument prototype would still apply. */
28603 rm -f conftest.
$ac_objext conftest
$ac_exeext
28604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28605 (eval $ac_link) 2>conftest.er1
28607 grep -v '^ *+' conftest.er1
>conftest.err
28609 cat conftest.err
>&5
28610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28611 (exit $ac_status); } &&
28612 { ac_try
='test -z "$ac_c_werror_flag"
28613 || test ! -s conftest.err'
28614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28615 (eval $ac_try) 2>&5
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); }; } &&
28619 { ac_try
='test -s conftest$ac_exeext'
28620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28621 (eval $ac_try) 2>&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); }; }; then
28625 ac_cv_lib_socket_connect
=yes
28627 echo "$as_me: failed program was:" >&5
28628 sed 's/^/| /' conftest.
$ac_ext >&5
28630 ac_cv_lib_socket_connect
=no
28632 rm -f conftest.err conftest.
$ac_objext \
28633 conftest
$ac_exeext conftest.
$ac_ext
28634 LIBS
=$ac_check_lib_save_LIBS
28636 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28637 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28638 if test $ac_cv_lib_socket_connect = yes; then
28639 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28644 # Guillermo Gomez says -lposix is necessary on A/UX.
28645 echo "$as_me:$LINENO: checking for remove" >&5
28646 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28647 if test "${ac_cv_func_remove+set}" = set; then
28648 echo $ECHO_N "(cached) $ECHO_C" >&6
28650 cat >conftest.
$ac_ext <<_ACEOF
28653 cat confdefs.h
>>conftest.
$ac_ext
28654 cat >>conftest.
$ac_ext <<_ACEOF
28655 /* end confdefs.h. */
28656 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28658 #define remove innocuous_remove
28660 /* System header to define __stub macros and hopefully few prototypes,
28661 which can conflict with char remove (); below.
28662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28663 <limits.h> exists even on freestanding compilers. */
28666 # include <limits.h>
28668 # include <assert.h>
28673 /* Override any gcc2 internal prototype to avoid an error. */
28678 /* We use char because int might match the return type of a gcc2
28679 builtin and then its argument prototype would still apply. */
28681 /* The GNU C library defines this for functions which it implements
28682 to always fail with ENOSYS. Some functions are actually named
28683 something starting with __ and the normal name is an alias. */
28684 #if defined (__stub_remove) || defined (__stub___remove)
28687 char (*f) () = remove;
28696 return f != remove;
28701 rm -f conftest.
$ac_objext conftest
$ac_exeext
28702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28703 (eval $ac_link) 2>conftest.er1
28705 grep -v '^ *+' conftest.er1
>conftest.err
28707 cat conftest.err
>&5
28708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709 (exit $ac_status); } &&
28710 { ac_try
='test -z "$ac_c_werror_flag"
28711 || test ! -s conftest.err'
28712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28713 (eval $ac_try) 2>&5
28715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28716 (exit $ac_status); }; } &&
28717 { ac_try
='test -s conftest$ac_exeext'
28718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28719 (eval $ac_try) 2>&5
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); }; }; then
28723 ac_cv_func_remove
=yes
28725 echo "$as_me: failed program was:" >&5
28726 sed 's/^/| /' conftest.
$ac_ext >&5
28728 ac_cv_func_remove
=no
28730 rm -f conftest.err conftest.
$ac_objext \
28731 conftest
$ac_exeext conftest.
$ac_ext
28733 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28734 echo "${ECHO_T}$ac_cv_func_remove" >&6
28736 if test $ac_cv_func_remove = no
; then
28737 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28738 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28739 if test "${ac_cv_lib_posix_remove+set}" = set; then
28740 echo $ECHO_N "(cached) $ECHO_C" >&6
28742 ac_check_lib_save_LIBS
=$LIBS
28743 LIBS
="-lposix $LIBS"
28744 cat >conftest.
$ac_ext <<_ACEOF
28747 cat confdefs.h
>>conftest.
$ac_ext
28748 cat >>conftest.
$ac_ext <<_ACEOF
28749 /* end confdefs.h. */
28751 /* Override any gcc2 internal prototype to avoid an error. */
28755 /* We use char because int might match the return type of a gcc2
28756 builtin and then its argument prototype would still apply. */
28766 rm -f conftest.
$ac_objext conftest
$ac_exeext
28767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28768 (eval $ac_link) 2>conftest.er1
28770 grep -v '^ *+' conftest.er1
>conftest.err
28772 cat conftest.err
>&5
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); } &&
28775 { ac_try
='test -z "$ac_c_werror_flag"
28776 || test ! -s conftest.err'
28777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28778 (eval $ac_try) 2>&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); }; } &&
28782 { ac_try
='test -s conftest$ac_exeext'
28783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28784 (eval $ac_try) 2>&5
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); }; }; then
28788 ac_cv_lib_posix_remove
=yes
28790 echo "$as_me: failed program was:" >&5
28791 sed 's/^/| /' conftest.
$ac_ext >&5
28793 ac_cv_lib_posix_remove
=no
28795 rm -f conftest.err conftest.
$ac_objext \
28796 conftest
$ac_exeext conftest.
$ac_ext
28797 LIBS
=$ac_check_lib_save_LIBS
28799 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28800 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28801 if test $ac_cv_lib_posix_remove = yes; then
28802 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28807 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28808 echo "$as_me:$LINENO: checking for shmat" >&5
28809 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28810 if test "${ac_cv_func_shmat+set}" = set; then
28811 echo $ECHO_N "(cached) $ECHO_C" >&6
28813 cat >conftest.
$ac_ext <<_ACEOF
28816 cat confdefs.h
>>conftest.
$ac_ext
28817 cat >>conftest.
$ac_ext <<_ACEOF
28818 /* end confdefs.h. */
28819 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28821 #define shmat innocuous_shmat
28823 /* System header to define __stub macros and hopefully few prototypes,
28824 which can conflict with char shmat (); below.
28825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28826 <limits.h> exists even on freestanding compilers. */
28829 # include <limits.h>
28831 # include <assert.h>
28836 /* Override any gcc2 internal prototype to avoid an error. */
28841 /* We use char because int might match the return type of a gcc2
28842 builtin and then its argument prototype would still apply. */
28844 /* The GNU C library defines this for functions which it implements
28845 to always fail with ENOSYS. Some functions are actually named
28846 something starting with __ and the normal name is an alias. */
28847 #if defined (__stub_shmat) || defined (__stub___shmat)
28850 char (*f) () = shmat;
28864 rm -f conftest.
$ac_objext conftest
$ac_exeext
28865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28866 (eval $ac_link) 2>conftest.er1
28868 grep -v '^ *+' conftest.er1
>conftest.err
28870 cat conftest.err
>&5
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); } &&
28873 { ac_try
='test -z "$ac_c_werror_flag"
28874 || test ! -s conftest.err'
28875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28876 (eval $ac_try) 2>&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); }; } &&
28880 { ac_try
='test -s conftest$ac_exeext'
28881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28882 (eval $ac_try) 2>&5
28884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885 (exit $ac_status); }; }; then
28886 ac_cv_func_shmat
=yes
28888 echo "$as_me: failed program was:" >&5
28889 sed 's/^/| /' conftest.
$ac_ext >&5
28891 ac_cv_func_shmat
=no
28893 rm -f conftest.err conftest.
$ac_objext \
28894 conftest
$ac_exeext conftest.
$ac_ext
28896 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28897 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28899 if test $ac_cv_func_shmat = no
; then
28900 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28901 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28902 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28903 echo $ECHO_N "(cached) $ECHO_C" >&6
28905 ac_check_lib_save_LIBS
=$LIBS
28907 cat >conftest.
$ac_ext <<_ACEOF
28910 cat confdefs.h
>>conftest.
$ac_ext
28911 cat >>conftest.
$ac_ext <<_ACEOF
28912 /* end confdefs.h. */
28914 /* Override any gcc2 internal prototype to avoid an error. */
28918 /* We use char because int might match the return type of a gcc2
28919 builtin and then its argument prototype would still apply. */
28929 rm -f conftest.
$ac_objext conftest
$ac_exeext
28930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28931 (eval $ac_link) 2>conftest.er1
28933 grep -v '^ *+' conftest.er1
>conftest.err
28935 cat conftest.err
>&5
28936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28937 (exit $ac_status); } &&
28938 { ac_try
='test -z "$ac_c_werror_flag"
28939 || test ! -s conftest.err'
28940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28941 (eval $ac_try) 2>&5
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); }; } &&
28945 { ac_try
='test -s conftest$ac_exeext'
28946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28947 (eval $ac_try) 2>&5
28949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28950 (exit $ac_status); }; }; then
28951 ac_cv_lib_ipc_shmat
=yes
28953 echo "$as_me: failed program was:" >&5
28954 sed 's/^/| /' conftest.
$ac_ext >&5
28956 ac_cv_lib_ipc_shmat
=no
28958 rm -f conftest.err conftest.
$ac_objext \
28959 conftest
$ac_exeext conftest.
$ac_ext
28960 LIBS
=$ac_check_lib_save_LIBS
28962 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28963 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28964 if test $ac_cv_lib_ipc_shmat = yes; then
28965 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
28971 # Check for libraries that X11R6 Xt/Xaw programs need.
28972 ac_save_LDFLAGS
=$LDFLAGS
28973 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
28974 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28975 # check for ICE first), but we must link in the order -lSM -lICE or
28976 # we get undefined symbols. So assume we have SM if we have ICE.
28977 # These have to be linked with before -lX11, unlike the other
28978 # libraries we check for below, so use a different variable.
28979 # John Interrante, Karl Berry
28980 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28981 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28982 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28983 echo $ECHO_N "(cached) $ECHO_C" >&6
28985 ac_check_lib_save_LIBS
=$LIBS
28986 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28987 cat >conftest.
$ac_ext <<_ACEOF
28990 cat confdefs.h
>>conftest.
$ac_ext
28991 cat >>conftest.
$ac_ext <<_ACEOF
28992 /* end confdefs.h. */
28994 /* Override any gcc2 internal prototype to avoid an error. */
28998 /* We use char because int might match the return type of a gcc2
28999 builtin and then its argument prototype would still apply. */
29000 char IceConnectionNumber ();
29004 IceConnectionNumber ();
29009 rm -f conftest.
$ac_objext conftest
$ac_exeext
29010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29011 (eval $ac_link) 2>conftest.er1
29013 grep -v '^ *+' conftest.er1
>conftest.err
29015 cat conftest.err
>&5
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); } &&
29018 { ac_try
='test -z "$ac_c_werror_flag"
29019 || test ! -s conftest.err'
29020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29021 (eval $ac_try) 2>&5
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); }; } &&
29025 { ac_try
='test -s conftest$ac_exeext'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; }; then
29031 ac_cv_lib_ICE_IceConnectionNumber
=yes
29033 echo "$as_me: failed program was:" >&5
29034 sed 's/^/| /' conftest.
$ac_ext >&5
29036 ac_cv_lib_ICE_IceConnectionNumber
=no
29038 rm -f conftest.err conftest.
$ac_objext \
29039 conftest
$ac_exeext conftest.
$ac_ext
29040 LIBS
=$ac_check_lib_save_LIBS
29042 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29043 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29044 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29045 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29048 LDFLAGS
=$ac_save_LDFLAGS
29053 if test "$no_x" = "yes"; then
29054 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29055 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29056 { (exit 1); exit 1; }; }
29059 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29060 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29061 AFMINSTALL
=afminstall
29062 COMPILED_X_PROGRAM
=0
29066 if test "$wxUSE_X11" = 1; then
29067 if test "$wxUSE_NANOX" = "yes"; then
29068 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29069 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29070 if test "x$MICROWIN" = x
; then
29071 echo "$as_me:$LINENO: result: not found" >&5
29072 echo "${ECHO_T}not found" >&6
29073 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29074 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29075 { (exit 1); exit 1; }; }
29077 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29078 echo "${ECHO_T}$MICROWIN" >&6
29079 cat >>confdefs.h
<<\_ACEOF
29080 #define wxUSE_NANOX 1
29086 if test "$wxUSE_UNICODE" = "yes"; then
29090 if test -z "$PKG_CONFIG"; then
29091 # Extract the first word of "pkg-config", so it can be a program name with args.
29092 set dummy pkg
-config; ac_word
=$2
29093 echo "$as_me:$LINENO: checking for $ac_word" >&5
29094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29095 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29096 echo $ECHO_N "(cached) $ECHO_C" >&6
29098 case $PKG_CONFIG in
29100 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29104 for as_dir
in $PATH
29107 test -z "$as_dir" && as_dir
=.
29108 for ac_exec_ext
in '' $ac_executable_extensions; do
29109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29110 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29117 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29121 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29123 if test -n "$PKG_CONFIG"; then
29124 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29125 echo "${ECHO_T}$PKG_CONFIG" >&6
29127 echo "$as_me:$LINENO: result: no" >&5
29128 echo "${ECHO_T}no" >&6
29133 if test "$PKG_CONFIG" = "no" ; then
29134 echo "*** The pkg-config script could not be found. Make sure it is"
29135 echo "*** in your path, or set the PKG_CONFIG environment variable"
29136 echo "*** to the full path to pkg-config."
29137 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29139 PKG_CONFIG_MIN_VERSION
=0.9.0
29140 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29141 echo "$as_me:$LINENO: checking for pangox" >&5
29142 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29144 if $PKG_CONFIG --exists "pangox" ; then
29145 echo "$as_me:$LINENO: result: yes" >&5
29146 echo "${ECHO_T}yes" >&6
29149 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29150 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29151 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29152 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29153 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29155 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29156 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29157 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29158 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29159 echo "${ECHO_T}$PANGOX_LIBS" >&6
29163 ## If we have a custom action on failure, don't print errors, but
29164 ## do set a variable so people can do so.
29165 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29172 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29173 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29177 if test $succeeded = yes; then
29179 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29180 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29184 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29185 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29186 { (exit 1); exit 1; }; }
29194 if test -z "$PKG_CONFIG"; then
29195 # Extract the first word of "pkg-config", so it can be a program name with args.
29196 set dummy pkg
-config; ac_word
=$2
29197 echo "$as_me:$LINENO: checking for $ac_word" >&5
29198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29199 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29200 echo $ECHO_N "(cached) $ECHO_C" >&6
29202 case $PKG_CONFIG in
29204 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29208 for as_dir
in $PATH
29211 test -z "$as_dir" && as_dir
=.
29212 for ac_exec_ext
in '' $ac_executable_extensions; do
29213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29214 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29221 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29225 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29227 if test -n "$PKG_CONFIG"; then
29228 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29229 echo "${ECHO_T}$PKG_CONFIG" >&6
29231 echo "$as_me:$LINENO: result: no" >&5
29232 echo "${ECHO_T}no" >&6
29237 if test "$PKG_CONFIG" = "no" ; then
29238 echo "*** The pkg-config script could not be found. Make sure it is"
29239 echo "*** in your path, or set the PKG_CONFIG environment variable"
29240 echo "*** to the full path to pkg-config."
29241 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29243 PKG_CONFIG_MIN_VERSION
=0.9.0
29244 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29245 echo "$as_me:$LINENO: checking for pangoft2" >&5
29246 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29248 if $PKG_CONFIG --exists "pangoft2" ; then
29249 echo "$as_me:$LINENO: result: yes" >&5
29250 echo "${ECHO_T}yes" >&6
29253 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29254 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29255 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29256 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29257 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29259 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29260 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29261 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29262 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29263 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29267 ## If we have a custom action on failure, don't print errors, but
29268 ## do set a variable so people can do so.
29269 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29276 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29277 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29281 if test $succeeded = yes; then
29283 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29284 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29288 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29289 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29290 wxUSE_PRINTING_ARCHITECTURE
="no"
29298 if test -z "$PKG_CONFIG"; then
29299 # Extract the first word of "pkg-config", so it can be a program name with args.
29300 set dummy pkg
-config; ac_word
=$2
29301 echo "$as_me:$LINENO: checking for $ac_word" >&5
29302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29303 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29304 echo $ECHO_N "(cached) $ECHO_C" >&6
29306 case $PKG_CONFIG in
29308 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29312 for as_dir
in $PATH
29315 test -z "$as_dir" && as_dir
=.
29316 for ac_exec_ext
in '' $ac_executable_extensions; do
29317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29318 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29325 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29329 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29331 if test -n "$PKG_CONFIG"; then
29332 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29333 echo "${ECHO_T}$PKG_CONFIG" >&6
29335 echo "$as_me:$LINENO: result: no" >&5
29336 echo "${ECHO_T}no" >&6
29341 if test "$PKG_CONFIG" = "no" ; then
29342 echo "*** The pkg-config script could not be found. Make sure it is"
29343 echo "*** in your path, or set the PKG_CONFIG environment variable"
29344 echo "*** to the full path to pkg-config."
29345 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29347 PKG_CONFIG_MIN_VERSION
=0.9.0
29348 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29349 echo "$as_me:$LINENO: checking for pangoxft" >&5
29350 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29352 if $PKG_CONFIG --exists "pangoxft" ; then
29353 echo "$as_me:$LINENO: result: yes" >&5
29354 echo "${ECHO_T}yes" >&6
29357 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29358 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29359 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29360 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29361 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29363 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29364 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29365 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29366 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29367 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29371 ## If we have a custom action on failure, don't print errors, but
29372 ## do set a variable so people can do so.
29373 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29380 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29381 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29385 if test $succeeded = yes; then
29387 cat >>confdefs.h
<<\_ACEOF
29388 #define HAVE_PANGO_XFT 1
29391 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29392 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29396 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29397 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29402 save_CFLAGS
="$CFLAGS"
29404 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
29405 LIBS
="$LIBS $PANGOX_LIBS"
29407 for ac_func
in pango_font_family_is_monospace
29409 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29410 echo "$as_me:$LINENO: checking for $ac_func" >&5
29411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29412 if eval "test \"\${$as_ac_var+set}\" = set"; then
29413 echo $ECHO_N "(cached) $ECHO_C" >&6
29415 cat >conftest.
$ac_ext <<_ACEOF
29418 cat confdefs.h
>>conftest.
$ac_ext
29419 cat >>conftest.
$ac_ext <<_ACEOF
29420 /* end confdefs.h. */
29421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29423 #define $ac_func innocuous_$ac_func
29425 /* System header to define __stub macros and hopefully few prototypes,
29426 which can conflict with char $ac_func (); below.
29427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29428 <limits.h> exists even on freestanding compilers. */
29431 # include <limits.h>
29433 # include <assert.h>
29438 /* Override any gcc2 internal prototype to avoid an error. */
29443 /* We use char because int might match the return type of a gcc2
29444 builtin and then its argument prototype would still apply. */
29446 /* The GNU C library defines this for functions which it implements
29447 to always fail with ENOSYS. Some functions are actually named
29448 something starting with __ and the normal name is an alias. */
29449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29452 char (*f) () = $ac_func;
29461 return f != $ac_func;
29466 rm -f conftest.
$ac_objext conftest
$ac_exeext
29467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29468 (eval $ac_link) 2>conftest.er1
29470 grep -v '^ *+' conftest.er1
>conftest.err
29472 cat conftest.err
>&5
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); } &&
29475 { ac_try
='test -z "$ac_c_werror_flag"
29476 || test ! -s conftest.err'
29477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29478 (eval $ac_try) 2>&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); }; } &&
29482 { ac_try
='test -s conftest$ac_exeext'
29483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29484 (eval $ac_try) 2>&5
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); }; }; then
29488 eval "$as_ac_var=yes"
29490 echo "$as_me: failed program was:" >&5
29491 sed 's/^/| /' conftest.
$ac_ext >&5
29493 eval "$as_ac_var=no"
29495 rm -f conftest.err conftest.
$ac_objext \
29496 conftest
$ac_exeext conftest.
$ac_ext
29498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29500 if test `eval echo '${'$as_ac_var'}'` = yes; then
29501 cat >>confdefs.h
<<_ACEOF
29502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29508 CFLAGS
="$save_CFLAGS"
29512 wxUSE_UNIVERSAL
="yes"
29514 if test "$wxUSE_NANOX" = "yes"; then
29515 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29516 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"
29517 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29519 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29526 if test "$wxUSE_MOTIF" = 1; then
29527 if test "$wxUSE_UNICODE" = "yes"; then
29528 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29529 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29530 { (exit 1); exit 1; }; }
29533 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29534 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29537 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29539 if test -f "$ac_dir/Xm/Xm.h"; then
29540 ac_find_includes
=$ac_dir
29545 if test "$ac_find_includes" != "" ; then
29546 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29547 echo "${ECHO_T}found in $ac_find_includes" >&6
29549 if test "x$ac_find_includes" = "x/usr/include"; then
29550 ac_path_to_include
=""
29552 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29554 if test $result = 0; then
29555 ac_path_to_include
=""
29557 ac_path_to_include
=" -I$ac_find_includes"
29561 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29563 save_CFLAGS
=$CFLAGS
29564 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29566 cat >conftest.
$ac_ext <<_ACEOF
29569 cat confdefs.h
>>conftest.
$ac_ext
29570 cat >>conftest.
$ac_ext <<_ACEOF
29571 /* end confdefs.h. */
29580 version = xmUseVersion;
29586 rm -f conftest.
$ac_objext
29587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29588 (eval $ac_compile) 2>conftest.er1
29590 grep -v '^ *+' conftest.er1
>conftest.err
29592 cat conftest.err
>&5
29593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594 (exit $ac_status); } &&
29595 { ac_try
='test -z "$ac_c_werror_flag"
29596 || test ! -s conftest.err'
29597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29598 (eval $ac_try) 2>&5
29600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29601 (exit $ac_status); }; } &&
29602 { ac_try
='test -s conftest.$ac_objext'
29603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29604 (eval $ac_try) 2>&5
29606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29607 (exit $ac_status); }; }; then
29609 echo "$as_me:$LINENO: result: found in default search path" >&5
29610 echo "${ECHO_T}found in default search path" >&6
29611 COMPILED_X_PROGRAM
=1
29614 echo "$as_me: failed program was:" >&5
29615 sed 's/^/| /' conftest.
$ac_ext >&5
29618 echo "$as_me:$LINENO: result: no" >&5
29619 echo "${ECHO_T}no" >&6
29620 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29621 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29622 { (exit 1); exit 1; }; }
29626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29628 CFLAGS
=$save_CFLAGS
29632 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29633 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29636 for ac_dir
in $SEARCH_LIB;
29638 for ac_extension
in a so sl dylib dll.a
; do
29639 if test -f "$ac_dir/libXm.$ac_extension"; then
29640 ac_find_libraries
=$ac_dir
29647 if test "x$ac_find_libraries" != "x" ; then
29648 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29649 echo "${ECHO_T}found in $ac_find_libraries" >&6
29652 if test "$ac_find_libraries" = "default location"; then
29655 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29657 if test $result = 0; then
29660 ac_path_to_link
=" -L$ac_find_libraries"
29664 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29666 save_CFLAGS
=$CFLAGS
29667 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29669 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29671 cat >conftest.
$ac_ext <<_ACEOF
29674 cat confdefs.h
>>conftest.
$ac_ext
29675 cat >>conftest.
$ac_ext <<_ACEOF
29676 /* end confdefs.h. */
29685 version = xmUseVersion;
29691 rm -f conftest.
$ac_objext conftest
$ac_exeext
29692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29693 (eval $ac_link) 2>conftest.er1
29695 grep -v '^ *+' conftest.er1
>conftest.err
29697 cat conftest.err
>&5
29698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699 (exit $ac_status); } &&
29700 { ac_try
='test -z "$ac_c_werror_flag"
29701 || test ! -s conftest.err'
29702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703 (eval $ac_try) 2>&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); }; } &&
29707 { ac_try
='test -s conftest$ac_exeext'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; }; then
29714 echo "$as_me:$LINENO: result: found in default search path" >&5
29715 echo "${ECHO_T}found in default search path" >&6
29716 COMPILED_X_PROGRAM
=1
29719 echo "$as_me: failed program was:" >&5
29720 sed 's/^/| /' conftest.
$ac_ext >&5
29723 echo "$as_me:$LINENO: result: no" >&5
29724 echo "${ECHO_T}no" >&6
29725 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29726 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29727 { (exit 1); exit 1; }; }
29731 rm -f conftest.err conftest.
$ac_objext \
29732 conftest
$ac_exeext conftest.
$ac_ext
29734 CFLAGS
=$save_CFLAGS
29738 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29739 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29743 for libp
in "" " -lXp"; do
29744 if test "$libs_found" = "0"; then
29745 for libsm_ice
in "" " -lSM -lICE"; do
29746 if test "$libs_found" = "0"; then
29748 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29749 save_CFLAGS
=$CFLAGS
29750 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29752 cat >conftest.
$ac_ext <<_ACEOF
29755 cat confdefs.h
>>conftest.
$ac_ext
29756 cat >>conftest.
$ac_ext <<_ACEOF
29757 /* end confdefs.h. */
29760 #include <Xm/List.h>
29766 XmString string = NULL;
29769 XmListAddItem(w, string, position);
29775 rm -f conftest.
$ac_objext conftest
$ac_exeext
29776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29777 (eval $ac_link) 2>conftest.er1
29779 grep -v '^ *+' conftest.er1
>conftest.err
29781 cat conftest.err
>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } &&
29784 { ac_try
='test -z "$ac_c_werror_flag"
29785 || test ! -s conftest.err'
29786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29787 (eval $ac_try) 2>&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); }; } &&
29791 { ac_try
='test -s conftest$ac_exeext'
29792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29793 (eval $ac_try) 2>&5
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); }; }; then
29799 libsm_ice_link
="$libsm_ice"
29800 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29801 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29805 echo "$as_me: failed program was:" >&5
29806 sed 's/^/| /' conftest.
$ac_ext >&5
29811 rm -f conftest.err conftest.
$ac_objext \
29812 conftest
$ac_exeext conftest.
$ac_ext
29815 CFLAGS
=$save_CFLAGS
29821 if test "$libs_found" = "0"; then
29822 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29823 echo "${ECHO_T}can't find the right libraries" >&6
29824 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29825 echo "$as_me: error: can't link a simple motif program" >&2;}
29826 { (exit 1); exit 1; }; }
29829 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29830 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29831 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29832 echo $ECHO_N "(cached) $ECHO_C" >&6
29834 ac_check_lib_save_LIBS
=$LIBS
29836 cat >conftest.
$ac_ext <<_ACEOF
29839 cat confdefs.h
>>conftest.
$ac_ext
29840 cat >>conftest.
$ac_ext <<_ACEOF
29841 /* end confdefs.h. */
29843 /* Override any gcc2 internal prototype to avoid an error. */
29847 /* We use char because int might match the return type of a gcc2
29848 builtin and then its argument prototype would still apply. */
29849 char SgCreateList ();
29858 rm -f conftest.
$ac_objext conftest
$ac_exeext
29859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29860 (eval $ac_link) 2>conftest.er1
29862 grep -v '^ *+' conftest.er1
>conftest.err
29864 cat conftest.err
>&5
29865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866 (exit $ac_status); } &&
29867 { ac_try
='test -z "$ac_c_werror_flag"
29868 || test ! -s conftest.err'
29869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29870 (eval $ac_try) 2>&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); }; } &&
29874 { ac_try
='test -s conftest$ac_exeext'
29875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29876 (eval $ac_try) 2>&5
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); }; }; then
29880 ac_cv_lib_Sgm_SgCreateList
=yes
29882 echo "$as_me: failed program was:" >&5
29883 sed 's/^/| /' conftest.
$ac_ext >&5
29885 ac_cv_lib_Sgm_SgCreateList
=no
29887 rm -f conftest.err conftest.
$ac_objext \
29888 conftest
$ac_exeext conftest.
$ac_ext
29889 LIBS
=$ac_check_lib_save_LIBS
29891 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29892 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29893 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29894 libsgm_link
=" -lSgm"
29898 save_CFLAGS
=$CFLAGS
29899 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29901 echo "$as_me:$LINENO: checking for Motif 2" >&5
29902 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29903 if test "${wx_cv_lib_motif2+set}" = set; then
29904 echo $ECHO_N "(cached) $ECHO_C" >&6
29906 cat >conftest.
$ac_ext <<_ACEOF
29909 cat confdefs.h
>>conftest.
$ac_ext
29910 cat >>conftest.
$ac_ext <<_ACEOF
29911 /* end confdefs.h. */
29919 #if XmVersion < 2000
29927 rm -f conftest.
$ac_objext
29928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29929 (eval $ac_compile) 2>conftest.er1
29931 grep -v '^ *+' conftest.er1
>conftest.err
29933 cat conftest.err
>&5
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); } &&
29936 { ac_try
='test -z "$ac_c_werror_flag"
29937 || test ! -s conftest.err'
29938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29939 (eval $ac_try) 2>&5
29941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29942 (exit $ac_status); }; } &&
29943 { ac_try
='test -s conftest.$ac_objext'
29944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29945 (eval $ac_try) 2>&5
29947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29948 (exit $ac_status); }; }; then
29949 wx_cv_lib_motif2
="yes"
29951 echo "$as_me: failed program was:" >&5
29952 sed 's/^/| /' conftest.
$ac_ext >&5
29954 wx_cv_lib_motif2
="no"
29956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29958 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29959 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29960 if test "$wx_cv_lib_motif2" = "yes"; then
29961 cat >>confdefs.h
<<\_ACEOF
29962 #define __WXMOTIF20__ 1
29966 cat >>confdefs.h
<<\_ACEOF
29967 #define __WXMOTIF20__ 0
29972 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29973 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29974 if test "${wx_cv_lib_lesstif+set}" = set; then
29975 echo $ECHO_N "(cached) $ECHO_C" >&6
29977 cat >conftest.
$ac_ext <<_ACEOF
29980 cat confdefs.h
>>conftest.
$ac_ext
29981 cat >>conftest.
$ac_ext <<_ACEOF
29982 /* end confdefs.h. */
29990 #if !defined(LesstifVersion) || LesstifVersion <= 0
29998 rm -f conftest.
$ac_objext
29999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30000 (eval $ac_compile) 2>conftest.er1
30002 grep -v '^ *+' conftest.er1
>conftest.err
30004 cat conftest.err
>&5
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); } &&
30007 { ac_try
='test -z "$ac_c_werror_flag"
30008 || test ! -s conftest.err'
30009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010 (eval $ac_try) 2>&5
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); }; } &&
30014 { ac_try
='test -s conftest.$ac_objext'
30015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30016 (eval $ac_try) 2>&5
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); }; }; then
30020 wx_cv_lib_lesstif
="yes"
30022 echo "$as_me: failed program was:" >&5
30023 sed 's/^/| /' conftest.
$ac_ext >&5
30025 wx_cv_lib_lesstif
="no"
30027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30030 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30031 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30032 if test "$wx_cv_lib_lesstif" = "yes"; then
30033 cat >>confdefs.h
<<\_ACEOF
30034 #define __WXLESSTIF__ 1
30038 cat >>confdefs.h
<<\_ACEOF
30039 #define __WXLESSTIF__ 0
30044 CFLAGS
=$save_CFLAGS
30046 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30051 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30052 if test "$wxUSE_LIBXPM" = "sys"; then
30053 echo "$as_me:$LINENO: checking for Xpm library" >&5
30054 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30057 for ac_dir
in $SEARCH_LIB;
30059 for ac_extension
in a so sl dylib dll.a
; do
30060 if test -f "$ac_dir/libXpm.$ac_extension"; then
30061 ac_find_libraries
=$ac_dir
30067 if test "$ac_find_libraries" != "" ; then
30069 if test "$ac_find_libraries" = "default location"; then
30072 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30074 if test $result = 0; then
30077 ac_path_to_link
=" -L$ac_find_libraries"
30081 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30082 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30083 echo "${ECHO_T}found in $ac_find_libraries" >&6
30085 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30086 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30087 if test "${wx_cv_x11_xpm_h+set}" = set; then
30088 echo $ECHO_N "(cached) $ECHO_C" >&6
30091 save_CFLAGS
=$CFLAGS
30092 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30094 cat >conftest.
$ac_ext <<_ACEOF
30097 cat confdefs.h
>>conftest.
$ac_ext
30098 cat >>conftest.
$ac_ext <<_ACEOF
30099 /* end confdefs.h. */
30101 #include <X11/xpm.h>
30108 version = XpmLibraryVersion();
30114 rm -f conftest.
$ac_objext
30115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30116 (eval $ac_compile) 2>conftest.er1
30118 grep -v '^ *+' conftest.er1
>conftest.err
30120 cat conftest.err
>&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); } &&
30123 { ac_try
='test -z "$ac_c_werror_flag"
30124 || test ! -s conftest.err'
30125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30126 (eval $ac_try) 2>&5
30128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30129 (exit $ac_status); }; } &&
30130 { ac_try
='test -s conftest.$ac_objext'
30131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30132 (eval $ac_try) 2>&5
30134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135 (exit $ac_status); }; }; then
30136 wx_cv_x11_xpm_h
=yes
30138 echo "$as_me: failed program was:" >&5
30139 sed 's/^/| /' conftest.
$ac_ext >&5
30144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30146 CFLAGS
=$save_CFLAGS
30150 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30151 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30153 if test $wx_cv_x11_xpm_h = "yes"; then
30154 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30155 cat >>confdefs.h
<<\_ACEOF
30156 #define wxHAVE_LIB_XPM 1
30160 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30161 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30167 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30168 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30169 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30170 echo $ECHO_N "(cached) $ECHO_C" >&6
30172 ac_check_lib_save_LIBS
=$LIBS
30173 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30174 cat >conftest.
$ac_ext <<_ACEOF
30177 cat confdefs.h
>>conftest.
$ac_ext
30178 cat >>conftest.
$ac_ext <<_ACEOF
30179 /* end confdefs.h. */
30181 /* Override any gcc2 internal prototype to avoid an error. */
30185 /* We use char because int might match the return type of a gcc2
30186 builtin and then its argument prototype would still apply. */
30187 char XShapeQueryExtension ();
30191 XShapeQueryExtension ();
30196 rm -f conftest.
$ac_objext conftest
$ac_exeext
30197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30198 (eval $ac_link) 2>conftest.er1
30200 grep -v '^ *+' conftest.er1
>conftest.err
30202 cat conftest.err
>&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); } &&
30205 { ac_try
='test -z "$ac_c_werror_flag"
30206 || test ! -s conftest.err'
30207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30208 (eval $ac_try) 2>&5
30210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30211 (exit $ac_status); }; } &&
30212 { ac_try
='test -s conftest$ac_exeext'
30213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30214 (eval $ac_try) 2>&5
30216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30217 (exit $ac_status); }; }; then
30218 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30220 echo "$as_me: failed program was:" >&5
30221 sed 's/^/| /' conftest.
$ac_ext >&5
30223 ac_cv_lib_Xext_XShapeQueryExtension
=no
30225 rm -f conftest.err conftest.
$ac_objext \
30226 conftest
$ac_exeext conftest.
$ac_ext
30227 LIBS
=$ac_check_lib_save_LIBS
30229 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30230 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30231 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30233 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30239 if test "$wxHAVE_XEXT_LIB" = 1; then
30240 save_CFLAGS
="$CFLAGS"
30241 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30243 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30244 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30245 cat >conftest.
$ac_ext <<_ACEOF
30248 cat confdefs.h
>>conftest.
$ac_ext
30249 cat >>conftest.
$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30252 #include <X11/Xlib.h>
30253 #include <X11/extensions/shape.h>
30259 int dummy1, dummy2;
30260 XShapeQueryExtension((Display*)NULL,
30261 (int*)NULL, (int*)NULL);
30267 rm -f conftest.
$ac_objext
30268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30269 (eval $ac_compile) 2>conftest.er1
30271 grep -v '^ *+' conftest.er1
>conftest.err
30273 cat conftest.err
>&5
30274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275 (exit $ac_status); } &&
30276 { ac_try
='test -z "$ac_c_werror_flag"
30277 || test ! -s conftest.err'
30278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30279 (eval $ac_try) 2>&5
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); }; } &&
30283 { ac_try
='test -s conftest.$ac_objext'
30284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30285 (eval $ac_try) 2>&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); }; }; then
30290 cat >>confdefs.h
<<\_ACEOF
30291 #define HAVE_XSHAPE 1
30294 echo "$as_me:$LINENO: result: found" >&5
30295 echo "${ECHO_T}found" >&6
30298 echo "$as_me: failed program was:" >&5
30299 sed 's/^/| /' conftest.
$ac_ext >&5
30302 echo "$as_me:$LINENO: result: not found" >&5
30303 echo "${ECHO_T}not found" >&6
30306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30307 CFLAGS
="$save_CFLAGS"
30312 if test "$wxUSE_MAC" = 1; then
30313 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30314 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30315 if test "$GCC" = yes; then
30316 echo "$as_me:$LINENO: result: gcc" >&5
30317 echo "${ECHO_T}gcc" >&6
30318 CPPFLAGS_PASCAL
="-fpascal-strings"
30319 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30320 echo "$as_me:$LINENO: result: xlc" >&5
30321 echo "${ECHO_T}xlc" >&6
30322 CPPFLAGS_PASCAL
="-qmacpstr"
30324 echo "$as_me:$LINENO: result: none" >&5
30325 echo "${ECHO_T}none" >&6
30328 if test "x$wxUSE_UNIX" = "xyes"; then
30329 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30331 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30336 WXBASEPORT
="_carbon"
30339 if test "$wxUSE_COCOA" = 1; then
30344 if test "$wxUSE_PM" = 1; then
30347 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30348 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30349 if test "${wx_cv_spbcdata+set}" = set; then
30350 echo $ECHO_N "(cached) $ECHO_C" >&6
30353 cat >conftest.
$ac_ext <<_ACEOF
30356 cat confdefs.h
>>conftest.
$ac_ext
30357 cat >>conftest.
$ac_ext <<_ACEOF
30358 /* end confdefs.h. */
30373 rm -f conftest.
$ac_objext
30374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30375 (eval $ac_compile) 2>conftest.er1
30377 grep -v '^ *+' conftest.er1
>conftest.err
30379 cat conftest.err
>&5
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); } &&
30382 { ac_try
='test -z "$ac_c_werror_flag"
30383 || test ! -s conftest.err'
30384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30385 (eval $ac_try) 2>&5
30387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30388 (exit $ac_status); }; } &&
30389 { ac_try
='test -s conftest.$ac_objext'
30390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30391 (eval $ac_try) 2>&5
30393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30394 (exit $ac_status); }; }; then
30397 echo "$as_me: failed program was:" >&5
30398 sed 's/^/| /' conftest.
$ac_ext >&5
30403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30407 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30408 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30410 if test $wx_cv_spbcdata = "yes"; then
30411 cat >>confdefs.h
<<\_ACEOF
30412 #define HAVE_SPBCDATA 1
30418 if test "$TOOLKIT" = "PM" ; then
30421 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30424 if test "$wxUSE_UNIVERSAL" = "yes"; then
30425 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30429 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30430 DISTDIR
="wx\$(TOOLKIT)"
30436 if test "$USE_WIN32" = 1 ; then
30440 GUIDIST
="BASE_DIST"
30445 if test "$wxUSE_GUI" = "yes"; then
30446 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30448 for ac_header
in X
11/Xlib.h
30450 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30452 echo "$as_me:$LINENO: checking for $ac_header" >&5
30453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30455 echo $ECHO_N "(cached) $ECHO_C" >&6
30457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30460 # Is the header compilable?
30461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30463 cat >conftest.
$ac_ext <<_ACEOF
30466 cat confdefs.h
>>conftest.
$ac_ext
30467 cat >>conftest.
$ac_ext <<_ACEOF
30468 /* end confdefs.h. */
30469 $ac_includes_default
30470 #include <$ac_header>
30472 rm -f conftest.
$ac_objext
30473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30474 (eval $ac_compile) 2>conftest.er1
30476 grep -v '^ *+' conftest.er1
>conftest.err
30478 cat conftest.err
>&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); } &&
30481 { ac_try
='test -z "$ac_c_werror_flag"
30482 || test ! -s conftest.err'
30483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484 (eval $ac_try) 2>&5
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); }; } &&
30488 { ac_try
='test -s conftest.$ac_objext'
30489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30490 (eval $ac_try) 2>&5
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); }; }; then
30494 ac_header_compiler
=yes
30496 echo "$as_me: failed program was:" >&5
30497 sed 's/^/| /' conftest.
$ac_ext >&5
30499 ac_header_compiler
=no
30501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30503 echo "${ECHO_T}$ac_header_compiler" >&6
30505 # Is the header present?
30506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30508 cat >conftest.
$ac_ext <<_ACEOF
30511 cat confdefs.h
>>conftest.
$ac_ext
30512 cat >>conftest.
$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30514 #include <$ac_header>
30516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30519 grep -v '^ *+' conftest.er1
>conftest.err
30521 cat conftest.err
>&5
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); } >/dev
/null
; then
30524 if test -s conftest.err
; then
30525 ac_cpp_err
=$ac_c_preproc_warn_flag
30526 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30533 if test -z "$ac_cpp_err"; then
30534 ac_header_preproc
=yes
30536 echo "$as_me: failed program was:" >&5
30537 sed 's/^/| /' conftest.
$ac_ext >&5
30539 ac_header_preproc
=no
30541 rm -f conftest.err conftest.
$ac_ext
30542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30543 echo "${ECHO_T}$ac_header_preproc" >&6
30545 # So? What about this header?
30546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30552 ac_header_preproc
=yes
30555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30569 ## ----------------------------------------- ##
30570 ## Report this to wx-dev@lists.wxwidgets.org ##
30571 ## ----------------------------------------- ##
30574 sed "s/^/$as_me: WARNING: /" >&2
30577 echo "$as_me:$LINENO: checking for $ac_header" >&5
30578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30580 echo $ECHO_N "(cached) $ECHO_C" >&6
30582 eval "$as_ac_Header=\$ac_header_preproc"
30584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30589 cat >>confdefs.h
<<_ACEOF
30590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30598 for ac_header
in X
11/XKBlib.h
30600 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30601 echo "$as_me:$LINENO: checking for $ac_header" >&5
30602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30604 echo $ECHO_N "(cached) $ECHO_C" >&6
30606 cat >conftest.
$ac_ext <<_ACEOF
30609 cat confdefs.h
>>conftest.
$ac_ext
30610 cat >>conftest.
$ac_ext <<_ACEOF
30611 /* end confdefs.h. */
30613 #if HAVE_X11_XLIB_H
30614 #include <X11/Xlib.h>
30618 #include <$ac_header>
30620 rm -f conftest.
$ac_objext
30621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30622 (eval $ac_compile) 2>conftest.er1
30624 grep -v '^ *+' conftest.er1
>conftest.err
30626 cat conftest.err
>&5
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); } &&
30629 { ac_try
='test -z "$ac_c_werror_flag"
30630 || test ! -s conftest.err'
30631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30632 (eval $ac_try) 2>&5
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); }; } &&
30636 { ac_try
='test -s conftest.$ac_objext'
30637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30638 (eval $ac_try) 2>&5
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); }; }; then
30642 eval "$as_ac_Header=yes"
30644 echo "$as_me: failed program was:" >&5
30645 sed 's/^/| /' conftest.
$ac_ext >&5
30647 eval "$as_ac_Header=no"
30649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30654 cat >>confdefs.h
<<_ACEOF
30655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30670 if test "$TOOLKIT" != "MSW" ; then
30672 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30674 if test "${ac_cv_header_sql_h+set}" = set; then
30675 echo "$as_me:$LINENO: checking for sql.h" >&5
30676 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30677 if test "${ac_cv_header_sql_h+set}" = set; then
30678 echo $ECHO_N "(cached) $ECHO_C" >&6
30680 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30681 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30683 # Is the header compilable?
30684 echo "$as_me:$LINENO: checking sql.h usability" >&5
30685 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30686 cat >conftest.
$ac_ext <<_ACEOF
30689 cat confdefs.h
>>conftest.
$ac_ext
30690 cat >>conftest.
$ac_ext <<_ACEOF
30691 /* end confdefs.h. */
30692 $ac_includes_default
30695 rm -f conftest.
$ac_objext
30696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30697 (eval $ac_compile) 2>conftest.er1
30699 grep -v '^ *+' conftest.er1
>conftest.err
30701 cat conftest.err
>&5
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); } &&
30704 { ac_try
='test -z "$ac_c_werror_flag"
30705 || test ! -s conftest.err'
30706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30707 (eval $ac_try) 2>&5
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); }; } &&
30711 { ac_try
='test -s conftest.$ac_objext'
30712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30713 (eval $ac_try) 2>&5
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); }; }; then
30717 ac_header_compiler
=yes
30719 echo "$as_me: failed program was:" >&5
30720 sed 's/^/| /' conftest.
$ac_ext >&5
30722 ac_header_compiler
=no
30724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30725 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30726 echo "${ECHO_T}$ac_header_compiler" >&6
30728 # Is the header present?
30729 echo "$as_me:$LINENO: checking sql.h presence" >&5
30730 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30731 cat >conftest.
$ac_ext <<_ACEOF
30734 cat confdefs.h
>>conftest.
$ac_ext
30735 cat >>conftest.
$ac_ext <<_ACEOF
30736 /* end confdefs.h. */
30739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30740 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30742 grep -v '^ *+' conftest.er1
>conftest.err
30744 cat conftest.err
>&5
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); } >/dev
/null
; then
30747 if test -s conftest.err
; then
30748 ac_cpp_err
=$ac_c_preproc_warn_flag
30749 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30756 if test -z "$ac_cpp_err"; then
30757 ac_header_preproc
=yes
30759 echo "$as_me: failed program was:" >&5
30760 sed 's/^/| /' conftest.
$ac_ext >&5
30762 ac_header_preproc
=no
30764 rm -f conftest.err conftest.
$ac_ext
30765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30766 echo "${ECHO_T}$ac_header_preproc" >&6
30768 # So? What about this header?
30769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30771 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30772 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30773 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30774 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30775 ac_header_preproc
=yes
30778 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30779 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30780 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30781 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30782 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30783 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30784 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30785 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30786 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30787 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30788 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30789 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30792 ## ----------------------------------------- ##
30793 ## Report this to wx-dev@lists.wxwidgets.org ##
30794 ## ----------------------------------------- ##
30797 sed "s/^/$as_me: WARNING: /" >&2
30800 echo "$as_me:$LINENO: checking for sql.h" >&5
30801 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30802 if test "${ac_cv_header_sql_h+set}" = set; then
30803 echo $ECHO_N "(cached) $ECHO_C" >&6
30805 ac_cv_header_sql_h
=$ac_header_preproc
30807 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30808 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30811 if test $ac_cv_header_sql_h = yes; then
30816 if test "x$found_sql_h" = "x1" ; then
30817 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30818 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30819 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30820 echo $ECHO_N "(cached) $ECHO_C" >&6
30822 ac_check_lib_save_LIBS
=$LIBS
30823 LIBS
="-liodbc $LIBS"
30824 cat >conftest.
$ac_ext <<_ACEOF
30827 cat confdefs.h
>>conftest.
$ac_ext
30828 cat >>conftest.
$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30831 /* Override any gcc2 internal prototype to avoid an error. */
30835 /* We use char because int might match the return type of a gcc2
30836 builtin and then its argument prototype would still apply. */
30837 char SQLAllocEnv ();
30846 rm -f conftest.
$ac_objext conftest
$ac_exeext
30847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30848 (eval $ac_link) 2>conftest.er1
30850 grep -v '^ *+' conftest.er1
>conftest.err
30852 cat conftest.err
>&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } &&
30855 { ac_try
='test -z "$ac_c_werror_flag"
30856 || test ! -s conftest.err'
30857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30858 (eval $ac_try) 2>&5
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); }; } &&
30862 { ac_try
='test -s conftest$ac_exeext'
30863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30864 (eval $ac_try) 2>&5
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); }; }; then
30868 ac_cv_lib_iodbc_SQLAllocEnv
=yes
30870 echo "$as_me: failed program was:" >&5
30871 sed 's/^/| /' conftest.
$ac_ext >&5
30873 ac_cv_lib_iodbc_SQLAllocEnv
=no
30875 rm -f conftest.err conftest.
$ac_objext \
30876 conftest
$ac_exeext conftest.
$ac_ext
30877 LIBS
=$ac_check_lib_save_LIBS
30879 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30880 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30881 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30882 ODBC_LINK
=" -liodbc"
30885 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30886 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30887 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30890 ac_check_lib_save_LIBS
=$LIBS
30891 LIBS
="-lunixodbc $LIBS"
30892 cat >conftest.
$ac_ext <<_ACEOF
30895 cat confdefs.h
>>conftest.
$ac_ext
30896 cat >>conftest.
$ac_ext <<_ACEOF
30897 /* end confdefs.h. */
30899 /* Override any gcc2 internal prototype to avoid an error. */
30903 /* We use char because int might match the return type of a gcc2
30904 builtin and then its argument prototype would still apply. */
30905 char SQLAllocEnv ();
30914 rm -f conftest.
$ac_objext conftest
$ac_exeext
30915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30916 (eval $ac_link) 2>conftest.er1
30918 grep -v '^ *+' conftest.er1
>conftest.err
30920 cat conftest.err
>&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } &&
30923 { ac_try
='test -z "$ac_c_werror_flag"
30924 || test ! -s conftest.err'
30925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30926 (eval $ac_try) 2>&5
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); }; } &&
30930 { ac_try
='test -s conftest$ac_exeext'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; }; then
30936 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
30938 echo "$as_me: failed program was:" >&5
30939 sed 's/^/| /' conftest.
$ac_ext >&5
30941 ac_cv_lib_unixodbc_SQLAllocEnv
=no
30943 rm -f conftest.err conftest.
$ac_objext \
30944 conftest
$ac_exeext conftest.
$ac_ext
30945 LIBS
=$ac_check_lib_save_LIBS
30947 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30948 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30949 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30950 ODBC_LINK
=" -lunixodbc"
30953 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30954 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30955 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30956 echo $ECHO_N "(cached) $ECHO_C" >&6
30958 ac_check_lib_save_LIBS
=$LIBS
30959 LIBS
="-lodbc $LIBS"
30960 cat >conftest.
$ac_ext <<_ACEOF
30963 cat confdefs.h
>>conftest.
$ac_ext
30964 cat >>conftest.
$ac_ext <<_ACEOF
30965 /* end confdefs.h. */
30967 /* Override any gcc2 internal prototype to avoid an error. */
30971 /* We use char because int might match the return type of a gcc2
30972 builtin and then its argument prototype would still apply. */
30973 char SQLAllocEnv ();
30982 rm -f conftest.
$ac_objext conftest
$ac_exeext
30983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30984 (eval $ac_link) 2>conftest.er1
30986 grep -v '^ *+' conftest.er1
>conftest.err
30988 cat conftest.err
>&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); } &&
30991 { ac_try
='test -z "$ac_c_werror_flag"
30992 || test ! -s conftest.err'
30993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994 (eval $ac_try) 2>&5
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); }; } &&
30998 { ac_try
='test -s conftest$ac_exeext'
30999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31000 (eval $ac_try) 2>&5
31002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003 (exit $ac_status); }; }; then
31004 ac_cv_lib_odbc_SQLAllocEnv
=yes
31006 echo "$as_me: failed program was:" >&5
31007 sed 's/^/| /' conftest.
$ac_ext >&5
31009 ac_cv_lib_odbc_SQLAllocEnv
=no
31011 rm -f conftest.err conftest.
$ac_objext \
31012 conftest
$ac_exeext conftest.
$ac_ext
31013 LIBS
=$ac_check_lib_save_LIBS
31015 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31016 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31017 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31018 ODBC_LINK
=" -lodbc"
31028 if test "x$ODBC_LINK" = "x" ; then
31029 if test "$wxUSE_ODBC" = "sys" ; then
31030 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31031 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31032 { (exit 1); exit 1; }; }
31034 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31035 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31043 if test "$wxUSE_ODBC" = "builtin" ; then
31044 cat >>confdefs.h
<<\_ACEOF
31045 #define wxUSE_BUILTIN_IODBC 1
31051 if test "$wxUSE_ODBC" != "no" ; then
31052 cat >>confdefs.h
<<\_ACEOF
31053 #define wxUSE_ODBC 1
31056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31058 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31062 if test "$wxUSE_DISPLAY" = "yes"; then
31063 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31064 echo "$as_me:$LINENO: checking for Xinerama" >&5
31065 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31068 for ac_dir
in $SEARCH_LIB;
31070 for ac_extension
in a so sl dylib dll.a
; do
31071 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31072 ac_find_libraries
=$ac_dir
31078 if test "$ac_find_libraries" != "" ; then
31080 if test "$ac_find_libraries" = "default location"; then
31083 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31085 if test $result = 0; then
31088 ac_path_to_link
=" -L$ac_find_libraries"
31092 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31093 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31095 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31096 echo "$as_me:$LINENO: result: yes" >&5
31097 echo "${ECHO_T}yes" >&6
31099 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31100 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31103 for ac_dir
in $SEARCH_LIB;
31105 for ac_extension
in a so sl dylib dll.a
; do
31106 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31107 ac_find_libraries
=$ac_dir
31113 if test "$ac_find_libraries" != "" ; then
31114 echo "$as_me:$LINENO: result: yes" >&5
31115 echo "${ECHO_T}yes" >&6
31117 for ac_header
in X
11/extensions
/xf86vmode.h
31119 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31120 echo "$as_me:$LINENO: checking for $ac_header" >&5
31121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31123 echo $ECHO_N "(cached) $ECHO_C" >&6
31125 cat >conftest.
$ac_ext <<_ACEOF
31128 cat confdefs.h
>>conftest.
$ac_ext
31129 cat >>conftest.
$ac_ext <<_ACEOF
31130 /* end confdefs.h. */
31132 #if HAVE_X11_XLIB_H
31133 #include <X11/Xlib.h>
31137 #include <$ac_header>
31139 rm -f conftest.
$ac_objext
31140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31141 (eval $ac_compile) 2>conftest.er1
31143 grep -v '^ *+' conftest.er1
>conftest.err
31145 cat conftest.err
>&5
31146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147 (exit $ac_status); } &&
31148 { ac_try
='test -z "$ac_c_werror_flag"
31149 || test ! -s conftest.err'
31150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31151 (eval $ac_try) 2>&5
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); }; } &&
31155 { ac_try
='test -s conftest.$ac_objext'
31156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31157 (eval $ac_try) 2>&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); }; }; then
31161 eval "$as_ac_Header=yes"
31163 echo "$as_me: failed program was:" >&5
31164 sed 's/^/| /' conftest.
$ac_ext >&5
31166 eval "$as_ac_Header=no"
31168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31173 cat >>confdefs.h
<<_ACEOF
31174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31177 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31184 echo "$as_me:$LINENO: result: no" >&5
31185 echo "${ECHO_T}no" >&6
31189 echo "$as_me:$LINENO: result: no" >&5
31190 echo "${ECHO_T}no" >&6
31191 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31192 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31195 elif test "$wxUSE_MSW" = 1; then
31198 for ac_header
in multimon.h ddraw.h
31200 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31201 echo "$as_me:$LINENO: checking for $ac_header" >&5
31202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31204 echo $ECHO_N "(cached) $ECHO_C" >&6
31206 cat >conftest.
$ac_ext <<_ACEOF
31209 cat confdefs.h
>>conftest.
$ac_ext
31210 cat >>conftest.
$ac_ext <<_ACEOF
31211 /* end confdefs.h. */
31212 #include <windows.h>
31214 #include <$ac_header>
31216 rm -f conftest.
$ac_objext
31217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31218 (eval $ac_compile) 2>conftest.er1
31220 grep -v '^ *+' conftest.er1
>conftest.err
31222 cat conftest.err
>&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); } &&
31225 { ac_try
='test -z "$ac_c_werror_flag"
31226 || test ! -s conftest.err'
31227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31228 (eval $ac_try) 2>&5
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; } &&
31232 { ac_try
='test -s conftest.$ac_objext'
31233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31234 (eval $ac_try) 2>&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); }; }; then
31238 eval "$as_ac_Header=yes"
31240 echo "$as_me: failed program was:" >&5
31241 sed 's/^/| /' conftest.
$ac_ext >&5
31243 eval "$as_ac_Header=no"
31245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31250 cat >>confdefs.h
<<_ACEOF
31251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31257 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
31258 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
31269 if test "$wxUSE_OPENGL" = "yes"; then
31270 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31271 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31272 elif test "$wxUSE_MSW" = 1; then
31273 OPENGL_LIBS
="-lopengl32 -lglu32"
31278 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31280 if test -f "$ac_dir/GL/gl.h"; then
31281 ac_find_includes
=$ac_dir
31286 if test "$ac_find_includes" != "" ; then
31287 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31288 echo "${ECHO_T}found in $ac_find_includes" >&6
31290 if test "x$ac_find_includes" = "x/usr/include"; then
31291 ac_path_to_include
=""
31293 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31295 if test $result = 0; then
31296 ac_path_to_include
=""
31298 ac_path_to_include
=" -I$ac_find_includes"
31302 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31305 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31306 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31307 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31308 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31309 echo $ECHO_N "(cached) $ECHO_C" >&6
31311 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31312 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31314 # Is the header compilable?
31315 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31316 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31317 cat >conftest.
$ac_ext <<_ACEOF
31320 cat confdefs.h
>>conftest.
$ac_ext
31321 cat >>conftest.
$ac_ext <<_ACEOF
31322 /* end confdefs.h. */
31323 $ac_includes_default
31326 rm -f conftest.
$ac_objext
31327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31328 (eval $ac_compile) 2>conftest.er1
31330 grep -v '^ *+' conftest.er1
>conftest.err
31332 cat conftest.err
>&5
31333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 (exit $ac_status); } &&
31335 { ac_try
='test -z "$ac_c_werror_flag"
31336 || test ! -s conftest.err'
31337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31338 (eval $ac_try) 2>&5
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); }; } &&
31342 { ac_try
='test -s conftest.$ac_objext'
31343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31344 (eval $ac_try) 2>&5
31346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31347 (exit $ac_status); }; }; then
31348 ac_header_compiler
=yes
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.
$ac_ext >&5
31353 ac_header_compiler
=no
31355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31356 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31357 echo "${ECHO_T}$ac_header_compiler" >&6
31359 # Is the header present?
31360 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31361 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31362 cat >conftest.
$ac_ext <<_ACEOF
31365 cat confdefs.h
>>conftest.
$ac_ext
31366 cat >>conftest.
$ac_ext <<_ACEOF
31367 /* end confdefs.h. */
31370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31371 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31373 grep -v '^ *+' conftest.er1
>conftest.err
31375 cat conftest.err
>&5
31376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377 (exit $ac_status); } >/dev
/null
; then
31378 if test -s conftest.err
; then
31379 ac_cpp_err
=$ac_c_preproc_warn_flag
31380 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31387 if test -z "$ac_cpp_err"; then
31388 ac_header_preproc
=yes
31390 echo "$as_me: failed program was:" >&5
31391 sed 's/^/| /' conftest.
$ac_ext >&5
31393 ac_header_preproc
=no
31395 rm -f conftest.err conftest.
$ac_ext
31396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31397 echo "${ECHO_T}$ac_header_preproc" >&6
31399 # So? What about this header?
31400 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31402 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31403 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31404 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31405 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31406 ac_header_preproc
=yes
31409 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31410 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31411 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31412 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31413 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31414 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31415 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31416 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31417 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31418 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31419 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31420 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31423 ## ----------------------------------------- ##
31424 ## Report this to wx-dev@lists.wxwidgets.org ##
31425 ## ----------------------------------------- ##
31428 sed "s/^/$as_me: WARNING: /" >&2
31431 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31432 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31433 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31434 echo $ECHO_N "(cached) $ECHO_C" >&6
31436 ac_cv_header_GL_gl_h
=$ac_header_preproc
31438 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31439 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31442 if test $ac_cv_header_GL_gl_h = yes; then
31446 echo "$as_me:$LINENO: checking for -lGL" >&5
31447 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31450 for ac_dir
in $SEARCH_LIB;
31452 for ac_extension
in a so sl dylib dll.a
; do
31453 if test -f "$ac_dir/libGL.$ac_extension"; then
31454 ac_find_libraries
=$ac_dir
31460 if test "$ac_find_libraries" != "" ; then
31461 echo "$as_me:$LINENO: result: yes" >&5
31462 echo "${ECHO_T}yes" >&6
31465 if test "$ac_find_libraries" = "default location"; then
31468 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31470 if test $result = 0; then
31473 ac_path_to_link
=" -L$ac_find_libraries"
31477 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31478 LDFLAGS_GL
="$ac_path_to_link"
31481 echo "$as_me:$LINENO: checking for -lGLU" >&5
31482 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31485 for ac_dir
in $SEARCH_LIB;
31487 for ac_extension
in a so sl dylib dll.a
; do
31488 if test -f "$ac_dir/libGLU.$ac_extension"; then
31489 ac_find_libraries
=$ac_dir
31495 if test "$ac_find_libraries" != "" ; then
31497 if test "$ac_find_libraries" = "default location"; then
31500 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31502 if test $result = 0; then
31505 ac_path_to_link
=" -L$ac_find_libraries"
31509 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31510 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31511 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31515 OPENGL_LIBS
="-lGL -lGLU"
31516 echo "$as_me:$LINENO: result: yes" >&5
31517 echo "${ECHO_T}yes" >&6
31519 echo "$as_me:$LINENO: result: no" >&5
31520 echo "${ECHO_T}no" >&6
31523 echo "$as_me:$LINENO: result: no" >&5
31524 echo "${ECHO_T}no" >&6
31527 if test "$found_gl" != 1; then
31528 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31529 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31532 for ac_dir
in $SEARCH_LIB;
31534 for ac_extension
in a so sl dylib dll.a
; do
31535 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31536 ac_find_libraries
=$ac_dir
31542 if test "$ac_find_libraries" != "" ; then
31544 if test "$ac_find_libraries" = "default location"; then
31547 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31549 if test $result = 0; then
31552 ac_path_to_link
=" -L$ac_find_libraries"
31556 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31557 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31558 echo "$as_me:$LINENO: result: yes" >&5
31559 echo "${ECHO_T}yes" >&6
31561 echo "$as_me:$LINENO: result: no" >&5
31562 echo "${ECHO_T}no" >&6
31570 if test "x$OPENGL_LIBS" = "x"; then
31571 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31572 echo "$as_me: error: OpenGL libraries not available" >&2;}
31573 { (exit 1); exit 1; }; }
31577 if test "$wxUSE_OPENGL" = "yes"; then
31579 cat >>confdefs.h
<<\_ACEOF
31580 #define wxUSE_OPENGL 1
31583 cat >>confdefs.h
<<\_ACEOF
31584 #define wxUSE_GLCANVAS 1
31587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31592 if test -n "$TOOLKIT" ; then
31593 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31598 if test "$wxUSE_SHARED" = "yes"; then
31602 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31603 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31608 if test "$wxUSE_SHARED" = "yes"; then
31611 found_versioning
=no
31614 if test $found_versioning = no
; then
31615 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31616 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31617 if test "${wx_cv_version_script+set}" = set; then
31618 echo $ECHO_N "(cached) $ECHO_C" >&6
31621 echo "VER_1 { *; };" >conftest.sym
31622 echo "int main() { return 0; }" >conftest.cpp
31625 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31626 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31628 (eval $ac_try) 2>&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); }; } ; then
31632 if test -s conftest.stderr
; then
31633 wx_cv_version_script
=no
31635 wx_cv_version_script
=yes
31638 wx_cv_version_script
=no
31641 if test $wx_cv_version_script = yes
31643 echo "struct B { virtual ~B() { } }; \
31644 struct D : public B { }; \
31645 void F() { D d; }" > conftest.cpp
31648 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31649 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31651 (eval $ac_try) 2>&5
31653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654 (exit $ac_status); }; } &&
31656 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31657 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31659 (eval $ac_try) 2>&5
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); }; }
31665 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31666 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31668 (eval $ac_try) 2>&5
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); }; }
31673 wx_cv_version_script
=yes
31675 wx_cv_version_script
=no
31680 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31681 rm -f conftest1.output conftest2.output conftest3.output
31684 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31685 echo "${ECHO_T}$wx_cv_version_script" >&6
31686 if test $wx_cv_version_script = yes ; then
31687 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31693 *-*-linux* | *-*-gnu* )
31694 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31695 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31699 if test "$GCC" = yes ; then
31700 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
31702 saveLdflags
="$LDFLAGS"
31703 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31704 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31705 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31706 cat >conftest.
$ac_ext <<_ACEOF
31709 cat confdefs.h
>>conftest.
$ac_ext
31710 cat >>conftest.
$ac_ext <<_ACEOF
31711 /* end confdefs.h. */
31721 rm -f conftest.
$ac_objext conftest
$ac_exeext
31722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31723 (eval $ac_link) 2>conftest.er1
31725 grep -v '^ *+' conftest.er1
>conftest.err
31727 cat conftest.err
>&5
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); } &&
31730 { ac_try
='test -z "$ac_c_werror_flag"
31731 || test ! -s conftest.err'
31732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31733 (eval $ac_try) 2>&5
31735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31736 (exit $ac_status); }; } &&
31737 { ac_try
='test -s conftest$ac_exeext'
31738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31739 (eval $ac_try) 2>&5
31741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31742 (exit $ac_status); }; }; then
31744 echo "$as_me:$LINENO: result: yes" >&5
31745 echo "${ECHO_T}yes" >&6
31746 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31747 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31750 echo "$as_me: failed program was:" >&5
31751 sed 's/^/| /' conftest.
$ac_ext >&5
31754 echo "$as_me:$LINENO: result: no" >&5
31755 echo "${ECHO_T}no" >&6
31756 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31757 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31758 LDFLAGS
="$saveLdflags -Wl,-R,/"
31759 cat >conftest.
$ac_ext <<_ACEOF
31762 cat confdefs.h
>>conftest.
$ac_ext
31763 cat >>conftest.
$ac_ext <<_ACEOF
31764 /* end confdefs.h. */
31774 rm -f conftest.
$ac_objext conftest
$ac_exeext
31775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31776 (eval $ac_link) 2>conftest.er1
31778 grep -v '^ *+' conftest.er1
>conftest.err
31780 cat conftest.err
>&5
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); } &&
31783 { ac_try
='test -z "$ac_c_werror_flag"
31784 || test ! -s conftest.err'
31785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31786 (eval $ac_try) 2>&5
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); }; } &&
31790 { ac_try
='test -s conftest$ac_exeext'
31791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31792 (eval $ac_try) 2>&5
31794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31795 (exit $ac_status); }; }; then
31797 echo "$as_me:$LINENO: result: yes" >&5
31798 echo "${ECHO_T}yes" >&6
31799 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
31800 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
31803 echo "$as_me: failed program was:" >&5
31804 sed 's/^/| /' conftest.
$ac_ext >&5
31807 echo "$as_me:$LINENO: result: no" >&5
31808 echo "${ECHO_T}no" >&6
31811 rm -f conftest.err conftest.
$ac_objext \
31812 conftest
$ac_exeext conftest.
$ac_ext
31815 rm -f conftest.err conftest.
$ac_objext \
31816 conftest
$ac_exeext conftest.
$ac_ext
31817 LDFLAGS
="$saveLdflags"
31819 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31820 WXCONFIG_RPATH
="-R\$libdir"
31825 install_name_tool
=`which install_name_tool`
31826 if test "$install_name_tool" -a -x "$install_name_tool"; then
31827 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31828 cat <<EOF >change-install-names
31830 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31831 inst_cmd="install_name_tool "
31832 for i in \${libnames} ; do
31833 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31837 chmod +x change
-install-names
31841 *-*-cygwin* | *-*-mingw32* )
31842 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
31846 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31847 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31852 if test $wxUSE_RPATH = "no"; then
31853 SAMPLES_RPATH_FLAG
=''
31854 SAMPLES_RPATH_POSTLINK
=''
31862 config_linkage_component
="-static"
31869 lib_unicode_suffix
=
31871 if test "$wxUSE_UNICODE" = "yes"; then
31872 lib_unicode_suffix
=u
31873 WX_CHARTYPE
="unicode"
31878 WX_DEBUGTYPE
="release"
31880 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31882 WX_DEBUGTYPE
="debug"
31886 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
31887 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
31890 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31894 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31896 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31898 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31900 if test "$cross_compiling" = "yes"; then
31901 HOST_SUFFIX
="-$host_alias"
31902 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
31903 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
31906 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31907 if test "${TOOLKIT_DIR}" = "os2"; then
31908 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31910 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31915 if test "$wxUSE_COCOA" = 1; then
31919 ac_cpp
='$CPP $CPPFLAGS'
31920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31926 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31927 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31928 cat >conftest.
$ac_ext <<_ACEOF
31931 cat confdefs.h
>>conftest.
$ac_ext
31932 cat >>conftest.
$ac_ext <<_ACEOF
31933 /* end confdefs.h. */
31934 #include <AppKit/NSEvent.h>
31935 #include <CoreFoundation/CoreFoundation.h>
31945 rm -f conftest.
$ac_objext
31946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31947 (eval $ac_compile) 2>conftest.er1
31949 grep -v '^ *+' conftest.er1
>conftest.err
31951 cat conftest.err
>&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } &&
31954 { ac_try
='test -z "$ac_c_werror_flag"
31955 || test ! -s conftest.err'
31956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31957 (eval $ac_try) 2>&5
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); }; } &&
31961 { ac_try
='test -s conftest.$ac_objext'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; }; then
31967 echo "$as_me:$LINENO: result: no" >&5
31968 echo "${ECHO_T}no" >&6
31970 echo "$as_me: failed program was:" >&5
31971 sed 's/^/| /' conftest.
$ac_ext >&5
31973 echo "$as_me:$LINENO: result: yes" >&5
31974 echo "${ECHO_T}yes" >&6
31975 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31976 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31977 cat >conftest.
$ac_ext <<_ACEOF
31980 cat confdefs.h
>>conftest.
$ac_ext
31981 cat >>conftest.
$ac_ext <<_ACEOF
31982 /* end confdefs.h. */
31983 #define __Point__ 1
31984 #include <AppKit/NSEvent.h>
31985 #include <CoreFoundation/CoreFoundation.h>
31995 rm -f conftest.
$ac_objext
31996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31997 (eval $ac_compile) 2>conftest.er1
31999 grep -v '^ *+' conftest.er1
>conftest.err
32001 cat conftest.err
>&5
32002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003 (exit $ac_status); } &&
32004 { ac_try
='test -z "$ac_c_werror_flag"
32005 || test ! -s conftest.err'
32006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007 (eval $ac_try) 2>&5
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); }; } &&
32011 { ac_try
='test -s conftest.$ac_objext'
32012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32013 (eval $ac_try) 2>&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); }; }; then
32017 echo "$as_me:$LINENO: result: yes" >&5
32018 echo "${ECHO_T}yes" >&6
32019 cat >>confdefs.h
<<\_ACEOF
32020 #define __Point__ 1
32025 echo "$as_me: failed program was:" >&5
32026 sed 's/^/| /' conftest.
$ac_ext >&5
32028 { { echo "$as_me:$LINENO: error: no
32029 See \`config.log' for more details." >&5
32030 echo "$as_me: error: no
32031 See \`config.log' for more details." >&2;}
32032 { (exit 1); exit 1; }; }
32035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32040 ac_cpp
='$CPP $CPPFLAGS'
32041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32047 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32048 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32049 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32051 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32053 # Extract the first word of "Rez", so it can be a program name with args.
32054 set dummy Rez
; ac_word
=$2
32055 echo "$as_me:$LINENO: checking for $ac_word" >&5
32056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32057 if test "${ac_cv_prog_REZ+set}" = set; then
32058 echo $ECHO_N "(cached) $ECHO_C" >&6
32060 if test -n "$REZ"; then
32061 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32064 for as_dir
in $PATH
32067 test -z "$as_dir" && as_dir
=.
32068 for ac_exec_ext
in '' $ac_executable_extensions; do
32069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32070 ac_cv_prog_REZ
="Rez"
32071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32077 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32080 REZ
=$ac_cv_prog_REZ
32081 if test -n "$REZ"; then
32082 echo "$as_me:$LINENO: result: $REZ" >&5
32083 echo "${ECHO_T}$REZ" >&6
32085 echo "$as_me:$LINENO: result: no" >&5
32086 echo "${ECHO_T}no" >&6
32089 # Extract the first word of "DeRez", so it can be a program name with args.
32090 set dummy DeRez
; ac_word
=$2
32091 echo "$as_me:$LINENO: checking for $ac_word" >&5
32092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32093 if test "${ac_cv_prog_DEREZ+set}" = set; then
32094 echo $ECHO_N "(cached) $ECHO_C" >&6
32096 if test -n "$DEREZ"; then
32097 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32100 for as_dir
in $PATH
32103 test -z "$as_dir" && as_dir
=.
32104 for ac_exec_ext
in '' $ac_executable_extensions; do
32105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32106 ac_cv_prog_DEREZ
="DeRez"
32107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32113 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32116 DEREZ
=$ac_cv_prog_DEREZ
32117 if test -n "$DEREZ"; then
32118 echo "$as_me:$LINENO: result: $DEREZ" >&5
32119 echo "${ECHO_T}$DEREZ" >&6
32121 echo "$as_me:$LINENO: result: no" >&5
32122 echo "${ECHO_T}no" >&6
32125 # Extract the first word of "SetFile", so it can be a program name with args.
32126 set dummy SetFile
; ac_word
=$2
32127 echo "$as_me:$LINENO: checking for $ac_word" >&5
32128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32129 if test "${ac_cv_prog_SETFILE+set}" = set; then
32130 echo $ECHO_N "(cached) $ECHO_C" >&6
32132 if test -n "$SETFILE"; then
32133 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32136 for as_dir
in $PATH
32139 test -z "$as_dir" && as_dir
=.
32140 for ac_exec_ext
in '' $ac_executable_extensions; do
32141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32142 ac_cv_prog_SETFILE
="SetFile"
32143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32149 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32152 SETFILE
=$ac_cv_prog_SETFILE
32153 if test -n "$SETFILE"; then
32154 echo "$as_me:$LINENO: result: $SETFILE" >&5
32155 echo "${ECHO_T}$SETFILE" >&6
32157 echo "$as_me:$LINENO: result: no" >&5
32158 echo "${ECHO_T}no" >&6
32162 MACSETFILE
="\$(SETFILE)"
32164 if test "$wxUSE_MAC" = 1; then
32165 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32167 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32169 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32170 RESCOMP
="echo -n \| $REZ"
32171 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32177 if test "$wxUSE_PM" = 1; then
32179 WXCONFIG_RESFLAGS
="-ep"
32181 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32183 POSTLINK_COMMAND
="@true"
32190 echo "$as_me:$LINENO: checking for mode_t" >&5
32191 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32192 if test "${ac_cv_type_mode_t+set}" = set; then
32193 echo $ECHO_N "(cached) $ECHO_C" >&6
32195 cat >conftest.
$ac_ext <<_ACEOF
32198 cat confdefs.h
>>conftest.
$ac_ext
32199 cat >>conftest.
$ac_ext <<_ACEOF
32200 /* end confdefs.h. */
32201 $ac_includes_default
32207 if (sizeof (mode_t))
32213 rm -f conftest.
$ac_objext
32214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32215 (eval $ac_compile) 2>conftest.er1
32217 grep -v '^ *+' conftest.er1
>conftest.err
32219 cat conftest.err
>&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); } &&
32222 { ac_try
='test -z "$ac_c_werror_flag"
32223 || test ! -s conftest.err'
32224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32225 (eval $ac_try) 2>&5
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); }; } &&
32229 { ac_try
='test -s conftest.$ac_objext'
32230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32231 (eval $ac_try) 2>&5
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); }; }; then
32235 ac_cv_type_mode_t
=yes
32237 echo "$as_me: failed program was:" >&5
32238 sed 's/^/| /' conftest.
$ac_ext >&5
32240 ac_cv_type_mode_t
=no
32242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32244 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32245 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32246 if test $ac_cv_type_mode_t = yes; then
32250 cat >>confdefs.h
<<_ACEOF
32256 echo "$as_me:$LINENO: checking for off_t" >&5
32257 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32258 if test "${ac_cv_type_off_t+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32261 cat >conftest.
$ac_ext <<_ACEOF
32264 cat confdefs.h
>>conftest.
$ac_ext
32265 cat >>conftest.
$ac_ext <<_ACEOF
32266 /* end confdefs.h. */
32267 $ac_includes_default
32273 if (sizeof (off_t))
32279 rm -f conftest.
$ac_objext
32280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32281 (eval $ac_compile) 2>conftest.er1
32283 grep -v '^ *+' conftest.er1
>conftest.err
32285 cat conftest.err
>&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } &&
32288 { ac_try
='test -z "$ac_c_werror_flag"
32289 || test ! -s conftest.err'
32290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32291 (eval $ac_try) 2>&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); }; } &&
32295 { ac_try
='test -s conftest.$ac_objext'
32296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32297 (eval $ac_try) 2>&5
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); }; }; then
32301 ac_cv_type_off_t
=yes
32303 echo "$as_me: failed program was:" >&5
32304 sed 's/^/| /' conftest.
$ac_ext >&5
32306 ac_cv_type_off_t
=no
32308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32310 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32311 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32312 if test $ac_cv_type_off_t = yes; then
32316 cat >>confdefs.h
<<_ACEOF
32322 echo "$as_me:$LINENO: checking for pid_t" >&5
32323 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32324 if test "${ac_cv_type_pid_t+set}" = set; then
32325 echo $ECHO_N "(cached) $ECHO_C" >&6
32327 cat >conftest.
$ac_ext <<_ACEOF
32330 cat confdefs.h
>>conftest.
$ac_ext
32331 cat >>conftest.
$ac_ext <<_ACEOF
32332 /* end confdefs.h. */
32333 $ac_includes_default
32339 if (sizeof (pid_t))
32345 rm -f conftest.
$ac_objext
32346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32347 (eval $ac_compile) 2>conftest.er1
32349 grep -v '^ *+' conftest.er1
>conftest.err
32351 cat conftest.err
>&5
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); } &&
32354 { ac_try
='test -z "$ac_c_werror_flag"
32355 || test ! -s conftest.err'
32356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32357 (eval $ac_try) 2>&5
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); }; } &&
32361 { ac_try
='test -s conftest.$ac_objext'
32362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32363 (eval $ac_try) 2>&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); }; }; then
32367 ac_cv_type_pid_t
=yes
32369 echo "$as_me: failed program was:" >&5
32370 sed 's/^/| /' conftest.
$ac_ext >&5
32372 ac_cv_type_pid_t
=no
32374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32376 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32377 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32378 if test $ac_cv_type_pid_t = yes; then
32382 cat >>confdefs.h
<<_ACEOF
32388 echo "$as_me:$LINENO: checking for size_t" >&5
32389 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32390 if test "${ac_cv_type_size_t+set}" = set; then
32391 echo $ECHO_N "(cached) $ECHO_C" >&6
32393 cat >conftest.
$ac_ext <<_ACEOF
32396 cat confdefs.h
>>conftest.
$ac_ext
32397 cat >>conftest.
$ac_ext <<_ACEOF
32398 /* end confdefs.h. */
32399 $ac_includes_default
32405 if (sizeof (size_t))
32411 rm -f conftest.
$ac_objext
32412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32413 (eval $ac_compile) 2>conftest.er1
32415 grep -v '^ *+' conftest.er1
>conftest.err
32417 cat conftest.err
>&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); } &&
32420 { ac_try
='test -z "$ac_c_werror_flag"
32421 || test ! -s conftest.err'
32422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32423 (eval $ac_try) 2>&5
32425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32426 (exit $ac_status); }; } &&
32427 { ac_try
='test -s conftest.$ac_objext'
32428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32429 (eval $ac_try) 2>&5
32431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32432 (exit $ac_status); }; }; then
32433 ac_cv_type_size_t
=yes
32435 echo "$as_me: failed program was:" >&5
32436 sed 's/^/| /' conftest.
$ac_ext >&5
32438 ac_cv_type_size_t
=no
32440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32442 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32443 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32444 if test $ac_cv_type_size_t = yes; then
32448 cat >>confdefs.h
<<_ACEOF
32449 #define size_t unsigned
32454 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32455 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32456 if test "${ac_cv_type_uid_t+set}" = set; then
32457 echo $ECHO_N "(cached) $ECHO_C" >&6
32459 cat >conftest.
$ac_ext <<_ACEOF
32462 cat confdefs.h
>>conftest.
$ac_ext
32463 cat >>conftest.
$ac_ext <<_ACEOF
32464 /* end confdefs.h. */
32465 #include <sys/types.h>
32468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32469 $EGREP "uid_t" >/dev
/null
2>&1; then
32470 ac_cv_type_uid_t
=yes
32472 ac_cv_type_uid_t
=no
32477 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32478 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32479 if test $ac_cv_type_uid_t = no
; then
32481 cat >>confdefs.h
<<\_ACEOF
32486 cat >>confdefs.h
<<\_ACEOF
32493 echo "$as_me:$LINENO: checking for ssize_t" >&5
32494 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32495 if test "${ac_cv_type_ssize_t+set}" = set; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32498 cat >conftest.
$ac_ext <<_ACEOF
32501 cat confdefs.h
>>conftest.
$ac_ext
32502 cat >>conftest.
$ac_ext <<_ACEOF
32503 /* end confdefs.h. */
32504 $ac_includes_default
32510 if (sizeof (ssize_t))
32516 rm -f conftest.
$ac_objext
32517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32518 (eval $ac_compile) 2>conftest.er1
32520 grep -v '^ *+' conftest.er1
>conftest.err
32522 cat conftest.err
>&5
32523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524 (exit $ac_status); } &&
32525 { ac_try
='test -z "$ac_c_werror_flag"
32526 || test ! -s conftest.err'
32527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32528 (eval $ac_try) 2>&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); }; } &&
32532 { ac_try
='test -s conftest.$ac_objext'
32533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32534 (eval $ac_try) 2>&5
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); }; }; then
32538 ac_cv_type_ssize_t
=yes
32540 echo "$as_me: failed program was:" >&5
32541 sed 's/^/| /' conftest.
$ac_ext >&5
32543 ac_cv_type_ssize_t
=no
32545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32547 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32548 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32549 if test $ac_cv_type_ssize_t = yes; then
32551 cat >>confdefs.h
<<_ACEOF
32552 #define HAVE_SSIZE_T 1
32562 ac_cpp
='$CXXCPP $CPPFLAGS'
32563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32567 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32568 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32569 if test "${wx_cv_size_t_is_uint+set}" = set; then
32570 echo $ECHO_N "(cached) $ECHO_C" >&6
32573 cat >conftest.
$ac_ext <<_ACEOF
32576 cat confdefs.h
>>conftest.
$ac_ext
32577 cat >>conftest.
$ac_ext <<_ACEOF
32578 /* end confdefs.h. */
32579 #include <stddef.h>
32586 struct Foo { void foo(size_t); void foo(unsigned int); };
32594 rm -f conftest.
$ac_objext
32595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32596 (eval $ac_compile) 2>conftest.er1
32598 grep -v '^ *+' conftest.er1
>conftest.err
32600 cat conftest.err
>&5
32601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602 (exit $ac_status); } &&
32603 { ac_try
='test -z "$ac_cxx_werror_flag"
32604 || test ! -s conftest.err'
32605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32606 (eval $ac_try) 2>&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); }; } &&
32610 { ac_try
='test -s conftest.$ac_objext'
32611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32612 (eval $ac_try) 2>&5
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; }; then
32616 wx_cv_size_t_is_uint
=no
32618 echo "$as_me: failed program was:" >&5
32619 sed 's/^/| /' conftest.
$ac_ext >&5
32621 wx_cv_size_t_is_uint
=yes
32624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32628 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32629 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32631 if test "$wx_cv_size_t_is_uint" = "yes"; then
32632 cat >>confdefs.h
<<\_ACEOF
32633 #define wxSIZE_T_IS_UINT 1
32637 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32638 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32639 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32640 echo $ECHO_N "(cached) $ECHO_C" >&6
32642 cat >conftest.
$ac_ext <<_ACEOF
32645 cat confdefs.h
>>conftest.
$ac_ext
32646 cat >>conftest.
$ac_ext <<_ACEOF
32647 /* end confdefs.h. */
32648 #include <stddef.h>
32655 struct Foo { void foo(size_t); void foo(unsigned long); };
32663 rm -f conftest.
$ac_objext
32664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32665 (eval $ac_compile) 2>conftest.er1
32667 grep -v '^ *+' conftest.er1
>conftest.err
32669 cat conftest.err
>&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); } &&
32672 { ac_try
='test -z "$ac_cxx_werror_flag"
32673 || test ! -s conftest.err'
32674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32675 (eval $ac_try) 2>&5
32677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32678 (exit $ac_status); }; } &&
32679 { ac_try
='test -s conftest.$ac_objext'
32680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32681 (eval $ac_try) 2>&5
32683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32684 (exit $ac_status); }; }; then
32685 wx_cv_size_t_is_ulong
=no
32687 echo "$as_me: failed program was:" >&5
32688 sed 's/^/| /' conftest.
$ac_ext >&5
32690 wx_cv_size_t_is_ulong
=yes
32693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32696 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32697 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32699 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32700 cat >>confdefs.h
<<\_ACEOF
32701 #define wxSIZE_T_IS_ULONG 1
32708 ac_cpp
='$CPP $CPPFLAGS'
32709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32715 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32716 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32717 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32718 echo $ECHO_N "(cached) $ECHO_C" >&6
32721 cat >conftest.
$ac_ext <<_ACEOF
32724 cat confdefs.h
>>conftest.
$ac_ext
32725 cat >>conftest.
$ac_ext <<_ACEOF
32726 /* end confdefs.h. */
32740 rm -f conftest.
$ac_objext
32741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32742 (eval $ac_compile) 2>conftest.er1
32744 grep -v '^ *+' conftest.er1
>conftest.err
32746 cat conftest.err
>&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); } &&
32749 { ac_try
='test -z "$ac_c_werror_flag"
32750 || test ! -s conftest.err'
32751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32752 (eval $ac_try) 2>&5
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); }; } &&
32756 { ac_try
='test -s conftest.$ac_objext'
32757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32758 (eval $ac_try) 2>&5
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); }; }; then
32763 wx_cv_struct_pw_gecos
=yes
32766 echo "$as_me: failed program was:" >&5
32767 sed 's/^/| /' conftest.
$ac_ext >&5
32770 wx_cv_struct_pw_gecos
=no
32774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32778 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32779 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32781 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32782 cat >>confdefs.h
<<\_ACEOF
32783 #define HAVE_PW_GECOS 1
32789 if test "$wxUSE_WCHAR_T" = "yes"; then
32790 cat >>confdefs.h
<<\_ACEOF
32791 #define wxUSE_WCHAR_T 1
32798 for ac_func
in wcslen
32800 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32801 echo "$as_me:$LINENO: checking for $ac_func" >&5
32802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32803 if eval "test \"\${$as_ac_var+set}\" = set"; then
32804 echo $ECHO_N "(cached) $ECHO_C" >&6
32806 cat >conftest.
$ac_ext <<_ACEOF
32809 cat confdefs.h
>>conftest.
$ac_ext
32810 cat >>conftest.
$ac_ext <<_ACEOF
32811 /* end confdefs.h. */
32812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32814 #define $ac_func innocuous_$ac_func
32816 /* System header to define __stub macros and hopefully few prototypes,
32817 which can conflict with char $ac_func (); below.
32818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32819 <limits.h> exists even on freestanding compilers. */
32822 # include <limits.h>
32824 # include <assert.h>
32829 /* Override any gcc2 internal prototype to avoid an error. */
32834 /* We use char because int might match the return type of a gcc2
32835 builtin and then its argument prototype would still apply. */
32837 /* The GNU C library defines this for functions which it implements
32838 to always fail with ENOSYS. Some functions are actually named
32839 something starting with __ and the normal name is an alias. */
32840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32843 char (*f) () = $ac_func;
32852 return f != $ac_func;
32857 rm -f conftest.
$ac_objext conftest
$ac_exeext
32858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32859 (eval $ac_link) 2>conftest.er1
32861 grep -v '^ *+' conftest.er1
>conftest.err
32863 cat conftest.err
>&5
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); } &&
32866 { ac_try
='test -z "$ac_c_werror_flag"
32867 || test ! -s conftest.err'
32868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32869 (eval $ac_try) 2>&5
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); }; } &&
32873 { ac_try
='test -s conftest$ac_exeext'
32874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32875 (eval $ac_try) 2>&5
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); }; }; then
32879 eval "$as_ac_var=yes"
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.
$ac_ext >&5
32884 eval "$as_ac_var=no"
32886 rm -f conftest.err conftest.
$ac_objext \
32887 conftest
$ac_exeext conftest.
$ac_ext
32889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32891 if test `eval echo '${'$as_ac_var'}'` = yes; then
32892 cat >>confdefs.h
<<_ACEOF
32893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32900 if test "$WCSLEN_FOUND" = 0; then
32901 if test "$TOOLKIT" = "MSW"; then
32902 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32903 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32904 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32905 echo $ECHO_N "(cached) $ECHO_C" >&6
32907 ac_check_lib_save_LIBS
=$LIBS
32908 LIBS
="-lmsvcrt $LIBS"
32909 cat >conftest.
$ac_ext <<_ACEOF
32912 cat confdefs.h
>>conftest.
$ac_ext
32913 cat >>conftest.
$ac_ext <<_ACEOF
32914 /* end confdefs.h. */
32916 /* Override any gcc2 internal prototype to avoid an error. */
32920 /* We use char because int might match the return type of a gcc2
32921 builtin and then its argument prototype would still apply. */
32931 rm -f conftest.
$ac_objext conftest
$ac_exeext
32932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32933 (eval $ac_link) 2>conftest.er1
32935 grep -v '^ *+' conftest.er1
>conftest.err
32937 cat conftest.err
>&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); } &&
32940 { ac_try
='test -z "$ac_c_werror_flag"
32941 || test ! -s conftest.err'
32942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32943 (eval $ac_try) 2>&5
32945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946 (exit $ac_status); }; } &&
32947 { ac_try
='test -s conftest$ac_exeext'
32948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32949 (eval $ac_try) 2>&5
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); }; }; then
32953 ac_cv_lib_msvcrt_wcslen
=yes
32955 echo "$as_me: failed program was:" >&5
32956 sed 's/^/| /' conftest.
$ac_ext >&5
32958 ac_cv_lib_msvcrt_wcslen
=no
32960 rm -f conftest.err conftest.
$ac_objext \
32961 conftest
$ac_exeext conftest.
$ac_ext
32962 LIBS
=$ac_check_lib_save_LIBS
32964 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32965 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32966 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32971 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32972 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32973 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32974 echo $ECHO_N "(cached) $ECHO_C" >&6
32976 ac_check_lib_save_LIBS
=$LIBS
32978 cat >conftest.
$ac_ext <<_ACEOF
32981 cat confdefs.h
>>conftest.
$ac_ext
32982 cat >>conftest.
$ac_ext <<_ACEOF
32983 /* end confdefs.h. */
32985 /* Override any gcc2 internal prototype to avoid an error. */
32989 /* We use char because int might match the return type of a gcc2
32990 builtin and then its argument prototype would still apply. */
33000 rm -f conftest.
$ac_objext conftest
$ac_exeext
33001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33002 (eval $ac_link) 2>conftest.er1
33004 grep -v '^ *+' conftest.er1
>conftest.err
33006 cat conftest.err
>&5
33007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33008 (exit $ac_status); } &&
33009 { ac_try
='test -z "$ac_c_werror_flag"
33010 || test ! -s conftest.err'
33011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33012 (eval $ac_try) 2>&5
33014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015 (exit $ac_status); }; } &&
33016 { ac_try
='test -s conftest$ac_exeext'
33017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33018 (eval $ac_try) 2>&5
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); }; }; then
33022 ac_cv_lib_w_wcslen
=yes
33024 echo "$as_me: failed program was:" >&5
33025 sed 's/^/| /' conftest.
$ac_ext >&5
33027 ac_cv_lib_w_wcslen
=no
33029 rm -f conftest.err conftest.
$ac_objext \
33030 conftest
$ac_exeext conftest.
$ac_ext
33031 LIBS
=$ac_check_lib_save_LIBS
33033 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33034 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33035 if test $ac_cv_lib_w_wcslen = yes; then
33045 if test "$WCSLEN_FOUND" = 1; then
33046 cat >>confdefs.h
<<\_ACEOF
33047 #define HAVE_WCSLEN 1
33052 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33053 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33056 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33057 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33058 if test "${ac_cv_type_mbstate_t+set}" = set; then
33059 echo $ECHO_N "(cached) $ECHO_C" >&6
33061 cat >conftest.
$ac_ext <<_ACEOF
33064 cat confdefs.h
>>conftest.
$ac_ext
33065 cat >>conftest.
$ac_ext <<_ACEOF
33066 /* end confdefs.h. */
33072 if ((mbstate_t *) 0)
33074 if (sizeof (mbstate_t))
33080 rm -f conftest.
$ac_objext
33081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33082 (eval $ac_compile) 2>conftest.er1
33084 grep -v '^ *+' conftest.er1
>conftest.err
33086 cat conftest.err
>&5
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); } &&
33089 { ac_try
='test -z "$ac_c_werror_flag"
33090 || test ! -s conftest.err'
33091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33092 (eval $ac_try) 2>&5
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); }; } &&
33096 { ac_try
='test -s conftest.$ac_objext'
33097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33098 (eval $ac_try) 2>&5
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); }; }; then
33102 ac_cv_type_mbstate_t
=yes
33104 echo "$as_me: failed program was:" >&5
33105 sed 's/^/| /' conftest.
$ac_ext >&5
33107 ac_cv_type_mbstate_t
=no
33109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33111 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33112 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33113 if test $ac_cv_type_mbstate_t = yes; then
33115 cat >>confdefs.h
<<_ACEOF
33116 #define HAVE_MBSTATE_T 1
33120 for ac_func
in wcsrtombs
33122 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33123 echo "$as_me:$LINENO: checking for $ac_func" >&5
33124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33125 if eval "test \"\${$as_ac_var+set}\" = set"; then
33126 echo $ECHO_N "(cached) $ECHO_C" >&6
33128 cat >conftest.
$ac_ext <<_ACEOF
33131 cat confdefs.h
>>conftest.
$ac_ext
33132 cat >>conftest.
$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33136 #define $ac_func innocuous_$ac_func
33138 /* System header to define __stub macros and hopefully few prototypes,
33139 which can conflict with char $ac_func (); below.
33140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33141 <limits.h> exists even on freestanding compilers. */
33144 # include <limits.h>
33146 # include <assert.h>
33151 /* Override any gcc2 internal prototype to avoid an error. */
33156 /* We use char because int might match the return type of a gcc2
33157 builtin and then its argument prototype would still apply. */
33159 /* The GNU C library defines this for functions which it implements
33160 to always fail with ENOSYS. Some functions are actually named
33161 something starting with __ and the normal name is an alias. */
33162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33165 char (*f) () = $ac_func;
33174 return f != $ac_func;
33179 rm -f conftest.
$ac_objext conftest
$ac_exeext
33180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33181 (eval $ac_link) 2>conftest.er1
33183 grep -v '^ *+' conftest.er1
>conftest.err
33185 cat conftest.err
>&5
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); } &&
33188 { ac_try
='test -z "$ac_c_werror_flag"
33189 || test ! -s conftest.err'
33190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33191 (eval $ac_try) 2>&5
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); }; } &&
33195 { ac_try
='test -s conftest$ac_exeext'
33196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33197 (eval $ac_try) 2>&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); }; }; then
33201 eval "$as_ac_var=yes"
33203 echo "$as_me: failed program was:" >&5
33204 sed 's/^/| /' conftest.
$ac_ext >&5
33206 eval "$as_ac_var=no"
33208 rm -f conftest.err conftest.
$ac_objext \
33209 conftest
$ac_exeext conftest.
$ac_ext
33211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33213 if test `eval echo '${'$as_ac_var'}'` = yes; then
33214 cat >>confdefs.h
<<_ACEOF
33215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33224 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33225 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33231 ac_cpp
='$CXXCPP $CPPFLAGS'
33232 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33233 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33234 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33239 for ac_func
in snprintf vsnprintf
33241 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33242 echo "$as_me:$LINENO: checking for $ac_func" >&5
33243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33244 if eval "test \"\${$as_ac_var+set}\" = set"; then
33245 echo $ECHO_N "(cached) $ECHO_C" >&6
33247 cat >conftest.
$ac_ext <<_ACEOF
33250 cat confdefs.h
>>conftest.
$ac_ext
33251 cat >>conftest.
$ac_ext <<_ACEOF
33252 /* end confdefs.h. */
33253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33255 #define $ac_func innocuous_$ac_func
33257 /* System header to define __stub macros and hopefully few prototypes,
33258 which can conflict with char $ac_func (); below.
33259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33260 <limits.h> exists even on freestanding compilers. */
33263 # include <limits.h>
33265 # include <assert.h>
33270 /* Override any gcc2 internal prototype to avoid an error. */
33275 /* We use char because int might match the return type of a gcc2
33276 builtin and then its argument prototype would still apply. */
33278 /* The GNU C library defines this for functions which it implements
33279 to always fail with ENOSYS. Some functions are actually named
33280 something starting with __ and the normal name is an alias. */
33281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33284 char (*f) () = $ac_func;
33293 return f != $ac_func;
33298 rm -f conftest.
$ac_objext conftest
$ac_exeext
33299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33300 (eval $ac_link) 2>conftest.er1
33302 grep -v '^ *+' conftest.er1
>conftest.err
33304 cat conftest.err
>&5
33305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33306 (exit $ac_status); } &&
33307 { ac_try
='test -z "$ac_cxx_werror_flag"
33308 || test ! -s conftest.err'
33309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33310 (eval $ac_try) 2>&5
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); }; } &&
33314 { ac_try
='test -s conftest$ac_exeext'
33315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33316 (eval $ac_try) 2>&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); }; }; then
33320 eval "$as_ac_var=yes"
33322 echo "$as_me: failed program was:" >&5
33323 sed 's/^/| /' conftest.
$ac_ext >&5
33325 eval "$as_ac_var=no"
33327 rm -f conftest.err conftest.
$ac_objext \
33328 conftest
$ac_exeext conftest.
$ac_ext
33330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33332 if test `eval echo '${'$as_ac_var'}'` = yes; then
33333 cat >>confdefs.h
<<_ACEOF
33334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33341 if test "$ac_cv_func_vsnprintf" = "yes"; then
33342 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33343 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33344 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33345 echo $ECHO_N "(cached) $ECHO_C" >&6
33348 cat >conftest.
$ac_ext <<_ACEOF
33351 cat confdefs.h
>>conftest.
$ac_ext
33352 cat >>conftest.
$ac_ext <<_ACEOF
33353 /* end confdefs.h. */
33356 #include <stdarg.h>
33358 #if __MSL__ >= 0x6000
33360 using namespace std;
33370 vsnprintf(buf, 10u, "%s", ap);
33376 rm -f conftest.
$ac_objext
33377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33378 (eval $ac_compile) 2>conftest.er1
33380 grep -v '^ *+' conftest.er1
>conftest.err
33382 cat conftest.err
>&5
33383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33384 (exit $ac_status); } &&
33385 { ac_try
='test -z "$ac_cxx_werror_flag"
33386 || test ! -s conftest.err'
33387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33388 (eval $ac_try) 2>&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); }; } &&
33392 { ac_try
='test -s conftest.$ac_objext'
33393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33394 (eval $ac_try) 2>&5
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); }; }; then
33398 wx_cv_func_vsnprintf_decl
=yes
33400 echo "$as_me: failed program was:" >&5
33401 sed 's/^/| /' conftest.
$ac_ext >&5
33403 wx_cv_func_vsnprintf_decl
=no
33406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33410 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33411 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33413 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33414 cat >>confdefs.h
<<\_ACEOF
33415 #define HAVE_VSNPRINTF_DECL 1
33419 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33420 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33421 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33422 echo $ECHO_N "(cached) $ECHO_C" >&6
33425 cat >conftest.
$ac_ext <<_ACEOF
33428 cat confdefs.h
>>conftest.
$ac_ext
33429 cat >>conftest.
$ac_ext <<_ACEOF
33430 /* end confdefs.h. */
33433 #include <stdarg.h>
33435 #if __MSL__ >= 0x6000
33437 using namespace std;
33447 const char *fmt = "%s";
33448 vsnprintf(buf, 10u, fmt, ap);
33454 rm -f conftest.
$ac_objext
33455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33456 (eval $ac_compile) 2>conftest.er1
33458 grep -v '^ *+' conftest.er1
>conftest.err
33460 cat conftest.err
>&5
33461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33462 (exit $ac_status); } &&
33463 { ac_try
='test -z "$ac_cxx_werror_flag"
33464 || test ! -s conftest.err'
33465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33466 (eval $ac_try) 2>&5
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); }; } &&
33470 { ac_try
='test -s conftest.$ac_objext'
33471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33472 (eval $ac_try) 2>&5
33474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33475 (exit $ac_status); }; }; then
33476 wx_cv_func_broken_vsnprintf_decl
=no
33478 echo "$as_me: failed program was:" >&5
33479 sed 's/^/| /' conftest.
$ac_ext >&5
33481 wx_cv_func_broken_vsnprintf_decl
=yes
33484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33488 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33489 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33491 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33492 cat >>confdefs.h
<<\_ACEOF
33493 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33500 if test "$ac_cv_func_snprintf" = "yes"; then
33501 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33502 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33503 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33504 echo $ECHO_N "(cached) $ECHO_C" >&6
33507 cat >conftest.
$ac_ext <<_ACEOF
33510 cat confdefs.h
>>conftest.
$ac_ext
33511 cat >>conftest.
$ac_ext <<_ACEOF
33512 /* end confdefs.h. */
33515 #include <stdarg.h>
33517 #if __MSL__ >= 0x6000
33519 using namespace std;
33528 snprintf(buf, 10u, "%s", "wx");
33534 rm -f conftest.
$ac_objext
33535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33536 (eval $ac_compile) 2>conftest.er1
33538 grep -v '^ *+' conftest.er1
>conftest.err
33540 cat conftest.err
>&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); } &&
33543 { ac_try
='test -z "$ac_cxx_werror_flag"
33544 || test ! -s conftest.err'
33545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33546 (eval $ac_try) 2>&5
33548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33549 (exit $ac_status); }; } &&
33550 { ac_try
='test -s conftest.$ac_objext'
33551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33552 (eval $ac_try) 2>&5
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); }; }; then
33556 wx_cv_func_snprintf_decl
=yes
33558 echo "$as_me: failed program was:" >&5
33559 sed 's/^/| /' conftest.
$ac_ext >&5
33561 wx_cv_func_snprintf_decl
=no
33564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33568 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33569 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33571 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33572 cat >>confdefs.h
<<\_ACEOF
33573 #define HAVE_SNPRINTF_DECL 1
33577 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33578 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33579 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33583 cat >conftest.
$ac_ext <<_ACEOF
33586 cat confdefs.h
>>conftest.
$ac_ext
33587 cat >>conftest.
$ac_ext <<_ACEOF
33588 /* end confdefs.h. */
33591 #include <stdarg.h>
33593 #if __MSL__ >= 0x6000
33595 using namespace std;
33604 const char *fmt = "%s";
33605 snprintf(buf, 10u, fmt, "wx");
33611 rm -f conftest.
$ac_objext
33612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33613 (eval $ac_compile) 2>conftest.er1
33615 grep -v '^ *+' conftest.er1
>conftest.err
33617 cat conftest.err
>&5
33618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33619 (exit $ac_status); } &&
33620 { ac_try
='test -z "$ac_cxx_werror_flag"
33621 || test ! -s conftest.err'
33622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33623 (eval $ac_try) 2>&5
33625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33626 (exit $ac_status); }; } &&
33627 { ac_try
='test -s conftest.$ac_objext'
33628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33629 (eval $ac_try) 2>&5
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); }; }; then
33633 wx_cv_func_broken_snprintf_decl
=no
33635 echo "$as_me: failed program was:" >&5
33636 sed 's/^/| /' conftest.
$ac_ext >&5
33638 wx_cv_func_broken_snprintf_decl
=yes
33641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33645 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33646 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33648 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33649 cat >>confdefs.h
<<\_ACEOF
33650 #define HAVE_BROKEN_SNPRINTF_DECL 1
33657 if test "$wxUSE_UNICODE" = yes; then
33664 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33666 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33667 echo "$as_me:$LINENO: checking for $ac_func" >&5
33668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33669 if eval "test \"\${$as_ac_var+set}\" = set"; then
33670 echo $ECHO_N "(cached) $ECHO_C" >&6
33672 cat >conftest.
$ac_ext <<_ACEOF
33675 cat confdefs.h
>>conftest.
$ac_ext
33676 cat >>conftest.
$ac_ext <<_ACEOF
33677 /* end confdefs.h. */
33678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33680 #define $ac_func innocuous_$ac_func
33682 /* System header to define __stub macros and hopefully few prototypes,
33683 which can conflict with char $ac_func (); below.
33684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33685 <limits.h> exists even on freestanding compilers. */
33688 # include <limits.h>
33690 # include <assert.h>
33695 /* Override any gcc2 internal prototype to avoid an error. */
33700 /* We use char because int might match the return type of a gcc2
33701 builtin and then its argument prototype would still apply. */
33703 /* The GNU C library defines this for functions which it implements
33704 to always fail with ENOSYS. Some functions are actually named
33705 something starting with __ and the normal name is an alias. */
33706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33709 char (*f) () = $ac_func;
33718 return f != $ac_func;
33723 rm -f conftest.
$ac_objext conftest
$ac_exeext
33724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33725 (eval $ac_link) 2>conftest.er1
33727 grep -v '^ *+' conftest.er1
>conftest.err
33729 cat conftest.err
>&5
33730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731 (exit $ac_status); } &&
33732 { ac_try
='test -z "$ac_cxx_werror_flag"
33733 || test ! -s conftest.err'
33734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33735 (eval $ac_try) 2>&5
33737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738 (exit $ac_status); }; } &&
33739 { ac_try
='test -s conftest$ac_exeext'
33740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33741 (eval $ac_try) 2>&5
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); }; }; then
33745 eval "$as_ac_var=yes"
33747 echo "$as_me: failed program was:" >&5
33748 sed 's/^/| /' conftest.
$ac_ext >&5
33750 eval "$as_ac_var=no"
33752 rm -f conftest.err conftest.
$ac_objext \
33753 conftest
$ac_exeext conftest.
$ac_ext
33755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33757 if test `eval echo '${'$as_ac_var'}'` = yes; then
33758 cat >>confdefs.h
<<_ACEOF
33759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33766 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33767 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33768 cat >conftest.
$ac_ext <<_ACEOF
33771 cat confdefs.h
>>conftest.
$ac_ext
33772 cat >>conftest.
$ac_ext <<_ACEOF
33773 /* end confdefs.h. */
33783 rm -f conftest.
$ac_objext
33784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33785 (eval $ac_compile) 2>conftest.er1
33787 grep -v '^ *+' conftest.er1
>conftest.err
33789 cat conftest.err
>&5
33790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33791 (exit $ac_status); } &&
33792 { ac_try
='test -z "$ac_cxx_werror_flag"
33793 || test ! -s conftest.err'
33794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33795 (eval $ac_try) 2>&5
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); }; } &&
33799 { ac_try
='test -s conftest.$ac_objext'
33800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33801 (eval $ac_try) 2>&5
33803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33804 (exit $ac_status); }; }; then
33805 echo "$as_me:$LINENO: result: yes" >&5
33806 echo "${ECHO_T}yes" >&6
33807 cat >>confdefs.h
<<\_ACEOF
33808 #define HAVE__VSNWPRINTF 1
33812 echo "$as_me: failed program was:" >&5
33813 sed 's/^/| /' conftest.
$ac_ext >&5
33815 echo "$as_me:$LINENO: result: no" >&5
33816 echo "${ECHO_T}no" >&6
33818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33822 ac_cpp
='$CPP $CPPFLAGS'
33823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33828 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33830 for ac_func
in fnmatch
33832 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33833 echo "$as_me:$LINENO: checking for $ac_func" >&5
33834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33835 if eval "test \"\${$as_ac_var+set}\" = set"; then
33836 echo $ECHO_N "(cached) $ECHO_C" >&6
33838 cat >conftest.
$ac_ext <<_ACEOF
33841 cat confdefs.h
>>conftest.
$ac_ext
33842 cat >>conftest.
$ac_ext <<_ACEOF
33843 /* end confdefs.h. */
33844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33846 #define $ac_func innocuous_$ac_func
33848 /* System header to define __stub macros and hopefully few prototypes,
33849 which can conflict with char $ac_func (); below.
33850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33851 <limits.h> exists even on freestanding compilers. */
33854 # include <limits.h>
33856 # include <assert.h>
33861 /* Override any gcc2 internal prototype to avoid an error. */
33866 /* We use char because int might match the return type of a gcc2
33867 builtin and then its argument prototype would still apply. */
33869 /* The GNU C library defines this for functions which it implements
33870 to always fail with ENOSYS. Some functions are actually named
33871 something starting with __ and the normal name is an alias. */
33872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33875 char (*f) () = $ac_func;
33884 return f != $ac_func;
33889 rm -f conftest.
$ac_objext conftest
$ac_exeext
33890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33891 (eval $ac_link) 2>conftest.er1
33893 grep -v '^ *+' conftest.er1
>conftest.err
33895 cat conftest.err
>&5
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); } &&
33898 { ac_try
='test -z "$ac_c_werror_flag"
33899 || test ! -s conftest.err'
33900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33901 (eval $ac_try) 2>&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); }; } &&
33905 { ac_try
='test -s conftest$ac_exeext'
33906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33907 (eval $ac_try) 2>&5
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; }; then
33911 eval "$as_ac_var=yes"
33913 echo "$as_me: failed program was:" >&5
33914 sed 's/^/| /' conftest.
$ac_ext >&5
33916 eval "$as_ac_var=no"
33918 rm -f conftest.err conftest.
$ac_objext \
33919 conftest
$ac_exeext conftest.
$ac_ext
33921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33923 if test `eval echo '${'$as_ac_var'}'` = yes; then
33924 cat >>confdefs.h
<<_ACEOF
33925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33933 if test "$wxUSE_FILE" = "yes"; then
33935 for ac_func
in fsync
33937 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33938 echo "$as_me:$LINENO: checking for $ac_func" >&5
33939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33940 if eval "test \"\${$as_ac_var+set}\" = set"; then
33941 echo $ECHO_N "(cached) $ECHO_C" >&6
33943 cat >conftest.
$ac_ext <<_ACEOF
33946 cat confdefs.h
>>conftest.
$ac_ext
33947 cat >>conftest.
$ac_ext <<_ACEOF
33948 /* end confdefs.h. */
33949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33951 #define $ac_func innocuous_$ac_func
33953 /* System header to define __stub macros and hopefully few prototypes,
33954 which can conflict with char $ac_func (); below.
33955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33956 <limits.h> exists even on freestanding compilers. */
33959 # include <limits.h>
33961 # include <assert.h>
33966 /* Override any gcc2 internal prototype to avoid an error. */
33971 /* We use char because int might match the return type of a gcc2
33972 builtin and then its argument prototype would still apply. */
33974 /* The GNU C library defines this for functions which it implements
33975 to always fail with ENOSYS. Some functions are actually named
33976 something starting with __ and the normal name is an alias. */
33977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33980 char (*f) () = $ac_func;
33989 return f != $ac_func;
33994 rm -f conftest.
$ac_objext conftest
$ac_exeext
33995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33996 (eval $ac_link) 2>conftest.er1
33998 grep -v '^ *+' conftest.er1
>conftest.err
34000 cat conftest.err
>&5
34001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34002 (exit $ac_status); } &&
34003 { ac_try
='test -z "$ac_c_werror_flag"
34004 || test ! -s conftest.err'
34005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34006 (eval $ac_try) 2>&5
34008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34009 (exit $ac_status); }; } &&
34010 { ac_try
='test -s conftest$ac_exeext'
34011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34012 (eval $ac_try) 2>&5
34014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34015 (exit $ac_status); }; }; then
34016 eval "$as_ac_var=yes"
34018 echo "$as_me: failed program was:" >&5
34019 sed 's/^/| /' conftest.
$ac_ext >&5
34021 eval "$as_ac_var=no"
34023 rm -f conftest.err conftest.
$ac_objext \
34024 conftest
$ac_exeext conftest.
$ac_ext
34026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34028 if test `eval echo '${'$as_ac_var'}'` = yes; then
34029 cat >>confdefs.h
<<_ACEOF
34030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34039 if test "$TOOLKIT" != "MSW"; then
34045 ac_cpp
='$CXXCPP $CPPFLAGS'
34046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34053 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34054 if test "${with_libiconv_prefix+set}" = set; then
34055 withval
="$with_libiconv_prefix"
34057 for dir
in `echo "$withval" | tr : ' '`; do
34058 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34059 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34064 echo "$as_me:$LINENO: checking for iconv" >&5
34065 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34066 if test "${am_cv_func_iconv+set}" = set; then
34067 echo $ECHO_N "(cached) $ECHO_C" >&6
34070 am_cv_func_iconv
="no, consider installing GNU libiconv"
34072 cat >conftest.
$ac_ext <<_ACEOF
34075 cat confdefs.h
>>conftest.
$ac_ext
34076 cat >>conftest.
$ac_ext <<_ACEOF
34077 /* end confdefs.h. */
34078 #include <stdlib.h>
34083 iconv_t cd = iconv_open("","");
34084 iconv(cd,NULL,NULL,NULL,NULL);
34090 rm -f conftest.
$ac_objext conftest
$ac_exeext
34091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34092 (eval $ac_link) 2>conftest.er1
34094 grep -v '^ *+' conftest.er1
>conftest.err
34096 cat conftest.err
>&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); } &&
34099 { ac_try
='test -z "$ac_cxx_werror_flag"
34100 || test ! -s conftest.err'
34101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34102 (eval $ac_try) 2>&5
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); }; } &&
34106 { ac_try
='test -s conftest$ac_exeext'
34107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34108 (eval $ac_try) 2>&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); }; }; then
34112 am_cv_func_iconv
=yes
34114 echo "$as_me: failed program was:" >&5
34115 sed 's/^/| /' conftest.
$ac_ext >&5
34118 rm -f conftest.err conftest.
$ac_objext \
34119 conftest
$ac_exeext conftest.
$ac_ext
34120 if test "$am_cv_func_iconv" != yes; then
34121 am_save_LIBS
="$LIBS"
34122 LIBS
="$LIBS -liconv"
34123 cat >conftest.
$ac_ext <<_ACEOF
34126 cat confdefs.h
>>conftest.
$ac_ext
34127 cat >>conftest.
$ac_ext <<_ACEOF
34128 /* end confdefs.h. */
34129 #include <stdlib.h>
34134 iconv_t cd = iconv_open("","");
34135 iconv(cd,NULL,NULL,NULL,NULL);
34141 rm -f conftest.
$ac_objext conftest
$ac_exeext
34142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34143 (eval $ac_link) 2>conftest.er1
34145 grep -v '^ *+' conftest.er1
>conftest.err
34147 cat conftest.err
>&5
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); } &&
34150 { ac_try
='test -z "$ac_cxx_werror_flag"
34151 || test ! -s conftest.err'
34152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34153 (eval $ac_try) 2>&5
34155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156 (exit $ac_status); }; } &&
34157 { ac_try
='test -s conftest$ac_exeext'
34158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34159 (eval $ac_try) 2>&5
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); }; }; then
34163 am_cv_lib_iconv
=yes
34164 am_cv_func_iconv
=yes
34166 echo "$as_me: failed program was:" >&5
34167 sed 's/^/| /' conftest.
$ac_ext >&5
34170 rm -f conftest.err conftest.
$ac_objext \
34171 conftest
$ac_exeext conftest.
$ac_ext
34172 LIBS
="$am_save_LIBS"
34176 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34177 echo "${ECHO_T}$am_cv_func_iconv" >&6
34178 if test "$am_cv_func_iconv" = yes; then
34180 cat >>confdefs.h
<<\_ACEOF
34181 #define HAVE_ICONV 1
34184 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34185 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34186 if test "${wx_cv_func_iconv_const+set}" = set; then
34187 echo $ECHO_N "(cached) $ECHO_C" >&6
34189 cat >conftest.
$ac_ext <<_ACEOF
34192 cat confdefs.h
>>conftest.
$ac_ext
34193 cat >>conftest.
$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34196 #include <stdlib.h>
34202 #if defined(__STDC__) || defined(__cplusplus)
34203 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34216 rm -f conftest.
$ac_objext
34217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34218 (eval $ac_compile) 2>conftest.er1
34220 grep -v '^ *+' conftest.er1
>conftest.err
34222 cat conftest.err
>&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); } &&
34225 { ac_try
='test -z "$ac_cxx_werror_flag"
34226 || test ! -s conftest.err'
34227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34228 (eval $ac_try) 2>&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); }; } &&
34232 { ac_try
='test -s conftest.$ac_objext'
34233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34234 (eval $ac_try) 2>&5
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); }; }; then
34238 wx_cv_func_iconv_const
="no"
34240 echo "$as_me: failed program was:" >&5
34241 sed 's/^/| /' conftest.
$ac_ext >&5
34243 wx_cv_func_iconv_const
="yes"
34246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34249 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34250 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34253 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34254 iconv_const
="const"
34258 cat >>confdefs.h
<<_ACEOF
34259 #define ICONV_CONST $iconv_const
34264 if test "$am_cv_lib_iconv" = yes; then
34269 LIBS
="$LIBICONV $LIBS"
34271 ac_cpp
='$CPP $CPPFLAGS'
34272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34277 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34279 for ac_func
in sigaction
34281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34282 echo "$as_me:$LINENO: checking for $ac_func" >&5
34283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34284 if eval "test \"\${$as_ac_var+set}\" = set"; then
34285 echo $ECHO_N "(cached) $ECHO_C" >&6
34287 cat >conftest.
$ac_ext <<_ACEOF
34290 cat confdefs.h
>>conftest.
$ac_ext
34291 cat >>conftest.
$ac_ext <<_ACEOF
34292 /* end confdefs.h. */
34293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34295 #define $ac_func innocuous_$ac_func
34297 /* System header to define __stub macros and hopefully few prototypes,
34298 which can conflict with char $ac_func (); below.
34299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34300 <limits.h> exists even on freestanding compilers. */
34303 # include <limits.h>
34305 # include <assert.h>
34310 /* Override any gcc2 internal prototype to avoid an error. */
34315 /* We use char because int might match the return type of a gcc2
34316 builtin and then its argument prototype would still apply. */
34318 /* The GNU C library defines this for functions which it implements
34319 to always fail with ENOSYS. Some functions are actually named
34320 something starting with __ and the normal name is an alias. */
34321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34324 char (*f) () = $ac_func;
34333 return f != $ac_func;
34338 rm -f conftest.
$ac_objext conftest
$ac_exeext
34339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34340 (eval $ac_link) 2>conftest.er1
34342 grep -v '^ *+' conftest.er1
>conftest.err
34344 cat conftest.err
>&5
34345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34346 (exit $ac_status); } &&
34347 { ac_try
='test -z "$ac_c_werror_flag"
34348 || test ! -s conftest.err'
34349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34350 (eval $ac_try) 2>&5
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); }; } &&
34354 { ac_try
='test -s conftest$ac_exeext'
34355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34356 (eval $ac_try) 2>&5
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); }; }; then
34360 eval "$as_ac_var=yes"
34362 echo "$as_me: failed program was:" >&5
34363 sed 's/^/| /' conftest.
$ac_ext >&5
34365 eval "$as_ac_var=no"
34367 rm -f conftest.err conftest.
$ac_objext \
34368 conftest
$ac_exeext conftest.
$ac_ext
34370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34372 if test `eval echo '${'$as_ac_var'}'` = yes; then
34373 cat >>confdefs.h
<<_ACEOF
34374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34381 if test "$ac_cv_func_sigaction" = "no"; then
34382 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34383 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34384 wxUSE_ON_FATAL_EXCEPTION
=no
34387 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34391 ac_cpp
='$CXXCPP $CPPFLAGS'
34392 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34397 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34398 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34399 if test "${wx_cv_type_sa_handler+set}" = set; then
34400 echo $ECHO_N "(cached) $ECHO_C" >&6
34403 cat >conftest.
$ac_ext <<_ACEOF
34406 cat confdefs.h
>>conftest.
$ac_ext
34407 cat >>conftest.
$ac_ext <<_ACEOF
34408 /* end confdefs.h. */
34409 #include <signal.h>
34414 extern void testSigHandler(int);
34416 struct sigaction sa;
34417 sa.sa_handler = testSigHandler;
34423 rm -f conftest.
$ac_objext
34424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34425 (eval $ac_compile) 2>conftest.er1
34427 grep -v '^ *+' conftest.er1
>conftest.err
34429 cat conftest.err
>&5
34430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34431 (exit $ac_status); } &&
34432 { ac_try
='test -z "$ac_cxx_werror_flag"
34433 || test ! -s conftest.err'
34434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34435 (eval $ac_try) 2>&5
34437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34438 (exit $ac_status); }; } &&
34439 { ac_try
='test -s conftest.$ac_objext'
34440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34441 (eval $ac_try) 2>&5
34443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34444 (exit $ac_status); }; }; then
34446 wx_cv_type_sa_handler
=int
34449 echo "$as_me: failed program was:" >&5
34450 sed 's/^/| /' conftest.
$ac_ext >&5
34453 wx_cv_type_sa_handler
=void
34456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34459 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34460 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34463 ac_cpp
='$CPP $CPPFLAGS'
34464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34469 cat >>confdefs.h
<<_ACEOF
34470 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34476 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34480 ac_cpp
='$CXXCPP $CPPFLAGS'
34481 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34482 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34483 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34486 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34487 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34488 if test "${wx_cv_func_backtrace+set}" = set; then
34489 echo $ECHO_N "(cached) $ECHO_C" >&6
34492 cat >conftest.
$ac_ext <<_ACEOF
34495 cat confdefs.h
>>conftest.
$ac_ext
34496 cat >>conftest.
$ac_ext <<_ACEOF
34497 /* end confdefs.h. */
34498 #include <execinfo.h>
34506 backtrace(trace, 1);
34507 messages = backtrace_symbols(trace, 1);
34513 rm -f conftest.
$ac_objext
34514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34515 (eval $ac_compile) 2>conftest.er1
34517 grep -v '^ *+' conftest.er1
>conftest.err
34519 cat conftest.err
>&5
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); } &&
34522 { ac_try
='test -z "$ac_cxx_werror_flag"
34523 || test ! -s conftest.err'
34524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34525 (eval $ac_try) 2>&5
34527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34528 (exit $ac_status); }; } &&
34529 { ac_try
='test -s conftest.$ac_objext'
34530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34531 (eval $ac_try) 2>&5
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); }; }; then
34535 wx_cv_func_backtrace
=yes
34537 echo "$as_me: failed program was:" >&5
34538 sed 's/^/| /' conftest.
$ac_ext >&5
34540 wx_cv_func_backtrace
=no
34543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34547 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34548 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34551 if test "$wx_cv_func_backtrace" = "no"; then
34552 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34553 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34554 wxUSE_STACKWALKER
=no
34556 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34557 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34558 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34559 echo $ECHO_N "(cached) $ECHO_C" >&6
34562 cat >conftest.
$ac_ext <<_ACEOF
34565 cat confdefs.h
>>conftest.
$ac_ext
34566 cat >>conftest.
$ac_ext <<_ACEOF
34567 /* end confdefs.h. */
34568 #include <cxxabi.h>
34574 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34580 rm -f conftest.
$ac_objext conftest
$ac_exeext
34581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34582 (eval $ac_link) 2>conftest.er1
34584 grep -v '^ *+' conftest.er1
>conftest.err
34586 cat conftest.err
>&5
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); } &&
34589 { ac_try
='test -z "$ac_cxx_werror_flag"
34590 || test ! -s conftest.err'
34591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34592 (eval $ac_try) 2>&5
34594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595 (exit $ac_status); }; } &&
34596 { ac_try
='test -s conftest$ac_exeext'
34597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34598 (eval $ac_try) 2>&5
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); }; }; then
34602 wx_cv_func_cxa_demangle
=yes
34604 echo "$as_me: failed program was:" >&5
34605 sed 's/^/| /' conftest.
$ac_ext >&5
34607 wx_cv_func_cxa_demangle
=no
34610 rm -f conftest.err conftest.
$ac_objext \
34611 conftest
$ac_exeext conftest.
$ac_ext
34615 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34616 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34618 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34619 cat >>confdefs.h
<<\_ACEOF
34620 #define HAVE_CXA_DEMANGLE 1
34627 ac_cpp
='$CPP $CPPFLAGS'
34628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34634 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34635 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34636 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34637 wxUSE_STACKWALKER
=no
34643 for ac_func
in mkstemp mktemp
34645 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34646 echo "$as_me:$LINENO: checking for $ac_func" >&5
34647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34648 if eval "test \"\${$as_ac_var+set}\" = set"; then
34649 echo $ECHO_N "(cached) $ECHO_C" >&6
34651 cat >conftest.
$ac_ext <<_ACEOF
34654 cat confdefs.h
>>conftest.
$ac_ext
34655 cat >>conftest.
$ac_ext <<_ACEOF
34656 /* end confdefs.h. */
34657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34659 #define $ac_func innocuous_$ac_func
34661 /* System header to define __stub macros and hopefully few prototypes,
34662 which can conflict with char $ac_func (); below.
34663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34664 <limits.h> exists even on freestanding compilers. */
34667 # include <limits.h>
34669 # include <assert.h>
34674 /* Override any gcc2 internal prototype to avoid an error. */
34679 /* We use char because int might match the return type of a gcc2
34680 builtin and then its argument prototype would still apply. */
34682 /* The GNU C library defines this for functions which it implements
34683 to always fail with ENOSYS. Some functions are actually named
34684 something starting with __ and the normal name is an alias. */
34685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34688 char (*f) () = $ac_func;
34697 return f != $ac_func;
34702 rm -f conftest.
$ac_objext conftest
$ac_exeext
34703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34704 (eval $ac_link) 2>conftest.er1
34706 grep -v '^ *+' conftest.er1
>conftest.err
34708 cat conftest.err
>&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); } &&
34711 { ac_try
='test -z "$ac_c_werror_flag"
34712 || test ! -s conftest.err'
34713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34714 (eval $ac_try) 2>&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); }; } &&
34718 { ac_try
='test -s conftest$ac_exeext'
34719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34720 (eval $ac_try) 2>&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); }; }; then
34724 eval "$as_ac_var=yes"
34726 echo "$as_me: failed program was:" >&5
34727 sed 's/^/| /' conftest.
$ac_ext >&5
34729 eval "$as_ac_var=no"
34731 rm -f conftest.err conftest.
$ac_objext \
34732 conftest
$ac_exeext conftest.
$ac_ext
34734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34736 if test `eval echo '${'$as_ac_var'}'` = yes; then
34737 cat >>confdefs.h
<<_ACEOF
34738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34745 echo "$as_me:$LINENO: checking for statfs" >&5
34746 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34747 if test "${wx_cv_func_statfs+set}" = set; then
34748 echo $ECHO_N "(cached) $ECHO_C" >&6
34750 cat >conftest.
$ac_ext <<_ACEOF
34753 cat confdefs.h
>>conftest.
$ac_ext
34754 cat >>conftest.
$ac_ext <<_ACEOF
34755 /* end confdefs.h. */
34757 #if defined(__BSD__)
34758 #include <sys/param.h>
34759 #include <sys/mount.h>
34761 #include <sys/vfs.h>
34779 rm -f conftest.
$ac_objext
34780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34781 (eval $ac_compile) 2>conftest.er1
34783 grep -v '^ *+' conftest.er1
>conftest.err
34785 cat conftest.err
>&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } &&
34788 { ac_try
='test -z "$ac_c_werror_flag"
34789 || test ! -s conftest.err'
34790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34791 (eval $ac_try) 2>&5
34793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794 (exit $ac_status); }; } &&
34795 { ac_try
='test -s conftest.$ac_objext'
34796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34797 (eval $ac_try) 2>&5
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); }; }; then
34801 wx_cv_func_statfs
=yes
34803 echo "$as_me: failed program was:" >&5
34804 sed 's/^/| /' conftest.
$ac_ext >&5
34806 wx_cv_func_statfs
=no
34809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34812 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34813 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34815 if test "$wx_cv_func_statfs" = "yes"; then
34819 ac_cpp
='$CXXCPP $CPPFLAGS'
34820 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34821 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34822 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34824 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34825 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34826 if test "${wx_cv_func_statfs_decl+set}" = set; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34829 cat >conftest.
$ac_ext <<_ACEOF
34832 cat confdefs.h
>>conftest.
$ac_ext
34833 cat >>conftest.
$ac_ext <<_ACEOF
34834 /* end confdefs.h. */
34836 #if defined(__BSD__)
34837 #include <sys/param.h>
34838 #include <sys/mount.h>
34840 #include <sys/vfs.h>
34854 rm -f conftest.
$ac_objext
34855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34856 (eval $ac_compile) 2>conftest.er1
34858 grep -v '^ *+' conftest.er1
>conftest.err
34860 cat conftest.err
>&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); } &&
34863 { ac_try
='test -z "$ac_cxx_werror_flag"
34864 || test ! -s conftest.err'
34865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34866 (eval $ac_try) 2>&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; } &&
34870 { ac_try
='test -s conftest.$ac_objext'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; }; then
34876 wx_cv_func_statfs_decl
=yes
34878 echo "$as_me: failed program was:" >&5
34879 sed 's/^/| /' conftest.
$ac_ext >&5
34881 wx_cv_func_statfs_decl
=no
34884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34887 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34888 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34890 ac_cpp
='$CPP $CPPFLAGS'
34891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34896 if test "$wx_cv_func_statfs_decl" = "yes"; then
34897 cat >>confdefs.h
<<\_ACEOF
34898 #define HAVE_STATFS_DECL 1
34903 wx_cv_type_statvfs_t
="struct statfs"
34904 cat >>confdefs.h
<<\_ACEOF
34905 #define HAVE_STATFS 1
34909 echo "$as_me:$LINENO: checking for statvfs" >&5
34910 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34911 if test "${wx_cv_func_statvfs+set}" = set; then
34912 echo $ECHO_N "(cached) $ECHO_C" >&6
34914 cat >conftest.
$ac_ext <<_ACEOF
34917 cat confdefs.h
>>conftest.
$ac_ext
34918 cat >>conftest.
$ac_ext <<_ACEOF
34919 /* end confdefs.h. */
34921 #include <stddef.h>
34922 #include <sys/statvfs.h>
34928 statvfs("/", NULL);
34934 rm -f conftest.
$ac_objext
34935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34936 (eval $ac_compile) 2>conftest.er1
34938 grep -v '^ *+' conftest.er1
>conftest.err
34940 cat conftest.err
>&5
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); } &&
34943 { ac_try
='test -z "$ac_c_werror_flag"
34944 || test ! -s conftest.err'
34945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34946 (eval $ac_try) 2>&5
34948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949 (exit $ac_status); }; } &&
34950 { ac_try
='test -s conftest.$ac_objext'
34951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34952 (eval $ac_try) 2>&5
34954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34955 (exit $ac_status); }; }; then
34956 wx_cv_func_statvfs
=yes
34958 echo "$as_me: failed program was:" >&5
34959 sed 's/^/| /' conftest.
$ac_ext >&5
34961 wx_cv_func_statvfs
=no
34964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34967 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34968 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34970 if test "$wx_cv_func_statvfs" = "yes"; then
34974 ac_cpp
='$CXXCPP $CPPFLAGS'
34975 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34976 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34977 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34980 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34981 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34982 if test "${wx_cv_type_statvfs_t+set}" = set; then
34983 echo $ECHO_N "(cached) $ECHO_C" >&6
34985 cat >conftest.
$ac_ext <<_ACEOF
34988 cat confdefs.h
>>conftest.
$ac_ext
34989 cat >>conftest.
$ac_ext <<_ACEOF
34990 /* end confdefs.h. */
34992 #include <sys/statvfs.h>
35009 rm -f conftest.
$ac_objext
35010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35011 (eval $ac_compile) 2>conftest.er1
35013 grep -v '^ *+' conftest.er1
>conftest.err
35015 cat conftest.err
>&5
35016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35017 (exit $ac_status); } &&
35018 { ac_try
='test -z "$ac_cxx_werror_flag"
35019 || test ! -s conftest.err'
35020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35021 (eval $ac_try) 2>&5
35023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35024 (exit $ac_status); }; } &&
35025 { ac_try
='test -s conftest.$ac_objext'
35026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35027 (eval $ac_try) 2>&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); }; }; then
35031 wx_cv_type_statvfs_t
=statvfs_t
35033 echo "$as_me: failed program was:" >&5
35034 sed 's/^/| /' conftest.
$ac_ext >&5
35037 cat >conftest.
$ac_ext <<_ACEOF
35040 cat confdefs.h
>>conftest.
$ac_ext
35041 cat >>conftest.
$ac_ext <<_ACEOF
35042 /* end confdefs.h. */
35044 #include <sys/statvfs.h>
35061 rm -f conftest.
$ac_objext
35062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35063 (eval $ac_compile) 2>conftest.er1
35065 grep -v '^ *+' conftest.er1
>conftest.err
35067 cat conftest.err
>&5
35068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069 (exit $ac_status); } &&
35070 { ac_try
='test -z "$ac_cxx_werror_flag"
35071 || test ! -s conftest.err'
35072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35073 (eval $ac_try) 2>&5
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); }; } &&
35077 { ac_try
='test -s conftest.$ac_objext'
35078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35079 (eval $ac_try) 2>&5
35081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35082 (exit $ac_status); }; }; then
35083 wx_cv_type_statvfs_t
="struct statvfs"
35085 echo "$as_me: failed program was:" >&5
35086 sed 's/^/| /' conftest.
$ac_ext >&5
35088 wx_cv_type_statvfs_t
="unknown"
35091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35098 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35099 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35102 ac_cpp
='$CPP $CPPFLAGS'
35103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35108 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35109 cat >>confdefs.h
<<\_ACEOF
35110 #define HAVE_STATVFS 1
35115 wx_cv_type_statvfs_t
="unknown"
35119 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35120 cat >>confdefs.h
<<_ACEOF
35121 #define WX_STATFS_T $wx_cv_type_statvfs_t
35125 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35126 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35129 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35132 for ac_func
in fcntl flock
35134 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35135 echo "$as_me:$LINENO: checking for $ac_func" >&5
35136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35137 if eval "test \"\${$as_ac_var+set}\" = set"; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 cat >conftest.
$ac_ext <<_ACEOF
35143 cat confdefs.h
>>conftest.
$ac_ext
35144 cat >>conftest.
$ac_ext <<_ACEOF
35145 /* end confdefs.h. */
35146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35148 #define $ac_func innocuous_$ac_func
35150 /* System header to define __stub macros and hopefully few prototypes,
35151 which can conflict with char $ac_func (); below.
35152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35153 <limits.h> exists even on freestanding compilers. */
35156 # include <limits.h>
35158 # include <assert.h>
35163 /* Override any gcc2 internal prototype to avoid an error. */
35168 /* We use char because int might match the return type of a gcc2
35169 builtin and then its argument prototype would still apply. */
35171 /* The GNU C library defines this for functions which it implements
35172 to always fail with ENOSYS. Some functions are actually named
35173 something starting with __ and the normal name is an alias. */
35174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35177 char (*f) () = $ac_func;
35186 return f != $ac_func;
35191 rm -f conftest.
$ac_objext conftest
$ac_exeext
35192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35193 (eval $ac_link) 2>conftest.er1
35195 grep -v '^ *+' conftest.er1
>conftest.err
35197 cat conftest.err
>&5
35198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199 (exit $ac_status); } &&
35200 { ac_try
='test -z "$ac_c_werror_flag"
35201 || test ! -s conftest.err'
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; } &&
35207 { ac_try
='test -s conftest$ac_exeext'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; }; then
35213 eval "$as_ac_var=yes"
35215 echo "$as_me: failed program was:" >&5
35216 sed 's/^/| /' conftest.
$ac_ext >&5
35218 eval "$as_ac_var=no"
35220 rm -f conftest.err conftest.
$ac_objext \
35221 conftest
$ac_exeext conftest.
$ac_ext
35223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35225 if test `eval echo '${'$as_ac_var'}'` = yes; then
35226 cat >>confdefs.h
<<_ACEOF
35227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35234 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35235 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35236 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35237 wxUSE_SNGLINST_CHECKER
=no
35242 for ac_func
in timegm
35244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35245 echo "$as_me:$LINENO: checking for $ac_func" >&5
35246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35247 if eval "test \"\${$as_ac_var+set}\" = set"; then
35248 echo $ECHO_N "(cached) $ECHO_C" >&6
35250 cat >conftest.
$ac_ext <<_ACEOF
35253 cat confdefs.h
>>conftest.
$ac_ext
35254 cat >>conftest.
$ac_ext <<_ACEOF
35255 /* end confdefs.h. */
35256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35258 #define $ac_func innocuous_$ac_func
35260 /* System header to define __stub macros and hopefully few prototypes,
35261 which can conflict with char $ac_func (); below.
35262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35263 <limits.h> exists even on freestanding compilers. */
35266 # include <limits.h>
35268 # include <assert.h>
35273 /* Override any gcc2 internal prototype to avoid an error. */
35278 /* We use char because int might match the return type of a gcc2
35279 builtin and then its argument prototype would still apply. */
35281 /* The GNU C library defines this for functions which it implements
35282 to always fail with ENOSYS. Some functions are actually named
35283 something starting with __ and the normal name is an alias. */
35284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35287 char (*f) () = $ac_func;
35296 return f != $ac_func;
35301 rm -f conftest.
$ac_objext conftest
$ac_exeext
35302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35303 (eval $ac_link) 2>conftest.er1
35305 grep -v '^ *+' conftest.er1
>conftest.err
35307 cat conftest.err
>&5
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); } &&
35310 { ac_try
='test -z "$ac_c_werror_flag"
35311 || test ! -s conftest.err'
35312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35313 (eval $ac_try) 2>&5
35315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35316 (exit $ac_status); }; } &&
35317 { ac_try
='test -s conftest$ac_exeext'
35318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35319 (eval $ac_try) 2>&5
35321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35322 (exit $ac_status); }; }; then
35323 eval "$as_ac_var=yes"
35325 echo "$as_me: failed program was:" >&5
35326 sed 's/^/| /' conftest.
$ac_ext >&5
35328 eval "$as_ac_var=no"
35330 rm -f conftest.err conftest.
$ac_objext \
35331 conftest
$ac_exeext conftest.
$ac_ext
35333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35335 if test `eval echo '${'$as_ac_var'}'` = yes; then
35336 cat >>confdefs.h
<<_ACEOF
35337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35346 for ac_func
in putenv setenv
35348 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35349 echo "$as_me:$LINENO: checking for $ac_func" >&5
35350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35351 if eval "test \"\${$as_ac_var+set}\" = set"; then
35352 echo $ECHO_N "(cached) $ECHO_C" >&6
35354 cat >conftest.
$ac_ext <<_ACEOF
35357 cat confdefs.h
>>conftest.
$ac_ext
35358 cat >>conftest.
$ac_ext <<_ACEOF
35359 /* end confdefs.h. */
35360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35362 #define $ac_func innocuous_$ac_func
35364 /* System header to define __stub macros and hopefully few prototypes,
35365 which can conflict with char $ac_func (); below.
35366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35367 <limits.h> exists even on freestanding compilers. */
35370 # include <limits.h>
35372 # include <assert.h>
35377 /* Override any gcc2 internal prototype to avoid an error. */
35382 /* We use char because int might match the return type of a gcc2
35383 builtin and then its argument prototype would still apply. */
35385 /* The GNU C library defines this for functions which it implements
35386 to always fail with ENOSYS. Some functions are actually named
35387 something starting with __ and the normal name is an alias. */
35388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35391 char (*f) () = $ac_func;
35400 return f != $ac_func;
35405 rm -f conftest.
$ac_objext conftest
$ac_exeext
35406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35407 (eval $ac_link) 2>conftest.er1
35409 grep -v '^ *+' conftest.er1
>conftest.err
35411 cat conftest.err
>&5
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); } &&
35414 { ac_try
='test -z "$ac_c_werror_flag"
35415 || test ! -s conftest.err'
35416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35417 (eval $ac_try) 2>&5
35419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35420 (exit $ac_status); }; } &&
35421 { ac_try
='test -s conftest$ac_exeext'
35422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35423 (eval $ac_try) 2>&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); }; }; then
35427 eval "$as_ac_var=yes"
35429 echo "$as_me: failed program was:" >&5
35430 sed 's/^/| /' conftest.
$ac_ext >&5
35432 eval "$as_ac_var=no"
35434 rm -f conftest.err conftest.
$ac_objext \
35435 conftest
$ac_exeext conftest.
$ac_ext
35437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35439 if test `eval echo '${'$as_ac_var'}'` = yes; then
35440 cat >>confdefs.h
<<_ACEOF
35441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35448 HAVE_SOME_SLEEP_FUNC
=0
35449 if test "$USE_BEOS" = 1; then
35450 cat >>confdefs.h
<<\_ACEOF
35451 #define HAVE_SLEEP 1
35454 HAVE_SOME_SLEEP_FUNC
=1
35457 if test "$USE_DARWIN" = 1; then
35458 cat >>confdefs.h
<<\_ACEOF
35459 #define HAVE_USLEEP 1
35462 HAVE_SOME_SLEEP_FUNC
=1
35465 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35468 for ac_func
in nanosleep
35470 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35471 echo "$as_me:$LINENO: checking for $ac_func" >&5
35472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35473 if eval "test \"\${$as_ac_var+set}\" = set"; then
35474 echo $ECHO_N "(cached) $ECHO_C" >&6
35476 cat >conftest.
$ac_ext <<_ACEOF
35479 cat confdefs.h
>>conftest.
$ac_ext
35480 cat >>conftest.
$ac_ext <<_ACEOF
35481 /* end confdefs.h. */
35482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35484 #define $ac_func innocuous_$ac_func
35486 /* System header to define __stub macros and hopefully few prototypes,
35487 which can conflict with char $ac_func (); below.
35488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35489 <limits.h> exists even on freestanding compilers. */
35492 # include <limits.h>
35494 # include <assert.h>
35499 /* Override any gcc2 internal prototype to avoid an error. */
35504 /* We use char because int might match the return type of a gcc2
35505 builtin and then its argument prototype would still apply. */
35507 /* The GNU C library defines this for functions which it implements
35508 to always fail with ENOSYS. Some functions are actually named
35509 something starting with __ and the normal name is an alias. */
35510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35513 char (*f) () = $ac_func;
35522 return f != $ac_func;
35527 rm -f conftest.
$ac_objext conftest
$ac_exeext
35528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35529 (eval $ac_link) 2>conftest.er1
35531 grep -v '^ *+' conftest.er1
>conftest.err
35533 cat conftest.err
>&5
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); } &&
35536 { ac_try
='test -z "$ac_c_werror_flag"
35537 || test ! -s conftest.err'
35538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35539 (eval $ac_try) 2>&5
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); }; } &&
35543 { ac_try
='test -s conftest$ac_exeext'
35544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545 (eval $ac_try) 2>&5
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); }; }; then
35549 eval "$as_ac_var=yes"
35551 echo "$as_me: failed program was:" >&5
35552 sed 's/^/| /' conftest.
$ac_ext >&5
35554 eval "$as_ac_var=no"
35556 rm -f conftest.err conftest.
$ac_objext \
35557 conftest
$ac_exeext conftest.
$ac_ext
35559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35561 if test `eval echo '${'$as_ac_var'}'` = yes; then
35562 cat >>confdefs.h
<<_ACEOF
35563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35565 cat >>confdefs.h
<<\_ACEOF
35566 #define HAVE_NANOSLEEP 1
35571 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35572 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35573 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35574 echo $ECHO_N "(cached) $ECHO_C" >&6
35576 ac_check_lib_save_LIBS
=$LIBS
35577 LIBS
="-lposix4 $LIBS"
35578 cat >conftest.
$ac_ext <<_ACEOF
35581 cat confdefs.h
>>conftest.
$ac_ext
35582 cat >>conftest.
$ac_ext <<_ACEOF
35583 /* end confdefs.h. */
35585 /* Override any gcc2 internal prototype to avoid an error. */
35589 /* We use char because int might match the return type of a gcc2
35590 builtin and then its argument prototype would still apply. */
35600 rm -f conftest.
$ac_objext conftest
$ac_exeext
35601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35602 (eval $ac_link) 2>conftest.er1
35604 grep -v '^ *+' conftest.er1
>conftest.err
35606 cat conftest.err
>&5
35607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35608 (exit $ac_status); } &&
35609 { ac_try
='test -z "$ac_c_werror_flag"
35610 || test ! -s conftest.err'
35611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35612 (eval $ac_try) 2>&5
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); }; } &&
35616 { ac_try
='test -s conftest$ac_exeext'
35617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35618 (eval $ac_try) 2>&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); }; }; then
35622 ac_cv_lib_posix4_nanosleep
=yes
35624 echo "$as_me: failed program was:" >&5
35625 sed 's/^/| /' conftest.
$ac_ext >&5
35627 ac_cv_lib_posix4_nanosleep
=no
35629 rm -f conftest.err conftest.
$ac_objext \
35630 conftest
$ac_exeext conftest.
$ac_ext
35631 LIBS
=$ac_check_lib_save_LIBS
35633 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35634 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35635 if test $ac_cv_lib_posix4_nanosleep = yes; then
35637 cat >>confdefs.h
<<\_ACEOF
35638 #define HAVE_NANOSLEEP 1
35641 POSIX4_LINK
=" -lposix4"
35646 for ac_func
in usleep
35648 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35649 echo "$as_me:$LINENO: checking for $ac_func" >&5
35650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35651 if eval "test \"\${$as_ac_var+set}\" = set"; then
35652 echo $ECHO_N "(cached) $ECHO_C" >&6
35654 cat >conftest.
$ac_ext <<_ACEOF
35657 cat confdefs.h
>>conftest.
$ac_ext
35658 cat >>conftest.
$ac_ext <<_ACEOF
35659 /* end confdefs.h. */
35660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35662 #define $ac_func innocuous_$ac_func
35664 /* System header to define __stub macros and hopefully few prototypes,
35665 which can conflict with char $ac_func (); below.
35666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35667 <limits.h> exists even on freestanding compilers. */
35670 # include <limits.h>
35672 # include <assert.h>
35677 /* Override any gcc2 internal prototype to avoid an error. */
35682 /* We use char because int might match the return type of a gcc2
35683 builtin and then its argument prototype would still apply. */
35685 /* The GNU C library defines this for functions which it implements
35686 to always fail with ENOSYS. Some functions are actually named
35687 something starting with __ and the normal name is an alias. */
35688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35691 char (*f) () = $ac_func;
35700 return f != $ac_func;
35705 rm -f conftest.
$ac_objext conftest
$ac_exeext
35706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35707 (eval $ac_link) 2>conftest.er1
35709 grep -v '^ *+' conftest.er1
>conftest.err
35711 cat conftest.err
>&5
35712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35713 (exit $ac_status); } &&
35714 { ac_try
='test -z "$ac_c_werror_flag"
35715 || test ! -s conftest.err'
35716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35717 (eval $ac_try) 2>&5
35719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720 (exit $ac_status); }; } &&
35721 { ac_try
='test -s conftest$ac_exeext'
35722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35723 (eval $ac_try) 2>&5
35725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35726 (exit $ac_status); }; }; then
35727 eval "$as_ac_var=yes"
35729 echo "$as_me: failed program was:" >&5
35730 sed 's/^/| /' conftest.
$ac_ext >&5
35732 eval "$as_ac_var=no"
35734 rm -f conftest.err conftest.
$ac_objext \
35735 conftest
$ac_exeext conftest.
$ac_ext
35737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35739 if test `eval echo '${'$as_ac_var'}'` = yes; then
35740 cat >>confdefs.h
<<_ACEOF
35741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35743 cat >>confdefs.h
<<\_ACEOF
35744 #define HAVE_USLEEP 1
35748 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35749 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35767 for ac_func
in uname gethostname
35769 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35770 echo "$as_me:$LINENO: checking for $ac_func" >&5
35771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35772 if eval "test \"\${$as_ac_var+set}\" = set"; then
35773 echo $ECHO_N "(cached) $ECHO_C" >&6
35775 cat >conftest.
$ac_ext <<_ACEOF
35778 cat confdefs.h
>>conftest.
$ac_ext
35779 cat >>conftest.
$ac_ext <<_ACEOF
35780 /* end confdefs.h. */
35781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35783 #define $ac_func innocuous_$ac_func
35785 /* System header to define __stub macros and hopefully few prototypes,
35786 which can conflict with char $ac_func (); below.
35787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35788 <limits.h> exists even on freestanding compilers. */
35791 # include <limits.h>
35793 # include <assert.h>
35798 /* Override any gcc2 internal prototype to avoid an error. */
35803 /* We use char because int might match the return type of a gcc2
35804 builtin and then its argument prototype would still apply. */
35806 /* The GNU C library defines this for functions which it implements
35807 to always fail with ENOSYS. Some functions are actually named
35808 something starting with __ and the normal name is an alias. */
35809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35812 char (*f) () = $ac_func;
35821 return f != $ac_func;
35826 rm -f conftest.
$ac_objext conftest
$ac_exeext
35827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35828 (eval $ac_link) 2>conftest.er1
35830 grep -v '^ *+' conftest.er1
>conftest.err
35832 cat conftest.err
>&5
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); } &&
35835 { ac_try
='test -z "$ac_c_werror_flag"
35836 || test ! -s conftest.err'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; } &&
35842 { ac_try
='test -s conftest$ac_exeext'
35843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35844 (eval $ac_try) 2>&5
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); }; }; then
35848 eval "$as_ac_var=yes"
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.
$ac_ext >&5
35853 eval "$as_ac_var=no"
35855 rm -f conftest.err conftest.
$ac_objext \
35856 conftest
$ac_exeext conftest.
$ac_ext
35858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35860 if test `eval echo '${'$as_ac_var'}'` = yes; then
35861 cat >>confdefs.h
<<_ACEOF
35862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35872 ac_cpp
='$CXXCPP $CPPFLAGS'
35873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35879 for ac_func
in strtok_r
35881 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35882 echo "$as_me:$LINENO: checking for $ac_func" >&5
35883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35884 if eval "test \"\${$as_ac_var+set}\" = set"; then
35885 echo $ECHO_N "(cached) $ECHO_C" >&6
35887 cat >conftest.
$ac_ext <<_ACEOF
35890 cat confdefs.h
>>conftest.
$ac_ext
35891 cat >>conftest.
$ac_ext <<_ACEOF
35892 /* end confdefs.h. */
35893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35895 #define $ac_func innocuous_$ac_func
35897 /* System header to define __stub macros and hopefully few prototypes,
35898 which can conflict with char $ac_func (); below.
35899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35900 <limits.h> exists even on freestanding compilers. */
35903 # include <limits.h>
35905 # include <assert.h>
35910 /* Override any gcc2 internal prototype to avoid an error. */
35915 /* We use char because int might match the return type of a gcc2
35916 builtin and then its argument prototype would still apply. */
35918 /* The GNU C library defines this for functions which it implements
35919 to always fail with ENOSYS. Some functions are actually named
35920 something starting with __ and the normal name is an alias. */
35921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35924 char (*f) () = $ac_func;
35933 return f != $ac_func;
35938 rm -f conftest.
$ac_objext conftest
$ac_exeext
35939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35940 (eval $ac_link) 2>conftest.er1
35942 grep -v '^ *+' conftest.er1
>conftest.err
35944 cat conftest.err
>&5
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); } &&
35947 { ac_try
='test -z "$ac_cxx_werror_flag"
35948 || test ! -s conftest.err'
35949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35950 (eval $ac_try) 2>&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); }; } &&
35954 { ac_try
='test -s conftest$ac_exeext'
35955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35956 (eval $ac_try) 2>&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); }; }; then
35960 eval "$as_ac_var=yes"
35962 echo "$as_me: failed program was:" >&5
35963 sed 's/^/| /' conftest.
$ac_ext >&5
35965 eval "$as_ac_var=no"
35967 rm -f conftest.err conftest.
$ac_objext \
35968 conftest
$ac_exeext conftest.
$ac_ext
35970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35972 if test `eval echo '${'$as_ac_var'}'` = yes; then
35973 cat >>confdefs.h
<<_ACEOF
35974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35982 ac_cpp
='$CPP $CPPFLAGS'
35983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35990 for ac_func
in inet_addr
35992 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35993 echo "$as_me:$LINENO: checking for $ac_func" >&5
35994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35995 if eval "test \"\${$as_ac_var+set}\" = set"; then
35996 echo $ECHO_N "(cached) $ECHO_C" >&6
35998 cat >conftest.
$ac_ext <<_ACEOF
36001 cat confdefs.h
>>conftest.
$ac_ext
36002 cat >>conftest.
$ac_ext <<_ACEOF
36003 /* end confdefs.h. */
36004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36006 #define $ac_func innocuous_$ac_func
36008 /* System header to define __stub macros and hopefully few prototypes,
36009 which can conflict with char $ac_func (); below.
36010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36011 <limits.h> exists even on freestanding compilers. */
36014 # include <limits.h>
36016 # include <assert.h>
36021 /* Override any gcc2 internal prototype to avoid an error. */
36026 /* We use char because int might match the return type of a gcc2
36027 builtin and then its argument prototype would still apply. */
36029 /* The GNU C library defines this for functions which it implements
36030 to always fail with ENOSYS. Some functions are actually named
36031 something starting with __ and the normal name is an alias. */
36032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36035 char (*f) () = $ac_func;
36044 return f != $ac_func;
36049 rm -f conftest.
$ac_objext conftest
$ac_exeext
36050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36051 (eval $ac_link) 2>conftest.er1
36053 grep -v '^ *+' conftest.er1
>conftest.err
36055 cat conftest.err
>&5
36056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36057 (exit $ac_status); } &&
36058 { ac_try
='test -z "$ac_c_werror_flag"
36059 || test ! -s conftest.err'
36060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36061 (eval $ac_try) 2>&5
36063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36064 (exit $ac_status); }; } &&
36065 { ac_try
='test -s conftest$ac_exeext'
36066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36067 (eval $ac_try) 2>&5
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); }; }; then
36071 eval "$as_ac_var=yes"
36073 echo "$as_me: failed program was:" >&5
36074 sed 's/^/| /' conftest.
$ac_ext >&5
36076 eval "$as_ac_var=no"
36078 rm -f conftest.err conftest.
$ac_objext \
36079 conftest
$ac_exeext conftest.
$ac_ext
36081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36083 if test `eval echo '${'$as_ac_var'}'` = yes; then
36084 cat >>confdefs.h
<<_ACEOF
36085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36087 cat >>confdefs.h
<<\_ACEOF
36088 #define HAVE_INET_ADDR 1
36093 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36094 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36095 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36096 echo $ECHO_N "(cached) $ECHO_C" >&6
36098 ac_check_lib_save_LIBS
=$LIBS
36100 cat >conftest.
$ac_ext <<_ACEOF
36103 cat confdefs.h
>>conftest.
$ac_ext
36104 cat >>conftest.
$ac_ext <<_ACEOF
36105 /* end confdefs.h. */
36107 /* Override any gcc2 internal prototype to avoid an error. */
36111 /* We use char because int might match the return type of a gcc2
36112 builtin and then its argument prototype would still apply. */
36122 rm -f conftest.
$ac_objext conftest
$ac_exeext
36123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36124 (eval $ac_link) 2>conftest.er1
36126 grep -v '^ *+' conftest.er1
>conftest.err
36128 cat conftest.err
>&5
36129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36130 (exit $ac_status); } &&
36131 { ac_try
='test -z "$ac_c_werror_flag"
36132 || test ! -s conftest.err'
36133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36134 (eval $ac_try) 2>&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); }; } &&
36138 { ac_try
='test -s conftest$ac_exeext'
36139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36140 (eval $ac_try) 2>&5
36142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143 (exit $ac_status); }; }; then
36144 ac_cv_lib_nsl_inet_addr
=yes
36146 echo "$as_me: failed program was:" >&5
36147 sed 's/^/| /' conftest.
$ac_ext >&5
36149 ac_cv_lib_nsl_inet_addr
=no
36151 rm -f conftest.err conftest.
$ac_objext \
36152 conftest
$ac_exeext conftest.
$ac_ext
36153 LIBS
=$ac_check_lib_save_LIBS
36155 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36156 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36157 if test $ac_cv_lib_nsl_inet_addr = yes; then
36161 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36162 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36163 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36164 echo $ECHO_N "(cached) $ECHO_C" >&6
36166 ac_check_lib_save_LIBS
=$LIBS
36167 LIBS
="-lresolv $LIBS"
36168 cat >conftest.
$ac_ext <<_ACEOF
36171 cat confdefs.h
>>conftest.
$ac_ext
36172 cat >>conftest.
$ac_ext <<_ACEOF
36173 /* end confdefs.h. */
36175 /* Override any gcc2 internal prototype to avoid an error. */
36179 /* We use char because int might match the return type of a gcc2
36180 builtin and then its argument prototype would still apply. */
36190 rm -f conftest.
$ac_objext conftest
$ac_exeext
36191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36192 (eval $ac_link) 2>conftest.er1
36194 grep -v '^ *+' conftest.er1
>conftest.err
36196 cat conftest.err
>&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); } &&
36199 { ac_try
='test -z "$ac_c_werror_flag"
36200 || test ! -s conftest.err'
36201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36202 (eval $ac_try) 2>&5
36204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36205 (exit $ac_status); }; } &&
36206 { ac_try
='test -s conftest$ac_exeext'
36207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36208 (eval $ac_try) 2>&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); }; }; then
36212 ac_cv_lib_resolv_inet_addr
=yes
36214 echo "$as_me: failed program was:" >&5
36215 sed 's/^/| /' conftest.
$ac_ext >&5
36217 ac_cv_lib_resolv_inet_addr
=no
36219 rm -f conftest.err conftest.
$ac_objext \
36220 conftest
$ac_exeext conftest.
$ac_ext
36221 LIBS
=$ac_check_lib_save_LIBS
36223 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36224 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36225 if test $ac_cv_lib_resolv_inet_addr = yes; then
36229 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36230 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36231 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36232 echo $ECHO_N "(cached) $ECHO_C" >&6
36234 ac_check_lib_save_LIBS
=$LIBS
36235 LIBS
="-lsocket $LIBS"
36236 cat >conftest.
$ac_ext <<_ACEOF
36239 cat confdefs.h
>>conftest.
$ac_ext
36240 cat >>conftest.
$ac_ext <<_ACEOF
36241 /* end confdefs.h. */
36243 /* Override any gcc2 internal prototype to avoid an error. */
36247 /* We use char because int might match the return type of a gcc2
36248 builtin and then its argument prototype would still apply. */
36258 rm -f conftest.
$ac_objext conftest
$ac_exeext
36259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36260 (eval $ac_link) 2>conftest.er1
36262 grep -v '^ *+' conftest.er1
>conftest.err
36264 cat conftest.err
>&5
36265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36266 (exit $ac_status); } &&
36267 { ac_try
='test -z "$ac_c_werror_flag"
36268 || test ! -s conftest.err'
36269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36270 (eval $ac_try) 2>&5
36272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36273 (exit $ac_status); }; } &&
36274 { ac_try
='test -s conftest$ac_exeext'
36275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36276 (eval $ac_try) 2>&5
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); }; }; then
36280 ac_cv_lib_socket_inet_addr
=yes
36282 echo "$as_me: failed program was:" >&5
36283 sed 's/^/| /' conftest.
$ac_ext >&5
36285 ac_cv_lib_socket_inet_addr
=no
36287 rm -f conftest.err conftest.
$ac_objext \
36288 conftest
$ac_exeext conftest.
$ac_ext
36289 LIBS
=$ac_check_lib_save_LIBS
36291 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36292 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36293 if test $ac_cv_lib_socket_inet_addr = yes; then
36313 for ac_func
in inet_aton
36315 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36316 echo "$as_me:$LINENO: checking for $ac_func" >&5
36317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36318 if eval "test \"\${$as_ac_var+set}\" = set"; then
36319 echo $ECHO_N "(cached) $ECHO_C" >&6
36321 cat >conftest.
$ac_ext <<_ACEOF
36324 cat confdefs.h
>>conftest.
$ac_ext
36325 cat >>conftest.
$ac_ext <<_ACEOF
36326 /* end confdefs.h. */
36327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36329 #define $ac_func innocuous_$ac_func
36331 /* System header to define __stub macros and hopefully few prototypes,
36332 which can conflict with char $ac_func (); below.
36333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36334 <limits.h> exists even on freestanding compilers. */
36337 # include <limits.h>
36339 # include <assert.h>
36344 /* Override any gcc2 internal prototype to avoid an error. */
36349 /* We use char because int might match the return type of a gcc2
36350 builtin and then its argument prototype would still apply. */
36352 /* The GNU C library defines this for functions which it implements
36353 to always fail with ENOSYS. Some functions are actually named
36354 something starting with __ and the normal name is an alias. */
36355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36358 char (*f) () = $ac_func;
36367 return f != $ac_func;
36372 rm -f conftest.
$ac_objext conftest
$ac_exeext
36373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36374 (eval $ac_link) 2>conftest.er1
36376 grep -v '^ *+' conftest.er1
>conftest.err
36378 cat conftest.err
>&5
36379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36380 (exit $ac_status); } &&
36381 { ac_try
='test -z "$ac_c_werror_flag"
36382 || test ! -s conftest.err'
36383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36384 (eval $ac_try) 2>&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); }; } &&
36388 { ac_try
='test -s conftest$ac_exeext'
36389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36390 (eval $ac_try) 2>&5
36392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36393 (exit $ac_status); }; }; then
36394 eval "$as_ac_var=yes"
36396 echo "$as_me: failed program was:" >&5
36397 sed 's/^/| /' conftest.
$ac_ext >&5
36399 eval "$as_ac_var=no"
36401 rm -f conftest.err conftest.
$ac_objext \
36402 conftest
$ac_exeext conftest.
$ac_ext
36404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36406 if test `eval echo '${'$as_ac_var'}'` = yes; then
36407 cat >>confdefs.h
<<_ACEOF
36408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36410 cat >>confdefs.h
<<\_ACEOF
36411 #define HAVE_INET_ATON 1
36416 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36417 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36418 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36419 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36420 echo $ECHO_N "(cached) $ECHO_C" >&6
36422 ac_check_lib_save_LIBS
=$LIBS
36423 LIBS
="-l$INET_LINK $LIBS"
36424 cat >conftest.
$ac_ext <<_ACEOF
36427 cat confdefs.h
>>conftest.
$ac_ext
36428 cat >>conftest.
$ac_ext <<_ACEOF
36429 /* end confdefs.h. */
36431 /* Override any gcc2 internal prototype to avoid an error. */
36435 /* We use char because int might match the return type of a gcc2
36436 builtin and then its argument prototype would still apply. */
36446 rm -f conftest.
$ac_objext conftest
$ac_exeext
36447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36448 (eval $ac_link) 2>conftest.er1
36450 grep -v '^ *+' conftest.er1
>conftest.err
36452 cat conftest.err
>&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); } &&
36455 { ac_try
='test -z "$ac_c_werror_flag"
36456 || test ! -s conftest.err'
36457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36458 (eval $ac_try) 2>&5
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); }; } &&
36462 { ac_try
='test -s conftest$ac_exeext'
36463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36464 (eval $ac_try) 2>&5
36466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36467 (exit $ac_status); }; }; then
36468 eval "$as_ac_Lib=yes"
36470 echo "$as_me: failed program was:" >&5
36471 sed 's/^/| /' conftest.
$ac_ext >&5
36473 eval "$as_ac_Lib=no"
36475 rm -f conftest.err conftest.
$ac_objext \
36476 conftest
$ac_exeext conftest.
$ac_ext
36477 LIBS
=$ac_check_lib_save_LIBS
36479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36480 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36481 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36482 cat >>confdefs.h
<<\_ACEOF
36483 #define HAVE_INET_ATON 1
36493 if test "x$INET_LINK" != "x"; then
36494 cat >>confdefs.h
<<\_ACEOF
36495 #define HAVE_INET_ADDR 1
36498 INET_LINK
=" -l$INET_LINK"
36506 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36507 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36508 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36509 echo $ECHO_N "(cached) $ECHO_C" >&6
36511 ac_check_lib_save_LIBS
=$LIBS
36513 cat >conftest.
$ac_ext <<_ACEOF
36516 cat confdefs.h
>>conftest.
$ac_ext
36517 cat >>conftest.
$ac_ext <<_ACEOF
36518 /* end confdefs.h. */
36520 /* Override any gcc2 internal prototype to avoid an error. */
36524 /* We use char because int might match the return type of a gcc2
36525 builtin and then its argument prototype would still apply. */
36535 rm -f conftest.
$ac_objext conftest
$ac_exeext
36536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36537 (eval $ac_link) 2>conftest.er1
36539 grep -v '^ *+' conftest.er1
>conftest.err
36541 cat conftest.err
>&5
36542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543 (exit $ac_status); } &&
36544 { ac_try
='test -z "$ac_c_werror_flag"
36545 || test ! -s conftest.err'
36546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36547 (eval $ac_try) 2>&5
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); }; } &&
36551 { ac_try
='test -s conftest$ac_exeext'
36552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36553 (eval $ac_try) 2>&5
36555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556 (exit $ac_status); }; }; then
36557 ac_cv_lib_esd_esd_close
=yes
36559 echo "$as_me: failed program was:" >&5
36560 sed 's/^/| /' conftest.
$ac_ext >&5
36562 ac_cv_lib_esd_esd_close
=no
36564 rm -f conftest.err conftest.
$ac_objext \
36565 conftest
$ac_exeext conftest.
$ac_ext
36566 LIBS
=$ac_check_lib_save_LIBS
36568 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36569 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36570 if test $ac_cv_lib_esd_esd_close = yes; then
36573 for ac_header
in esd.h
36575 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36577 echo "$as_me:$LINENO: checking for $ac_header" >&5
36578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36580 echo $ECHO_N "(cached) $ECHO_C" >&6
36582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36585 # Is the header compilable?
36586 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36587 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36588 cat >conftest.
$ac_ext <<_ACEOF
36591 cat confdefs.h
>>conftest.
$ac_ext
36592 cat >>conftest.
$ac_ext <<_ACEOF
36593 /* end confdefs.h. */
36594 $ac_includes_default
36595 #include <$ac_header>
36597 rm -f conftest.
$ac_objext
36598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36599 (eval $ac_compile) 2>conftest.er1
36601 grep -v '^ *+' conftest.er1
>conftest.err
36603 cat conftest.err
>&5
36604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36605 (exit $ac_status); } &&
36606 { ac_try
='test -z "$ac_c_werror_flag"
36607 || test ! -s conftest.err'
36608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36609 (eval $ac_try) 2>&5
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); }; } &&
36613 { ac_try
='test -s conftest.$ac_objext'
36614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36615 (eval $ac_try) 2>&5
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); }; }; then
36619 ac_header_compiler
=yes
36621 echo "$as_me: failed program was:" >&5
36622 sed 's/^/| /' conftest.
$ac_ext >&5
36624 ac_header_compiler
=no
36626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36627 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36628 echo "${ECHO_T}$ac_header_compiler" >&6
36630 # Is the header present?
36631 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36632 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36633 cat >conftest.
$ac_ext <<_ACEOF
36636 cat confdefs.h
>>conftest.
$ac_ext
36637 cat >>conftest.
$ac_ext <<_ACEOF
36638 /* end confdefs.h. */
36639 #include <$ac_header>
36641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36642 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36644 grep -v '^ *+' conftest.er1
>conftest.err
36646 cat conftest.err
>&5
36647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36648 (exit $ac_status); } >/dev
/null
; then
36649 if test -s conftest.err
; then
36650 ac_cpp_err
=$ac_c_preproc_warn_flag
36651 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36658 if test -z "$ac_cpp_err"; then
36659 ac_header_preproc
=yes
36661 echo "$as_me: failed program was:" >&5
36662 sed 's/^/| /' conftest.
$ac_ext >&5
36664 ac_header_preproc
=no
36666 rm -f conftest.err conftest.
$ac_ext
36667 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36668 echo "${ECHO_T}$ac_header_preproc" >&6
36670 # So? What about this header?
36671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36673 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36674 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36676 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36677 ac_header_preproc
=yes
36680 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36681 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36682 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36683 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36684 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36685 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36686 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36687 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36690 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36691 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36694 ## ----------------------------------------- ##
36695 ## Report this to wx-dev@lists.wxwidgets.org ##
36696 ## ----------------------------------------- ##
36699 sed "s/^/$as_me: WARNING: /" >&2
36702 echo "$as_me:$LINENO: checking for $ac_header" >&5
36703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36705 echo $ECHO_N "(cached) $ECHO_C" >&6
36707 eval "$as_ac_Header=\$ac_header_preproc"
36709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36710 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36714 cat >>confdefs.h
<<_ACEOF
36715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36718 EXTRALIBS_ESD
="-lesd"
36729 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36730 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36731 cat >conftest.
$ac_ext <<_ACEOF
36734 cat confdefs.h
>>conftest.
$ac_ext
36735 cat >>conftest.
$ac_ext <<_ACEOF
36736 /* end confdefs.h. */
36738 #include <linux/cdrom.h>
36741 #include <sys/cdio.h>
36747 struct cdrom_tocentry entry, old_entry;
36752 rm -f conftest.
$ac_objext
36753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36754 (eval $ac_compile) 2>conftest.er1
36756 grep -v '^ *+' conftest.er1
>conftest.err
36758 cat conftest.err
>&5
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); } &&
36761 { ac_try
='test -z "$ac_c_werror_flag"
36762 || test ! -s conftest.err'
36763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36764 (eval $ac_try) 2>&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); }; } &&
36768 { ac_try
='test -s conftest.$ac_objext'
36769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36770 (eval $ac_try) 2>&5
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); }; }; then
36774 echo "$as_me:$LINENO: result: yes" >&5
36775 echo "${ECHO_T}yes" >&6
36776 cat >>confdefs.h
<<\_ACEOF
36777 #define HAVE_KNOWN_CDROM_INTERFACE 1
36781 echo "$as_me: failed program was:" >&5
36782 sed 's/^/| /' conftest.
$ac_ext >&5
36784 echo "$as_me:$LINENO: result: no" >&5
36785 echo "${ECHO_T}no" >&6
36787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36790 cat >confcache
<<\_ACEOF
36791 # This file is a shell script that caches the results of configure
36792 # tests run on this system so they can be shared between configure
36793 # scripts and configure runs, see configure's option --config-cache.
36794 # It is not useful on other systems. If it contains results you don't
36795 # want to keep, you may remove or edit it.
36797 # config.status only pays attention to the cache file if you give it
36798 # the --recheck option to rerun configure.
36800 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36801 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36802 # following values.
36806 # The following way of writing the cache mishandles newlines in values,
36807 # but we know of no workaround that is simple, portable, and efficient.
36808 # So, don't put newlines in cache variables' values.
36809 # Ultrix sh set writes to stderr and can't be redirected directly,
36810 # and sets the high bit in the cache file unless we assign to the vars.
36813 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36815 # `set' does not quote correctly, so add quotes (double-quote
36816 # substitution turns \\\\ into \\, and sed turns \\ into \).
36819 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36822 # `set' quotes correctly as required by POSIX, so do not add quotes.
36824 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36831 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36833 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36835 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36836 if test -w $cache_file; then
36837 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36838 cat confcache
>$cache_file
36840 echo "not updating unwritable cache $cache_file"
36846 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36852 if test "$wxUSE_THREADS" = "yes" ; then
36853 if test "$USE_BEOS" = 1; then
36854 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36855 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36860 if test "$wxUSE_THREADS" = "yes" ; then
36863 THREAD_OPTS
="-pthread"
36865 *-*-solaris2* | *-*-sunos4* )
36866 if test "x$GCC" = "xyes"; then
36867 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36869 THREAD_OPTS
="-mt $THREAD_OPTS"
36873 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36875 *-*-darwin* | *-*-cygwin* )
36879 THREAD_OPTS
="pthreads"
36882 if test "x$GCC" = "xyes"; then
36883 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36891 if test "x$GCC" = "xyes"; then
36897 if test "x$GCC" != "xyes"; then
36898 THREAD_OPTS
="-Ethread"
36903 THREAD_OPTS
="$THREAD_OPTS pthread none"
36906 for flag
in $THREAD_OPTS; do
36909 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36910 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36914 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36915 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36916 THREADS_CFLAGS
="$flag"
36920 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36921 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36922 THREADS_LINK
="-l$flag"
36927 save_CFLAGS
="$CFLAGS"
36928 LIBS
="$THREADS_LINK $LIBS"
36929 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
36931 cat >conftest.
$ac_ext <<_ACEOF
36934 cat confdefs.h
>>conftest.
$ac_ext
36935 cat >>conftest.
$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36937 #include <pthread.h>
36941 pthread_create(0,0,0,0);
36946 rm -f conftest.
$ac_objext conftest
$ac_exeext
36947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36948 (eval $ac_link) 2>conftest.er1
36950 grep -v '^ *+' conftest.er1
>conftest.err
36952 cat conftest.err
>&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } &&
36955 { ac_try
='test -z "$ac_c_werror_flag"
36956 || test ! -s conftest.err'
36957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36958 (eval $ac_try) 2>&5
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); }; } &&
36962 { ac_try
='test -s conftest$ac_exeext'
36963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36964 (eval $ac_try) 2>&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); }; }; then
36970 echo "$as_me: failed program was:" >&5
36971 sed 's/^/| /' conftest.
$ac_ext >&5
36974 rm -f conftest.err conftest.
$ac_objext \
36975 conftest
$ac_exeext conftest.
$ac_ext
36978 CFLAGS
="$save_CFLAGS"
36980 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36981 echo "${ECHO_T}$THREADS_OK" >&6
36982 if test "x$THREADS_OK" = "xyes"; then
36990 if test "x$THREADS_OK" != "xyes"; then
36992 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36993 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36995 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
36996 LIBS
="$THREADS_LINK $LIBS"
36998 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36999 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37003 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37004 flag
="-D_THREAD_SAFE"
37007 flag
="-D_THREAD_SAFE"
37010 flag
="-D_REENTRANT"
37011 if test "x$GCC" != "xyes"; then
37012 flag
="$flag -D_RWSTD_MULTI_THREAD"
37015 *solaris
* | alpha
*-osf*)
37016 flag
="-D_REENTRANT"
37019 echo "$as_me:$LINENO: result: ${flag}" >&5
37020 echo "${ECHO_T}${flag}" >&6
37021 if test "x$flag" != xno
; then
37022 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
37025 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37029 if test "$wxUSE_THREADS" = "yes" ; then
37031 for ac_func
in thr_setconcurrency
37033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37034 echo "$as_me:$LINENO: checking for $ac_func" >&5
37035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37036 if eval "test \"\${$as_ac_var+set}\" = set"; then
37037 echo $ECHO_N "(cached) $ECHO_C" >&6
37039 cat >conftest.
$ac_ext <<_ACEOF
37042 cat confdefs.h
>>conftest.
$ac_ext
37043 cat >>conftest.
$ac_ext <<_ACEOF
37044 /* end confdefs.h. */
37045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37047 #define $ac_func innocuous_$ac_func
37049 /* System header to define __stub macros and hopefully few prototypes,
37050 which can conflict with char $ac_func (); below.
37051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37052 <limits.h> exists even on freestanding compilers. */
37055 # include <limits.h>
37057 # include <assert.h>
37062 /* Override any gcc2 internal prototype to avoid an error. */
37067 /* We use char because int might match the return type of a gcc2
37068 builtin and then its argument prototype would still apply. */
37070 /* The GNU C library defines this for functions which it implements
37071 to always fail with ENOSYS. Some functions are actually named
37072 something starting with __ and the normal name is an alias. */
37073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37076 char (*f) () = $ac_func;
37085 return f != $ac_func;
37090 rm -f conftest.
$ac_objext conftest
$ac_exeext
37091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37092 (eval $ac_link) 2>conftest.er1
37094 grep -v '^ *+' conftest.er1
>conftest.err
37096 cat conftest.err
>&5
37097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098 (exit $ac_status); } &&
37099 { ac_try
='test -z "$ac_c_werror_flag"
37100 || test ! -s conftest.err'
37101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37102 (eval $ac_try) 2>&5
37104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37105 (exit $ac_status); }; } &&
37106 { ac_try
='test -s conftest$ac_exeext'
37107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37108 (eval $ac_try) 2>&5
37110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37111 (exit $ac_status); }; }; then
37112 eval "$as_ac_var=yes"
37114 echo "$as_me: failed program was:" >&5
37115 sed 's/^/| /' conftest.
$ac_ext >&5
37117 eval "$as_ac_var=no"
37119 rm -f conftest.err conftest.
$ac_objext \
37120 conftest
$ac_exeext conftest.
$ac_ext
37122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37124 if test `eval echo '${'$as_ac_var'}'` = yes; then
37125 cat >>confdefs.h
<<_ACEOF
37126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37133 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37134 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37135 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37136 echo $ECHO_N "(cached) $ECHO_C" >&6
37139 cat >conftest.
$ac_ext <<_ACEOF
37142 cat confdefs.h
>>conftest.
$ac_ext
37143 cat >>conftest.
$ac_ext <<_ACEOF
37144 /* end confdefs.h. */
37145 #include <pthread.h>
37146 void ThreadCleanupFunc(void *p);
37153 pthread_cleanup_push(ThreadCleanupFunc, p);
37154 pthread_cleanup_pop(0);
37160 rm -f conftest.
$ac_objext
37161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37162 (eval $ac_compile) 2>conftest.er1
37164 grep -v '^ *+' conftest.er1
>conftest.err
37166 cat conftest.err
>&5
37167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37168 (exit $ac_status); } &&
37169 { ac_try
='test -z "$ac_c_werror_flag"
37170 || test ! -s conftest.err'
37171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37172 (eval $ac_try) 2>&5
37174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37175 (exit $ac_status); }; } &&
37176 { ac_try
='test -s conftest.$ac_objext'
37177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37178 (eval $ac_try) 2>&5
37180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37181 (exit $ac_status); }; }; then
37183 wx_cv_func_pthread_cleanup
=yes
37186 echo "$as_me: failed program was:" >&5
37187 sed 's/^/| /' conftest.
$ac_ext >&5
37190 wx_cv_func_pthread_cleanup
=no
37194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37197 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37198 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37199 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37200 cat >>confdefs.h
<<\_ACEOF
37201 #define wxHAVE_PTHREAD_CLEANUP 1
37207 for ac_header
in sched.h
37209 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37211 echo "$as_me:$LINENO: checking for $ac_header" >&5
37212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37214 echo $ECHO_N "(cached) $ECHO_C" >&6
37216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37219 # Is the header compilable?
37220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37222 cat >conftest.
$ac_ext <<_ACEOF
37225 cat confdefs.h
>>conftest.
$ac_ext
37226 cat >>conftest.
$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37228 $ac_includes_default
37229 #include <$ac_header>
37231 rm -f conftest.
$ac_objext
37232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37233 (eval $ac_compile) 2>conftest.er1
37235 grep -v '^ *+' conftest.er1
>conftest.err
37237 cat conftest.err
>&5
37238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37239 (exit $ac_status); } &&
37240 { ac_try
='test -z "$ac_c_werror_flag"
37241 || test ! -s conftest.err'
37242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37243 (eval $ac_try) 2>&5
37245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37246 (exit $ac_status); }; } &&
37247 { ac_try
='test -s conftest.$ac_objext'
37248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37249 (eval $ac_try) 2>&5
37251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37252 (exit $ac_status); }; }; then
37253 ac_header_compiler
=yes
37255 echo "$as_me: failed program was:" >&5
37256 sed 's/^/| /' conftest.
$ac_ext >&5
37258 ac_header_compiler
=no
37260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37261 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37262 echo "${ECHO_T}$ac_header_compiler" >&6
37264 # Is the header present?
37265 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37266 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37267 cat >conftest.
$ac_ext <<_ACEOF
37270 cat confdefs.h
>>conftest.
$ac_ext
37271 cat >>conftest.
$ac_ext <<_ACEOF
37272 /* end confdefs.h. */
37273 #include <$ac_header>
37275 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37276 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37278 grep -v '^ *+' conftest.er1
>conftest.err
37280 cat conftest.err
>&5
37281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37282 (exit $ac_status); } >/dev
/null
; then
37283 if test -s conftest.err
; then
37284 ac_cpp_err
=$ac_c_preproc_warn_flag
37285 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37292 if test -z "$ac_cpp_err"; then
37293 ac_header_preproc
=yes
37295 echo "$as_me: failed program was:" >&5
37296 sed 's/^/| /' conftest.
$ac_ext >&5
37298 ac_header_preproc
=no
37300 rm -f conftest.err conftest.
$ac_ext
37301 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37302 echo "${ECHO_T}$ac_header_preproc" >&6
37304 # So? What about this header?
37305 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37307 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37308 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37310 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37311 ac_header_preproc
=yes
37314 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37315 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37316 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37317 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37318 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37319 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37320 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37321 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37324 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37325 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37328 ## ----------------------------------------- ##
37329 ## Report this to wx-dev@lists.wxwidgets.org ##
37330 ## ----------------------------------------- ##
37333 sed "s/^/$as_me: WARNING: /" >&2
37336 echo "$as_me:$LINENO: checking for $ac_header" >&5
37337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37339 echo $ECHO_N "(cached) $ECHO_C" >&6
37341 eval "$as_ac_Header=\$ac_header_preproc"
37343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37348 cat >>confdefs.h
<<_ACEOF
37349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37356 if test "$ac_cv_header_sched_h" = "yes"; then
37357 echo "$as_me:$LINENO: checking for sched_yield" >&5
37358 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37359 if test "${ac_cv_func_sched_yield+set}" = set; then
37360 echo $ECHO_N "(cached) $ECHO_C" >&6
37362 cat >conftest.
$ac_ext <<_ACEOF
37365 cat confdefs.h
>>conftest.
$ac_ext
37366 cat >>conftest.
$ac_ext <<_ACEOF
37367 /* end confdefs.h. */
37368 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37370 #define sched_yield innocuous_sched_yield
37372 /* System header to define __stub macros and hopefully few prototypes,
37373 which can conflict with char sched_yield (); below.
37374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37375 <limits.h> exists even on freestanding compilers. */
37378 # include <limits.h>
37380 # include <assert.h>
37385 /* Override any gcc2 internal prototype to avoid an error. */
37390 /* We use char because int might match the return type of a gcc2
37391 builtin and then its argument prototype would still apply. */
37392 char sched_yield ();
37393 /* The GNU C library defines this for functions which it implements
37394 to always fail with ENOSYS. Some functions are actually named
37395 something starting with __ and the normal name is an alias. */
37396 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37399 char (*f) () = sched_yield;
37408 return f != sched_yield;
37413 rm -f conftest.
$ac_objext conftest
$ac_exeext
37414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37415 (eval $ac_link) 2>conftest.er1
37417 grep -v '^ *+' conftest.er1
>conftest.err
37419 cat conftest.err
>&5
37420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421 (exit $ac_status); } &&
37422 { ac_try
='test -z "$ac_c_werror_flag"
37423 || test ! -s conftest.err'
37424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37425 (eval $ac_try) 2>&5
37427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428 (exit $ac_status); }; } &&
37429 { ac_try
='test -s conftest$ac_exeext'
37430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37431 (eval $ac_try) 2>&5
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); }; }; then
37435 ac_cv_func_sched_yield
=yes
37437 echo "$as_me: failed program was:" >&5
37438 sed 's/^/| /' conftest.
$ac_ext >&5
37440 ac_cv_func_sched_yield
=no
37442 rm -f conftest.err conftest.
$ac_objext \
37443 conftest
$ac_exeext conftest.
$ac_ext
37445 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37446 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37447 if test $ac_cv_func_sched_yield = yes; then
37448 cat >>confdefs.h
<<\_ACEOF
37449 #define HAVE_SCHED_YIELD 1
37454 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37455 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37456 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37457 echo $ECHO_N "(cached) $ECHO_C" >&6
37459 ac_check_lib_save_LIBS
=$LIBS
37460 LIBS
="-lposix4 $LIBS"
37461 cat >conftest.
$ac_ext <<_ACEOF
37464 cat confdefs.h
>>conftest.
$ac_ext
37465 cat >>conftest.
$ac_ext <<_ACEOF
37466 /* end confdefs.h. */
37468 /* Override any gcc2 internal prototype to avoid an error. */
37472 /* We use char because int might match the return type of a gcc2
37473 builtin and then its argument prototype would still apply. */
37474 char sched_yield ();
37483 rm -f conftest.
$ac_objext conftest
$ac_exeext
37484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37485 (eval $ac_link) 2>conftest.er1
37487 grep -v '^ *+' conftest.er1
>conftest.err
37489 cat conftest.err
>&5
37490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37491 (exit $ac_status); } &&
37492 { ac_try
='test -z "$ac_c_werror_flag"
37493 || test ! -s conftest.err'
37494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37495 (eval $ac_try) 2>&5
37497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37498 (exit $ac_status); }; } &&
37499 { ac_try
='test -s conftest$ac_exeext'
37500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37501 (eval $ac_try) 2>&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); }; }; then
37505 ac_cv_lib_posix4_sched_yield
=yes
37507 echo "$as_me: failed program was:" >&5
37508 sed 's/^/| /' conftest.
$ac_ext >&5
37510 ac_cv_lib_posix4_sched_yield
=no
37512 rm -f conftest.err conftest.
$ac_objext \
37513 conftest
$ac_exeext conftest.
$ac_ext
37514 LIBS
=$ac_check_lib_save_LIBS
37516 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37517 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37518 if test $ac_cv_lib_posix4_sched_yield = yes; then
37519 cat >>confdefs.h
<<\_ACEOF
37520 #define HAVE_SCHED_YIELD 1
37522 POSIX4_LINK
=" -lposix4"
37524 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37525 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37536 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37537 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37538 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37539 echo $ECHO_N "(cached) $ECHO_C" >&6
37541 cat >conftest.
$ac_ext <<_ACEOF
37544 cat confdefs.h
>>conftest.
$ac_ext
37545 cat >>conftest.
$ac_ext <<_ACEOF
37546 /* end confdefs.h. */
37547 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37549 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37551 /* System header to define __stub macros and hopefully few prototypes,
37552 which can conflict with char pthread_attr_getschedpolicy (); below.
37553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37554 <limits.h> exists even on freestanding compilers. */
37557 # include <limits.h>
37559 # include <assert.h>
37562 #undef pthread_attr_getschedpolicy
37564 /* Override any gcc2 internal prototype to avoid an error. */
37569 /* We use char because int might match the return type of a gcc2
37570 builtin and then its argument prototype would still apply. */
37571 char pthread_attr_getschedpolicy ();
37572 /* The GNU C library defines this for functions which it implements
37573 to always fail with ENOSYS. Some functions are actually named
37574 something starting with __ and the normal name is an alias. */
37575 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37578 char (*f) () = pthread_attr_getschedpolicy;
37587 return f != pthread_attr_getschedpolicy;
37592 rm -f conftest.
$ac_objext conftest
$ac_exeext
37593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37594 (eval $ac_link) 2>conftest.er1
37596 grep -v '^ *+' conftest.er1
>conftest.err
37598 cat conftest.err
>&5
37599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37600 (exit $ac_status); } &&
37601 { ac_try
='test -z "$ac_c_werror_flag"
37602 || test ! -s conftest.err'
37603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37604 (eval $ac_try) 2>&5
37606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37607 (exit $ac_status); }; } &&
37608 { ac_try
='test -s conftest$ac_exeext'
37609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37610 (eval $ac_try) 2>&5
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); }; }; then
37614 ac_cv_func_pthread_attr_getschedpolicy
=yes
37616 echo "$as_me: failed program was:" >&5
37617 sed 's/^/| /' conftest.
$ac_ext >&5
37619 ac_cv_func_pthread_attr_getschedpolicy
=no
37621 rm -f conftest.err conftest.
$ac_objext \
37622 conftest
$ac_exeext conftest.
$ac_ext
37624 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37625 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37626 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37627 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37628 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37629 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37630 echo $ECHO_N "(cached) $ECHO_C" >&6
37632 cat >conftest.
$ac_ext <<_ACEOF
37635 cat confdefs.h
>>conftest.
$ac_ext
37636 cat >>conftest.
$ac_ext <<_ACEOF
37637 /* end confdefs.h. */
37638 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37640 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37642 /* System header to define __stub macros and hopefully few prototypes,
37643 which can conflict with char pthread_attr_setschedparam (); below.
37644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37645 <limits.h> exists even on freestanding compilers. */
37648 # include <limits.h>
37650 # include <assert.h>
37653 #undef pthread_attr_setschedparam
37655 /* Override any gcc2 internal prototype to avoid an error. */
37660 /* We use char because int might match the return type of a gcc2
37661 builtin and then its argument prototype would still apply. */
37662 char pthread_attr_setschedparam ();
37663 /* The GNU C library defines this for functions which it implements
37664 to always fail with ENOSYS. Some functions are actually named
37665 something starting with __ and the normal name is an alias. */
37666 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37669 char (*f) () = pthread_attr_setschedparam;
37678 return f != pthread_attr_setschedparam;
37683 rm -f conftest.
$ac_objext conftest
$ac_exeext
37684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37685 (eval $ac_link) 2>conftest.er1
37687 grep -v '^ *+' conftest.er1
>conftest.err
37689 cat conftest.err
>&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); } &&
37692 { ac_try
='test -z "$ac_c_werror_flag"
37693 || test ! -s conftest.err'
37694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37695 (eval $ac_try) 2>&5
37697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698 (exit $ac_status); }; } &&
37699 { ac_try
='test -s conftest$ac_exeext'
37700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37701 (eval $ac_try) 2>&5
37703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37704 (exit $ac_status); }; }; then
37705 ac_cv_func_pthread_attr_setschedparam
=yes
37707 echo "$as_me: failed program was:" >&5
37708 sed 's/^/| /' conftest.
$ac_ext >&5
37710 ac_cv_func_pthread_attr_setschedparam
=no
37712 rm -f conftest.err conftest.
$ac_objext \
37713 conftest
$ac_exeext conftest.
$ac_ext
37715 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37716 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37717 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37718 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37719 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37720 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37721 echo $ECHO_N "(cached) $ECHO_C" >&6
37723 cat >conftest.
$ac_ext <<_ACEOF
37726 cat confdefs.h
>>conftest.
$ac_ext
37727 cat >>conftest.
$ac_ext <<_ACEOF
37728 /* end confdefs.h. */
37729 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37731 #define sched_get_priority_max innocuous_sched_get_priority_max
37733 /* System header to define __stub macros and hopefully few prototypes,
37734 which can conflict with char sched_get_priority_max (); below.
37735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37736 <limits.h> exists even on freestanding compilers. */
37739 # include <limits.h>
37741 # include <assert.h>
37744 #undef sched_get_priority_max
37746 /* Override any gcc2 internal prototype to avoid an error. */
37751 /* We use char because int might match the return type of a gcc2
37752 builtin and then its argument prototype would still apply. */
37753 char sched_get_priority_max ();
37754 /* The GNU C library defines this for functions which it implements
37755 to always fail with ENOSYS. Some functions are actually named
37756 something starting with __ and the normal name is an alias. */
37757 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37760 char (*f) () = sched_get_priority_max;
37769 return f != sched_get_priority_max;
37774 rm -f conftest.
$ac_objext conftest
$ac_exeext
37775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37776 (eval $ac_link) 2>conftest.er1
37778 grep -v '^ *+' conftest.er1
>conftest.err
37780 cat conftest.err
>&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); } &&
37783 { ac_try
='test -z "$ac_c_werror_flag"
37784 || test ! -s conftest.err'
37785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37786 (eval $ac_try) 2>&5
37788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37789 (exit $ac_status); }; } &&
37790 { ac_try
='test -s conftest$ac_exeext'
37791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37792 (eval $ac_try) 2>&5
37794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37795 (exit $ac_status); }; }; then
37796 ac_cv_func_sched_get_priority_max
=yes
37798 echo "$as_me: failed program was:" >&5
37799 sed 's/^/| /' conftest.
$ac_ext >&5
37801 ac_cv_func_sched_get_priority_max
=no
37803 rm -f conftest.err conftest.
$ac_objext \
37804 conftest
$ac_exeext conftest.
$ac_ext
37806 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37807 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37808 if test $ac_cv_func_sched_get_priority_max = yes; then
37811 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37812 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37813 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37814 echo $ECHO_N "(cached) $ECHO_C" >&6
37816 ac_check_lib_save_LIBS
=$LIBS
37817 LIBS
="-lposix4 $LIBS"
37818 cat >conftest.
$ac_ext <<_ACEOF
37821 cat confdefs.h
>>conftest.
$ac_ext
37822 cat >>conftest.
$ac_ext <<_ACEOF
37823 /* end confdefs.h. */
37825 /* Override any gcc2 internal prototype to avoid an error. */
37829 /* We use char because int might match the return type of a gcc2
37830 builtin and then its argument prototype would still apply. */
37831 char sched_get_priority_max ();
37835 sched_get_priority_max ();
37840 rm -f conftest.
$ac_objext conftest
$ac_exeext
37841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37842 (eval $ac_link) 2>conftest.er1
37844 grep -v '^ *+' conftest.er1
>conftest.err
37846 cat conftest.err
>&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } &&
37849 { ac_try
='test -z "$ac_c_werror_flag"
37850 || test ! -s conftest.err'
37851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37852 (eval $ac_try) 2>&5
37854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37855 (exit $ac_status); }; } &&
37856 { ac_try
='test -s conftest$ac_exeext'
37857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37858 (eval $ac_try) 2>&5
37860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37861 (exit $ac_status); }; }; then
37862 ac_cv_lib_posix4_sched_get_priority_max
=yes
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.
$ac_ext >&5
37867 ac_cv_lib_posix4_sched_get_priority_max
=no
37869 rm -f conftest.err conftest.
$ac_objext \
37870 conftest
$ac_exeext conftest.
$ac_ext
37871 LIBS
=$ac_check_lib_save_LIBS
37873 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37874 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37875 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37878 POSIX4_LINK
=" -lposix4"
37892 if test "$HAVE_PRIOR_FUNCS" = 1; then
37893 cat >>confdefs.h
<<\_ACEOF
37894 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37898 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37899 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37902 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37903 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37904 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37905 echo $ECHO_N "(cached) $ECHO_C" >&6
37907 cat >conftest.
$ac_ext <<_ACEOF
37910 cat confdefs.h
>>conftest.
$ac_ext
37911 cat >>conftest.
$ac_ext <<_ACEOF
37912 /* end confdefs.h. */
37913 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37915 #define pthread_cancel innocuous_pthread_cancel
37917 /* System header to define __stub macros and hopefully few prototypes,
37918 which can conflict with char pthread_cancel (); below.
37919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37920 <limits.h> exists even on freestanding compilers. */
37923 # include <limits.h>
37925 # include <assert.h>
37928 #undef pthread_cancel
37930 /* Override any gcc2 internal prototype to avoid an error. */
37935 /* We use char because int might match the return type of a gcc2
37936 builtin and then its argument prototype would still apply. */
37937 char pthread_cancel ();
37938 /* The GNU C library defines this for functions which it implements
37939 to always fail with ENOSYS. Some functions are actually named
37940 something starting with __ and the normal name is an alias. */
37941 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37944 char (*f) () = pthread_cancel;
37953 return f != pthread_cancel;
37958 rm -f conftest.
$ac_objext conftest
$ac_exeext
37959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37960 (eval $ac_link) 2>conftest.er1
37962 grep -v '^ *+' conftest.er1
>conftest.err
37964 cat conftest.err
>&5
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); } &&
37967 { ac_try
='test -z "$ac_c_werror_flag"
37968 || test ! -s conftest.err'
37969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37970 (eval $ac_try) 2>&5
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); }; } &&
37974 { ac_try
='test -s conftest$ac_exeext'
37975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37976 (eval $ac_try) 2>&5
37978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37979 (exit $ac_status); }; }; then
37980 ac_cv_func_pthread_cancel
=yes
37982 echo "$as_me: failed program was:" >&5
37983 sed 's/^/| /' conftest.
$ac_ext >&5
37985 ac_cv_func_pthread_cancel
=no
37987 rm -f conftest.err conftest.
$ac_objext \
37988 conftest
$ac_exeext conftest.
$ac_ext
37990 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37991 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37992 if test $ac_cv_func_pthread_cancel = yes; then
37993 cat >>confdefs.h
<<\_ACEOF
37994 #define HAVE_PTHREAD_CANCEL 1
37998 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37999 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38003 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38004 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38005 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38006 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 cat >conftest.
$ac_ext <<_ACEOF
38011 cat confdefs.h
>>conftest.
$ac_ext
38012 cat >>conftest.
$ac_ext <<_ACEOF
38013 /* end confdefs.h. */
38014 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38016 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38018 /* System header to define __stub macros and hopefully few prototypes,
38019 which can conflict with char pthread_attr_setstacksize (); below.
38020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38021 <limits.h> exists even on freestanding compilers. */
38024 # include <limits.h>
38026 # include <assert.h>
38029 #undef pthread_attr_setstacksize
38031 /* Override any gcc2 internal prototype to avoid an error. */
38036 /* We use char because int might match the return type of a gcc2
38037 builtin and then its argument prototype would still apply. */
38038 char pthread_attr_setstacksize ();
38039 /* The GNU C library defines this for functions which it implements
38040 to always fail with ENOSYS. Some functions are actually named
38041 something starting with __ and the normal name is an alias. */
38042 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38045 char (*f) () = pthread_attr_setstacksize;
38054 return f != pthread_attr_setstacksize;
38059 rm -f conftest.
$ac_objext conftest
$ac_exeext
38060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38061 (eval $ac_link) 2>conftest.er1
38063 grep -v '^ *+' conftest.er1
>conftest.err
38065 cat conftest.err
>&5
38066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067 (exit $ac_status); } &&
38068 { ac_try
='test -z "$ac_c_werror_flag"
38069 || test ! -s conftest.err'
38070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38071 (eval $ac_try) 2>&5
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); }; } &&
38075 { ac_try
='test -s conftest$ac_exeext'
38076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38077 (eval $ac_try) 2>&5
38079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38080 (exit $ac_status); }; }; then
38081 ac_cv_func_pthread_attr_setstacksize
=yes
38083 echo "$as_me: failed program was:" >&5
38084 sed 's/^/| /' conftest.
$ac_ext >&5
38086 ac_cv_func_pthread_attr_setstacksize
=no
38088 rm -f conftest.err conftest.
$ac_objext \
38089 conftest
$ac_exeext conftest.
$ac_ext
38091 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38092 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38093 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38094 cat >>confdefs.h
<<\_ACEOF
38095 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38102 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38103 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38104 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38105 echo $ECHO_N "(cached) $ECHO_C" >&6
38108 cat >conftest.
$ac_ext <<_ACEOF
38111 cat confdefs.h
>>conftest.
$ac_ext
38112 cat >>conftest.
$ac_ext <<_ACEOF
38113 /* end confdefs.h. */
38114 #include <pthread.h>
38119 pthread_mutexattr_t attr;
38120 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38126 rm -f conftest.
$ac_objext
38127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38128 (eval $ac_compile) 2>conftest.er1
38130 grep -v '^ *+' conftest.er1
>conftest.err
38132 cat conftest.err
>&5
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); } &&
38135 { ac_try
='test -z "$ac_c_werror_flag"
38136 || test ! -s conftest.err'
38137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38138 (eval $ac_try) 2>&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; } &&
38142 { ac_try
='test -s conftest.$ac_objext'
38143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38144 (eval $ac_try) 2>&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); }; }; then
38148 wx_cv_type_pthread_mutexattr_t
=yes
38150 echo "$as_me: failed program was:" >&5
38151 sed 's/^/| /' conftest.
$ac_ext >&5
38153 wx_cv_type_pthread_mutexattr_t
=no
38156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38159 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38160 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38162 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38163 cat >>confdefs.h
<<\_ACEOF
38164 #define HAVE_PTHREAD_MUTEXATTR_T 1
38168 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38169 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38170 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38171 echo $ECHO_N "(cached) $ECHO_C" >&6
38174 cat >conftest.
$ac_ext <<_ACEOF
38177 cat confdefs.h
>>conftest.
$ac_ext
38178 cat >>conftest.
$ac_ext <<_ACEOF
38179 /* end confdefs.h. */
38180 #include <pthread.h>
38185 pthread_mutexattr_t attr;
38186 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38192 rm -f conftest.
$ac_objext
38193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38194 (eval $ac_compile) 2>conftest.er1
38196 grep -v '^ *+' conftest.er1
>conftest.err
38198 cat conftest.err
>&5
38199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38200 (exit $ac_status); } &&
38201 { ac_try
='test -z "$ac_c_werror_flag"
38202 || test ! -s conftest.err'
38203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38204 (eval $ac_try) 2>&5
38206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38207 (exit $ac_status); }; } &&
38208 { ac_try
='test -s conftest.$ac_objext'
38209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38210 (eval $ac_try) 2>&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); }; }; then
38214 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38216 echo "$as_me: failed program was:" >&5
38217 sed 's/^/| /' conftest.
$ac_ext >&5
38219 wx_cv_func_pthread_mutexattr_settype_decl
=no
38222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38225 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38226 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38227 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38228 cat >>confdefs.h
<<\_ACEOF
38229 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38234 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38235 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38236 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38237 echo $ECHO_N "(cached) $ECHO_C" >&6
38240 cat >conftest.
$ac_ext <<_ACEOF
38243 cat confdefs.h
>>conftest.
$ac_ext
38244 cat >>conftest.
$ac_ext <<_ACEOF
38245 /* end confdefs.h. */
38246 #include <pthread.h>
38251 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38257 rm -f conftest.
$ac_objext
38258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38259 (eval $ac_compile) 2>conftest.er1
38261 grep -v '^ *+' conftest.er1
>conftest.err
38263 cat conftest.err
>&5
38264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265 (exit $ac_status); } &&
38266 { ac_try
='test -z "$ac_c_werror_flag"
38267 || test ! -s conftest.err'
38268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38269 (eval $ac_try) 2>&5
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); }; } &&
38273 { ac_try
='test -s conftest.$ac_objext'
38274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38275 (eval $ac_try) 2>&5
38277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38278 (exit $ac_status); }; }; then
38280 wx_cv_type_pthread_rec_mutex_init
=yes
38283 echo "$as_me: failed program was:" >&5
38284 sed 's/^/| /' conftest.
$ac_ext >&5
38287 wx_cv_type_pthread_rec_mutex_init
=no
38291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38294 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38295 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38296 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38297 cat >>confdefs.h
<<\_ACEOF
38298 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38302 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38303 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38309 if test "$wxUSE_THREADS" = "yes" ; then
38312 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38313 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38314 if test "${wx_cv_cflags_mthread+set}" = set; then
38315 echo $ECHO_N "(cached) $ECHO_C" >&6
38318 CFLAGS_OLD
="$CFLAGS"
38319 CFLAGS
="-mthreads $CFLAGS"
38320 cat >conftest.
$ac_ext <<_ACEOF
38323 cat confdefs.h
>>conftest.
$ac_ext
38324 cat >>conftest.
$ac_ext <<_ACEOF
38325 /* end confdefs.h. */
38335 rm -f conftest.
$ac_objext
38336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38337 (eval $ac_compile) 2>conftest.er1
38339 grep -v '^ *+' conftest.er1
>conftest.err
38341 cat conftest.err
>&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); } &&
38344 { ac_try
='test -z "$ac_c_werror_flag"
38345 || test ! -s conftest.err'
38346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38347 (eval $ac_try) 2>&5
38349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38350 (exit $ac_status); }; } &&
38351 { ac_try
='test -s conftest.$ac_objext'
38352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38353 (eval $ac_try) 2>&5
38355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38356 (exit $ac_status); }; }; then
38357 wx_cv_cflags_mthread
=yes
38359 echo "$as_me: failed program was:" >&5
38360 sed 's/^/| /' conftest.
$ac_ext >&5
38362 wx_cv_cflags_mthread
=no
38365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38369 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38370 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38372 if test "$wx_cv_cflags_mthread" = "yes"; then
38373 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
38374 LDFLAGS
="$LDFLAGS -mthreads"
38376 CFLAGS
="$CFLAGS_OLD"
38380 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38381 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38382 LDFLAGS
="$LDFLAGS -Zmt"
38388 echo "$as_me:$LINENO: checking for localtime_r" >&5
38389 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38390 if test "${ac_cv_func_localtime_r+set}" = set; then
38391 echo $ECHO_N "(cached) $ECHO_C" >&6
38393 cat >conftest.
$ac_ext <<_ACEOF
38396 cat confdefs.h
>>conftest.
$ac_ext
38397 cat >>conftest.
$ac_ext <<_ACEOF
38398 /* end confdefs.h. */
38399 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38401 #define localtime_r innocuous_localtime_r
38403 /* System header to define __stub macros and hopefully few prototypes,
38404 which can conflict with char localtime_r (); below.
38405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38406 <limits.h> exists even on freestanding compilers. */
38409 # include <limits.h>
38411 # include <assert.h>
38416 /* Override any gcc2 internal prototype to avoid an error. */
38421 /* We use char because int might match the return type of a gcc2
38422 builtin and then its argument prototype would still apply. */
38423 char localtime_r ();
38424 /* The GNU C library defines this for functions which it implements
38425 to always fail with ENOSYS. Some functions are actually named
38426 something starting with __ and the normal name is an alias. */
38427 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38430 char (*f) () = localtime_r;
38439 return f != localtime_r;
38444 rm -f conftest.
$ac_objext conftest
$ac_exeext
38445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38446 (eval $ac_link) 2>conftest.er1
38448 grep -v '^ *+' conftest.er1
>conftest.err
38450 cat conftest.err
>&5
38451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38452 (exit $ac_status); } &&
38453 { ac_try
='test -z "$ac_c_werror_flag"
38454 || test ! -s conftest.err'
38455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38456 (eval $ac_try) 2>&5
38458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38459 (exit $ac_status); }; } &&
38460 { ac_try
='test -s conftest$ac_exeext'
38461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38462 (eval $ac_try) 2>&5
38464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465 (exit $ac_status); }; }; then
38466 ac_cv_func_localtime_r
=yes
38468 echo "$as_me: failed program was:" >&5
38469 sed 's/^/| /' conftest.
$ac_ext >&5
38471 ac_cv_func_localtime_r
=no
38473 rm -f conftest.err conftest.
$ac_objext \
38474 conftest
$ac_exeext conftest.
$ac_ext
38476 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38477 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38478 if test $ac_cv_func_localtime_r = yes; then
38479 cat >>confdefs.h
<<\_ACEOF
38480 #define HAVE_LOCALTIME_R 1
38485 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38486 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38487 if test "${ac_cv_func_gmtime_r+set}" = set; then
38488 echo $ECHO_N "(cached) $ECHO_C" >&6
38490 cat >conftest.
$ac_ext <<_ACEOF
38493 cat confdefs.h
>>conftest.
$ac_ext
38494 cat >>conftest.
$ac_ext <<_ACEOF
38495 /* end confdefs.h. */
38496 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38498 #define gmtime_r innocuous_gmtime_r
38500 /* System header to define __stub macros and hopefully few prototypes,
38501 which can conflict with char gmtime_r (); below.
38502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38503 <limits.h> exists even on freestanding compilers. */
38506 # include <limits.h>
38508 # include <assert.h>
38513 /* Override any gcc2 internal prototype to avoid an error. */
38518 /* We use char because int might match the return type of a gcc2
38519 builtin and then its argument prototype would still apply. */
38521 /* The GNU C library defines this for functions which it implements
38522 to always fail with ENOSYS. Some functions are actually named
38523 something starting with __ and the normal name is an alias. */
38524 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38527 char (*f) () = gmtime_r;
38536 return f != gmtime_r;
38541 rm -f conftest.
$ac_objext conftest
$ac_exeext
38542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38543 (eval $ac_link) 2>conftest.er1
38545 grep -v '^ *+' conftest.er1
>conftest.err
38547 cat conftest.err
>&5
38548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38549 (exit $ac_status); } &&
38550 { ac_try
='test -z "$ac_c_werror_flag"
38551 || test ! -s conftest.err'
38552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38553 (eval $ac_try) 2>&5
38555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38556 (exit $ac_status); }; } &&
38557 { ac_try
='test -s conftest$ac_exeext'
38558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38559 (eval $ac_try) 2>&5
38561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38562 (exit $ac_status); }; }; then
38563 ac_cv_func_gmtime_r
=yes
38565 echo "$as_me: failed program was:" >&5
38566 sed 's/^/| /' conftest.
$ac_ext >&5
38568 ac_cv_func_gmtime_r
=no
38570 rm -f conftest.err conftest.
$ac_objext \
38571 conftest
$ac_exeext conftest.
$ac_ext
38573 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38574 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38575 if test $ac_cv_func_gmtime_r = yes; then
38576 cat >>confdefs.h
<<\_ACEOF
38577 #define HAVE_GMTIME_R 1
38582 echo "$as_me:$LINENO: checking for readdir_r" >&5
38583 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38584 if test "${ac_cv_func_readdir_r+set}" = set; then
38585 echo $ECHO_N "(cached) $ECHO_C" >&6
38587 cat >conftest.
$ac_ext <<_ACEOF
38590 cat confdefs.h
>>conftest.
$ac_ext
38591 cat >>conftest.
$ac_ext <<_ACEOF
38592 /* end confdefs.h. */
38593 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38595 #define readdir_r innocuous_readdir_r
38597 /* System header to define __stub macros and hopefully few prototypes,
38598 which can conflict with char readdir_r (); below.
38599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38600 <limits.h> exists even on freestanding compilers. */
38603 # include <limits.h>
38605 # include <assert.h>
38610 /* Override any gcc2 internal prototype to avoid an error. */
38615 /* We use char because int might match the return type of a gcc2
38616 builtin and then its argument prototype would still apply. */
38618 /* The GNU C library defines this for functions which it implements
38619 to always fail with ENOSYS. Some functions are actually named
38620 something starting with __ and the normal name is an alias. */
38621 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38624 char (*f) () = readdir_r;
38633 return f != readdir_r;
38638 rm -f conftest.
$ac_objext conftest
$ac_exeext
38639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38640 (eval $ac_link) 2>conftest.er1
38642 grep -v '^ *+' conftest.er1
>conftest.err
38644 cat conftest.err
>&5
38645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38646 (exit $ac_status); } &&
38647 { ac_try
='test -z "$ac_c_werror_flag"
38648 || test ! -s conftest.err'
38649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38650 (eval $ac_try) 2>&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); }; } &&
38654 { ac_try
='test -s conftest$ac_exeext'
38655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38656 (eval $ac_try) 2>&5
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); }; }; then
38660 ac_cv_func_readdir_r
=yes
38662 echo "$as_me: failed program was:" >&5
38663 sed 's/^/| /' conftest.
$ac_ext >&5
38665 ac_cv_func_readdir_r
=no
38667 rm -f conftest.err conftest.
$ac_objext \
38668 conftest
$ac_exeext conftest.
$ac_ext
38670 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38671 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38672 if test $ac_cv_func_readdir_r = yes; then
38673 cat >>confdefs.h
<<\_ACEOF
38674 #define HAVE_READDIR_R 1
38683 ac_cpp
='$CPP $CPPFLAGS'
38684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38688 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38689 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38691 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38692 echo $ECHO_N "(cached) $ECHO_C" >&6
38696 ################################################################
38698 ac_cv_func_which_gethostbyname_r
=unknown
38701 # ONE ARGUMENT (sanity check)
38704 # This should fail, as there is no variant of gethostbyname_r() that takes
38705 # a single argument. If it actually compiles, then we can assume that
38706 # netdb.h is not declaring the function, and the compiler is thereby
38707 # assuming an implicit prototype. In which case, we're out of luck.
38709 cat >conftest.
$ac_ext <<_ACEOF
38712 cat confdefs.h
>>conftest.
$ac_ext
38713 cat >>conftest.
$ac_ext <<_ACEOF
38714 /* end confdefs.h. */
38720 char *name = "www.gnu.org";
38721 (void)gethostbyname_r(name) /* ; */
38727 rm -f conftest.
$ac_objext
38728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38729 (eval $ac_compile) 2>conftest.er1
38731 grep -v '^ *+' conftest.er1
>conftest.err
38733 cat conftest.err
>&5
38734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38735 (exit $ac_status); } &&
38736 { ac_try
='test -z "$ac_c_werror_flag"
38737 || test ! -s conftest.err'
38738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38739 (eval $ac_try) 2>&5
38741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742 (exit $ac_status); }; } &&
38743 { ac_try
='test -s conftest.$ac_objext'
38744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38745 (eval $ac_try) 2>&5
38747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38748 (exit $ac_status); }; }; then
38749 ac_cv_func_which_gethostbyname_r
=no
38751 echo "$as_me: failed program was:" >&5
38752 sed 's/^/| /' conftest.
$ac_ext >&5
38755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38762 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38764 cat >conftest.
$ac_ext <<_ACEOF
38767 cat confdefs.h
>>conftest.
$ac_ext
38768 cat >>conftest.
$ac_ext <<_ACEOF
38769 /* end confdefs.h. */
38775 char *name = "www.gnu.org";
38776 struct hostent ret, *retp;
38780 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38786 rm -f conftest.
$ac_objext
38787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38788 (eval $ac_compile) 2>conftest.er1
38790 grep -v '^ *+' conftest.er1
>conftest.err
38792 cat conftest.err
>&5
38793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38794 (exit $ac_status); } &&
38795 { ac_try
='test -z "$ac_c_werror_flag"
38796 || test ! -s conftest.err'
38797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38798 (eval $ac_try) 2>&5
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); }; } &&
38802 { ac_try
='test -s conftest.$ac_objext'
38803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38804 (eval $ac_try) 2>&5
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); }; }; then
38808 ac_cv_func_which_gethostbyname_r
=six
38810 echo "$as_me: failed program was:" >&5
38811 sed 's/^/| /' conftest.
$ac_ext >&5
38814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38823 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38825 cat >conftest.
$ac_ext <<_ACEOF
38828 cat confdefs.h
>>conftest.
$ac_ext
38829 cat >>conftest.
$ac_ext <<_ACEOF
38830 /* end confdefs.h. */
38836 char *name = "www.gnu.org";
38837 struct hostent ret;
38841 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38847 rm -f conftest.
$ac_objext
38848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38849 (eval $ac_compile) 2>conftest.er1
38851 grep -v '^ *+' conftest.er1
>conftest.err
38853 cat conftest.err
>&5
38854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 (exit $ac_status); } &&
38856 { ac_try
='test -z "$ac_c_werror_flag"
38857 || test ! -s conftest.err'
38858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38859 (eval $ac_try) 2>&5
38861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38862 (exit $ac_status); }; } &&
38863 { ac_try
='test -s conftest.$ac_objext'
38864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38865 (eval $ac_try) 2>&5
38867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38868 (exit $ac_status); }; }; then
38869 ac_cv_func_which_gethostbyname_r
=five
38871 echo "$as_me: failed program was:" >&5
38872 sed 's/^/| /' conftest.
$ac_ext >&5
38875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38881 # (e.g. AIX, HP-UX, Tru64)
38884 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38886 cat >conftest.
$ac_ext <<_ACEOF
38889 cat confdefs.h
>>conftest.
$ac_ext
38890 cat >>conftest.
$ac_ext <<_ACEOF
38891 /* end confdefs.h. */
38897 char *name = "www.gnu.org";
38898 struct hostent ret;
38899 struct hostent_data data;
38900 (void)gethostbyname_r(name, &ret, &data) /* ; */
38906 rm -f conftest.
$ac_objext
38907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38908 (eval $ac_compile) 2>conftest.er1
38910 grep -v '^ *+' conftest.er1
>conftest.err
38912 cat conftest.err
>&5
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); } &&
38915 { ac_try
='test -z "$ac_c_werror_flag"
38916 || test ! -s conftest.err'
38917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38918 (eval $ac_try) 2>&5
38920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921 (exit $ac_status); }; } &&
38922 { ac_try
='test -s conftest.$ac_objext'
38923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38924 (eval $ac_try) 2>&5
38926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38927 (exit $ac_status); }; }; then
38928 ac_cv_func_which_gethostbyname_r
=three
38930 echo "$as_me: failed program was:" >&5
38931 sed 's/^/| /' conftest.
$ac_ext >&5
38934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38938 ################################################################
38943 case "$ac_cv_func_which_gethostbyname_r" in
38945 echo "$as_me:$LINENO: result: three" >&5
38946 echo "${ECHO_T}three" >&6
38947 cat >>confdefs.h
<<\_ACEOF
38948 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
38954 echo "$as_me:$LINENO: result: five" >&5
38955 echo "${ECHO_T}five" >&6
38956 cat >>confdefs.h
<<\_ACEOF
38957 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
38963 echo "$as_me:$LINENO: result: six" >&5
38964 echo "${ECHO_T}six" >&6
38965 cat >>confdefs.h
<<\_ACEOF
38966 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
38972 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
38973 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
38977 echo "$as_me:$LINENO: result: can't tell" >&5
38978 echo "${ECHO_T}can't tell" >&6
38982 { { echo "$as_me:$LINENO: error: internal error" >&5
38983 echo "$as_me: error: internal error" >&2;}
38984 { (exit 1); exit 1; }; }
38989 ac_cpp
='$CPP $CPPFLAGS'
38990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38996 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
38997 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
38998 echo "$as_me:$LINENO: checking for gethostbyname" >&5
38999 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39000 if test "${ac_cv_func_gethostbyname+set}" = set; then
39001 echo $ECHO_N "(cached) $ECHO_C" >&6
39003 cat >conftest.
$ac_ext <<_ACEOF
39006 cat confdefs.h
>>conftest.
$ac_ext
39007 cat >>conftest.
$ac_ext <<_ACEOF
39008 /* end confdefs.h. */
39009 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39011 #define gethostbyname innocuous_gethostbyname
39013 /* System header to define __stub macros and hopefully few prototypes,
39014 which can conflict with char gethostbyname (); below.
39015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39016 <limits.h> exists even on freestanding compilers. */
39019 # include <limits.h>
39021 # include <assert.h>
39024 #undef gethostbyname
39026 /* Override any gcc2 internal prototype to avoid an error. */
39031 /* We use char because int might match the return type of a gcc2
39032 builtin and then its argument prototype would still apply. */
39033 char gethostbyname ();
39034 /* The GNU C library defines this for functions which it implements
39035 to always fail with ENOSYS. Some functions are actually named
39036 something starting with __ and the normal name is an alias. */
39037 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39040 char (*f) () = gethostbyname;
39049 return f != gethostbyname;
39054 rm -f conftest.
$ac_objext conftest
$ac_exeext
39055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39056 (eval $ac_link) 2>conftest.er1
39058 grep -v '^ *+' conftest.er1
>conftest.err
39060 cat conftest.err
>&5
39061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062 (exit $ac_status); } &&
39063 { ac_try
='test -z "$ac_c_werror_flag"
39064 || test ! -s conftest.err'
39065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39066 (eval $ac_try) 2>&5
39068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39069 (exit $ac_status); }; } &&
39070 { ac_try
='test -s conftest$ac_exeext'
39071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39072 (eval $ac_try) 2>&5
39074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39075 (exit $ac_status); }; }; then
39076 ac_cv_func_gethostbyname
=yes
39078 echo "$as_me: failed program was:" >&5
39079 sed 's/^/| /' conftest.
$ac_ext >&5
39081 ac_cv_func_gethostbyname
=no
39083 rm -f conftest.err conftest.
$ac_objext \
39084 conftest
$ac_exeext conftest.
$ac_ext
39086 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39087 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39088 if test $ac_cv_func_gethostbyname = yes; then
39089 cat >>confdefs.h
<<\_ACEOF
39090 #define HAVE_GETHOSTBYNAME 1
39096 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39097 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39098 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39099 echo $ECHO_N "(cached) $ECHO_C" >&6
39101 cat >conftest.
$ac_ext <<_ACEOF
39104 cat confdefs.h
>>conftest.
$ac_ext
39105 cat >>conftest.
$ac_ext <<_ACEOF
39106 /* end confdefs.h. */
39107 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39109 #define getservbyname_r innocuous_getservbyname_r
39111 /* System header to define __stub macros and hopefully few prototypes,
39112 which can conflict with char getservbyname_r (); below.
39113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39114 <limits.h> exists even on freestanding compilers. */
39117 # include <limits.h>
39119 # include <assert.h>
39122 #undef getservbyname_r
39124 /* Override any gcc2 internal prototype to avoid an error. */
39129 /* We use char because int might match the return type of a gcc2
39130 builtin and then its argument prototype would still apply. */
39131 char getservbyname_r ();
39132 /* The GNU C library defines this for functions which it implements
39133 to always fail with ENOSYS. Some functions are actually named
39134 something starting with __ and the normal name is an alias. */
39135 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39138 char (*f) () = getservbyname_r;
39147 return f != getservbyname_r;
39152 rm -f conftest.
$ac_objext conftest
$ac_exeext
39153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39154 (eval $ac_link) 2>conftest.er1
39156 grep -v '^ *+' conftest.er1
>conftest.err
39158 cat conftest.err
>&5
39159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39160 (exit $ac_status); } &&
39161 { ac_try
='test -z "$ac_c_werror_flag"
39162 || test ! -s conftest.err'
39163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39164 (eval $ac_try) 2>&5
39166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39167 (exit $ac_status); }; } &&
39168 { ac_try
='test -s conftest$ac_exeext'
39169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39170 (eval $ac_try) 2>&5
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); }; }; then
39174 ac_cv_func_getservbyname_r
=yes
39176 echo "$as_me: failed program was:" >&5
39177 sed 's/^/| /' conftest.
$ac_ext >&5
39179 ac_cv_func_getservbyname_r
=no
39181 rm -f conftest.err conftest.
$ac_objext \
39182 conftest
$ac_exeext conftest.
$ac_ext
39184 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39185 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39186 if test $ac_cv_func_getservbyname_r = yes; then
39187 cat >conftest.
$ac_ext <<_ACEOF
39190 cat confdefs.h
>>conftest.
$ac_ext
39191 cat >>conftest.
$ac_ext <<_ACEOF
39192 /* end confdefs.h. */
39200 struct servent *se;
39201 struct servent_data data;
39202 (void) getservbyname_r(name, proto, se, &data);
39208 rm -f conftest.
$ac_objext
39209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39210 (eval $ac_compile) 2>conftest.er1
39212 grep -v '^ *+' conftest.er1
>conftest.err
39214 cat conftest.err
>&5
39215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216 (exit $ac_status); } &&
39217 { ac_try
='test -z "$ac_c_werror_flag"
39218 || test ! -s conftest.err'
39219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39220 (eval $ac_try) 2>&5
39222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39223 (exit $ac_status); }; } &&
39224 { ac_try
='test -s conftest.$ac_objext'
39225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39226 (eval $ac_try) 2>&5
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); }; }; then
39230 ac_cv_func_which_getservbyname_r
=four
39232 echo "$as_me: failed program was:" >&5
39233 sed 's/^/| /' conftest.
$ac_ext >&5
39235 cat >conftest.
$ac_ext <<_ACEOF
39238 cat confdefs.h
>>conftest.
$ac_ext
39239 cat >>conftest.
$ac_ext <<_ACEOF
39240 /* end confdefs.h. */
39248 struct servent *se, *res;
39251 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39257 rm -f conftest.
$ac_objext
39258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39259 (eval $ac_compile) 2>conftest.er1
39261 grep -v '^ *+' conftest.er1
>conftest.err
39263 cat conftest.err
>&5
39264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39265 (exit $ac_status); } &&
39266 { ac_try
='test -z "$ac_c_werror_flag"
39267 || test ! -s conftest.err'
39268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39269 (eval $ac_try) 2>&5
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); }; } &&
39273 { ac_try
='test -s conftest.$ac_objext'
39274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39275 (eval $ac_try) 2>&5
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); }; }; then
39279 ac_cv_func_which_getservbyname_r
=six
39281 echo "$as_me: failed program was:" >&5
39282 sed 's/^/| /' conftest.
$ac_ext >&5
39284 cat >conftest.
$ac_ext <<_ACEOF
39287 cat confdefs.h
>>conftest.
$ac_ext
39288 cat >>conftest.
$ac_ext <<_ACEOF
39289 /* end confdefs.h. */
39297 struct servent *se;
39300 (void) getservbyname_r(name, proto, se, buffer, buflen)
39306 rm -f conftest.
$ac_objext
39307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39308 (eval $ac_compile) 2>conftest.er1
39310 grep -v '^ *+' conftest.er1
>conftest.err
39312 cat conftest.err
>&5
39313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39314 (exit $ac_status); } &&
39315 { ac_try
='test -z "$ac_c_werror_flag"
39316 || test ! -s conftest.err'
39317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39318 (eval $ac_try) 2>&5
39320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39321 (exit $ac_status); }; } &&
39322 { ac_try
='test -s conftest.$ac_objext'
39323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39324 (eval $ac_try) 2>&5
39326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39327 (exit $ac_status); }; }; then
39328 ac_cv_func_which_getservbyname_r
=five
39330 echo "$as_me: failed program was:" >&5
39331 sed 's/^/| /' conftest.
$ac_ext >&5
39333 ac_cv_func_which_getservbyname_r
=no
39336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39344 ac_cv_func_which_getservbyname_r
=no
39348 if test $ac_cv_func_which_getservbyname_r = six
; then
39349 cat >>confdefs.h
<<\_ACEOF
39350 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39353 elif test $ac_cv_func_which_getservbyname_r = five
; then
39354 cat >>confdefs.h
<<\_ACEOF
39355 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39358 elif test $ac_cv_func_which_getservbyname_r = four
; then
39359 cat >>confdefs.h
<<\_ACEOF
39360 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39366 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39367 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39369 for ac_func
in getservbyname
39371 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39372 echo "$as_me:$LINENO: checking for $ac_func" >&5
39373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39374 if eval "test \"\${$as_ac_var+set}\" = set"; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39377 cat >conftest.
$ac_ext <<_ACEOF
39380 cat confdefs.h
>>conftest.
$ac_ext
39381 cat >>conftest.
$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39385 #define $ac_func innocuous_$ac_func
39387 /* System header to define __stub macros and hopefully few prototypes,
39388 which can conflict with char $ac_func (); below.
39389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39390 <limits.h> exists even on freestanding compilers. */
39393 # include <limits.h>
39395 # include <assert.h>
39400 /* Override any gcc2 internal prototype to avoid an error. */
39405 /* We use char because int might match the return type of a gcc2
39406 builtin and then its argument prototype would still apply. */
39408 /* The GNU C library defines this for functions which it implements
39409 to always fail with ENOSYS. Some functions are actually named
39410 something starting with __ and the normal name is an alias. */
39411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39414 char (*f) () = $ac_func;
39423 return f != $ac_func;
39428 rm -f conftest.
$ac_objext conftest
$ac_exeext
39429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39430 (eval $ac_link) 2>conftest.er1
39432 grep -v '^ *+' conftest.er1
>conftest.err
39434 cat conftest.err
>&5
39435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39436 (exit $ac_status); } &&
39437 { ac_try
='test -z "$ac_c_werror_flag"
39438 || test ! -s conftest.err'
39439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39440 (eval $ac_try) 2>&5
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); }; } &&
39444 { ac_try
='test -s conftest$ac_exeext'
39445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39446 (eval $ac_try) 2>&5
39448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39449 (exit $ac_status); }; }; then
39450 eval "$as_ac_var=yes"
39452 echo "$as_me: failed program was:" >&5
39453 sed 's/^/| /' conftest.
$ac_ext >&5
39455 eval "$as_ac_var=no"
39457 rm -f conftest.err conftest.
$ac_objext \
39458 conftest
$ac_exeext conftest.
$ac_ext
39460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39462 if test `eval echo '${'$as_ac_var'}'` = yes; then
39463 cat >>confdefs.h
<<_ACEOF
39464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39466 cat >>confdefs.h
<<\_ACEOF
39467 #define HAVE_GETSERVBYNAME 1
39475 if test "$wxUSE_THREADS" = "yes"; then
39476 cat >>confdefs.h
<<\_ACEOF
39477 #define wxUSE_THREADS 1
39481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39483 if test "$ac_cv_func_strtok_r" = "yes"; then
39484 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39485 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39486 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39487 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39488 echo "$as_me:$LINENO: result: yes" >&5
39489 echo "${ECHO_T}yes" >&6
39491 echo "$as_me:$LINENO: result: no" >&5
39492 echo "${ECHO_T}no" >&6
39497 if test "$WXGTK20" = 1 ; then
39498 cat >>confdefs.h
<<_ACEOF
39499 #define __WXGTK20__ $WXGTK20
39505 if test "$WXGTK12" = 1 ; then
39506 cat >>confdefs.h
<<_ACEOF
39507 #define __WXGTK12__ $WXGTK12
39512 if test "$WXGTK127" = 1 ; then
39513 cat >>confdefs.h
<<_ACEOF
39514 #define __WXGTK127__ $WXGTK127
39519 if test "$WXGPE" = 1 ; then
39520 cat >>confdefs.h
<<_ACEOF
39521 #define __WXGPE__ $WXGPE
39527 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39532 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39533 wxUSE_DEBUG_INFO
=yes
39534 if test "$GCC" = yes; then
39535 DEBUG_CFLAGS
="-ggdb"
39539 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39540 cat >>confdefs.h
<<\_ACEOF
39544 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39546 if test "$wxUSE_GTK" = 1 ; then
39547 if test "x$wxGTK_VERSION" = "x1" ; then
39548 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39553 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39554 cat >>confdefs.h
<<\_ACEOF
39555 #define wxUSE_MEMORY_TRACING 1
39558 cat >>confdefs.h
<<\_ACEOF
39559 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39562 cat >>confdefs.h
<<\_ACEOF
39563 #define wxUSE_DEBUG_NEW_ALWAYS 1
39566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
39569 if test "$wxUSE_DMALLOC" = "yes" ; then
39570 DMALLOC_LIBS
="-ldmallocthcxx"
39574 if test "$wxUSE_PROFILE" = "yes" ; then
39575 PROFILE_FLAGS
=" -pg"
39578 if test "$GCC" = "yes" ; then
39579 if test "$wxUSE_NO_RTTI" = "yes" ; then
39580 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
39582 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39583 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
39585 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39586 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
39591 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
39594 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
39600 if test "$wxUSE_OPTIMISE" = "no" ; then
39601 if test "$GCC" = yes ; then
39602 OPTIMISE_CFLAGS
="-O0"
39605 if test "$GCC" = yes ; then
39606 OPTIMISE_CFLAGS
="-O2"
39608 OPTIMISE_CFLAGS
="-O"
39613 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39614 cat >>confdefs.h
<<\_ACEOF
39615 #define WXWIN_COMPATIBILITY_2_4 1
39619 WXWIN_COMPATIBILITY_2_6
="yes"
39622 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39623 cat >>confdefs.h
<<\_ACEOF
39624 #define WXWIN_COMPATIBILITY_2_6 1
39630 if test "$wxUSE_GUI" = "yes"; then
39631 cat >>confdefs.h
<<\_ACEOF
39632 #define wxUSE_GUI 1
39639 if test "$wxUSE_UNIX" = "yes"; then
39640 cat >>confdefs.h
<<\_ACEOF
39641 #define wxUSE_UNIX 1
39647 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39651 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39652 if test "$USE_DARWIN" = 1; then
39654 elif test "$USE_DOS" = 1; then
39658 for ac_func
in dlopen
39660 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39661 echo "$as_me:$LINENO: checking for $ac_func" >&5
39662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39663 if eval "test \"\${$as_ac_var+set}\" = set"; then
39664 echo $ECHO_N "(cached) $ECHO_C" >&6
39666 cat >conftest.
$ac_ext <<_ACEOF
39669 cat confdefs.h
>>conftest.
$ac_ext
39670 cat >>conftest.
$ac_ext <<_ACEOF
39671 /* end confdefs.h. */
39672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39674 #define $ac_func innocuous_$ac_func
39676 /* System header to define __stub macros and hopefully few prototypes,
39677 which can conflict with char $ac_func (); below.
39678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39679 <limits.h> exists even on freestanding compilers. */
39682 # include <limits.h>
39684 # include <assert.h>
39689 /* Override any gcc2 internal prototype to avoid an error. */
39694 /* We use char because int might match the return type of a gcc2
39695 builtin and then its argument prototype would still apply. */
39697 /* The GNU C library defines this for functions which it implements
39698 to always fail with ENOSYS. Some functions are actually named
39699 something starting with __ and the normal name is an alias. */
39700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39703 char (*f) () = $ac_func;
39712 return f != $ac_func;
39717 rm -f conftest.
$ac_objext conftest
$ac_exeext
39718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39719 (eval $ac_link) 2>conftest.er1
39721 grep -v '^ *+' conftest.er1
>conftest.err
39723 cat conftest.err
>&5
39724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725 (exit $ac_status); } &&
39726 { ac_try
='test -z "$ac_c_werror_flag"
39727 || test ! -s conftest.err'
39728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39729 (eval $ac_try) 2>&5
39731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39732 (exit $ac_status); }; } &&
39733 { ac_try
='test -s conftest$ac_exeext'
39734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39735 (eval $ac_try) 2>&5
39737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39738 (exit $ac_status); }; }; then
39739 eval "$as_ac_var=yes"
39741 echo "$as_me: failed program was:" >&5
39742 sed 's/^/| /' conftest.
$ac_ext >&5
39744 eval "$as_ac_var=no"
39746 rm -f conftest.err conftest.
$ac_objext \
39747 conftest
$ac_exeext conftest.
$ac_ext
39749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39751 if test `eval echo '${'$as_ac_var'}'` = yes; then
39752 cat >>confdefs.h
<<_ACEOF
39753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39756 cat >>confdefs.h
<<\_ACEOF
39757 #define HAVE_DLOPEN 1
39764 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39765 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39766 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39767 echo $ECHO_N "(cached) $ECHO_C" >&6
39769 ac_check_lib_save_LIBS
=$LIBS
39771 cat >conftest.
$ac_ext <<_ACEOF
39774 cat confdefs.h
>>conftest.
$ac_ext
39775 cat >>conftest.
$ac_ext <<_ACEOF
39776 /* end confdefs.h. */
39778 /* Override any gcc2 internal prototype to avoid an error. */
39782 /* We use char because int might match the return type of a gcc2
39783 builtin and then its argument prototype would still apply. */
39793 rm -f conftest.
$ac_objext conftest
$ac_exeext
39794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39795 (eval $ac_link) 2>conftest.er1
39797 grep -v '^ *+' conftest.er1
>conftest.err
39799 cat conftest.err
>&5
39800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39801 (exit $ac_status); } &&
39802 { ac_try
='test -z "$ac_c_werror_flag"
39803 || test ! -s conftest.err'
39804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39805 (eval $ac_try) 2>&5
39807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39808 (exit $ac_status); }; } &&
39809 { ac_try
='test -s conftest$ac_exeext'
39810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39811 (eval $ac_try) 2>&5
39813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39814 (exit $ac_status); }; }; then
39815 ac_cv_lib_dl_dlopen
=yes
39817 echo "$as_me: failed program was:" >&5
39818 sed 's/^/| /' conftest.
$ac_ext >&5
39820 ac_cv_lib_dl_dlopen
=no
39822 rm -f conftest.err conftest.
$ac_objext \
39823 conftest
$ac_exeext conftest.
$ac_ext
39824 LIBS
=$ac_check_lib_save_LIBS
39826 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39827 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39828 if test $ac_cv_lib_dl_dlopen = yes; then
39830 cat >>confdefs.h
<<\_ACEOF
39831 #define HAVE_DLOPEN 1
39835 DL_LINK
=" -ldl$DL_LINK"
39840 for ac_func
in shl_load
39842 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39843 echo "$as_me:$LINENO: checking for $ac_func" >&5
39844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39845 if eval "test \"\${$as_ac_var+set}\" = set"; then
39846 echo $ECHO_N "(cached) $ECHO_C" >&6
39848 cat >conftest.
$ac_ext <<_ACEOF
39851 cat confdefs.h
>>conftest.
$ac_ext
39852 cat >>conftest.
$ac_ext <<_ACEOF
39853 /* end confdefs.h. */
39854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39856 #define $ac_func innocuous_$ac_func
39858 /* System header to define __stub macros and hopefully few prototypes,
39859 which can conflict with char $ac_func (); below.
39860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39861 <limits.h> exists even on freestanding compilers. */
39864 # include <limits.h>
39866 # include <assert.h>
39871 /* Override any gcc2 internal prototype to avoid an error. */
39876 /* We use char because int might match the return type of a gcc2
39877 builtin and then its argument prototype would still apply. */
39879 /* The GNU C library defines this for functions which it implements
39880 to always fail with ENOSYS. Some functions are actually named
39881 something starting with __ and the normal name is an alias. */
39882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39885 char (*f) () = $ac_func;
39894 return f != $ac_func;
39899 rm -f conftest.
$ac_objext conftest
$ac_exeext
39900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39901 (eval $ac_link) 2>conftest.er1
39903 grep -v '^ *+' conftest.er1
>conftest.err
39905 cat conftest.err
>&5
39906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39907 (exit $ac_status); } &&
39908 { ac_try
='test -z "$ac_c_werror_flag"
39909 || test ! -s conftest.err'
39910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39911 (eval $ac_try) 2>&5
39913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39914 (exit $ac_status); }; } &&
39915 { ac_try
='test -s conftest$ac_exeext'
39916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39917 (eval $ac_try) 2>&5
39919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39920 (exit $ac_status); }; }; then
39921 eval "$as_ac_var=yes"
39923 echo "$as_me: failed program was:" >&5
39924 sed 's/^/| /' conftest.
$ac_ext >&5
39926 eval "$as_ac_var=no"
39928 rm -f conftest.err conftest.
$ac_objext \
39929 conftest
$ac_exeext conftest.
$ac_ext
39931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39933 if test `eval echo '${'$as_ac_var'}'` = yes; then
39934 cat >>confdefs.h
<<_ACEOF
39935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39938 cat >>confdefs.h
<<\_ACEOF
39939 #define HAVE_SHL_LOAD 1
39946 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
39947 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
39948 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
39949 echo $ECHO_N "(cached) $ECHO_C" >&6
39951 ac_check_lib_save_LIBS
=$LIBS
39952 LIBS
="-lshl_load $LIBS"
39953 cat >conftest.
$ac_ext <<_ACEOF
39956 cat confdefs.h
>>conftest.
$ac_ext
39957 cat >>conftest.
$ac_ext <<_ACEOF
39958 /* end confdefs.h. */
39960 /* Override any gcc2 internal prototype to avoid an error. */
39964 /* We use char because int might match the return type of a gcc2
39965 builtin and then its argument prototype would still apply. */
39975 rm -f conftest.
$ac_objext conftest
$ac_exeext
39976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39977 (eval $ac_link) 2>conftest.er1
39979 grep -v '^ *+' conftest.er1
>conftest.err
39981 cat conftest.err
>&5
39982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39983 (exit $ac_status); } &&
39984 { ac_try
='test -z "$ac_c_werror_flag"
39985 || test ! -s conftest.err'
39986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39987 (eval $ac_try) 2>&5
39989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39990 (exit $ac_status); }; } &&
39991 { ac_try
='test -s conftest$ac_exeext'
39992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39993 (eval $ac_try) 2>&5
39995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996 (exit $ac_status); }; }; then
39997 ac_cv_lib_shl_load_dld
=yes
39999 echo "$as_me: failed program was:" >&5
40000 sed 's/^/| /' conftest.
$ac_ext >&5
40002 ac_cv_lib_shl_load_dld
=no
40004 rm -f conftest.err conftest.
$ac_objext \
40005 conftest
$ac_exeext conftest.
$ac_ext
40006 LIBS
=$ac_check_lib_save_LIBS
40008 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40009 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40010 if test $ac_cv_lib_shl_load_dld = yes; then
40013 DL_LINK
=" -ldld$DL_LINK"
40029 if test "$HAVE_DL_FUNCS" = 1; then
40031 for ac_func
in dlerror
40033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40034 echo "$as_me:$LINENO: checking for $ac_func" >&5
40035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40036 if eval "test \"\${$as_ac_var+set}\" = set"; then
40037 echo $ECHO_N "(cached) $ECHO_C" >&6
40039 cat >conftest.
$ac_ext <<_ACEOF
40042 cat confdefs.h
>>conftest.
$ac_ext
40043 cat >>conftest.
$ac_ext <<_ACEOF
40044 /* end confdefs.h. */
40045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40047 #define $ac_func innocuous_$ac_func
40049 /* System header to define __stub macros and hopefully few prototypes,
40050 which can conflict with char $ac_func (); below.
40051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40052 <limits.h> exists even on freestanding compilers. */
40055 # include <limits.h>
40057 # include <assert.h>
40062 /* Override any gcc2 internal prototype to avoid an error. */
40067 /* We use char because int might match the return type of a gcc2
40068 builtin and then its argument prototype would still apply. */
40070 /* The GNU C library defines this for functions which it implements
40071 to always fail with ENOSYS. Some functions are actually named
40072 something starting with __ and the normal name is an alias. */
40073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40076 char (*f) () = $ac_func;
40085 return f != $ac_func;
40090 rm -f conftest.
$ac_objext conftest
$ac_exeext
40091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40092 (eval $ac_link) 2>conftest.er1
40094 grep -v '^ *+' conftest.er1
>conftest.err
40096 cat conftest.err
>&5
40097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40098 (exit $ac_status); } &&
40099 { ac_try
='test -z "$ac_c_werror_flag"
40100 || test ! -s conftest.err'
40101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40102 (eval $ac_try) 2>&5
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); }; } &&
40106 { ac_try
='test -s conftest$ac_exeext'
40107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40108 (eval $ac_try) 2>&5
40110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40111 (exit $ac_status); }; }; then
40112 eval "$as_ac_var=yes"
40114 echo "$as_me: failed program was:" >&5
40115 sed 's/^/| /' conftest.
$ac_ext >&5
40117 eval "$as_ac_var=no"
40119 rm -f conftest.err conftest.
$ac_objext \
40120 conftest
$ac_exeext conftest.
$ac_ext
40122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40124 if test `eval echo '${'$as_ac_var'}'` = yes; then
40125 cat >>confdefs.h
<<_ACEOF
40126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40128 cat >>confdefs.h
<<\_ACEOF
40129 #define HAVE_DLERROR 1
40134 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40135 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40136 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40137 echo $ECHO_N "(cached) $ECHO_C" >&6
40139 ac_check_lib_save_LIBS
=$LIBS
40141 cat >conftest.
$ac_ext <<_ACEOF
40144 cat confdefs.h
>>conftest.
$ac_ext
40145 cat >>conftest.
$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40148 /* Override any gcc2 internal prototype to avoid an error. */
40152 /* We use char because int might match the return type of a gcc2
40153 builtin and then its argument prototype would still apply. */
40163 rm -f conftest.
$ac_objext conftest
$ac_exeext
40164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40165 (eval $ac_link) 2>conftest.er1
40167 grep -v '^ *+' conftest.er1
>conftest.err
40169 cat conftest.err
>&5
40170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40171 (exit $ac_status); } &&
40172 { ac_try
='test -z "$ac_c_werror_flag"
40173 || test ! -s conftest.err'
40174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40175 (eval $ac_try) 2>&5
40177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178 (exit $ac_status); }; } &&
40179 { ac_try
='test -s conftest$ac_exeext'
40180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40181 (eval $ac_try) 2>&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); }; }; then
40185 ac_cv_lib_dl_dlerror
=yes
40187 echo "$as_me: failed program was:" >&5
40188 sed 's/^/| /' conftest.
$ac_ext >&5
40190 ac_cv_lib_dl_dlerror
=no
40192 rm -f conftest.err conftest.
$ac_objext \
40193 conftest
$ac_exeext conftest.
$ac_ext
40194 LIBS
=$ac_check_lib_save_LIBS
40196 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40197 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40198 if test $ac_cv_lib_dl_dlerror = yes; then
40199 cat >>confdefs.h
<<\_ACEOF
40200 #define HAVE_DLERROR 1
40213 if test "$HAVE_DL_FUNCS" = 0; then
40214 if test "$HAVE_SHL_FUNCS" = 0; then
40215 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40216 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40217 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40218 wxUSE_DYNAMIC_LOADER
=no
40219 wxUSE_DYNLIB_CLASS
=no
40221 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40222 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40229 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40230 cat >>confdefs.h
<<\_ACEOF
40231 #define wxUSE_DYNAMIC_LOADER 1
40235 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40236 cat >>confdefs.h
<<\_ACEOF
40237 #define wxUSE_DYNLIB_CLASS 1
40244 if test "$wxUSE_PLUGINS" = "yes" ; then
40245 if test "$wxUSE_SHARED" = "no" ; then
40246 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40247 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40250 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40251 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40252 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40255 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40256 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40257 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40260 if test "$wxUSE_PLUGINS" = "yes" ; then
40261 cat >>confdefs.h
<<\_ACEOF
40262 #define wxUSE_PLUGINS 1
40269 if test "$wxUSE_STL" = "yes"; then
40270 cat >>confdefs.h
<<\_ACEOF
40271 #define wxUSE_STL 1
40276 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40277 cat >>confdefs.h
<<\_ACEOF
40278 #define wxUSE_APPLE_IEEE 1
40283 if test "$wxUSE_TIMER" = "yes"; then
40284 cat >>confdefs.h
<<\_ACEOF
40285 #define wxUSE_TIMER 1
40290 if test "$USE_UNIX" = "1" ; then
40291 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40292 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40293 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40294 echo $ECHO_N "(cached) $ECHO_C" >&6
40297 cat >conftest.
$ac_ext <<_ACEOF
40300 cat confdefs.h
>>conftest.
$ac_ext
40301 cat >>conftest.
$ac_ext <<_ACEOF
40302 /* end confdefs.h. */
40304 #include <sys/soundcard.h>
40310 ioctl(0, SNDCTL_DSP_SYNC, 0);
40316 rm -f conftest.
$ac_objext conftest
$ac_exeext
40317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40318 (eval $ac_link) 2>conftest.er1
40320 grep -v '^ *+' conftest.er1
>conftest.err
40322 cat conftest.err
>&5
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); } &&
40325 { ac_try
='test -z "$ac_c_werror_flag"
40326 || test ! -s conftest.err'
40327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40328 (eval $ac_try) 2>&5
40330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331 (exit $ac_status); }; } &&
40332 { ac_try
='test -s conftest$ac_exeext'
40333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40334 (eval $ac_try) 2>&5
40336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337 (exit $ac_status); }; }; then
40338 ac_cv_header_sys_soundcard
=yes
40340 echo "$as_me: failed program was:" >&5
40341 sed 's/^/| /' conftest.
$ac_ext >&5
40345 LIBS
="$saveLibs -lossaudio"
40346 cat >conftest.
$ac_ext <<_ACEOF
40349 cat confdefs.h
>>conftest.
$ac_ext
40350 cat >>conftest.
$ac_ext <<_ACEOF
40351 /* end confdefs.h. */
40353 #include <sys/soundcard.h>
40359 ioctl(0, SNDCTL_DSP_SYNC, 0);
40365 rm -f conftest.
$ac_objext conftest
$ac_exeext
40366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40367 (eval $ac_link) 2>conftest.er1
40369 grep -v '^ *+' conftest.er1
>conftest.err
40371 cat conftest.err
>&5
40372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40373 (exit $ac_status); } &&
40374 { ac_try
='test -z "$ac_c_werror_flag"
40375 || test ! -s conftest.err'
40376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40377 (eval $ac_try) 2>&5
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); }; } &&
40381 { ac_try
='test -s conftest$ac_exeext'
40382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40383 (eval $ac_try) 2>&5
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); }; }; then
40387 ac_cv_header_sys_soundcard
=yes
40389 echo "$as_me: failed program was:" >&5
40390 sed 's/^/| /' conftest.
$ac_ext >&5
40394 ac_cv_header_sys_soundcard
=no
40398 rm -f conftest.err conftest.
$ac_objext \
40399 conftest
$ac_exeext conftest.
$ac_ext
40403 rm -f conftest.err conftest.
$ac_objext \
40404 conftest
$ac_exeext conftest.
$ac_ext
40407 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40408 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40410 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40411 cat >>confdefs.h
<<\_ACEOF
40412 #define HAVE_SYS_SOUNDCARD_H 1
40416 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40420 if test "$wxUSE_SOUND" = "yes"; then
40421 if test "$USE_UNIX" = "1" ; then
40422 if test "$wxUSE_LIBSDL" != "no"; then
40424 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40425 if test "${with_sdl_prefix+set}" = set; then
40426 withval
="$with_sdl_prefix"
40427 sdl_prefix
="$withval"
40432 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40433 if test "${with_sdl_exec_prefix+set}" = set; then
40434 withval
="$with_sdl_exec_prefix"
40435 sdl_exec_prefix
="$withval"
40439 # Check whether --enable-sdltest or --disable-sdltest was given.
40440 if test "${enable_sdltest+set}" = set; then
40441 enableval
="$enable_sdltest"
40447 if test x
$sdl_exec_prefix != x
; then
40448 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40449 if test x
${SDL_CONFIG+set} != xset
; then
40450 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40453 if test x
$sdl_prefix != x
; then
40454 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40455 if test x
${SDL_CONFIG+set} != xset
; then
40456 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40461 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40462 # Extract the first word of "sdl-config", so it can be a program name with args.
40463 set dummy sdl
-config; ac_word
=$2
40464 echo "$as_me:$LINENO: checking for $ac_word" >&5
40465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40466 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40467 echo $ECHO_N "(cached) $ECHO_C" >&6
40469 case $SDL_CONFIG in
40471 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40475 for as_dir
in $PATH
40478 test -z "$as_dir" && as_dir
=.
40479 for ac_exec_ext
in '' $ac_executable_extensions; do
40480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40481 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40488 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40492 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40494 if test -n "$SDL_CONFIG"; then
40495 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40496 echo "${ECHO_T}$SDL_CONFIG" >&6
40498 echo "$as_me:$LINENO: result: no" >&5
40499 echo "${ECHO_T}no" >&6
40502 min_sdl_version
=1.2.0
40503 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40504 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40506 if test "$SDL_CONFIG" = "no" ; then
40509 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40510 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40512 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40513 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40514 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40515 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40516 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40517 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40518 if test "x$enable_sdltest" = "xyes" ; then
40519 ac_save_CFLAGS
="$CFLAGS"
40520 ac_save_CXXFLAGS
="$CXXFLAGS"
40521 ac_save_LIBS
="$LIBS"
40522 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40523 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40524 LIBS
="$LIBS $SDL_LIBS"
40526 if test "$cross_compiling" = yes; then
40527 echo $ac_n "cross compiling; assumed OK... $ac_c"
40529 cat >conftest.
$ac_ext <<_ACEOF
40532 cat confdefs.h
>>conftest.
$ac_ext
40533 cat >>conftest.
$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40537 #include <stdlib.h>
40538 #include <string.h>
40542 my_strdup (char *str)
40548 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40549 strcpy (new_str, str);
40557 int main (int argc, char *argv[])
40559 int major, minor, micro;
40562 /* This hangs on some systems (?)
40563 system ("touch conf.sdltest");
40565 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40567 /* HP/UX 9 (%@#!) writes to sscanf strings */
40568 tmp_version = my_strdup("$min_sdl_version");
40569 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40570 printf("%s, bad version string\n", "$min_sdl_version");
40574 if (($sdl_major_version > major) ||
40575 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40576 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40582 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40583 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40584 printf("*** best to upgrade to the required version.\n");
40585 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40586 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40587 printf("*** config.cache before re-running configure\n");
40594 rm -f conftest
$ac_exeext
40595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40596 (eval $ac_link) 2>&5
40598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40599 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
40600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40601 (eval $ac_try) 2>&5
40603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604 (exit $ac_status); }; }; then
40607 echo "$as_me: program exited with status $ac_status" >&5
40608 echo "$as_me: failed program was:" >&5
40609 sed 's/^/| /' conftest.
$ac_ext >&5
40611 ( exit $ac_status )
40614 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40616 CFLAGS
="$ac_save_CFLAGS"
40617 CXXFLAGS
="$ac_save_CXXFLAGS"
40618 LIBS
="$ac_save_LIBS"
40621 if test "x$no_sdl" = x
; then
40622 echo "$as_me:$LINENO: result: yes" >&5
40623 echo "${ECHO_T}yes" >&6
40625 EXTRALIBS_SDL
="$SDL_LIBS"
40626 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
40627 cat >>confdefs.h
<<\_ACEOF
40628 #define wxUSE_LIBSDL 1
40633 echo "$as_me:$LINENO: result: no" >&5
40634 echo "${ECHO_T}no" >&6
40635 if test "$SDL_CONFIG" = "no" ; then
40636 echo "*** The sdl-config script installed by SDL could not be found"
40637 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40638 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40639 echo "*** full path to sdl-config."
40641 if test -f conf.sdltest
; then
40644 echo "*** Could not run SDL test program, checking why..."
40645 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40646 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40647 LIBS
="$LIBS $SDL_LIBS"
40648 cat >conftest.
$ac_ext <<_ACEOF
40651 cat confdefs.h
>>conftest.
$ac_ext
40652 cat >>conftest.
$ac_ext <<_ACEOF
40653 /* end confdefs.h. */
40658 int main(int argc, char *argv[])
40661 #define main K_and_R_C_main
40671 rm -f conftest.
$ac_objext conftest
$ac_exeext
40672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40673 (eval $ac_link) 2>conftest.er1
40675 grep -v '^ *+' conftest.er1
>conftest.err
40677 cat conftest.err
>&5
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); } &&
40680 { ac_try
='test -z "$ac_c_werror_flag"
40681 || test ! -s conftest.err'
40682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40683 (eval $ac_try) 2>&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); }; } &&
40687 { ac_try
='test -s conftest$ac_exeext'
40688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40689 (eval $ac_try) 2>&5
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); }; }; then
40693 echo "*** The test program compiled, but did not run. This usually means"
40694 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40695 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40696 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40697 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40698 echo "*** is required on your system"
40700 echo "*** If you have an old version installed, it is best to remove it, although"
40701 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40703 echo "$as_me: failed program was:" >&5
40704 sed 's/^/| /' conftest.
$ac_ext >&5
40706 echo "*** The test program failed to compile or link. See the file config.log for the"
40707 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40708 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40709 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40711 rm -f conftest.err conftest.
$ac_objext \
40712 conftest
$ac_exeext conftest.
$ac_ext
40713 CFLAGS
="$ac_save_CFLAGS"
40714 CXXFLAGS
="$ac_save_CXXFLAGS"
40715 LIBS
="$ac_save_LIBS"
40726 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40732 cat >>confdefs.h
<<\_ACEOF
40733 #define wxUSE_SOUND 1
40736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
40739 if test "$WXGTK20" = 1; then
40740 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40741 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40746 if test -z "$PKG_CONFIG"; then
40747 # Extract the first word of "pkg-config", so it can be a program name with args.
40748 set dummy pkg
-config; ac_word
=$2
40749 echo "$as_me:$LINENO: checking for $ac_word" >&5
40750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40751 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40752 echo $ECHO_N "(cached) $ECHO_C" >&6
40754 case $PKG_CONFIG in
40756 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40760 for as_dir
in $PATH
40763 test -z "$as_dir" && as_dir
=.
40764 for ac_exec_ext
in '' $ac_executable_extensions; do
40765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40766 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40773 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40777 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40779 if test -n "$PKG_CONFIG"; then
40780 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40781 echo "${ECHO_T}$PKG_CONFIG" >&6
40783 echo "$as_me:$LINENO: result: no" >&5
40784 echo "${ECHO_T}no" >&6
40789 if test "$PKG_CONFIG" = "no" ; then
40790 echo "*** The pkg-config script could not be found. Make sure it is"
40791 echo "*** in your path, or set the PKG_CONFIG environment variable"
40792 echo "*** to the full path to pkg-config."
40793 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40795 PKG_CONFIG_MIN_VERSION
=0.9.0
40796 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40797 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40798 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40800 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40801 echo "$as_me:$LINENO: result: yes" >&5
40802 echo "${ECHO_T}yes" >&6
40805 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40806 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40807 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40808 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40809 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40811 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40812 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40813 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40814 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40815 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40817 LIBGNOMEPRINTUI_CFLAGS
=""
40818 LIBGNOMEPRINTUI_LIBS
=""
40819 ## If we have a custom action on failure, don't print errors, but
40820 ## do set a variable so people can do so.
40821 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40828 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40829 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40833 if test $succeeded = yes; then
40835 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40836 cat >>confdefs.h
<<\_ACEOF
40837 #define wxUSE_LIBGNOMEPRINT 1
40843 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40844 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40845 wxUSE_LIBGNOMEPRINT
="no"
40854 if test "$WXGTK20" = 1; then
40855 if test "$wxUSE_LIBHILDON" = "yes" ; then
40859 if test -z "$PKG_CONFIG"; then
40860 # Extract the first word of "pkg-config", so it can be a program name with args.
40861 set dummy pkg
-config; ac_word
=$2
40862 echo "$as_me:$LINENO: checking for $ac_word" >&5
40863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40864 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40865 echo $ECHO_N "(cached) $ECHO_C" >&6
40867 case $PKG_CONFIG in
40869 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40873 for as_dir
in $PATH
40876 test -z "$as_dir" && as_dir
=.
40877 for ac_exec_ext
in '' $ac_executable_extensions; do
40878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40879 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40886 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40890 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40892 if test -n "$PKG_CONFIG"; then
40893 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40894 echo "${ECHO_T}$PKG_CONFIG" >&6
40896 echo "$as_me:$LINENO: result: no" >&5
40897 echo "${ECHO_T}no" >&6
40902 if test "$PKG_CONFIG" = "no" ; then
40903 echo "*** The pkg-config script could not be found. Make sure it is"
40904 echo "*** in your path, or set the PKG_CONFIG environment variable"
40905 echo "*** to the full path to pkg-config."
40906 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40908 PKG_CONFIG_MIN_VERSION
=0.9.0
40909 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40910 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
40911 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
40913 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
40914 echo "$as_me:$LINENO: result: yes" >&5
40915 echo "${ECHO_T}yes" >&6
40918 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
40919 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
40920 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
40921 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
40922 echo "${ECHO_T}$HILDON_CFLAGS" >&6
40924 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
40925 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
40926 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
40927 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
40928 echo "${ECHO_T}$HILDON_LIBS" >&6
40932 ## If we have a custom action on failure, don't print errors, but
40933 ## do set a variable so people can do so.
40934 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
40941 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40942 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40946 if test $succeeded = yes; then
40948 EXTRALIBS_HILDON
="$HILDON_LIBS"
40949 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
40950 cat >>confdefs.h
<<\_ACEOF
40951 #define wxUSE_LIBHILDON 1
40957 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
40958 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
40959 wxUSE_LIBHILDON
="no"
40967 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
40968 cat >>confdefs.h
<<\_ACEOF
40969 #define wxUSE_CMDLINE_PARSER 1
40974 if test "$wxUSE_STOPWATCH" = "yes"; then
40975 cat >>confdefs.h
<<\_ACEOF
40976 #define wxUSE_STOPWATCH 1
40981 if test "$wxUSE_DATETIME" = "yes"; then
40982 cat >>confdefs.h
<<\_ACEOF
40983 #define wxUSE_DATETIME 1
40988 if test "$wxUSE_FILE" = "yes"; then
40989 cat >>confdefs.h
<<\_ACEOF
40990 #define wxUSE_FILE 1
40995 if test "$wxUSE_FFILE" = "yes"; then
40996 cat >>confdefs.h
<<\_ACEOF
40997 #define wxUSE_FFILE 1
41002 if test "$wxUSE_FILESYSTEM" = "yes"; then
41003 cat >>confdefs.h
<<\_ACEOF
41004 #define wxUSE_FILESYSTEM 1
41009 if test "$wxUSE_FS_ZIP" = "yes"; then
41010 cat >>confdefs.h
<<\_ACEOF
41011 #define wxUSE_FS_ZIP 1
41016 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41017 cat >>confdefs.h
<<\_ACEOF
41018 #define wxUSE_ARCHIVE_STREAMS 1
41023 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41024 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41025 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41026 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41027 elif test "$wxUSE_ZLIB" = "no"; then
41028 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41029 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41031 cat >>confdefs.h
<<\_ACEOF
41032 #define wxUSE_ZIPSTREAM 1
41038 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41039 if test "$USE_UNIX" != 1; then
41040 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41041 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41042 wxUSE_ON_FATAL_EXCEPTION
=no
41044 cat >>confdefs.h
<<\_ACEOF
41045 #define wxUSE_ON_FATAL_EXCEPTION 1
41051 if test "$wxUSE_STACKWALKER" = "yes"; then
41052 cat >>confdefs.h
<<\_ACEOF
41053 #define wxUSE_STACKWALKER 1
41058 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41059 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41060 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41061 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41062 wxUSE_DEBUGREPORT
=no
41064 cat >>confdefs.h
<<\_ACEOF
41065 #define wxUSE_DEBUGREPORT 1
41068 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41074 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41075 cat >>confdefs.h
<<\_ACEOF
41076 #define wxUSE_SNGLINST_CHECKER 1
41081 if test "$wxUSE_BUSYINFO" = "yes"; then
41082 cat >>confdefs.h
<<\_ACEOF
41083 #define wxUSE_BUSYINFO 1
41088 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41089 cat >>confdefs.h
<<\_ACEOF
41090 #define wxUSE_STD_IOSTREAM 1
41095 if test "$wxUSE_STD_STRING" = "yes"; then
41096 cat >>confdefs.h
<<\_ACEOF
41097 #define wxUSE_STD_STRING 1
41102 if test "$wxUSE_STDPATHS" = "yes"; then
41103 cat >>confdefs.h
<<\_ACEOF
41104 #define wxUSE_STDPATHS 1
41109 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41110 cat >>confdefs.h
<<\_ACEOF
41111 #define wxUSE_TEXTBUFFER 1
41116 if test "$wxUSE_TEXTFILE" = "yes"; then
41117 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41118 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41119 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41121 cat >>confdefs.h
<<\_ACEOF
41122 #define wxUSE_TEXTFILE 1
41128 if test "$wxUSE_CONFIG" = "yes" ; then
41129 if test "$wxUSE_TEXTFILE" != "yes"; then
41130 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41131 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41133 cat >>confdefs.h
<<\_ACEOF
41134 #define wxUSE_CONFIG 1
41137 cat >>confdefs.h
<<\_ACEOF
41138 #define wxUSE_CONFIG_NATIVE 1
41141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41145 if test "$wxUSE_INTL" = "yes" ; then
41146 if test "$wxUSE_FILE" != "yes"; then
41147 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41148 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41150 cat >>confdefs.h
<<\_ACEOF
41151 #define wxUSE_INTL 1
41154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41155 GUIDIST
="$GUIDIST INTL_DIST"
41159 if test "$wxUSE_LOG" = "yes"; then
41160 cat >>confdefs.h
<<\_ACEOF
41161 #define wxUSE_LOG 1
41165 if test "$wxUSE_LOGGUI" = "yes"; then
41166 cat >>confdefs.h
<<\_ACEOF
41167 #define wxUSE_LOGGUI 1
41172 if test "$wxUSE_LOGWINDOW" = "yes"; then
41173 cat >>confdefs.h
<<\_ACEOF
41174 #define wxUSE_LOGWINDOW 1
41179 if test "$wxUSE_LOGDIALOG" = "yes"; then
41180 cat >>confdefs.h
<<\_ACEOF
41181 #define wxUSE_LOG_DIALOG 1
41186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41189 if test "$wxUSE_LONGLONG" = "yes"; then
41190 cat >>confdefs.h
<<\_ACEOF
41191 #define wxUSE_LONGLONG 1
41196 if test "$wxUSE_GEOMETRY" = "yes"; then
41197 cat >>confdefs.h
<<\_ACEOF
41198 #define wxUSE_GEOMETRY 1
41203 if test "$wxUSE_STREAMS" = "yes" ; then
41204 cat >>confdefs.h
<<\_ACEOF
41205 #define wxUSE_STREAMS 1
41211 if test "$wxUSE_DATETIME" = "yes"; then
41213 for ac_func
in strptime
41215 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41216 echo "$as_me:$LINENO: checking for $ac_func" >&5
41217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41218 if eval "test \"\${$as_ac_var+set}\" = set"; then
41219 echo $ECHO_N "(cached) $ECHO_C" >&6
41221 cat >conftest.
$ac_ext <<_ACEOF
41224 cat confdefs.h
>>conftest.
$ac_ext
41225 cat >>conftest.
$ac_ext <<_ACEOF
41226 /* end confdefs.h. */
41227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41229 #define $ac_func innocuous_$ac_func
41231 /* System header to define __stub macros and hopefully few prototypes,
41232 which can conflict with char $ac_func (); below.
41233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41234 <limits.h> exists even on freestanding compilers. */
41237 # include <limits.h>
41239 # include <assert.h>
41244 /* Override any gcc2 internal prototype to avoid an error. */
41249 /* We use char because int might match the return type of a gcc2
41250 builtin and then its argument prototype would still apply. */
41252 /* The GNU C library defines this for functions which it implements
41253 to always fail with ENOSYS. Some functions are actually named
41254 something starting with __ and the normal name is an alias. */
41255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41258 char (*f) () = $ac_func;
41267 return f != $ac_func;
41272 rm -f conftest.
$ac_objext conftest
$ac_exeext
41273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41274 (eval $ac_link) 2>conftest.er1
41276 grep -v '^ *+' conftest.er1
>conftest.err
41278 cat conftest.err
>&5
41279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41280 (exit $ac_status); } &&
41281 { ac_try
='test -z "$ac_c_werror_flag"
41282 || test ! -s conftest.err'
41283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41284 (eval $ac_try) 2>&5
41286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41287 (exit $ac_status); }; } &&
41288 { ac_try
='test -s conftest$ac_exeext'
41289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41290 (eval $ac_try) 2>&5
41292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41293 (exit $ac_status); }; }; then
41294 eval "$as_ac_var=yes"
41296 echo "$as_me: failed program was:" >&5
41297 sed 's/^/| /' conftest.
$ac_ext >&5
41299 eval "$as_ac_var=no"
41301 rm -f conftest.err conftest.
$ac_objext \
41302 conftest
$ac_exeext conftest.
$ac_ext
41304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41306 if test `eval echo '${'$as_ac_var'}'` = yes; then
41307 cat >>confdefs.h
<<_ACEOF
41308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41314 if test "$ac_cv_func_strptime" = "yes"; then
41315 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41316 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41317 if test "${wx_cv_func_strptime_decl+set}" = set; then
41318 echo $ECHO_N "(cached) $ECHO_C" >&6
41324 ac_cpp
='$CXXCPP $CPPFLAGS'
41325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41329 cat >conftest.
$ac_ext <<_ACEOF
41332 cat confdefs.h
>>conftest.
$ac_ext
41333 cat >>conftest.
$ac_ext <<_ACEOF
41334 /* end confdefs.h. */
41343 strptime("foo", "bar", &t);
41349 rm -f conftest.
$ac_objext
41350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41351 (eval $ac_compile) 2>conftest.er1
41353 grep -v '^ *+' conftest.er1
>conftest.err
41355 cat conftest.err
>&5
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); } &&
41358 { ac_try
='test -z "$ac_cxx_werror_flag"
41359 || test ! -s conftest.err'
41360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41361 (eval $ac_try) 2>&5
41363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41364 (exit $ac_status); }; } &&
41365 { ac_try
='test -s conftest.$ac_objext'
41366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41367 (eval $ac_try) 2>&5
41369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41370 (exit $ac_status); }; }; then
41371 wx_cv_func_strptime_decl
=yes
41373 echo "$as_me: failed program was:" >&5
41374 sed 's/^/| /' conftest.
$ac_ext >&5
41376 wx_cv_func_strptime_decl
=no
41379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41381 ac_cpp
='$CPP $CPPFLAGS'
41382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41389 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41390 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41392 if test "$wx_cv_func_strptime_decl" = "yes"; then
41393 cat >>confdefs.h
<<\_ACEOF
41394 #define HAVE_STRPTIME_DECL 1
41399 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41400 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41401 if test "${wx_cv_var_timezone+set}" = set; then
41402 echo $ECHO_N "(cached) $ECHO_C" >&6
41405 cat >conftest.
$ac_ext <<_ACEOF
41408 cat confdefs.h
>>conftest.
$ac_ext
41409 cat >>conftest.
$ac_ext <<_ACEOF
41410 /* end confdefs.h. */
41425 rm -f conftest.
$ac_objext
41426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41427 (eval $ac_compile) 2>conftest.er1
41429 grep -v '^ *+' conftest.er1
>conftest.err
41431 cat conftest.err
>&5
41432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41433 (exit $ac_status); } &&
41434 { ac_try
='test -z "$ac_c_werror_flag"
41435 || test ! -s conftest.err'
41436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41437 (eval $ac_try) 2>&5
41439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41440 (exit $ac_status); }; } &&
41441 { ac_try
='test -s conftest.$ac_objext'
41442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41443 (eval $ac_try) 2>&5
41445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41446 (exit $ac_status); }; }; then
41448 wx_cv_var_timezone
=timezone
41451 echo "$as_me: failed program was:" >&5
41452 sed 's/^/| /' conftest.
$ac_ext >&5
41455 cat >conftest.
$ac_ext <<_ACEOF
41458 cat confdefs.h
>>conftest.
$ac_ext
41459 cat >>conftest.
$ac_ext <<_ACEOF
41460 /* end confdefs.h. */
41475 rm -f conftest.
$ac_objext
41476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41477 (eval $ac_compile) 2>conftest.er1
41479 grep -v '^ *+' conftest.er1
>conftest.err
41481 cat conftest.err
>&5
41482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41483 (exit $ac_status); } &&
41484 { ac_try
='test -z "$ac_c_werror_flag"
41485 || test ! -s conftest.err'
41486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41487 (eval $ac_try) 2>&5
41489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41490 (exit $ac_status); }; } &&
41491 { ac_try
='test -s conftest.$ac_objext'
41492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41493 (eval $ac_try) 2>&5
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); }; }; then
41498 wx_cv_var_timezone
=_timezone
41501 echo "$as_me: failed program was:" >&5
41502 sed 's/^/| /' conftest.
$ac_ext >&5
41505 cat >conftest.
$ac_ext <<_ACEOF
41508 cat confdefs.h
>>conftest.
$ac_ext
41509 cat >>conftest.
$ac_ext <<_ACEOF
41510 /* end confdefs.h. */
41525 rm -f conftest.
$ac_objext
41526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41527 (eval $ac_compile) 2>conftest.er1
41529 grep -v '^ *+' conftest.er1
>conftest.err
41531 cat conftest.err
>&5
41532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41533 (exit $ac_status); } &&
41534 { ac_try
='test -z "$ac_c_werror_flag"
41535 || test ! -s conftest.err'
41536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41537 (eval $ac_try) 2>&5
41539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41540 (exit $ac_status); }; } &&
41541 { ac_try
='test -s conftest.$ac_objext'
41542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41543 (eval $ac_try) 2>&5
41545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41546 (exit $ac_status); }; }; then
41548 wx_cv_var_timezone
=__timezone
41551 echo "$as_me: failed program was:" >&5
41552 sed 's/^/| /' conftest.
$ac_ext >&5
41555 if test "$USE_DOS" = 0 ; then
41556 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41557 echo "$as_me: WARNING: no timezone variable" >&2;}
41562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41574 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41575 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41577 if test "x$wx_cv_var_timezone" != x
; then
41578 cat >>confdefs.h
<<_ACEOF
41579 #define WX_TIMEZONE $wx_cv_var_timezone
41585 for ac_func
in localtime
41587 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41588 echo "$as_me:$LINENO: checking for $ac_func" >&5
41589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41590 if eval "test \"\${$as_ac_var+set}\" = set"; then
41591 echo $ECHO_N "(cached) $ECHO_C" >&6
41593 cat >conftest.
$ac_ext <<_ACEOF
41596 cat confdefs.h
>>conftest.
$ac_ext
41597 cat >>conftest.
$ac_ext <<_ACEOF
41598 /* end confdefs.h. */
41599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41601 #define $ac_func innocuous_$ac_func
41603 /* System header to define __stub macros and hopefully few prototypes,
41604 which can conflict with char $ac_func (); below.
41605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41606 <limits.h> exists even on freestanding compilers. */
41609 # include <limits.h>
41611 # include <assert.h>
41616 /* Override any gcc2 internal prototype to avoid an error. */
41621 /* We use char because int might match the return type of a gcc2
41622 builtin and then its argument prototype would still apply. */
41624 /* The GNU C library defines this for functions which it implements
41625 to always fail with ENOSYS. Some functions are actually named
41626 something starting with __ and the normal name is an alias. */
41627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41630 char (*f) () = $ac_func;
41639 return f != $ac_func;
41644 rm -f conftest.
$ac_objext conftest
$ac_exeext
41645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41646 (eval $ac_link) 2>conftest.er1
41648 grep -v '^ *+' conftest.er1
>conftest.err
41650 cat conftest.err
>&5
41651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41652 (exit $ac_status); } &&
41653 { ac_try
='test -z "$ac_c_werror_flag"
41654 || test ! -s conftest.err'
41655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41656 (eval $ac_try) 2>&5
41658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41659 (exit $ac_status); }; } &&
41660 { ac_try
='test -s conftest$ac_exeext'
41661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41662 (eval $ac_try) 2>&5
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); }; }; then
41666 eval "$as_ac_var=yes"
41668 echo "$as_me: failed program was:" >&5
41669 sed 's/^/| /' conftest.
$ac_ext >&5
41671 eval "$as_ac_var=no"
41673 rm -f conftest.err conftest.
$ac_objext \
41674 conftest
$ac_exeext conftest.
$ac_ext
41676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41678 if test `eval echo '${'$as_ac_var'}'` = yes; then
41679 cat >>confdefs.h
<<_ACEOF
41680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41687 if test "$ac_cv_func_localtime" = "yes"; then
41688 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41689 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41690 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41691 echo $ECHO_N "(cached) $ECHO_C" >&6
41694 cat >conftest.
$ac_ext <<_ACEOF
41697 cat confdefs.h
>>conftest.
$ac_ext
41698 cat >>conftest.
$ac_ext <<_ACEOF
41699 /* end confdefs.h. */
41714 rm -f conftest.
$ac_objext
41715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41716 (eval $ac_compile) 2>conftest.er1
41718 grep -v '^ *+' conftest.er1
>conftest.err
41720 cat conftest.err
>&5
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); } &&
41723 { ac_try
='test -z "$ac_c_werror_flag"
41724 || test ! -s conftest.err'
41725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41726 (eval $ac_try) 2>&5
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); }; } &&
41730 { ac_try
='test -s conftest.$ac_objext'
41731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41732 (eval $ac_try) 2>&5
41734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41735 (exit $ac_status); }; }; then
41737 wx_cv_struct_tm_has_gmtoff
=yes
41740 echo "$as_me: failed program was:" >&5
41741 sed 's/^/| /' conftest.
$ac_ext >&5
41743 wx_cv_struct_tm_has_gmtoff
=no
41746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41749 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41750 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41753 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41754 cat >>confdefs.h
<<\_ACEOF
41755 #define WX_GMTOFF_IN_TM 1
41762 for ac_func
in gettimeofday ftime
41764 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41765 echo "$as_me:$LINENO: checking for $ac_func" >&5
41766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41767 if eval "test \"\${$as_ac_var+set}\" = set"; then
41768 echo $ECHO_N "(cached) $ECHO_C" >&6
41770 cat >conftest.
$ac_ext <<_ACEOF
41773 cat confdefs.h
>>conftest.
$ac_ext
41774 cat >>conftest.
$ac_ext <<_ACEOF
41775 /* end confdefs.h. */
41776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41778 #define $ac_func innocuous_$ac_func
41780 /* System header to define __stub macros and hopefully few prototypes,
41781 which can conflict with char $ac_func (); below.
41782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41783 <limits.h> exists even on freestanding compilers. */
41786 # include <limits.h>
41788 # include <assert.h>
41793 /* Override any gcc2 internal prototype to avoid an error. */
41798 /* We use char because int might match the return type of a gcc2
41799 builtin and then its argument prototype would still apply. */
41801 /* The GNU C library defines this for functions which it implements
41802 to always fail with ENOSYS. Some functions are actually named
41803 something starting with __ and the normal name is an alias. */
41804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41807 char (*f) () = $ac_func;
41816 return f != $ac_func;
41821 rm -f conftest.
$ac_objext conftest
$ac_exeext
41822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41823 (eval $ac_link) 2>conftest.er1
41825 grep -v '^ *+' conftest.er1
>conftest.err
41827 cat conftest.err
>&5
41828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41829 (exit $ac_status); } &&
41830 { ac_try
='test -z "$ac_c_werror_flag"
41831 || test ! -s conftest.err'
41832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41833 (eval $ac_try) 2>&5
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); }; } &&
41837 { ac_try
='test -s conftest$ac_exeext'
41838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41839 (eval $ac_try) 2>&5
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); }; }; then
41843 eval "$as_ac_var=yes"
41845 echo "$as_me: failed program was:" >&5
41846 sed 's/^/| /' conftest.
$ac_ext >&5
41848 eval "$as_ac_var=no"
41850 rm -f conftest.err conftest.
$ac_objext \
41851 conftest
$ac_exeext conftest.
$ac_ext
41853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41855 if test `eval echo '${'$as_ac_var'}'` = yes; then
41856 cat >>confdefs.h
<<_ACEOF
41857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41864 if test "$ac_cv_func_gettimeofday" = "yes"; then
41865 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
41866 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
41867 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
41868 echo $ECHO_N "(cached) $ECHO_C" >&6
41874 ac_cpp
='$CXXCPP $CPPFLAGS'
41875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41880 cat >conftest.
$ac_ext <<_ACEOF
41883 cat confdefs.h
>>conftest.
$ac_ext
41884 cat >>conftest.
$ac_ext <<_ACEOF
41885 /* end confdefs.h. */
41887 #include <sys/time.h>
41888 #include <unistd.h>
41895 gettimeofday(&tv, NULL);
41901 rm -f conftest.
$ac_objext
41902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41903 (eval $ac_compile) 2>conftest.er1
41905 grep -v '^ *+' conftest.er1
>conftest.err
41907 cat conftest.err
>&5
41908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41909 (exit $ac_status); } &&
41910 { ac_try
='test -z "$ac_cxx_werror_flag"
41911 || test ! -s conftest.err'
41912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41913 (eval $ac_try) 2>&5
41915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41916 (exit $ac_status); }; } &&
41917 { ac_try
='test -s conftest.$ac_objext'
41918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41919 (eval $ac_try) 2>&5
41921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41922 (exit $ac_status); }; }; then
41923 wx_cv_func_gettimeofday_has_2_args
=yes
41925 echo "$as_me: failed program was:" >&5
41926 sed 's/^/| /' conftest.
$ac_ext >&5
41928 cat >conftest.
$ac_ext <<_ACEOF
41931 cat confdefs.h
>>conftest.
$ac_ext
41932 cat >>conftest.
$ac_ext <<_ACEOF
41933 /* end confdefs.h. */
41935 #include <sys/time.h>
41936 #include <unistd.h>
41949 rm -f conftest.
$ac_objext
41950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41951 (eval $ac_compile) 2>conftest.er1
41953 grep -v '^ *+' conftest.er1
>conftest.err
41955 cat conftest.err
>&5
41956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41957 (exit $ac_status); } &&
41958 { ac_try
='test -z "$ac_cxx_werror_flag"
41959 || test ! -s conftest.err'
41960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41961 (eval $ac_try) 2>&5
41963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41964 (exit $ac_status); }; } &&
41965 { ac_try
='test -s conftest.$ac_objext'
41966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41967 (eval $ac_try) 2>&5
41969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970 (exit $ac_status); }; }; then
41971 wx_cv_func_gettimeofday_has_2_args
=no
41973 echo "$as_me: failed program was:" >&5
41974 sed 's/^/| /' conftest.
$ac_ext >&5
41977 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
41978 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
41979 wx_cv_func_gettimeofday_has_2_args
=unknown
41983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41988 ac_cpp
='$CPP $CPPFLAGS'
41989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41995 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
41996 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
41998 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
41999 cat >>confdefs.h
<<\_ACEOF
42000 #define WX_GETTIMEOFDAY_NO_TZ 1
42006 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42010 if test "$wxUSE_SOCKETS" = "yes"; then
42011 if test "$wxUSE_MGL" = "1"; then
42012 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42013 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42018 if test "$wxUSE_SOCKETS" = "yes"; then
42019 if test "$TOOLKIT" != "MSW"; then
42020 echo "$as_me:$LINENO: checking for socket" >&5
42021 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42022 if test "${ac_cv_func_socket+set}" = set; then
42023 echo $ECHO_N "(cached) $ECHO_C" >&6
42025 cat >conftest.
$ac_ext <<_ACEOF
42028 cat confdefs.h
>>conftest.
$ac_ext
42029 cat >>conftest.
$ac_ext <<_ACEOF
42030 /* end confdefs.h. */
42031 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42033 #define socket innocuous_socket
42035 /* System header to define __stub macros and hopefully few prototypes,
42036 which can conflict with char socket (); below.
42037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42038 <limits.h> exists even on freestanding compilers. */
42041 # include <limits.h>
42043 # include <assert.h>
42048 /* Override any gcc2 internal prototype to avoid an error. */
42053 /* We use char because int might match the return type of a gcc2
42054 builtin and then its argument prototype would still apply. */
42056 /* The GNU C library defines this for functions which it implements
42057 to always fail with ENOSYS. Some functions are actually named
42058 something starting with __ and the normal name is an alias. */
42059 #if defined (__stub_socket) || defined (__stub___socket)
42062 char (*f) () = socket;
42071 return f != socket;
42076 rm -f conftest.
$ac_objext conftest
$ac_exeext
42077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42078 (eval $ac_link) 2>conftest.er1
42080 grep -v '^ *+' conftest.er1
>conftest.err
42082 cat conftest.err
>&5
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); } &&
42085 { ac_try
='test -z "$ac_c_werror_flag"
42086 || test ! -s conftest.err'
42087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42088 (eval $ac_try) 2>&5
42090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42091 (exit $ac_status); }; } &&
42092 { ac_try
='test -s conftest$ac_exeext'
42093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42094 (eval $ac_try) 2>&5
42096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42097 (exit $ac_status); }; }; then
42098 ac_cv_func_socket
=yes
42100 echo "$as_me: failed program was:" >&5
42101 sed 's/^/| /' conftest.
$ac_ext >&5
42103 ac_cv_func_socket
=no
42105 rm -f conftest.err conftest.
$ac_objext \
42106 conftest
$ac_exeext conftest.
$ac_ext
42108 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42109 echo "${ECHO_T}$ac_cv_func_socket" >&6
42110 if test $ac_cv_func_socket = yes; then
42114 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42115 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42116 if test "${ac_cv_lib_socket_socket+set}" = set; then
42117 echo $ECHO_N "(cached) $ECHO_C" >&6
42119 ac_check_lib_save_LIBS
=$LIBS
42120 LIBS
="-lsocket $LIBS"
42121 cat >conftest.
$ac_ext <<_ACEOF
42124 cat confdefs.h
>>conftest.
$ac_ext
42125 cat >>conftest.
$ac_ext <<_ACEOF
42126 /* end confdefs.h. */
42128 /* Override any gcc2 internal prototype to avoid an error. */
42132 /* We use char because int might match the return type of a gcc2
42133 builtin and then its argument prototype would still apply. */
42143 rm -f conftest.
$ac_objext conftest
$ac_exeext
42144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42145 (eval $ac_link) 2>conftest.er1
42147 grep -v '^ *+' conftest.er1
>conftest.err
42149 cat conftest.err
>&5
42150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42151 (exit $ac_status); } &&
42152 { ac_try
='test -z "$ac_c_werror_flag"
42153 || test ! -s conftest.err'
42154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42155 (eval $ac_try) 2>&5
42157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42158 (exit $ac_status); }; } &&
42159 { ac_try
='test -s conftest$ac_exeext'
42160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42161 (eval $ac_try) 2>&5
42163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42164 (exit $ac_status); }; }; then
42165 ac_cv_lib_socket_socket
=yes
42167 echo "$as_me: failed program was:" >&5
42168 sed 's/^/| /' conftest.
$ac_ext >&5
42170 ac_cv_lib_socket_socket
=no
42172 rm -f conftest.err conftest.
$ac_objext \
42173 conftest
$ac_exeext conftest.
$ac_ext
42174 LIBS
=$ac_check_lib_save_LIBS
42176 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42177 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42178 if test $ac_cv_lib_socket_socket = yes; then
42179 if test "$INET_LINK" != " -lsocket"; then
42180 INET_LINK
="$INET_LINK -lsocket"
42184 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42185 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42198 if test "$wxUSE_SOCKETS" = "yes" ; then
42199 if test "$TOOLKIT" != "MSW"; then
42201 ac_cpp
='$CXXCPP $CPPFLAGS'
42202 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42206 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42207 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42208 if test "${wx_cv_type_getsockname3+set}" = set; then
42209 echo $ECHO_N "(cached) $ECHO_C" >&6
42212 cat >conftest.
$ac_ext <<_ACEOF
42215 cat confdefs.h
>>conftest.
$ac_ext
42216 cat >>conftest.
$ac_ext <<_ACEOF
42217 /* end confdefs.h. */
42219 #include <sys/types.h>
42220 #include <sys/socket.h>
42227 getsockname(0, 0, &len);
42233 rm -f conftest.
$ac_objext
42234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42235 (eval $ac_compile) 2>conftest.er1
42237 grep -v '^ *+' conftest.er1
>conftest.err
42239 cat conftest.err
>&5
42240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42241 (exit $ac_status); } &&
42242 { ac_try
='test -z "$ac_cxx_werror_flag"
42243 || test ! -s conftest.err'
42244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42245 (eval $ac_try) 2>&5
42247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42248 (exit $ac_status); }; } &&
42249 { ac_try
='test -s conftest.$ac_objext'
42250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42251 (eval $ac_try) 2>&5
42253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42254 (exit $ac_status); }; }; then
42255 wx_cv_type_getsockname3
=socklen_t
42257 echo "$as_me: failed program was:" >&5
42258 sed 's/^/| /' conftest.
$ac_ext >&5
42261 CXXFLAGS_OLD
="$CXXFLAGS"
42262 if test "$GCC" = yes ; then
42263 CXXFLAGS
="-Werror $CXXFLAGS"
42266 cat >conftest.
$ac_ext <<_ACEOF
42269 cat confdefs.h
>>conftest.
$ac_ext
42270 cat >>conftest.
$ac_ext <<_ACEOF
42271 /* end confdefs.h. */
42273 #include <sys/types.h>
42274 #include <sys/socket.h>
42281 getsockname(0, 0, &len);
42287 rm -f conftest.
$ac_objext
42288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42289 (eval $ac_compile) 2>conftest.er1
42291 grep -v '^ *+' conftest.er1
>conftest.err
42293 cat conftest.err
>&5
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); } &&
42296 { ac_try
='test -z "$ac_cxx_werror_flag"
42297 || test ! -s conftest.err'
42298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42299 (eval $ac_try) 2>&5
42301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42302 (exit $ac_status); }; } &&
42303 { ac_try
='test -s conftest.$ac_objext'
42304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42305 (eval $ac_try) 2>&5
42307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42308 (exit $ac_status); }; }; then
42309 wx_cv_type_getsockname3
=size_t
42311 echo "$as_me: failed program was:" >&5
42312 sed 's/^/| /' conftest.
$ac_ext >&5
42314 cat >conftest.
$ac_ext <<_ACEOF
42317 cat confdefs.h
>>conftest.
$ac_ext
42318 cat >>conftest.
$ac_ext <<_ACEOF
42319 /* end confdefs.h. */
42321 #include <sys/types.h>
42322 #include <sys/socket.h>
42329 getsockname(0, 0, &len);
42335 rm -f conftest.
$ac_objext
42336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42337 (eval $ac_compile) 2>conftest.er1
42339 grep -v '^ *+' conftest.er1
>conftest.err
42341 cat conftest.err
>&5
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); } &&
42344 { ac_try
='test -z "$ac_cxx_werror_flag"
42345 || test ! -s conftest.err'
42346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42347 (eval $ac_try) 2>&5
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); }; } &&
42351 { ac_try
='test -s conftest.$ac_objext'
42352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42353 (eval $ac_try) 2>&5
42355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42356 (exit $ac_status); }; }; then
42357 wx_cv_type_getsockname3
=int
42359 echo "$as_me: failed program was:" >&5
42360 sed 's/^/| /' conftest.
$ac_ext >&5
42362 wx_cv_type_getsockname3
=unknown
42365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42370 CXXFLAGS
="$CXXFLAGS_OLD"
42374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42377 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42378 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42380 if test "$wx_cv_type_getsockname3" = "unknown"; then
42382 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42383 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42385 cat >>confdefs.h
<<_ACEOF
42386 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42390 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42391 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42392 if test "${wx_cv_type_getsockopt5+set}" = set; then
42393 echo $ECHO_N "(cached) $ECHO_C" >&6
42396 cat >conftest.
$ac_ext <<_ACEOF
42399 cat confdefs.h
>>conftest.
$ac_ext
42400 cat >>conftest.
$ac_ext <<_ACEOF
42401 /* end confdefs.h. */
42403 #include <sys/types.h>
42404 #include <sys/socket.h>
42411 getsockopt(0, 0, 0, 0, &len);
42417 rm -f conftest.
$ac_objext
42418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42419 (eval $ac_compile) 2>conftest.er1
42421 grep -v '^ *+' conftest.er1
>conftest.err
42423 cat conftest.err
>&5
42424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425 (exit $ac_status); } &&
42426 { ac_try
='test -z "$ac_cxx_werror_flag"
42427 || test ! -s conftest.err'
42428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42429 (eval $ac_try) 2>&5
42431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42432 (exit $ac_status); }; } &&
42433 { ac_try
='test -s conftest.$ac_objext'
42434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42435 (eval $ac_try) 2>&5
42437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42438 (exit $ac_status); }; }; then
42439 wx_cv_type_getsockopt5
=socklen_t
42441 echo "$as_me: failed program was:" >&5
42442 sed 's/^/| /' conftest.
$ac_ext >&5
42445 CXXFLAGS_OLD
="$CXXFLAGS"
42446 if test "$GCC" = yes ; then
42447 CXXFLAGS
="-Werror $CXXFLAGS"
42450 cat >conftest.
$ac_ext <<_ACEOF
42453 cat confdefs.h
>>conftest.
$ac_ext
42454 cat >>conftest.
$ac_ext <<_ACEOF
42455 /* end confdefs.h. */
42457 #include <sys/types.h>
42458 #include <sys/socket.h>
42465 getsockopt(0, 0, 0, 0, &len);
42471 rm -f conftest.
$ac_objext
42472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42473 (eval $ac_compile) 2>conftest.er1
42475 grep -v '^ *+' conftest.er1
>conftest.err
42477 cat conftest.err
>&5
42478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42479 (exit $ac_status); } &&
42480 { ac_try
='test -z "$ac_cxx_werror_flag"
42481 || test ! -s conftest.err'
42482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42483 (eval $ac_try) 2>&5
42485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42486 (exit $ac_status); }; } &&
42487 { ac_try
='test -s conftest.$ac_objext'
42488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42489 (eval $ac_try) 2>&5
42491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42492 (exit $ac_status); }; }; then
42493 wx_cv_type_getsockopt5
=size_t
42495 echo "$as_me: failed program was:" >&5
42496 sed 's/^/| /' conftest.
$ac_ext >&5
42498 cat >conftest.
$ac_ext <<_ACEOF
42501 cat confdefs.h
>>conftest.
$ac_ext
42502 cat >>conftest.
$ac_ext <<_ACEOF
42503 /* end confdefs.h. */
42505 #include <sys/types.h>
42506 #include <sys/socket.h>
42513 getsockopt(0, 0, 0, 0, &len);
42519 rm -f conftest.
$ac_objext
42520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42521 (eval $ac_compile) 2>conftest.er1
42523 grep -v '^ *+' conftest.er1
>conftest.err
42525 cat conftest.err
>&5
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); } &&
42528 { ac_try
='test -z "$ac_cxx_werror_flag"
42529 || test ! -s conftest.err'
42530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42531 (eval $ac_try) 2>&5
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); }; } &&
42535 { ac_try
='test -s conftest.$ac_objext'
42536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42537 (eval $ac_try) 2>&5
42539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540 (exit $ac_status); }; }; then
42541 wx_cv_type_getsockopt5
=int
42543 echo "$as_me: failed program was:" >&5
42544 sed 's/^/| /' conftest.
$ac_ext >&5
42546 wx_cv_type_getsockopt5
=unknown
42549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42554 CXXFLAGS
="$CXXFLAGS_OLD"
42558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42561 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42562 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42564 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42566 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42567 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42569 cat >>confdefs.h
<<_ACEOF
42570 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42575 ac_cpp
='$CPP $CPPFLAGS'
42576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42583 if test "$wxUSE_SOCKETS" = "yes" ; then
42584 cat >>confdefs.h
<<\_ACEOF
42585 #define wxUSE_SOCKETS 1
42588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
42591 if test "$wxUSE_PROTOCOL" = "yes"; then
42592 if test "$wxUSE_SOCKETS" != "yes"; then
42593 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42594 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42599 if test "$wxUSE_PROTOCOL" = "yes"; then
42600 cat >>confdefs.h
<<\_ACEOF
42601 #define wxUSE_PROTOCOL 1
42605 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42606 cat >>confdefs.h
<<\_ACEOF
42607 #define wxUSE_PROTOCOL_HTTP 1
42611 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42612 cat >>confdefs.h
<<\_ACEOF
42613 #define wxUSE_PROTOCOL_FTP 1
42617 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42618 cat >>confdefs.h
<<\_ACEOF
42619 #define wxUSE_PROTOCOL_FILE 1
42624 if test "$wxUSE_FS_INET" = "yes"; then
42625 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42626 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42631 if test "$wxUSE_URL" = "yes"; then
42632 if test "$wxUSE_PROTOCOL" != "yes"; then
42633 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42634 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42637 if test "$wxUSE_URL" = "yes"; then
42638 cat >>confdefs.h
<<\_ACEOF
42639 #define wxUSE_URL 1
42645 if test "$wxUSE_FS_INET" = "yes"; then
42646 cat >>confdefs.h
<<\_ACEOF
42647 #define wxUSE_FS_INET 1
42653 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42656 if test "$TOOLKIT" = "MSW"; then
42659 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42660 if test "$USE_DARWIN" = 1; then
42661 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42662 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42664 ac_cpp
='$CXXCPP $CPPFLAGS'
42665 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42666 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42667 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42669 cat >conftest.
$ac_ext <<_ACEOF
42672 cat confdefs.h
>>conftest.
$ac_ext
42673 cat >>conftest.
$ac_ext <<_ACEOF
42674 /* end confdefs.h. */
42675 #include <IOKit/hid/IOHIDLib.h>
42679 IOHIDQueueInterface *qi = NULL;
42680 IOHIDCallbackFunction cb = NULL;
42681 qi->setEventCallout(NULL, cb, NULL, NULL);
42686 rm -f conftest.
$ac_objext
42687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42688 (eval $ac_compile) 2>conftest.er1
42690 grep -v '^ *+' conftest.er1
>conftest.err
42692 cat conftest.err
>&5
42693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42694 (exit $ac_status); } &&
42695 { ac_try
='test -z "$ac_cxx_werror_flag"
42696 || test ! -s conftest.err'
42697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42698 (eval $ac_try) 2>&5
42700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42701 (exit $ac_status); }; } &&
42702 { ac_try
='test -s conftest.$ac_objext'
42703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42704 (eval $ac_try) 2>&5
42706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42707 (exit $ac_status); }; }; then
42711 echo "$as_me: failed program was:" >&5
42712 sed 's/^/| /' conftest.
$ac_ext >&5
42715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42717 ac_cpp
='$CPP $CPPFLAGS'
42718 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42719 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42720 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42722 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42723 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42728 for ac_header
in linux
/joystick.h
42730 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42732 echo "$as_me:$LINENO: checking for $ac_header" >&5
42733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42735 echo $ECHO_N "(cached) $ECHO_C" >&6
42737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42740 # Is the header compilable?
42741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42743 cat >conftest.
$ac_ext <<_ACEOF
42746 cat confdefs.h
>>conftest.
$ac_ext
42747 cat >>conftest.
$ac_ext <<_ACEOF
42748 /* end confdefs.h. */
42749 $ac_includes_default
42750 #include <$ac_header>
42752 rm -f conftest.
$ac_objext
42753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42754 (eval $ac_compile) 2>conftest.er1
42756 grep -v '^ *+' conftest.er1
>conftest.err
42758 cat conftest.err
>&5
42759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760 (exit $ac_status); } &&
42761 { ac_try
='test -z "$ac_c_werror_flag"
42762 || test ! -s conftest.err'
42763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42764 (eval $ac_try) 2>&5
42766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42767 (exit $ac_status); }; } &&
42768 { ac_try
='test -s conftest.$ac_objext'
42769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42770 (eval $ac_try) 2>&5
42772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42773 (exit $ac_status); }; }; then
42774 ac_header_compiler
=yes
42776 echo "$as_me: failed program was:" >&5
42777 sed 's/^/| /' conftest.
$ac_ext >&5
42779 ac_header_compiler
=no
42781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42783 echo "${ECHO_T}$ac_header_compiler" >&6
42785 # Is the header present?
42786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42788 cat >conftest.
$ac_ext <<_ACEOF
42791 cat confdefs.h
>>conftest.
$ac_ext
42792 cat >>conftest.
$ac_ext <<_ACEOF
42793 /* end confdefs.h. */
42794 #include <$ac_header>
42796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42797 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
42799 grep -v '^ *+' conftest.er1
>conftest.err
42801 cat conftest.err
>&5
42802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42803 (exit $ac_status); } >/dev
/null
; then
42804 if test -s conftest.err
; then
42805 ac_cpp_err
=$ac_c_preproc_warn_flag
42806 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
42813 if test -z "$ac_cpp_err"; then
42814 ac_header_preproc
=yes
42816 echo "$as_me: failed program was:" >&5
42817 sed 's/^/| /' conftest.
$ac_ext >&5
42819 ac_header_preproc
=no
42821 rm -f conftest.err conftest.
$ac_ext
42822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42823 echo "${ECHO_T}$ac_header_preproc" >&6
42825 # So? What about this header?
42826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42832 ac_header_preproc
=yes
42835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42849 ## ----------------------------------------- ##
42850 ## Report this to wx-dev@lists.wxwidgets.org ##
42851 ## ----------------------------------------- ##
42854 sed "s/^/$as_me: WARNING: /" >&2
42857 echo "$as_me:$LINENO: checking for $ac_header" >&5
42858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42860 echo $ECHO_N "(cached) $ECHO_C" >&6
42862 eval "$as_ac_Header=\$ac_header_preproc"
42864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42869 cat >>confdefs.h
<<_ACEOF
42870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42879 if test "$wxUSE_JOYSTICK" = "yes"; then
42880 cat >>confdefs.h
<<\_ACEOF
42881 #define wxUSE_JOYSTICK 1
42884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
42886 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
42887 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
42893 if test "$wxUSE_FONTMAP" = "yes" ; then
42894 cat >>confdefs.h
<<\_ACEOF
42895 #define wxUSE_FONTMAP 1
42900 if test "$wxUSE_UNICODE" = "yes" ; then
42901 cat >>confdefs.h
<<\_ACEOF
42902 #define wxUSE_UNICODE 1
42906 if test "$USE_WIN32" != 1; then
42907 wxUSE_UNICODE_MSLU
=no
42910 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
42911 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
42912 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
42913 if test "${ac_cv_lib_unicows_main+set}" = set; then
42914 echo $ECHO_N "(cached) $ECHO_C" >&6
42916 ac_check_lib_save_LIBS
=$LIBS
42917 LIBS
="-lunicows $LIBS"
42918 cat >conftest.
$ac_ext <<_ACEOF
42921 cat confdefs.h
>>conftest.
$ac_ext
42922 cat >>conftest.
$ac_ext <<_ACEOF
42923 /* end confdefs.h. */
42934 rm -f conftest.
$ac_objext conftest
$ac_exeext
42935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42936 (eval $ac_link) 2>conftest.er1
42938 grep -v '^ *+' conftest.er1
>conftest.err
42940 cat conftest.err
>&5
42941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42942 (exit $ac_status); } &&
42943 { ac_try
='test -z "$ac_c_werror_flag"
42944 || test ! -s conftest.err'
42945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42946 (eval $ac_try) 2>&5
42948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42949 (exit $ac_status); }; } &&
42950 { ac_try
='test -s conftest$ac_exeext'
42951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42952 (eval $ac_try) 2>&5
42954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42955 (exit $ac_status); }; }; then
42956 ac_cv_lib_unicows_main
=yes
42958 echo "$as_me: failed program was:" >&5
42959 sed 's/^/| /' conftest.
$ac_ext >&5
42961 ac_cv_lib_unicows_main
=no
42963 rm -f conftest.err conftest.
$ac_objext \
42964 conftest
$ac_exeext conftest.
$ac_ext
42965 LIBS
=$ac_check_lib_save_LIBS
42967 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
42968 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
42969 if test $ac_cv_lib_unicows_main = yes; then
42971 cat >>confdefs.h
<<\_ACEOF
42972 #define wxUSE_UNICODE_MSLU 1
42978 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
42979 Applications will only run on Windows NT/2000/XP!" >&5
42980 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
42981 Applications will only run on Windows NT/2000/XP!" >&2;}
42982 wxUSE_UNICODE_MSLU
=no
42989 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
42990 cat >>confdefs.h
<<\_ACEOF
42991 #define wxUSE_EXPERIMENTAL_PRINTF 1
42997 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
42998 cat >>confdefs.h
<<\_ACEOF
42999 #define wxUSE_POSTSCRIPT 1
43004 cat >>confdefs.h
<<\_ACEOF
43005 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43009 cat >>confdefs.h
<<\_ACEOF
43010 #define wxUSE_NORMALIZED_PS_FONTS 1
43015 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43016 cat >>confdefs.h
<<\_ACEOF
43017 #define wxUSE_CONSTRAINTS 1
43020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43023 if test "$wxUSE_MDI" = "yes"; then
43024 cat >>confdefs.h
<<\_ACEOF
43025 #define wxUSE_MDI 1
43029 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43030 cat >>confdefs.h
<<\_ACEOF
43031 #define wxUSE_MDI_ARCHITECTURE 1
43034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43038 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43039 cat >>confdefs.h
<<\_ACEOF
43040 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43043 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43044 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43049 if test "$wxUSE_HELP" = "yes"; then
43050 cat >>confdefs.h
<<\_ACEOF
43051 #define wxUSE_HELP 1
43054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43056 if test "$wxUSE_MSW" = 1; then
43057 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43058 cat >>confdefs.h
<<\_ACEOF
43059 #define wxUSE_MS_HTML_HELP 1
43065 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43066 if test "$wxUSE_HTML" = "yes"; then
43067 cat >>confdefs.h
<<\_ACEOF
43068 #define wxUSE_WXHTML_HELP 1
43072 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43073 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43074 wxUSE_WXHTML_HELP
=no
43079 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43080 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43081 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43082 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43084 cat >>confdefs.h
<<\_ACEOF
43085 #define wxUSE_PRINTING_ARCHITECTURE 1
43089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43092 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43093 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43094 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43095 { (exit 1); exit 1; }; }
43099 if test "$wxUSE_METAFILE" = "yes"; then
43100 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43101 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43102 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43108 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43109 -o "$wxUSE_CLIPBOARD" = "yes" \
43110 -o "$wxUSE_OLE" = "yes" \
43111 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43113 for ac_header
in ole2.h
43115 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43117 echo "$as_me:$LINENO: checking for $ac_header" >&5
43118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43120 echo $ECHO_N "(cached) $ECHO_C" >&6
43122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43125 # Is the header compilable?
43126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43128 cat >conftest.
$ac_ext <<_ACEOF
43131 cat confdefs.h
>>conftest.
$ac_ext
43132 cat >>conftest.
$ac_ext <<_ACEOF
43133 /* end confdefs.h. */
43134 $ac_includes_default
43135 #include <$ac_header>
43137 rm -f conftest.
$ac_objext
43138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43139 (eval $ac_compile) 2>conftest.er1
43141 grep -v '^ *+' conftest.er1
>conftest.err
43143 cat conftest.err
>&5
43144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43145 (exit $ac_status); } &&
43146 { ac_try
='test -z "$ac_c_werror_flag"
43147 || test ! -s conftest.err'
43148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43149 (eval $ac_try) 2>&5
43151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43152 (exit $ac_status); }; } &&
43153 { ac_try
='test -s conftest.$ac_objext'
43154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43155 (eval $ac_try) 2>&5
43157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43158 (exit $ac_status); }; }; then
43159 ac_header_compiler
=yes
43161 echo "$as_me: failed program was:" >&5
43162 sed 's/^/| /' conftest.
$ac_ext >&5
43164 ac_header_compiler
=no
43166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43168 echo "${ECHO_T}$ac_header_compiler" >&6
43170 # Is the header present?
43171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43173 cat >conftest.
$ac_ext <<_ACEOF
43176 cat confdefs.h
>>conftest.
$ac_ext
43177 cat >>conftest.
$ac_ext <<_ACEOF
43178 /* end confdefs.h. */
43179 #include <$ac_header>
43181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43182 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43184 grep -v '^ *+' conftest.er1
>conftest.err
43186 cat conftest.err
>&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } >/dev
/null
; then
43189 if test -s conftest.err
; then
43190 ac_cpp_err
=$ac_c_preproc_warn_flag
43191 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
43198 if test -z "$ac_cpp_err"; then
43199 ac_header_preproc
=yes
43201 echo "$as_me: failed program was:" >&5
43202 sed 's/^/| /' conftest.
$ac_ext >&5
43204 ac_header_preproc
=no
43206 rm -f conftest.err conftest.
$ac_ext
43207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43208 echo "${ECHO_T}$ac_header_preproc" >&6
43210 # So? What about this header?
43211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43217 ac_header_preproc
=yes
43220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43234 ## ----------------------------------------- ##
43235 ## Report this to wx-dev@lists.wxwidgets.org ##
43236 ## ----------------------------------------- ##
43239 sed "s/^/$as_me: WARNING: /" >&2
43242 echo "$as_me:$LINENO: checking for $ac_header" >&5
43243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43245 echo $ECHO_N "(cached) $ECHO_C" >&6
43247 eval "$as_ac_Header=\$ac_header_preproc"
43249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43254 cat >>confdefs.h
<<_ACEOF
43255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43263 if test "$ac_cv_header_ole2_h" = "yes" ; then
43264 if test "$GCC" = yes ; then
43268 ac_cpp
='$CXXCPP $CPPFLAGS'
43269 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43270 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43271 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43274 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43275 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43276 cat >conftest.
$ac_ext <<_ACEOF
43279 cat confdefs.h
>>conftest.
$ac_ext
43280 cat >>conftest.
$ac_ext <<_ACEOF
43281 /* end confdefs.h. */
43282 #include <windows.h>
43292 rm -f conftest.
$ac_objext
43293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43294 (eval $ac_compile) 2>conftest.er1
43296 grep -v '^ *+' conftest.er1
>conftest.err
43298 cat conftest.err
>&5
43299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43300 (exit $ac_status); } &&
43301 { ac_try
='test -z "$ac_cxx_werror_flag"
43302 || test ! -s conftest.err'
43303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43304 (eval $ac_try) 2>&5
43306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43307 (exit $ac_status); }; } &&
43308 { ac_try
='test -s conftest.$ac_objext'
43309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43310 (eval $ac_try) 2>&5
43312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43313 (exit $ac_status); }; }; then
43314 echo "$as_me:$LINENO: result: no" >&5
43315 echo "${ECHO_T}no" >&6
43317 echo "$as_me: failed program was:" >&5
43318 sed 's/^/| /' conftest.
$ac_ext >&5
43320 echo "$as_me:$LINENO: result: yes" >&5
43321 echo "${ECHO_T}yes" >&6
43322 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43326 ac_cpp
='$CPP $CPPFLAGS'
43327 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43328 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43329 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43331 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43332 if test "$wxUSE_OLE" = "yes" ; then
43333 cat >>confdefs.h
<<\_ACEOF
43334 #define wxUSE_OLE 1
43337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43341 if test "$wxUSE_DATAOBJ" = "yes" ; then
43342 cat >>confdefs.h
<<\_ACEOF
43343 #define wxUSE_DATAOBJ 1
43348 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43349 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43352 wxUSE_DRAG_AND_DROP
=no
43357 if test "$wxUSE_METAFILE" = "yes"; then
43358 cat >>confdefs.h
<<\_ACEOF
43359 #define wxUSE_METAFILE 1
43363 cat >>confdefs.h
<<\_ACEOF
43364 #define wxUSE_ENH_METAFILE 1
43370 if test "$wxUSE_IPC" = "yes"; then
43371 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43372 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43373 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43377 if test "$wxUSE_IPC" = "yes"; then
43378 cat >>confdefs.h
<<\_ACEOF
43379 #define wxUSE_IPC 1
43382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43386 if test "$wxUSE_DATAOBJ" = "yes"; then
43387 if test "$wxUSE_MGL" = 1; then
43388 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43389 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43392 cat >>confdefs.h
<<\_ACEOF
43393 #define wxUSE_DATAOBJ 1
43398 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43399 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43401 wxUSE_DRAG_AND_DROP
=no
43404 if test "$wxUSE_CLIPBOARD" = "yes"; then
43405 if test "$wxUSE_MGL" = 1; then
43406 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43407 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43411 if test "$wxUSE_CLIPBOARD" = "yes"; then
43412 cat >>confdefs.h
<<\_ACEOF
43413 #define wxUSE_CLIPBOARD 1
43419 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43420 if test "$wxUSE_GTK" = 1; then
43421 if test "$WXGTK12" != 1; then
43422 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43423 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43424 wxUSE_DRAG_AND_DROP
=no
43428 if test "$wxUSE_MOTIF" = 1; then
43429 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43430 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43431 wxUSE_DRAG_AND_DROP
=no
43434 if test "$wxUSE_X11" = 1; then
43435 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43436 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43437 wxUSE_DRAG_AND_DROP
=no
43440 if test "$wxUSE_MGL" = 1; then
43441 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43442 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43443 wxUSE_DRAG_AND_DROP
=no
43446 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43447 cat >>confdefs.h
<<\_ACEOF
43448 #define wxUSE_DRAG_AND_DROP 1
43455 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43459 if test "$wxUSE_SPLINES" = "yes" ; then
43460 cat >>confdefs.h
<<\_ACEOF
43461 #define wxUSE_SPLINES 1
43466 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43467 cat >>confdefs.h
<<\_ACEOF
43468 #define wxUSE_MOUSEWHEEL 1
43475 if test "$wxUSE_CONTROLS" = "yes"; then
43479 if test "$wxUSE_ACCEL" = "yes"; then
43480 cat >>confdefs.h
<<\_ACEOF
43481 #define wxUSE_ACCEL 1
43487 if test "$wxUSE_BUTTON" = "yes"; then
43488 cat >>confdefs.h
<<\_ACEOF
43489 #define wxUSE_BUTTON 1
43495 if test "$wxUSE_BMPBUTTON" = "yes"; then
43496 cat >>confdefs.h
<<\_ACEOF
43497 #define wxUSE_BMPBUTTON 1
43503 if test "$wxUSE_CALCTRL" = "yes"; then
43504 cat >>confdefs.h
<<\_ACEOF
43505 #define wxUSE_CALENDARCTRL 1
43509 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43512 if test "$wxUSE_CARET" = "yes"; then
43513 cat >>confdefs.h
<<\_ACEOF
43514 #define wxUSE_CARET 1
43518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43521 if test "$wxUSE_COMBOBOX" = "yes"; then
43522 cat >>confdefs.h
<<\_ACEOF
43523 #define wxUSE_COMBOBOX 1
43529 if test "$wxUSE_CHOICE" = "yes"; then
43530 cat >>confdefs.h
<<\_ACEOF
43531 #define wxUSE_CHOICE 1
43537 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43538 cat >>confdefs.h
<<\_ACEOF
43539 #define wxUSE_CHOICEBOOK 1
43545 if test "$wxUSE_CHECKBOX" = "yes"; then
43546 cat >>confdefs.h
<<\_ACEOF
43547 #define wxUSE_CHECKBOX 1
43553 if test "$wxUSE_CHECKLST" = "yes"; then
43554 cat >>confdefs.h
<<\_ACEOF
43555 #define wxUSE_CHECKLISTBOX 1
43559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
43562 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43563 cat >>confdefs.h
<<\_ACEOF
43564 #define wxUSE_DATEPICKCTRL 1
43570 if test "$wxUSE_DISPLAY" = "yes"; then
43571 cat >>confdefs.h
<<\_ACEOF
43572 #define wxUSE_DISPLAY 1
43575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
43578 if test "$wxUSE_GAUGE" = "yes"; then
43579 cat >>confdefs.h
<<\_ACEOF
43580 #define wxUSE_GAUGE 1
43586 if test "$wxUSE_GRID" = "yes"; then
43587 cat >>confdefs.h
<<\_ACEOF
43588 #define wxUSE_GRID 1
43592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
43595 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43596 cat >>confdefs.h
<<\_ACEOF
43597 #define wxUSE_DATAVIEWCTRL 1
43601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
43604 if test "$wxUSE_IMAGLIST" = "yes"; then
43605 cat >>confdefs.h
<<\_ACEOF
43606 #define wxUSE_IMAGLIST 1
43611 if test "$wxUSE_LISTBOOK" = "yes"; then
43612 cat >>confdefs.h
<<\_ACEOF
43613 #define wxUSE_LISTBOOK 1
43619 if test "$wxUSE_LISTBOX" = "yes"; then
43620 cat >>confdefs.h
<<\_ACEOF
43621 #define wxUSE_LISTBOX 1
43625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
43628 if test "$wxUSE_LISTCTRL" = "yes"; then
43629 if test "$wxUSE_IMAGLIST" = "yes"; then
43630 cat >>confdefs.h
<<\_ACEOF
43631 #define wxUSE_LISTCTRL 1
43635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
43637 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43638 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43642 if test "$wxUSE_NOTEBOOK" = "yes"; then
43643 cat >>confdefs.h
<<\_ACEOF
43644 #define wxUSE_NOTEBOOK 1
43648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
43652 if test "$wxUSE_RADIOBOX" = "yes"; then
43653 cat >>confdefs.h
<<\_ACEOF
43654 #define wxUSE_RADIOBOX 1
43660 if test "$wxUSE_RADIOBTN" = "yes"; then
43661 cat >>confdefs.h
<<\_ACEOF
43662 #define wxUSE_RADIOBTN 1
43668 if test "$wxUSE_SASH" = "yes"; then
43669 cat >>confdefs.h
<<\_ACEOF
43670 #define wxUSE_SASH 1
43673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
43676 if test "$wxUSE_SCROLLBAR" = "yes"; then
43677 cat >>confdefs.h
<<\_ACEOF
43678 #define wxUSE_SCROLLBAR 1
43682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
43685 if test "$wxUSE_SLIDER" = "yes"; then
43686 cat >>confdefs.h
<<\_ACEOF
43687 #define wxUSE_SLIDER 1
43693 if test "$wxUSE_SPINBTN" = "yes"; then
43694 cat >>confdefs.h
<<\_ACEOF
43695 #define wxUSE_SPINBTN 1
43701 if test "$wxUSE_SPINCTRL" = "yes"; then
43702 cat >>confdefs.h
<<\_ACEOF
43703 #define wxUSE_SPINCTRL 1
43709 if test "$wxUSE_SPLITTER" = "yes"; then
43710 cat >>confdefs.h
<<\_ACEOF
43711 #define wxUSE_SPLITTER 1
43714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
43717 if test "$wxUSE_STATBMP" = "yes"; then
43718 cat >>confdefs.h
<<\_ACEOF
43719 #define wxUSE_STATBMP 1
43725 if test "$wxUSE_STATBOX" = "yes"; then
43726 cat >>confdefs.h
<<\_ACEOF
43727 #define wxUSE_STATBOX 1
43733 if test "$wxUSE_STATTEXT" = "yes"; then
43734 cat >>confdefs.h
<<\_ACEOF
43735 #define wxUSE_STATTEXT 1
43741 if test "$wxUSE_STATLINE" = "yes"; then
43742 cat >>confdefs.h
<<\_ACEOF
43743 #define wxUSE_STATLINE 1
43749 if test "$wxUSE_STATUSBAR" = "yes"; then
43750 cat >>confdefs.h
<<\_ACEOF
43751 #define wxUSE_NATIVE_STATUSBAR 1
43754 cat >>confdefs.h
<<\_ACEOF
43755 #define wxUSE_STATUSBAR 1
43760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
43763 if test "$wxUSE_TABDIALOG" = "yes"; then
43764 cat >>confdefs.h
<<\_ACEOF
43765 #define wxUSE_TAB_DIALOG 1
43770 if test "$wxUSE_TEXTCTRL" = "yes"; then
43771 cat >>confdefs.h
<<\_ACEOF
43772 #define wxUSE_TEXTCTRL 1
43776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
43779 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43780 if test "$wxUSE_COCOA" = 1 ; then
43781 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
43782 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
43785 if test "$wxUSE_UNIVERSAL" = "yes"; then
43786 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
43787 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
43791 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43792 cat >>confdefs.h
<<\_ACEOF
43793 #define wxUSE_TOGGLEBTN 1
43800 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
43801 cat >>confdefs.h
<<\_ACEOF
43802 #define wxUSE_TOOLBAR_SIMPLE 1
43805 wxUSE_TOOLBAR
="yes"
43809 if test "$wxUSE_TOOLBAR" = "yes"; then
43810 cat >>confdefs.h
<<\_ACEOF
43811 #define wxUSE_TOOLBAR 1
43816 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
43817 wxUSE_TOOLBAR_NATIVE
="yes"
43820 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
43821 cat >>confdefs.h
<<\_ACEOF
43822 #define wxUSE_TOOLBAR_NATIVE 1
43828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
43831 if test "$wxUSE_TOOLTIPS" = "yes"; then
43832 if test "$wxUSE_MOTIF" = 1; then
43833 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
43834 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
43836 if test "$wxUSE_UNIVERSAL" = "yes"; then
43837 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
43838 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
43840 cat >>confdefs.h
<<\_ACEOF
43841 #define wxUSE_TOOLTIPS 1
43848 if test "$wxUSE_TREEBOOK" = "yes"; then
43849 cat >>confdefs.h
<<\_ACEOF
43850 #define wxUSE_TREEBOOK 1
43856 if test "$wxUSE_TREECTRL" = "yes"; then
43857 if test "$wxUSE_IMAGLIST" = "yes"; then
43858 cat >>confdefs.h
<<\_ACEOF
43859 #define wxUSE_TREECTRL 1
43863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
43865 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
43866 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
43870 if test "$wxUSE_POPUPWIN" = "yes"; then
43871 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43872 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
43873 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
43875 if test "$wxUSE_PM" = 1; then
43876 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
43877 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
43879 cat >>confdefs.h
<<\_ACEOF
43880 #define wxUSE_POPUPWIN 1
43883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
43890 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
43891 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43892 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
43893 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
43895 cat >>confdefs.h
<<\_ACEOF
43896 #define wxUSE_DIALUP_MANAGER 1
43899 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
43903 if test "$wxUSE_TIPWINDOW" = "yes"; then
43904 if test "$wxUSE_PM" = 1; then
43905 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
43906 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
43908 cat >>confdefs.h
<<\_ACEOF
43909 #define wxUSE_TIPWINDOW 1
43915 if test "$USES_CONTROLS" = 1; then
43916 cat >>confdefs.h
<<\_ACEOF
43917 #define wxUSE_CONTROLS 1
43923 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
43924 cat >>confdefs.h
<<\_ACEOF
43925 #define wxUSE_ACCESSIBILITY 1
43928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
43931 if test "$wxUSE_DC_CACHEING" = "yes"; then
43932 cat >>confdefs.h
<<\_ACEOF
43933 #define wxUSE_DC_CACHEING 1
43938 if test "$wxUSE_DRAGIMAGE" = "yes"; then
43939 cat >>confdefs.h
<<\_ACEOF
43940 #define wxUSE_DRAGIMAGE 1
43943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
43946 if test "$wxUSE_EXCEPTIONS" = "yes"; then
43947 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43948 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
43949 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
43951 cat >>confdefs.h
<<\_ACEOF
43952 #define wxUSE_EXCEPTIONS 1
43955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
43960 if test "$wxUSE_HTML" = "yes"; then
43961 cat >>confdefs.h
<<\_ACEOF
43962 #define wxUSE_HTML 1
43966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
43967 if test "$wxUSE_MAC" = 1; then
43968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
43971 if test "$wxUSE_WEBKIT" = "yes"; then
43972 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
43973 old_CPPFLAGS
="$CPPFLAGS"
43974 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
43975 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
43976 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
43977 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
43978 echo $ECHO_N "(cached) $ECHO_C" >&6
43980 cat >conftest.
$ac_ext <<_ACEOF
43983 cat confdefs.h
>>conftest.
$ac_ext
43984 cat >>conftest.
$ac_ext <<_ACEOF
43985 /* end confdefs.h. */
43986 #include <Carbon/Carbon.h>
43988 #include <WebKit/HIWebView.h>
43990 rm -f conftest.
$ac_objext
43991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43992 (eval $ac_compile) 2>conftest.er1
43994 grep -v '^ *+' conftest.er1
>conftest.err
43996 cat conftest.err
>&5
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); } &&
43999 { ac_try
='test -z "$ac_c_werror_flag"
44000 || test ! -s conftest.err'
44001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44002 (eval $ac_try) 2>&5
44004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44005 (exit $ac_status); }; } &&
44006 { ac_try
='test -s conftest.$ac_objext'
44007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44008 (eval $ac_try) 2>&5
44010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011 (exit $ac_status); }; }; then
44012 ac_cv_header_WebKit_HIWebView_h
=yes
44014 echo "$as_me: failed program was:" >&5
44015 sed 's/^/| /' conftest.
$ac_ext >&5
44017 ac_cv_header_WebKit_HIWebView_h
=no
44019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44021 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44022 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44023 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44025 cat >>confdefs.h
<<\_ACEOF
44026 #define wxUSE_WEBKIT 1
44029 WEBKIT_LINK
="-framework WebKit"
44033 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44034 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44040 CPPFLAGS
="$old_CPPFLAGS"
44041 elif test "$wxUSE_COCOA" = 1; then
44042 cat >>confdefs.h
<<\_ACEOF
44043 #define wxUSE_WEBKIT 1
44052 if test "$wxUSE_XRC" = "yes"; then
44053 if test "$wxUSE_XML" != "yes"; then
44054 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44055 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44058 cat >>confdefs.h
<<\_ACEOF
44059 #define wxUSE_XRC 1
44063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44067 if test "$wxUSE_MENUS" = "yes"; then
44068 cat >>confdefs.h
<<\_ACEOF
44069 #define wxUSE_MENUS 1
44072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44075 if test "$wxUSE_METAFILE" = "yes"; then
44076 cat >>confdefs.h
<<\_ACEOF
44077 #define wxUSE_METAFILE 1
44082 if test "$wxUSE_MIMETYPE" = "yes"; then
44083 cat >>confdefs.h
<<\_ACEOF
44084 #define wxUSE_MIMETYPE 1
44089 if test "$wxUSE_MINIFRAME" = "yes"; then
44090 cat >>confdefs.h
<<\_ACEOF
44091 #define wxUSE_MINIFRAME 1
44094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44097 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44098 cat >>confdefs.h
<<\_ACEOF
44099 #define wxUSE_SYSTEM_OPTIONS 1
44102 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44103 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44109 if test "$wxUSE_VALIDATORS" = "yes"; then
44110 cat >>confdefs.h
<<\_ACEOF
44111 #define wxUSE_VALIDATORS 1
44114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44117 if test "$wxUSE_PALETTE" = "yes" ; then
44118 cat >>confdefs.h
<<\_ACEOF
44119 #define wxUSE_PALETTE 1
44124 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44125 LIBS
=" -lunicows $LIBS"
44129 if test "$wxUSE_RICHTEXT" = "yes"; then
44130 cat >>confdefs.h
<<\_ACEOF
44131 #define wxUSE_RICHTEXT 1
44135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44139 if test "$wxUSE_IMAGE" = "yes" ; then
44140 cat >>confdefs.h
<<\_ACEOF
44141 #define wxUSE_IMAGE 1
44145 if test "$wxUSE_GIF" = "yes" ; then
44146 cat >>confdefs.h
<<\_ACEOF
44147 #define wxUSE_GIF 1
44152 if test "$wxUSE_PCX" = "yes" ; then
44153 cat >>confdefs.h
<<\_ACEOF
44154 #define wxUSE_PCX 1
44159 if test "$wxUSE_IFF" = "yes" ; then
44160 cat >>confdefs.h
<<\_ACEOF
44161 #define wxUSE_IFF 1
44166 if test "$wxUSE_PNM" = "yes" ; then
44167 cat >>confdefs.h
<<\_ACEOF
44168 #define wxUSE_PNM 1
44173 if test "$wxUSE_XPM" = "yes" ; then
44174 cat >>confdefs.h
<<\_ACEOF
44175 #define wxUSE_XPM 1
44180 if test "$wxUSE_ICO_CUR" = "yes" ; then
44181 cat >>confdefs.h
<<\_ACEOF
44182 #define wxUSE_ICO_CUR 1
44189 if test "$wxUSE_CHOICEDLG" = "yes"; then
44190 cat >>confdefs.h
<<\_ACEOF
44191 #define wxUSE_CHOICEDLG 1
44196 if test "$wxUSE_COLOURDLG" = "yes"; then
44197 cat >>confdefs.h
<<\_ACEOF
44198 #define wxUSE_COLOURDLG 1
44203 if test "$wxUSE_FILEDLG" = "yes"; then
44204 cat >>confdefs.h
<<\_ACEOF
44205 #define wxUSE_FILEDLG 1
44210 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44211 cat >>confdefs.h
<<\_ACEOF
44212 #define wxUSE_FINDREPLDLG 1
44217 if test "$wxUSE_FONTDLG" = "yes"; then
44218 cat >>confdefs.h
<<\_ACEOF
44219 #define wxUSE_FONTDLG 1
44224 if test "$wxUSE_DIRDLG" = "yes"; then
44225 if test "$wxUSE_TREECTRL" != "yes"; then
44226 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44227 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44229 cat >>confdefs.h
<<\_ACEOF
44230 #define wxUSE_DIRDLG 1
44236 if test "$wxUSE_MSGDLG" = "yes"; then
44237 cat >>confdefs.h
<<\_ACEOF
44238 #define wxUSE_MSGDLG 1
44243 if test "$wxUSE_NUMBERDLG" = "yes"; then
44244 cat >>confdefs.h
<<\_ACEOF
44245 #define wxUSE_NUMBERDLG 1
44250 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44251 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44252 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44253 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44255 cat >>confdefs.h
<<\_ACEOF
44256 #define wxUSE_PROGRESSDLG 1
44262 if test "$wxUSE_SPLASH" = "yes"; then
44263 cat >>confdefs.h
<<\_ACEOF
44264 #define wxUSE_SPLASH 1
44267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44270 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44271 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44272 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44273 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44275 cat >>confdefs.h
<<\_ACEOF
44276 #define wxUSE_STARTUP_TIPS 1
44282 if test "$wxUSE_TEXTDLG" = "yes"; then
44283 cat >>confdefs.h
<<\_ACEOF
44284 #define wxUSE_TEXTDLG 1
44289 if test "$wxUSE_WIZARDDLG" = "yes"; then
44290 cat >>confdefs.h
<<\_ACEOF
44291 #define wxUSE_WIZARDDLG 1
44294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44298 if test "$wxUSE_MEDIACTRL" = "yes"; then
44299 if test "$wxUSE_GTK" = 1; then
44300 wxUSE_GSTREAMER
="yes"
44305 if test -z "$PKG_CONFIG"; then
44306 # Extract the first word of "pkg-config", so it can be a program name with args.
44307 set dummy pkg
-config; ac_word
=$2
44308 echo "$as_me:$LINENO: checking for $ac_word" >&5
44309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44310 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44311 echo $ECHO_N "(cached) $ECHO_C" >&6
44313 case $PKG_CONFIG in
44315 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44319 for as_dir
in $PATH
44322 test -z "$as_dir" && as_dir
=.
44323 for ac_exec_ext
in '' $ac_executable_extensions; do
44324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44325 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44332 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44336 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44338 if test -n "$PKG_CONFIG"; then
44339 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44340 echo "${ECHO_T}$PKG_CONFIG" >&6
44342 echo "$as_me:$LINENO: result: no" >&5
44343 echo "${ECHO_T}no" >&6
44348 if test "$PKG_CONFIG" = "no" ; then
44349 echo "*** The pkg-config script could not be found. Make sure it is"
44350 echo "*** in your path, or set the PKG_CONFIG environment variable"
44351 echo "*** to the full path to pkg-config."
44352 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44354 PKG_CONFIG_MIN_VERSION
=0.9.0
44355 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44356 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
44357 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
44359 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
44360 echo "$as_me:$LINENO: result: yes" >&5
44361 echo "${ECHO_T}yes" >&6
44364 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
44365 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
44366 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
44367 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
44368 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
44370 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
44371 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
44372 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
44373 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
44374 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
44376 GSTREAMER_CFLAGS
=""
44378 ## If we have a custom action on failure, don't print errors, but
44379 ## do set a variable so people can do so.
44380 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
44387 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44388 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44392 if test $succeeded = yes; then
44394 CPPFLAGS
="$GSTREAMER_CFLAGS $CPPFLAGS"
44395 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
44399 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
44400 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
44401 wxUSE_GSTREAMER
="no"
44409 if test "x$GST_INSPECT" == "x"; then
44410 # Extract the first word of "gst-inspect", so it can be a program name with args.
44411 set dummy gst
-inspect; ac_word
=$2
44412 echo "$as_me:$LINENO: checking for $ac_word" >&5
44413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44414 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
44415 echo $ECHO_N "(cached) $ECHO_C" >&6
44417 if test -n "$GST_INSPECT"; then
44418 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
44420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44421 for as_dir
in $PATH
44424 test -z "$as_dir" && as_dir
=.
44425 for ac_exec_ext
in '' $ac_executable_extensions; do
44426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44427 ac_cv_prog_GST_INSPECT
="gst-inspect"
44428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44436 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
44437 if test -n "$GST_INSPECT"; then
44438 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
44439 echo "${ECHO_T}$GST_INSPECT" >&6
44441 echo "$as_me:$LINENO: result: no" >&5
44442 echo "${ECHO_T}no" >&6
44447 if test "x$GST_INSPECT" != "x"; then
44448 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
44449 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
44450 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
44451 echo "$as_me:$LINENO: result: found." >&5
44452 echo "${ECHO_T}found." >&6
44455 echo "$as_me:$LINENO: result: not found." >&5
44456 echo "${ECHO_T}not found." >&6
44458 wxUSE_GSTREAMER
="no"
44459 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
44460 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
44466 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
44467 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
44468 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
44469 echo $ECHO_N "(cached) $ECHO_C" >&6
44471 cat >conftest.
$ac_ext <<_ACEOF
44474 cat confdefs.h
>>conftest.
$ac_ext
44475 cat >>conftest.
$ac_ext <<_ACEOF
44476 /* end confdefs.h. */
44477 #include <gst/gst.h>
44479 #include <gst/xoverlay/xoverlay.h>
44481 rm -f conftest.
$ac_objext
44482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44483 (eval $ac_compile) 2>conftest.er1
44485 grep -v '^ *+' conftest.er1
>conftest.err
44487 cat conftest.err
>&5
44488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44489 (exit $ac_status); } &&
44490 { ac_try
='test -z "$ac_c_werror_flag"
44491 || test ! -s conftest.err'
44492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44493 (eval $ac_try) 2>&5
44495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44496 (exit $ac_status); }; } &&
44497 { ac_try
='test -s conftest.$ac_objext'
44498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44499 (eval $ac_try) 2>&5
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); }; }; then
44503 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
44505 echo "$as_me: failed program was:" >&5
44506 sed 's/^/| /' conftest.
$ac_ext >&5
44508 ac_cv_header_gst_xoverlay_xoverlay_h
=no
44510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44512 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
44513 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
44514 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
44518 wxUSE_GSTREAMER
="no"
44519 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
44520 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
44526 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
44527 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
44530 for ac_dir
in $SEARCH_LIB;
44532 for ac_extension
in a so sl dylib dll.a
; do
44533 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
44534 ac_find_libraries
=$ac_dir
44541 if test "$ac_find_libraries" = "" ; then
44542 echo "$as_me:$LINENO: result: no" >&5
44543 echo "${ECHO_T}no" >&6
44544 wxUSE_GSTREAMER
="no"
44546 echo "$as_me:$LINENO: result: yes" >&5
44547 echo "${ECHO_T}yes" >&6
44550 if test "$wxUSE_GSTREAMER" = "yes"; then
44551 cat >>confdefs.h
<<\_ACEOF
44552 #define wxUSE_GSTREAMER 1
44555 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44556 echo "${ECHO_T}GStreamer detection successful" >&6
44559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
44560 cat >>confdefs.h
<<\_ACEOF
44561 #define wxUSE_MEDIACTRL 1
44567 if test "$cross_compiling" = "yes"; then
44570 OSINFO
=`uname -s -r -m`
44571 OSINFO
="\"$OSINFO\""
44574 cat >>confdefs.h
<<_ACEOF
44575 #define WXWIN_OS_DESCRIPTION $OSINFO
44580 if test "x$prefix" != "xNONE"; then
44583 wxPREFIX
=$ac_default_prefix
44586 cat >>confdefs.h
<<_ACEOF
44587 #define wxINSTALL_PREFIX "$wxPREFIX"
44593 CORE_BASE_LIBS
="net base"
44594 CORE_GUI_LIBS
="adv core"
44596 if test "$wxUSE_XML" = "yes" ; then
44597 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
44599 if test "$wxUSE_ODBC" != "no" ; then
44600 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
44601 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
44603 if test "$wxUSE_HTML" = "yes" ; then
44604 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
44606 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44607 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
44609 if test "$wxUSE_XRC" = "yes" ; then
44610 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
44613 if test "$wxUSE_GUI" != "yes"; then
44623 if test "$wxUSE_MAC" = 1 ; then
44624 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44625 if test "$USE_DARWIN" = 1; then
44626 LDFLAGS
="$LDFLAGS -framework QuickTime"
44628 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
44631 if test "$USE_DARWIN" = 1; then
44632 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44634 LDFLAGS
="$LDFLAGS -lCarbonLib"
44637 if test "$wxUSE_COCOA" = 1 ; then
44638 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
44639 if test "$wxUSE_MEDIACTRL" = "yes"; then
44640 LDFLAGS
="$LDFLAGS -framework QuickTime"
44643 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44644 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44648 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44656 echo "$as_me:$LINENO: checking for $ac_func" >&5
44657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44658 if eval "test \"\${$as_ac_var+set}\" = set"; then
44659 echo $ECHO_N "(cached) $ECHO_C" >&6
44661 cat >conftest.
$ac_ext <<_ACEOF
44664 cat confdefs.h
>>conftest.
$ac_ext
44665 cat >>conftest.
$ac_ext <<_ACEOF
44666 /* end confdefs.h. */
44667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44669 #define $ac_func innocuous_$ac_func
44671 /* System header to define __stub macros and hopefully few prototypes,
44672 which can conflict with char $ac_func (); below.
44673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44674 <limits.h> exists even on freestanding compilers. */
44677 # include <limits.h>
44679 # include <assert.h>
44684 /* Override any gcc2 internal prototype to avoid an error. */
44689 /* We use char because int might match the return type of a gcc2
44690 builtin and then its argument prototype would still apply. */
44692 /* The GNU C library defines this for functions which it implements
44693 to always fail with ENOSYS. Some functions are actually named
44694 something starting with __ and the normal name is an alias. */
44695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44698 char (*f) () = $ac_func;
44707 return f != $ac_func;
44712 rm -f conftest.
$ac_objext conftest
$ac_exeext
44713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44714 (eval $ac_link) 2>conftest.er1
44716 grep -v '^ *+' conftest.er1
>conftest.err
44718 cat conftest.err
>&5
44719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44720 (exit $ac_status); } &&
44721 { ac_try
='test -z "$ac_c_werror_flag"
44722 || test ! -s conftest.err'
44723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44724 (eval $ac_try) 2>&5
44726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44727 (exit $ac_status); }; } &&
44728 { ac_try
='test -s conftest$ac_exeext'
44729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44730 (eval $ac_try) 2>&5
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); }; }; then
44734 eval "$as_ac_var=yes"
44736 echo "$as_me: failed program was:" >&5
44737 sed 's/^/| /' conftest.
$ac_ext >&5
44739 eval "$as_ac_var=no"
44741 rm -f conftest.err conftest.
$ac_objext \
44742 conftest
$ac_exeext conftest.
$ac_ext
44744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44746 if test `eval echo '${'$as_ac_var'}'` = yes; then
44747 cat >>confdefs.h
<<_ACEOF
44748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44755 for ac_func
in floor
44757 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44758 echo "$as_me:$LINENO: checking for $ac_func" >&5
44759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44760 if eval "test \"\${$as_ac_var+set}\" = set"; then
44761 echo $ECHO_N "(cached) $ECHO_C" >&6
44763 cat >conftest.
$ac_ext <<_ACEOF
44766 cat confdefs.h
>>conftest.
$ac_ext
44767 cat >>conftest.
$ac_ext <<_ACEOF
44768 /* end confdefs.h. */
44769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44771 #define $ac_func innocuous_$ac_func
44773 /* System header to define __stub macros and hopefully few prototypes,
44774 which can conflict with char $ac_func (); below.
44775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44776 <limits.h> exists even on freestanding compilers. */
44779 # include <limits.h>
44781 # include <assert.h>
44786 /* Override any gcc2 internal prototype to avoid an error. */
44791 /* We use char because int might match the return type of a gcc2
44792 builtin and then its argument prototype would still apply. */
44794 /* The GNU C library defines this for functions which it implements
44795 to always fail with ENOSYS. Some functions are actually named
44796 something starting with __ and the normal name is an alias. */
44797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44800 char (*f) () = $ac_func;
44809 return f != $ac_func;
44814 rm -f conftest.
$ac_objext conftest
$ac_exeext
44815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44816 (eval $ac_link) 2>conftest.er1
44818 grep -v '^ *+' conftest.er1
>conftest.err
44820 cat conftest.err
>&5
44821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44822 (exit $ac_status); } &&
44823 { ac_try
='test -z "$ac_c_werror_flag"
44824 || test ! -s conftest.err'
44825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44826 (eval $ac_try) 2>&5
44828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44829 (exit $ac_status); }; } &&
44830 { ac_try
='test -s conftest$ac_exeext'
44831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44832 (eval $ac_try) 2>&5
44834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44835 (exit $ac_status); }; }; then
44836 eval "$as_ac_var=yes"
44838 echo "$as_me: failed program was:" >&5
44839 sed 's/^/| /' conftest.
$ac_ext >&5
44841 eval "$as_ac_var=no"
44843 rm -f conftest.err conftest.
$ac_objext \
44844 conftest
$ac_exeext conftest.
$ac_ext
44846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44848 if test `eval echo '${'$as_ac_var'}'` = yes; then
44849 cat >>confdefs.h
<<_ACEOF
44850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44856 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
44857 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
44858 if test "$have_cos" = 1 -a "$have_floor" = 1; then
44859 echo "$as_me:$LINENO: result: yes" >&5
44860 echo "${ECHO_T}yes" >&6
44862 echo "$as_me:$LINENO: result: no" >&5
44863 echo "${ECHO_T}no" >&6
44865 # use different functions to avoid configure caching
44871 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44872 echo "$as_me:$LINENO: checking for $ac_func" >&5
44873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44874 if eval "test \"\${$as_ac_var+set}\" = set"; then
44875 echo $ECHO_N "(cached) $ECHO_C" >&6
44877 cat >conftest.
$ac_ext <<_ACEOF
44880 cat confdefs.h
>>conftest.
$ac_ext
44881 cat >>conftest.
$ac_ext <<_ACEOF
44882 /* end confdefs.h. */
44883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44885 #define $ac_func innocuous_$ac_func
44887 /* System header to define __stub macros and hopefully few prototypes,
44888 which can conflict with char $ac_func (); below.
44889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44890 <limits.h> exists even on freestanding compilers. */
44893 # include <limits.h>
44895 # include <assert.h>
44900 /* Override any gcc2 internal prototype to avoid an error. */
44905 /* We use char because int might match the return type of a gcc2
44906 builtin and then its argument prototype would still apply. */
44908 /* The GNU C library defines this for functions which it implements
44909 to always fail with ENOSYS. Some functions are actually named
44910 something starting with __ and the normal name is an alias. */
44911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44914 char (*f) () = $ac_func;
44923 return f != $ac_func;
44928 rm -f conftest.
$ac_objext conftest
$ac_exeext
44929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44930 (eval $ac_link) 2>conftest.er1
44932 grep -v '^ *+' conftest.er1
>conftest.err
44934 cat conftest.err
>&5
44935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44936 (exit $ac_status); } &&
44937 { ac_try
='test -z "$ac_c_werror_flag"
44938 || test ! -s conftest.err'
44939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44940 (eval $ac_try) 2>&5
44942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44943 (exit $ac_status); }; } &&
44944 { ac_try
='test -s conftest$ac_exeext'
44945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44946 (eval $ac_try) 2>&5
44948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44949 (exit $ac_status); }; }; then
44950 eval "$as_ac_var=yes"
44952 echo "$as_me: failed program was:" >&5
44953 sed 's/^/| /' conftest.
$ac_ext >&5
44955 eval "$as_ac_var=no"
44957 rm -f conftest.err conftest.
$ac_objext \
44958 conftest
$ac_exeext conftest.
$ac_ext
44960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44962 if test `eval echo '${'$as_ac_var'}'` = yes; then
44963 cat >>confdefs.h
<<_ACEOF
44964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44971 for ac_func
in ceil
44973 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44974 echo "$as_me:$LINENO: checking for $ac_func" >&5
44975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44976 if eval "test \"\${$as_ac_var+set}\" = set"; then
44977 echo $ECHO_N "(cached) $ECHO_C" >&6
44979 cat >conftest.
$ac_ext <<_ACEOF
44982 cat confdefs.h
>>conftest.
$ac_ext
44983 cat >>conftest.
$ac_ext <<_ACEOF
44984 /* end confdefs.h. */
44985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44987 #define $ac_func innocuous_$ac_func
44989 /* System header to define __stub macros and hopefully few prototypes,
44990 which can conflict with char $ac_func (); below.
44991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44992 <limits.h> exists even on freestanding compilers. */
44995 # include <limits.h>
44997 # include <assert.h>
45002 /* Override any gcc2 internal prototype to avoid an error. */
45007 /* We use char because int might match the return type of a gcc2
45008 builtin and then its argument prototype would still apply. */
45010 /* The GNU C library defines this for functions which it implements
45011 to always fail with ENOSYS. Some functions are actually named
45012 something starting with __ and the normal name is an alias. */
45013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45016 char (*f) () = $ac_func;
45025 return f != $ac_func;
45030 rm -f conftest.
$ac_objext conftest
$ac_exeext
45031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45032 (eval $ac_link) 2>conftest.er1
45034 grep -v '^ *+' conftest.er1
>conftest.err
45036 cat conftest.err
>&5
45037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45038 (exit $ac_status); } &&
45039 { ac_try
='test -z "$ac_c_werror_flag"
45040 || test ! -s conftest.err'
45041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45042 (eval $ac_try) 2>&5
45044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45045 (exit $ac_status); }; } &&
45046 { ac_try
='test -s conftest$ac_exeext'
45047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45048 (eval $ac_try) 2>&5
45050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45051 (exit $ac_status); }; }; then
45052 eval "$as_ac_var=yes"
45054 echo "$as_me: failed program was:" >&5
45055 sed 's/^/| /' conftest.
$ac_ext >&5
45057 eval "$as_ac_var=no"
45059 rm -f conftest.err conftest.
$ac_objext \
45060 conftest
$ac_exeext conftest.
$ac_ext
45062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45064 if test `eval echo '${'$as_ac_var'}'` = yes; then
45065 cat >>confdefs.h
<<_ACEOF
45066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45072 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
45073 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
45074 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
45075 echo "$as_me:$LINENO: result: yes" >&5
45076 echo "${ECHO_T}yes" >&6
45078 echo "$as_me:$LINENO: result: no" >&5
45079 echo "${ECHO_T}no" >&6
45080 # not sure we should warn the user, crash, etc.
45084 if test "$wxUSE_GUI" = "yes"; then
45087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45088 dynamic erase event exec font image minimal mobile \
45089 mobile/wxedit mobile/styles propsize render \
45090 richedit rotate shaped vscroll widgets"
45092 if test "$wxUSE_MONOLITHIC" != "yes"; then
45093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45095 if test "$TOOLKIT" = "MSW"; then
45096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45097 if test "$wxUSE_UNIVERSAL" != "yes"; then
45098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45101 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45105 SAMPLES_SUBDIRS
="console"
45109 if test "x$INTELCC" = "xyes" ; then
45110 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45111 elif test "$GCC" = yes ; then
45112 CWARNINGS
="-Wall -Wundef"
45115 if test "x$INTELCXX" = "xyes" ; then
45116 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45117 elif test "$GXX" = yes ; then
45118 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45122 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45123 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45126 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45127 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45128 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45131 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45132 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45133 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45135 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45138 if test "x$MWCC" = "xyes"; then
45140 CC
="$CC -cwd source -I-"
45141 CXX
="$CXX -cwd source -I-"
45146 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45147 EXTRALIBS_XML
="$EXPAT_LINK"
45148 EXTRALIBS_HTML
="$MSPACK_LINK"
45149 EXTRALIBS_ODBC
="$ODBC_LINK"
45150 if test "$wxUSE_GUI" = "yes"; then
45151 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEPRINT`
45153 if test "$wxUSE_OPENGL" = "yes"; then
45154 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45157 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45159 WXCONFIG_LIBS
="$LIBS"
45161 if test "$wxUSE_REGEX" = "builtin" ; then
45162 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45164 if test "$wxUSE_EXPAT" = "builtin" ; then
45165 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45167 if test "$wxUSE_ODBC" = "builtin" ; then
45168 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45170 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45171 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45173 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45174 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45176 if test "$wxUSE_LIBPNG" = "builtin" ; then
45177 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45179 if test "$wxUSE_ZLIB" = "builtin" ; then
45180 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45183 for i
in $wxconfig_3rdparty ; do
45184 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45188 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45202 if test $wxUSE_MONOLITHIC = "yes" ; then
45208 if test $wxUSE_PLUGINS = "yes" ; then
45214 if test $wxUSE_ODBC != "no" ; then
45220 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45226 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45255 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45266 TOOLKIT_USER
="GTK+"
45267 if test "$WXGTK20" = 1; then
45268 TOOLKIT_USER
="$TOOLKIT_USER 2"
45273 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45277 if test "$wxUSE_WINE" = "yes"; then
45278 BAKEFILE_FORCE_PLATFORM
=win32
45281 if test "$wxUSE_MAC" = 1 ; then
45282 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45283 CXXFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45284 CFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45285 LDFLAGS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45288 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45289 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45290 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45296 if test "x$BAKEFILE_HOST" = "x"; then
45297 BAKEFILE_HOST
="${host}"
45300 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45302 if test -n "$ac_tool_prefix"; then
45303 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45304 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45305 echo "$as_me:$LINENO: checking for $ac_word" >&5
45306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45307 if test "${ac_cv_prog_RANLIB+set}" = set; then
45308 echo $ECHO_N "(cached) $ECHO_C" >&6
45310 if test -n "$RANLIB"; then
45311 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45314 for as_dir
in $PATH
45317 test -z "$as_dir" && as_dir
=.
45318 for ac_exec_ext
in '' $ac_executable_extensions; do
45319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45320 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45329 RANLIB
=$ac_cv_prog_RANLIB
45330 if test -n "$RANLIB"; then
45331 echo "$as_me:$LINENO: result: $RANLIB" >&5
45332 echo "${ECHO_T}$RANLIB" >&6
45334 echo "$as_me:$LINENO: result: no" >&5
45335 echo "${ECHO_T}no" >&6
45339 if test -z "$ac_cv_prog_RANLIB"; then
45340 ac_ct_RANLIB
=$RANLIB
45341 # Extract the first word of "ranlib", so it can be a program name with args.
45342 set dummy ranlib
; ac_word
=$2
45343 echo "$as_me:$LINENO: checking for $ac_word" >&5
45344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45345 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45346 echo $ECHO_N "(cached) $ECHO_C" >&6
45348 if test -n "$ac_ct_RANLIB"; then
45349 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45352 for as_dir
in $PATH
45355 test -z "$as_dir" && as_dir
=.
45356 for ac_exec_ext
in '' $ac_executable_extensions; do
45357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45358 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45365 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45368 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45369 if test -n "$ac_ct_RANLIB"; then
45370 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45371 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45373 echo "$as_me:$LINENO: result: no" >&5
45374 echo "${ECHO_T}no" >&6
45377 RANLIB
=$ac_ct_RANLIB
45379 RANLIB
="$ac_cv_prog_RANLIB"
45382 # Find a good install program. We prefer a C program (faster),
45383 # so one script is as good as another. But avoid the broken or
45384 # incompatible versions:
45385 # SysV /etc/install, /usr/sbin/install
45386 # SunOS /usr/etc/install
45387 # IRIX /sbin/install
45389 # AmigaOS /C/install, which installs bootblocks on floppy discs
45390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45393 # OS/2's system install, which has a completely different semantic
45394 # ./install, which can be erroneously created by make from ./install.sh.
45395 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45396 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45397 if test -z "$INSTALL"; then
45398 if test "${ac_cv_path_install+set}" = set; then
45399 echo $ECHO_N "(cached) $ECHO_C" >&6
45401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45402 for as_dir
in $PATH
45405 test -z "$as_dir" && as_dir
=.
45406 # Account for people who put trailing slashes in PATH elements.
45408 .
/ | .
// | /cC
/* | \
45409 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45410 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45413 # OSF1 and SCO ODT 3.0 have their own names for install.
45414 # Don't use installbsd from OSF since it installs stuff as root
45416 for ac_prog
in ginstall scoinst
install; do
45417 for ac_exec_ext
in '' $ac_executable_extensions; do
45418 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45419 if test $ac_prog = install &&
45420 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45421 # AIX install. It has an incompatible calling convention.
45423 elif test $ac_prog = install &&
45424 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45425 # program-specific install script used by HP pwplus--don't use.
45428 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45440 if test "${ac_cv_path_install+set}" = set; then
45441 INSTALL
=$ac_cv_path_install
45443 # As a last resort, use the slow shell script. We don't cache a
45444 # path for INSTALL within a source directory, because that will
45445 # break other packages using the cache if that directory is
45446 # removed, or if the path is relative.
45447 INSTALL
=$ac_install_sh
45450 echo "$as_me:$LINENO: result: $INSTALL" >&5
45451 echo "${ECHO_T}$INSTALL" >&6
45453 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45454 # It thinks the first close brace ends the variable substitution.
45455 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45457 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45459 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45461 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45462 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45464 if test "$LN_S" = "ln -s"; then
45465 echo "$as_me:$LINENO: result: yes" >&5
45466 echo "${ECHO_T}yes" >&6
45468 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45469 echo "${ECHO_T}no, using $LN_S" >&6
45473 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45474 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45475 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45476 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45477 echo $ECHO_N "(cached) $ECHO_C" >&6
45479 cat >conftest.
make <<\_ACEOF
45481 @
echo 'ac_maketemp="$(MAKE)"'
45483 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45484 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45485 if test -n "$ac_maketemp"; then
45486 eval ac_cv_prog_make_
${ac_make}_set
=yes
45488 eval ac_cv_prog_make_
${ac_make}_set
=no
45490 rm -f conftest.
make
45492 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45493 echo "$as_me:$LINENO: result: yes" >&5
45494 echo "${ECHO_T}yes" >&6
45497 echo "$as_me:$LINENO: result: no" >&5
45498 echo "${ECHO_T}no" >&6
45499 SET_MAKE
="MAKE=${MAKE-make}"
45504 if test -n "$ac_tool_prefix"; then
45505 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45506 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45507 echo "$as_me:$LINENO: checking for $ac_word" >&5
45508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45509 if test "${ac_cv_prog_AR+set}" = set; then
45510 echo $ECHO_N "(cached) $ECHO_C" >&6
45512 if test -n "$AR"; then
45513 ac_cv_prog_AR
="$AR" # Let the user override the test.
45515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45516 for as_dir
in $PATH
45519 test -z "$as_dir" && as_dir
=.
45520 for ac_exec_ext
in '' $ac_executable_extensions; do
45521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45522 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45532 if test -n "$AR"; then
45533 echo "$as_me:$LINENO: result: $AR" >&5
45534 echo "${ECHO_T}$AR" >&6
45536 echo "$as_me:$LINENO: result: no" >&5
45537 echo "${ECHO_T}no" >&6
45541 if test -z "$ac_cv_prog_AR"; then
45543 # Extract the first word of "ar", so it can be a program name with args.
45544 set dummy
ar; ac_word
=$2
45545 echo "$as_me:$LINENO: checking for $ac_word" >&5
45546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45547 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45548 echo $ECHO_N "(cached) $ECHO_C" >&6
45550 if test -n "$ac_ct_AR"; then
45551 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45554 for as_dir
in $PATH
45557 test -z "$as_dir" && as_dir
=.
45558 for ac_exec_ext
in '' $ac_executable_extensions; do
45559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45560 ac_cv_prog_ac_ct_AR
="ar"
45561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45567 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45570 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45571 if test -n "$ac_ct_AR"; then
45572 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45573 echo "${ECHO_T}$ac_ct_AR" >&6
45575 echo "$as_me:$LINENO: result: no" >&5
45576 echo "${ECHO_T}no" >&6
45581 AR
="$ac_cv_prog_AR"
45584 if test -n "$ac_tool_prefix"; then
45585 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45586 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45587 echo "$as_me:$LINENO: checking for $ac_word" >&5
45588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45589 if test "${ac_cv_prog_STRIP+set}" = set; then
45590 echo $ECHO_N "(cached) $ECHO_C" >&6
45592 if test -n "$STRIP"; then
45593 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45596 for as_dir
in $PATH
45599 test -z "$as_dir" && as_dir
=.
45600 for ac_exec_ext
in '' $ac_executable_extensions; do
45601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45602 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45611 STRIP
=$ac_cv_prog_STRIP
45612 if test -n "$STRIP"; then
45613 echo "$as_me:$LINENO: result: $STRIP" >&5
45614 echo "${ECHO_T}$STRIP" >&6
45616 echo "$as_me:$LINENO: result: no" >&5
45617 echo "${ECHO_T}no" >&6
45621 if test -z "$ac_cv_prog_STRIP"; then
45623 # Extract the first word of "strip", so it can be a program name with args.
45624 set dummy strip
; ac_word
=$2
45625 echo "$as_me:$LINENO: checking for $ac_word" >&5
45626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45627 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45628 echo $ECHO_N "(cached) $ECHO_C" >&6
45630 if test -n "$ac_ct_STRIP"; then
45631 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45634 for as_dir
in $PATH
45637 test -z "$as_dir" && as_dir
=.
45638 for ac_exec_ext
in '' $ac_executable_extensions; do
45639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45640 ac_cv_prog_ac_ct_STRIP
="strip"
45641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45647 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45650 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45651 if test -n "$ac_ct_STRIP"; then
45652 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45653 echo "${ECHO_T}$ac_ct_STRIP" >&6
45655 echo "$as_me:$LINENO: result: no" >&5
45656 echo "${ECHO_T}no" >&6
45661 STRIP
="$ac_cv_prog_STRIP"
45664 if test -n "$ac_tool_prefix"; then
45665 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45666 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45667 echo "$as_me:$LINENO: checking for $ac_word" >&5
45668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45669 if test "${ac_cv_prog_NM+set}" = set; then
45670 echo $ECHO_N "(cached) $ECHO_C" >&6
45672 if test -n "$NM"; then
45673 ac_cv_prog_NM
="$NM" # Let the user override the test.
45675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45676 for as_dir
in $PATH
45679 test -z "$as_dir" && as_dir
=.
45680 for ac_exec_ext
in '' $ac_executable_extensions; do
45681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45682 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45692 if test -n "$NM"; then
45693 echo "$as_me:$LINENO: result: $NM" >&5
45694 echo "${ECHO_T}$NM" >&6
45696 echo "$as_me:$LINENO: result: no" >&5
45697 echo "${ECHO_T}no" >&6
45701 if test -z "$ac_cv_prog_NM"; then
45703 # Extract the first word of "nm", so it can be a program name with args.
45704 set dummy nm
; ac_word
=$2
45705 echo "$as_me:$LINENO: checking for $ac_word" >&5
45706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45707 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45708 echo $ECHO_N "(cached) $ECHO_C" >&6
45710 if test -n "$ac_ct_NM"; then
45711 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45714 for as_dir
in $PATH
45717 test -z "$as_dir" && as_dir
=.
45718 for ac_exec_ext
in '' $ac_executable_extensions; do
45719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45720 ac_cv_prog_ac_ct_NM
="nm"
45721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45727 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45730 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45731 if test -n "$ac_ct_NM"; then
45732 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45733 echo "${ECHO_T}$ac_ct_NM" >&6
45735 echo "$as_me:$LINENO: result: no" >&5
45736 echo "${ECHO_T}no" >&6
45741 NM
="$ac_cv_prog_NM"
45745 case ${BAKEFILE_HOST} in
45747 INSTALL_DIR
="mkdir -p"
45749 *) INSTALL_DIR
="$INSTALL -d"
45755 case ${BAKEFILE_HOST} in
45756 *-*-cygwin* | *-*-mingw32* )
45757 LDFLAGS_GUI
="-mwindows"
45763 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45764 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45765 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45766 echo $ECHO_N "(cached) $ECHO_C" >&6
45769 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45770 egrep -s GNU
> /dev
/null
); then
45771 bakefile_cv_prog_makeisgnu
="yes"
45773 bakefile_cv_prog_makeisgnu
="no"
45777 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45778 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45780 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45797 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45798 case "${BAKEFILE_HOST}" in
45805 *-pc-os2_emx | *-pc-os2-emx )
45815 powerpc
-apple-macos* )
45824 case "$BAKEFILE_FORCE_PLATFORM" in
45845 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45846 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45847 { (exit 1); exit 1; }; }
45862 # Check whether --enable-omf or --disable-omf was given.
45863 if test "${enable_omf+set}" = set; then
45864 enableval
="$enable_omf"
45865 bk_os2_use_omf
="$enableval"
45868 case "${BAKEFILE_HOST}" in
45870 if test "x$GCC" = "xyes"; then
45871 CFLAGS
="$CFLAGS -fno-common"
45872 CXXFLAGS
="$CXXFLAGS -fno-common"
45874 if test "x$XLCC" = "xyes"; then
45875 CFLAGS
="$CFLAGS -qnocommon"
45876 CXXFLAGS
="$CXXFLAGS -qnocommon"
45880 *-pc-os2_emx | *-pc-os2-emx )
45881 if test "x$bk_os2_use_omf" = "xyes" ; then
45884 LDFLAGS
="-Zomf $LDFLAGS"
45885 CFLAGS
="-Zomf $CFLAGS"
45886 CXXFLAGS
="-Zomf $CXXFLAGS"
45894 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
45900 SO_SUFFIX_MODULE
="so"
45905 DLLPREFIX_MODULE
=""
45909 case "${BAKEFILE_HOST}" in
45912 SO_SUFFIX_MODULE
="sl"
45916 SO_SUFFIX_MODULE
="a"
45920 SO_SUFFIX_MODULE
="dll"
45921 DLLIMP_SUFFIX
="dll.a"
45928 SO_SUFFIX_MODULE
="dll"
45929 DLLIMP_SUFFIX
="dll.a"
45939 *-pc-os2_emx | *-pc-os2-emx )
45941 SO_SUFFIX_MODULE
="dll"
45942 DLLIMP_SUFFIX
=$OS2_LIBEXT
45946 LIBEXT
=".$OS2_LIBEXT"
45951 SO_SUFFIX_MODULE
="bundle"
45955 if test "x$DLLIMP_SUFFIX" = "x" ; then
45956 DLLIMP_SUFFIX
="$SO_SUFFIX"
45971 if test "x$GCC" = "xyes"; then
45975 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
45976 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
45979 case "${BAKEFILE_HOST}" in
45981 if test "x$GCC" != "xyes"; then
45982 LDFLAGS
="$LDFLAGS -L/usr/lib"
45984 SHARED_LD_CC
="${CC} -b -o"
45985 SHARED_LD_CXX
="${CXX} -b -o"
45991 if test "x$GCC" != "xyes"; then
45992 echo "$as_me:$LINENO: checking for Intel compiler" >&5
45993 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
45994 if test "${bakefile_cv_prog_icc+set}" = set; then
45995 echo $ECHO_N "(cached) $ECHO_C" >&6
45998 cat >conftest.
$ac_ext <<_ACEOF
46001 cat confdefs.h
>>conftest.
$ac_ext
46002 cat >>conftest.
$ac_ext <<_ACEOF
46003 /* end confdefs.h. */
46009 #ifndef __INTEL_COMPILER
46017 rm -f conftest.
$ac_objext
46018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46019 (eval $ac_compile) 2>conftest.er1
46021 grep -v '^ *+' conftest.er1
>conftest.err
46023 cat conftest.err
>&5
46024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46025 (exit $ac_status); } &&
46026 { ac_try
='test -z "$ac_c_werror_flag"
46027 || test ! -s conftest.err'
46028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46029 (eval $ac_try) 2>&5
46031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46032 (exit $ac_status); }; } &&
46033 { ac_try
='test -s conftest.$ac_objext'
46034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46035 (eval $ac_try) 2>&5
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); }; }; then
46039 bakefile_cv_prog_icc
=yes
46041 echo "$as_me: failed program was:" >&5
46042 sed 's/^/| /' conftest.
$ac_ext >&5
46044 bakefile_cv_prog_icc
=no
46047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46050 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46051 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46052 if test "$bakefile_cv_prog_icc" = "yes"; then
46059 if test "x$GCC" != xyes
; then
46060 SHARED_LD_CC
="${CC} -G -o"
46061 SHARED_LD_CXX
="${CXX} -G -o"
46069 cat <<EOF >shared-ld-sh
46071 #-----------------------------------------------------------------------------
46072 #-- Name: distrib/mac/shared-ld-sh
46073 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46074 #-- Author: Gilles Depeyrot
46075 #-- Copyright: (c) 2002 Gilles Depeyrot
46076 #-- Licence: any use permitted
46077 #-----------------------------------------------------------------------------
46082 linking_flag="-dynamiclib"
46083 ldargs="-r -keep_private_externs -nostdlib"
46085 while test ${D}# -gt 0; do
46092 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46093 # collect these options and values
46094 args="${D}{args} ${D}1 ${D}2"
46099 # collect these load args
46100 ldargs="${D}{ldargs} ${D}1"
46103 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46104 # collect these options
46105 args="${D}{args} ${D}1"
46108 -dynamiclib|-bundle)
46109 linking_flag="${D}1"
46113 echo "shared-ld: unhandled option '${D}1'"
46117 *.o | *.a | *.dylib)
46118 # collect object files
46119 objects="${D}{objects} ${D}1"
46123 echo "shared-ld: unhandled argument '${D}1'"
46134 # Link one module containing all the others
46136 if test ${D}{verbose} = 1; then
46137 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46139 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46143 # Link the shared library from the single module created, but only if the
46144 # previous command didn't fail:
46146 if test ${D}{status} = 0; then
46147 if test ${D}{verbose} = 1; then
46148 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46150 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46155 # Remove intermediate module
46157 rm -f master.${D}${D}.o
46162 chmod +x shared
-ld-sh
46164 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46165 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46168 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46169 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46170 if test "${bakefile_cv_gcc31+set}" = set; then
46171 echo $ECHO_N "(cached) $ECHO_C" >&6
46174 cat >conftest.
$ac_ext <<_ACEOF
46177 cat confdefs.h
>>conftest.
$ac_ext
46178 cat >>conftest.
$ac_ext <<_ACEOF
46179 /* end confdefs.h. */
46185 #if (__GNUC__ < 3) || \
46186 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46194 rm -f conftest.
$ac_objext
46195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46196 (eval $ac_compile) 2>conftest.er1
46198 grep -v '^ *+' conftest.er1
>conftest.err
46200 cat conftest.err
>&5
46201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46202 (exit $ac_status); } &&
46203 { ac_try
='test -z "$ac_c_werror_flag"
46204 || test ! -s conftest.err'
46205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46206 (eval $ac_try) 2>&5
46208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46209 (exit $ac_status); }; } &&
46210 { ac_try
='test -s conftest.$ac_objext'
46211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46212 (eval $ac_try) 2>&5
46214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46215 (exit $ac_status); }; }; then
46217 bakefile_cv_gcc31
=yes
46220 echo "$as_me: failed program was:" >&5
46221 sed 's/^/| /' conftest.
$ac_ext >&5
46224 bakefile_cv_gcc31
=no
46228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46231 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46232 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46233 if test "$bakefile_cv_gcc31" = "no"; then
46234 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46235 SHARED_LD_CXX
="$SHARED_LD_CC"
46237 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46238 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46241 if test "x$GCC" == "xyes"; then
46242 PIC_FLAG
="-dynamic -fPIC"
46244 if test "x$XLCC" = "xyes"; then
46245 PIC_FLAG
="-dynamic -DPIC"
46250 if test "x$GCC" = "xyes"; then
46253 case "${BAKEFILE_HOST}" in
46255 LD_EXPFULL
="-Wl,-bexpfull"
46259 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46260 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46262 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46263 set dummy makeC
++SharedLib
; ac_word
=$2
46264 echo "$as_me:$LINENO: checking for $ac_word" >&5
46265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46266 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46267 echo $ECHO_N "(cached) $ECHO_C" >&6
46269 if test -n "$AIX_CXX_LD"; then
46270 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46273 for as_dir
in $PATH
46276 test -z "$as_dir" && as_dir
=.
46277 for ac_exec_ext
in '' $ac_executable_extensions; do
46278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46279 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46286 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46289 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46290 if test -n "$AIX_CXX_LD"; then
46291 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46292 echo "${ECHO_T}$AIX_CXX_LD" >&6
46294 echo "$as_me:$LINENO: result: no" >&5
46295 echo "${ECHO_T}no" >&6
46298 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46299 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46304 SHARED_LD_CC
="${LD} -nostart -o"
46305 SHARED_LD_CXX
="${LD} -nostart -o"
46309 if test "x$GCC" != "xyes"; then
46314 *-*-cygwin* | *-*-mingw32* )
46316 SHARED_LD_CC
="\$(CC) -shared -o"
46317 SHARED_LD_CXX
="\$(CXX) -shared -o"
46321 *-pc-os2_emx | *-pc-os2-emx )
46322 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46323 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46327 cat <<EOF >dllar.sh
46330 # dllar - a tool to build both a .dll and an .a file
46331 # from a set of object (.o) files for EMX/OS2.
46333 # Written by Andrew Zabolotny, bit@freya.etu.ru
46334 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46336 # This script will accept a set of files on the command line.
46337 # All the public symbols from the .o files will be exported into
46338 # a .DEF file, then linker will be run (through gcc) against them to
46339 # build a shared library consisting of all given .o files. All libraries
46340 # (.a) will be first decompressed into component .o files then act as
46341 # described above. You can optionally give a description (-d "description")
46342 # which will be put into .DLL. To see the list of accepted options (as well
46343 # as command-line format) simply run this program without options. The .DLL
46344 # is built to be imported by name (there is no guarantee that new versions
46345 # of the library you build will have same ordinals for same symbols).
46347 # dllar is free software; you can redistribute it and/or modify
46348 # it under the terms of the GNU General Public License as published by
46349 # the Free Software Foundation; either version 2, or (at your option)
46350 # any later version.
46352 # dllar is distributed in the hope that it will be useful,
46353 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46354 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46355 # GNU General Public License for more details.
46357 # You should have received a copy of the GNU General Public License
46358 # along with dllar; see the file COPYING. If not, write to the Free
46359 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46362 # To successfuly run this program you will need:
46363 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46364 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46366 # (used to build the .dll)
46368 # (used to create .def file from .o files)
46370 # (used to create .a file from .def file)
46371 # - GNU text utilites (cat, sort, uniq)
46372 # used to process emxexp output
46373 # - GNU file utilities (mv, rm)
46375 # - lxlite (optional, see flag below)
46376 # (used for general .dll cleanup)
46383 # basnam, variant of basename, which does _not_ remove the path, _iff_
46384 # second argument (suffix to remove) is given
46388 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46391 echo ${D}1 | sed 's/'${D}2'${D}//'
46394 echo "error in basnam ${D}*"
46400 # Cleanup temporary files and output
46403 for i in ${D}inputFiles ; do
46406 rm -rf \`basnam ${D}i !\`
46413 # Kill result in case of failure as there is just to many stupid make/nmake
46414 # things out there which doesn't do this.
46415 if [ ${D}# -eq 0 ]; then
46416 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46420 # Print usage and exit script with rc=1.
46422 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46423 echo ' [-name-mangler-script script.sh]'
46424 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46425 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46426 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46427 echo ' [*.o] [*.a]'
46428 echo '*> "output_file" should have no extension.'
46429 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46430 echo ' The import library name is derived from this and is set to "name".a,'
46431 echo ' unless overridden by -import'
46432 echo '*> "importlib_name" should have no extension.'
46433 echo ' If it has the .o, or .a extension, it is automatically removed.'
46434 echo ' This name is used as the import library name and may be longer and'
46435 echo ' more descriptive than the DLL name which has to follow the old '
46436 echo ' 8.3 convention of FAT.'
46437 echo '*> "script.sh may be given to override the output_file name by a'
46438 echo ' different name. It is mainly useful if the regular make process'
46439 echo ' of some package does not take into account OS/2 restriction of'
46440 echo ' DLL name lengths. It takes the importlib name as input and is'
46441 echo ' supposed to procude a shorter name as output. The script should'
46442 echo ' expect to get importlib_name without extension and should produce'
46443 echo ' a (max.) 8 letter name without extension.'
46444 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46445 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46446 echo ' These flags will be put at the start of GCC command line.'
46447 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46448 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46449 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46450 echo ' If the last character of a symbol is "*", all symbols beginning'
46451 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46452 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46453 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46454 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46455 echo ' C runtime DLLs.'
46456 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46457 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46458 echo ' unchanged to GCC at the end of command line.'
46459 echo '*> If you create a DLL from a library and you do not specify -o,'
46460 echo ' the basename for DLL and import library will be set to library name,'
46461 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46462 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46463 echo ' library will be renamed into gcc_s.a.'
46466 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46467 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46472 # Execute a command.
46473 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46474 # @Uses Whatever CleanUp() uses.
46480 if [ ${D}rcCmd -ne 0 ]; then
46481 echo "command failed, exit code="${D}rcCmd
46496 CFLAGS="-s -Zcrtdll"
46498 EXPORT_BY_ORDINALS=0
46503 case ${D}curDirS in
46507 curDirS=${D}{curDirS}"/"
46510 # Parse commandline
46513 while [ ${D}1 ]; do
46516 EXPORT_BY_ORDINALS=1;
46526 -name-mangler-script)
46547 exclude_symbols=${D}{exclude_symbols}${D}1" "
46551 library_flags=${D}{library_flags}${D}1" "
46570 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46573 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46574 if [ ${D}omfLinking -eq 1 ]; then
46575 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46577 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46582 if [ ${D}libsToLink -ne 0 ]; then
46583 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46585 for file in ${D}1 ; do
46586 if [ -f ${D}file ]; then
46587 inputFiles="${D}{inputFiles} ${D}file"
46591 if [ ${D}found -eq 0 ]; then
46592 echo "ERROR: No file(s) found: "${D}1
46599 done # iterate cmdline words
46602 if [ -z "${D}inputFiles" ]; then
46603 echo "dllar: no input files"
46607 # Now extract all .o files from .a files
46609 for file in ${D}inputFiles ; do
46620 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46625 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46627 if [ ${D}? -ne 0 ]; then
46628 echo "Failed to create subdirectory ./${D}dirname"
46632 # Append '!' to indicate archive
46633 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46634 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46637 for subfile in ${D}dirname/*.o* ; do
46638 if [ -f ${D}subfile ]; then
46640 if [ -s ${D}subfile ]; then
46641 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46642 newInputFiles="${D}newInputFiles ${D}subfile"
46646 if [ ${D}found -eq 0 ]; then
46647 echo "WARNING: there are no files in archive \\'${D}file\\'"
46651 newInputFiles="${D}{newInputFiles} ${D}file"
46655 inputFiles="${D}newInputFiles"
46657 # Output filename(s).
46659 if [ -z ${D}outFile ]; then
46661 set outFile ${D}inputFiles; outFile=${D}2
46664 # If it is an archive, remove the '!' and the '_%' suffixes
46665 case ${D}outFile in
46667 outFile=\`basnam ${D}outFile _%!\`
46672 case ${D}outFile in
46674 outFile=\`basnam ${D}outFile .dll\`
46677 outFile=\`basnam ${D}outFile .DLL\`
46680 outFile=\`basnam ${D}outFile .o\`
46683 outFile=\`basnam ${D}outFile .obj\`
46686 outFile=\`basnam ${D}outFile .a\`
46689 outFile=\`basnam ${D}outFile .lib\`
46694 case ${D}outimpFile in
46696 outimpFile=\`basnam ${D}outimpFile .a\`
46699 outimpFile=\`basnam ${D}outimpFile .lib\`
46704 if [ -z ${D}outimpFile ]; then
46705 outimpFile=${D}outFile
46707 defFile="${D}{outFile}.def"
46708 arcFile="${D}{outimpFile}.a"
46709 arcFile2="${D}{outimpFile}.lib"
46711 #create ${D}dllFile as something matching 8.3 restrictions,
46712 if [ -z ${D}renameScript ] ; then
46713 dllFile="${D}outFile"
46715 dllFile=\`${D}renameScript ${D}outimpFile\`
46718 if [ ${D}do_backup -ne 0 ] ; then
46719 if [ -f ${D}arcFile ] ; then
46720 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46722 if [ -f ${D}arcFile2 ] ; then
46723 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46727 # Extract public symbols from all the object files.
46728 tmpdefFile=${D}{defFile}_%
46729 rm -f ${D}tmpdefFile
46730 for file in ${D}inputFiles ; do
46735 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46740 # Create the def file.
46742 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46743 dllFile="${D}{dllFile}.dll"
46744 if [ ! -z ${D}description ]; then
46745 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46747 echo "EXPORTS" >> ${D}defFile
46749 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46750 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46752 # Checks if the export is ok or not.
46753 for word in ${D}exclude_symbols; do
46754 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46755 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46759 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46760 sed "=" < ${D}tmpdefFile | \\
46764 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46766 ' > ${D}{tmpdefFile}%
46767 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46769 rm -f ${D}{tmpdefFile}%
46771 cat ${D}tmpdefFile >> ${D}defFile
46772 rm -f ${D}tmpdefFile
46774 # Do linking, create implib, and apply lxlite.
46776 for file in ${D}inputFiles ; do
46781 gccCmdl="${D}gccCmdl ${D}file"
46785 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46786 touch "${D}{outFile}.dll"
46788 doCommand "emximp -o ${D}arcFile ${D}defFile"
46789 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46791 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46794 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46796 doCommand "emxomf -s -l ${D}arcFile"
46806 powerpc
-apple-macos* | \
46807 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
46816 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46817 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46818 { (exit 1); exit 1; }; }
46821 if test "x$PIC_FLAG" != "x" ; then
46822 PIC_FLAG
="$PIC_FLAG -DPIC"
46825 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46826 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
46828 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46829 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
46848 case "${BAKEFILE_HOST}" in
46849 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
46850 SONAME_FLAG
="-Wl,-soname,"
46884 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46885 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46888 if test "x$GCC" = "xyes"; then
46890 case "${BAKEFILE_HOST}" in
46892 DEPSFLAG
="-no-cpp-precomp -MMD"
46898 echo "$as_me:$LINENO: result: gcc" >&5
46899 echo "${ECHO_T}gcc" >&6
46900 elif test "x$MWCC" = "xyes"; then
46903 echo "$as_me:$LINENO: result: mwcc" >&5
46904 echo "${ECHO_T}mwcc" >&6
46905 elif test "x$SUNCC" = "xyes"; then
46908 echo "$as_me:$LINENO: result: Sun cc" >&5
46909 echo "${ECHO_T}Sun cc" >&6
46910 elif test "x$SGICC" = "xyes"; then
46913 echo "$as_me:$LINENO: result: SGI cc" >&5
46914 echo "${ECHO_T}SGI cc" >&6
46915 elif test "x$HPCC" = "xyes"; then
46918 echo "$as_me:$LINENO: result: HP cc" >&5
46919 echo "${ECHO_T}HP cc" >&6
46920 elif test "x$COMPAQCC" = "xyes"; then
46923 echo "$as_me:$LINENO: result: Compaq cc" >&5
46924 echo "${ECHO_T}Compaq cc" >&6
46927 echo "$as_me:$LINENO: result: none" >&5
46928 echo "${ECHO_T}none" >&6
46931 if test $DEPS_TRACKING = 1 ; then
46937 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
46938 # script. It is used to track C/C++ files dependencies in portable way.
46940 # Permission is given to use this file in any way.
46942 DEPSMODE=${DEPSMODE}
46944 DEPSFLAG="${DEPSFLAG}"
46946 mkdir -p ${D}DEPSDIR
46948 if test ${D}DEPSMODE = gcc ; then
46949 ${D}* ${D}{DEPSFLAG}
46951 if test ${D}{status} != 0 ; then
46954 # move created file to the location we want it in:
46955 while test ${D}# -gt 0; do
46969 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
46970 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
46971 if test -f ${D}depfile ; then
46972 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46975 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
46976 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
46977 if test ! -f ${D}depfile ; then
46978 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
46979 depfile="${D}objfile.d"
46981 if test -f ${D}depfile ; then
46982 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46987 elif test ${D}DEPSMODE = mwcc ; then
46988 ${D}* || exit ${D}?
46989 # Run mwcc again with -MM and redirect into the dep file we want
46990 # NOTE: We can't use shift here because we need ${D}* to be valid
46992 for arg in ${D}* ; do
46993 if test "${D}prevarg" = "-o"; then
47006 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47008 elif test ${D}DEPSMODE = unixcc; then
47009 ${D}* || exit ${D}?
47010 # Run compiler again with deps flag and redirect into the dep file.
47011 # It doesn't work if the '-o FILE' option is used, but without it the
47012 # dependency file will contain the wrong name for the object. So it is
47013 # removed from the command line, and the dep file is fixed with sed.
47015 while test ${D}# -gt 0; do
47022 eval arg${D}#=\\${D}1
47023 cmd="${D}cmd \\${D}arg${D}#"
47028 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47042 case ${BAKEFILE_HOST} in
47043 *-*-cygwin* | *-*-mingw32* )
47044 if test -n "$ac_tool_prefix"; then
47045 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47046 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47047 echo "$as_me:$LINENO: checking for $ac_word" >&5
47048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47049 if test "${ac_cv_prog_WINDRES+set}" = set; then
47050 echo $ECHO_N "(cached) $ECHO_C" >&6
47052 if test -n "$WINDRES"; then
47053 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47056 for as_dir
in $PATH
47059 test -z "$as_dir" && as_dir
=.
47060 for ac_exec_ext
in '' $ac_executable_extensions; do
47061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47062 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47071 WINDRES
=$ac_cv_prog_WINDRES
47072 if test -n "$WINDRES"; then
47073 echo "$as_me:$LINENO: result: $WINDRES" >&5
47074 echo "${ECHO_T}$WINDRES" >&6
47076 echo "$as_me:$LINENO: result: no" >&5
47077 echo "${ECHO_T}no" >&6
47081 if test -z "$ac_cv_prog_WINDRES"; then
47082 ac_ct_WINDRES
=$WINDRES
47083 # Extract the first word of "windres", so it can be a program name with args.
47084 set dummy windres
; ac_word
=$2
47085 echo "$as_me:$LINENO: checking for $ac_word" >&5
47086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47087 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47088 echo $ECHO_N "(cached) $ECHO_C" >&6
47090 if test -n "$ac_ct_WINDRES"; then
47091 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47094 for as_dir
in $PATH
47097 test -z "$as_dir" && as_dir
=.
47098 for ac_exec_ext
in '' $ac_executable_extensions; do
47099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47100 ac_cv_prog_ac_ct_WINDRES
="windres"
47101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47109 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47110 if test -n "$ac_ct_WINDRES"; then
47111 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47112 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47114 echo "$as_me:$LINENO: result: no" >&5
47115 echo "${ECHO_T}no" >&6
47118 WINDRES
=$ac_ct_WINDRES
47120 WINDRES
="$ac_cv_prog_WINDRES"
47125 *-*-darwin* | powerpc
-apple-macos* )
47126 # Extract the first word of "Rez", so it can be a program name with args.
47127 set dummy Rez
; ac_word
=$2
47128 echo "$as_me:$LINENO: checking for $ac_word" >&5
47129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47130 if test "${ac_cv_prog_REZ+set}" = set; then
47131 echo $ECHO_N "(cached) $ECHO_C" >&6
47133 if test -n "$REZ"; then
47134 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47137 for as_dir
in $PATH
47140 test -z "$as_dir" && as_dir
=.
47141 for ac_exec_ext
in '' $ac_executable_extensions; do
47142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47143 ac_cv_prog_REZ
="Rez"
47144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47150 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47153 REZ
=$ac_cv_prog_REZ
47154 if test -n "$REZ"; then
47155 echo "$as_me:$LINENO: result: $REZ" >&5
47156 echo "${ECHO_T}$REZ" >&6
47158 echo "$as_me:$LINENO: result: no" >&5
47159 echo "${ECHO_T}no" >&6
47162 # Extract the first word of "SetFile", so it can be a program name with args.
47163 set dummy SetFile
; 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_SETFILE+set}" = set; then
47167 echo $ECHO_N "(cached) $ECHO_C" >&6
47169 if test -n "$SETFILE"; then
47170 ac_cv_prog_SETFILE
="$SETFILE" # 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_SETFILE
="SetFile"
47180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47186 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47189 SETFILE
=$ac_cv_prog_SETFILE
47190 if test -n "$SETFILE"; then
47191 echo "$as_me:$LINENO: result: $SETFILE" >&5
47192 echo "${ECHO_T}$SETFILE" >&6
47194 echo "$as_me:$LINENO: result: no" >&5
47195 echo "${ECHO_T}no" >&6
47206 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
47209 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
47213 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47214 if test "${enable_precomp_headers+set}" = set; then
47215 enableval
="$enable_precomp_headers"
47216 bk_use_pch
="$enableval"
47221 case ${BAKEFILE_HOST} in
47227 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47228 if test "x$GCC" = "xyes"; then
47229 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47230 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47231 cat >conftest.
$ac_ext <<_ACEOF
47234 cat confdefs.h
>>conftest.
$ac_ext
47235 cat >>conftest.
$ac_ext <<_ACEOF
47236 /* end confdefs.h. */
47242 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47243 #error "no pch support"
47246 #error "no pch support"
47248 #if (__GNUC__ == 3) && \
47249 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47250 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
47251 #error "no pch support"
47258 rm -f conftest.
$ac_objext
47259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47260 (eval $ac_compile) 2>conftest.er1
47262 grep -v '^ *+' conftest.er1
>conftest.err
47264 cat conftest.err
>&5
47265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47266 (exit $ac_status); } &&
47267 { ac_try
='test -z "$ac_c_werror_flag"
47268 || test ! -s conftest.err'
47269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47270 (eval $ac_try) 2>&5
47272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47273 (exit $ac_status); }; } &&
47274 { ac_try
='test -s conftest.$ac_objext'
47275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47276 (eval $ac_try) 2>&5
47278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47279 (exit $ac_status); }; }; then
47281 echo "$as_me:$LINENO: result: yes" >&5
47282 echo "${ECHO_T}yes" >&6
47286 echo "$as_me: failed program was:" >&5
47287 sed 's/^/| /' conftest.
$ac_ext >&5
47290 echo "$as_me:$LINENO: result: no" >&5
47291 echo "${ECHO_T}no" >&6
47294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47295 if test $GCC_PCH = 1 ; then
47298 cat <<EOF >bk-make-pch
47301 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47302 # script. It is used to generated precompiled headers.
47304 # Permission is given to use this file in any way.
47313 while test ${D}{#} -gt 0; do
47316 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47317 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47318 headerfile="${D}{incdir}/${D}{header}"
47322 compiler="${D}{compiler} ${D}{1}"
47326 if test "x${D}{headerfile}" = "x" ; then
47327 echo "error: can't find header ${D}{header} in include paths" >2
47329 if test -f ${D}{outfile} ; then
47330 rm -f ${D}{outfile}
47332 mkdir -p \`dirname ${D}{outfile}\`
47334 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47336 # can do this because gcc is >= 3.4:
47337 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47342 chmod +x bk
-make-pch
47349 COND_BUILD_DEBUG
="#"
47350 if test "x$BUILD" = "xdebug" ; then
47351 COND_BUILD_DEBUG
=""
47354 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47355 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47356 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47359 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47360 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47361 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47364 COND_BUILD_DEBUG_UNICODE_0
="#"
47365 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47366 COND_BUILD_DEBUG_UNICODE_0
=""
47369 COND_BUILD_DEBUG_UNICODE_1
="#"
47370 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47371 COND_BUILD_DEBUG_UNICODE_1
=""
47374 COND_BUILD_RELEASE
="#"
47375 if test "x$BUILD" = "xrelease" ; then
47376 COND_BUILD_RELEASE
=""
47379 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47380 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47381 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47384 COND_BUILD_RELEASE_UNICODE_0
="#"
47385 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47386 COND_BUILD_RELEASE_UNICODE_0
=""
47389 COND_BUILD_RELEASE_UNICODE_1
="#"
47390 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47391 COND_BUILD_RELEASE_UNICODE_1
=""
47394 COND_DEBUG_FLAG_1
="#"
47395 if test "x$DEBUG_FLAG" = "x1" ; then
47396 COND_DEBUG_FLAG_1
=""
47399 COND_DEBUG_INFO_0
="#"
47400 if test "x$DEBUG_INFO" = "x0" ; then
47401 COND_DEBUG_INFO_0
=""
47404 COND_DEBUG_INFO_1
="#"
47405 if test "x$DEBUG_INFO" = "x1" ; then
47406 COND_DEBUG_INFO_1
=""
47409 COND_DEPS_TRACKING_0
="#"
47410 if test "x$DEPS_TRACKING" = "x0" ; then
47411 COND_DEPS_TRACKING_0
=""
47414 COND_DEPS_TRACKING_1
="#"
47415 if test "x$DEPS_TRACKING" = "x1" ; then
47416 COND_DEPS_TRACKING_1
=""
47420 if test "x$GCC_PCH" = "x1" ; then
47424 COND_MONOLITHIC_0
="#"
47425 if test "x$MONOLITHIC" = "x0" ; then
47426 COND_MONOLITHIC_0
=""
47429 COND_MONOLITHIC_0_SHARED_0
="#"
47430 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47431 COND_MONOLITHIC_0_SHARED_0
=""
47434 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47435 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47436 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47439 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47440 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47441 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47444 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47445 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47446 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47449 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47450 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47451 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47454 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47455 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47456 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47459 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47460 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47461 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47464 COND_MONOLITHIC_0_SHARED_1
="#"
47465 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47466 COND_MONOLITHIC_0_SHARED_1
=""
47469 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47470 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47471 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47474 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47476 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47479 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47481 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47484 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47486 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47489 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47490 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47491 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47494 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47495 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47496 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47499 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47500 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47501 COND_MONOLITHIC_0_USE_ODBC_1
=""
47504 COND_MONOLITHIC_1
="#"
47505 if test "x$MONOLITHIC" = "x1" ; then
47506 COND_MONOLITHIC_1
=""
47509 COND_MONOLITHIC_1_SHARED_0
="#"
47510 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47511 COND_MONOLITHIC_1_SHARED_0
=""
47514 COND_MONOLITHIC_1_SHARED_1
="#"
47515 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47516 COND_MONOLITHIC_1_SHARED_1
=""
47519 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47520 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47521 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47524 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47525 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47526 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47529 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47530 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47531 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47534 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47535 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47536 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47539 COND_PLATFORM_MACOSX_1
="#"
47540 if test "x$PLATFORM_MACOSX" = "x1" ; then
47541 COND_PLATFORM_MACOSX_1
=""
47544 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47545 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47546 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47549 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47550 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47551 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47554 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47555 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47556 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47559 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47560 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47561 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47564 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47566 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47569 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47571 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47574 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47576 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47579 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47580 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47581 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47584 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47585 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47586 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47589 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47590 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47591 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47594 COND_PLATFORM_MACOS_1
="#"
47595 if test "x$PLATFORM_MACOS" = "x1" ; then
47596 COND_PLATFORM_MACOS_1
=""
47599 COND_PLATFORM_MAC_1
="#"
47600 if test "x$PLATFORM_MAC" = "x1" ; then
47601 COND_PLATFORM_MAC_1
=""
47604 COND_PLATFORM_MSDOS_1
="#"
47605 if test "x$PLATFORM_MSDOS" = "x1" ; then
47606 COND_PLATFORM_MSDOS_1
=""
47609 COND_PLATFORM_OS2_1
="#"
47610 if test "x$PLATFORM_OS2" = "x1" ; then
47611 COND_PLATFORM_OS2_1
=""
47614 COND_PLATFORM_UNIX_0
="#"
47615 if test "x$PLATFORM_UNIX" = "x0" ; then
47616 COND_PLATFORM_UNIX_0
=""
47619 COND_PLATFORM_UNIX_1
="#"
47620 if test "x$PLATFORM_UNIX" = "x1" ; then
47621 COND_PLATFORM_UNIX_1
=""
47624 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47625 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47626 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47629 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
47630 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47631 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
47634 COND_PLATFORM_WIN32_0
="#"
47635 if test "x$PLATFORM_WIN32" = "x0" ; then
47636 COND_PLATFORM_WIN32_0
=""
47639 COND_PLATFORM_WIN32_1
="#"
47640 if test "x$PLATFORM_WIN32" = "x1" ; then
47641 COND_PLATFORM_WIN32_1
=""
47645 if test "x$SHARED" = "x0" ; then
47649 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
47650 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47651 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
47654 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
47655 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47656 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
47659 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
47660 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47661 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
47664 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
47665 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47666 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
47669 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47670 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47671 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47674 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47675 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47676 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47679 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47680 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47681 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47684 COND_SHARED_0_USE_XRC_1
="#"
47685 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47686 COND_SHARED_0_USE_XRC_1
=""
47689 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
47690 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47691 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
47694 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
47695 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47696 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
47699 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
47700 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47701 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
47704 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
47705 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47706 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
47710 if test "x$SHARED" = "x1" ; then
47714 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
47715 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47716 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
47719 COND_SHARED_1_USE_XRC_1
="#"
47720 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47721 COND_SHARED_1_USE_XRC_1
=""
47725 if test "x$TOOLKIT" = "x" ; then
47729 COND_TOOLKIT_COCOA
="#"
47730 if test "x$TOOLKIT" = "xCOCOA" ; then
47731 COND_TOOLKIT_COCOA
=""
47734 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
47735 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47736 COND_TOOLKIT_COCOA_USE_GUI_1
=""
47739 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
47740 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47741 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
47744 COND_TOOLKIT_GTK
="#"
47745 if test "x$TOOLKIT" = "xGTK" ; then
47746 COND_TOOLKIT_GTK
=""
47749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
47750 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
47754 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
47755 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
47756 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
47759 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
47760 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
47761 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
47764 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
47765 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47766 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
47769 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
47770 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
47771 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
47774 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
47775 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47776 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
47779 COND_TOOLKIT_GTK_USE_GUI_1
="#"
47780 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47781 COND_TOOLKIT_GTK_USE_GUI_1
=""
47784 COND_TOOLKIT_MAC
="#"
47785 if test "x$TOOLKIT" = "xMAC" ; then
47786 COND_TOOLKIT_MAC
=""
47789 COND_TOOLKIT_MAC_USE_GUI_1
="#"
47790 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47791 COND_TOOLKIT_MAC_USE_GUI_1
=""
47794 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47795 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47796 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47799 COND_TOOLKIT_MGL
="#"
47800 if test "x$TOOLKIT" = "xMGL" ; then
47801 COND_TOOLKIT_MGL
=""
47804 COND_TOOLKIT_MGL_USE_GUI_1
="#"
47805 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47806 COND_TOOLKIT_MGL_USE_GUI_1
=""
47809 COND_TOOLKIT_MOTIF
="#"
47810 if test "x$TOOLKIT" = "xMOTIF" ; then
47811 COND_TOOLKIT_MOTIF
=""
47814 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
47815 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47816 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
47819 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
47820 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47821 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
47824 COND_TOOLKIT_MSW
="#"
47825 if test "x$TOOLKIT" = "xMSW" ; then
47826 COND_TOOLKIT_MSW
=""
47829 COND_TOOLKIT_MSW_USE_GUI_1
="#"
47830 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47831 COND_TOOLKIT_MSW_USE_GUI_1
=""
47834 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
47835 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47836 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
47839 COND_TOOLKIT_MSW_WXUNIV_0
="#"
47840 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47841 COND_TOOLKIT_MSW_WXUNIV_0
=""
47844 COND_TOOLKIT_PM
="#"
47845 if test "x$TOOLKIT" = "xPM" ; then
47849 COND_TOOLKIT_PM_USE_GUI_1
="#"
47850 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47851 COND_TOOLKIT_PM_USE_GUI_1
=""
47854 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
47855 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47856 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
47859 COND_TOOLKIT_WINCE
="#"
47860 if test "x$TOOLKIT" = "xWINCE" ; then
47861 COND_TOOLKIT_WINCE
=""
47864 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
47865 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47866 COND_TOOLKIT_WINCE_USE_GUI_1
=""
47869 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
47870 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47871 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
47874 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
47875 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47876 COND_TOOLKIT_WINCE_WXUNIV_0
=""
47879 COND_TOOLKIT_X11
="#"
47880 if test "x$TOOLKIT" = "xX11" ; then
47881 COND_TOOLKIT_X11
=""
47884 COND_TOOLKIT_X11_USE_GUI_1
="#"
47885 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47886 COND_TOOLKIT_X11_USE_GUI_1
=""
47890 if test "x$UNICODE" = "x1" ; then
47894 COND_USE_EXCEPTIONS_0
="#"
47895 if test "x$USE_EXCEPTIONS" = "x0" ; then
47896 COND_USE_EXCEPTIONS_0
=""
47899 COND_USE_EXCEPTIONS_1
="#"
47900 if test "x$USE_EXCEPTIONS" = "x1" ; then
47901 COND_USE_EXCEPTIONS_1
=""
47905 if test "x$USE_GUI" = "x0" ; then
47910 if test "x$USE_GUI" = "x1" ; then
47914 COND_USE_GUI_1_WXUNIV_0
="#"
47915 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47916 COND_USE_GUI_1_WXUNIV_0
=""
47919 COND_USE_GUI_1_WXUNIV_1
="#"
47920 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
47921 COND_USE_GUI_1_WXUNIV_1
=""
47924 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47925 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47926 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47929 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47930 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47931 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47934 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47935 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47936 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47939 COND_USE_ODBC_1
="#"
47940 if test "x$USE_ODBC" = "x1" ; then
47944 COND_USE_OPENGL_1
="#"
47945 if test "x$USE_OPENGL" = "x1" ; then
47946 COND_USE_OPENGL_1
=""
47949 COND_USE_PLUGINS_0
="#"
47950 if test "x$USE_PLUGINS" = "x0" ; then
47951 COND_USE_PLUGINS_0
=""
47954 COND_USE_RTTI_0
="#"
47955 if test "x$USE_RTTI" = "x0" ; then
47959 COND_USE_RTTI_1
="#"
47960 if test "x$USE_RTTI" = "x1" ; then
47964 COND_USE_SOSYMLINKS_1
="#"
47965 if test "x$USE_SOSYMLINKS" = "x1" ; then
47966 COND_USE_SOSYMLINKS_1
=""
47969 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
47970 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47971 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
47974 COND_USE_SOVERLINUX_1
="#"
47975 if test "x$USE_SOVERLINUX" = "x1" ; then
47976 COND_USE_SOVERLINUX_1
=""
47979 COND_USE_SOVERSION_0
="#"
47980 if test "x$USE_SOVERSION" = "x0" ; then
47981 COND_USE_SOVERSION_0
=""
47984 COND_USE_SOVERSOLARIS_1
="#"
47985 if test "x$USE_SOVERSOLARIS" = "x1" ; then
47986 COND_USE_SOVERSOLARIS_1
=""
47989 COND_USE_THREADS_0
="#"
47990 if test "x$USE_THREADS" = "x0" ; then
47991 COND_USE_THREADS_0
=""
47994 COND_USE_THREADS_1
="#"
47995 if test "x$USE_THREADS" = "x1" ; then
47996 COND_USE_THREADS_1
=""
48000 if test "x$USE_XRC" = "x1" ; then
48004 COND_WINDOWS_IMPLIB_1
="#"
48005 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48006 COND_WINDOWS_IMPLIB_1
=""
48009 COND_WITH_PLUGIN_SDL_1
="#"
48010 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48011 COND_WITH_PLUGIN_SDL_1
=""
48015 if test "x$WXUNIV" = "x0" ; then
48020 if test "x$WXUNIV" = "x1" ; then
48024 COND_WXUSE_EXPAT_BUILTIN
="#"
48025 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48026 COND_WXUSE_EXPAT_BUILTIN
=""
48029 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48030 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48031 COND_WXUSE_LIBJPEG_BUILTIN
=""
48034 COND_WXUSE_LIBPNG_BUILTIN
="#"
48035 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48036 COND_WXUSE_LIBPNG_BUILTIN
=""
48039 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48040 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48041 COND_WXUSE_LIBTIFF_BUILTIN
=""
48044 COND_WXUSE_ODBC_BUILTIN
="#"
48045 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48046 COND_WXUSE_ODBC_BUILTIN
=""
48049 COND_WXUSE_REGEX_BUILTIN
="#"
48050 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48051 COND_WXUSE_REGEX_BUILTIN
=""
48054 COND_WXUSE_ZLIB_BUILTIN
="#"
48055 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48056 COND_WXUSE_ZLIB_BUILTIN
=""
48061 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48062 { { 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
48063 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;}
48064 { (exit 1); exit 1; }; }
48067 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48068 { { 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
48069 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;}
48070 { (exit 1); exit 1; }; }
48075 if test "$wxUSE_MAC" = 1 ; then
48076 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48077 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48083 if test "$wxUSE_SHARED" = "yes"; then
48085 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48086 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48089 *-pc-os2_emx | *-pc-os2-emx )
48090 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48091 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48092 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48093 cp -p ${srcdir}/src
/os
2/dllar.sh .
48098 EXE_LINKER
="$CXX -o"
48101 if test "$wxUSE_OMF" = "yes"; then
48103 *-pc-os2_emx | *-pc-os2-emx )
48104 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48105 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48106 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48111 if test $GCC_PCH = 1 ; then
48112 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48115 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48117 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48179 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48180 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48181 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48182 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48183 echo $ECHO_N "(cached) $ECHO_C" >&6
48185 cat >conftest.
make <<\_ACEOF
48187 @
echo 'ac_maketemp="$(MAKE)"'
48189 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48190 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48191 if test -n "$ac_maketemp"; then
48192 eval ac_cv_prog_make_
${ac_make}_set
=yes
48194 eval ac_cv_prog_make_
${ac_make}_set
=no
48196 rm -f conftest.
make
48198 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48199 echo "$as_me:$LINENO: result: yes" >&5
48200 echo "${ECHO_T}yes" >&6
48203 echo "$as_me:$LINENO: result: no" >&5
48204 echo "${ECHO_T}no" >&6
48205 SET_MAKE
="MAKE=${MAKE-make}"
48210 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48213 if test "$USE_WIN32" = 1; then
48214 ac_config_commands
="$ac_config_commands
48220 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48223 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48226 ac_config_files
="$ac_config_files version-script Makefile"
48229 ac_config_commands
="$ac_config_commands wx-config"
48233 if test "$wxWITH_SUBDIRS" != "no"; then
48234 if test "$wxUSE_GUI" = "yes"; then
48235 SUBDIRS
="samples demos utils contrib"
48236 else SUBDIRS
="samples utils"
48241 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48242 if test "${with_cppunit_prefix+set}" = set; then
48243 withval
="$with_cppunit_prefix"
48244 cppunit_config_prefix
="$withval"
48246 cppunit_config_prefix
=""
48249 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48250 if test "${with_cppunit_exec_prefix+set}" = set; then
48251 withval
="$with_cppunit_exec_prefix"
48252 cppunit_config_exec_prefix
="$withval"
48254 cppunit_config_exec_prefix
=""
48257 if test x
$cppunit_config_exec_prefix != x
; then
48258 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48259 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48260 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48263 if test x
$cppunit_config_prefix != x
; then
48264 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48265 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48266 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48270 # Extract the first word of "cppunit-config", so it can be a program name with args.
48271 set dummy cppunit
-config; ac_word
=$2
48272 echo "$as_me:$LINENO: checking for $ac_word" >&5
48273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48274 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48275 echo $ECHO_N "(cached) $ECHO_C" >&6
48277 case $CPPUNIT_CONFIG in
48279 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48283 for as_dir
in $PATH
48286 test -z "$as_dir" && as_dir
=.
48287 for ac_exec_ext
in '' $ac_executable_extensions; do
48288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48289 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48296 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48300 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48302 if test -n "$CPPUNIT_CONFIG"; then
48303 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48304 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48306 echo "$as_me:$LINENO: result: no" >&5
48307 echo "${ECHO_T}no" >&6
48310 cppunit_version_min
=1.8.0
48312 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48313 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48315 if test "$CPPUNIT_CONFIG" = "no" ; then
48318 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48319 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48320 cppunit_version
=`$CPPUNIT_CONFIG --version`
48322 cppunit_major_version
=`echo $cppunit_version | \
48323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48324 cppunit_minor_version
=`echo $cppunit_version | \
48325 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48326 cppunit_micro_version
=`echo $cppunit_version | \
48327 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48329 cppunit_major_min
=`echo $cppunit_version_min | \
48330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48331 cppunit_minor_min
=`echo $cppunit_version_min | \
48332 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48333 cppunit_micro_min
=`echo $cppunit_version_min | \
48334 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48336 cppunit_version_proper
=`expr \
48337 $cppunit_major_version \> $cppunit_major_min \| \
48338 $cppunit_major_version \= $cppunit_major_min \& \
48339 $cppunit_minor_version \> $cppunit_minor_min \| \
48340 $cppunit_major_version \= $cppunit_major_min \& \
48341 $cppunit_minor_version \= $cppunit_minor_min \& \
48342 $cppunit_micro_version \>= $cppunit_micro_min `
48344 if test "$cppunit_version_proper" = "1" ; then
48345 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48346 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48348 echo "$as_me:$LINENO: result: no" >&5
48349 echo "${ECHO_T}no" >&6
48354 if test "x$no_cppunit" = x
; then
48355 SUBDIRS
="$SUBDIRS tests"
48366 for subdir
in `echo $SUBDIRS`; do
48367 if test -d ${srcdir}/${subdir} ; then
48368 if test "$wxUSE_GUI" = "yes"; then
48369 if test ${subdir} = "samples"; then
48370 makefiles
="samples/Makefile.in $makefiles"
48371 for sample
in `echo $SAMPLES_SUBDIRS`; do
48372 if test -d $srcdir/samples
/$sample; then
48373 makefiles
="samples/$sample/Makefile.in $makefiles"
48377 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48378 eval "disabled=\$$disabled_var"
48379 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48380 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48382 else if test ${subdir} = "samples"; then
48383 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48384 elif test ${subdir} = "utils"; then
48386 for util
in HelpGen tex2rtf
; do
48387 if test -d $srcdir/utils
/$util ; then
48388 makefiles
="utils/$util/Makefile.in \
48389 utils/$util/src/Makefile.in \
48393 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48397 for mkin
in $makefiles ; do
48398 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48399 ac_config_files
="$ac_config_files $mk"
48405 cat >confcache
<<\_ACEOF
48406 # This file is a shell script that caches the results of configure
48407 # tests run on this system so they can be shared between configure
48408 # scripts and configure runs, see configure's option --config-cache.
48409 # It is not useful on other systems. If it contains results you don't
48410 # want to keep, you may remove or edit it.
48412 # config.status only pays attention to the cache file if you give it
48413 # the --recheck option to rerun configure.
48415 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48416 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48417 # following values.
48421 # The following way of writing the cache mishandles newlines in values,
48422 # but we know of no workaround that is simple, portable, and efficient.
48423 # So, don't put newlines in cache variables' values.
48424 # Ultrix sh set writes to stderr and can't be redirected directly,
48425 # and sets the high bit in the cache file unless we assign to the vars.
48428 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48430 # `set' does not quote correctly, so add quotes (double-quote
48431 # substitution turns \\\\ into \\, and sed turns \\ into \).
48434 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48437 # `set' quotes correctly as required by POSIX, so do not add quotes.
48439 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48446 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48448 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48450 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48451 if test -w $cache_file; then
48452 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48453 cat confcache
>$cache_file
48455 echo "not updating unwritable cache $cache_file"
48460 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48461 # Let make expand exec_prefix.
48462 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48464 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48465 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48466 # trailing colons and then remove the whole line if VPATH becomes empty
48467 # (actually we leave an empty line to preserve line numbers).
48468 if test "x$srcdir" = x.
; then
48469 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48470 s/:*\$(srcdir):*/:/;
48471 s/:*\${srcdir}:*/:/;
48473 s/^\([^=]*=[ ]*\):*/\1/;
48479 DEFS
=-DHAVE_CONFIG_H
48483 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48484 # 1. Remove the extension, and $U if already installed.
48485 ac_i
=`echo "$ac_i" |
48486 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48488 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48489 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48491 LIBOBJS
=$ac_libobjs
48493 LTLIBOBJS
=$ac_ltlibobjs
48497 : ${CONFIG_STATUS=./config.status}
48498 ac_clean_files_save
=$ac_clean_files
48499 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48500 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48501 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48502 cat >$CONFIG_STATUS <<_ACEOF
48504 # Generated by $as_me.
48505 # Run this file to recreate the current configuration.
48506 # Compiler output produced by configure, useful for debugging
48507 # configure, is in config.log if it exists.
48510 ac_cs_recheck=false
48512 SHELL=\${CONFIG_SHELL-$SHELL}
48515 cat >>$CONFIG_STATUS <<\_ACEOF
48516 ## --------------------- ##
48517 ## M4sh Initialization. ##
48518 ## --------------------- ##
48520 # Be Bourne compatible
48521 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48524 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48525 # is contrary to our usage. Disable this feature.
48526 alias -g '${1+"$@"}'='"$@"'
48527 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48530 DUALCASE
=1; export DUALCASE
# for MKS sh
48532 # Support unset when possible.
48533 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48540 # Work around bugs in pre-3.0 UWIN ksh.
48541 $as_unset ENV MAIL MAILPATH
48548 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48549 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48550 LC_TELEPHONE LC_TIME
48552 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48553 eval $as_var=C
; export $as_var
48559 # Required to use basename.
48560 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48566 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48567 as_basename
=basename
48573 # Name of the executable.
48574 as_me
=`$as_basename "$0" ||
48575 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48576 X"$0" : 'X\(//\)$' \| \
48577 X"$0" : 'X\(/\)$' \| \
48578 . : '\(.\)' 2>/dev/null ||
48580 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48581 /^X\/\(\/\/\)$/{ s//\1/; q; }
48582 /^X\/\(\/\).*/{ s//\1/; q; }
48586 # PATH needs CR, and LINENO needs CR and PATH.
48587 # Avoid depending upon Character Ranges.
48588 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48589 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48590 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48591 as_cr_digits
='0123456789'
48592 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48594 # The user is always right.
48595 if test "${PATH_SEPARATOR+set}" != set; then
48596 echo "#! /bin/sh" >conf$$.sh
48597 echo "exit 0" >>conf$$.sh
48599 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48608 as_lineno_1
=$LINENO
48609 as_lineno_2
=$LINENO
48610 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48611 test "x$as_lineno_1" != "x$as_lineno_2" &&
48612 test "x$as_lineno_3" = "x$as_lineno_2" || {
48613 # Find who we are. Look in the path if we contain no path at all
48616 *[\\/]* ) as_myself
=$0 ;;
48617 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48618 for as_dir
in $PATH
48621 test -z "$as_dir" && as_dir
=.
48622 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
48627 # We did not find ourselves, most probably we were run as `sh COMMAND'
48628 # in which case we are not to be found in the path.
48629 if test "x$as_myself" = x
; then
48632 if test ! -f "$as_myself"; then
48633 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48634 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48635 { (exit 1); exit 1; }; }
48637 case $CONFIG_SHELL in
48639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48640 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
48643 test -z "$as_dir" && as_dir
=.
48644 for as_base
in sh bash ksh sh5
; do
48647 if ("$as_dir/$as_base" -c '
48648 as_lineno_1=$LINENO
48649 as_lineno_2=$LINENO
48650 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48651 test "x$as_lineno_1" != "x$as_lineno_2" &&
48652 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
48653 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
48654 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
48655 CONFIG_SHELL
=$as_dir/$as_base
48656 export CONFIG_SHELL
48657 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48665 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48666 # uniformly replaced by the line number. The first 'sed' inserts a
48667 # line-number line before each line; the second 'sed' does the real
48668 # work. The second script uses 'N' to pair each line-number line
48669 # with the numbered line, and appends trailing '-' during
48670 # substitution so that $LINENO is not a special case at line end.
48671 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48672 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48673 sed '=' <$as_myself |
48678 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48681 s,^['$as_cr_digits']*\n,,
48682 ' >$as_me.lineno
&&
48683 chmod +x
$as_me.lineno
||
48684 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48685 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48686 { (exit 1); exit 1; }; }
48688 # Don't try to exec as it changes $[0], causing all sort of problems
48689 # (the dirname of $[0] is not the place where we might find the
48690 # original and so on. Autoconf is especially sensible to this).
48692 # Exit status is that of the last command.
48697 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48698 *c
*,-n*) ECHO_N
= ECHO_C
='
48700 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
48701 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
48704 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48710 rm -f conf$$ conf$$.exe conf$$.
file
48712 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
48713 # We could just check for DJGPP; but this test a) works b) is more generic
48714 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48715 if test -f conf$$.exe
; then
48716 # Don't use ln at all; we don't have any links
48721 elif ln conf$$.
file conf$$
2>/dev
/null
; then
48726 rm -f conf$$ conf$$.exe conf$$.
file
48728 if mkdir -p .
2>/dev
/null
; then
48731 test -d .
/-p && rmdir .
/-p
48735 as_executable_p
="test -f"
48737 # Sed expression to map a string onto a valid CPP name.
48738 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48740 # Sed expression to map a string onto a valid variable name.
48741 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48745 # We need space, tab and new line, in precisely that order.
48755 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48756 # report actual input values of CONFIG_FILES etc. instead of their
48757 # values after options handling. Logging --version etc. is OK.
48761 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48762 ## Running $as_me. ##
48767 This file was extended by wxWidgets $as_me 2.7.0, which was
48768 generated by GNU Autoconf 2.59. Invocation command line was
48770 CONFIG_FILES = $CONFIG_FILES
48771 CONFIG_HEADERS = $CONFIG_HEADERS
48772 CONFIG_LINKS = $CONFIG_LINKS
48773 CONFIG_COMMANDS = $CONFIG_COMMANDS
48777 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48781 # Files that config.status was made for.
48782 if test -n "$ac_config_files"; then
48783 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48786 if test -n "$ac_config_headers"; then
48787 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48790 if test -n "$ac_config_links"; then
48791 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48794 if test -n "$ac_config_commands"; then
48795 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48798 cat >>$CONFIG_STATUS <<\_ACEOF
48801 \`$as_me' instantiates files from templates according to the
48802 current configuration.
48804 Usage: $0 [OPTIONS] [FILE]...
48806 -h, --help print this help, then exit
48807 -V, --version print version number, then exit
48808 -q, --quiet do not print progress messages
48809 -d, --debug don't remove temporary files
48810 --recheck update $as_me by reconfiguring in the same conditions
48811 --file=FILE[:TEMPLATE]
48812 instantiate the configuration file FILE
48813 --header=FILE[:TEMPLATE]
48814 instantiate the configuration header FILE
48816 Configuration files:
48819 Configuration headers:
48822 Configuration commands:
48825 Report bugs to <bug-autoconf@gnu.org>."
48828 cat >>$CONFIG_STATUS <<_ACEOF
48830 wxWidgets config.status 2.7.0
48831 configured by $0, generated by GNU Autoconf 2.59,
48832 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48834 Copyright (C) 2003 Free Software Foundation, Inc.
48835 This config.status script is free software; the Free Software Foundation
48836 gives unlimited permission to copy, distribute and modify it."
48841 cat >>$CONFIG_STATUS <<\_ACEOF
48842 # If no file are specified by the user, then we need to provide default
48843 # value. By we need to know if files were specified by the user.
48849 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
48850 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
48858 *) # This is not an option, so the user has probably given explicit
48861 ac_need_defaults
=false
;;
48865 # Handling of the options.
48867 cat >>$CONFIG_STATUS <<\_ACEOF
48868 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48870 --version | --vers* | -V )
48871 echo "$ac_cs_version"; exit 0 ;;
48873 # Conflict between --help and --header
48874 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48875 Try \`$0 --help' for more information." >&5
48876 echo "$as_me: error: ambiguous option: $1
48877 Try \`$0 --help' for more information." >&2;}
48878 { (exit 1); exit 1; }; };;
48879 --help | --hel | -h )
48880 echo "$ac_cs_usage"; exit 0 ;;
48881 --debug | --d* | -d )
48883 --file | --fil | --fi | --f )
48885 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
48886 ac_need_defaults
=false
;;
48887 --header | --heade | --head | --hea )
48889 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
48890 ac_need_defaults
=false
;;
48891 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48892 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48895 # This is an error.
48896 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48897 Try \`$0 --help' for more information." >&5
48898 echo "$as_me: error: unrecognized option: $1
48899 Try \`$0 --help' for more information." >&2;}
48900 { (exit 1); exit 1; }; } ;;
48902 *) ac_config_targets
="$ac_config_targets $1" ;;
48908 ac_configure_extra_args
=
48910 if $ac_cs_silent; then
48912 ac_configure_extra_args
="$ac_configure_extra_args --silent"
48916 cat >>$CONFIG_STATUS <<_ACEOF
48917 if \$ac_cs_recheck; then
48918 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48919 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48924 cat >>$CONFIG_STATUS <<_ACEOF
48926 # INIT-COMMANDS section.
48931 infile="$srcdir/include/wx/msw/genrcdefs.h"
48932 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
48935 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48936 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48937 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48945 cat >>$CONFIG_STATUS <<\_ACEOF
48946 for ac_config_target
in $ac_config_targets
48948 case "$ac_config_target" in
48949 # Handling of arguments.
48950 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
48951 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
48952 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
48953 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
48954 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
48955 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
48956 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
48957 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
48958 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
48959 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
48960 { (exit 1); exit 1; }; };;
48964 # If the user did not use the arguments to specify the items to instantiate,
48965 # then the envvar interface is used. Set only those that are not.
48966 # We use the long form for the default assignment because of an extremely
48967 # bizarre bug on SunOS 4.1.3.
48968 if $ac_need_defaults; then
48969 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
48970 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
48971 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
48974 # Have a temporary directory for convenience. Make it in the build tree
48975 # simply because there is no reason to put it here, and in addition,
48976 # creating and moving files from /tmp can sometimes cause problems.
48977 # Create a temporary directory, and hook for its removal unless debugging.
48980 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
48981 trap '{ (exit 1); exit 1; }' 1 2 13 15
48984 # Create a (secure) tmp directory for tmp files.
48987 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
48988 test -n "$tmp" && test -d "$tmp"
48991 tmp
=.
/confstat$$
-$RANDOM
48992 (umask 077 && mkdir $tmp)
48995 echo "$me: cannot create a temporary directory in ." >&2
48996 { (exit 1); exit 1; }
49001 cat >>$CONFIG_STATUS <<_ACEOF
49004 # CONFIG_FILES section.
49007 # No need to generate the scripts if there are no CONFIG_FILES.
49008 # This happens for instance when ./config.status config.h
49009 if test -n "\$CONFIG_FILES"; then
49010 # Protect against being on the right side of a sed subst in config.status.
49011 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49012 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49013 s,@SHELL@,$SHELL,;t t
49014 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49015 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49016 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49017 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49018 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49019 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49020 s,@exec_prefix@,$exec_prefix,;t t
49021 s,@prefix@,$prefix,;t t
49022 s,@program_transform_name@,$program_transform_name,;t t
49023 s,@bindir@,$bindir,;t t
49024 s,@sbindir@,$sbindir,;t t
49025 s,@libexecdir@,$libexecdir,;t t
49026 s,@datadir@,$datadir,;t t
49027 s,@sysconfdir@,$sysconfdir,;t t
49028 s,@sharedstatedir@,$sharedstatedir,;t t
49029 s,@localstatedir@,$localstatedir,;t t
49030 s,@libdir@,$libdir,;t t
49031 s,@includedir@,$includedir,;t t
49032 s,@oldincludedir@,$oldincludedir,;t t
49033 s,@infodir@,$infodir,;t t
49034 s,@mandir@,$mandir,;t t
49035 s,@build_alias@,$build_alias,;t t
49036 s,@host_alias@,$host_alias,;t t
49037 s,@target_alias@,$target_alias,;t t
49038 s,@DEFS@,$DEFS,;t t
49039 s,@ECHO_C@,$ECHO_C,;t t
49040 s,@ECHO_N@,$ECHO_N,;t t
49041 s,@ECHO_T@,$ECHO_T,;t t
49042 s,@LIBS@,$LIBS,;t t
49043 s,@build@,$build,;t t
49044 s,@build_cpu@,$build_cpu,;t t
49045 s,@build_vendor@,$build_vendor,;t t
49046 s,@build_os@,$build_os,;t t
49047 s,@host@,$host,;t t
49048 s,@host_cpu@,$host_cpu,;t t
49049 s,@host_vendor@,$host_vendor,;t t
49050 s,@host_os@,$host_os,;t t
49051 s,@target@,$target,;t t
49052 s,@target_cpu@,$target_cpu,;t t
49053 s,@target_vendor@,$target_vendor,;t t
49054 s,@target_os@,$target_os,;t t
49056 s,@CFLAGS@,$CFLAGS,;t t
49057 s,@LDFLAGS@,$LDFLAGS,;t t
49058 s,@CPPFLAGS@,$CPPFLAGS,;t t
49059 s,@ac_ct_CC@,$ac_ct_CC,;t t
49060 s,@EXEEXT@,$EXEEXT,;t t
49061 s,@OBJEXT@,$OBJEXT,;t t
49063 s,@EGREP@,$EGREP,;t t
49065 s,@CXXFLAGS@,$CXXFLAGS,;t t
49066 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49067 s,@RANLIB@,$RANLIB,;t t
49068 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49070 s,@ac_ct_AR@,$ac_ct_AR,;t t
49071 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49072 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49073 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49074 s,@STRIP@,$STRIP,;t t
49075 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49076 s,@WINDRES@,$WINDRES,;t t
49077 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49078 s,@DLLTOOL@,$DLLTOOL,;t t
49079 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49080 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49081 s,@LN_S@,$LN_S,;t t
49082 s,@CXXCPP@,$CXXCPP,;t t
49083 s,@subdirs@,$subdirs,;t t
49084 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49085 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49086 s,@GTK_LIBS@,$GTK_LIBS,;t t
49087 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49088 s,@X_CFLAGS@,$X_CFLAGS,;t t
49089 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49090 s,@X_LIBS@,$X_LIBS,;t t
49091 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49092 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49093 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49094 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49095 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49096 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49097 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49099 s,@DEREZ@,$DEREZ,;t t
49100 s,@SETFILE@,$SETFILE,;t t
49101 s,@LIBICONV@,$LIBICONV,;t t
49102 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49103 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49104 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49105 s,@SDL_LIBS@,$SDL_LIBS,;t t
49106 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49107 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49108 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49109 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49110 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
49111 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
49112 s,@GST_INSPECT@,$GST_INSPECT,;t t
49113 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49114 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49115 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49116 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49117 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49118 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49119 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49120 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49121 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49122 s,@VENDOR@,$VENDOR,;t t
49123 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49124 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49125 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49126 s,@WXUNIV@,$WXUNIV,;t t
49127 s,@MONOLITHIC@,$MONOLITHIC,;t t
49128 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49129 s,@EXTRALIBS@,$EXTRALIBS,;t t
49130 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49131 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49132 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49133 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49134 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49135 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49136 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49137 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49138 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49139 s,@UNICODE@,$UNICODE,;t t
49140 s,@BUILD@,$BUILD,;t t
49141 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49142 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49143 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49144 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49145 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49146 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49147 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49148 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49149 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49150 s,@SET_MAKE@,$SET_MAKE,;t t
49151 s,@MAKE_SET@,$MAKE_SET,;t t
49153 s,@ac_ct_NM@,$ac_ct_NM,;t t
49154 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49155 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49156 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49157 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49158 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49159 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49160 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49161 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49162 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49163 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49164 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49165 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49166 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49167 s,@LIBPREFIX@,$LIBPREFIX,;t t
49168 s,@LIBEXT@,$LIBEXT,;t t
49169 s,@DLLPREFIX@,$DLLPREFIX,;t t
49170 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49171 s,@dlldir@,$dlldir,;t t
49172 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49173 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49174 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49175 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49176 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49177 s,@PIC_FLAG@,$PIC_FLAG,;t t
49178 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49179 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49180 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49181 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49182 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49183 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49184 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49185 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49186 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49187 s,@GCC_PCH@,$GCC_PCH,;t t
49188 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49189 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49190 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49191 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49192 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49193 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49194 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49195 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49196 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49197 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49198 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49199 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49200 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49201 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49202 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49203 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49204 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49205 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49206 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
49207 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
49208 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
49209 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49210 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49211 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49212 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49213 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
49214 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
49215 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
49216 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49217 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49218 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49219 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49220 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49221 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49222 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49223 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49224 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49225 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49226 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49227 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49228 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49229 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49230 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49231 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49232 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
49233 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49234 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49235 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49236 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49237 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49238 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49239 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49240 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49241 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49242 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49243 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49244 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49245 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49246 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49247 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49248 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49249 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49250 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49251 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49252 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49253 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49254 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49255 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49256 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49257 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49258 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49259 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49260 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49261 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49262 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49263 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49264 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49265 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49266 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49267 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49268 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49269 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49270 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49271 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
49272 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49273 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49274 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49275 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49276 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49277 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49278 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49279 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49280 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49281 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49282 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49283 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49284 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49285 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49286 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49287 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49288 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49289 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49290 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49291 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49292 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49293 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49294 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49295 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49296 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49297 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49298 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49299 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49300 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49301 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49302 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49303 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49304 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49305 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49306 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49307 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49308 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49309 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49310 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49311 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49312 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49313 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49314 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49315 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49316 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49317 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49318 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49319 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49320 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49321 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49322 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49323 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49324 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49325 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49326 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49327 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49328 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49329 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49330 s,@SHARED@,$SHARED,;t t
49331 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49332 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49333 s,@USE_GUI@,$USE_GUI,;t t
49334 s,@AFMINSTALL@,$AFMINSTALL,;t t
49335 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49336 s,@TOOLKIT@,$TOOLKIT,;t t
49337 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49338 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49339 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49340 s,@cross_compiling@,$cross_compiling,;t t
49341 s,@WIDGET_SET@,$WIDGET_SET,;t t
49342 s,@WX_RELEASE@,$WX_RELEASE,;t t
49343 s,@WX_VERSION@,$WX_VERSION,;t t
49344 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49345 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49346 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49347 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49348 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49349 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49350 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49351 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49352 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49353 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49354 s,@EXE_LINKER@,$EXE_LINKER,;t t
49355 s,@GUIDIST@,$GUIDIST,;t t
49356 s,@DISTDIR@,$DISTDIR,;t t
49357 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49358 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49359 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49360 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49361 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49362 s,@RESCOMP@,$RESCOMP,;t t
49363 s,@RESFLAGS@,$RESFLAGS,;t t
49364 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49365 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49366 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49367 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49368 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49369 s,@MACSETFILE@,$MACSETFILE,;t t
49371 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49372 s,@LIBOBJS@,$LIBOBJS,;t t
49373 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49378 cat >>$CONFIG_STATUS <<\_ACEOF
49379 # Split the substitutions into bite-sized pieces for seds with
49380 # small command number limits, like on Digital OSF/1 and HP-UX.
49381 ac_max_sed_lines
=48
49382 ac_sed_frag
=1 # Number of current file.
49383 ac_beg
=1 # First line for current file.
49384 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49387 while $ac_more_lines; do
49388 if test $ac_beg -gt 1; then
49389 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49391 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49393 if test ! -s $tmp/subs.frag
; then
49394 ac_more_lines
=false
49396 # The purpose of the label and of the branching condition is to
49397 # speed up the sed processing (if there are no `@' at all, there
49398 # is no need to browse any of the substitutions).
49399 # These are the two extra sed commands mentioned above.
49401 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49402 if test -z "$ac_sed_cmds"; then
49403 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49405 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49407 ac_sed_frag
=`expr $ac_sed_frag + 1`
49409 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49412 if test -z "$ac_sed_cmds"; then
49415 fi # test -n "$CONFIG_FILES"
49418 cat >>$CONFIG_STATUS <<\_ACEOF
49419 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49420 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49422 - | *:- | *:-:* ) # input from stdin
49424 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49425 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49426 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49427 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49428 * ) ac_file_in
=$ac_file.
in ;;
49431 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49432 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49433 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49434 X"$ac_file" : 'X\(//\)[^/]' \| \
49435 X"$ac_file" : 'X\(//\)$' \| \
49436 X"$ac_file" : 'X\(/\)' \| \
49437 . : '\(.\)' 2>/dev/null ||
49439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49441 /^X\(\/\/\)$/{ s//\1/; q; }
49442 /^X\(\/\).*/{ s//\1/; q; }
49444 { if $as_mkdir_p; then
49449 while test ! -d "$as_dir"; do
49450 as_dirs
="$as_dir $as_dirs"
49451 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49452 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49453 X"$as_dir" : 'X\(//\)[^/]' \| \
49454 X"$as_dir" : 'X\(//\)$' \| \
49455 X"$as_dir" : 'X\(/\)' \| \
49456 . : '\(.\)' 2>/dev/null ||
49458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49459 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49460 /^X\(\/\/\)$/{ s//\1/; q; }
49461 /^X\(\/\).*/{ s//\1/; q; }
49464 test ! -n "$as_dirs" || mkdir $as_dirs
49465 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49466 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49467 { (exit 1); exit 1; }; }; }
49471 if test "$ac_dir" != .
; then
49472 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49473 # A "../" for each directory in $ac_dir_suffix.
49474 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49476 ac_dir_suffix
= ac_top_builddir
=
49480 .
) # No --srcdir option. We are building in place.
49482 if test -z "$ac_top_builddir"; then
49485 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49487 [\\/]* | ?
:[\\/]* ) # Absolute path.
49488 ac_srcdir
=$srcdir$ac_dir_suffix;
49489 ac_top_srcdir
=$srcdir ;;
49490 *) # Relative path.
49491 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49492 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49495 # Do not use `cd foo && pwd` to compute absolute paths, because
49496 # the directories may not exist.
49498 .
) ac_abs_builddir
="$ac_dir";;
49501 .
) ac_abs_builddir
=`pwd`;;
49502 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49503 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49506 case $ac_abs_builddir in
49507 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49509 case ${ac_top_builddir}.
in
49510 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49511 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49512 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49515 case $ac_abs_builddir in
49516 .
) ac_abs_srcdir
=$ac_srcdir;;
49519 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49520 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49521 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49524 case $ac_abs_builddir in
49525 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49527 case $ac_top_srcdir in
49528 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49529 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49530 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49536 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49537 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49540 if test x
"$ac_file" != x
-; then
49541 { echo "$as_me:$LINENO: creating $ac_file" >&5
49542 echo "$as_me: creating $ac_file" >&6;}
49545 # Let's still pretend it is `configure' which instantiates (i.e., don't
49546 # use $as_me), people would be surprised to read:
49547 # /* config.h. Generated by config.status. */
49548 if test x
"$ac_file" = x
-; then
49551 configure_input
="$ac_file. "
49553 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49554 sed 's,.*/,,'` by configure."
49556 # First look for the input files in the build tree, otherwise in the
49558 ac_file_inputs
=`IFS=:
49559 for f in $ac_file_in; do
49561 -) echo $tmp/stdin ;;
49563 # Absolute (can't be DOS-style, as IFS=:)
49564 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49565 echo "$as_me: error: cannot find input file: $f" >&2;}
49566 { (exit 1); exit 1; }; }
49569 if test -f "$f"; then
49572 elif test -f "$srcdir/$f"; then
49577 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49578 echo "$as_me: error: cannot find input file: $f" >&2;}
49579 { (exit 1); exit 1; }; }
49582 done` || { (exit 1); exit 1; }
49584 cat >>$CONFIG_STATUS <<_ACEOF
49588 cat >>$CONFIG_STATUS <<\_ACEOF
49590 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49591 s
,@configure_input@
,$configure_input,;t t
49592 s
,@srcdir@
,$ac_srcdir,;t t
49593 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49594 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49595 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49596 s
,@builddir@
,$ac_builddir,;t t
49597 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49598 s
,@top_builddir@
,$ac_top_builddir,;t t
49599 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49600 s
,@INSTALL@
,$ac_INSTALL,;t t
49601 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49603 if test x"$ac_file" != x-; then
49604 mv $tmp/out $ac_file
49610 # Run the commands associated with the file.
49612 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49613 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49617 cat >>$CONFIG_STATUS <<\_ACEOF
49620 # CONFIG_HEADER section.
49623 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
49624 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49626 # ac_d sets the value in "#define NAME VALUE" lines.
49627 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49628 ac_dB
='[ ].*$,\1#\2'
49631 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49632 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49633 ac_uB
='$,\1#\2define\3'
49637 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
49638 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49640 - | *:- | *:-:* ) # input from stdin
49642 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49643 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49644 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49645 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49646 * ) ac_file_in
=$ac_file.
in ;;
49649 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49650 echo "$as_me: creating $ac_file" >&6;}
49652 # First look for the input files in the build tree, otherwise in the
49654 ac_file_inputs
=`IFS=:
49655 for f in $ac_file_in; do
49657 -) echo $tmp/stdin ;;
49659 # Absolute (can't be DOS-style, as IFS=:)
49660 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49661 echo "$as_me: error: cannot find input file: $f" >&2;}
49662 { (exit 1); exit 1; }; }
49663 # Do quote $f, to prevent DOS paths from being IFS'd.
49666 if test -f "$f"; then
49669 elif test -f "$srcdir/$f"; then
49674 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49675 echo "$as_me: error: cannot find input file: $f" >&2;}
49676 { (exit 1); exit 1; }; }
49679 done` || { (exit 1); exit 1; }
49680 # Remove the trailing spaces.
49681 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49685 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49686 # `conftest.undefs', that substitutes the proper values into
49687 # config.h.in to produce config.h. The first handles `#define'
49688 # templates, and the second `#undef' templates.
49689 # And first: Protect against being on the right side of a sed subst in
49690 # config.status. Protect against being in an unquoted here document
49691 # in config.status.
49692 rm -f conftest.defines conftest.undefs
49693 # Using a here document instead of a string reduces the quoting nightmare.
49694 # Putting comments in sed scripts is not portable.
49696 # `end' is used to avoid that the second main sed command (meant for
49697 # 0-ary CPP macros) applies to n-ary macro definitions.
49698 # See the Autoconf documentation for `clear'.
49699 cat >confdef2sed.
sed <<\_ACEOF
49704 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49706 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49709 # If some macros were called several times there might be several times
49710 # the same #defines, which is useless. Nevertheless, we may not want to
49711 # sort them, since we want the *last* AC-DEFINE to be honored.
49712 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49713 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49714 rm -f confdef2sed.sed
49716 # This sed command replaces #undef with comments. This is necessary, for
49717 # example, in the case of _POSIX_SOURCE, which is predefined and required
49718 # on some systems where configure will not decide to define it.
49719 cat >>conftest.undefs <<\_ACEOF
49720 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49723 # Break up conftest.defines because some shells have a limit on the size
49724 # of here documents, and old seds have small limits too (100 cmds).
49725 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49726 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49727 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49728 echo ' :' >>$CONFIG_STATUS
49729 rm -f conftest.tail
49730 while grep . conftest.defines >/dev/null
49732 # Write a limited-size here document to $tmp/defines.sed.
49733 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49734 # Speed up: don't consider the non `#define' lines.
49735 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49736 # Work around the forget-to-reset-the-flag bug.
49737 echo 't clr' >>$CONFIG_STATUS
49738 echo ': clr' >>$CONFIG_STATUS
49739 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
49741 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49743 mv $tmp/out $tmp/in
49745 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
49746 rm -f conftest.defines
49747 mv conftest.
tail conftest.defines
49749 rm -f conftest.defines
49750 echo ' fi # grep' >>$CONFIG_STATUS
49751 echo >>$CONFIG_STATUS
49753 # Break up conftest.undefs because some shells have a limit on the size
49754 # of here documents, and old seds have small limits too (100 cmds).
49755 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49756 rm -f conftest.
tail
49757 while grep . conftest.undefs
>/dev
/null
49759 # Write a limited-size here document to $tmp/undefs.sed.
49760 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49761 # Speed up: don't consider the non
`#undef'
49762 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49763 # Work around the forget-to-reset-the-flag bug.
49764 echo 't clr' >>$CONFIG_STATUS
49765 echo ': clr' >>$CONFIG_STATUS
49766 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49768 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49770 mv $tmp/out $tmp/in
49772 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49773 rm -f conftest.undefs
49774 mv conftest.tail conftest.undefs
49776 rm -f conftest.undefs
49778 cat >>$CONFIG_STATUS <<\_ACEOF
49779 # Let's still pretend it is `configure
' which instantiates (i.e., don't
49780 # use $as_me), people would be surprised to read:
49781 # /* config.h. Generated by config.status. */
49782 if test x
"$ac_file" = x
-; then
49783 echo "/* Generated by configure. */" >$tmp/config.h
49785 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49787 cat $tmp/in >>$tmp/config.h
49789 if test x
"$ac_file" != x
-; then
49790 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
49791 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49792 echo "$as_me: $ac_file is unchanged" >&6;}
49794 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49796 X"$ac_file" : 'X\(//\)[^/]' \| \
49797 X"$ac_file" : 'X\(//\)$' \| \
49798 X"$ac_file" : 'X\(/\)' \| \
49799 . : '\(.\)' 2>/dev/null ||
49801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49803 /^X\(\/\/\)$/{ s//\1/; q; }
49804 /^X\(\/\).*/{ s//\1/; q; }
49806 { if $as_mkdir_p; then
49811 while test ! -d "$as_dir"; do
49812 as_dirs
="$as_dir $as_dirs"
49813 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49814 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49815 X"$as_dir" : 'X\(//\)[^/]' \| \
49816 X"$as_dir" : 'X\(//\)$' \| \
49817 X"$as_dir" : 'X\(/\)' \| \
49818 . : '\(.\)' 2>/dev/null ||
49820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49821 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49822 /^X\(\/\/\)$/{ s//\1/; q; }
49823 /^X\(\/\).*/{ s//\1/; q; }
49826 test ! -n "$as_dirs" || mkdir $as_dirs
49827 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49828 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49829 { (exit 1); exit 1; }; }; }
49832 mv $tmp/config.h
$ac_file
49836 rm -f $tmp/config.h
49840 cat >>$CONFIG_STATUS <<\_ACEOF
49843 # CONFIG_COMMANDS section.
49845 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
49846 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
49847 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49848 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
49849 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49850 X"$ac_dest" : 'X\(//\)[^/]' \| \
49851 X"$ac_dest" : 'X\(//\)$' \| \
49852 X"$ac_dest" : 'X\(/\)' \| \
49853 . : '\(.\)' 2>/dev/null ||
49855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49856 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49857 /^X\(\/\/\)$/{ s//\1/; q; }
49858 /^X\(\/\).*/{ s//\1/; q; }
49860 { if $as_mkdir_p; then
49865 while test ! -d "$as_dir"; do
49866 as_dirs
="$as_dir $as_dirs"
49867 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49868 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49869 X"$as_dir" : 'X\(//\)[^/]' \| \
49870 X"$as_dir" : 'X\(//\)$' \| \
49871 X"$as_dir" : 'X\(/\)' \| \
49872 . : '\(.\)' 2>/dev/null ||
49874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49876 /^X\(\/\/\)$/{ s//\1/; q; }
49877 /^X\(\/\).*/{ s//\1/; q; }
49880 test ! -n "$as_dirs" || mkdir $as_dirs
49881 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49882 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49883 { (exit 1); exit 1; }; }; }
49887 if test "$ac_dir" != .
; then
49888 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49889 # A "../" for each directory in $ac_dir_suffix.
49890 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49892 ac_dir_suffix
= ac_top_builddir
=
49896 .
) # No --srcdir option. We are building in place.
49898 if test -z "$ac_top_builddir"; then
49901 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49903 [\\/]* | ?
:[\\/]* ) # Absolute path.
49904 ac_srcdir
=$srcdir$ac_dir_suffix;
49905 ac_top_srcdir
=$srcdir ;;
49906 *) # Relative path.
49907 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49908 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49911 # Do not use `cd foo && pwd` to compute absolute paths, because
49912 # the directories may not exist.
49914 .
) ac_abs_builddir
="$ac_dir";;
49917 .
) ac_abs_builddir
=`pwd`;;
49918 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49919 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49922 case $ac_abs_builddir in
49923 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49925 case ${ac_top_builddir}.
in
49926 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49927 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49928 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49931 case $ac_abs_builddir in
49932 .
) ac_abs_srcdir
=$ac_srcdir;;
49935 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49936 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49937 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49940 case $ac_abs_builddir in
49941 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49943 case $ac_top_srcdir in
49944 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49945 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49946 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49951 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49952 echo "$as_me: executing $ac_dest commands" >&6;}
49955 mkdir -p $outdir &&
49956 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
49958 wx
-config ) rm -f wx
-config
49959 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
49965 cat >>$CONFIG_STATUS <<\_ACEOF
49967 { (exit 0); exit 0; }
49969 chmod +x
$CONFIG_STATUS
49970 ac_clean_files
=$ac_clean_files_save
49973 # configure is writing to config.log, and then calls config.status.
49974 # config.status does its own redirection, appending to config.log.
49975 # Unfortunately, on DOS this fails, as config.log is still kept open
49976 # by configure, so config.status won't be able to write to it; its
49977 # output is simply discarded. So we exec the FD to /dev/null,
49978 # effectively closing config.log, so it can be properly (re)opened and
49979 # appended to by config.status. When coming back to configure, we
49980 # need to make the FD available again.
49981 if test "$no_create" != yes; then
49983 ac_config_status_args
=
49984 test "$silent" = yes &&
49985 ac_config_status_args
="$ac_config_status_args --quiet"
49987 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
49989 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
49990 # would make configure fail if this is the last instruction.
49991 $ac_cs_success || { (exit 1); exit 1; }
49995 # CONFIG_SUBDIRS section.
49997 if test "$no_recursion" != yes; then
49999 # Remove --cache-file and --srcdir arguments so they do not pile up.
50000 ac_sub_configure_args
=
50002 for ac_arg
in $ac_configure_args; do
50003 if test -n "$ac_prev"; then
50008 -cache-file | --cache-file | --cache-fil | --cache-fi \
50009 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50010 ac_prev
=cache_file
;;
50011 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50012 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50015 --config-cache | -C)
50017 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50019 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50021 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50023 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50025 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50029 # Always prepend --prefix to ensure using the same prefix
50030 # in subdir configurations.
50031 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50034 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50036 # Do not complain, so a configure script can configure whichever
50037 # parts of a large source tree are present.
50038 test -d $srcdir/$ac_dir || continue
50040 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50041 echo "$as_me: configuring in $ac_dir" >&6;}
50042 { if $as_mkdir_p; then
50047 while test ! -d "$as_dir"; do
50048 as_dirs
="$as_dir $as_dirs"
50049 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50050 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50051 X"$as_dir" : 'X\(//\)[^/]' \| \
50052 X"$as_dir" : 'X\(//\)$' \| \
50053 X"$as_dir" : 'X\(/\)' \| \
50054 . : '\(.\)' 2>/dev/null ||
50056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50057 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50058 /^X\(\/\/\)$/{ s//\1/; q; }
50059 /^X\(\/\).*/{ s//\1/; q; }
50062 test ! -n "$as_dirs" || mkdir $as_dirs
50063 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50064 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50065 { (exit 1); exit 1; }; }; }
50069 if test "$ac_dir" != .
; then
50070 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50071 # A "../" for each directory in $ac_dir_suffix.
50072 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50074 ac_dir_suffix
= ac_top_builddir
=
50078 .
) # No --srcdir option. We are building in place.
50080 if test -z "$ac_top_builddir"; then
50083 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50085 [\\/]* | ?
:[\\/]* ) # Absolute path.
50086 ac_srcdir
=$srcdir$ac_dir_suffix;
50087 ac_top_srcdir
=$srcdir ;;
50088 *) # Relative path.
50089 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50090 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50093 # Do not use `cd foo && pwd` to compute absolute paths, because
50094 # the directories may not exist.
50096 .
) ac_abs_builddir
="$ac_dir";;
50099 .
) ac_abs_builddir
=`pwd`;;
50100 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50101 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50104 case $ac_abs_builddir in
50105 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50107 case ${ac_top_builddir}.
in
50108 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50109 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50110 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50113 case $ac_abs_builddir in
50114 .
) ac_abs_srcdir
=$ac_srcdir;;
50117 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50118 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50119 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50122 case $ac_abs_builddir in
50123 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50125 case $ac_top_srcdir in
50126 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50127 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50128 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50135 # Check for guested configure; otherwise get Cygnus style configure.
50136 if test -f $ac_srcdir/configure.gnu
; then
50137 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50138 elif test -f $ac_srcdir/configure
; then
50139 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50140 elif test -f $ac_srcdir/configure.
in; then
50141 ac_sub_configure
=$ac_configure
50143 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50144 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50148 # The recursion is here.
50149 if test -n "$ac_sub_configure"; then
50150 # Make the cache file name correct relative to the subdirectory.
50151 case $cache_file in
50152 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50153 *) # Relative path.
50154 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50157 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50158 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50159 # The eval makes quoting arguments work.
50160 eval $ac_sub_configure $ac_sub_configure_args \
50161 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50162 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50163 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50164 { (exit 1); exit 1; }; }
50173 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50175 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50176 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50178 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50179 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50180 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50182 echo " What level of wxWidgets compatibility should be enabled?"
50183 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50184 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50186 echo " Which libraries should wxWidgets use?"
50187 echo " jpeg ${wxUSE_LIBJPEG-none}"
50188 echo " png ${wxUSE_LIBPNG-none}"
50189 echo " regex ${wxUSE_REGEX}"
50190 echo " tiff ${wxUSE_LIBTIFF-none}"
50191 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50192 echo " xpm ${wxUSE_LIBXPM-none}"
50194 echo " zlib ${wxUSE_ZLIB}"
50195 echo " odbc ${wxUSE_ODBC}"
50196 echo " expat ${wxUSE_EXPAT}"
50197 echo " libmspack ${wxUSE_LIBMSPACK}"
50198 echo " sdl ${wxUSE_LIBSDL}"
50199 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50200 echo " hildon ${wxUSE_LIBHILDON-none}"